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|>.travis.yml.diff original: updated: - npm install -g karma <|file_sep|>original/.travis.yml sudo: false dist: trusty language: node_js node_js: - "8" addons: apt: sources: - google-chrome packages: - google-chrome-stable before_install: - npm install npm@5 -g - npm cache verify - np...
language: node_js node_js: - "8" addons: apt: sources: - google-chrome packages: - google-chrome-stable before_install: - npm install npm@5 -g - npm install -g karma - npm cache verify - npm prune - npm update install: - npm install
<|file_sep|>.travis.yml.diff original: updated: - npm install -g karma <|file_sep|>original/.travis.yml sudo: false dist: trusty language: node_js node_js: - "8" addons: apt: sources: - google-chrome packages: - google-chrome-stable before_install: - npm install npm@5 -g - npm cache verify - np...
9697c52fd762490178904c250e50b140fc9dc2e1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/pengyifan/pubtator/io/PubTatorIO.java public static List<PubTatorDocument> readBioCFormat(Reader reader) throws XMLStreamException, IOException { return new BioCLoader().load(reader); } public static List<PubTatorDocument> readPubTatorFormat(Reader reader) t...
public static List<PubTatorDocument> readBioCFormat(Reader reader) throws XMLStreamException, IOException { return new BioCLoader().load(reader); } public static List<PubTatorDocument> readPubTatorFormat(Reader reader) throws IOException { return new PubTatorLoader().load(reader); } pub...
<|file_sep|>original/src/main/java/com/pengyifan/pubtator/io/PubTatorIO.java public static List<PubTatorDocument> readBioCFormat(Reader reader) throws XMLStreamException, IOException { return new BioCLoader().load(reader); } public static List<PubTatorDocument> readPubTatorFormat(Reader reader) t...
896e74978af8c837f166872fa9cfaf915c7852c5
src/main/java/com/pengyifan/pubtator/io/PubTatorIO.java
src/main/java/com/pengyifan/pubtator/io/PubTatorIO.java
Java
<|file_sep|>src/main/java/tw/kewang/hbase/UserDao.java.diff original: updated: import java.io.IOException; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.client.HConnection; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.Result; import org.apach...
import tw.kewang.hbase.dao.Constants; import tw.kewang.hbase.dao.HConnectionHolder; @Table(name = "User") public class UserDao { private static final Table TABLE = getTableAnnotation(); private static final Logger LOG = LoggerFactory.getLogger(UserDao.class); private static final HConnection CONNECTION = HConnectio...
<|file_sep|>src/main/java/tw/kewang/hbase/UserDao.java.diff original: updated: import java.io.IOException; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.client.HConnection; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.Result; import org.apach...
3da2841d5b403219b97d19d1911dad99d10049b5
src/main/java/tw/kewang/hbase/UserDao.java
src/main/java/tw/kewang/hbase/UserDao.java
Java
<|file_sep|>original/app/decorators/lib/spree_multi_domain/action_view/template_renderer_decorator.rb module SpreeMultiDomain module ActionView module TemplateRendererDecorator def find_layout(layout, *args) unless api_request? if @view.respond_to?(:current_store) && @view.current_store &&...
module SpreeMultiDomain module ActionView module TemplateRendererDecorator if Rails.gem_version >= Gem::Version.new('6.0.0') def render_template(view, template, layout_name, locals) @view = view super end end def find_layout(layout, *args) unless api_...
<|file_sep|>original/app/decorators/lib/spree_multi_domain/action_view/template_renderer_decorator.rb module SpreeMultiDomain module ActionView module TemplateRendererDecorator def find_layout(layout, *args) unless api_request? if @view.respond_to?(:current_store) && @view.current_store &&...
8bef9db772b0ff198313dd5a77f6fd9d9c78f373
app/decorators/lib/spree_multi_domain/action_view/template_renderer_decorator.rb
app/decorators/lib/spree_multi_domain/action_view/template_renderer_decorator.rb
Ruby
<|file_sep|>original/buck-tools/onos_oar.py from zipfile import ZipFile def generateOar(output, files=[]): # Note this is not a compressed zip with ZipFile(output, 'w') as zip: for file, mvnCoords in files: filename = file.split('/')[-1] if mvnCoords == 'NONE': d...
from zipfile import ZipFile def generateOar(output, files=[]): # Note this is not a compressed zip with ZipFile(output, 'w') as zip: for file, mvnCoords in files: filename = file.split('/')[-1] if mvnCoords == 'NONE': dest = filename else: ...
<|file_sep|>original/buck-tools/onos_oar.py from zipfile import ZipFile def generateOar(output, files=[]): # Note this is not a compressed zip with ZipFile(output, 'w') as zip: for file, mvnCoords in files: filename = file.split('/')[-1] if mvnCoords == 'NONE': d...
58915da451e59400d5f5a2a757c5af0919e87b61
buck-tools/onos_oar.py
buck-tools/onos_oar.py
Python
<|file_sep|>original/third_party/mlir/test/lib/IR/CMakeLists.txt add_llvm_library(MLIRTestIR TestFunc.cpp TestMatchers.cpp TestSymbolUses.cpp ADDITIONAL_HEADER_DIRS ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect) include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect) target_link_li...
add_llvm_library(MLIRTestIR TestFunc.cpp TestMatchers.cpp TestSymbolUses.cpp ADDITIONAL_HEADER_DIRS ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect) include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect) add_dependencies(MLIRTestIR MLIRTestDialect ) target_link_libraries(MLIRTestI...
<|file_sep|>original/third_party/mlir/test/lib/IR/CMakeLists.txt add_llvm_library(MLIRTestIR TestFunc.cpp TestMatchers.cpp TestSymbolUses.cpp ADDITIONAL_HEADER_DIRS ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect) include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect) target_link_li...
673e559bde6e775d2a08bc1b38d8bf2739b8ffe6
third_party/mlir/test/lib/IR/CMakeLists.txt
third_party/mlir/test/lib/IR/CMakeLists.txt
Text
<|file_sep|>spec/ailurus/client_spec.rb.diff original: client = Ailurus::Client.new({ updated: client = Ailurus::Client.new( <|file_sep|>original/spec/ailurus/client_spec.rb require "spec_helper" require "ailurus/client" describe Ailurus::Client do it "initializes properly" do client = Ailurus::Client.n...
require "spec_helper" require "ailurus/client" describe Ailurus::Client do it "initializes properly" do client = Ailurus::Client.new( :api_key => "api key", :domain => "domain name", :email => "email address" ) expect(client.api_key).to eq("api key") expect(client.domain).to eq("d...
<|file_sep|>spec/ailurus/client_spec.rb.diff original: client = Ailurus::Client.new({ updated: client = Ailurus::Client.new( <|file_sep|>original/spec/ailurus/client_spec.rb require "spec_helper" require "ailurus/client" describe Ailurus::Client do it "initializes properly" do client = Ailurus::Client.n...
ede26059503f125b00d06cd1cb91714fdb117124
spec/ailurus/client_spec.rb
spec/ailurus/client_spec.rb
Ruby
<|file_sep|>README.md.diff original: updated: [![Gem Version](https://fury-badge.herokuapp.com/rb/retentiongrid.png)](http://badge.fury.io/rb/retentiongrid) [![Build Status](https://travis-ci.org/christoph-buente/retentiongrid.png?branch=master)](https://travis-ci.org/christoph-buente/retentiongrid) [![Coverage Status...
[![Gem Version](https://fury-badge.herokuapp.com/rb/retentiongrid.png)](http://badge.fury.io/rb/retentiongrid) [![Build Status](https://travis-ci.org/christoph-buente/retentiongrid.png?branch=master)](https://travis-ci.org/christoph-buente/retentiongrid) [![Coverage Status](https://coveralls.io/repos/christoph-buente/...
<|file_sep|>README.md.diff original: updated: [![Gem Version](https://fury-badge.herokuapp.com/rb/retentiongrid.png)](http://badge.fury.io/rb/retentiongrid) [![Build Status](https://travis-ci.org/christoph-buente/retentiongrid.png?branch=master)](https://travis-ci.org/christoph-buente/retentiongrid) [![Coverage Status...
ea16649e4fdb0e6c9b7faec59012819bcb2c827a
README.md
README.md
Markdown
<|file_sep|>metadata.json.diff original: "dependencies": [ ], updated: "dependencies": [], <|file_sep|>original/metadata.json "8" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "14.04", "16.04", "18.04" ] } ], "requirements"...
}, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "14.04", "16.04", "18.04" ] } ], "requirements": [ { "name": "puppet", "version_requirement": ">= 5.5.8 < 7.0.0" } ], "tags": [ "voxpupuli", "boolean" ] }
<|file_sep|>metadata.json.diff original: "dependencies": [ ], updated: "dependencies": [], <|file_sep|>original/metadata.json "8" ] }, { "operatingsystem": "Ubuntu", "operatingsystemrelease": [ "14.04", "16.04", "18.04" ] } ], "requirements"...
13745102f6e1d19249407ef9ef73074ed9c36ef0
metadata.json
metadata.json
JSON
<|file_sep|>original/src/Structure.js for (var i = 0; i <= level; i++) { if (str == "") str += sectionNumbers[i]; else str += "."+sectionNumbers[i]; } var text = document.createTextNode(str+" "); var ...
for (var i = 0; i <= level; i++) { if (str == "") str += sectionNumbers[i]; else str += "."+sectionNumbers[i]; } var text = document.createTextNode(str+" "); var span = document.createElement("SPAN");...
<|file_sep|>original/src/Structure.js for (var i = 0; i <= level; i++) { if (str == "") str += sectionNumbers[i]; else str += "."+sectionNumbers[i]; } var text = document.createTextNode(str+" "); var ...
73ac09e4e263031c9535ef42c5a59c9d4605d6c0
src/Structure.js
src/Structure.js
JavaScript
<|file_sep|>original/settings.xml <sidewalk_champion><settings><screen_scale>1</screen_scale><show_box_display>True</show_box_display><player1_keys><heavy_kick>h</heavy_kick><medium_kick>g</medium_kick><light_kick>f</light_kick><up>w</up><back>a</back><down>s</down><start>left ctrl</start><heavy_punch>y</heavy_punch><m...
<sidewalk_champion><settings><screen_scale>2</screen_scale><show_box_display>True</show_box_display><player1_keys><heavy_kick>h</heavy_kick><medium_kick>g</medium_kick><light_kick>f</light_kick><up>w</up><back>a</back><down>s</down><start>left ctrl</start><heavy_punch>y</heavy_punch><medium_punch>t</medium_punch><light...
<|file_sep|>original/settings.xml <sidewalk_champion><settings><screen_scale>1</screen_scale><show_box_display>True</show_box_display><player1_keys><heavy_kick>h</heavy_kick><medium_kick>g</medium_kick><light_kick>f</light_kick><up>w</up><back>a</back><down>s</down><start>left ctrl</start><heavy_punch>y</heavy_punch><m...
a9d778eadb04ad6b4767977ca56a0bd8cd40fa98
settings.xml
settings.xml
XML
<|file_sep|>original/vendor/README.md <|file_sep|>current/vendor/README.md <|file_sep|>updated/vendor/README.md
# Managing Vendored Dependencies with `git submodule` These operations result in staged but uncommitted changes to your branch; you will need to commit them as normal. Execute them in the root of your checkout. ## Adding a New Dependency ~/weave$ git submodule add https://example.com/organisation/module vendor/...
<|file_sep|>original/vendor/README.md <|file_sep|>current/vendor/README.md <|file_sep|>updated/vendor/README.md # Managing Vendored Dependencies with `git submodule` These operations result in staged but uncommitted changes to your branch; you will need to commit them as normal. Execute them in the root of your che...
8a691814e29842723af763eca461ea73867662e1
vendor/README.md
vendor/README.md
Markdown
<|file_sep|>original/requirements.txt Django>=1.7,<1.8 django-browserid==0.11 django-recaptcha reportlab django_mobile bleach python-mimeparse pillow easy-thumbnails django_compressor icalendar django-bootstrap-breadcrumbs # REST API djangorestframework==2.3.13 django-filter django-tastypie django-cors-headers # Pyth...
django-browserid==0.11 django-recaptcha reportlab django_mobile bleach python-mimeparse pillow easy-thumbnails django_compressor icalendar django-bootstrap-breadcrumbs sphinx # REST API djangorestframework==2.3.13 django-filter django-tastypie django-cors-headers # Python3 compatibility six
<|file_sep|>original/requirements.txt Django>=1.7,<1.8 django-browserid==0.11 django-recaptcha reportlab django_mobile bleach python-mimeparse pillow easy-thumbnails django_compressor icalendar django-bootstrap-breadcrumbs # REST API djangorestframework==2.3.13 django-filter django-tastypie django-cors-headers # Pyth...
5fbbe1c1f70c3e72bce9d206fecfbf2b212d39c0
requirements.txt
requirements.txt
Text
<|file_sep|>original/turbulenz_local/config/defaultgames.yaml [../../apps/sampleapp, ../../samples, ../../apps/multiworm, ../../apps/inputapp] <|file_sep|>current/turbulenz_local/config/defaultgames.yaml [../../apps/sampleapp, ../../samples, ../../apps/multiworm, ../../apps/inputapp] <|file_sep|>updated/turbulenz_local...
[../../apps/sampleapp, ../../samples, ../../apps/multiworm, ../../apps/inputapp, ../../apps/viewer]
<|file_sep|>original/turbulenz_local/config/defaultgames.yaml [../../apps/sampleapp, ../../samples, ../../apps/multiworm, ../../apps/inputapp] <|file_sep|>current/turbulenz_local/config/defaultgames.yaml [../../apps/sampleapp, ../../samples, ../../apps/multiworm, ../../apps/inputapp] <|file_sep|>updated/turbulenz_local...
de89c57e5eb3bfa2b4fbc2af9950dcb50a3fd89a
turbulenz_local/config/defaultgames.yaml
turbulenz_local/config/defaultgames.yaml
YAML
<|file_sep|>contrib/ansible/roles/raspbian/tasks/main.yml.diff original: updated: - name: Test for Raspbian stat: path: /boot/cmdline.txt register: cmdline <|file_sep|>contrib/ansible/roles/raspbian/tasks/main.yml.diff original: when: ( ansible_facts.architecture is search "arm" ) updated: when: ( cmdline...
stat: path: /boot/cmdline.txt register: cmdline - name: Activating cgroup on Raspbian lineinfile: path: /boot/cmdline.txt regexp: '^(.*rootwait)$' line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory' backrefs: true when: ( cmdline.stat.path is defined ) and ...
<|file_sep|>contrib/ansible/roles/raspbian/tasks/main.yml.diff original: updated: - name: Test for Raspbian stat: path: /boot/cmdline.txt register: cmdline <|file_sep|>contrib/ansible/roles/raspbian/tasks/main.yml.diff original: when: ( ansible_facts.architecture is search "arm" ) updated: when: ( cmdline...
0642260b3448eeee5ec8be12d922c6875675c4a0
contrib/ansible/roles/raspbian/tasks/main.yml
contrib/ansible/roles/raspbian/tasks/main.yml
YAML
<|file_sep|>original/guides/api/endpoints.md <|file_sep|>current/guides/api/endpoints.md <|file_sep|>updated/guides/api/endpoints.md
# Endpoints <!-- TODO This article is a stub. Ideally, we can generate documentation for each endpoint and request from tests. Maintaining this sort of documentation by hand is a real chore. --> The Solidus API documentation is currently a work in progress. If you want to quickly check for an API endpoint, yo...
<|file_sep|>original/guides/api/endpoints.md <|file_sep|>current/guides/api/endpoints.md <|file_sep|>updated/guides/api/endpoints.md # Endpoints <!-- TODO This article is a stub. Ideally, we can generate documentation for each endpoint and request from tests. Maintaining this sort of documentation by hand is ...
ed3d85613ca610f195d18aeffedc27af994af03c
guides/api/endpoints.md
guides/api/endpoints.md
Markdown
<|file_sep|>original/.github/workflows/win.yml uses: actions/setup-java@v1 with: java-version: 1.8 - name: Pull config run: git submodule update --init --recursive # - name: Run tests with Gradle # run: gradlew.bat build - name: Set up Dart SDK run: c...
uses: actions/setup-java@v1 with: java-version: 1.8 - name: Pull config run: git submodule update --init --recursive # - name: Run tests with Gradle # run: gradlew.bat build - name: Set up Dart SDK run: choco install dart-sdk - name: Set up PAT...
<|file_sep|>original/.github/workflows/win.yml uses: actions/setup-java@v1 with: java-version: 1.8 - name: Pull config run: git submodule update --init --recursive # - name: Run tests with Gradle # run: gradlew.bat build - name: Set up Dart SDK run: c...
297b0c11e7ec3e199d3e9f4c618e4532c5c307f7
.github/workflows/win.yml
.github/workflows/win.yml
YAML
<|file_sep|>original/.travis.yml language: node_js os: - linux - osx node_js: - "8" - "9" addons: apt: sources: - ubuntu-toolchain-r-test packages: # uriparser - automake - autoconf - libtool - pkg-config scrip...
language: node_js os: - linux - osx node_js: - "8" - "10" - "12" addons: apt: sources: - ubuntu-toolchain-r-test packages: # uriparser - automake - autoconf - libtool - pkg-config script:
<|file_sep|>original/.travis.yml language: node_js os: - linux - osx node_js: - "8" - "9" addons: apt: sources: - ubuntu-toolchain-r-test packages: # uriparser - automake - autoconf - libtool - pkg-config scrip...
6177d177fbc31071df5f9f502f023a97019cf533
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "bin": { "unity3d--sync": "./bin/sync.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/rotorz/unity3d-package-syncer" }, "author": "Rotorz Limited", "license": "MIT", ...
"bin": { "unity3d--sync": "./bin/sync.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/rotorz/unity3d-package-syncer" }, "author": "Rotorz Limited", "license": "MIT", "keywords": [ "unity3d" ], ...
<|file_sep|>original/package.json "bin": { "unity3d--sync": "./bin/sync.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/rotorz/unity3d-package-syncer" }, "author": "Rotorz Limited", "license": "MIT", ...
651ba2be279bf0ae528af18f21c498533f70f9f2
package.json
package.json
JSON
<|file_sep|>original/sql/initcerts.pl use libtestbed; # # Untaint the path # $ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; $query_result = DBQueryFatal("select u.uid,s.encrypted from users as u ". "left join user_sslcerts as s on u.uid=s.uid ". "where u.status='...
use libtestbed; # # Untaint the path # $ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; $query_result = DBQueryFatal("select u.uid,s.encrypted from users as u ". "left join user_sslcerts as s on u.uid=s.uid ". "where u.status='active' and u.webonly=0 and ". "s.e...
<|file_sep|>original/sql/initcerts.pl use libtestbed; # # Untaint the path # $ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; $query_result = DBQueryFatal("select u.uid,s.encrypted from users as u ". "left join user_sslcerts as s on u.uid=s.uid ". "where u.status='...
f08cecc18a1a1e0cb949719ae4c95728f927de73
sql/initcerts.pl
sql/initcerts.pl
Perl
<|file_sep|>original/examples/hapticsquare/hapticbutton.cpp setMinimumSize(100, 100); } void HapticButton::mousePressEvent(QMouseEvent *) { if (m_checkable) { m_checked = !m_checked; emit toggled(m_checked); } else { emit clicked(); } } void HapticButton::paintEvent(QPaintEvent...
setMinimumSize(100, 100); } void HapticButton::mousePressEvent(QMouseEvent *) { if (m_checkable) { m_checked = !m_checked; emit toggled(m_checked); } else { emit clicked(); } } void HapticButton::paintEvent(QPaintEvent *) { QPainter paint(this); QRect r(1, 1, width()-2...
<|file_sep|>original/examples/hapticsquare/hapticbutton.cpp setMinimumSize(100, 100); } void HapticButton::mousePressEvent(QMouseEvent *) { if (m_checkable) { m_checked = !m_checked; emit toggled(m_checked); } else { emit clicked(); } } void HapticButton::paintEvent(QPaintEvent...
f45431518ca6f315eb4948260b9e94e87fc8e53c
examples/hapticsquare/hapticbutton.cpp
examples/hapticsquare/hapticbutton.cpp
C++
<|file_sep|>original/script/prep-travis-release.sh mkdir -p build BASENAME="rack" SUFFIX="" if [ -z "$TRAVIS_BRANCH" ]; then BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') SUFFIX="-${BRANCH}" else if [ -z "$TRAVIS_PULL_REQUEST" ]; then SUFFIX="-$TRAVIS_BRANCH" # No branch name for master ...
mkdir -p build BASENAME="rack" SUFFIX="" if [ -z "$TRAVIS_BRANCH" ]; then BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') SUFFIX="-${BRANCH}" else if [ -z "$TRAVIS_PULL_REQUEST" ] || [ "$TRAVIS_PULL_REQUEST" == "false" ]; then SUFFIX="-$TRAVIS_BRANCH" # No branch name for master if [ "m...
<|file_sep|>original/script/prep-travis-release.sh mkdir -p build BASENAME="rack" SUFFIX="" if [ -z "$TRAVIS_BRANCH" ]; then BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') SUFFIX="-${BRANCH}" else if [ -z "$TRAVIS_PULL_REQUEST" ]; then SUFFIX="-$TRAVIS_BRANCH" # No branch name for master ...
5b4bc02ba7839cd3280221a79be67afbf67b6ebe
script/prep-travis-release.sh
script/prep-travis-release.sh
Shell
<|file_sep|>original/requirements.txt argcomplete==1.8.1 base58==0.2.4 botocore==1.5.5 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.1...
argcomplete==1.8.1 base58==0.2.4 botocore==1.5.6 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.11.2 troposphere>=1.9.0 Werkzeug==0.11....
<|file_sep|>original/requirements.txt argcomplete==1.8.1 base58==0.2.4 botocore==1.5.5 boto3==1.4.4 docutils>=0.12 durationpy==0.3 futures==3.0.5 hjson==2.0.2 jmespath==0.9.0 kappa==0.6.0 lambda-packages==0.12.0 python-dateutil==2.6.0 python-slugify==1.2.1 PyYAML==3.12 requests>=2.10.0 six==1.10.0 toml==0.9.2 tqdm==4.1...
40b525f5f3f6b4808d56d30d75d6d706b25a356a
requirements.txt
requirements.txt
Text
<|file_sep|>index.php.diff original: updated: define('_BIN_', _APP_ . 'bin/'); <|file_sep|>original/index.php define('_ROOT_', ''); define('_APP_', _ROOT_ . 'Parvula/'); define('_DATA_', _ROOT_ . 'data/'); define('_STATIC_', _ROOT_ . 'static/'); define('_VENDOR_', _ROOT_ . 'vend...
define('_APP_', _ROOT_ . 'Parvula/'); define('_DATA_', _ROOT_ . 'data/'); define('_STATIC_', _ROOT_ . 'static/'); define('_VENDOR_', _ROOT_ . 'vendor/'); // Data define('_PAGES_', _DATA_ . 'pages/'); define('_CONFIG_', _DATA_ . 'config/'); define('_USERS_', _DATA_ . 'users/');...
<|file_sep|>index.php.diff original: updated: define('_BIN_', _APP_ . 'bin/'); <|file_sep|>original/index.php define('_ROOT_', ''); define('_APP_', _ROOT_ . 'Parvula/'); define('_DATA_', _ROOT_ . 'data/'); define('_STATIC_', _ROOT_ . 'static/'); define('_VENDOR_', _ROOT_ . 'vend...
6165a80b2358845c803532337b803fef527f3e42
index.php
index.php
PHP
<|file_sep|>original/requirements-dev.txt Sphinx==5.2.3 sphinx-autobuild==2021.3.14 sphinx-rtd-theme==1.0.0 sphinxcontrib-asyncio==0.3.0 <|file_sep|>current/requirements-dev.txt Sphinx==5.2.3 sphinx-autobuild==2021.3.14 sphinx-rtd-theme==1.0.0 sphinxcontrib-asyncio==0.3.0 <|file_sep|>updated/requirements-dev.txt
Sphinx==5.3.0 sphinx-autobuild==2021.3.14 sphinx-rtd-theme==1.0.0 sphinxcontrib-asyncio==0.3.0
<|file_sep|>original/requirements-dev.txt Sphinx==5.2.3 sphinx-autobuild==2021.3.14 sphinx-rtd-theme==1.0.0 sphinxcontrib-asyncio==0.3.0 <|file_sep|>current/requirements-dev.txt Sphinx==5.2.3 sphinx-autobuild==2021.3.14 sphinx-rtd-theme==1.0.0 sphinxcontrib-asyncio==0.3.0 <|file_sep|>updated/requirements-dev.txt Sphinx...
5fb9a10745045cbcb7e297aa46697af5fc9ca7c8
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java.diff original: updated: import org.junit.Ignore; <|file_sep|>original/oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java import com.cloudera.oryx.common.OryxTest; public final class R...
import com.cloudera.oryx.common.OryxTest; public final class RandomManagerRandomTest extends OryxTest { @Override @Before public void initRandom() { // specifically don't init random } // Not clear why this only fails on JenkinsDisable @Ignore @Test public void testRandomState() { RandomGener...
<|file_sep|>oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java.diff original: updated: import org.junit.Ignore; <|file_sep|>original/oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java import com.cloudera.oryx.common.OryxTest; public final class R...
1bdc92116a8b1b21bf2742247e1121d1ffa02524
oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java
oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java
Java
<|file_sep|>original/src/index.js import { Future, isFuture, reject, of, never, isNever } from './core'; import * as dispatchers from './dispatchers/index'; import {after} from './after'; import {both} from './both'; import {cache} from './cache'; import {chainRec} from './chain-rec'; import {encase, enca...
import { Future, isFuture, reject, of, never, isNever } from './core'; import * as dispatchers from './dispatchers/index.js'; import {after} from './after'; import {both} from './both'; import {cache} from './cache'; import {chainRec} from './chain-rec'; import {encase, encase2, encase3, attempt} from './...
<|file_sep|>original/src/index.js import { Future, isFuture, reject, of, never, isNever } from './core'; import * as dispatchers from './dispatchers/index'; import {after} from './after'; import {both} from './both'; import {cache} from './cache'; import {chainRec} from './chain-rec'; import {encase, enca...
7a7b4314c454c75c8551e1c1df590c8c4531797b
src/index.js
src/index.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - CMD=server/apptest.py $GAE_SDK updated: - if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then CMD=server/apptest.py $GAE_SDK; fi - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then CMD=nosetests; fi <|file_sep|>.travis.yml.diff or...
python: - "2.7" - "3.3" install: - if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install -r server_requirements.txt; fi - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install -r client_requirements.txt; fi script: - if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then FLASK_CONF=TEST python $CMD; fi ...
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - CMD=server/apptest.py $GAE_SDK updated: - if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then CMD=server/apptest.py $GAE_SDK; fi - if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then CMD=nosetests; fi <|file_sep|>.travis.yml.diff or...
71711f281f86b30a5589c5ffc0784ca37ad7d7ff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/submission_filters/results.html.erb <%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted" } %> <%= render 'result_table', { submissions: submissions_waitlist, table_title: "waitlist" } %> <aside class="aside-widget aside-widget-fixed aside-widget-dashboa...
<%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted" } %> <%= render 'result_table', { submissions: submissions_waitlist, table_title: "waitlist" } %> <aside class="aside-widget aside-widget-fixed aside-widget-dashboard"> <h2 class="aside-widget-header">Download:</h2> <ul class="...
<|file_sep|>original/app/views/submission_filters/results.html.erb <%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted" } %> <%= render 'result_table', { submissions: submissions_waitlist, table_title: "waitlist" } %> <aside class="aside-widget aside-widget-fixed aside-widget-dashboa...
6d2c688825fcfb028a7bd4e3188a0b9299503634
app/views/submission_filters/results.html.erb
app/views/submission_filters/results.html.erb
HTML+ERB
<|file_sep|>tests/sliver_leak/test_description.json.diff original: 40 updated: 30 <|file_sep|>original/tests/sliver_leak/test_description.json }, { "testType": "ZERO_COUNTS", "dataFile": "vm.diff.dat" }, { "testType": "C...
}, { "testType": "ZERO_COUNTS", "dataFile": "vm.diff.dat" }, { "testType": "COUNT_MINMAX", "dataFile": "vm.sliver.dat", "haveHeader": false, "minTime": 0.00049, "maxTime": 0.0005, "countMinimu...
<|file_sep|>tests/sliver_leak/test_description.json.diff original: 40 updated: 30 <|file_sep|>original/tests/sliver_leak/test_description.json }, { "testType": "ZERO_COUNTS", "dataFile": "vm.diff.dat" }, { "testType": "C...
9a454b68914cae5826e45acf1be76b89af950a29
tests/sliver_leak/test_description.json
tests/sliver_leak/test_description.json
JSON
<|file_sep|>original/cookbooks/chef/templates/default/client.rb.erb # Set the URL for the chef server chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" # Make our plugins visible to ohai ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>" # Load supporting code for report handlers req...
# Set the URL for the chef server chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" # Make our plugins visible to ohai ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>" # Load supporting code for report handlers require "/etc/chef/report" # Create report handler email_handler = Ch...
<|file_sep|>original/cookbooks/chef/templates/default/client.rb.erb # Set the URL for the chef server chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap" # Make our plugins visible to ohai ohai.plugin_path << "<%= node[:ohai][:plugin_dir] %>" # Load supporting code for report handlers req...
ac83022b37221af78f5ac2b9f9052e5a7791ee90
cookbooks/chef/templates/default/client.rb.erb
cookbooks/chef/templates/default/client.rb.erb
HTML+ERB
<|file_sep|>components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java.diff original: exchange.getMessage().setHeader("Status", "Done"); updated: exchange.getOut().setHeader("Status", "Done"); <|file_sep|>original/components/camel-spring-integration/...
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License....
<|file_sep|>components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java.diff original: exchange.getMessage().setHeader("Status", "Done"); updated: exchange.getOut().setHeader("Status", "Done"); <|file_sep|>original/components/camel-spring-integration/...
6c9cfbe648f862719d449f3187d279b8f409b7bb
components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java
components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java
Java
<|file_sep|>lib/stack_master/parameter_resolver.rb.diff original: updated: @resolvers = {} <|file_sep|>lib/stack_master/parameter_resolver.rb.diff original: parameters[key] = resolve_value(value) updated: parameters[key] = resolve_parameter_value(value) <|file_sep|>lib/stack_master/parameter_reso...
def resolve_parameter_value(parameter_value) return parameter_value if String === parameter_value || parameter_value.nil? raise InvalidParameter, parameter_value unless Hash === parameter_value raise InvalidParameter, parameter_value unless parameter_value.keys.size == 1 resolver_class_name...
<|file_sep|>lib/stack_master/parameter_resolver.rb.diff original: updated: @resolvers = {} <|file_sep|>lib/stack_master/parameter_resolver.rb.diff original: parameters[key] = resolve_value(value) updated: parameters[key] = resolve_parameter_value(value) <|file_sep|>lib/stack_master/parameter_reso...
27c80eb2bad0961c2ed83724028d55ec77a1ce30
lib/stack_master/parameter_resolver.rb
lib/stack_master/parameter_resolver.rb
Ruby
<|file_sep|>original/lib/sinatra-active-model-serializers/json.rb module JSON def initialize files_required super end def json(object, options={}) options = options.merge(settings.active_model_serializers) serializer = ActiveModel::Serializer.serializer_for(object, options) ...
module JSON def initialize files_required super end def json(object, options={}) options = options.merge(settings.active_model_serializers) begin options[:root] = if options[:root].is_a?(Boolean) && options[:root] == false false elsif obje...
<|file_sep|>original/lib/sinatra-active-model-serializers/json.rb module JSON def initialize files_required super end def json(object, options={}) options = options.merge(settings.active_model_serializers) serializer = ActiveModel::Serializer.serializer_for(object, options) ...
dec4c4d2ef089b3e65a24d826098703cc9a90dab
lib/sinatra-active-model-serializers/json.rb
lib/sinatra-active-model-serializers/json.rb
Ruby
<|file_sep|>original/package.json "scripts": { "test": "mocha --reporter spec --timeout 5000", "start": "node app.js" }, "author": "Flicker Studio", "repository": { "type": "git", "url": "https://github.com/flickerstudio/flicker.js.git" }, "license": "MIT", "dependencies": { "body-pars...
"scripts": { "test": "mocha --reporter spec --timeout 5000", "start": "node app.js" }, "author": "Flicker Studio", "repository": { "type": "git", "url": "https://github.com/flickerstudio/flicker.js.git" }, "license": "MIT", "engines":{ "node": ">=6.0.0" }, "dependencies": { "bo...
<|file_sep|>original/package.json "scripts": { "test": "mocha --reporter spec --timeout 5000", "start": "node app.js" }, "author": "Flicker Studio", "repository": { "type": "git", "url": "https://github.com/flickerstudio/flicker.js.git" }, "license": "MIT", "dependencies": { "body-pars...
6d11699fd5094fc59e0dca60c817929452c00f85
package.json
package.json
JSON
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md Thank you for your contribution to the eXist-db codebase! We will review your changes and pull them in when the project agrees with them and if the project benefits from it, content and quality wise. To be able to judge the Pull Request (PR) please be sure the foll...
Thank you for your contribution to the eXist-db codebase! We will review your changes and pull them in when the project agrees with them and if the project benefits from it, content and quality wise. To be able to judge the Pull Request (PR) please be sure the following is present - A (short) description of the conte...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md Thank you for your contribution to the eXist-db codebase! We will review your changes and pull them in when the project agrees with them and if the project benefits from it, content and quality wise. To be able to judge the Pull Request (PR) please be sure the foll...
1549e146728342a81ae4339261c95864ee5d96e3
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/modlib.c uint16_t MODBUSSwapEndian( uint16_t Data ) { //Change big-endian to little-endian and vice versa unsigned char Swap; //Create 2 bytes long union union Conversion { uint16_t Data; unsigned char Bytes[2]; } Conversion; //Swap bytes Conversion.Data...
} Conversion; //Swap bytes Conversion.Data = Data; Swap = Conversion.Bytes[0]; Conversion.Bytes[0] = Conversion.Bytes[1]; Conversion.Bytes[1] = Swap; return Conversion.Data; } uint16_t CRC16( uint16_t *Data, uint16_t Length ) { //Calculate CRC16 checksum using given data and length uint16...
<|file_sep|>original/modlib.c uint16_t MODBUSSwapEndian( uint16_t Data ) { //Change big-endian to little-endian and vice versa unsigned char Swap; //Create 2 bytes long union union Conversion { uint16_t Data; unsigned char Bytes[2]; } Conversion; //Swap bytes Conversion.Data...
1ab12bed7f1c38c280876197408bd32e289ac41f
modlib.c
modlib.c
C
<|file_sep|>coach_assist.gemspec.diff original: spec.add_development_dependency "rspec" updated: spec.add_development_dependency "rspec", "~> 3.3" <|file_sep|>original/coach_assist.gemspec spec.authors = ["Urs Gerber"] spec.email = ["ug.gerber@gmail.com"] spec.summary = %q{Ruby gem to int...
spec.authors = ["Urs Gerber"] spec.email = ["ug.gerber@gmail.com"] spec.summary = %q{Ruby gem to interface with the UniFR Cybercoach REST server} #spec.description = %q{Write a longer description or delete this line.} spec.homepage = "https://github.com/moose-secret-agents/coach_as...
<|file_sep|>coach_assist.gemspec.diff original: spec.add_development_dependency "rspec" updated: spec.add_development_dependency "rspec", "~> 3.3" <|file_sep|>original/coach_assist.gemspec spec.authors = ["Urs Gerber"] spec.email = ["ug.gerber@gmail.com"] spec.summary = %q{Ruby gem to int...
116b27b84ca737bb3bbec0ee4b4efc9edcedf111
coach_assist.gemspec
coach_assist.gemspec
Ruby
<|file_sep|>original/src/js/chat.js conf.ruleGroupName = conf.msg; } that.load = function() { loadChatGZ(conf.ruleGroupName, conf.element.id, conf.style||"block", conf.template||"1",conf.environment||"3"); } ui.get({ method: "component", name: "chat", script: "...
conf.ruleGroupName = conf.msg; } that.load = function() { loadChatGZ(conf.ruleGroupName, conf.element.id, conf.style||"block", conf.template||"1",conf.environment||"3"); } ui.get({ method: "component", name: "chat", script: "https://www."+getDomain(conf.environ...
<|file_sep|>original/src/js/chat.js conf.ruleGroupName = conf.msg; } that.load = function() { loadChatGZ(conf.ruleGroupName, conf.element.id, conf.style||"block", conf.template||"1",conf.environment||"3"); } ui.get({ method: "component", name: "chat", script: "...
ea0293471dcee31b21b9b3ae5b91276ba95e6aed
src/js/chat.js
src/js/chat.js
JavaScript
<|file_sep|>original/gen/gen_search_init.sh #!/bin/sh SEARCHDIR=${1-$(pwd)}; echo "function search {" > $SEARCHDIR/init_search; echo " OUTPUT=\$($SEARCHDIR/searcher \$@);" >> $SEARCHDIR/init_search; echo " if [ -n \"\$OUTPUT\" ]; then" >> $SEARCHDIR/init_search; echo " cd \${OUTPUT};"...
#!/bin/sh SEARCHDIR=${1-$(pwd)}; echo "function search {" > $SEARCHDIR/init_search; # Don't prefix searcher with pwd when installing to /usr/local/bin if [ "$SEARCHDIR" = "/usr/local/bin" ]; then echo " OUTPUT=\$(searcher \$@);" >> $SEARCHDIR/init_search; else echo " OUTPUT=\$(...
<|file_sep|>original/gen/gen_search_init.sh #!/bin/sh SEARCHDIR=${1-$(pwd)}; echo "function search {" > $SEARCHDIR/init_search; echo " OUTPUT=\$($SEARCHDIR/searcher \$@);" >> $SEARCHDIR/init_search; echo " if [ -n \"\$OUTPUT\" ]; then" >> $SEARCHDIR/init_search; echo " cd \${OUTPUT};"...
9ef04987f157a40cf388cde9a6dd803bbb494b3b
gen/gen_search_init.sh
gen/gen_search_init.sh
Shell
<|file_sep|>original/android/src/main/java/com/meedan/ShareMenuPackage.java public ShareMenuPackage() { super(); } @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { List<NativeModule> modules = new ArrayList<>(); modules.add(new ShareMenuModule(reactCon...
import com.meedan.ShareMenuModule; public class ShareMenuPackage implements ReactPackage { public ShareMenuPackage() { super(); } @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { List<NativeModule> modules = new ArrayList<>(); modules.add(new ShareM...
<|file_sep|>original/android/src/main/java/com/meedan/ShareMenuPackage.java public ShareMenuPackage() { super(); } @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { List<NativeModule> modules = new ArrayList<>(); modules.add(new ShareMenuModule(reactCon...
b55b26157ab13ec4195956a301b500237f76e80f
android/src/main/java/com/meedan/ShareMenuPackage.java
android/src/main/java/com/meedan/ShareMenuPackage.java
Java
<|file_sep|>original/.github/workflows/rubocop.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install required package run: | sudo rm -f /etc/apt/sources.list.d/dot...
runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install required package run: | sudo apt-get update sudo apt-get install libmysqlclient-dev libpq-dev libsqlite3-...
<|file_sep|>original/.github/workflows/rubocop.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install required package run: | sudo rm -f /etc/apt/sources.list.d/dot...
2dc287696532918e7c102ace1104e100b671292f
.github/workflows/rubocop.yml
.github/workflows/rubocop.yml
YAML
<|file_sep|>bower.json.diff original: "bootstrap-sass-official": "~3.2.0+2", updated: "bootstrap-sass-official": "~3.3", <|file_sep|>original/bower.json "homepage": "https://github.com/blindernuka/billett", "authors": [ "Henrik Steen <henrist@henrist.net>" ], "private": true, "dependencies": { ...
"private": true, "dependencies": { "angular": "~1.3", "bootstrap-sass-official": "~3.3", "angular-route": "~1.3", "angular-animate": "~1.3", "moment": "~2.8.3", "angular-resource": "~1.3.3", "angular-file-upload": "~1.1.5", "angular-marked": "~0.0.12", "ngtoast": "~1.2.0", "a...
<|file_sep|>bower.json.diff original: "bootstrap-sass-official": "~3.2.0+2", updated: "bootstrap-sass-official": "~3.3", <|file_sep|>original/bower.json "homepage": "https://github.com/blindernuka/billett", "authors": [ "Henrik Steen <henrist@henrist.net>" ], "private": true, "dependencies": { ...
43e57d53cf613695a6008fe66559d1c57c98beca
bower.json
bower.json
JSON
<|file_sep|>roles/openshift_node/tasks/storage_plugins/main.yml.diff original: when: not openshift.common.is_containerized | bool updated: <|file_sep|>roles/openshift_node/tasks/storage_plugins/main.yml.diff original: when: "'glusterfs' in openshift.node.storage_plugin_deps and not openshift.common.is_containerize...
--- # The NFS storage plugin is always enabled since it doesn't require any # additional package dependencies - name: NFS storage plugin configuration include: nfs.yml - name: GlusterFS storage plugin configuration include: glusterfs.yml when: "'glusterfs' in openshift.node.storage_plugin_deps" - name: Ceph sto...
<|file_sep|>roles/openshift_node/tasks/storage_plugins/main.yml.diff original: when: not openshift.common.is_containerized | bool updated: <|file_sep|>roles/openshift_node/tasks/storage_plugins/main.yml.diff original: when: "'glusterfs' in openshift.node.storage_plugin_deps and not openshift.common.is_containerize...
5b0543bda842f022289cae88a02498fa90d6a9a1
roles/openshift_node/tasks/storage_plugins/main.yml
roles/openshift_node/tasks/storage_plugins/main.yml
YAML
<|file_sep|>app/controllers/ember_tests_controller.rb.diff original: test_html.gsub(%r{assets/}i, "assets/#{app_name}/") updated: test_html.gsub(%r{assets/}i, "#{asset_prefix}/#{app_name}/") <|file_sep|>original/app/controllers/ember_tests_controller.rb def test_html_with_corrected_asset_urls test_html.g...
def test_html tests_index_path.read end def tests_index_path app.tests_path.join("index.html") end def app EmberCLI.get_app(app_name) end def app_name params.fetch(:app_name) end def asset_prefix Rails.configuration.assets.prefix end end
<|file_sep|>app/controllers/ember_tests_controller.rb.diff original: test_html.gsub(%r{assets/}i, "assets/#{app_name}/") updated: test_html.gsub(%r{assets/}i, "#{asset_prefix}/#{app_name}/") <|file_sep|>original/app/controllers/ember_tests_controller.rb def test_html_with_corrected_asset_urls test_html.g...
39eaca8fdc1b5a7cebab4e14495aa42af073daa1
app/controllers/ember_tests_controller.rb
app/controllers/ember_tests_controller.rb
Ruby
<|file_sep|>original/bower.json { "name": "jasq", "main": "jasq.js", "version": "0.1.0", "homepage": "https://github.com/biril/jasq", "authors": [ "biril <alexlambiris@gmail.com>" ], "description": "AMD dependency injector integrated with Jasmine", "keywords": [ "jasmine", "requirejs", "...
{ "name": "jasq", "main": "jasq.js", "version": "0.1.1", "homepage": "https://github.com/biril/jasq", "authors": [ "biril <alexlambiris@gmail.com>" ], "description": "AMD dependency injector integrated with Jasmine", "keywords": [ "jasmine", "requirejs", "dependency", "mock", "te...
<|file_sep|>original/bower.json { "name": "jasq", "main": "jasq.js", "version": "0.1.0", "homepage": "https://github.com/biril/jasq", "authors": [ "biril <alexlambiris@gmail.com>" ], "description": "AMD dependency injector integrated with Jasmine", "keywords": [ "jasmine", "requirejs", "...
a75d417baf398d273379c455142ffa991778cea0
bower.json
bower.json
JSON
<|file_sep|>original/tests/test_cookiecutter_substitution.py def test_all_cookiecutter_instances_are_substituted(self): # Build a list containing absolute paths to the generated files paths = self.generate_project() # Construct the cookiecutter search pattern pattern = "{{(\s?cookie...
def test_all_cookiecutter_instances_are_substituted(self): # Build a list containing absolute paths to the generated files paths = self.generate_project() # Construct the cookiecutter search pattern pattern = "{{(\s?cookiecutter)[.](.*?)}}" re_obj = re.compile(pattern) ...
<|file_sep|>original/tests/test_cookiecutter_substitution.py def test_all_cookiecutter_instances_are_substituted(self): # Build a list containing absolute paths to the generated files paths = self.generate_project() # Construct the cookiecutter search pattern pattern = "{{(\s?cookie...
b0011541a21927c4f9ee378b77b11fd4b0dfbcff
tests/test_cookiecutter_substitution.py
tests/test_cookiecutter_substitution.py
Python
<|file_sep|>original/webpack.config.js path: __dirname, filename: '[name]' }, module: { loaders: [ { test: /\.html$/, loader: 'html' }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') }, ] }, plugins: [ ne...
path: __dirname, filename: '[name]' }, module: { loaders: [ { test: /\.html$/, loader: 'html' }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') }, ] }, plugins: [ new ExtractTextPlugin('[name]'), ], ...
<|file_sep|>original/webpack.config.js path: __dirname, filename: '[name]' }, module: { loaders: [ { test: /\.html$/, loader: 'html' }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') }, ] }, plugins: [ ne...
00d07f1f24af00950908b79e8670697d3b8f3a17
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/two_factor/auth_backends.py from django.contrib.auth.backends import ModelBackend from django.utils.timezone import now from oath import accept_totp class TokenBackend(ModelBackend): def authenticate(self, user, token): accepted, drift = accept_totp(key=user.token.seed, response=token...
from django.contrib.auth.backends import ModelBackend from django.utils.timezone import now from oath import accept_totp class TokenBackend(ModelBackend): def authenticate(self, user, token): accepted, drift = accept_totp(key=user.token.seed, response=token) return user if accepted else None cla...
<|file_sep|>original/two_factor/auth_backends.py from django.contrib.auth.backends import ModelBackend from django.utils.timezone import now from oath import accept_totp class TokenBackend(ModelBackend): def authenticate(self, user, token): accepted, drift = accept_totp(key=user.token.seed, response=token...
67daf4140c17ce28b0ab45ddd2366968082de739
two_factor/auth_backends.py
two_factor/auth_backends.py
Python
<|file_sep|>original/metadata/de.dotwee.micropinner.txt Description: Lightweight dialog-only application, which lets you pin text to your statusbar. You can also customize the pins priority and visibility (Android 5.+ only). Might send crash reports. . Repo Type:git Repo:https://github.com/dotWee/MicroPinner Build:v...
Description: Lightweight dialog-only application, which lets you pin text to your statusbar. You can also customize the pins priority and visibility (Android 5.+ only). Might send crash reports. . Repo Type:git Repo:https://github.com/dotWee/MicroPinner Build:v1.5.1,16 commit=release-v1.5.1 subdir=app gr...
<|file_sep|>original/metadata/de.dotwee.micropinner.txt Description: Lightweight dialog-only application, which lets you pin text to your statusbar. You can also customize the pins priority and visibility (Android 5.+ only). Might send crash reports. . Repo Type:git Repo:https://github.com/dotWee/MicroPinner Build:v...
81ec3134368272a404dab6e7d1a1f31643c554c7
metadata/de.dotwee.micropinner.txt
metadata/de.dotwee.micropinner.txt
Text
<|file_sep|>original/app/overrides/add_shipment_comment_button.rb Deface::Override.new(:virtual_path => "admin/shipments/edit", :name => "converted_admin_shipment_edit_buttons_233418828", :insert_after => "[data-hook='admin_shipment_edit_buttons'], #admin_shipment_edit_buttons[...
Deface::Override.new(:virtual_path => "spree/admin/shipments/edit", :name => "converted_admin_shipment_edit_buttons_233418828", :insert_after => "[data-hook='admin_shipment_edit_buttons'], #admin_shipment_edit_buttons[data-hook]", :partial => "spree/admin/s...
<|file_sep|>original/app/overrides/add_shipment_comment_button.rb Deface::Override.new(:virtual_path => "admin/shipments/edit", :name => "converted_admin_shipment_edit_buttons_233418828", :insert_after => "[data-hook='admin_shipment_edit_buttons'], #admin_shipment_edit_buttons[...
4b6e6208b1100f6b14df1f2cc3b655b3dcaf7b4d
app/overrides/add_shipment_comment_button.rb
app/overrides/add_shipment_comment_button.rb
Ruby
<|file_sep|>original/TRANSLATORS.md * Jay2k1 * kloun (Victor Kukshiev) * leon-th (Leon T.) * LiteHell * lorenzosu * MikkelDK * natinaum (natinaum) * PauloHeaven (Paul) * psychon * rockytvbr (Alexandre Oliveira) * simos (filippo.cortigiani) * sukien * SunOS * tojestzart (tojestzart) * Un1matr1x (Falk Seidel) * unavailab...
* Jay2k1 * kloun (Victor Kukshiev) * leon-th (Leon T.) * LiteHell * lorenzosu * MikkelDK * natinaum (natinaum) * PauloHeaven (Paul) * psychon * rockytvbr (Alexandre Oliveira) * shillos5 (Nicholas Kyriakides) * simos (filippo.cortigiani) * sukien * SunOS * tojestzart (tojestzart) * Un1matr1x (Falk Seidel) * unavailable ...
<|file_sep|>original/TRANSLATORS.md * Jay2k1 * kloun (Victor Kukshiev) * leon-th (Leon T.) * LiteHell * lorenzosu * MikkelDK * natinaum (natinaum) * PauloHeaven (Paul) * psychon * rockytvbr (Alexandre Oliveira) * simos (filippo.cortigiani) * sukien * SunOS * tojestzart (tojestzart) * Un1matr1x (Falk Seidel) * unavailab...
a646fadf673bb47b9faa71cad20849d4e1b1c9aa
TRANSLATORS.md
TRANSLATORS.md
Markdown
<|file_sep|>lib/podio/models/item_field.rb.diff original: updated: silent = values[:silent] ? '?silent=1' : '' values.delete(:silent) if values && values[:silent] <|file_sep|>original/lib/podio/models/item_field.rb property :values, :array property :config, :hash alias_method :id, :field_id class...
property :config, :hash alias_method :id, :field_id class << self # https://developers.podio.com/doc/items/update-item-field-values-22367 def update(item_id, field_id, values) silent = values[:silent] ? '?silent=1' : '' values.delete(:silent) if values && values[:silent] response = Pod...
<|file_sep|>lib/podio/models/item_field.rb.diff original: updated: silent = values[:silent] ? '?silent=1' : '' values.delete(:silent) if values && values[:silent] <|file_sep|>original/lib/podio/models/item_field.rb property :values, :array property :config, :hash alias_method :id, :field_id class...
0f974973c4b55a3c818d67b88e8306cdea5210f2
lib/podio/models/item_field.rb
lib/podio/models/item_field.rb
Ruby
<|file_sep|>original/blog/config.toml title = "Writing an OS in Rust" base_url = "https://os.phil-opp.com" highlight_code = true highlight_theme = "monokai" generate_rss = true [extra] subtitle = "Philipp Oppermann's blog" author = { name = "Philipp Oppermann" } <|file_sep|>current/blog/config.toml title = "Writing a...
title = "Writing an OS in Rust" base_url = "https://os.phil-opp.com" highlight_code = true highlight_theme = "visual-studio-dark" generate_rss = true [extra] subtitle = "Philipp Oppermann's blog" author = { name = "Philipp Oppermann" }
<|file_sep|>original/blog/config.toml title = "Writing an OS in Rust" base_url = "https://os.phil-opp.com" highlight_code = true highlight_theme = "monokai" generate_rss = true [extra] subtitle = "Philipp Oppermann's blog" author = { name = "Philipp Oppermann" } <|file_sep|>current/blog/config.toml title = "Writing a...
a860ca76b555c34a161e5e49e042df108f7d053f
blog/config.toml
blog/config.toml
TOML
<|file_sep|>zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs.diff original: private readonly ITraceInjector<HttpHeaders> _injector; updated: private readonly ZipkinHttpTraceInjector _injector; <|file_sep|>original/zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/Traci...
using System.Threading.Tasks; using Criteo.Profiling.Tracing.Transport; namespace Criteo.Profiling.Tracing.Middleware { public class TracingHandler : DelegatingHandler { private readonly ZipkinHttpTraceInjector _injector; private readonly string _serviceName; public TracingHandler(stri...
<|file_sep|>zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs.diff original: private readonly ITraceInjector<HttpHeaders> _injector; updated: private readonly ZipkinHttpTraceInjector _injector; <|file_sep|>original/zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/Traci...
4eec1afd07eebedab12c19d2b4f038e1739d0923
zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs
zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingHandler.cs
C#
<|file_sep|>.travis.yml.diff original: - "$TRAVIS_BUILD_DIR/build/release/bin/testcpphtm" updated: - "make tests_htm" <|file_sep|>original/.travis.yml irc: channels: - "irc.freenode.net#nupic-hackers" webhooks: http://issues.numenta.org:8081/travis before_install: - if [ "$CC" = "gcc" ]; then expor...
irc: channels: - "irc.freenode.net#nupic-hackers" webhooks: http://issues.numenta.org:8081/travis before_install: - if [ "$CC" = "gcc" ]; then export CXX=g++; fi - if [ "$CC" = "clang" ]; then export CXX=clang++; fi install: - "mkdir -p $TRAVIS_BUILD_DIR/build/scripts" - "cd $TRAVIS_BUILD_DIR/bu...
<|file_sep|>.travis.yml.diff original: - "$TRAVIS_BUILD_DIR/build/release/bin/testcpphtm" updated: - "make tests_htm" <|file_sep|>original/.travis.yml irc: channels: - "irc.freenode.net#nupic-hackers" webhooks: http://issues.numenta.org:8081/travis before_install: - if [ "$CC" = "gcc" ]; then expor...
ad1362ed6f6f7b94b584d4d199a457bc61dd8bee
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/acceptance/one_spec.rb.diff original: # Run it twice and test for idempotency updated: <|file_sep|>spec/acceptance/one_spec.rb.diff original: expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero updated: apply_manifest(pp, :catch_changes => true) <|file_sep|>spec/...
pp = <<-EOS class { 'one': } EOS apply_manifest(pp, :catch_failures => true) apply_manifest(pp, :catch_changes => true) end end describe 'with oned => true' do it 'should idempotently run' do pp = <<-EOS class { 'one': oned => true, } EO...
<|file_sep|>spec/acceptance/one_spec.rb.diff original: # Run it twice and test for idempotency updated: <|file_sep|>spec/acceptance/one_spec.rb.diff original: expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero updated: apply_manifest(pp, :catch_changes => true) <|file_sep|>spec/...
30f4b685e94f73ee437a24c4b1e6e72f207ef41f
spec/acceptance/one_spec.rb
spec/acceptance/one_spec.rb
Ruby
<|file_sep|>original/mygpoauth/authorization/admin.py from django.contrib import admin from .models import Authorization @admin.register(Authorization) class ApplicationAdmin(admin.ModelAdmin): pass <|file_sep|>current/mygpoauth/authorization/admin.py from django.contrib import admin from .models import Authoriza...
from django.contrib import admin from .models import Authorization @admin.register(Authorization) class ApplicationAdmin(admin.ModelAdmin): def scope_list(self, app): return ', '.join(app.scopes) list_display = ['user', 'application', 'scope_list'] list_select_related = ['user', 'application'] ...
<|file_sep|>original/mygpoauth/authorization/admin.py from django.contrib import admin from .models import Authorization @admin.register(Authorization) class ApplicationAdmin(admin.ModelAdmin): pass <|file_sep|>current/mygpoauth/authorization/admin.py from django.contrib import admin from .models import Authoriza...
9b968e8cf4c5fd8e4bd120255b8eb3c7bc4e6943
mygpoauth/authorization/admin.py
mygpoauth/authorization/admin.py
Python
<|file_sep|>original/templates/default/vim-source_tmux_config.bash source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh <|file_sep|>current/templates/default/vim-source_tmux_config.bash source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh <|file_sep|>updated/templates/default/vim-source_tmux_con...
TMUX_CONFIG=~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh if [ -f $TMUX_CONFIG ] then source $TMUX_CONFIG fi
<|file_sep|>original/templates/default/vim-source_tmux_config.bash source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh <|file_sep|>current/templates/default/vim-source_tmux_config.bash source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh <|file_sep|>updated/templates/default/vim-source_tmux_con...
4bb6678a74345746e9d97bec0ad980d3215e29b2
templates/default/vim-source_tmux_config.bash
templates/default/vim-source_tmux_config.bash
Shell
<|file_sep|>original/README.rst .. _strftime: http://docs.python.org/2/library/time.html#time.strftime .. _`time.Format`: http://golang.org/pkg/time/#Time.Format Installing ========== :: go get bitbucket.org/tebeka/strtime Example ======= :: str, err := strftime.Format("%Y/%m/%d", time.Now()) Contact ...
.. _strftime: http://docs.python.org/2/library/time.html#time.strftime .. _`time.Format`: http://golang.org/pkg/time/#Time.Format Installing ========== :: go get bitbucket.org/tebeka/strftime Example ======= :: str, err := strftime.Format("%Y/%m/%d", time.Now()) Contact =======
<|file_sep|>original/README.rst .. _strftime: http://docs.python.org/2/library/time.html#time.strftime .. _`time.Format`: http://golang.org/pkg/time/#Time.Format Installing ========== :: go get bitbucket.org/tebeka/strtime Example ======= :: str, err := strftime.Format("%Y/%m/%d", time.Now()) Contact ...
3f9c7761e3124a331848c11a2f168afd8b105d9f
README.rst
README.rst
reStructuredText
<|file_sep|>original/model/src/test/scala/com/softwaremill/clippy/StringDiffTest.scala import com.softwaremill.clippy.StringDiff.{DeltaEnd, DeltaStart} import org.scalatest.{FlatSpec, Matchers} class StringDiffTest extends FlatSpec with Matchers { val testData = List( ("Super[String, String]", "Super[Option[Str...
import com.softwaremill.clippy.StringDiff.{DeltaEnd, DeltaStart} import org.scalatest.{FlatSpec, Matchers} class StringDiffTest extends FlatSpec with Matchers { val testData = List( ("Super[String, String]", "Super[Option[String], String]", "expected Super[" + DeltaStart + "String" + DeltaEnd + ", String] but w...
<|file_sep|>original/model/src/test/scala/com/softwaremill/clippy/StringDiffTest.scala import com.softwaremill.clippy.StringDiff.{DeltaEnd, DeltaStart} import org.scalatest.{FlatSpec, Matchers} class StringDiffTest extends FlatSpec with Matchers { val testData = List( ("Super[String, String]", "Super[Option[Str...
66d9e91dd67bb28ce7895d440243e6df37c6ca27
model/src/test/scala/com/softwaremill/clippy/StringDiffTest.scala
model/src/test/scala/com/softwaremill/clippy/StringDiffTest.scala
Scala
<|file_sep|>test/digest.html.diff original: log('== Digest =='); test(true, !!this.Digest, 'Digest is defined'); test('string', Digest.Version, 'Digest.Version'); space(); updated: (function () { log('== Digest =='); test(true, !!this.Digest, 'Digest is defined'); test('string', Digest.Version, 'Digest.Version...
<script type="text/javascript"> var timer = new Date().getTime(); (function () { log('== Digest =='); test(true, !!this.Digest, 'Digest is defined'); test('string', Digest.Version, 'Digest.Version'); space(); document.title = 'jsDigest ' + Digest.Version; }()); log('== Timer =='); timed(new Date()...
<|file_sep|>test/digest.html.diff original: log('== Digest =='); test(true, !!this.Digest, 'Digest is defined'); test('string', Digest.Version, 'Digest.Version'); space(); updated: (function () { log('== Digest =='); test(true, !!this.Digest, 'Digest is defined'); test('string', Digest.Version, 'Digest.Version...
662fb1f2915dca8179ef968ea55c15f54186ec6c
test/digest.html
test/digest.html
HTML
<|file_sep|>original/zuul/site-variables.yaml # This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nod...
# This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nodepool.region + "." + nodepool.cloud in [ "DFW....
<|file_sep|>original/zuul/site-variables.yaml # This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nod...
e629eb4d2b2627be585593ee32b254f22ff616e9
zuul/site-variables.yaml
zuul/site-variables.yaml
YAML
<|file_sep|>original/entity_history/migrations/0003_update_triggers.py <|file_sep|>current/entity_history/migrations/0003_update_triggers.py <|file_sep|>updated/entity_history/migrations/0003_update_triggers.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from entity_history.sql.triggers import EntityActivationTrigger, EntityRelationshipActivationTrigger def refresh_entity_activation_trigger(*args, **kwargs): EntityActivationTrigger().disable() EntityActiv...
<|file_sep|>original/entity_history/migrations/0003_update_triggers.py <|file_sep|>current/entity_history/migrations/0003_update_triggers.py <|file_sep|>updated/entity_history/migrations/0003_update_triggers.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations f...
138bb2b3e1188463d88edb176e26c1c2f633207d
entity_history/migrations/0003_update_triggers.py
entity_history/migrations/0003_update_triggers.py
Python
<|file_sep|>original/README.md # my-personal-blog This repository is basically the repository of [my own personal blog](http://ricardovsilva.herokkuapp.com). I spend one night to learn how to use [Jekyll](http://jekylrb.com) (recomended by [Jhonny Moreira](https://github.com/jhonnymoreira)). And, more and more I'm lovi...
# my-personal-blog This repository is basically the repository of [my own personal blog](http://ricardovsilva.herokkuapp.com). I spend one night to learn how to use [Jekyll](http://jekylrb.com) (recomended by [Jhonny Moreira](https://github.com/jhonnymoreira)). And, more and more I'm loving Ruby. ## What am I using? -...
<|file_sep|>original/README.md # my-personal-blog This repository is basically the repository of [my own personal blog](http://ricardovsilva.herokkuapp.com). I spend one night to learn how to use [Jekyll](http://jekylrb.com) (recomended by [Jhonny Moreira](https://github.com/jhonnymoreira)). And, more and more I'm lovi...
3409e9964e226a05e38132ba441dff3b5f1dd128
README.md
README.md
Markdown
<|file_sep|>original/requirements/base.txt # Forms django-braces==1.11.0 django-crispy-forms==1.6.1 # Models django-model-utils==3.0.0 django-atom==0.12.7 # Images Pillow==4.1.0 # Python-MySQL Database Adapter mysqlclient==1.3.10 # Unicode slugification awesome-slugify==1.6.5 # Time zones support <|file_sep|>cu...
# Forms django-braces==1.11.0 django-crispy-forms==1.6.1 # Models django-model-utils==3.0.0 django-atom==0.13.0 # Images Pillow==4.1.0 # Python-MySQL Database Adapter mysqlclient==1.3.10 # Unicode slugification awesome-slugify==1.6.5 # Time zones support
<|file_sep|>original/requirements/base.txt # Forms django-braces==1.11.0 django-crispy-forms==1.6.1 # Models django-model-utils==3.0.0 django-atom==0.12.7 # Images Pillow==4.1.0 # Python-MySQL Database Adapter mysqlclient==1.3.10 # Unicode slugification awesome-slugify==1.6.5 # Time zones support <|file_sep|>cu...
842d1462d0bfbc89f2a9da60088de3a07322fbac
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee.diff original: width: 600, updated: width: 700, <|file_sep|>original/src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee { name: 'submits', } ], legend: enabled: false xAxis:...
name: 'submits', } ], legend: enabled: false xAxis: labels: enabled: false yAxis: title: text: null min: 0 minRange: 10 requestEventSummary() $(document).on 'event-summary-updated', (event) -> if event.eventSummary.name == "tab-view" ...
<|file_sep|>src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee.diff original: width: 600, updated: width: 700, <|file_sep|>original/src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee { name: 'submits', } ], legend: enabled: false xAxis:...
549a18fc5203dd0e707c3adcdb332fc19a237c16
src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee
src/main/webapp/coffeescripts-hidden/weeks-performance-graph.coffee
CoffeeScript
<|file_sep|>original/lib/finite_machine/undefined_transition.rb end def cancelled? false end def silent? false end def execute(*args) raise UndefinedError, "No transition for: #{name}" end def ==(other) other.is_a?(UndefinedTransition) && name == other.name ...
end def cancelled? false end def silent? false end def same?(_) false end def current? false end def execute(*args) raise UndefinedError, "No transition for: #{name}" end
<|file_sep|>original/lib/finite_machine/undefined_transition.rb end def cancelled? false end def silent? false end def execute(*args) raise UndefinedError, "No transition for: #{name}" end def ==(other) other.is_a?(UndefinedTransition) && name == other.name ...
afcca1e0281113bb4bf1034346d109a94483e2c2
lib/finite_machine/undefined_transition.rb
lib/finite_machine/undefined_transition.rb
Ruby
<|file_sep|>original/CHANGELOG.md # 0.1.0 () ## Features * [#1](https://github.com/clin-player/plugin-manager/issues/1) Implement installation plugin <|file_sep|>current/CHANGELOG.md # 0.1.0 () ## Features * [#1](https://github.com/clin-player/plugin-manager/issues/1) Implement installation plugin <|file_sep|>updated...
# 0.1.0 (10.07.2016) ## Features * [#1](https://github.com/clin-player/plugin-manager/issues/1) Implement installation plugin
<|file_sep|>original/CHANGELOG.md # 0.1.0 () ## Features * [#1](https://github.com/clin-player/plugin-manager/issues/1) Implement installation plugin <|file_sep|>current/CHANGELOG.md # 0.1.0 () ## Features * [#1](https://github.com/clin-player/plugin-manager/issues/1) Implement installation plugin <|file_sep|>updated...
8113c98fa8eda6437bbb462208b7d596cd139ba8
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/test_files_by_user.py <|file_sep|>current/test_files_by_user.py <|file_sep|>updated/test_files_by_user.py
import random from dmp import dmp users = ["adam", "ben", "chris", "denis", "eric"] da = dmp() for u in users: results = da.get_files_by_user(u) print u, len(results)
<|file_sep|>original/test_files_by_user.py <|file_sep|>current/test_files_by_user.py <|file_sep|>updated/test_files_by_user.py import random from dmp import dmp users = ["adam", "ben", "chris", "denis", "eric"] da = dmp() for u in users: results = da.get_files_by_user(u) print u, len(results)
1a5806d2a69553d9116836cbc8819ac60756e462
test_files_by_user.py
test_files_by_user.py
Python
<|file_sep|>app/scripts/components/views/teacher-dashboard-view.jsx.diff original: import {ButtonLink} from 'react-router-bootstrap'; updated: import {ListGroupItemLink} from 'react-router-bootstrap'; <|file_sep|>original/app/scripts/components/views/teacher-dashboard-view.jsx return ( <div classNam...
render: function() { return ( <div className="hero-unit"> <PageHeader> Hi, <strong>Neel</strong>! </PageHeader> <ListGroup> <ListGroupItemLink to="class-dashboard" ...
<|file_sep|>app/scripts/components/views/teacher-dashboard-view.jsx.diff original: import {ButtonLink} from 'react-router-bootstrap'; updated: import {ListGroupItemLink} from 'react-router-bootstrap'; <|file_sep|>original/app/scripts/components/views/teacher-dashboard-view.jsx return ( <div classNam...
f8c9fece931f3a9a0be96a318a45aea16da23be1
app/scripts/components/views/teacher-dashboard-view.jsx
app/scripts/components/views/teacher-dashboard-view.jsx
JSX
<|file_sep|>original/unicode_math.gemspec # encoding: utf-8 Gem::Specification.new do |gem| gem.name = 'unicode_math' gem.version = '1.0.0' gem.author = 'Collective Idea' gem.email = 'info@collectiveidea.com' gem.description = %(Fun Ruby extensions for doing math with Unicode) gem.summary ...
# encoding: utf-8 Gem::Specification.new do |gem| gem.name = 'unicode_math' gem.version = '1.0.0' gem.author = 'Collective Idea' gem.email = 'info@collectiveidea.com' gem.description = %(Fun Ruby extensions for doing math with Unicode) gem.summary = gem.description gem.homepage = 'h...
<|file_sep|>original/unicode_math.gemspec # encoding: utf-8 Gem::Specification.new do |gem| gem.name = 'unicode_math' gem.version = '1.0.0' gem.author = 'Collective Idea' gem.email = 'info@collectiveidea.com' gem.description = %(Fun Ruby extensions for doing math with Unicode) gem.summary ...
6e119d6c92c1a76dd28a0234cc2876fd9cf431a2
unicode_math.gemspec
unicode_math.gemspec
Ruby
<|file_sep|>original/auditlog/__manifest__.py 'name': "Audit Log", 'version': "9.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", 'license': "AGPL-3", 'website': "http://www.osiell.com", 'category': "Tools", 'depends': [ 'base', ], 'data': [ 'securit...
{ 'name': "Audit Log", 'version': "9.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", 'license': "AGPL-3", 'website': "http://www.osiell.com", 'category': "Tools", 'depends': [ 'base', ], 'data': [ 'security/ir.model.access.csv', 'data/ir_cro...
<|file_sep|>original/auditlog/__manifest__.py 'name': "Audit Log", 'version': "9.0.1.0.0", 'author': "ABF OSIELL,Odoo Community Association (OCA)", 'license': "AGPL-3", 'website': "http://www.osiell.com", 'category': "Tools", 'depends': [ 'base', ], 'data': [ 'securit...
23d3bd38fc9ee94a4f9a9e829473007354a534ed
auditlog/__manifest__.py
auditlog/__manifest__.py
Python
<|file_sep|>original/duell_library.xml <?xml version="1.0" encoding="utf-8"?> <library> <duelllib name="types" version="2.0.0+" /> <haxelib name="msignal" /> <include path="backends/opengl_cpp/duell_library.xml" if="cpp" /> <include path="backends/opengl_html5/duell_library.xml" if="html5" /> <in...
<?xml version="1.0" encoding="utf-8"?> <library> <duelllib name="types" version="2.0.0+" /> <haxelib name="msignal" version="1.2.2" /> <include path="backends/opengl_cpp/duell_library.xml" if="cpp" /> <include path="backends/opengl_html5/duell_library.xml" if="html5" /> <include path="backends/op...
<|file_sep|>original/duell_library.xml <?xml version="1.0" encoding="utf-8"?> <library> <duelllib name="types" version="2.0.0+" /> <haxelib name="msignal" /> <include path="backends/opengl_cpp/duell_library.xml" if="cpp" /> <include path="backends/opengl_html5/duell_library.xml" if="html5" /> <in...
3ae24aaa65441316f17b39b19ac7c97a354d955e
duell_library.xml
duell_library.xml
XML
<|file_sep|>original/appveyor.yml configuration: Release platform: Any CPU assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' environment: COVERALLS_REPO_TOKEN: secure: 8FT9CQo21ngsgKlN3/RrjV4t...
configuration: Release platform: Any CPU assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' environment: COVERALLS_REPO_TOKEN: secure: cBbjHgg5rQjFgwAjjQGUFwhESw5oEljRFzESN+/xmH8vKXg3AzfVlexOpi...
<|file_sep|>original/appveyor.yml configuration: Release platform: Any CPU assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' environment: COVERALLS_REPO_TOKEN: secure: 8FT9CQo21ngsgKlN3/RrjV4t...
e1550d229ea08442799596b48d6c9d773ba08a94
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/index.html --- layout: default --- <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> <a href="{{ post.url }}"> {{ post.title }} </a> </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ pos...
--- layout: default --- <div class="posts"> {% for post in paginator.posts %} <div class="post"> {% if post.image %} <div class="img-crop"> <img src="{{ site.baseurl }}/assets/{{ post.image }}"> </div> {% endif %} <h1 class="post-title"> <a href="{{ post.url }}"> ...
<|file_sep|>original/index.html --- layout: default --- <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> <a href="{{ post.url }}"> {{ post.title }} </a> </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ pos...
049f5807e53ab4c3e97ba471693388560c9c60a8
index.html
index.html
HTML
<|file_sep|>original/README.rst Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so o...
Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so on. Optionally, Streamz can also...
<|file_sep|>original/README.rst Streamz ======= |Build Status| |Doc Status| |Version Status| Streamz helps you build pipelines to manage continuous streams of data. It is simple to use in simple cases, but also supports complex pipelines that involve branching, joining, flow control, feedback, back pressure, and so o...
04f7eab4def656768dc811fac9e5fe40728f6f9b
README.rst
README.rst
reStructuredText
<|file_sep|>original/setup.py # publish on pypi # --------------- # $ python3 setup.py sdist # $ twine upload dist/imagecluster-x.y.z.tar.gz import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as fd: long_description = fd.read()...
# publish on pypi # --------------- # $ python3 setup.py sdist # $ twine upload dist/imagecluster-x.y.z.tar.gz import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fd: long_description = fd.read() setup( ...
<|file_sep|>original/setup.py # publish on pypi # --------------- # $ python3 setup.py sdist # $ twine upload dist/imagecluster-x.y.z.tar.gz import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as fd: long_description = fd.read()...
bed95f0c0da7bc81eaf35aab24865bc35f01513b
setup.py
setup.py
Python
<|file_sep|>original/src/rules/fr-FR/html.js * The ruleset for HTML improvement on french typography * * It includes rules for: * * - Wrapping ends of common abbreviation in a `<sup>` tag so that `Mmes` * becomes `M<sup>mes</sup>` * - Wrapping ordinal number suffix in a `<sup>` tag * * Finally, the following...
* The ruleset for HTML improvement on french typography * * It includes rules for: * * - Wrapping ends of common abbreviation in a `<sup>` tag so that `Mmes` * becomes `M<sup>mes</sup>` * - Wrapping ordinal number suffix in a `<sup>` tag * * Finally, the following rulesets are also included: * * - {@link s...
<|file_sep|>original/src/rules/fr-FR/html.js * The ruleset for HTML improvement on french typography * * It includes rules for: * * - Wrapping ends of common abbreviation in a `<sup>` tag so that `Mmes` * becomes `M<sup>mes</sup>` * - Wrapping ordinal number suffix in a `<sup>` tag * * Finally, the following...
cdf1c5ba3d8ef36fb4fd9a3dba0b6555596ada28
src/rules/fr-FR/html.js
src/rules/fr-FR/html.js
JavaScript
<|file_sep|>.github/workflows/cclib_pytest.yml.diff original: default: updated: defaults: <|file_sep|>original/.github/workflows/cclib_pytest.yml image: ${{ matrix.container }} default: run: shell: bash -l {0} steps: - name: Checkout uses: actions/checkout@v2 - na...
image: ${{ matrix.container }} defaults: run: shell: bash -l {0} steps: - name: Checkout uses: actions/checkout@v2 - name: Install core dependencies run: | which python which conda conda info -a - name: Install cclib run...
<|file_sep|>.github/workflows/cclib_pytest.yml.diff original: default: updated: defaults: <|file_sep|>original/.github/workflows/cclib_pytest.yml image: ${{ matrix.container }} default: run: shell: bash -l {0} steps: - name: Checkout uses: actions/checkout@v2 - na...
95efdaccee1a73104da6a7a7f51a0ecc8ad505e0
.github/workflows/cclib_pytest.yml
.github/workflows/cclib_pytest.yml
YAML
<|file_sep|>Kwc/Articles/Directory/View/Partial.tpl.diff original: <div class="item"> updated: <article class="item"> <|file_sep|>original/Kwc/Articles/Directory/View/Partial.tpl <div class="item"> <div class="previewImage"> <?=$this->componentLink($this->item, $this->component($this->item->getChildComponen...
<article class="item"> <div class="previewImage"> <?=$this->componentLink($this->item, $this->component($this->item->getChildComponent('-previewImage')))?> </div> <div class="previewCenter"> <div class="date"><?=$this->date($this->item->date)?>:</div> <h3><?=$this->componentLink($thi...
<|file_sep|>Kwc/Articles/Directory/View/Partial.tpl.diff original: <div class="item"> updated: <article class="item"> <|file_sep|>original/Kwc/Articles/Directory/View/Partial.tpl <div class="item"> <div class="previewImage"> <?=$this->componentLink($this->item, $this->component($this->item->getChildComponen...
14d94dce33c1e2f6ecac2d28b46af9c22ccc0bea
Kwc/Articles/Directory/View/Partial.tpl
Kwc/Articles/Directory/View/Partial.tpl
Smarty
<|file_sep|>job-records/automation/faxbox_process_daily_log.sh.diff original: faxbox_logs="/faxbox/group/logs/jobs" updated: faxbox_logs="/mnt/logs/jobs" <|file_sep|>original/job-records/automation/faxbox_process_daily_log.sh #!/bin/bash yesterday=`date --date="3 days ago" +"%Y%m%d"` year=`date --date="3 days ago" +"%Y...
#!/bin/bash yesterday=`date --date="3 days ago" +"%Y%m%d"` year=`date --date="3 days ago" +"%Y"` faxbox_logs="/mnt/logs/jobs" curr_dir=`pwd` cd $1 ./generate_process_submit.py --startdate $yesterday --enddate $yesterday --location /tmp/faxbox_logs --data_source amazon cd /tmp/faxbox_logs submit_file=`ls *.submit` sed '...
<|file_sep|>job-records/automation/faxbox_process_daily_log.sh.diff original: faxbox_logs="/faxbox/group/logs/jobs" updated: faxbox_logs="/mnt/logs/jobs" <|file_sep|>original/job-records/automation/faxbox_process_daily_log.sh #!/bin/bash yesterday=`date --date="3 days ago" +"%Y%m%d"` year=`date --date="3 days ago" +"%Y...
da66c231765b2c9fc03b54579f33a4a63aee15b4
job-records/automation/faxbox_process_daily_log.sh
job-records/automation/faxbox_process_daily_log.sh
Shell
<|file_sep|>original/.travis.yml language: go go: - 1.7 install: - go get golang.org/x/net/icmp - go get golang.org/x/net/ipv4 <|file_sep|>current/.travis.yml language: go go: - 1.7 install: - go get golang.org/x/net/icmp - go get golang.org/x/net/ipv4 <|file_sep|>updated/.travis.yml
language: go go: - 1.7 install: - go get golang.org/x/net/icmp - go get golang.org/x/net/ipv4 sudo: required
<|file_sep|>original/.travis.yml language: go go: - 1.7 install: - go get golang.org/x/net/icmp - go get golang.org/x/net/ipv4 <|file_sep|>current/.travis.yml language: go go: - 1.7 install: - go get golang.org/x/net/icmp - go get golang.org/x/net/ipv4 <|file_sep|>updated/.travis.yml language: go g...
78c14248994ba668ceb0ff91002776f5a64d151c
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/autoparts/packages/nodejs.rb.diff original: version '0.10.33' updated: version '0.10.35' <|file_sep|>original/lib/autoparts/packages/nodejs.rb # This software is licensed under the [BSD 2-Clause license](https://raw.github.com/nitrous-io/autoparts/master/LICENSE). module Autoparts module ...
# This software is licensed under the [BSD 2-Clause license](https://raw.github.com/nitrous-io/autoparts/master/LICENSE). module Autoparts module Packages class Nodejs < Package name 'nodejs' version '0.10.35' description "Node.JS: A platform built on Chrome's JavaScript runtime for easily buil...
<|file_sep|>lib/autoparts/packages/nodejs.rb.diff original: version '0.10.33' updated: version '0.10.35' <|file_sep|>original/lib/autoparts/packages/nodejs.rb # This software is licensed under the [BSD 2-Clause license](https://raw.github.com/nitrous-io/autoparts/master/LICENSE). module Autoparts module ...
27f2045c62ad6ca10a0ca3dcf675a314c5e9c7e5
lib/autoparts/packages/nodejs.rb
lib/autoparts/packages/nodejs.rb
Ruby
<|file_sep|>services/_start.sh.diff original: updated: mkdir -p /opt/candy-red <|file_sep|>original/services/_start.sh #!/usr/bin/env bash logger -s "Activating Bluetooth..." RET=`which rfkill` RET=$? if [ "${RET}" == "0" ]; then rfkill unblock bluetooth fi HCIDEVICE="${HCIDEVICE:-hci0}" RET=`which hciconfig` RET...
#!/usr/bin/env bash logger -s "Activating Bluetooth..." RET=`which rfkill` RET=$? if [ "${RET}" == "0" ]; then rfkill unblock bluetooth fi HCIDEVICE="${HCIDEVICE:-hci0}" RET=`which hciconfig` RET=$? if [ "${RET}" == "0" ]; then hciconfig ${HCIDEVICE} up fi mkdir -p /opt/candy-red logger -s "Starting %SERVICE_NA...
<|file_sep|>services/_start.sh.diff original: updated: mkdir -p /opt/candy-red <|file_sep|>original/services/_start.sh #!/usr/bin/env bash logger -s "Activating Bluetooth..." RET=`which rfkill` RET=$? if [ "${RET}" == "0" ]; then rfkill unblock bluetooth fi HCIDEVICE="${HCIDEVICE:-hci0}" RET=`which hciconfig` RET...
06fedef5a67197a6b9342b1a2eb12fe52178cbd3
services/_start.sh
services/_start.sh
Shell
<|file_sep|>original/.travis.yml sudo: false cache: bundler language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.0 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "sleep 5" script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml sudo: false cache: bundler la...
sudo: false cache: bundler language: ruby rvm: - 2.2.8 - 2.3.5 - 2.4.2 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "sleep 5" script: - bundle exec rspec - bundle exec rubocop
<|file_sep|>original/.travis.yml sudo: false cache: bundler language: ruby rvm: - 2.2.6 - 2.3.3 - 2.4.0 before_install: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - "sleep 5" script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml sudo: false cache: bundler la...
6038f6f712a960ba5887325620a64441f9115403
.travis.yml
.travis.yml
YAML
<|file_sep|>original/xibo/embedded/localStoargeTest.html <|file_sep|>current/xibo/embedded/localStoargeTest.html <|file_sep|>updated/xibo/embedded/localStoargeTest.html
<!-- HTML to Embed --> <h1 id="main" style="font-size: 72px; "></h1> <!-- /HTML to Embed --> <!-- Custom Style Sheets --> <style type="text/css"> </style> <!-- /Custom Style Sheets --> <!-- HEAD content to Embed (including script tags) --> <script type="text/javascript"> function EmbedInit() { // Init will be c...
<|file_sep|>original/xibo/embedded/localStoargeTest.html <|file_sep|>current/xibo/embedded/localStoargeTest.html <|file_sep|>updated/xibo/embedded/localStoargeTest.html <!-- HTML to Embed --> <h1 id="main" style="font-size: 72px; "></h1> <!-- /HTML to Embed --> <!-- Custom Style Sheets --> <style type="text/css"> ...
9265a98dd3030d268b6bc3e0ced639dd47997340
xibo/embedded/localStoargeTest.html
xibo/embedded/localStoargeTest.html
HTML
<|file_sep|>original/.codeclimate.yml engines: duplication: enabled: true config: languages: - python fixme: enabled: true radon: enabled: true ratings: paths: - "**.py" exclude_paths: - tests/ - flask_swag/resources/ - docs/ <|file_sep|>current/.codeclimate.yml engines: du...
engines: duplication: enabled: true config: languages: - python fixme: enabled: true radon: enabled: true ratings: paths: - "**.py" exclude_paths: - tests/ - flask_swag/resources/ - docs/ - README.rst - tox.ini - MANIFEST.in - LICENSE.txt
<|file_sep|>original/.codeclimate.yml engines: duplication: enabled: true config: languages: - python fixme: enabled: true radon: enabled: true ratings: paths: - "**.py" exclude_paths: - tests/ - flask_swag/resources/ - docs/ <|file_sep|>current/.codeclimate.yml engines: du...
9ce08bfde2a46354430bc11d0ce0af4fb3025ca5
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/game.rb def declare_result if villagers_alive.empty? puts "Wolves Win!" else puts "Villagers Win" end end def night_mode @villagers.sample.kill! end def day_mode (@villagers + @wolves).sample.kill! end def villagers_alive @villagers.select(&:ali...
def declare_result if villagers_alive.empty? puts "Wolves Win!" else puts "Villagers Win" end end def night_mode @villagers.select(&:alive?).sample.kill! end def day_mode (@villagers + @wolves).sample.kill! end def villagers_alive @villagers.select(&:alive?) end
<|file_sep|>original/game.rb def declare_result if villagers_alive.empty? puts "Wolves Win!" else puts "Villagers Win" end end def night_mode @villagers.sample.kill! end def day_mode (@villagers + @wolves).sample.kill! end def villagers_alive @villagers.select(&:ali...
41331b6a4a4d0876e1de82ec36cd3763efcf0b71
game.rb
game.rb
Ruby
<|file_sep|>original/src/cpp/src/IMPL/LCIOExceptionHandler.cc std::cout << " A runtime error has occured : " << e.what() << std::endl << " the program will have to be terminated - sorry." << std::endl ; exit(1) ; } } LCIOExceptionHandler::LCIOExceptionHandler(){ std::set_u...
std::cout << " A runtime error has occured : " << e.what() << std::endl << " the program will have to be terminated - sorry." << std::endl ; exit(1) ; } } LCIOExceptionHandler::LCIOExceptionHandler(){} LCIOExceptionHandler* LCIOExceptionHandler::createInstance(){ if...
<|file_sep|>original/src/cpp/src/IMPL/LCIOExceptionHandler.cc std::cout << " A runtime error has occured : " << e.what() << std::endl << " the program will have to be terminated - sorry." << std::endl ; exit(1) ; } } LCIOExceptionHandler::LCIOExceptionHandler(){ std::set_u...
74513e16bb22e07866d13a173224ad802cbb4733
src/cpp/src/IMPL/LCIOExceptionHandler.cc
src/cpp/src/IMPL/LCIOExceptionHandler.cc
C++
<|file_sep|>original/app/views/general/_locale_switcher.rhtml <% if FastGettext.default_available_locales.length > 1 %> <div id="user_locale_switcher"> <% for possible_locale in FastGettext.default_available_locales %> <% if possible_locale == I18n.locale.to_s %> <span class="active"...
<% if FastGettext.default_available_locales.length > 1 %> <div id="user_locale_switcher"> <% for possible_locale in FastGettext.default_available_locales %> <% if possible_locale == I18n.locale.to_s %> <span class="active"><%= locale_name(possible_locale) %></span> <% else %>...
<|file_sep|>original/app/views/general/_locale_switcher.rhtml <% if FastGettext.default_available_locales.length > 1 %> <div id="user_locale_switcher"> <% for possible_locale in FastGettext.default_available_locales %> <% if possible_locale == I18n.locale.to_s %> <span class="active"...
b86941269b638c61bf90adbd8ef6a7c724242a1c
app/views/general/_locale_switcher.rhtml
app/views/general/_locale_switcher.rhtml
RHTML
<|file_sep|>original/composer.json ], "autoload" : { "psr-4" : { "Orpheus\\" : "src" }, "files" : [ "src/_loader.php" ] }, "require" : { "orpheus/orpheus-core" : "dev-master", "orpheus/orpheus-hook" : "dev-master" }, "type" : "library", "license" : "MIT", "authors" : [{ "name" : "Florent HA...
], "autoload" : { "psr-4" : { "Orpheus\\" : "src" }, "files" : [ "src/_loader.php" ] }, "require" : { "orpheus/orpheus-core": "1.*", "orpheus/orpheus-hook": "1.*" }, "type" : "library", "license" : "MIT", "authors" : [{ "name" : "Florent HAZARD", "email" : "contact@sowapps.com", "ho...
<|file_sep|>original/composer.json ], "autoload" : { "psr-4" : { "Orpheus\\" : "src" }, "files" : [ "src/_loader.php" ] }, "require" : { "orpheus/orpheus-core" : "dev-master", "orpheus/orpheus-hook" : "dev-master" }, "type" : "library", "license" : "MIT", "authors" : [{ "name" : "Florent HA...
da8a7a9b48c37c01484ea18970f8b6699ea50ccf
composer.json
composer.json
JSON
<|file_sep|>original/spec/factories/user_factory.rb FactoryGirl.define do factory :user do name 'User' email 'email@test.com' login 'user' factory :admin do name 'Admin' login 'admin' email 'admin@example.com' admin true end factory :designer do name 'Desi...
FactoryGirl.define do factory :user do name 'User' email 'email@test.com' login 'user' password 'coolness' password_confirmation { password } factory :admin do name 'Admin' login 'admin' email 'admin@example.com' admin true end factory :designer do ...
<|file_sep|>original/spec/factories/user_factory.rb FactoryGirl.define do factory :user do name 'User' email 'email@test.com' login 'user' factory :admin do name 'Admin' login 'admin' email 'admin@example.com' admin true end factory :designer do name 'Desi...
d78ea6b9b63345f062cf5676072b6410874f38a4
spec/factories/user_factory.rb
spec/factories/user_factory.rb
Ruby
<|file_sep|>Casks/intellij-idea-ce-bundled-jdk.rb.diff original: version '14' sha256 '09bb078252e2f6af6b58605ad3a380a71c8cc53f8e697e31fe03fcadb2152b07' updated: version '14.1' sha256 '62c8b150ff82c31f2b6355a6f43b8ef69913b8f387cef6ddb4659622abb59a52' <|file_sep|>Casks/intellij-idea-ce-bundled-jdk.rb.diff origina...
cask :v1 => 'intellij-idea-ce-bundled-jdk' do version '14.1' sha256 '62c8b150ff82c31f2b6355a6f43b8ef69913b8f387cef6ddb4659622abb59a52' url "https://download.jetbrains.com/idea/ideaIC-#{version}-custom-jdk-bundled.dmg" name 'IntelliJ IDEA' homepage 'https://www.jetbrains.com/idea/' license :apache app 'I...
<|file_sep|>Casks/intellij-idea-ce-bundled-jdk.rb.diff original: version '14' sha256 '09bb078252e2f6af6b58605ad3a380a71c8cc53f8e697e31fe03fcadb2152b07' updated: version '14.1' sha256 '62c8b150ff82c31f2b6355a6f43b8ef69913b8f387cef6ddb4659622abb59a52' <|file_sep|>Casks/intellij-idea-ce-bundled-jdk.rb.diff origina...
4a1b45f989eb9015c08cff1938d576b8af90fda5
Casks/intellij-idea-ce-bundled-jdk.rb
Casks/intellij-idea-ce-bundled-jdk.rb
Ruby
<|file_sep|>original/config/initializers/barclaycard.rb module EPDQ def self.config(options = {}) options.each { |k, v| send :"#{k}=", v } end end EPDQ.config pspid: ENV.fetch('EPDQ_PSPID'), sha_type: :sha256, sha_in: ENV.fetch('EPDQ_SECRET_IN'), sha_out: ENV.fetch('EPDQ_SECRET_OUT'), test_mode: !Rails.env...
module EPDQ def self.config(options = {}) options.each { |k, v| send :"#{k}=", v } end end EPDQ.config pspid: ENV.fetch('EPDQ_PSPID'), sha_type: :sha256, sha_in: ENV.fetch('EPDQ_SECRET_IN'), sha_out: ENV.fetch('EPDQ_SECRET_OUT'), test_mode: ENV['ENV'] == 'prod' ? false : true
<|file_sep|>original/config/initializers/barclaycard.rb module EPDQ def self.config(options = {}) options.each { |k, v| send :"#{k}=", v } end end EPDQ.config pspid: ENV.fetch('EPDQ_PSPID'), sha_type: :sha256, sha_in: ENV.fetch('EPDQ_SECRET_IN'), sha_out: ENV.fetch('EPDQ_SECRET_OUT'), test_mode: !Rails.env...
daaa94713a4937e333dc2828c5a1282162474563
config/initializers/barclaycard.rb
config/initializers/barclaycard.rb
Ruby
<|file_sep|>original/tests/unit/express_checkout/facade_tests.py <|file_sep|>current/tests/unit/express_checkout/facade_tests.py <|file_sep|>updated/tests/unit/express_checkout/facade_tests.py
from decimal import Decimal as D from unittest.mock import patch from django.test import TestCase from paypalhttp.http_response import construct_object from paypal.express_checkout.facade import refund_order from paypal.express_checkout.models import ExpressCheckoutTransaction from .mocked_data import REFUND_ORDER_D...
<|file_sep|>original/tests/unit/express_checkout/facade_tests.py <|file_sep|>current/tests/unit/express_checkout/facade_tests.py <|file_sep|>updated/tests/unit/express_checkout/facade_tests.py from decimal import Decimal as D from unittest.mock import patch from django.test import TestCase from paypalhttp.http_respo...
4ee0f8776b4bf74b20df5f0a69e68f8aa1d82a6d
tests/unit/express_checkout/facade_tests.py
tests/unit/express_checkout/facade_tests.py
Python
<|file_sep|>original/cuteshop/specs/qtyaml.yml name: qtyaml source: git: https://github.com/uranusjr/qtyaml.git project: sources: - "3rdparty/libyaml/src/*.c" - "src/*.cpp" headers: - src/qtyaml_global.h - src/qyamldocument.h - src/qyamlmapping.h - src/qyamlse...
name: qtyaml source: http: https://github.com/uranusjr/qtyaml/archive/master.zip project: sources: - "3rdparty/libyaml/src/*.c" - "src/*.cpp" headers: - src/qtyaml_global.h - src/qyamldocument.h - src/qyamlmapping.h - src/qyamlsequence.h - src/qyamlval...
<|file_sep|>original/cuteshop/specs/qtyaml.yml name: qtyaml source: git: https://github.com/uranusjr/qtyaml.git project: sources: - "3rdparty/libyaml/src/*.c" - "src/*.cpp" headers: - src/qtyaml_global.h - src/qyamldocument.h - src/qyamlmapping.h - src/qyamlse...
c1592705e4eb5d19e4112775eb534a9f3ef65157
cuteshop/specs/qtyaml.yml
cuteshop/specs/qtyaml.yml
YAML
<|file_sep|>original/src/store/localStoragePersister.ts import { IRootState } from '../types'; const localStorageKey = 'todoState'; export class LocalStoragePersister { public loadPersistedState(): IRootState { return JSON.parse(localStorage.getItem(localStorageKey) || '{ todos: [] }') as IRootState; ...
import { IRootState } from '../types'; const localStorageKey = 'todoState'; export class LocalStoragePersister { public loadPersistedState(): IRootState { return JSON.parse(localStorage.getItem(localStorageKey) || '{ "todos": [] }') as IRootState; } public persistState(state: IRootState): void {...
<|file_sep|>original/src/store/localStoragePersister.ts import { IRootState } from '../types'; const localStorageKey = 'todoState'; export class LocalStoragePersister { public loadPersistedState(): IRootState { return JSON.parse(localStorage.getItem(localStorageKey) || '{ todos: [] }') as IRootState; ...
f0297f075abf6753f0aebc22d698808aff78581d
src/store/localStoragePersister.ts
src/store/localStoragePersister.ts
TypeScript
<|file_sep|>spec/models/asset_spec.rb.diff original: require 'spec_helper' updated: require "spec_helper" <|file_sep|>spec/models/asset_spec.rb.diff original: updated: <|file_sep|>spec/models/asset_spec.rb.diff original: it "should be created" do updated: it "should be persisted" do <|file_sep|>original/spec/...
describe "creating an asset" do it "should be valid given a file" do a = Asset.new(:file => load_fixture_file("asset.png")) a.should be_valid end it "should not be valid without a file" do a = Asset.new(:file => nil) a.should_not be_valid end it "should be persisted" do ...
<|file_sep|>spec/models/asset_spec.rb.diff original: require 'spec_helper' updated: require "spec_helper" <|file_sep|>spec/models/asset_spec.rb.diff original: updated: <|file_sep|>spec/models/asset_spec.rb.diff original: it "should be created" do updated: it "should be persisted" do <|file_sep|>original/spec/...
6c2b211a05ce74fb8764ba00beda4b479b87860a
spec/models/asset_spec.rb
spec/models/asset_spec.rb
Ruby
<|file_sep|>CHANGELOG.md.diff original: updated: # 1.2.4 (2014-08-27) - Fix a bug in the Net::HTTP request driver where the md5 isn't calculated correctly when the content of the request is set with the `.body_stream` method. (#49 adamcrown) # 1.2.3 (2014-08-01) - Update action controller request driver to fix a ...
# 1.2.3 (2014-08-01) - Update action controller request driver to fix a bug with OLD versions of Rails using CGI # 1.2.2 (2014-07-08) - Fix Rest Client driver to account for the generated date when signing (cjeeky) # 1.2.1 (2014-07-03) - Fix Rest Client driver to account for the generated md5 when signing (#45 ...
<|file_sep|>CHANGELOG.md.diff original: updated: # 1.2.4 (2014-08-27) - Fix a bug in the Net::HTTP request driver where the md5 isn't calculated correctly when the content of the request is set with the `.body_stream` method. (#49 adamcrown) # 1.2.3 (2014-08-01) - Update action controller request driver to fix a ...
741414b6050dcfd5b035451b8d2d24f68d99fc01
CHANGELOG.md
CHANGELOG.md
Markdown