prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/jmx_client-parser.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jmx_client/parser/version'
Gem::Specification.new do |gem|
gem.name = 'jmx_client/parser'
gem.version = JmxClient::Par... | # -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jmx_client/parser/version'
Gem::Specification.new do |gem|
gem.name = 'jmx_client-parser'
gem.version = JmxClient::Parser::VERSION
gem.authors = ['Aaron Oman... | <|file_sep|>original/jmx_client-parser.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jmx_client/parser/version'
Gem::Specification.new do |gem|
gem.name = 'jmx_client/parser'
gem.version = JmxClient::Par... | 7f6c282aa7829dc891144176e2bca898e421703f | jmx_client-parser.gemspec | jmx_client-parser.gemspec | Ruby |
<|file_sep|>original/main.go
/*
* Copyright (c) 2014 PolyFloyd
*/
package main
import "flag"
const (
INFO = "PolyFloyd's LEDCube Simulator v0.1"
UI_DETAIL int = 2
UI_DRAGDIV float32 = 240.0
UI_FOVY float32 = 45.0
UI_SPACING float32 = 8.0
UI_WIN_H int = 768
UI_WIN_W int ... | /*
* Copyright (c) 2014 PolyFloyd
*/
package main
import "flag"
const (
INFO = "PolyFloyd's LEDCube Simulator v0.1"
UI_DETAIL int = 1
UI_DRAGDIV float32 = 240.0
UI_FOVY float32 = 45.0
UI_SPACING float32 = 8.0
UI_WIN_H int = 768
UI_WIN_W int = 1280
UI_ZFAR float32... | <|file_sep|>original/main.go
/*
* Copyright (c) 2014 PolyFloyd
*/
package main
import "flag"
const (
INFO = "PolyFloyd's LEDCube Simulator v0.1"
UI_DETAIL int = 2
UI_DRAGDIV float32 = 240.0
UI_FOVY float32 = 45.0
UI_SPACING float32 = 8.0
UI_WIN_H int = 768
UI_WIN_W int ... | f1d57e261b00512dde2c576087ed56b9e621342a | main.go | main.go | Go |
<|file_sep|>matrix/matrix.yml.diff
original:
domain: m2.propeople.com.ua
updated:
<|file_sep|>original/matrix/matrix.yml
---
- hosts: all
become: yes
vars:
domain: m2.propeople.com.ua
application: cikit
# Allow to pass "--restart=nginx,jenkins,apache" to this script and restart necessary services.... | ---
- hosts: all
become: yes
vars:
application: cikit
# Allow to pass "--restart=nginx,jenkins,apache" to this script and restart necessary services.
restart: ""
pre_tasks:
- name: Determine domain
set_fact:
domain: "{{ domain | default(inventory_hostname) }}"
- include_vars: ... | <|file_sep|>matrix/matrix.yml.diff
original:
domain: m2.propeople.com.ua
updated:
<|file_sep|>original/matrix/matrix.yml
---
- hosts: all
become: yes
vars:
domain: m2.propeople.com.ua
application: cikit
# Allow to pass "--restart=nginx,jenkins,apache" to this script and restart necessary services.... | 4e4e92c016d370854bed0554cd7bb1076b00a0df | matrix/matrix.yml | matrix/matrix.yml | YAML |
<|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
updated:
import datetime
<|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
updated:
from edx_rest_api_client.client import EdxRestApiClient
import jwt
<|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
from e... |
payload = {
'preferred_username': user.username,
'name': full_name,
'email': user.email,
'administrator': user.is_staff,
'iss': helpers.get_value('OAUTH_OIDC_ISSUER', settings.OAUTH_OIDC_ISSUER),
'exp': now + datetime.timedelta(seconds=expires_in),
'iat': now... | <|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
updated:
import datetime
<|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
updated:
from edx_rest_api_client.client import EdxRestApiClient
import jwt
<|file_sep|>openedx/core/djangoapps/api_admin/utils.py.diff
original:
from e... | 760ce74fca8fa9a640167eabb4af83e31e902500 | openedx/core/djangoapps/api_admin/utils.py | openedx/core/djangoapps/api_admin/utils.py | Python |
<|file_sep|>original/zephyr/management/commands/dump_pointers.py
<|file_sep|>current/zephyr/management/commands/dump_pointers.py
<|file_sep|>updated/zephyr/management/commands/dump_pointers.py | from optparse import make_option
from django.core.management.base import BaseCommand
from zephyr.models import Realm, UserProfile
import simplejson
def dump():
pointers = []
for u in UserProfile.objects.select_related("user__email").all():
pointers.append((u.user.email, u.pointer))
file("dumped-poi... | <|file_sep|>original/zephyr/management/commands/dump_pointers.py
<|file_sep|>current/zephyr/management/commands/dump_pointers.py
<|file_sep|>updated/zephyr/management/commands/dump_pointers.py
from optparse import make_option
from django.core.management.base import BaseCommand
from zephyr.models import Realm, UserPro... | a086307e6aac341ed8a6596d0a05b7a8d198c7ec | zephyr/management/commands/dump_pointers.py | zephyr/management/commands/dump_pointers.py | Python |
<|file_sep|>original/_includes/head.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Bodo Kaiser" />
<meta name="keywords" content="{{ page.keywords }}" />
<meta name="description" content="{{ page.descrip... | <head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Bodo Kaiser" />
<meta name="keywords" content="{{ page.keywords }}" />
<meta name="description" content="{{ page.description }}" />
<meta name="viewport" conte... | <|file_sep|>original/_includes/head.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Bodo Kaiser" />
<meta name="keywords" content="{{ page.keywords }}" />
<meta name="description" content="{{ page.descrip... | b22666902c0b492e8419706968ed52c6b7181c30 | _includes/head.html | _includes/head.html | HTML |
<|file_sep|>regulations/generator/link_flattener.py.diff
original:
updated:
# outer_link - partial outer element up to the inner link
# inner_content - content of the inner_link
<|file_sep|>regulations/generator/link_flattener.py.diff
original:
ur"(?P<outer_link><a ((?!</a>).)*)(<a ((?!</a>).)*>"
ur"(?P<intern... | import re
# <a> followed by another <a> without any intervening </a>s
# outer_link - partial outer element up to the inner link
# inner_content - content of the inner_link
link_inside_link_regex = re.compile(
ur"(?P<outer_link><a ((?!</a>).)*)<a .*?>(?P<inner_content>.*?)</a>",
re.IGNORECASE | re.DOTALL)
def... | <|file_sep|>regulations/generator/link_flattener.py.diff
original:
updated:
# outer_link - partial outer element up to the inner link
# inner_content - content of the inner_link
<|file_sep|>regulations/generator/link_flattener.py.diff
original:
ur"(?P<outer_link><a ((?!</a>).)*)(<a ((?!</a>).)*>"
ur"(?P<intern... | 7c3c0fac58822bcfa7bbd69de5ce46b36f84740c | regulations/generator/link_flattener.py | regulations/generator/link_flattener.py | Python |
<|file_sep|>original/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino
<|file_sep|>current/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino
<|file_sep|>updated/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino | /**
* Copyright (c) 2019, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com>
* ArduinoUno/001
* Blinky with timer1 OVF.
*/
#define LED_PIN (13)
#define TIMER_TCNT (57723) // 65536 - 16MHz/1024/2
void setup() {
pinMode(LED_PIN, OUTPUT); // set LED pin as output
TCCR1A = 0;
TCCR1B = _BV(CS12)|_BV(CS10); //... | <|file_sep|>original/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino
<|file_sep|>current/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino
<|file_sep|>updated/arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino
/**
* Copyright (c) 2019, Łukasz Marcin Podkal... | 32877c5c7c19194343cdb955127a29928005ee41 | arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino | arduino/uno/002_blinky_with_timer1_ovf/002_blinky_with_timer1_ovf.ino | Arduino |
<|file_sep|>original/system/core/Loader.php
{
if ($name==='')
{
$name = 'home';
}
$page = $this->loadClass($name, 'Page');
if ($page === false || method_exists($page, $method) === false)
{
not_found();
... | {
if ($name==='')
{
$name = 'home';
}
$page = $this->loadClass($name, 'Page');
if ($page === false || method_exists($page, $method) === false)
{
not_found($name . ($method!='index'?'/'.$method:''));
... | <|file_sep|>original/system/core/Loader.php
{
if ($name==='')
{
$name = 'home';
}
$page = $this->loadClass($name, 'Page');
if ($page === false || method_exists($page, $method) === false)
{
not_found();
... | a223f392f55f81f301533fc5b2f462b6ae577d57 | system/core/Loader.php | system/core/Loader.php | PHP |
<|file_sep|>original/composer.json
],
"autoload": {
"psr-0": {
"SimpleSAML_": "lib/"
},
"files": ["lib/_autoload_modules.php"]
},
"require": {
"php": "~5.3",
"simplesamlphp/saml2": "~0.3",
"simplesamlphp/xmlseclibs": "~1.3.2"
},
"requir... | ],
"autoload": {
"psr-0": {
"SimpleSAML_": "lib/"
},
"files": ["lib/_autoload_modules.php"]
},
"require": {
"php": "~5.3",
"simplesamlphp/saml2": "~0.3",
"simplesamlphp/xmlseclibs": "~1.3.2",
"whitehat101/apr1-md5": "~1.0"
},
"r... | <|file_sep|>original/composer.json
],
"autoload": {
"psr-0": {
"SimpleSAML_": "lib/"
},
"files": ["lib/_autoload_modules.php"]
},
"require": {
"php": "~5.3",
"simplesamlphp/saml2": "~0.3",
"simplesamlphp/xmlseclibs": "~1.3.2"
},
"requir... | 4738e0957debf28d55df50f711e76a0fed8bedc1 | composer.json | composer.json | JSON |
<|file_sep|>original/docs/mouse-polling.md
<|file_sep|>current/docs/mouse-polling.md
<|file_sep|>updated/docs/mouse-polling.md | # Mouse polling
Mouse polling can be defined through he kernel module **usbhid**, using the `mousepoll` parameter with any of the following values:
| Value | Polling rate |
|-------|------------------|
| 10 | 100 Hz (default) |
| 8 | 125 Hz |
| 4 | 250 Hz |
| 2 | 500 Hz ... | <|file_sep|>original/docs/mouse-polling.md
<|file_sep|>current/docs/mouse-polling.md
<|file_sep|>updated/docs/mouse-polling.md
# Mouse polling
Mouse polling can be defined through he kernel module **usbhid**, using the `mousepoll` parameter with any of the following values:
| Value | Polling rate |
|-------|---... | a7c8ea06fc0479aa2b6c9c6d444aae70bf6b9a07 | docs/mouse-polling.md | docs/mouse-polling.md | Markdown |
<|file_sep|>original/templates/views/view.html.php
?>
<h1 class="heading">
<a href="<?= $this->escape()->attr($this->route('list')); ?>">Outgoing emails - listing</a> >
<span class="sub"><?= $this->escape()->html($subject);?></span>
</h1>
<div class="email-headers">
<dl>
<?php
foreach ($t... | ?>
<h1 class="heading">
<a href="<?= $this->escape()->attr($this->route('list')); ?>">Outgoing emails - listing</a> >
<span class="sub"><?= $this->escape()->html($subject);?></span>
</h1>
<div class="email-headers">
<dl>
<?php
foreach ($this->email->getHeaders() as $header) {
... | <|file_sep|>original/templates/views/view.html.php
?>
<h1 class="heading">
<a href="<?= $this->escape()->attr($this->route('list')); ?>">Outgoing emails - listing</a> >
<span class="sub"><?= $this->escape()->html($subject);?></span>
</h1>
<div class="email-headers">
<dl>
<?php
foreach ($t... | bc28b7379c2279733cf20a15d07125f7b5638e6e | templates/views/view.html.php | templates/views/view.html.php | PHP |
<|file_sep|>original/doc/usersguide/index.rst
User's Guide
============
This is the User's Guide to the `fmrbenchmark repository
<https://github.com/fmrchallenge/fmrbenchmark>`_, which is part of a project to
develop benchmark problems for research in so-called "formal methods for
robotics." This effort is stimulated... | ============
This is the User's Guide to the `fmrbenchmark repository
<https://github.com/fmrchallenge/fmrbenchmark>`_, which is part of a project to
develop benchmark problems for research in so-called "formal methods for
robotics." This effort is stimulated by competitions, and the main website is
http://fmrchallen... | <|file_sep|>original/doc/usersguide/index.rst
User's Guide
============
This is the User's Guide to the `fmrbenchmark repository
<https://github.com/fmrchallenge/fmrbenchmark>`_, which is part of a project to
develop benchmark problems for research in so-called "formal methods for
robotics." This effort is stimulated... | cf4fb0d875512472d4c8d67a30863a727479fca2 | doc/usersguide/index.rst | doc/usersguide/index.rst | reStructuredText |
<|file_sep|>original/spec/unit/support/spec_helper.rb
# encoding: utf-8
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/cacher'
require 'pathname'
Dir.glob(File.dirname(__FILE__) + '/**/*.rb', &method(:require))
ChefSpec::Coverage.start!
RSpec.configure do |config|
config.expect_with :rspec do |c|... | # encoding: utf-8
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/cacher'
require 'pathname'
Dir.glob(File.join(__dir__, '**', '*.rb'), &method(:require))
ChefSpec::Coverage.start!
RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
end # config.expect_with
con... | <|file_sep|>original/spec/unit/support/spec_helper.rb
# encoding: utf-8
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/cacher'
require 'pathname'
Dir.glob(File.dirname(__FILE__) + '/**/*.rb', &method(:require))
ChefSpec::Coverage.start!
RSpec.configure do |config|
config.expect_with :rspec do |c|... | fab6c521f720f76383c3c4d2c6f182d0368300e5 | spec/unit/support/spec_helper.rb | spec/unit/support/spec_helper.rb | Ruby |
<|file_sep|>original/systemtests/scripts/run_tests.sh
#!/bin/sh
gradle :systemtests:test -Psystemtests -i --rerun-tasks -Djava.net.preferIPv4Stack=true $1
<|file_sep|>current/systemtests/scripts/run_tests.sh
#!/bin/sh
gradle :systemtests:test -Psystemtests -i --rerun-tasks -Djava.net.preferIPv4Stack=true $1
<|file_sep|... | #!/bin/sh
TESTCASE=$1
if [ -n "$TESTCASE" ]; then
EXTRA_ARGS="-Dtest.single=$TESTCASE"
fi
gradle :systemtests:test -Psystemtests -i --rerun-tasks -Djava.net.preferIPv4Stack=true $EXTRA_ARGS | <|file_sep|>original/systemtests/scripts/run_tests.sh
#!/bin/sh
gradle :systemtests:test -Psystemtests -i --rerun-tasks -Djava.net.preferIPv4Stack=true $1
<|file_sep|>current/systemtests/scripts/run_tests.sh
#!/bin/sh
gradle :systemtests:test -Psystemtests -i --rerun-tasks -Djava.net.preferIPv4Stack=true $1
<|file_sep|... | ebe48f332961f0bedc1607c6834465907fe0793d | systemtests/scripts/run_tests.sh | systemtests/scripts/run_tests.sh | Shell |
<|file_sep|>original/.travis.yml
language: android
jdk: oraclejdk7
android:
components:
- platform-tools
- tools
- build-tools-24.0.0
- android-24
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
cache:
directories:
- $HOME/.m2
- $HOM... | language: android
jdk: oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-24.0.0
- android-24
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
script:
- ./gradlew ... | <|file_sep|>original/.travis.yml
language: android
jdk: oraclejdk7
android:
components:
- platform-tools
- tools
- build-tools-24.0.0
- android-24
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
cache:
directories:
- $HOME/.m2
- $HOM... | 634fee7ba667a2485174da51738ab0ac0b91e79e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.adoc
:Revision: 0.1.0 2016-08-03
== Description
I was looking for a way with hosted Jira to be able to send out release
notes with our own template. Since the hosted version doesn't allow you to
edit the templates, I decided to build an application that worked with the
Jira api to build an ... | I was looking for a way with hosted Jira to be able to send out release
notes with our own template. Since the hosted version doesn't allow you to
edit the templates, I decided to build an application that worked with the
Jira api to build an html page that could be emailed to our team. This NodeJS
app is the result of... | <|file_sep|>original/README.adoc
:Revision: 0.1.0 2016-08-03
== Description
I was looking for a way with hosted Jira to be able to send out release
notes with our own template. Since the hosted version doesn't allow you to
edit the templates, I decided to build an application that worked with the
Jira api to build an ... | 38adcbe7aeee0cdaa5600b91cc4297c399bdc33b | README.adoc | README.adoc | AsciiDoc |
<|file_sep|>original/package.json
"scripts": {
"lint": "standard --fix",
"test": "npm run lint"
},
"files": [
"index.js"
],
"keywords": [
"react",
"react-native",
"call",
"phone-call",
"phone",
"tel"
],
"author": "Tiaan du Plessis",
"license": "MIT",
"devDependencie... | "scripts": {
"lint": "standard --fix",
"test": "npm run lint"
},
"files": [
"index.js"
],
"keywords": [
"react",
"react-native",
"call",
"phone-call",
"phone",
"tel"
],
"author": "Tiaan du Plessis",
"license": "MIT",
"devDependencies": {
"standard": "14.3.1"
}... | <|file_sep|>original/package.json
"scripts": {
"lint": "standard --fix",
"test": "npm run lint"
},
"files": [
"index.js"
],
"keywords": [
"react",
"react-native",
"call",
"phone-call",
"phone",
"tel"
],
"author": "Tiaan du Plessis",
"license": "MIT",
"devDependencie... | 779ee33bad1f03be9fb318d89f26af2962947a45 | package.json | package.json | JSON |
<|file_sep|>original/zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java
return false;
default:
return true;
}
}
public static boolean isValidResponseHeader(String headerName)
{
switch (headerName.toLowerCase()) {
case "conne... | return false;
default:
return true;
}
}
public static boolean isValidResponseHeader(String headerName)
{
switch (headerName.toLowerCase()) {
case "connection":
case "keep-alive":
case "content-length":
... | <|file_sep|>original/zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java
return false;
default:
return true;
}
}
public static boolean isValidResponseHeader(String headerName)
{
switch (headerName.toLowerCase()) {
case "conne... | f7e496aa7ee59f84d13d19989460ae08ec803251 | zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java | zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java | Java |
<|file_sep|>MAINTAINERS.md.diff
original:
- [Steven Danna](https://github.com/stevendanna)
updated:
<|file_sep|>original/MAINTAINERS.md
This file lists the official maintainers of the Chef Server project.
Refer to this list to find out who needs to review your pull request. Two maintainer approvals are required to m... | This file lists the official maintainers of the Chef Server project.
Refer to this list to find out who needs to review your pull request. Two maintainer approvals are required to merge a change.
If undertaking a large change, ping the @chef/chef-server-maintainers group for discussion and guidance.
# Maintainers
... | <|file_sep|>MAINTAINERS.md.diff
original:
- [Steven Danna](https://github.com/stevendanna)
updated:
<|file_sep|>original/MAINTAINERS.md
This file lists the official maintainers of the Chef Server project.
Refer to this list to find out who needs to review your pull request. Two maintainer approvals are required to m... | 9f219b4abd810deff82bd17610d5474c79a67614 | MAINTAINERS.md | MAINTAINERS.md | Markdown |
<|file_sep|>original/t/t3417-rebase-whitespace-fix.sh
<|file_sep|>current/t/t3417-rebase-whitespace-fix.sh
<|file_sep|>updated/t/t3417-rebase-whitespace-fix.sh | #!/bin/sh
test_description='git rebase --whitespace=fix
This test runs git rebase --whitespace=fix and make sure that it works.
'
. ./test-lib.sh
# prepare initial revision of "file" with a blank line at the end
cat >file <<EOF
a
b
c
EOF
# expected contents in "file" after rebase
cat >expect-first <<EOF
a
b | <|file_sep|>original/t/t3417-rebase-whitespace-fix.sh
<|file_sep|>current/t/t3417-rebase-whitespace-fix.sh
<|file_sep|>updated/t/t3417-rebase-whitespace-fix.sh
#!/bin/sh
test_description='git rebase --whitespace=fix
This test runs git rebase --whitespace=fix and make sure that it works.
'
. ./test-lib.sh
# prepar... | 59f5ced65b46370a121916593cce7fcd210a15df | t/t3417-rebase-whitespace-fix.sh | t/t3417-rebase-whitespace-fix.sh | Shell |
<|file_sep|>original/.github/workflows/tests.yaml
os:
- ubuntu
ruby:
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
test_command: ["bundle exec rspec && bundle exec cucumber"]
inclu... | os:
- ubuntu
ruby:
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
test_command: ["bundle exec rspec && bundle exec cucumber"]
include:
- os: ubuntu
ruby: "2.4.2"
tes... | <|file_sep|>original/.github/workflows/tests.yaml
os:
- ubuntu
ruby:
- "2.1"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
test_command: ["bundle exec rspec && bundle exec cucumber"]
inclu... | 7080d1f5502ec47f7a01fe24104104ab5de917eb | .github/workflows/tests.yaml | .github/workflows/tests.yaml | YAML |
<|file_sep|>office365/sharepoint/actions/download_file.py.diff
original:
updated:
from office365.runtime.odata.odata_path_parser import ODataPathParser
<|file_sep|>original/office365/sharepoint/actions/download_file.py
def __init__(self, web, file_url, file_object):
"""
A download file content quer... | :type file_url: str
:type web: office365.sharepoint.webs.web.Web
:type file_object: typing.IO
"""
def _construct_download_query(request):
request.method = HttpMethod.Get
self.context.after_execute(_process_response)
def _process_response(response... | <|file_sep|>office365/sharepoint/actions/download_file.py.diff
original:
updated:
from office365.runtime.odata.odata_path_parser import ODataPathParser
<|file_sep|>original/office365/sharepoint/actions/download_file.py
def __init__(self, web, file_url, file_object):
"""
A download file content quer... | ed0c44ad01a1b88b0e6109a629455ae44ff91011 | office365/sharepoint/actions/download_file.py | office365/sharepoint/actions/download_file.py | Python |
<|file_sep|>Repository/ContentRepository.php.diff
original:
use Wizin\Bundle\SimpleCmsBundle\Entity\Content;
updated:
use Wizin\Bundle\SimpleCmsBundle\Entity\ContentInterface;
<|file_sep|>Repository/ContentRepository.php.diff
original:
* @return null|\Wizin\Bundle\SimpleCmsBundle\Entity\Content
updated:
* @re... | 'active' => true,
];
return $this->findOneBy($criteria);
}
/**
* @param ContentInterface $content
* @return bool
*/
public function isDuplicated(ContentInterface $content)
{
$queryBuilder = $this->getEntityManager()->createQueryBuilder();
$que... | <|file_sep|>Repository/ContentRepository.php.diff
original:
use Wizin\Bundle\SimpleCmsBundle\Entity\Content;
updated:
use Wizin\Bundle\SimpleCmsBundle\Entity\ContentInterface;
<|file_sep|>Repository/ContentRepository.php.diff
original:
* @return null|\Wizin\Bundle\SimpleCmsBundle\Entity\Content
updated:
* @re... | 38a35e210dd17848a2d1bec2b4d86dbbda3579c9 | Repository/ContentRepository.php | Repository/ContentRepository.php | PHP |
<|file_sep|>original/src/Afup/Bundle/MemberBundle/Tests/DataFixtures/ORM/FixtureLoader.php
use Doctrine\Common\DataFixtures\FixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Nelmio\Alice\Fixtures;
class FixturesLoader implements FixtureInterface
{
/**
* {@inheritdoc}
*/
public fu... |
use Doctrine\Common\DataFixtures\FixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Nelmio\Alice\Fixtures;
class FixturesLoader implements FixtureInterface
{
/**
* {@inheritdoc}
*/
public function load(ObjectManager $manager)
{
Fixtures::load(
array(
... | <|file_sep|>original/src/Afup/Bundle/MemberBundle/Tests/DataFixtures/ORM/FixtureLoader.php
use Doctrine\Common\DataFixtures\FixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Nelmio\Alice\Fixtures;
class FixturesLoader implements FixtureInterface
{
/**
* {@inheritdoc}
*/
public fu... | b64f89013cd36a1c592f939f9c4b49db5ea0d0c6 | src/Afup/Bundle/MemberBundle/Tests/DataFixtures/ORM/FixtureLoader.php | src/Afup/Bundle/MemberBundle/Tests/DataFixtures/ORM/FixtureLoader.php | PHP |
<|file_sep|>original/lib/gnurr/linters/es_linter.rb
def file_path(file)
file['filePath']
end
def file_messages(file)
file['messages']
end
def relative_filename(filename)
filename.sub(%r{^#{pwd}/}, '')
end
def requirements_met?
!`eslint -v`.ni... |
def file_path(file)
file['filePath']
end
def file_messages(file)
file['messages']
end
def relative_filename(filename)
filename.sub(%r{^#{pwd}/}i, '')
end
def requirements_met?
!`eslint -v`.nil?
rescue
false
end
def ... | <|file_sep|>original/lib/gnurr/linters/es_linter.rb
def file_path(file)
file['filePath']
end
def file_messages(file)
file['messages']
end
def relative_filename(filename)
filename.sub(%r{^#{pwd}/}, '')
end
def requirements_met?
!`eslint -v`.ni... | 8fe552b814a25f572caf7af78a8582c43366b168 | lib/gnurr/linters/es_linter.rb | lib/gnurr/linters/es_linter.rb | Ruby |
<|file_sep|>lms/static/coffee/spec/requirejs_spec.coffee.diff
original:
describe "RequireJS", ->
updated:
describe "RequireJS namespacing", ->
<|file_sep|>original/lms/static/coffee/spec/requirejs_spec.coffee
defineTobeUndefined: ->
typeof define is "undefined"
it "check that the RequireJS object is ... |
it "check that requirejs(), require(), and define() are not in the global namespace", ->
expect({}).requirejsTobeUndefined()
expect({}).requireTobeUndefined()
expect({}).defineTobeUndefined()
expect(window.requirejs).not.toBeDefined()
expect(window.require).not.toBeDefined()
expect(window.def... | <|file_sep|>lms/static/coffee/spec/requirejs_spec.coffee.diff
original:
describe "RequireJS", ->
updated:
describe "RequireJS namespacing", ->
<|file_sep|>original/lms/static/coffee/spec/requirejs_spec.coffee
defineTobeUndefined: ->
typeof define is "undefined"
it "check that the RequireJS object is ... | fd0ec0ed8a45d02f80c68e15fed3dd34291cec7a | lms/static/coffee/spec/requirejs_spec.coffee | lms/static/coffee/spec/requirejs_spec.coffee | CoffeeScript |
<|file_sep|>original/Selene/gradle/wrapper/gradle-wrapper.properties
#Sat Jan 30 06:23:53 WET 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
<|file_sep|>current/... | #Sat Jan 30 06:23:53 WET 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip | <|file_sep|>original/Selene/gradle/wrapper/gradle-wrapper.properties
#Sat Jan 30 06:23:53 WET 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
<|file_sep|>current/... | 92cf2c5e840e237c44a5d5f6e4e23ffe03863fa1 | Selene/gradle/wrapper/gradle-wrapper.properties | Selene/gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>github.py.diff
original:
query($repository_owner:String!, $repository_name: String!, $count: Int!) {
repository(
owner: $repository_owner,
name: $repository_name) {
updated:
query($repository_owner:String!,
$repository_name: String!,
$count: Int!) {
repository(owner: $repository_owne... | }
releases(last: $count) {
nodes {
tag {
name
prefix
}
}
}
}
}
"""
class Github:
def __authorization_header(self):
return "token " + self.token
def __request_headers(self): | <|file_sep|>github.py.diff
original:
query($repository_owner:String!, $repository_name: String!, $count: Int!) {
repository(
owner: $repository_owner,
name: $repository_name) {
updated:
query($repository_owner:String!,
$repository_name: String!,
$count: Int!) {
repository(owner: $repository_owne... | 74260bc1b401d9ec500fba1eae72b99c2a2db147 | github.py | github.py | Python |
<|file_sep|>bliss-rs/benches/timbral.rs.diff
original:
updated:
use bliss_rs::timbral::ZeroCrossingRateDesc;
<|file_sep|>original/bliss-rs/benches/timbral.rs
#![feature(test)]
// TODO use cfg(bench) to make pub functions not-pub depending on context
#[cfg(test)]
mod test {
extern crate test;
use bliss_rs:... |
#[bench]
fn bench_spectral_desc(b: &mut Bencher) {
let mut spectral_desc = SpectralDesc::new(10);
let chunk = vec![0.; 512];
b.iter(|| {
spectral_desc.do_(&chunk);
});
}
#[bench]
fn bench_zcr_desc(b: &mut Bencher) {
let mut zcr_desc = ZeroCrossi... | <|file_sep|>bliss-rs/benches/timbral.rs.diff
original:
updated:
use bliss_rs::timbral::ZeroCrossingRateDesc;
<|file_sep|>original/bliss-rs/benches/timbral.rs
#![feature(test)]
// TODO use cfg(bench) to make pub functions not-pub depending on context
#[cfg(test)]
mod test {
extern crate test;
use bliss_rs:... | 23134fa86ed6578dc136f6897bf87eb83e1ed4f8 | bliss-rs/benches/timbral.rs | bliss-rs/benches/timbral.rs | Rust |
<|file_sep|>original/app/Poll.php
class Poll extends Model
{
use SoftDeletes;
protected $hidden = [
'user_id', 'updated_at', 'deleted_at',
];
protected $dates = ['deleted_at'];
public function user()
{
return $this->belongsTo(User::class);
}
public function answers()
{
return $this-... |
class Poll extends Model
{
use SoftDeletes;
protected $hidden = [
'user_id', 'updated_at', 'deleted_at',
];
protected $dates = ['deleted_at'];
public function users()
{
return $this->belongsTo(User::class);
}
public function answers()
{
return $this->hasMany(Answer::class);
}
} | <|file_sep|>original/app/Poll.php
class Poll extends Model
{
use SoftDeletes;
protected $hidden = [
'user_id', 'updated_at', 'deleted_at',
];
protected $dates = ['deleted_at'];
public function user()
{
return $this->belongsTo(User::class);
}
public function answers()
{
return $this-... | 01453bc86a9dd1ef8f565f60163d9e3401283f0d | app/Poll.php | app/Poll.php | PHP |
<|file_sep|>original/gen-tsd.json
"gulpfile.js",
"test/**",
"util/**",
"index.html"
],
"removeReferences": [
"../shadycss/apply-shim.d.ts",
"../shadycss/custom-style-interface.d.ts"
],
"renameTypes": {
"Polymer_PropertyEffects": "PropertyEffects"
},
"autoImport": {
"./interfa... | "gulpfile.js",
"test/**",
"util/**",
"index.html"
],
"removeReferences": [
"../shadycss/apply-shim.d.ts",
"../shadycss/custom-style-interface.d.ts"
],
"renameTypes": {
"Polymer_PropertyEffects": "PropertyEffects",
"PolymerDomApi": "DomApi",
"PolymerDomApi.ObserveHandle": "Fla... | <|file_sep|>original/gen-tsd.json
"gulpfile.js",
"test/**",
"util/**",
"index.html"
],
"removeReferences": [
"../shadycss/apply-shim.d.ts",
"../shadycss/custom-style-interface.d.ts"
],
"renameTypes": {
"Polymer_PropertyEffects": "PropertyEffects"
},
"autoImport": {
"./interfa... | b34b6fcb8d87d63954ba259419eebd74f5b4bdc9 | gen-tsd.json | gen-tsd.json | JSON |
<|file_sep|>tests/README.md.diff
original:
Then run the tests using:
updated:
Then run the tests using the following commands, based on your operating system:
* Linux / Mac OS X
<|file_sep|>original/tests/README.md
Automated testing
=================
CEGUI employs various automated testing executables to prevent brea... | We use ctest which is part of cmake to run tests. You first need to enable
the tests that you want to run. Enable `CEGUI_BUILD_TESTS` and/or
`CEGUI_BUILD_DATAFILES_TEST` options in cmake.
Then run the tests using the following commands, based on your operating system:
* Linux / Mac OS X
```bash
cd $cegui_folder
cd bu... | <|file_sep|>tests/README.md.diff
original:
Then run the tests using:
updated:
Then run the tests using the following commands, based on your operating system:
* Linux / Mac OS X
<|file_sep|>original/tests/README.md
Automated testing
=================
CEGUI employs various automated testing executables to prevent brea... | 33ce251b97b6256a38a0c9463c3f02c39d03759b | tests/README.md | tests/README.md | Markdown |
<|file_sep|>original/composer.json
"description": "Social feeder for laravel. With this you can get feed from facebook page, twitter account or instragram",
"keywords": ["framework", "laravel", "despark", "facebook", "instagram", "twitter", "feeder", "feed", "social-feeder"],
"license": "MIT",
"authors"... | "description": "Social feeder for laravel. With this you can get feed from facebook page, twitter account or instragram",
"keywords": ["framework", "laravel", "despark", "facebook", "instagram", "twitter", "feeder", "feed", "social-feeder"],
"license": "MIT",
"authors": [
{
"name": "... | <|file_sep|>original/composer.json
"description": "Social feeder for laravel. With this you can get feed from facebook page, twitter account or instragram",
"keywords": ["framework", "laravel", "despark", "facebook", "instagram", "twitter", "feeder", "feed", "social-feeder"],
"license": "MIT",
"authors"... | d59b6ac17c7590023169002c3d04dd4976a483f4 | composer.json | composer.json | JSON |
<|file_sep|>original/examples/simple-jsbeautifyrc/tsx/expected/test.tsx
class Test extends React.Component<Foo> {
render() {
return (
<div className= "class" >
<h2 className="anotherClass" >
{ this.foo.bar }
< /h2>
{ this.foo.bar.children }
</div>
);
}
}
<|file_sep|>curre... | class Test extends React.Component<Foo> {
render() {
return (
<div className="class">
<h2 className="anotherClass">
{this.foo.bar}
</h2>
{this.foo.bar.children}
</div>
);
}
} | <|file_sep|>original/examples/simple-jsbeautifyrc/tsx/expected/test.tsx
class Test extends React.Component<Foo> {
render() {
return (
<div className= "class" >
<h2 className="anotherClass" >
{ this.foo.bar }
< /h2>
{ this.foo.bar.children }
</div>
);
}
}
<|file_sep|>curre... | ea3361812433ddbbb2b35fa15e46f2c3b19c0e46 | examples/simple-jsbeautifyrc/tsx/expected/test.tsx | examples/simple-jsbeautifyrc/tsx/expected/test.tsx | TypeScript |
<|file_sep|>original/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs
<|file_sep|>current/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs
<|file_sep|>updated/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | <|file_sep|>original/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs
<|file_sep|>current/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs
<|file_sep|>updated/functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs
// Copyright 2020 Google LLC
//
// Licensed under the Apache ... | 71e8355de71d274e612768e263a46fcd028cab43 | functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs | functions/helloworld/HelloWorld.Tests/FunctionIntegrationTest.cs | C# |
<|file_sep|>src/BoardHelpers.elm.diff
original:
case getBoardIdByStorageKey key of
Just id ->
getBoardById boards id
Nothing ->
Nothing
updated:
key
|> getBoardIdByStorageKey
|> Maybe.andThen (getBoardById boards)
<|file_sep|>original/src/BoardHelpers.elm... | getBoardByStorageKey boards key =
key
|> getBoardIdByStorageKey
|> Maybe.andThen (getBoardById boards)
getBoardIdByStorageKey : String -> Maybe String
getBoardIdByStorageKey key =
key |> getBoardIdList |> Maybe.andThen List.head
getBoardIdList : String -> Maybe (List String)
getBoardIdList k... | <|file_sep|>src/BoardHelpers.elm.diff
original:
case getBoardIdByStorageKey key of
Just id ->
getBoardById boards id
Nothing ->
Nothing
updated:
key
|> getBoardIdByStorageKey
|> Maybe.andThen (getBoardById boards)
<|file_sep|>original/src/BoardHelpers.elm... | d4f0ac9660d9cce8a3b2ee28e75808171296a977 | src/BoardHelpers.elm | src/BoardHelpers.elm | Elm |
<|file_sep|>original/Server/src/main/webapp/META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="">
<!-- Cert authentication for case when there is proxy like Apache -->
<!-- Don't remove. Use when there is standalone tomcat only.
<Realm className="org.xdi.tomcat7.... | <?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="">
<!-- Cert authentication for case when there is proxy like Apache -->
<!-- Don't remove. Use when there is standalone tomcat only.
<Realm className="org.xdi.tomcat7.WantSslRealm" validate="true" allRolesMode="authOnly"/>
<Val... | <|file_sep|>original/Server/src/main/webapp/META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="">
<!-- Cert authentication for case when there is proxy like Apache -->
<!-- Don't remove. Use when there is standalone tomcat only.
<Realm className="org.xdi.tomcat7.... | b02547b9fb13969e77c75214ca60cb30ab6e3969 | Server/src/main/webapp/META-INF/context.xml | Server/src/main/webapp/META-INF/context.xml | XML |
<|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
yarn: artsy/yarn@1.1.1
workflows:
build_and_verify:
jobs:
- yarn/workflow-queue
- yarn/update-cache:
requires:
- yarn/workflow-queue
- yarn/relay:
requires:
- yarn/workflow-queue
- ... | version: 2.1
orbs:
yarn: artsy/yarn@2.1.0
workflows:
build_and_verify:
jobs:
- yarn/workflow-queue
- yarn/update-cache:
requires:
- yarn/workflow-queue
- yarn/relay:
requires:
- yarn/workflow-queue
- yarn/lint:
requires:
... | <|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
yarn: artsy/yarn@1.1.1
workflows:
build_and_verify:
jobs:
- yarn/workflow-queue
- yarn/update-cache:
requires:
- yarn/workflow-queue
- yarn/relay:
requires:
- yarn/workflow-queue
- ... | b09c62710cf0c88266a508915630a7dc2fb23492 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt.diff
original:
import ch.rmy.android.http_shortcuts.exceptions.ResponseTooLargeException
updated:
<|file_sep|>original/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt
pa... | package ch.rmy.android.http_shortcuts.extensions
import android.content.Context
import android.net.Uri
import ch.rmy.android.http_shortcuts.utils.SizeLimitedReader
import java.io.BufferedReader
import java.io.InputStreamReader
private const val BUFFER_SIZE = 16384
fun Uri.readIntoString(context: Context, limit: Long... | <|file_sep|>HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt.diff
original:
import ch.rmy.android.http_shortcuts.exceptions.ResponseTooLargeException
updated:
<|file_sep|>original/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt
pa... | 6638cde3541abc7eedaae8de3761b078249f3207 | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/extensions/DataExtensions.kt | Kotlin |
<|file_sep|>original/bin/custom_oauth_callback.pl
<|file_sep|>current/bin/custom_oauth_callback.pl
<|file_sep|>updated/bin/custom_oauth_callback.pl | use strict;
# use warning;
# Custom modules
use lib "/exlibris/primo/p4_1/pds/custom/lib";
use lib "/exlibris/primo/p4_1/pds/custom/vendor/lib";
# PDS program modules
use lib "/exlibris/primo/p4_1/pds/program";
# NYU Libraries modules
use NYU::Libraries::Util qw(parse_conf fix_target_url);
use NYU::Libraries::PDS;
#... | <|file_sep|>original/bin/custom_oauth_callback.pl
<|file_sep|>current/bin/custom_oauth_callback.pl
<|file_sep|>updated/bin/custom_oauth_callback.pl
use strict;
# use warning;
# Custom modules
use lib "/exlibris/primo/p4_1/pds/custom/lib";
use lib "/exlibris/primo/p4_1/pds/custom/vendor/lib";
# PDS program modules
us... | b971e3a935eaf47da69bdb9169bdfe5b8ad1255e | bin/custom_oauth_callback.pl | bin/custom_oauth_callback.pl | Perl |
<|file_sep|>original/apps/kibana/src/main/resources/fabric8-search.json
{
"title": "Fabric8",
"description": "",
"hits": 0,
"columns": [
"log",
"pod",
"pod_container",
"pod_namespace"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourc... | {
"title": "Fabric8",
"description": "",
"hits": 0,
"columns": [
"kubernetes.namespace",
"kubernetes.pod_name",
"kubernetes.container_name",
"log"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"query\":{\"query_string\"... | <|file_sep|>original/apps/kibana/src/main/resources/fabric8-search.json
{
"title": "Fabric8",
"description": "",
"hits": 0,
"columns": [
"log",
"pod",
"pod_container",
"pod_namespace"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourc... | ceb73c12083d209d311119651c1409aeb015e152 | apps/kibana/src/main/resources/fabric8-search.json | apps/kibana/src/main/resources/fabric8-search.json | JSON |
<|file_sep|>lib/work_dir.rb.diff
original:
updated:
require 'work_dir/phantom'
<|file_sep|>original/lib/work_dir.rb
return @logger unless @logger.nil?
@logger = Logger.new(STDOUT)
@logger.level = Logger::INFO
@logger.formatter = proc { |_lvl, _dt, _name, msg| "#{msg}\n" }
@logger
end
... | @logger
end
attr_writer :logger
def new(*args)
Base.new(*args)
end
def repo(*args)
Repo.new(*args)
end
def website(*args)
Website.new(*args)
end
def phantom(*args)
Phantom.new(*args)
end
end
end | <|file_sep|>lib/work_dir.rb.diff
original:
updated:
require 'work_dir/phantom'
<|file_sep|>original/lib/work_dir.rb
return @logger unless @logger.nil?
@logger = Logger.new(STDOUT)
@logger.level = Logger::INFO
@logger.formatter = proc { |_lvl, _dt, _name, msg| "#{msg}\n" }
@logger
end
... | 427c5f1f992ed29b38df665ba4fef5266041599f | lib/work_dir.rb | lib/work_dir.rb | Ruby |
<|file_sep|>original/test/test_historynode.py
""" Tests for the HistoryNode module """
pass
<|file_sep|>current/test/test_historynode.py
""" Tests for the HistoryNode module """
pass
<|file_sep|>updated/test/test_historynode.py | """ Tests for the HistoryNode module """
from contextlib import contextmanager
from io import StringIO
import sys
import unittest
from src import historynode
@contextmanager
def captured_output():
""" Redirects stdout to StringIO so we can inspect Print statements """
new_out = StringIO()
old_out = sys.s... | <|file_sep|>original/test/test_historynode.py
""" Tests for the HistoryNode module """
pass
<|file_sep|>current/test/test_historynode.py
""" Tests for the HistoryNode module """
pass
<|file_sep|>updated/test/test_historynode.py
""" Tests for the HistoryNode module """
from contextlib import contextmanager
from io im... | 7a732c70fb5e07181aeb8f2386230fbecf0667e9 | test/test_historynode.py | test/test_historynode.py | Python |
<|file_sep|>README.md.diff
original:
The only way to do this correctly is to [build Rust from source](https://github.com/rust-lang/rust/#building-from-source)
updated:
A mirror of the rustbook code can be found [here](https://github.com/steveklabnik/rustbook).
This requires a nightly version of the Rust compiler, as w... |
# Building
Building requires an instance of rustbook be set up on your machine.
A mirror of the rustbook code can be found [here](https://github.com/steveklabnik/rustbook).
This requires a nightly version of the Rust compiler, as well as Cargo:
```sh
cd <rustbook-dir>
cargo build --release
```
Once built, the bina... | <|file_sep|>README.md.diff
original:
The only way to do this correctly is to [build Rust from source](https://github.com/rust-lang/rust/#building-from-source)
updated:
A mirror of the rustbook code can be found [here](https://github.com/steveklabnik/rustbook).
This requires a nightly version of the Rust compiler, as w... | b51247119111c9ba9afc86e8e0f7c284ae4e3f7c | README.md | README.md | Markdown |
<|file_sep|>original/bin/requirements.txt
cachetools==4.2.0
certifi==2020.12.5
chardet==4.0.0
coverage==5.3.1
google-api-core==1.24.1
google-api-python-client==1.12.8
google-auth==1.24.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.... | cachetools==4.2.0
certifi==2020.12.5
chardet==4.0.0
coverage==5.3.1
google-api-core==1.25.0
google-api-python-client==1.12.8
google-auth==1.24.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.1.3
oauthlib==3.1.0
protobuf==3.14.0
pyasn... | <|file_sep|>original/bin/requirements.txt
cachetools==4.2.0
certifi==2020.12.5
chardet==4.0.0
coverage==5.3.1
google-api-core==1.24.1
google-api-python-client==1.12.8
google-auth==1.24.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.... | 2eb751049d1609b79ec0f7e808925fd6fc7f2ce8 | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
- "7"
- "6.9"
- "8"
- "9"
- "10"
cache:
directories:
- node_modules
updated:
- '10'
- '12'
- 'node'
cache: npm
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "7"
... | language: node_js
node_js:
- '10'
- '12'
- 'node'
cache: npm
branches:
only:
- master | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
- "7"
- "6.9"
- "8"
- "9"
- "10"
cache:
directories:
- node_modules
updated:
- '10'
- '12'
- 'node'
cache: npm
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "7"
... | 7e82066dc412d888d3dce4bdc94c5b2fd86c618c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/com.commerce4j/commerce4j-storefront/src/main/webapp/META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<Resource auth="Container" description="Commerce4j DataSource"
name="jdbc/commerce4j" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver" maxIdle=... | <?xml version="1.0" encoding="UTF-8"?>
<Context>
<Resource auth="Container" description="Commerce4j DataSource"
name="jdbc/commerce4j" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver" maxIdle="2" maxWait="5000"
username="c4j" password="c4j" url="jdbc:mysql://localhost/commerce4j"
maxAct... | <|file_sep|>original/src/com.commerce4j/commerce4j-storefront/src/main/webapp/META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<Resource auth="Container" description="Commerce4j DataSource"
name="jdbc/commerce4j" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver" maxIdle=... | 6db32b214b2e09b713e437bf02aa81baeb79f119 | src/com.commerce4j/commerce4j-storefront/src/main/webapp/META-INF/context.xml | src/com.commerce4j/commerce4j-storefront/src/main/webapp/META-INF/context.xml | XML |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
install:
- ./.travis_setup
env:
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.1
script: fab test
notifications:
email: false
irc:
on_success: change
on_failure: always
channel... | language: python
python:
- 2.7
install:
- ./.travis_setup
env:
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4.3
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.3
script: fab test
notifications:
email: false
irc:
on_success: change
on_failure: always
channels:
- "irc.freenode.org#ar... | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
install:
- ./.travis_setup
env:
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.4
- SKIP_COVERAGE=1 SKIP_INSTALL=1 DJANGO_VERSION=1.3.1
script: fab test
notifications:
email: false
irc:
on_success: change
on_failure: always
channel... | 167807c9f9acb28cef6072ec807d709423201463 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.bumpversion.cfg
[bumpversion]
commit = True
current_version = 4.0.0
tag = True
tag_name = {new_version}
<|file_sep|>current/.bumpversion.cfg
[bumpversion]
commit = True
current_version = 4.0.0
tag = True
tag_name = {new_version}
<|file_sep|>updated/.bumpversion.cfg | [bumpversion]
commit = True
current_version = 4.0.1
tag = True
tag_name = {new_version}
| <|file_sep|>original/.bumpversion.cfg
[bumpversion]
commit = True
current_version = 4.0.0
tag = True
tag_name = {new_version}
<|file_sep|>current/.bumpversion.cfg
[bumpversion]
commit = True
current_version = 4.0.0
tag = True
tag_name = {new_version}
<|file_sep|>updated/.bumpversion.cfg
[bumpversion]
commit = True
cu... | 5ddbfea1bdc3167732c9520364b4e3bc4586dc3c | .bumpversion.cfg | .bumpversion.cfg | INI |
<|file_sep|>original/backend/app/views/spree/admin/shared/_stock_movement_form.html.erb
<div data-hook="admin_stock_movements_form_fields" class="row">
<div class="alpha two columns">
<%= hidden_field_tag :stock_management, true %>
<%= f.field_container :quantity do %>
<%= f.label :quantity, t(:quantity... | <div data-hook="admin_stock_movements_form_fields" class="row">
<div class="alpha two columns">
<%= hidden_field_tag :stock_management, true %>
<%= f.field_container :quantity do %>
<%= f.label :quantity, t(:quantity) %>
<%= f.number_field :quantity, class: 'fullwidth', value: 1 %>
<% end %>
... | <|file_sep|>original/backend/app/views/spree/admin/shared/_stock_movement_form.html.erb
<div data-hook="admin_stock_movements_form_fields" class="row">
<div class="alpha two columns">
<%= hidden_field_tag :stock_management, true %>
<%= f.field_container :quantity do %>
<%= f.label :quantity, t(:quantity... | eed16c74f09b9f316c387ad1e923f427b08c40cb | backend/app/views/spree/admin/shared/_stock_movement_form.html.erb | backend/app/views/spree/admin/shared/_stock_movement_form.html.erb | HTML+ERB |
<|file_sep|>original/app/www/js/local-storage/local-storage.js
get : function (key, defaultValue)
{
return $window.localStorage[key] || defaultValue;
},
setObject : function (key, value)
{
$window.localStorage[key] = JSON.stringify(value);
},
getObject : f... | get : function (key, defaultValue)
{
return $window.localStorage[key] || defaultValue;
},
setObject : function (key, value)
{
$window.localStorage[key] = JSON.stringify(value);
},
getObject : function (key, defaultValue)
{
return $window.loca... | <|file_sep|>original/app/www/js/local-storage/local-storage.js
get : function (key, defaultValue)
{
return $window.localStorage[key] || defaultValue;
},
setObject : function (key, value)
{
$window.localStorage[key] = JSON.stringify(value);
},
getObject : f... | b9ba28cc9b550c56c95fddcb18076eac1d26f75e | app/www/js/local-storage/local-storage.js | app/www/js/local-storage/local-storage.js | JavaScript |
<|file_sep|>original/_config.yml
name: Nick Williams
tagline: Full-stack developer with a passion for JavaScript.
location: Leicestershire, UK
twitter: http://twitter.com/nickwuh
github: https://github.com/nilliams
markdown: redcarpet
pygments: false
sass:
sass_dir: _sass
<|file_sep|>current/_config.yml
name: Nick Wi... | name: Nick Williams
tagline: Full-stack developer with a passion for JavaScript.
location: Leicestershire, UK
twitter: http://twitter.com/nickwuh
github: https://github.com/nilliams
markdown: redcarpet
pygments: false
permalink: /:title
sass:
sass_dir: _sass | <|file_sep|>original/_config.yml
name: Nick Williams
tagline: Full-stack developer with a passion for JavaScript.
location: Leicestershire, UK
twitter: http://twitter.com/nickwuh
github: https://github.com/nilliams
markdown: redcarpet
pygments: false
sass:
sass_dir: _sass
<|file_sep|>current/_config.yml
name: Nick Wi... | 7f54079273ecc4d65cfd80b2a61391210b85604b | _config.yml | _config.yml | YAML |
<|file_sep|>original/src/js/components/addData/AddDataTypeSelector.jsx
* Created by Kyle Fox 12/29/15
**/
import React from 'react';
export default class TypeSelector extends React.Component {
render() {
return (
<div className="usa-da-color-gray-light-half-tone usa-da-login-container usa-grid"... | * Created by Kyle Fox 12/29/15
**/
import React from 'react';
export default class TypeSelector extends React.Component {
render() {
return (
<div className="usa-da-color-gray-light-half-tone usa-da-login-container usa-grid container">
<div className="usa-width-one-whole row cen... | <|file_sep|>original/src/js/components/addData/AddDataTypeSelector.jsx
* Created by Kyle Fox 12/29/15
**/
import React from 'react';
export default class TypeSelector extends React.Component {
render() {
return (
<div className="usa-da-color-gray-light-half-tone usa-da-login-container usa-grid"... | 5101946f9b187b66c0e8feea03fec150efa39ab9 | src/js/components/addData/AddDataTypeSelector.jsx | src/js/components/addData/AddDataTypeSelector.jsx | JSX |
<|file_sep|>original/appveyor.yml
version: 4.1.0.{build}
configuration: Release
nuget:
disable_publish_on_pr: true
clone_depth: 1
test: off
build_script:
- ps: .\build.ps1
artifacts:
- path: artifacts\packages\**\*.nupkg
name: MyGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/autofac/api/v2/p... | version: 4.1.0.{build}
configuration: Release
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
NUGET_XMLDOC_MODE: skip
nuget:
disable_publish_on_pr: true
clone_depth: 1
test: off
build_script:
- ps: .\build.ps1
artifacts:
- path: artifacts\packages\**\*.nupkg
name: MyGet | <|file_sep|>original/appveyor.yml
version: 4.1.0.{build}
configuration: Release
nuget:
disable_publish_on_pr: true
clone_depth: 1
test: off
build_script:
- ps: .\build.ps1
artifacts:
- path: artifacts\packages\**\*.nupkg
name: MyGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/autofac/api/v2/p... | 2704c5440942f21dbc54ec03d9e14956043172de | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/test-requirements.txt
coverage==3.7.1
flake8==2.4.1
nose==1.3.7
pylint==1.4.3
tox==2.1.1
vcrpy==1.5.2
<|file_sep|>current/test-requirements.txt
coverage==3.7.1
flake8==2.4.1
nose==1.3.7
pylint==1.4.3
tox==2.1.1
vcrpy==1.5.2
<|file_sep|>updated/test-requirements.txt | coverage==3.7.1
flake8==2.4.1
# pinned due to an issue with pylint https://bitbucket.org/logilab/pylint/issue/575/support-for-logilabcommon-100
logilab-common==0.63.2
nose==1.3.7
pylint==1.4.3
tox==2.1.1
vcrpy==1.5.2 | <|file_sep|>original/test-requirements.txt
coverage==3.7.1
flake8==2.4.1
nose==1.3.7
pylint==1.4.3
tox==2.1.1
vcrpy==1.5.2
<|file_sep|>current/test-requirements.txt
coverage==3.7.1
flake8==2.4.1
nose==1.3.7
pylint==1.4.3
tox==2.1.1
vcrpy==1.5.2
<|file_sep|>updated/test-requirements.txt
coverage==3.7.1
flake8==2.4.1
# p... | f446a3f290098b4883c093c15dcf223d9254f8c1 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/README.md
# Get Module
> Include local NodeJS modules relative to your root path
[](https://nodei.co/npm/getmodule/)
## Installation
```js
npm i --save getmodule
```
## Usage
Add on your `app.js` (or on ma... | # Get Module
> Include local NodeJS modules relative to your root path
[](https://travis-ci.org/fdaciuk/getmodule)
[](https://coveralls.io/r/fdaciuk/getmodule)
[](https://nodei.co/npm/getmodule/)
## Installation
```js
npm i --save getmodule
```
## Usage
Add on your `app.js` (or on ma... | 20fa1d4dc99760ec436b927955a9573fe3082a34 | README.md | README.md | Markdown |
<|file_sep|>original/lib/specinfra/command/redhat/base/yumrepo.rb
class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo
class << self
def check_exists(repository)
"yum repolist all -C | grep -E \"^#{escape(repository)}\(\\s\|$\|\\/)\""
end
def check_is_enabled(r... | class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo
class << self
def check_exists(repository)
"yum repolist all -C | grep -qsE \"^[\\!\\*]?#{escape(repository)}\(\\s\|$\|\\/)\""
end
def check_is_enabled(repository)
"yum repolist enabled -C | grep -qs \"... | <|file_sep|>original/lib/specinfra/command/redhat/base/yumrepo.rb
class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Command::Linux::Base::Yumrepo
class << self
def check_exists(repository)
"yum repolist all -C | grep -E \"^#{escape(repository)}\(\\s\|$\|\\/)\""
end
def check_is_enabled(r... | aea999ca635210e3ac2f60c4f4a5ffb91fc9a644 | lib/specinfra/command/redhat/base/yumrepo.rb | lib/specinfra/command/redhat/base/yumrepo.rb | Ruby |
<|file_sep|>.forestry/front_matter/templates/colinha.yml.diff
original:
updated:
- type: text
name: subtitle
label: SUBTITLE
description: max 70 char
<|file_sep|>.forestry/front_matter/templates/colinha.yml.diff
original:
- name: comments
label: Comments
type: boolean
hidden: false
default: true
updated:... | label: Img
type: file
hidden: false
default: "/images/colinha.png"
- name: tags
label: Tags
type: tag_list
hidden: false
default:
- colinha
- name: comments
label: Comments
type: boolean
hidden: false
default: true
pages:
- _posts/playing-with-dockers-container-listing.md
- _posts/2019-04-03-c... | <|file_sep|>.forestry/front_matter/templates/colinha.yml.diff
original:
updated:
- type: text
name: subtitle
label: SUBTITLE
description: max 70 char
<|file_sep|>.forestry/front_matter/templates/colinha.yml.diff
original:
- name: comments
label: Comments
type: boolean
hidden: false
default: true
updated:... | 3b057ceab08a2d99acc4b91e5a5fe4b4995c841a | .forestry/front_matter/templates/colinha.yml | .forestry/front_matter/templates/colinha.yml | YAML |
<|file_sep|>original/composer.json
},
"require-dev": {
"sensio/framework-extra-bundle": "~3.0",
"symfony/browser-kit": "~2.1",
"symfony/class-loader": "~2.1",
"symfony/expression-language": "~2.1",
"symfony/finder": "~2.1",
"symfony/form": "~2.1",
"symfony... | },
"require-dev": {
"sensio/framework-extra-bundle": "~3.0",
"symfony/browser-kit": "~2.1",
"symfony/class-loader": "~2.1",
"symfony/expression-language": "~2.1",
"symfony/finder": "~2.1",
"symfony/form": "~2.1",
"symfony/framework-bundle": "~2.1",
... | <|file_sep|>original/composer.json
},
"require-dev": {
"sensio/framework-extra-bundle": "~3.0",
"symfony/browser-kit": "~2.1",
"symfony/class-loader": "~2.1",
"symfony/expression-language": "~2.1",
"symfony/finder": "~2.1",
"symfony/form": "~2.1",
"symfony... | a46c8000f84356e8f3f74ecbd482ccb31e8e3aba | composer.json | composer.json | JSON |
<|file_sep|>original/integration-tests/apps/alacarte/services/simple_service.rb
loop_once
sleep( 1 )
end
end
end
def loop_once
$stderr.puts "Service executing loop with #{@webserver}!"
basedir = ENV['BASEDIR' ]
basedir.gsub!( %r(\\:), ':' )
basedir.gsub!( %r(\\\\), '\\' )
... | loop_once
sleep( 1 )
end
end
end
def loop_once
if @webserver
basedir = ENV['BASEDIR' ]
basedir.gsub!( %r(\\:), ':' )
basedir.gsub!( %r(\\\\), '\\' )
touchfile = File.join( basedir, 'target', 'touchfile.txt' )
File.open( touchfile, 'w' ) do |f|
f.p... | <|file_sep|>original/integration-tests/apps/alacarte/services/simple_service.rb
loop_once
sleep( 1 )
end
end
end
def loop_once
$stderr.puts "Service executing loop with #{@webserver}!"
basedir = ENV['BASEDIR' ]
basedir.gsub!( %r(\\:), ':' )
basedir.gsub!( %r(\\\\), '\\' )
... | f8f7515b3ed2910a5b8e1bb5caa1e276ba18e66f | integration-tests/apps/alacarte/services/simple_service.rb | integration-tests/apps/alacarte/services/simple_service.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "fh-service-ldap-cloud",
"version": "0.1.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.1.3",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"ldapjs": "0.7.1",
"winston": "^0.8.1"
},
"devDependencies": {
"grunt-concurrent": "lat... | {
"name": "fh-service-ldap-cloud",
"version": "0.1.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.1.4",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"ldapjs": "0.7.1",
"winston": "^0.8.1"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": ... | <|file_sep|>original/package.json
{
"name": "fh-service-ldap-cloud",
"version": "0.1.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "6.1.3",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"ldapjs": "0.7.1",
"winston": "^0.8.1"
},
"devDependencies": {
"grunt-concurrent": "lat... | f398a77a16504c4d3271ba4e81f20e669caf73fa | package.json | package.json | JSON |
<|file_sep|>original/dev-requirements.txt
black==20.8b1
doc8==0.8.1
coveralls==3.0.1
flake8==3.9.1
flake8-commas==2.0.0
flake8-comprehensions==3.4.0
flake8-docstrings==1.6.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.8.0
mypy==0.812
pydocstyle==6.0.0
pytest==6.2.3
pytest-cov==2.11.1
rope==0.19.... | black==21.4b0
doc8==0.8.1
coveralls==3.0.1
flake8==3.9.1
flake8-commas==2.0.0
flake8-comprehensions==3.4.0
flake8-docstrings==1.6.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.8.0
mypy==0.812
pydocstyle==6.0.0
pytest==6.2.3
pytest-cov==2.11.1
rope==0.19.0
setuptools==56.0.0
sphinx==3.5.4
sphinx-... | <|file_sep|>original/dev-requirements.txt
black==20.8b1
doc8==0.8.1
coveralls==3.0.1
flake8==3.9.1
flake8-commas==2.0.0
flake8-comprehensions==3.4.0
flake8-docstrings==1.6.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.8.0
mypy==0.812
pydocstyle==6.0.0
pytest==6.2.3
pytest-cov==2.11.1
rope==0.19.... | 461d6b5d958b8950293532ed6fdf5e148ab808c8 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/aws/s3/events.go
package spartaS3
// EventOwnerIdentity event data
type EventOwnerIdentity struct {
PrincpalID string `json:"principalId"`
}
// Bucket event data
type Bucket struct {
Name string `json:"name"`
Arn string `json:"arn"`
OwnerIdentity Eve... | // Sparta package to support AWS S3
package s3
// EventOwnerIdentity event data
type EventOwnerIdentity struct {
PrincpalID string `json:"principalId"`
}
// Bucket event data
type Bucket struct {
Name string `json:"name"`
Arn string `json:"arn"`
OwnerIdentity EventOwnerI... | <|file_sep|>original/aws/s3/events.go
package spartaS3
// EventOwnerIdentity event data
type EventOwnerIdentity struct {
PrincpalID string `json:"principalId"`
}
// Bucket event data
type Bucket struct {
Name string `json:"name"`
Arn string `json:"arn"`
OwnerIdentity Eve... | eb965e33fc2b14778611fb047d64411b0ea7bb7a | aws/s3/events.go | aws/s3/events.go | Go |
<|file_sep|>original/src/BaselineOfGtGemstoneClient/BaselineOfGtGemstoneClient.class.st
{ #category : 'baselines' }
BaselineOfGtGemstoneClient >> baseline: spec [
<baseline>
spec for: #common do: [
spec
baseline: 'RemoteServiceReplication'
with: [ spec repository: 'github://GemTalk/RemoteServiceReplication:... | { #category : 'baselines' }
BaselineOfGtGemstoneClient >> baseline: spec [
<baseline>
spec for: #common do: [
spec
baseline: 'RemoteServiceReplication'
with: [ spec repository: 'github://GemTalk/RemoteServiceReplication:main/src' ].
spec
baseline: 'SparkleFFI'
with: [ spec repository: 'github://feen... | <|file_sep|>original/src/BaselineOfGtGemstoneClient/BaselineOfGtGemstoneClient.class.st
{ #category : 'baselines' }
BaselineOfGtGemstoneClient >> baseline: spec [
<baseline>
spec for: #common do: [
spec
baseline: 'RemoteServiceReplication'
with: [ spec repository: 'github://GemTalk/RemoteServiceReplication:... | 65b07d64e599b6277195935e812591905397b243 | src/BaselineOfGtGemstoneClient/BaselineOfGtGemstoneClient.class.st | src/BaselineOfGtGemstoneClient/BaselineOfGtGemstoneClient.class.st | Smalltalk |
<|file_sep|>original/tests/tamper/ios.js
'use strict';
/* eslint no-console: 0, no-process-env: 0 */
var fs = require('fs');
var path = require('path');
var buildPath = path.join(process.env.ANTITAMPERING_TEST_DIR, 'platforms/ios/build/emulator');
var indexAsset = path.join(buildPath, 'HelloWorld.app/www/index.html'... | 'use strict';
/* eslint no-console: 0, no-process-env: 0 */
var fs = require('fs');
var path = require('path');
var buildPath = path.join(process.env.ANTITAMPERING_TEST_DIR, 'platforms/ios');
try {
buildPath = path.join(buildPath);
fs.statSync(buildPath).isDirectory();
} catch (e) {
buildPath = path.join... | <|file_sep|>original/tests/tamper/ios.js
'use strict';
/* eslint no-console: 0, no-process-env: 0 */
var fs = require('fs');
var path = require('path');
var buildPath = path.join(process.env.ANTITAMPERING_TEST_DIR, 'platforms/ios/build/emulator');
var indexAsset = path.join(buildPath, 'HelloWorld.app/www/index.html'... | eb3247f5cbd5db6520cc04c34b5901f7098e3fed | tests/tamper/ios.js | tests/tamper/ios.js | JavaScript |
<|file_sep|>original/tests/unit/utilities/open-editor-test.js
<|file_sep|>current/tests/unit/utilities/open-editor-test.js
<|file_sep|>updated/tests/unit/utilities/open-editor-test.js | 'use strict';
var openEditor = require('../../../lib/utilities/open-editor');
var expect = require('chai').expect;
var td = require('testdouble');
describe('open-editor', function() {
beforeEach(function() {
td.replace(openEditor, '_env');
td.replace(openEditor, '_spawn');
});
afterEach(function() {
... | <|file_sep|>original/tests/unit/utilities/open-editor-test.js
<|file_sep|>current/tests/unit/utilities/open-editor-test.js
<|file_sep|>updated/tests/unit/utilities/open-editor-test.js
'use strict';
var openEditor = require('../../../lib/utilities/open-editor');
var expect = require('chai').expect;
var td = require(... | cd2ea8efaaf7805df173c625d3938744273d5d9c | tests/unit/utilities/open-editor-test.js | tests/unit/utilities/open-editor-test.js | JavaScript |
<|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000.sql
UPDATE NOTIFICATION_TYPE SET SEND_NOTIFICATION='N' WHERE MODULE_CODE='9' AND ACTION_CODE IN ('100','101','113','204','205','301','302','322','323')
/
<|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000... | UPDATE NOTIFICATION_TYPE SET SEND_NOTIFICATION='N' WHERE MODULE_CODE='9' AND ACTION_CODE IN ('100','101','113','204','205','206','301','302','322','323')
/ | <|file_sep|>original/src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000.sql
UPDATE NOTIFICATION_TYPE SET SEND_NOTIFICATION='N' WHERE MODULE_CODE='9' AND ACTION_CODE IN ('100','101','113','204','205','301','302','322','323')
/
<|file_sep|>current/src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000... | a8333130c11a0eac1bf7c3127aff86e38b1d23f5 | src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000.sql | src/main/config/sql/current/5.0.1/dml/KC_DML_02_KCIAC-340_B000.sql | SQL |
<|file_sep|>original/cookbooks/travis_ci_standard/spec/elasticsearch_spec.rb
sleep 8
end
describe package('elasticsearch') do
it { should be_installed }
end
describe command(
"curl -X GET 'http://localhost:9200/twitter/tweet/1?pretty=true'"
) do
its(:stdout) { should include('Trying out Elas... | sleep 8
end
describe package('elasticsearch') do
it { should be_installed }
end
describe command(
"curl -X GET 'http://localhost:9200/twitter/tweet/1?pretty=true'"
) do
its(:stdout) { should include('Trying out Elasticsearch') }
end
describe command(
"curl -X GET 'http://localhost:9... | <|file_sep|>original/cookbooks/travis_ci_standard/spec/elasticsearch_spec.rb
sleep 8
end
describe package('elasticsearch') do
it { should be_installed }
end
describe command(
"curl -X GET 'http://localhost:9200/twitter/tweet/1?pretty=true'"
) do
its(:stdout) { should include('Trying out Elas... | 2f7efa96b4c99cb83f37cbee5fa52b5d791afbcc | cookbooks/travis_ci_standard/spec/elasticsearch_spec.rb | cookbooks/travis_ci_standard/spec/elasticsearch_spec.rb | Ruby |
<|file_sep|>test/PCH/modified-header-error.c.diff
original:
// RUN: sleep 2
updated:
<|file_sep|>original/test/PCH/modified-header-error.c
// RUN: mkdir -p %t.dir
// RUN: echo '#include "header2.h"' > %t.dir/header1.h
// RUN: echo > %t.dir/header2.h
// RUN: cp %s %t.dir/t.c
// RUN: %clang_cc1 -x c-header %t.dir/header... | // RUN: mkdir -p %t.dir
// RUN: echo '#include "header2.h"' > %t.dir/header1.h
// RUN: echo > %t.dir/header2.h
// RUN: cp %s %t.dir/t.c
// RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch
// RUN: echo >> %t.dir/header2.h
// RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s... | <|file_sep|>test/PCH/modified-header-error.c.diff
original:
// RUN: sleep 2
updated:
<|file_sep|>original/test/PCH/modified-header-error.c
// RUN: mkdir -p %t.dir
// RUN: echo '#include "header2.h"' > %t.dir/header1.h
// RUN: echo > %t.dir/header2.h
// RUN: cp %s %t.dir/t.c
// RUN: %clang_cc1 -x c-header %t.dir/header... | e038cf04e9edcc2286dc180aa1ab9fe517c81990 | test/PCH/modified-header-error.c | test/PCH/modified-header-error.c | C |
<|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: latest
chef_omnibus_url: https://www.getchef.com/chef/install.sh
platforms:
- name: ubuntu-14.04
run_list:
- "recipe[apt::default]"
suites:
- name: server
run_list:
- "recipe[r... | ---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: ubuntu-14.04
run_list:
- "recipe[apt::default]"
suites:
- name: server
run_list:
- "recipe[rundeck::server]"
- "recipe[create_chef_dir]"
- "recipe[rundeck::chef-rundeck]"
attributes:
rundeck:
... | <|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: latest
chef_omnibus_url: https://www.getchef.com/chef/install.sh
platforms:
- name: ubuntu-14.04
run_list:
- "recipe[apt::default]"
suites:
- name: server
run_list:
- "recipe[r... | 8d72ad844863311a58cb7e63ef4c4d8006ba934a | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '8'
- '6'
before_install:
- npm install -g npm
before_script :
- npm install -g grunt-cli
- npm prune
after_success:
- npm run semantic-release
branches:
except:
-... | sudo: false
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '10'
- '8'
- '6'
before_install:
- npm install -g npm
before_script :
- npm install -g grunt-cli
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/ | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '8'
- '6'
before_install:
- npm install -g npm
before_script :
- npm install -g grunt-cli
- npm prune
after_success:
- npm run semantic-release
branches:
except:
-... | c67664171744b859214b4ebe846c483fbf01e139 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- 3.5
<|file_sep|>.travis.yml.diff
original:
- DJANGO="Django>=1.7,<1.8"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- DJANGO="Django>=1.10,<1.11"
<|file_sep|>.travis.yml.diff
original:
updated:
- python: 3.3
env: DJANGO="Django>=1.10,<1.1... | - DJANGO="Django>=1.9,<1.10"
- DJANGO="Django>=1.10,<1.11"
matrix:
exclude:
- python: 3.3
env: DJANGO="Django>=1.9,<1.10"
- python: 3.3
env: DJANGO="Django>=1.10,<1.11"
- python: "pypy3"
env: DJANGO="Django>=1.9,<1.10"
- python: "pypy3"
env: DJANGO="Django>=1.10,<1.11"
befo... | <|file_sep|>.travis.yml.diff
original:
updated:
- 3.5
<|file_sep|>.travis.yml.diff
original:
- DJANGO="Django>=1.7,<1.8"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- DJANGO="Django>=1.10,<1.11"
<|file_sep|>.travis.yml.diff
original:
updated:
- python: 3.3
env: DJANGO="Django>=1.10,<1.1... | 15891357c5aa337bf992f0d2f55415814bee07b2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/source/advection.rst
.. _pysteps.advection:
Advection-based extrapolation (:mod:`pysteps.advection`)
********************************************************
pysteps\.advection\.interface
-----------------------------
.. automodule:: pysteps.advection.interface
:members:
pysteps\.advect... | .. _pysteps.advection:
Advection-based extrapolation (:mod:`pysteps.advection`)
********************************************************
pysteps\.advection\.interface
-----------------------------
.. automodule:: pysteps.advection.interface
:members:
pysteps\.advection\.semilagrangian
--------------------------... | <|file_sep|>original/doc/source/advection.rst
.. _pysteps.advection:
Advection-based extrapolation (:mod:`pysteps.advection`)
********************************************************
pysteps\.advection\.interface
-----------------------------
.. automodule:: pysteps.advection.interface
:members:
pysteps\.advect... | 4c36e5d8cad406400cba2d12fa449e188ea0e39f | doc/source/advection.rst | doc/source/advection.rst | reStructuredText |
<|file_sep|>original/requirements.txt
networkx==2.2
pandas==0.23.4
pytest==3.8.1
numpy==1.15.2
scipy==1.1.0
setuptools==40.4.3
scikit_learn == 0.17.1
<|file_sep|>current/requirements.txt
networkx==2.2
pandas==0.23.4
pytest==3.8.1
numpy==1.15.2
scipy==1.1.0
setuptools==40.4.3
scikit_learn == 0.17.1
<|file_sep|>updated/r... | networkx==2.2
pandas==0.23.4
pytest==3.8.1
numpy==1.15.2
scipy==1.1.0
setuptools==40.4.3
scikit_learn==0.19.2 | <|file_sep|>original/requirements.txt
networkx==2.2
pandas==0.23.4
pytest==3.8.1
numpy==1.15.2
scipy==1.1.0
setuptools==40.4.3
scikit_learn == 0.17.1
<|file_sep|>current/requirements.txt
networkx==2.2
pandas==0.23.4
pytest==3.8.1
numpy==1.15.2
scipy==1.1.0
setuptools==40.4.3
scikit_learn == 0.17.1
<|file_sep|>updated/r... | c78e0dc5ceb9a7aef154968464d7c176535fa876 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/demo_data/fake_event_note_generator.rb
def next
@date += rand(30..60) # days
educator = Educator.where(admin: true).first
return {
student_id: @student.id,
educator_id: educator.id,
event_note_type_id: EventNoteType.all.sample.id,
recorded_at: @date,
... |
def next
@date += rand(30..60) # days
educator = Educator.where(admin: true).first
return {
student_id: @student.id,
educator_id: educator.id,
event_note_type_id: EventNoteType.all.sample.id,
recorded_at: @date,
text: sample_text,
is_restricted: false
}
end
... | <|file_sep|>original/app/demo_data/fake_event_note_generator.rb
def next
@date += rand(30..60) # days
educator = Educator.where(admin: true).first
return {
student_id: @student.id,
educator_id: educator.id,
event_note_type_id: EventNoteType.all.sample.id,
recorded_at: @date,
... | bccf43d496de6ab2a6eeae0bcf776b3b0818be3f | app/demo_data/fake_event_note_generator.rb | app/demo_data/fake_event_note_generator.rb | Ruby |
<|file_sep|>original/.github/workflows/ci.yml
- build_test
- cypress
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Setup Ruby 2.4
uses: actions/setup-ruby@v1
with:
ruby-version: '2.4'
- name: Install ... | - build_test
- cypress
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Setup Ruby 2.4
uses: actions/setup-ruby@v1
with:
ruby-version: '2.4'
- name: Install Dependencies
run: |
gem inst... | <|file_sep|>original/.github/workflows/ci.yml
- build_test
- cypress
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Setup Ruby 2.4
uses: actions/setup-ruby@v1
with:
ruby-version: '2.4'
- name: Install ... | 381c90245eb720e505d9299c843b29f9befe8d5c | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>metadata/org.sorz.lab.tinykeepass.yml.diff
original:
updated:
- versionName: 0.3.7
versionCode: 13
commit: v0.3.7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/org.sorz.lab.tinykeepass.yml
gradle:
- yes
- versionName: 0.3.5
versionCode: 11
commit: v0.... | gradle:
- yes
- versionName: 0.3.6
versionCode: 12
commit: v0.3.6
subdir: app
gradle:
- yes
- versionName: 0.3.7
versionCode: 13
commit: v0.3.7
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.3.7
CurrentVersionCod... | <|file_sep|>metadata/org.sorz.lab.tinykeepass.yml.diff
original:
updated:
- versionName: 0.3.7
versionCode: 13
commit: v0.3.7
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/org.sorz.lab.tinykeepass.yml
gradle:
- yes
- versionName: 0.3.5
versionCode: 11
commit: v0.... | 9d54c6dee50fb6feda0d97b060707a692e4b62be | metadata/org.sorz.lab.tinykeepass.yml | metadata/org.sorz.lab.tinykeepass.yml | YAML |
<|file_sep|>.github/workflows/main.yml.diff
original:
cmake.exe --help
updated:
<|file_sep|>original/.github/workflows/main.yml
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build and run
run: |
cmake.exe --help
cma... |
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build and run
run: |
cmake -G "Visual Studio 16 2019" -D BUILD_TESTS=ON ./
make
# - name: Run tests
# run: ./test/etl_tests
# steps:
# - name: Add msbuild to PA... | <|file_sep|>.github/workflows/main.yml.diff
original:
cmake.exe --help
updated:
<|file_sep|>original/.github/workflows/main.yml
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build and run
run: |
cmake.exe --help
cma... | 9f2bfa17a6604bfecfcdd7fa1f418a2f474f07b7 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/app/models/retirement_plan.rb
validates :retirement_plan_name, presence: true
def display
retirement_plan_name
end
belongs_to :company
accepts_nested_attributes_for :company, reject_if: proc { |attributes| CompaniesController.reject_if_blank(attributes) }
allow_existing :compa... | validates :retirement_plan_name, presence: true
def display
retirement_plan_name
end
belongs_to :company
accepts_nested_attributes_for :company, reject_if: proc { |attributes| CompaniesController.reject_if_blank(attributes) }
allow_existing :company
belongs_to :periodic_payment
accepts_nested... | <|file_sep|>original/app/models/retirement_plan.rb
validates :retirement_plan_name, presence: true
def display
retirement_plan_name
end
belongs_to :company
accepts_nested_attributes_for :company, reject_if: proc { |attributes| CompaniesController.reject_if_blank(attributes) }
allow_existing :compa... | 2549def889a4c4a5194f32cebd04074df12aebcd | app/models/retirement_plan.rb | app/models/retirement_plan.rb | Ruby |
<|file_sep|>original/src/main/java/org/sipfoundry/sipxbridge/CrLfTimerTask.java
CrLfTimerTask(SipProvider provider, ItspAccountInfo accountInfo) {
this.provider = provider;
this.accountInfo = accountInfo;
}
@Override
public void run() {
try {
ListeningPointExt ... |
CrLfTimerTask(SipProvider provider, ItspAccountInfo accountInfo) {
this.provider = provider;
this.accountInfo = accountInfo;
}
@Override
public void run() {
try {
ListeningPointExt listeningPoint = (ListeningPointExt) provider.getListeningPoint("udp");
... | <|file_sep|>original/src/main/java/org/sipfoundry/sipxbridge/CrLfTimerTask.java
CrLfTimerTask(SipProvider provider, ItspAccountInfo accountInfo) {
this.provider = provider;
this.accountInfo = accountInfo;
}
@Override
public void run() {
try {
ListeningPointExt ... | 4ea21f58536689d663764e13285418f3e14a4acc | src/main/java/org/sipfoundry/sipxbridge/CrLfTimerTask.java | src/main/java/org/sipfoundry/sipxbridge/CrLfTimerTask.java | Java |
<|file_sep|>original/tox.ini
[pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*
<|file_sep|>current/tox.ini
[pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*
<|file_sep|>updated/tox.ini | [pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*,.git,__pycache | <|file_sep|>original/tox.ini
[pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*
<|file_sep|>current/tox.ini
[pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*
<|file_sep|>updated/tox.ini
[pytest]
norecursedirs = env
[flake8]
ignore = E501
exclude = env/*,.git,__pycache | 92003923230c52f8c1b0e330630d4c08e9dbd1a0 | tox.ini | tox.ini | INI |
<|file_sep|>original/lib/web/public/css/editor.css
.ace_gutter-cell.ace_breakpoint {
background: #faa url('/img/breakpoint.png') no-repeat 3px 3px;
}
.ace_gutter-cell.ace_breakpoint:hover {
background-color: #f77;
}
.ace_gutter-cell:not(.ace_breakpoint):hover {
background: #faa url('/img/breakpoint.png') no-repea... | .ace_active-line {
background: inherit !important;
}
.ace_gutter-cell {
cursor: pointer;
}
.ace_gutter-cell.ace_breakpoint {
background: #faa url('/img/breakpoint.png') no-repeat 3px 3px;
}
.ace_gutter-cell.ace_breakpoint:hover {
background-color: #f77;
}
.ace_gutter-cell:not(.ace_breakpoint):hover {
backgrou... | <|file_sep|>original/lib/web/public/css/editor.css
.ace_gutter-cell.ace_breakpoint {
background: #faa url('/img/breakpoint.png') no-repeat 3px 3px;
}
.ace_gutter-cell.ace_breakpoint:hover {
background-color: #f77;
}
.ace_gutter-cell:not(.ace_breakpoint):hover {
background: #faa url('/img/breakpoint.png') no-repea... | 2d432ed9529b105e6e01e421a7628301d390117e | lib/web/public/css/editor.css | lib/web/public/css/editor.css | CSS |
<|file_sep|>src/pages/About.vue.diff
original:
updated:
@media only screen and (min-width: 1200px) {
<|file_sep|>original/src/pages/About.vue
<img src="https://bulma.io/images/placeholders/480x320.png">
</figure>
</div>
<div class="column">
<p class="is-size-4 intro">
I ... | </div>
<div class="column">
<p class="is-size-4 intro">
I code in Python/Django/Flask and lately I've been doing javascript also. I'm not a design-
guy so I'm usually assigned to do backend stuffs.<br/><br/>I'm in continuous loop of learni
ng and experimenting new technologie... | <|file_sep|>src/pages/About.vue.diff
original:
updated:
@media only screen and (min-width: 1200px) {
<|file_sep|>original/src/pages/About.vue
<img src="https://bulma.io/images/placeholders/480x320.png">
</figure>
</div>
<div class="column">
<p class="is-size-4 intro">
I ... | 7544c506021694591cf56c37005ec985668dc82d | src/pages/About.vue | src/pages/About.vue | Vue |
<|file_sep|>hack/remove-calico-policy/override-policy.md.diff
original:
Create a `SystemNetworkPolicy` resource by running the following commands:
updated:
#### Override Calico policy to allow all traffic
Create a `SystemNetworkPolicy` resource by running the following command:
<|file_sep|>original/hack/remove-calico-... |
### Instructions
> **Note:** The following steps assume you have permissions to create resources in the `kube-system` namespace.
#### Override Calico policy to allow all traffic
Create a `SystemNetworkPolicy` resource by running the following command:
```
kubectl create -n=kube-system -f=https://raw.githubusercont... | <|file_sep|>hack/remove-calico-policy/override-policy.md.diff
original:
Create a `SystemNetworkPolicy` resource by running the following commands:
updated:
#### Override Calico policy to allow all traffic
Create a `SystemNetworkPolicy` resource by running the following command:
<|file_sep|>original/hack/remove-calico-... | 221a3f80f710466920bf5c5880d5fb5b6a1b2a8b | hack/remove-calico-policy/override-policy.md | hack/remove-calico-policy/override-policy.md | Markdown |
<|file_sep|>src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.scss.diff
original:
margin-left: auto;
updated:
margin-left: auto;
<|file_sep|>original/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-car... | task-outcomes-card .card .list-group {
@media (min-width: $screen-md) {
heading {
display: flex;
}
.task-ilo-alignment-rater {
align-self: center;
margin-left: auto;
}
}
@media (max-width: $screen-md) {
.task-ilo-alignment-rater {
margin: 1em;
}
}
} | <|file_sep|>src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.scss.diff
original:
margin-left: auto;
updated:
margin-left: auto;
<|file_sep|>original/src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-car... | 4b69a6a95d44aaca13fe533383c4b4b0905b3fb2 | src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.scss | src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
script:
- npm test
- npm run prepublish
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "iojs"
script:
- npm test
- npm run prepublis... | language: node_js
node_js:
- "0.12"
script:
- npm test
- npm run prepublish | <|file_sep|>.travis.yml.diff
original:
- "0.10"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
script:
- npm test
- npm run prepublish
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "iojs"
script:
- npm test
- npm run prepublis... | 51c1cbc62ce147f86ae528b581370434d28ab319 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
Copy the `configuration.js.dist` file to `configuration.js` and add at least one entry
updated:
A default configuration is present in ./.fido. The file is in json format.
To override the configuration it is suggested to create a file with the same syntax in
~/.fido.
<|file_sep|>READ... | 'podcastId': '1020286000',
'countries': ['us', 'de', 'gb', 'se', 'ca', 'at', 'au', 'se', 'nl', 'br', 'mx', 'ru', 'gr', 'ar', 'za', 'ch', 'pt']
},
{
'name': 'Descriptive',
'podcastId': '926224392',
'countries': ['us', 'de', 'gb', 'se', 'ca', 'at', 'au', 'se', 'nl', 'br', 'mx', 'ru',... | <|file_sep|>README.md.diff
original:
Copy the `configuration.js.dist` file to `configuration.js` and add at least one entry
updated:
A default configuration is present in ./.fido. The file is in json format.
To override the configuration it is suggested to create a file with the same syntax in
~/.fido.
<|file_sep|>READ... | 503d9d05c86cf36f2b47a2b8236731ef7617de08 | README.md | README.md | Markdown |
<|file_sep|>lib/spirit_intent_listener/spirit/intent_listener.rb.diff
original:
attr_reader :environment
updated:
attr_reader :environment, :redis
<|file_sep|>lib/spirit_intent_listener/spirit/intent_listener.rb.diff
original:
updated:
@redis = config.fetch(:redis, default_redis)
<|file_sep|>original/lib... | rescue
logger.error "Failed to apply #{intent_identifier}"
end
private
def channel_to_listen_on
'intents.spirit.*'
end
def default_redis
Redis.new
end
def logger
@logger ||= Logger.new(STDOUT)
end
end
end | <|file_sep|>lib/spirit_intent_listener/spirit/intent_listener.rb.diff
original:
attr_reader :environment
updated:
attr_reader :environment, :redis
<|file_sep|>lib/spirit_intent_listener/spirit/intent_listener.rb.diff
original:
updated:
@redis = config.fetch(:redis, default_redis)
<|file_sep|>original/lib... | 5c03d5dc0d9db65db6b65ed1ac2d2311d58ec271 | lib/spirit_intent_listener/spirit/intent_listener.rb | lib/spirit_intent_listener/spirit/intent_listener.rb | Ruby |
<|file_sep|>original/static/command-logger.css
z-index: 99;
padding: 20px;
}
.command-logger .category-header {
text-align: center;
padding-bottom: 10px;
}
.command-logger .tree-map {
margin: auto;
position: relative;
width: 960px;
height: 700px;
background-color: #efefef;
}
.command-logger .node t... | padding: 20px;
}
.command-logger .category-header {
text-align: center;
padding-bottom: 10px;
}
.command-logger .tree-map {
margin: auto;
position: relative;
width: 960px;
height: 700px;
background-color: #efefef;
border: 1px solid #999;
}
.command-logger .node text {
font-size: 10px;
fill: #11... | <|file_sep|>original/static/command-logger.css
z-index: 99;
padding: 20px;
}
.command-logger .category-header {
text-align: center;
padding-bottom: 10px;
}
.command-logger .tree-map {
margin: auto;
position: relative;
width: 960px;
height: 700px;
background-color: #efefef;
}
.command-logger .node t... | 8b88ebb93eab28ccf3bfb6603614ae68884f72d7 | static/command-logger.css | static/command-logger.css | CSS |
<|file_sep|>original/recompile.sh
#!/bin/sh
set -e
cd `dirname $0`
docker build -t sneezy docker
docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sneezy
<|file_sep|>current/recompile.sh
#!/bin/sh
set -e
cd `dirname $0`
docker build -t sneezy docker
docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sn... | #!/bin/sh
set -e
cd `dirname $0`
if [ ! -d sneezymud/code ]; then
echo "Please run git submodule update --init"
exit 1
fi
echo 'gitdir: ../.git/modules/sneezymud' > sneezymud/.git
docker build -t sneezy docker
docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sneezy | <|file_sep|>original/recompile.sh
#!/bin/sh
set -e
cd `dirname $0`
docker build -t sneezy docker
docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sneezy
<|file_sep|>current/recompile.sh
#!/bin/sh
set -e
cd `dirname $0`
docker build -t sneezy docker
docker run -it --rm -v `pwd`:/home/sneezy/sneezymud-docker sn... | 666405fed5d6e1180629f8ef7a86f37ebf2c5d6e | recompile.sh | recompile.sh | Shell |
<|file_sep|>spec/ciso_spec.rb.diff
original:
updated:
require 'open-uri'
<|file_sep|>spec/ciso_spec.rb.diff
original:
updated:
# TODO Write this out to a file after the first fetch
subject { CISO::Deflate.new(open('http://www.memtest.org/download/5.01/memtest86+-5.01.iso.gz')) }
<|file_sep|>spec/ciso_spec.rb.... | require_relative '../lib/ciso.rb'
require 'open-uri'
describe CISO do
describe "compression" do
# TODO Write this out to a file after the first fetch
subject { CISO::Deflate.new(open('http://www.memtest.org/download/5.01/memtest86+-5.01.iso.gz')) }
before do
subject.deflate
end
it "can co... | <|file_sep|>spec/ciso_spec.rb.diff
original:
updated:
require 'open-uri'
<|file_sep|>spec/ciso_spec.rb.diff
original:
updated:
# TODO Write this out to a file after the first fetch
subject { CISO::Deflate.new(open('http://www.memtest.org/download/5.01/memtest86+-5.01.iso.gz')) }
<|file_sep|>spec/ciso_spec.rb.... | 476538e3499b7d1d76dfbeffa379f6dcebe68407 | spec/ciso_spec.rb | spec/ciso_spec.rb | Ruby |
<|file_sep|>original/src/ChannelDefinition.js
/*
publish( envelope [, callback ] );
publish( topic, data [, callback ] );
*/
ChannelDefinition.prototype.publish = function() {
var envelope = {};
var callback;
if ( typeof arguments[ 0 ] === "string" ) {
envelope.topic = arguments[ 0 ];
envelope.data = arg... | publish( envelope [, callback ] );
publish( topic, data [, callback ] );
*/
ChannelDefinition.prototype.publish = function() {
var envelope = {};
var callback;
if ( typeof arguments[ 0 ] === "string" ) {
envelope.topic = arguments[ 0 ];
envelope.data = arguments[ 1 ];
callback = arguments[ 2 ];
} else... | <|file_sep|>original/src/ChannelDefinition.js
/*
publish( envelope [, callback ] );
publish( topic, data [, callback ] );
*/
ChannelDefinition.prototype.publish = function() {
var envelope = {};
var callback;
if ( typeof arguments[ 0 ] === "string" ) {
envelope.topic = arguments[ 0 ];
envelope.data = arg... | ea8b7368e2a13e52cb9d122f3c0b2f041ab1338c | src/ChannelDefinition.js | src/ChannelDefinition.js | JavaScript |
<|file_sep|>original/metadata/cz.jiriskorpil.amixerwebui.txt
<|file_sep|>current/metadata/cz.jiriskorpil.amixerwebui.txt
<|file_sep|>updated/metadata/cz.jiriskorpil.amixerwebui.txt | Categories:Connectivity,Internet,Multimedia
License:MIT
Web Site:https://amixerwebui.jiriskorpil.cz
Source Code:https://github.com/JiriSko/amixer-webui-android
Issue Tracker:https://github.com/JiriSko/amixer-webui-android/issues
Auto Name:ALSA Mixer WebUI
Summary:Client for ALSA Mixer WebUI
Description:
Allows to cont... | <|file_sep|>original/metadata/cz.jiriskorpil.amixerwebui.txt
<|file_sep|>current/metadata/cz.jiriskorpil.amixerwebui.txt
<|file_sep|>updated/metadata/cz.jiriskorpil.amixerwebui.txt
Categories:Connectivity,Internet,Multimedia
License:MIT
Web Site:https://amixerwebui.jiriskorpil.cz
Source Code:https://github.com/JiriSk... | 24083162c597f1401d0bd52dd4a8850a1ead1cd7 | metadata/cz.jiriskorpil.amixerwebui.txt | metadata/cz.jiriskorpil.amixerwebui.txt | Text |
<|file_sep|>original/travis-scripts/run-tests.bash
#!/bin/bash -ex
# Copyright 2016 go-dockerclient authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
if [[ $TRAVIS_GO_VERSION == 1.10* || $TRAVIS_OS_NAME == "windows" ]]; then
export SKI... | #!/bin/bash -ex
# Copyright 2016 go-dockerclient authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
if [[ $TRAVIS_GO_VERSION == 1.10* || $TRAVIS_OS_NAME == "windows" ]]; then
export SKIP_FMT_CHECK=1
fi
make staticcheck fmtcheck gotest
... | <|file_sep|>original/travis-scripts/run-tests.bash
#!/bin/bash -ex
# Copyright 2016 go-dockerclient authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
if [[ $TRAVIS_GO_VERSION == 1.10* || $TRAVIS_OS_NAME == "windows" ]]; then
export SKI... | 3ce8159e08822d2e77f672c7e334a2dce3c11305 | travis-scripts/run-tests.bash | travis-scripts/run-tests.bash | Shell |
<|file_sep|>original/.github/workflows/ci.yml
jobs:
build-and-publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- name: Run tests
run: xvfb... |
jobs:
build-and-publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '16.15'
- run: npm ci
- name: Run tests
run: xvfb-run -a npm test
- name: Code coverage
... | <|file_sep|>original/.github/workflows/ci.yml
jobs:
build-and-publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- name: Run tests
run: xvfb... | 85dae37c878d509fb13d18e1d3dcb787fde64f64 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>lib/fog/hp/requests/cdn/head_container.rb.diff
original:
# * 'X-CDN-Enabled'<~Boolean> - cdn status for container
# * 'X-CDN-URI'<~String> - cdn url for this container
# * 'X-TTL'<~String> - integer seconds before data expires, defaults to 86400 (1 day)
updated:
#... | # ==== Parameters
# * container<~String> - Name of container to retrieve info for
#
# ==== Returns
# * response<~Excon::Response>:
# * headers<~Hash>:
# * 'X-Cdn-Enabled'<~Boolean> - cdn status for container
# * 'X-Cdn-Uri'<~String> - cdn url for... | <|file_sep|>lib/fog/hp/requests/cdn/head_container.rb.diff
original:
# * 'X-CDN-Enabled'<~Boolean> - cdn status for container
# * 'X-CDN-URI'<~String> - cdn url for this container
# * 'X-TTL'<~String> - integer seconds before data expires, defaults to 86400 (1 day)
updated:
#... | 5f13ad4bcd18a923f6bf2d9f64cf1e6a7c86e8f4 | lib/fog/hp/requests/cdn/head_container.rb | lib/fog/hp/requests/cdn/head_container.rb | Ruby |
<|file_sep|>original/lib/tasks/factory_girl.rake
namespace :factory_girl do
desc "Verify that all FactoryGirl factories are valid"
task lint: :environment do
if Rails.env.test?
begin
DatabaseCleaner.start
mock_commercial_request
FactoryGirl.lint
ensure
DatabaseCleaner... | namespace :factory_girl do
desc "Verify that all FactoryGirl factories are valid"
task lint: :environment do
if Rails.env.test?
begin
DatabaseCleaner.start
FactoryGirl.lint
ensure
DatabaseCleaner.clean
end
else
system("bundle exec rake factory_girl:lint RAILS_... | <|file_sep|>original/lib/tasks/factory_girl.rake
namespace :factory_girl do
desc "Verify that all FactoryGirl factories are valid"
task lint: :environment do
if Rails.env.test?
begin
DatabaseCleaner.start
mock_commercial_request
FactoryGirl.lint
ensure
DatabaseCleaner... | 734e1d4dd9749aa15dec7ba37bcce795ab828b21 | lib/tasks/factory_girl.rake | lib/tasks/factory_girl.rake | Ruby |
<|file_sep|>original/constraints.txt
flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.4.0
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.5.0
psycopg2-binary==2.7.6.1
redis==3.0.1
requests==2.21.0
rq==0.13.0
selenium==3.141.0
six==1.12.0
sqlalchemy-postgres... | flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.4.0
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.5.0
psycopg2-binary==2.7.7
redis==3.0.1
requests==2.21.0
rq==0.13.0
selenium==3.141.0
six==1.12.0
sqlalchemy-postgres-copy==0.5.0
sqlalchemy==1.2.16
tabulat... | <|file_sep|>original/constraints.txt
flask-crossdomain==0.1
flask-sockets==0.2.1
flask==1.0.2
future==0.17.1
gevent==1.4.0
greenlet==0.4.15
gunicorn==19.9.0
localconfig==1.1.1
pexpect==4.6.0
psutil==5.5.0
psycopg2-binary==2.7.6.1
redis==3.0.1
requests==2.21.0
rq==0.13.0
selenium==3.141.0
six==1.12.0
sqlalchemy-postgres... | aadfac3eb33a9f346008abfd2c2163effa8ee573 | constraints.txt | constraints.txt | Text |
<|file_sep|>lib/resources/Invoices.js.diff
original:
updated:
methodType: 'list',
<|file_sep|>original/lib/resources/Invoices.js
listLineItems: stripeMethod({
method: 'GET',
path: '{id}/lines',
}),
listUpcomingLineItems: stripeMethod({
method: 'GET',
path: 'upcoming/lines',
}),
markUnc... |
listLineItems: stripeMethod({
method: 'GET',
path: '{id}/lines',
methodType: 'list',
}),
listUpcomingLineItems: stripeMethod({
method: 'GET',
path: 'upcoming/lines',
methodType: 'list',
}),
markUncollectible: stripeMethod({
method: 'POST',
path: '{id}/mark_uncollectible',
... | <|file_sep|>lib/resources/Invoices.js.diff
original:
updated:
methodType: 'list',
<|file_sep|>original/lib/resources/Invoices.js
listLineItems: stripeMethod({
method: 'GET',
path: '{id}/lines',
}),
listUpcomingLineItems: stripeMethod({
method: 'GET',
path: 'upcoming/lines',
}),
markUnc... | 16e5e6f977a38b1d02044bea72046fbe4d3e8c95 | lib/resources/Invoices.js | lib/resources/Invoices.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.