prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/tools/checkout.sh #!/bin/sh if [ -d jscs ]; then cd jscs && git fetch origin; else git clone git@github.com:jscs-dev/node-jscs.git jscs; cd jscs; fi LAST_TAG_REV=`git rev-list --tags --max-count=1`; LAST_TAG=`git describe --tags "$LAST_TAG_REV"`; git checkout "$LAST_TAG"; npm install...
#!/bin/sh if [ -d jscs ]; then cd jscs && git fetch origin; else git clone git@github.com:jscs-dev/node-jscs.git jscs; cd jscs; fi LAST_TAG_REV=`git rev-list --tags --max-count=1`; LAST_TAG=`git describe --tags "$LAST_TAG_REV"`; git checkout "$LAST_TAG"; npm install npm run coverage-html
<|file_sep|>original/tools/checkout.sh #!/bin/sh if [ -d jscs ]; then cd jscs && git fetch origin; else git clone git@github.com:jscs-dev/node-jscs.git jscs; cd jscs; fi LAST_TAG_REV=`git rev-list --tags --max-count=1`; LAST_TAG=`git describe --tags "$LAST_TAG_REV"`; git checkout "$LAST_TAG"; npm install...
a9ba011d33c01dc8e20dc6a3f84f7873dba1231e
tools/checkout.sh
tools/checkout.sh
Shell
<|file_sep|>original/freeciv/version.txt FCREV=26916 FCBRANCH=trunk ORIGCAPSTR="+Freeciv.Devel-2.6-2014.Oct.27" # There's no need to bump this constantly as current freeciv-web # makes no connections to outside world - all connections are # internal to it. The server and client are always compatible. WEBCAPSTR="+Free...
FCREV=26920 FCBRANCH=trunk ORIGCAPSTR="+Freeciv.Devel-2.6-2014.Oct.27" # There's no need to bump this constantly as current freeciv-web # makes no connections to outside world - all connections are # internal to it. The server and client are always compatible. WEBCAPSTR="+Freeciv.Web.Devel-2.6"
<|file_sep|>original/freeciv/version.txt FCREV=26916 FCBRANCH=trunk ORIGCAPSTR="+Freeciv.Devel-2.6-2014.Oct.27" # There's no need to bump this constantly as current freeciv-web # makes no connections to outside world - all connections are # internal to it. The server and client are always compatible. WEBCAPSTR="+Free...
ff2b43ffa782ead53eae6d5f90940223bbacb20b
freeciv/version.txt
freeciv/version.txt
Text
<|file_sep|>original/xdocs/downloads.xml --> <document> <properties> <title>Downloads</title> </properties> <body> <section name="Download DBCP"> <subsection name="Releases"> <p>Download the <a href="http://commons.apache.org/downloads/download_dbcp.cgi">Latest Relea...
--> <document> <properties> <title>Downloads</title> </properties> <body> <section name="Download DBCP"> <subsection name="Releases"> <p>Download the <a href="http://commons.apache.org/dbcp/download_dbcp.cgi">Latest Release</a> of Commons DBCP. ...
<|file_sep|>original/xdocs/downloads.xml --> <document> <properties> <title>Downloads</title> </properties> <body> <section name="Download DBCP"> <subsection name="Releases"> <p>Download the <a href="http://commons.apache.org/downloads/download_dbcp.cgi">Latest Relea...
bf772f455b5669c96625efcb2e02f67b387da500
xdocs/downloads.xml
xdocs/downloads.xml
XML
<|file_sep|>original/global.json { "sdk": { "version": "3.1.100", "rollForward": "latestMinor" } } <|file_sep|>current/global.json { "sdk": { "version": "3.1.100", "rollForward": "latestMinor" } } <|file_sep|>updated/global.json
{ "sdk": { "version": "3.1.100", "rollForward": "latestMajor" } }
<|file_sep|>original/global.json { "sdk": { "version": "3.1.100", "rollForward": "latestMinor" } } <|file_sep|>current/global.json { "sdk": { "version": "3.1.100", "rollForward": "latestMinor" } } <|file_sep|>updated/global.json { "sdk": { "version": "3.1.100", "rollForward": "late...
89d91546d660ee2786f9159677c79e518e74b65e
global.json
global.json
JSON
<|file_sep|>ruby/rpc_client.rb.diff original: updated: require "thread" <|file_sep|>ruby/rpc_client.rb.diff original: updated: <|file_sep|>ruby/rpc_client.rb.diff original: updated: attr_accessor :response, :call_id attr_reader :lock, :condition <|file_sep|>ruby/rpc_client.rb.diff original: updated: @loc...
@x.publish(n.to_s, :routing_key => @server_queue, :correlation_id => call_id, :reply_to => @reply_queue.name) lock.synchronize{condition.wait(lock)} response end protected def generate_uuid # very naive but good enough for code # examples "#{rand}#{rand}#{ran...
<|file_sep|>ruby/rpc_client.rb.diff original: updated: require "thread" <|file_sep|>ruby/rpc_client.rb.diff original: updated: <|file_sep|>ruby/rpc_client.rb.diff original: updated: attr_accessor :response, :call_id attr_reader :lock, :condition <|file_sep|>ruby/rpc_client.rb.diff original: updated: @loc...
a864a54c38e67489bce6da63b0f0234ceedd3aa0
ruby/rpc_client.rb
ruby/rpc_client.rb
Ruby
<|file_sep|>original/MODULES.md Instructions on how to build/test your own modules. ## Getting Started 1. Fork this repository 1. Create a new repository for your adapter 1. Copy something like [raw.go](https://github.com/gliderlabs/logspout/blob/master/adapters/raw/raw.go) to get started. 1. Add your module to modu...
Instructions on how to build/test your own modules. ## Getting Started 1. Fork this repository 1. Create a new repository for your adapter 1. Copy something like [raw.go](https://github.com/gliderlabs/logspout/blob/master/adapters/raw/raw.go) to get started. 1. Add your module to modules.go > You'll need to add the...
<|file_sep|>original/MODULES.md Instructions on how to build/test your own modules. ## Getting Started 1. Fork this repository 1. Create a new repository for your adapter 1. Copy something like [raw.go](https://github.com/gliderlabs/logspout/blob/master/adapters/raw/raw.go) to get started. 1. Add your module to modu...
f85812a70be8f6bf5add1f5f43eee3aaed7ab91d
MODULES.md
MODULES.md
Markdown
<|file_sep|>tasks/main.yml.diff original: - include: gnocchi_db_setup.yml updated: - include: gnocchi_service_setup.yml <|file_sep|>original/tasks/main.yml # See the License for the specific language governing permissions and # limitations under the License. # TODO(stevelle) front the API w/ Apache - include: gnocchi_...
# limitations under the License. # TODO(stevelle) front the API w/ Apache - include: gnocchi_pre_install.yml - include: gnocchi_install.yml - include: gnocchi_post_install.yml - include: gnocchi_upstart_init.yml - include: gnocchi_service_setup.yml run_once: true # N.B. Must occur after service setup, as this may ...
<|file_sep|>tasks/main.yml.diff original: - include: gnocchi_db_setup.yml updated: - include: gnocchi_service_setup.yml <|file_sep|>original/tasks/main.yml # See the License for the specific language governing permissions and # limitations under the License. # TODO(stevelle) front the API w/ Apache - include: gnocchi_...
711e09b420c32e72b0bf91fc648f0bdce2a2974e
tasks/main.yml
tasks/main.yml
YAML
<|file_sep|>original/nscheme/test.rkt <|file_sep|>current/nscheme/test.rkt <|file_sep|>updated/nscheme/test.rkt
#lang racket (require "nscheme.rkt" racket/pretty (rename-in racket/base (read racket:read) (eof-object? racket:eof-object?))) (include "read.scm") (print-as-expression #f) (pretty-print-abbreviate-read-macros #f) (define (read* in) (define datum (read in)) (if (eof-object? da...
<|file_sep|>original/nscheme/test.rkt <|file_sep|>current/nscheme/test.rkt <|file_sep|>updated/nscheme/test.rkt #lang racket (require "nscheme.rkt" racket/pretty (rename-in racket/base (read racket:read) (eof-object? racket:eof-object?))) (include "read.scm") (print-as-expression...
e02f30770b69e2e6e81982d6ecb3e7ad4aaa82a7
nscheme/test.rkt
nscheme/test.rkt
Racket
<|file_sep|>original/update_resources/connectors/121.php <?php /* connector for Hydrothermal Vent Larvae estimated execution time: 20-25 seconds Connector screen scrapes the partner website. */ $timestart = microtime(1); include_once(dirname(__FILE__) . "/../../config/environment.php"); require_library('connectors/Hy...
<?php /* connector for Hydrothermal Vent Larvae estimated execution time: 16-20 seconds Connector screen scrapes the partner website. */ $timestart = microtime(1); include_once(dirname(__FILE__) . "/../../config/environment.php"); require_library('connectors/HydrothermalVentLarvaeAPI'); $GLOBALS['ENV_DEBUG'] = false;...
<|file_sep|>original/update_resources/connectors/121.php <?php /* connector for Hydrothermal Vent Larvae estimated execution time: 20-25 seconds Connector screen scrapes the partner website. */ $timestart = microtime(1); include_once(dirname(__FILE__) . "/../../config/environment.php"); require_library('connectors/Hy...
bbe6faf4d55a185a6f2f8b2452e01ee9fce02fba
update_resources/connectors/121.php
update_resources/connectors/121.php
PHP
<|file_sep|>original/apps/plea/migrations/0026_caseoffencefilter.py <|file_sep|>current/apps/plea/migrations/0026_caseoffencefilter.py <|file_sep|>updated/apps/plea/migrations/0026_caseoffencefilter.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('plea', '0025_auto_20151210_1526'), ] operations = [ migrations.CreateModel( name='CaseOffenceFilter', ...
<|file_sep|>original/apps/plea/migrations/0026_caseoffencefilter.py <|file_sep|>current/apps/plea/migrations/0026_caseoffencefilter.py <|file_sep|>updated/apps/plea/migrations/0026_caseoffencefilter.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Mi...
ea5bd5fe05c6d2a9580f5ca6c2238971c28e36bc
apps/plea/migrations/0026_caseoffencefilter.py
apps/plea/migrations/0026_caseoffencefilter.py
Python
<|file_sep|>original/app/BelongsToManyOrOne.php */ public function isPreferred() { return $this->wherePivot('preferred', '=', true)->expectOne(); } /** * Convenience method for only getting the alternative items. * * @return $this */ public function isAlternative(...
*/ public function isPreferred() { return $this->wherePivot('preferred', '=', true)->expectOne(); } /** * Convenience method for only getting the alternative items. * * @return $this */ public function isAlternative() { return $this->wherePivotIn('pre...
<|file_sep|>original/app/BelongsToManyOrOne.php */ public function isPreferred() { return $this->wherePivot('preferred', '=', true)->expectOne(); } /** * Convenience method for only getting the alternative items. * * @return $this */ public function isAlternative(...
41f195ee8e28a6826b64897586fc0f808e8e6601
app/BelongsToManyOrOne.php
app/BelongsToManyOrOne.php
PHP
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" notifications: email: false <|file_sep|>updated/.travis.yml
language: node_js node_js: - node - iojs notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" notifications: email: false <|file_sep|>updated/.travis.yml language: node_js node_js: - node - iojs notifications: email: false
0849358786054bbdde7bdd29d5a0c2fd97a6b1cb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml env: matrix: - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu NOT_TEST_BUILD=true NOT_TEST_INSTALL=true - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/...
matrix: - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu NOT_TEST_BUILD=true NOT_TEST_INSTALL=true - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu NOT_TEST_BUILD=true ...
<|file_sep|>original/.travis.yml env: matrix: - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu NOT_TEST_BUILD=true NOT_TEST_INSTALL=true - USE_DEB=true ROS_DISTRO="indigo" ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/...
96c285569c701b3965f2354cd5b842d20fc871e3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb <|file_sep|>current/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb <|file_sep|>updated/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb
require_relative '../spec_helper' describe 'backup_restore::configure_mysql' do let(:chef_run) do runner = ChefSpec::Runner.new( cookbook_path: %w(site-cookbooks cookbooks), platform: 'centos', version: '6.5' ) do |node| node.set['cloudconductor']['applications'] = { ...
<|file_sep|>original/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb <|file_sep|>current/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb <|file_sep|>updated/site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb require_relative '../spec_helper' describe 'backup_rest...
1d1bfec8e9aea4ffd64e79497196fb4a8f0388d2
site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb
site-cookbooks/backup_restore/spec/recipes/configure_mysql_spec.rb
Ruby
<|file_sep|>original/attributes/default.rb default['gerrit']['version'] = "2.9.4" default['gerrit']['war']['download_url'] = "http://gerrit-releases.storage.googleapis.com/gerrit-2.9.4.war" default['git']['hostname'] = "dev.git.typo3.org" default['git']['hostname'] = "git.typo3.org" if node.chef_environment == "produc...
default['gerrit']['version'] = "2.11.4" default['gerrit']['war']['download_url'] = "http://gerrit-releases.storage.googleapis.com/gerrit-2.11.4.war" default['git']['hostname'] = "dev.git.typo3.org" default['git']['hostname'] = "git.typo3.org" if node.chef_environment == "production" default['gerrit']['config']['gerri...
<|file_sep|>original/attributes/default.rb default['gerrit']['version'] = "2.9.4" default['gerrit']['war']['download_url'] = "http://gerrit-releases.storage.googleapis.com/gerrit-2.9.4.war" default['git']['hostname'] = "dev.git.typo3.org" default['git']['hostname'] = "git.typo3.org" if node.chef_environment == "produc...
ba7952e5b0e8f9bd50cefce1fa005c567e8da6b6
attributes/default.rb
attributes/default.rb
Ruby
<|file_sep|>original/requirements.txt robotframework==3.0.4 robotframework-selenium2library==3.0.0 robotframework-debuglibrary==1.1.4 Selenium==3.14.0 factory_boy==2.11.1 pytest==3.7.3 pytest-django==3.4.2 psycopg2==2.7.5 mock==2.0.0 zest.releaser==6.12.4 twine==1.9.1 requests==2.18.4 <|file_sep|>current/requirements....
robotframework==3.0.4 robotframework-selenium2library==3.0.0 robotframework-debuglibrary==1.1.4 Selenium==3.14.0 factory_boy==2.11.1 pytest==3.7.3 pytest-django==3.4.2 psycopg2==2.7.5 mock==2.0.0 zest.releaser==6.15.1 twine==1.9.1 requests==2.18.4
<|file_sep|>original/requirements.txt robotframework==3.0.4 robotframework-selenium2library==3.0.0 robotframework-debuglibrary==1.1.4 Selenium==3.14.0 factory_boy==2.11.1 pytest==3.7.3 pytest-django==3.4.2 psycopg2==2.7.5 mock==2.0.0 zest.releaser==6.12.4 twine==1.9.1 requests==2.18.4 <|file_sep|>current/requirements....
91a576f01208f2f45a2449ed0387580c3e08bd23
requirements.txt
requirements.txt
Text
<|file_sep|>original/main/res/values/changelog_release.xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the release branch --> <string name="changelog_release" translatable="false">\n <b>next bugfix release</b>\n · Fix: wrong log count shown after logging something else than a found...
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the release branch --> <string name="changelog_release" translatable="false">\n <b>next bugfix release</b>\n · Fix: Wrong log count shown after logging something else than a found\n · Fix: Copy to clipboard not possible on Android 5.1...
<|file_sep|>original/main/res/values/changelog_release.xml <?xml version="1.0" encoding="utf-8"?> <resources> <!-- changelog for the release branch --> <string name="changelog_release" translatable="false">\n <b>next bugfix release</b>\n · Fix: wrong log count shown after logging something else than a found...
515008f851f5ef9ae1b7288dc10ac1ac3782e0e5
main/res/values/changelog_release.xml
main/res/values/changelog_release.xml
XML
<|file_sep|>src/main/java/com/google/gerrit/Gerrit.gwt.xml.diff original: updated: <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> <|file_sep|>original/src/main/java/com/google/gerrit/Gerrit.gwt.xml WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific...
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. --> <module rename-to="gerrit"> <inherits name='com.google.gwt.user.User'/> ...
<|file_sep|>src/main/java/com/google/gerrit/Gerrit.gwt.xml.diff original: updated: <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> <|file_sep|>original/src/main/java/com/google/gerrit/Gerrit.gwt.xml WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific...
f25f363c70e727ed9b6880170397c2f6877f9bd1
src/main/java/com/google/gerrit/Gerrit.gwt.xml
src/main/java/com/google/gerrit/Gerrit.gwt.xml
XML
<|file_sep|>original/kolibri/deployment/default/settings/debug_panel.py from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from .dev import * # noqa INTERNAL_IPS = ["127.0.0.1"] DEBUG_TOOLBAR_CONFIG = {"SHOW_TOOLBAR_CALLBACK": lambda x: True} MIDDLE...
from __future__ import print_function from __future__ import unicode_literals from .dev import * # noqa INTERNAL_IPS = ["127.0.0.1"] DEBUG_TOOLBAR_CONFIG = {"SHOW_TOOLBAR_CALLBACK": lambda x: True} MIDDLEWARE.append("debug_panel.middleware.DebugPanelMiddleware") # noqa INSTALLED_APPS += ["debug_toolbar", "debug_...
<|file_sep|>original/kolibri/deployment/default/settings/debug_panel.py from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from .dev import * # noqa INTERNAL_IPS = ["127.0.0.1"] DEBUG_TOOLBAR_CONFIG = {"SHOW_TOOLBAR_CALLBACK": lambda x: True} MIDDLE...
51f07e4b74153c7746d4429a1f562fdb70d927f8
kolibri/deployment/default/settings/debug_panel.py
kolibri/deployment/default/settings/debug_panel.py
Python
<|file_sep|>original/README.md Jesse Kinser Maeve Tierney Mandy McDorman ## nevernude-backend DBC final project! ## Heroku ## Trello https://trello.com/b/w5BFEaWG/nevernude <|file_sep|>current/README.md Jesse Kinser Maeve Tierney Mandy McDorman ## nevernude-backend DBC final project! ## Heroku ...
Jesse Kinser Maeve Tierney Mandy McDorman ## nevernude-backend DBC final project! ## Heroku https://nevernude.herokuapp.com/ ## Trello https://trello.com/b/w5BFEaWG/nevernude
<|file_sep|>original/README.md Jesse Kinser Maeve Tierney Mandy McDorman ## nevernude-backend DBC final project! ## Heroku ## Trello https://trello.com/b/w5BFEaWG/nevernude <|file_sep|>current/README.md Jesse Kinser Maeve Tierney Mandy McDorman ## nevernude-backend DBC final project! ## Heroku ...
bf0b39f46b07e9bbd995947e09a9908fa723c57f
README.md
README.md
Markdown
<|file_sep|>original/app/assets/javascripts/application.js //= require modernizr-2.8.3.custom //= require turbolinks //= require local_time //= require init //= require pages document.addEventListener("turbolinks:load", atthemovies.init()); if (document.readyState != 'loading') { atthemovies.init(); } else { doc...
//= require modernizr-2.8.3.custom //= require turbolinks //= require local_time //= require init //= require pages document.addEventListener("turbolinks:load", function() { atthemovies.init(); }); if (document.readyState != 'loading') { atthemovies.init(); } else { document.addEventListener('DOMContentLoaded'...
<|file_sep|>original/app/assets/javascripts/application.js //= require modernizr-2.8.3.custom //= require turbolinks //= require local_time //= require init //= require pages document.addEventListener("turbolinks:load", atthemovies.init()); if (document.readyState != 'loading') { atthemovies.init(); } else { doc...
bd8e7a0f7330cc4ba0f1728ee60db76a37ef76d0
app/assets/javascripts/application.js
app/assets/javascripts/application.js
JavaScript
<|file_sep|>original/test/membership_validators_test.rb <|file_sep|>current/test/membership_validators_test.rb <|file_sep|>updated/test/membership_validators_test.rb
require_relative 'test_helper' module GitHubLdapMembershipValidatorsTestCases def make_validator(groups) groups = @domain.groups(groups) @validator.new(@ldap, groups) end def test_validates_user_in_group validator = make_validator(%w(Enterprise)) assert validator.perform(@entry) end def tes...
<|file_sep|>original/test/membership_validators_test.rb <|file_sep|>current/test/membership_validators_test.rb <|file_sep|>updated/test/membership_validators_test.rb require_relative 'test_helper' module GitHubLdapMembershipValidatorsTestCases def make_validator(groups) groups = @domain.groups(groups) @val...
4dbf604b46b692d3b0345d3a45c3db471fa53d07
test/membership_validators_test.rb
test/membership_validators_test.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.0.0 - 2.1.5 - 2.2.0 install: bundle install script: bundle exec rake test branches: only: - master notifications: slack: secure: fsHnbqcvrbRmPgDsxiJL4OJJ033FXpbdmT7cvG7HbBmWCQzZdoSMdbFCPdB8B1iITeO+c0++5Rszdd/+BG5YHjTTD4Q...
language: ruby cache: bundler sudo: false rvm: - 2.1.5 - 2.2.0 install: bundle install script: bundle exec rake test branches: only: - master notifications: slack: secure: fsHnbqcvrbRmPgDsxiJL4OJJ033FXpbdmT7cvG7HbBmWCQzZdoSMdbFCPdB8B1iITeO+c0++5Rszdd/+BG5YHjTTD4Qf8otFI0CVTYs0LxM7QlD05KrYCAiHcRipsp4LleaiH+...
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.0.0 - 2.1.5 - 2.2.0 install: bundle install script: bundle exec rake test branches: only: - master notifications: slack: secure: fsHnbqcvrbRmPgDsxiJL4OJJ033FXpbdmT7cvG7HbBmWCQzZdoSMdbFCPdB8B1iITeO+c0++5Rszdd/+BG5YHjTTD4Q...
3c96edc8c2c2f034f05e25b02ed732e281314b69
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - '7' updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '6' - '7' - '8' - '9' before_script: # Remove ./node_modules/.bin from PATH so node-which doesn't replace Unix which and cause RVM to barf. See https://github.com/travis-ci/travis-ci/issues/5...
language: node_js node_js: - '6' - '8' - '10' - '11' before_script: # Remove ./node_modules/.bin from PATH so node-which doesn't replace Unix which and cause RVM to barf. See https://github.com/travis-ci/travis-ci/issues/5092 - PATH=${PATH//:\.\/node_modules\/\.bin/} - rvm install ruby --latest - gem in...
<|file_sep|>.travis.yml.diff original: - '7' updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '6' - '7' - '8' - '9' before_script: # Remove ./node_modules/.bin from PATH so node-which doesn't replace Unix which and cause RVM to barf. See https://github.com/travis-ci/travis-ci/issues/5...
643690e7a70872429cb9b2179220f11391116481
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/resources/application.yml groupId: @project.groupId@ artifactId: @project.artifactId@ version: @project.version@ management: port: 9898 security: enabled: true security: headers: # disables pragma no-cache header cache: false server: contextPath: /i...
groupId: @project.groupId@ artifactId: @project.artifactId@ version: @project.version@ management: port: 9898 security: enabled: true security: basic: enabled: false headers: # disables pragma no-cache header cache: false server: contextPath: /iiif server-header: "IIIF S...
<|file_sep|>original/src/main/resources/application.yml groupId: @project.groupId@ artifactId: @project.artifactId@ version: @project.version@ management: port: 9898 security: enabled: true security: headers: # disables pragma no-cache header cache: false server: contextPath: /i...
3915f36c35edaa51517a8dd46edb029caa45f349
src/main/resources/application.yml
src/main/resources/application.yml
YAML
<|file_sep|>src/components/Post.js.diff original: updated: let timestamp = new Date(post.timestamp) let options = { year: "numeric", month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" } let postDate = timestamp.toLocaleTimeString("en-us", options) <|file_sep|>original/src/com...
let postDate = timestamp.toLocaleTimeString("en-us", options) return( <div className="col-sm-12 post"> <Link to={`/${post.category}/${post.id}`}> <h2>{post.title}</h2> </Link> <div className="post-meta"> <span>posted by {post.author} on {postDate} in <Link to...
<|file_sep|>src/components/Post.js.diff original: updated: let timestamp = new Date(post.timestamp) let options = { year: "numeric", month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" } let postDate = timestamp.toLocaleTimeString("en-us", options) <|file_sep|>original/src/com...
4e20b852f715969e993768059831dbabae0b6422
src/components/Post.js
src/components/Post.js
JavaScript
<|file_sep|>src/apps/templates/default/src/Application.js.diff original: var textview = new TextView({ updated: this.tvHelloWorld = new TextView({ <|file_sep|>src/apps/templates/default/src/Application.js.diff original: text: "Hello, world!", color: "white", updated: text: 'Hello, world!', ...
exports = Class(GC.Application, function () { this.initUI = function () { this.tvHelloWorld = new TextView({ superview: this.view, text: 'Hello, world!', color: 'white', x: 0, y: 100, width: this.view.style.width, height: 100 }); }; this.launchUI = function ()...
<|file_sep|>src/apps/templates/default/src/Application.js.diff original: var textview = new TextView({ updated: this.tvHelloWorld = new TextView({ <|file_sep|>src/apps/templates/default/src/Application.js.diff original: text: "Hello, world!", color: "white", updated: text: 'Hello, world!', ...
3df5984d5931ce50919180f4b9b3e5a4e44d11c9
src/apps/templates/default/src/Application.js
src/apps/templates/default/src/Application.js
JavaScript
<|file_sep|>original/.github/workflows/main.yml python -m pip install --upgrade pip pip install flake8 coverage pip install -r requirements.txt - name: Lint with flake8 run: | pip install -e . flake8 . --count --select=E9,F63,F7,F82 --show-source --statist...
python -m pip install --upgrade pip pip install flake8 coverage pip install -r requirements.txt - name: Lint with flake8 run: | pip install -e . flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --exit-zero --max...
<|file_sep|>original/.github/workflows/main.yml python -m pip install --upgrade pip pip install flake8 coverage pip install -r requirements.txt - name: Lint with flake8 run: | pip install -e . flake8 . --count --select=E9,F63,F7,F82 --show-source --statist...
b7c42aa33f95558e0411bdbef4b2b6c3942b1564
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
bcb7613617c21a87955e2839106f87118196718e
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/2017-code/test_scalability.py <|file_sep|>current/2017-code/test_scalability.py <|file_sep|>updated/2017-code/test_scalability.py
# test_scalability.py # Ronald L. Rivest with Huasyn Karimi import syn2 def tester(se): # copy code here from syn2.test; modify as needed def test_scale(k): # start timer se = syn2.SynElection() # ... set parameters here based on k # run "test" # stop timer; print k and elapsed time
<|file_sep|>original/2017-code/test_scalability.py <|file_sep|>current/2017-code/test_scalability.py <|file_sep|>updated/2017-code/test_scalability.py # test_scalability.py # Ronald L. Rivest with Huasyn Karimi import syn2 def tester(se): # copy code here from syn2.test; modify as needed def test_scale(k): ...
eb5e6bde589f3598d955c0d7389f7054a3a3c642
2017-code/test_scalability.py
2017-code/test_scalability.py
Python
<|file_sep|>original/cleanup/test/correctness/set-matrix-property-test5.jl <|file_sep|>current/cleanup/test/correctness/set-matrix-property-test5.jl <|file_sep|>updated/cleanup/test/correctness/set-matrix-property-test5.jl
include("../../src/SparseAccelerator.jl") using SparseAccelerator set_options(SA_ENABLE, SA_VERBOSE, SA_USE_SPMP, SA_CONTEXT) include("utils.jl") function foo() set_matrix_property(:A, SA_LOWER_OF, :B) m = 10 A = generate_symmetric_nonzerodiagonal_sparse_matrix(m) A = generate_symmetric_nonzerodiago...
<|file_sep|>original/cleanup/test/correctness/set-matrix-property-test5.jl <|file_sep|>current/cleanup/test/correctness/set-matrix-property-test5.jl <|file_sep|>updated/cleanup/test/correctness/set-matrix-property-test5.jl include("../../src/SparseAccelerator.jl") using SparseAccelerator set_options(SA_ENABLE, SA_VE...
23ab95c799a3f57e447e7a1162139efe8e09424e
cleanup/test/correctness/set-matrix-property-test5.jl
cleanup/test/correctness/set-matrix-property-test5.jl
Julia
<|file_sep|>original/README.md ophys_io ======== Help: ``` ~/prog/ophys_io/continuous2dat.py -h ``` Usage: ``` ~/prog/ophys_io/continuous2dat.py m0001/2014-10-30_16-07-29 -C 64 -o raw.dat --limit_dur 60 -n 106 ``` <|file_sep|>current/README.md ophys_io ======== Help: ``` ~/prog/ophys_io/continuous2dat.py -h ``` Usa...
Collection of oio helpers
<|file_sep|>original/README.md ophys_io ======== Help: ``` ~/prog/ophys_io/continuous2dat.py -h ``` Usage: ``` ~/prog/ophys_io/continuous2dat.py m0001/2014-10-30_16-07-29 -C 64 -o raw.dat --limit_dur 60 -n 106 ``` <|file_sep|>current/README.md ophys_io ======== Help: ``` ~/prog/ophys_io/continuous2dat.py -h ``` Usa...
e8d3dae31e52b10cfaa40380e19a849a5f09150b
README.md
README.md
Markdown
<|file_sep|>original/bindings/python/CMakeLists.txt cmake_minimum_required(VERSION 2.8.7) project(libiio-py NONE) find_package (Python COMPONENTS Interpreter) if (Python_Interpreter_FOUND) option(PYTHON_BINDINGS "Install Python bindings" ON) if (PYTHON_BINDINGS) set(SETUP_PY_IN ${CMAKE_CURRENT_SOURCE_DIR}/setup...
cmake_minimum_required(VERSION 2.8.7) project(libiio-py NONE) if(${CMAKE_VERSION} VERSION_LESS "3.12.0") include(FindPythonInterp) # Set variables as they would be set by module FindPython, # which is available from CMake 3.12. set(Python_Interpreter_FOUND ${PYTHONINTERP_FOUND}) set(Python_EXECUTABLE ${PYTHON_E...
<|file_sep|>original/bindings/python/CMakeLists.txt cmake_minimum_required(VERSION 2.8.7) project(libiio-py NONE) find_package (Python COMPONENTS Interpreter) if (Python_Interpreter_FOUND) option(PYTHON_BINDINGS "Install Python bindings" ON) if (PYTHON_BINDINGS) set(SETUP_PY_IN ${CMAKE_CURRENT_SOURCE_DIR}/setup...
5ca77b18d2d17afa0c4b168383d14762e118949e
bindings/python/CMakeLists.txt
bindings/python/CMakeLists.txt
Text
<|file_sep|>original/nvim/.config/nvim/plugin/vimtex.vim let g:vimtex_compiler_latexmk = { \ 'background' : 1, \ 'build_dir' : 'build', \ 'callback' : 1, \ 'continuous' : 1, \ 'executable' : 'latexmk', \ 'options' : [ \ '-pdf', \ '-verbose', \ '-file-line-error', \ '-synctex=1', \ '-interaction=non...
let g:vimtex_compiler_latexmk = { \ 'background' : 1, \ 'build_dir' : 'build', \ 'callback' : 1, \ 'continuous' : 1, \ 'executable' : 'latexmk', \ 'options' : [ \ '-pdf', \ '-verbose', \ '-file-line-error', \ '-synctex=1', \ '-interaction=nonstopmode', \ '-xelatex', \ ], \}
<|file_sep|>original/nvim/.config/nvim/plugin/vimtex.vim let g:vimtex_compiler_latexmk = { \ 'background' : 1, \ 'build_dir' : 'build', \ 'callback' : 1, \ 'continuous' : 1, \ 'executable' : 'latexmk', \ 'options' : [ \ '-pdf', \ '-verbose', \ '-file-line-error', \ '-synctex=1', \ '-interaction=non...
9cc0df222176b5ae843ca09b67d61a2d5efc98b1
nvim/.config/nvim/plugin/vimtex.vim
nvim/.config/nvim/plugin/vimtex.vim
VimL
<|file_sep|>.travis.yml.diff original: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover updated: - vendor/bin/phpunit <|file_sep|>original/.travis.yml matrix: allow_failures: - php: 7.4snapshot - php: nightly env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script:...
env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script: - travis_retry composer update $COMPOSER_OPTS script: - vendor/bin/phpunit jobs: include: - stage: coverage script: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - wget https://scru...
<|file_sep|>.travis.yml.diff original: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover updated: - vendor/bin/phpunit <|file_sep|>original/.travis.yml matrix: allow_failures: - php: 7.4snapshot - php: nightly env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" before_script:...
3a904586845f935381c39ee10201034a3004eae2
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/com.kylecorry.trail_sense.yml.diff original: updated: - versionName: 0.4.1 versionCode: 6 commit: v0.4.1 subdir: app gradle: - yes <|file_sep|>original/metadata/com.kylecorry.trail_sense.yml gradle: - yes - versionName: 0.2.0 versionCode: 3 commit: v0....
gradle: - yes - versionName: 0.3.0 versionCode: 4 commit: v0.3.0 subdir: app gradle: - yes - versionName: 0.4.1 versionCode: 6 commit: v0.4.1 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.4.1 CurrentVersionCode:...
<|file_sep|>metadata/com.kylecorry.trail_sense.yml.diff original: updated: - versionName: 0.4.1 versionCode: 6 commit: v0.4.1 subdir: app gradle: - yes <|file_sep|>original/metadata/com.kylecorry.trail_sense.yml gradle: - yes - versionName: 0.2.0 versionCode: 3 commit: v0....
dc4d382e780388be7f41e5b26659280dde388921
metadata/com.kylecorry.trail_sense.yml
metadata/com.kylecorry.trail_sense.yml
YAML
<|file_sep|>original/.travis.yml language: scala scala: - 2.11.7 jdk: - oraclejdk8 sbt_args: -sbt-version 0.13.8 script: - sbt test <|file_sep|>current/.travis.yml language: scala scala: - 2.11.7 jdk: - oraclejdk8 sbt_args: -sbt-version 0.13.8 script: - sbt test <|file_sep|>updated/.travis.yml
language: scala scala: - 2.11.7 jdk: - oraclejdk8 sbt_args: -sbt-version 0.13.8 script: - sbt test after_success: "sbt coverage test coveralls"
<|file_sep|>original/.travis.yml language: scala scala: - 2.11.7 jdk: - oraclejdk8 sbt_args: -sbt-version 0.13.8 script: - sbt test <|file_sep|>current/.travis.yml language: scala scala: - 2.11.7 jdk: - oraclejdk8 sbt_args: -sbt-version 0.13.8 script: - sbt test <|file_sep|>updated/.travis.yml language: sca...
692c226ff734c35054b99819d07d2a899c935cab
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java @Override public void start() throws Exception { Items.XSTREAM.registerConverter(new Config.ConverterImpl()); load(); } @Override public void configure(StaplerRequest req, JSONObject jsonObj...
@Override public void start() throws Exception { Items.XSTREAM.registerConverter(new Config.ConverterImpl()); load(); } @Override public void configure(StaplerRequest req, JSONObject jsonObject) throws IOException, ServletException, Descriptor.FormException { String url = j...
<|file_sep|>original/src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java @Override public void start() throws Exception { Items.XSTREAM.registerConverter(new Config.ConverterImpl()); load(); } @Override public void configure(StaplerRequest req, JSONObject jsonObj...
82fb1b1486e2cd391bdd3e505cbb397eee73341e
src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java
src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java
Java
<|file_sep|>original/src/rtcmix/rtsetoutput.cpp "rtsetoutput: No output open for this instrument (rtoutput failed?)!"); return -1; } if (start < 0.0f) { die(theInst->name(), "rtsetoutput: start time must be >= 0.0"); return -1; } if (dur < 0.0f) { die(theInst->name(), "rtsetoutput: duration must...
if (start < 0.0f) { die(theInst->name(), "rtsetoutput: start time must be >= 0.0"); return -1; } if (dur < 0.0f) { die(theInst->name(), "rtsetoutput: duration must be >= 0.0"); return -1; } theInst->_start = start; theInst->_dur = dur; theInst->_nsamps = (int)(0.5 + dur * RTcmix::sr()); if (...
<|file_sep|>original/src/rtcmix/rtsetoutput.cpp "rtsetoutput: No output open for this instrument (rtoutput failed?)!"); return -1; } if (start < 0.0f) { die(theInst->name(), "rtsetoutput: start time must be >= 0.0"); return -1; } if (dur < 0.0f) { die(theInst->name(), "rtsetoutput: duration must...
dc6408abf61cd389a2ad892a5bedc32c2074bab1
src/rtcmix/rtsetoutput.cpp
src/rtcmix/rtsetoutput.cpp
C++
<|file_sep|>original/README.md Scala-Docker ============ Scala client using reactive streams (akka-streams) to communicate with Docker hosts. <|file_sep|>current/README.md Scala-Docker ============ Scala client using reactive streams (akka-streams) to communicate with Docker hosts. <|file_sep|>updated/README.md
Scala-Docker ============ Scala client using reactive streams (akka-streams) to communicate with Docker hosts. Example ------- Creating a DockerClient: ```scala implicit val system = ActorSystem() implicit val materializer = ActorFlowMaterializer(ActorFlowMaterializerSettings(system)) val docker = DockerClient() ``...
<|file_sep|>original/README.md Scala-Docker ============ Scala client using reactive streams (akka-streams) to communicate with Docker hosts. <|file_sep|>current/README.md Scala-Docker ============ Scala client using reactive streams (akka-streams) to communicate with Docker hosts. <|file_sep|>updated/README.md Scala...
e2b2e08434b46f7b0dfa4e8fc62c89ac3b2506fa
README.md
README.md
Markdown
<|file_sep|>dashboard_spec.coffee.diff original: #= require dashboard updated: #= require lib/dashboard_poller <|file_sep|>original/dashboard_spec.coffee #= require dashboard #= require mock-ajax describe "Dashboard - getData()", -> beforeEach -> jasmine.Ajax.useMock() @dashboard = Dashboard describe "whe...
#= require lib/dashboard_poller #= require mock-ajax describe "Dashboard - getData()", -> beforeEach -> jasmine.Ajax.useMock() @dashboard = ttm.lib.DashboardPoller.build() describe "when the report is ready on the first iteration", -> it "should return the dashboard data", -> that = this ...
<|file_sep|>dashboard_spec.coffee.diff original: #= require dashboard updated: #= require lib/dashboard_poller <|file_sep|>original/dashboard_spec.coffee #= require dashboard #= require mock-ajax describe "Dashboard - getData()", -> beforeEach -> jasmine.Ajax.useMock() @dashboard = Dashboard describe "whe...
fdc5861db622778d439a19630c5646651048a038
dashboard_spec.coffee
dashboard_spec.coffee
CoffeeScript
<|file_sep|>pillars/bootstrap/include_projects_profiles.sls.diff original: updated: {% set profile_relative_pillars = salt['config.get']('this_system_keys:profile_relative_pillars') %} <|file_sep|>pillars/bootstrap/include_projects_profiles.sls.diff original: - '{{ project_name }}.profile.{{ profile_name }}': upda...
{% set profile_relative_pillars = salt['config.get']('this_system_keys:profile_relative_pillars') %} include: {% for project_name in load_bootstrap_target_envs.keys() %} {% for profile_name in load_bootstrap_target_envs[project_name].keys() %} {% for profile_relative_pillar in profile_relative_pillars %} # Mer...
<|file_sep|>pillars/bootstrap/include_projects_profiles.sls.diff original: updated: {% set profile_relative_pillars = salt['config.get']('this_system_keys:profile_relative_pillars') %} <|file_sep|>pillars/bootstrap/include_projects_profiles.sls.diff original: - '{{ project_name }}.profile.{{ profile_name }}': upda...
412a86a32fe9f3639e518d61f3615048e658cb98
pillars/bootstrap/include_projects_profiles.sls
pillars/bootstrap/include_projects_profiles.sls
SaltStack
<|file_sep|>original/.github/workflows/test.yml runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - 'pypy3' toxenv: [py] include: - python-ve...
runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - 'pypy-3.6' - 'pypy-3.7' - 'pypy-3.8' toxenv: [py] include: - python-v...
<|file_sep|>original/.github/workflows/test.yml runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - 'pypy3' toxenv: [py] include: - python-ve...
fb7b5a475f1d2ca38e3f0624875c0e26035dca9d
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/oscar/management/commands/oscar_send_alerts.py from oscar.apps.customer.alerts import utils logger = logging.getLogger(__name__) class Command(BaseCommand): """ Check stock records of products for availability and send out alerts to customers that have registered for an alert. "...
from oscar.apps.customer.alerts import utils logger = logging.getLogger(__name__) class Command(BaseCommand): """ Check stock records of products for availability and send out alerts to customers that have registered for an alert. """ help = _("Check for products that are back in " ...
<|file_sep|>original/oscar/management/commands/oscar_send_alerts.py from oscar.apps.customer.alerts import utils logger = logging.getLogger(__name__) class Command(BaseCommand): """ Check stock records of products for availability and send out alerts to customers that have registered for an alert. "...
d9cdde787439d022e8c0504666cd4809a8243fe6
oscar/management/commands/oscar_send_alerts.py
oscar/management/commands/oscar_send_alerts.py
Python
<|file_sep|>lib/active_job/retriable.rb.diff original: logger.info 'Retries exhauseted' updated: logger.info "Retries exhauseted at #{retry_attempt}" <|file_sep|>original/lib/active_job/retriable.rb DEFAULT_FACTOR = 4 included do # TODO think about how to handle ActiveJob::Deseria...
DEFAULT_FACTOR = 4 included do # TODO think about how to handle ActiveJob::DeserializationError rescue_from Exception do |ex| tag_logger self.class.name, job_id do if retries_exhausted? logger.info "Retries exhauseted at #{retry_attempt}" else lo...
<|file_sep|>lib/active_job/retriable.rb.diff original: logger.info 'Retries exhauseted' updated: logger.info "Retries exhauseted at #{retry_attempt}" <|file_sep|>original/lib/active_job/retriable.rb DEFAULT_FACTOR = 4 included do # TODO think about how to handle ActiveJob::Deseria...
eac6a74a8bf5a8ef42bd170932d71aa6c162eba1
lib/active_job/retriable.rb
lib/active_job/retriable.rb
Ruby
<|file_sep|>original/spec/spec_helper.rb SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'lib/rom/support' add_filter 'spec' end end class BasicObject def self.freeze # FIXME: remove this when axiom no longer freezes classes end end require 'devtools/spec_helper...
SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'lib/rom/support' add_filter 'spec' end end require 'devtools/spec_helper' require 'rom' require 'rom/support/axiom/adapter/memory' require 'bogus/rspec' include ROM include SpecHelper include Morpher::NodeHelpers TEST_...
<|file_sep|>original/spec/spec_helper.rb SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'lib/rom/support' add_filter 'spec' end end class BasicObject def self.freeze # FIXME: remove this when axiom no longer freezes classes end end require 'devtools/spec_helper...
9bdf69c386b8271c491b4d3c3ed38aa913d63ef6
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/Cargo.toml [dependencies] serde = { version = "1", features = ["derive"] } failure = "0.1.1" encoding_rs = "0.8" byteorder = "1" phf = "0.7" fnv = "1.0" if_chain = "1.0" bitter = "0.3.1" multimap = "0.4" [dev-dependencies] serde_json = "1" criterion = "0.2" [[bench]] name = "bench_boxcars" harne...
[dependencies] serde = { version = "1", features = ["derive"] } failure = "0.1.1" encoding_rs = "0.8" byteorder = "1" phf = "0.7" fnv = "1.0" if_chain = "1.0" bitter = "0.3.1" multimap = "0.5" [dev-dependencies] serde_json = "1" criterion = "0.2" [[bench]] name = "bench_boxcars" harness = false [build-dependencies]
<|file_sep|>original/Cargo.toml [dependencies] serde = { version = "1", features = ["derive"] } failure = "0.1.1" encoding_rs = "0.8" byteorder = "1" phf = "0.7" fnv = "1.0" if_chain = "1.0" bitter = "0.3.1" multimap = "0.4" [dev-dependencies] serde_json = "1" criterion = "0.2" [[bench]] name = "bench_boxcars" harne...
54f0a00eabe75e18d33cb4eede02b56bb58fe5e6
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/app/views/articles/_form.html.erb <%= form_for :article do |f| %> <% if @article.errors.any? %> <div id="error_explanation"> <h2> <%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved: </h2> <ul> <% @article.errors...
<%= form_for @article do |f| %> <% if @article.errors.any? %> <div id="error_explanation"> <h2> <%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved: </h2> <ul> <% @article.errors.full_messages.each do |msg| %> <li><%= msg %...
<|file_sep|>original/app/views/articles/_form.html.erb <%= form_for :article do |f| %> <% if @article.errors.any? %> <div id="error_explanation"> <h2> <%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved: </h2> <ul> <% @article.errors...
fbdda49122a6f147d0e4233557a0f9aa8378c599
app/views/articles/_form.html.erb
app/views/articles/_form.html.erb
HTML+ERB
<|file_sep|>original/public/styles/site/_forms.scss // Handle messed up styles on all forms pages entered through the WYSIWYG editor form > div { clear: both; } .form-group { margin-bottom: 15px; } .checkbox-inline, .radio-inline { position: relative; display: inline-block; padding-left: 20px; m...
// Handle messed up styles on all forms pages entered through the WYSIWYG editor form > div { clear: both; } .form-group { position: relative; margin-bottom: 15px; } .checkbox-inline, .radio-inline { position: relative; display: inline-block; padding-left: 20px; margin-bottom: 0; margi...
<|file_sep|>original/public/styles/site/_forms.scss // Handle messed up styles on all forms pages entered through the WYSIWYG editor form > div { clear: both; } .form-group { margin-bottom: 15px; } .checkbox-inline, .radio-inline { position: relative; display: inline-block; padding-left: 20px; m...
b90faaf68e39c52677a5f49e650fc5a896afb943
public/styles/site/_forms.scss
public/styles/site/_forms.scss
SCSS
<|file_sep|>app/components/node-stream.js.diff original: this.set('streamingObservations', [{ 'data': Ember.A([]), 'name': 'electricThings' }]); updated: <|file_sep|>app/components/node-stream.js.diff original: let hash = this.get('streamingObservations'); has...
streamingObservations: Ember.A([]), init() { this._super(...arguments); const socket = this.get('io').socketFor('localhost:8081'); const appendObservations = function (newObs) { const series = this.get('streamingObservations'); series.pushObject([moment(), newObs.results]); ...
<|file_sep|>app/components/node-stream.js.diff original: this.set('streamingObservations', [{ 'data': Ember.A([]), 'name': 'electricThings' }]); updated: <|file_sep|>app/components/node-stream.js.diff original: let hash = this.get('streamingObservations'); has...
954450756613209bf7f4b32909549af860bab3d1
app/components/node-stream.js
app/components/node-stream.js
JavaScript
<|file_sep|>original/salt/ocds-docs/includes/version-options.html <option>Version</option> <optgroup label="Live"> <option value="latest">1.1.2 (latest)</option> <option value="1.0">1.0.3</option> </optgroup> <optgroup label="Development Branches"> <option value="1.1-dev">1.1 Dev</option> </optgroup> <optgroup label="L...
<option>Version</option> <optgroup label="Live"> <option value="latest">1.1.3 (latest)</option> <option value="1.0">1.0.3</option> </optgroup> <optgroup label="Development Branches"> <option value="1.1-dev">1.1 Dev</option> </optgroup> <optgroup label="Legacy"> <option value="legacy/r/1__0__0/en">1.0.0</option> <option...
<|file_sep|>original/salt/ocds-docs/includes/version-options.html <option>Version</option> <optgroup label="Live"> <option value="latest">1.1.2 (latest)</option> <option value="1.0">1.0.3</option> </optgroup> <optgroup label="Development Branches"> <option value="1.1-dev">1.1 Dev</option> </optgroup> <optgroup label="L...
34f3e814327079aa396b5b63aa09e09d50c8637f
salt/ocds-docs/includes/version-options.html
salt/ocds-docs/includes/version-options.html
HTML
<|file_sep|>original/package.json "type": "git", "url": "git+https://github.com/dawsonbotsford/satoshi-bitcoin.git" }, "keywords": [ "Bitcoin", "Satoshi" ], "author": "Dawson Botsford <dawsonbotsford@gmail.com> (dawsonbotsford.com)", "licenses": [ { "type": "MIT", "url": "https...
"test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/dawsonbotsford/satoshi-bitcoin.git" }, "keywords": [ "Bitcoin", "Satoshi" ], "author": "Dawson Botsford <dawsonbotsford@gmail.com> (dawsonbotsford.com)", "license": "MIT", "bugs": { "url": "https://g...
<|file_sep|>original/package.json "type": "git", "url": "git+https://github.com/dawsonbotsford/satoshi-bitcoin.git" }, "keywords": [ "Bitcoin", "Satoshi" ], "author": "Dawson Botsford <dawsonbotsford@gmail.com> (dawsonbotsford.com)", "licenses": [ { "type": "MIT", "url": "https...
548192122d0fbb65e269292d7cc5226766c3d88a
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # ...
language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer sudo: false # migrate to container-based infrastructure
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 script: script/cibuild env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # ...
7360e13d62df72c046d76613f927e505ea37a900
.travis.yml
.travis.yml
YAML
<|file_sep|>test/cljs/comic_reader/ui/base_test.cljs.diff original: [comic-reader.ui.base :as ui-base])) updated: [comic-reader.ui.base :as sut])) <|file_sep|>test/cljs/comic_reader/ui/base_test.cljs.diff original: [ui-base/loading]]) updated: [sut/loading]]) <|file_sep|>test/cljs/comic_re...
(ns comic-reader.ui.base-test (:require [devcards.core :refer-macros [defcard-rg]] [comic-reader.ui.base :as sut])) (defcard-rg loading "## Loading This is the loading svg used everywhere on the site." [:div {:style {"width" "4em"}} [sut/loading]]) (defcard-rg four-oh-four [sut/four-oh-four]...
<|file_sep|>test/cljs/comic_reader/ui/base_test.cljs.diff original: [comic-reader.ui.base :as ui-base])) updated: [comic-reader.ui.base :as sut])) <|file_sep|>test/cljs/comic_reader/ui/base_test.cljs.diff original: [ui-base/loading]]) updated: [sut/loading]]) <|file_sep|>test/cljs/comic_re...
df747632724302804c16de49bc8d8a83966323ef
test/cljs/comic_reader/ui/base_test.cljs
test/cljs/comic_reader/ui/base_test.cljs
Clojure
<|file_sep|>original/config.docs.js resolve: { alias: { 'css-animator': '../src/css-animator' }, extensions: ['.ts', '.js'] }, module: { rules: [ { test: /\.(js|ts)$/, exclude: [path.join(__dirname, 'node_modules', '@angular/compiler')], use: ['source-map-loader...
resolve: { alias: { 'css-animator': '../src/css-animator' }, extensions: ['.ts', '.js'] }, module: { rules: [ { test: /\.(js|ts)$/, exclude: [path.join(__dirname, 'node_modules')], use: ['source-map-loader'], enforce: 'pre' }, { test: /\.ts...
<|file_sep|>original/config.docs.js resolve: { alias: { 'css-animator': '../src/css-animator' }, extensions: ['.ts', '.js'] }, module: { rules: [ { test: /\.(js|ts)$/, exclude: [path.join(__dirname, 'node_modules', '@angular/compiler')], use: ['source-map-loader...
d7eedc13d0321abf8d2962d3df6917232f9c19c8
config.docs.js
config.docs.js
JavaScript
<|file_sep|>original/CONTRIBUTING.md Contributing ====== Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md) in the Home repo. <|file_sep|>current/CONTRIBUTING.md Contributing ====== Information on contributing to this repo is in the [Con...
Contributing ====== Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/dev/CONTRIBUTING.md) in the Home repo.
<|file_sep|>original/CONTRIBUTING.md Contributing ====== Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md) in the Home repo. <|file_sep|>current/CONTRIBUTING.md Contributing ====== Information on contributing to this repo is in the [Con...
72e88864af8f3efba18997be6ecf21f8545ddc94
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>src/main/java/me/coley/recaf/command/impl/Initializer.java.diff original: updated: import java.awt.*; <|file_sep|>original/src/main/java/me/coley/recaf/command/impl/Initializer.java * Workspace file to import. */ @CommandLine.Option(names = {"--input" }, description = "The input file to load. " + "...
* Workspace file to import. */ @CommandLine.Option(names = {"--input" }, description = "The input file to load. " + "Supported types are: class, jar, json") public File input; @CommandLine.Option(names = {"--script" }, description = "Script file to load for cli usage") public File script; @CommandLine.Optio...
<|file_sep|>src/main/java/me/coley/recaf/command/impl/Initializer.java.diff original: updated: import java.awt.*; <|file_sep|>original/src/main/java/me/coley/recaf/command/impl/Initializer.java * Workspace file to import. */ @CommandLine.Option(names = {"--input" }, description = "The input file to load. " + "...
bed404c22694f8161c53d77291183f89ee7263cf
src/main/java/me/coley/recaf/command/impl/Initializer.java
src/main/java/me/coley/recaf/command/impl/Initializer.java
Java
<|file_sep|>packages/la/language-c99-simple.yaml.diff original: hash: 7f45efc76fd2b4efd5de91ef13c89d41d981b85d79cb9834194613a2e8858f9f updated: hash: 3171229e941718d8db4ffc9f6e96f3d71e1d5729924dc903c5a0335c31b6241c <|file_sep|>packages/la/language-c99-simple.yaml.diff original: language-c99: ==0.1.* updated: langua...
changelog: | # Revision history for language-c99-simple ## 0.1.0.0 -- 2019-03-30 * First version. Initial version supporting features needed for copilot. Contains no comments yet. basic-deps: language-c99: ! '>=0.1 && <0.2' base: ! '>=4.9 && <5' language-c99-util: ! '>=0.1 && <0.2' mtl: ! '>=2.2.0 ...
<|file_sep|>packages/la/language-c99-simple.yaml.diff original: hash: 7f45efc76fd2b4efd5de91ef13c89d41d981b85d79cb9834194613a2e8858f9f updated: hash: 3171229e941718d8db4ffc9f6e96f3d71e1d5729924dc903c5a0335c31b6241c <|file_sep|>packages/la/language-c99-simple.yaml.diff original: language-c99: ==0.1.* updated: langua...
16ce948a28dda31be0305f9f55bca62f2bd0b62f
packages/la/language-c99-simple.yaml
packages/la/language-c99-simple.yaml
YAML
<|file_sep|>original/CRYPTO.md groundstation uses RSA under the hood with (planned for now) experimental support for ECDSA. The rationale for this is that while other algorithms are more practical in many ways, RSA keys are the most widespread amongst developers, and being able to use your ssh keys as an identity will...
The rationale for this is that while other algorithms are more practical in many ways, RSA keys are the most widespread amongst developers, and being able to use your ssh keys as an identity will hopefully make significant strides toward adoption. (See for example https://github.com/richo.keys) We make sweeping assum...
<|file_sep|>original/CRYPTO.md groundstation uses RSA under the hood with (planned for now) experimental support for ECDSA. The rationale for this is that while other algorithms are more practical in many ways, RSA keys are the most widespread amongst developers, and being able to use your ssh keys as an identity will...
675e3615255054550bfa98c342f5761428619fc5
CRYPTO.md
CRYPTO.md
Markdown
<|file_sep|>original/src/main/java-template/com/github/koraktor/mavanagaiata/mojo/TemplateGitInfoClass.java /** * Generated by Mavanagaiata ${MAVANAGAIATA_VERSION} at ${TIMESTAMP} */ package ${PACKAGE_NAME}; public final class ${CLASS_NAME} { public static final String COMMIT_ABBREV = "${COMMIT_ABBREV}"; ...
/** * Generated by Mavanagaiata ${MAVANAGAIATA_VERSION} at ${TIMESTAMP} */ package ${PACKAGE_NAME}; public final class ${CLASS_NAME} { public static final String BRANCH = "${BRANCH}"; public static final String COMMIT_ABBREV = "${COMMIT_ABBREV}"; public static final String COMMIT_SHA = "${COMMIT_SHA}...
<|file_sep|>original/src/main/java-template/com/github/koraktor/mavanagaiata/mojo/TemplateGitInfoClass.java /** * Generated by Mavanagaiata ${MAVANAGAIATA_VERSION} at ${TIMESTAMP} */ package ${PACKAGE_NAME}; public final class ${CLASS_NAME} { public static final String COMMIT_ABBREV = "${COMMIT_ABBREV}"; ...
2b758a029f822bf1b6feda99d82fac5260542666
src/main/java-template/com/github/koraktor/mavanagaiata/mojo/TemplateGitInfoClass.java
src/main/java-template/com/github/koraktor/mavanagaiata/mojo/TemplateGitInfoClass.java
Java
<|file_sep|>original/environments/production.rb # This file is for reference only. Actual settings for the production # environment are stored in the build configuation block in config.rb. # # https://middlemanapp.com/basics/upgrade-v4/#environments-and-changes-to-configure-blocks <|file_sep|>current/environments/produ...
# This file is for reference only. Actual settings for the production # environment are stored in the build configuation block in config.rb. # # https://middlemanapp.com/basics/upgrade-v4/#environments-and-changes-to-configure-blocks activate :asset_host, host: "https://d1uwlk5da5dexa.cloudfront.net" activate :asset_h...
<|file_sep|>original/environments/production.rb # This file is for reference only. Actual settings for the production # environment are stored in the build configuation block in config.rb. # # https://middlemanapp.com/basics/upgrade-v4/#environments-and-changes-to-configure-blocks <|file_sep|>current/environments/produ...
13f3fc2b33fd287b05521e63ed6c50efa5c8b569
environments/production.rb
environments/production.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.0 - 2.2.1 - 2.2.2 - jruby-9.0.0.0 - ruby-head jdk: - openjdk7 # for jruby before_script: export JRUBY_OPTS="--server -J-Xss1024k -J-Xmx652m -J-XX:+UseConcMarkSweepGC" matrix: allow_failures: - rvm: ruby-head env: ARUBA_TIMEOUT=120 AHN_ENV=deve...
language: ruby rvm: - 2.2.0 - 2.2.1 - 2.2.2 - jruby-9.0.0.0 - ruby-head jdk: - openjdk7 # for jruby before_script: export JRUBY_OPTS="--server -J-Xss1024k -J-Xmx652m -J-XX:+UseConcMarkSweepGC" matrix: allow_failures: - rvm: ruby-head env: ARUBA_TIMEOUT=120 AHN_ENV=development sudo: false notifications...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.0 - 2.2.1 - 2.2.2 - jruby-9.0.0.0 - ruby-head jdk: - openjdk7 # for jruby before_script: export JRUBY_OPTS="--server -J-Xss1024k -J-Xmx652m -J-XX:+UseConcMarkSweepGC" matrix: allow_failures: - rvm: ruby-head env: ARUBA_TIMEOUT=120 AHN_ENV=deve...
0e48834093c476ec207bbd8cad415492c72f8944
.travis.yml
.travis.yml
YAML
<|file_sep|>src/components/timerPulser/TimerPulser.js.diff original: updated: import Box from '../box'; <|file_sep|>src/components/timerPulser/TimerPulser.js.diff original: console.log(theme[`${size}`]); updated: <|file_sep|>original/src/components/timerPulser/TimerPulser.js import cx from 'classnames'; import th...
import Box from '../box'; import cx from 'classnames'; import theme from './theme.css'; class TimerPulser extends PureComponent { render() { const { className, size, ...others } = this.props; return ( <Box data-teamleader-ui="timer-pulser" className={cx(theme['pulser-container'], theme...
<|file_sep|>src/components/timerPulser/TimerPulser.js.diff original: updated: import Box from '../box'; <|file_sep|>src/components/timerPulser/TimerPulser.js.diff original: console.log(theme[`${size}`]); updated: <|file_sep|>original/src/components/timerPulser/TimerPulser.js import cx from 'classnames'; import th...
99b96d4883db12a307b17fa71276ce7a8594bb7c
src/components/timerPulser/TimerPulser.js
src/components/timerPulser/TimerPulser.js
JavaScript
<|file_sep|>original/Casks/art-directors-toolkit.rb <|file_sep|>current/Casks/art-directors-toolkit.rb <|file_sep|>updated/Casks/art-directors-toolkit.rb
cask :v1 => 'art-directors-toolkit' do version '5.5.1' sha256 '6b15214f4f928d8519836cd6e60b4f72ecf9365ebc2f29a931c32b81babaddff' url "http://www.code-line.com/download/ArtDirectorsToolkit#{version.to_i}i.zip" name 'Art Directors Toolkit' homepage 'http://code-line.com/artdirectorstoolkit' license :commerci...
<|file_sep|>original/Casks/art-directors-toolkit.rb <|file_sep|>current/Casks/art-directors-toolkit.rb <|file_sep|>updated/Casks/art-directors-toolkit.rb cask :v1 => 'art-directors-toolkit' do version '5.5.1' sha256 '6b15214f4f928d8519836cd6e60b4f72ecf9365ebc2f29a931c32b81babaddff' url "http://www.code-line.co...
18288870870635c0f1f9882ca7e050a97f622ed8
Casks/art-directors-toolkit.rb
Casks/art-directors-toolkit.rb
Ruby
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.5 cryptography==2.1.3 PyYAML==3.12 pytest==3.2.3 pytest-runner==3.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0....
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.5 cryptography==2.1.3 PyYAML==3.12 pytest==3.3.2 pytest-runner==3.0
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.5 cryptography==2.1.3 PyYAML==3.12 pytest==3.2.3 pytest-runner==3.0 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0....
30dd048b79e5ae6086513b873707409cf5b80753
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/cinder/tests/functional/__init__.py <|file_sep|>current/cinder/tests/functional/__init__.py <|file_sep|>updated/cinder/tests/functional/__init__.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
<|file_sep|>original/cinder/tests/functional/__init__.py <|file_sep|>current/cinder/tests/functional/__init__.py <|file_sep|>updated/cinder/tests/functional/__init__.py # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may ob...
f7aabc3a0abf0f45d55b31e01fd487d8fc7dc4b4
cinder/tests/functional/__init__.py
cinder/tests/functional/__init__.py
Python
<|file_sep|>original/_includes/header.html <section class="page-header"> <h1 class="project-name"><a href="/" style="color:white;">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> {% for link in site.pages %} {% if link.nav %} <a class="btn" href="{{...
<section class="page-header"> <h1 class="project-name"><a href="/" style="color:white;">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> {% for link in site.pages %} {% if link.nav %} <a class="btn{% if link.url == page.url %}active{% endif %}" href=...
<|file_sep|>original/_includes/header.html <section class="page-header"> <h1 class="project-name"><a href="/" style="color:white;">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> {% for link in site.pages %} {% if link.nav %} <a class="btn" href="{{...
6e0936b7bf531a022f74bc91bf977afd760a1fab
_includes/header.html
_includes/header.html
HTML
<|file_sep|>original/script/ci.sh #!/usr/bin/env bash gem install bundler -v 1.16.0 --no-document --conservative bundle install --jobs 3 --retry 3 bundle exec rake clobber compile test sign_hooks overcommit <|file_sep|>current/script/ci.sh #!/usr/bin/env bash gem install bundler -v 1.16.0 --no-document --conservative...
#!/usr/bin/env bash gem install bundler -v 1.16.0 --no-document --conservative bundle install --jobs 3 --retry 3 --path vendor/bundle bundle exec rake clobber compile test sign_hooks overcommit
<|file_sep|>original/script/ci.sh #!/usr/bin/env bash gem install bundler -v 1.16.0 --no-document --conservative bundle install --jobs 3 --retry 3 bundle exec rake clobber compile test sign_hooks overcommit <|file_sep|>current/script/ci.sh #!/usr/bin/env bash gem install bundler -v 1.16.0 --no-document --conservative...
ab28b2e29d35f34b9b5b85be42112687faeca6dd
script/ci.sh
script/ci.sh
Shell
<|file_sep|>original/spec/models/spree/payment_method_spec.rb PaymentMethod.by_name.should == [pm2, pm3, pm1] end it "raises errors when required fields are missing" do pm = PaymentMethod.new() pm.save pm.errors.to_a.should == ["Name can't be blank", "At least one hub must be selected"...
pm3 = create(:payment_method, name: 'BB') PaymentMethod.by_name.should == [pm2, pm3, pm1] end it "raises errors when required fields are missing" do pm = PaymentMethod.new() pm.save pm.errors.to_a.should == ["Name can't be blank", "At least one hub must be selected"] end ...
<|file_sep|>original/spec/models/spree/payment_method_spec.rb PaymentMethod.by_name.should == [pm2, pm3, pm1] end it "raises errors when required fields are missing" do pm = PaymentMethod.new() pm.save pm.errors.to_a.should == ["Name can't be blank", "At least one hub must be selected"...
51f912033b9d2eb7b667cea855bc71c123730883
spec/models/spree/payment_method_spec.rb
spec/models/spree/payment_method_spec.rb
Ruby
<|file_sep|>.travis.yml.diff original: campfire: updated: slack: <|file_sep|>original/.travis.yml cache: bundler env: matrix: - DEVISE_ORM=mongoid - DEVISE_ORM=active_record before_install: "rm ${BUNDLE_GEMFILE}.lock" before_script: "bundle update" script: "bundle exec rake test" notifications: em...
sudo: false cache: bundler env: matrix: - DEVISE_ORM=mongoid - DEVISE_ORM=active_record before_install: "rm ${BUNDLE_GEMFILE}.lock" before_script: "bundle update" script: "bundle exec rake test" notifications: email: false slack: on_success: change on_failure: always secure: Q3M+kmude3Fj...
<|file_sep|>.travis.yml.diff original: campfire: updated: slack: <|file_sep|>original/.travis.yml cache: bundler env: matrix: - DEVISE_ORM=mongoid - DEVISE_ORM=active_record before_install: "rm ${BUNDLE_GEMFILE}.lock" before_script: "bundle update" script: "bundle exec rake test" notifications: em...
4477bab1aa049d014846cc9ae3e2a5b2690e6520
.travis.yml
.travis.yml
YAML
<|file_sep|>original/js/app.js settings["reminderInterval"] = ""; settings["breakInterval"] = ""; settings["sound"] = ""; chillax.enabled = true; chrome.storage.sync.get(settings, function(obj) { console.log("Settings loaded: " + obj["en...
settings["reminderInterval"] = ""; settings["breakInterval"] = ""; settings["sound"] = ""; chillax.enabled = true; chrome.storage.sync.get(settings, function(obj) { console.log("Settings loaded: " + obj["enabled"]); ...
<|file_sep|>original/js/app.js settings["reminderInterval"] = ""; settings["breakInterval"] = ""; settings["sound"] = ""; chillax.enabled = true; chrome.storage.sync.get(settings, function(obj) { console.log("Settings loaded: " + obj["en...
b9b3603342f7dbc8ce629a7449470469d119e5b0
js/app.js
js/app.js
JavaScript
<|file_sep|>original/guestbook/redis-slave-controller.json "replicaSelector": {"name": "redisslave"}, "podTemplate": { "desiredState": { "manifest": { "version": "v1beta1", "id": "redisSlaveController", "containers": [{ "name": "slave", "...
"podTemplate": { "desiredState": { "manifest": { "version": "v1beta1", "id": "redisSlaveController", "containers": [{ "name": "slave", "image": "brendanburns/redis-slave", "cpu": 200, "ports": [{"containerPort": 6379...
<|file_sep|>original/guestbook/redis-slave-controller.json "replicaSelector": {"name": "redisslave"}, "podTemplate": { "desiredState": { "manifest": { "version": "v1beta1", "id": "redisSlaveController", "containers": [{ "name": "slave", "...
5e7b2b401612d276bce6785a9c4c110b02fef7f7
guestbook/redis-slave-controller.json
guestbook/redis-slave-controller.json
JSON
<|file_sep|>original/requirements.txt molecule==2.13.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.13.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.13.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.13.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.13.1 pytest==3.5.1 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.13.1 pytest==3.5.1 python-vagr...
ec8722fb62846ce2eb66f42819a9171d806061c7
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 before_script: - RAILS_ENV=test rake db:migrate <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 before_script: - RAILS_ENV=test rake db:migrate <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - RAILS_ENV=test rake db:migrate > /dev/null 2>&1
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 before_script: - RAILS_ENV=test rake db:migrate <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 before_script: - RAILS_ENV=test rake db:migrate <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 before_script: - "export DISPLA...
9fc7bde570e5525538c14e2dcf0eea58f920f4e7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CHANGELOG.md # Changelog Note: I'm not mentioning the plethora of functions that I'm adding with every minor version bump. [Take a look at the full function list](https://github.com/grrr-amsterdam/garp-functional/tree/master/library/Garp/Functional). This changelog will only list breaking changes....
# Changelog Note: I'm not mentioning the plethora of functions that I'm adding with every minor version bump. [Take a look at the full function list](https://github.com/grrr-amsterdam/garp-functional/tree/master/library/Garp/Functional). This changelog will only list breaking changes. ## 3.0.0 - Bumped PHP dependenc...
<|file_sep|>original/CHANGELOG.md # Changelog Note: I'm not mentioning the plethora of functions that I'm adding with every minor version bump. [Take a look at the full function list](https://github.com/grrr-amsterdam/garp-functional/tree/master/library/Garp/Functional). This changelog will only list breaking changes....
c0f17937439bb16cb6a973b5a1a5f1b30a031663
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/build.rs use std::io::Command; use std::os; fn main() { let curr_dir = os::getenv("CARGO_MANIFEST_DIR").unwrap(); let nvim_dir = Path::new(curr_dir).join("neovim"); Command::new("make").arg("libnvim").cwd(&nvim_dir).status().unwrap(); let nvim_lib_dir = nvim_dir.join_many(&["build...
use std::io::Command; use std::os; fn main() { let curr_dir = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); Command::new("git").arg("submodule").arg("update").arg("--init").cwd(&curr_dir).status().unwrap(); let nvim_dir = Path::new(curr_dir).join("neovim"); Command::new("make").arg("libnvim")....
<|file_sep|>original/build.rs use std::io::Command; use std::os; fn main() { let curr_dir = os::getenv("CARGO_MANIFEST_DIR").unwrap(); let nvim_dir = Path::new(curr_dir).join("neovim"); Command::new("make").arg("libnvim").cwd(&nvim_dir).status().unwrap(); let nvim_lib_dir = nvim_dir.join_many(&["build...
8e80d59f5b0e00c842d7c27c4a8b7554198b64c4
build.rs
build.rs
Rust
<|file_sep|>original/lib/youtube-track.js <|file_sep|>current/lib/youtube-track.js <|file_sep|>updated/lib/youtube-track.js
var ytdl = require('ytdl-core'); module.exports = YoutubeTrack = function(vid, cb) { var _this = this; var requestUrl = 'http://www.youtube.com/watch?v=' + vid; ytdl.getInfo(requestUrl, (err, info) => { if (err) cb(err, undefined); else { _this.vid = info.vid; _this.title = info.title; ...
<|file_sep|>original/lib/youtube-track.js <|file_sep|>current/lib/youtube-track.js <|file_sep|>updated/lib/youtube-track.js var ytdl = require('ytdl-core'); module.exports = YoutubeTrack = function(vid, cb) { var _this = this; var requestUrl = 'http://www.youtube.com/watch?v=' + vid; ytdl.getInfo(requestUrl, (...
4bbc2eefe6a89f38a5cf2b21a757acc86047b010
lib/youtube-track.js
lib/youtube-track.js
JavaScript
<|file_sep|>original/.travis.yml language: go sudo: false go: - "1.12" - "1.13" - "1.14" - "tip" before_install: - export PATH=$HOME/gopath/bin:$PATH - go get github.com/mattn/goveralls script: - go test -race ./... - go test -coverprofile=coverage.out -cover ./... - goveralls -coverprofile=coverag...
language: go sudo: false go: - "1.12" - "1.13" - "1.14" - "1.15" - "tip" before_install: - export PATH=$HOME/gopath/bin:$PATH - go get github.com/mattn/goveralls script: - go test -race ./... - go test -coverprofile=coverage.out -cover ./... - goveralls -coverprofile=coverage.out -service=travis-...
<|file_sep|>original/.travis.yml language: go sudo: false go: - "1.12" - "1.13" - "1.14" - "tip" before_install: - export PATH=$HOME/gopath/bin:$PATH - go get github.com/mattn/goveralls script: - go test -race ./... - go test -coverprofile=coverage.out -cover ./... - goveralls -coverprofile=coverag...
b4ec9e7066d9d19912ba1839e226f9d27372a642
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/catalog/index.html.erb.diff original: <% title "Catalog" %> updated: <% title 'Catalog' %> <|file_sep|>app/views/catalog/index.html.erb.diff original: <div id = 'models_available'> <% if @eq_models_by_category.empty? %> <%= render partial: 'no_equipment' %> <% else %> updated: <div id="models_av...
<div id="pagination_line" class="col-md-12"> <%# for kaminari pagination %> <%= paginate @page_eq_models_by_category, params: { controller: 'catalog', action: 'index' } %> <%= form_tag update_user_per_cat_page_path, id: 'items_per_form', class: 'form-inline pull...
<|file_sep|>app/views/catalog/index.html.erb.diff original: <% title "Catalog" %> updated: <% title 'Catalog' %> <|file_sep|>app/views/catalog/index.html.erb.diff original: <div id = 'models_available'> <% if @eq_models_by_category.empty? %> <%= render partial: 'no_equipment' %> <% else %> updated: <div id="models_av...
48797cdce6071fb21994c8d60d4015804b674b2d
app/views/catalog/index.html.erb
app/views/catalog/index.html.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: before_script: updated: cache: cargo install: <|file_sep|>original/.travis.yml language: rust sudo: true dist: trusty before_script: - wget http://archive.ubuntu.com/ubuntu/pool/universe/c/capnproto/libcapnp-0.5.3_0.5.3-2ubuntu1_amd64.deb - wget http://archive.ubuntu.com/ubun...
language: rust sudo: true dist: trusty cache: cargo install: - wget http://archive.ubuntu.com/ubuntu/pool/universe/c/capnproto/libcapnp-0.5.3_0.5.3-2ubuntu1_amd64.deb - wget http://archive.ubuntu.com/ubuntu/pool/universe/c/capnproto/capnproto_0.5.3-2ubuntu1_amd64.deb - sudo dpkg -i libcapnp-0.5.3_0.5.3-2ubuntu1_...
<|file_sep|>.travis.yml.diff original: before_script: updated: cache: cargo install: <|file_sep|>original/.travis.yml language: rust sudo: true dist: trusty before_script: - wget http://archive.ubuntu.com/ubuntu/pool/universe/c/capnproto/libcapnp-0.5.3_0.5.3-2ubuntu1_amd64.deb - wget http://archive.ubuntu.com/ubun...
388fe85e832839dfd3c00f7f2d3bf3a836be03c3
.travis.yml
.travis.yml
YAML
<|file_sep|>Jappy.activity/Makefile.diff original: library: updated: compile: <|file_sep|>Jappy.activity/Makefile.diff original: tags: updated: <|file_sep|>original/Jappy.activity/Makefile library: rapydscript compile -b lib/jappy.pyj > lib/baselib.js tags: cat code_editor.tag.html | riot --stdin --config js/riot.co...
compile: rapydscript compile -b lib/jappy.pyj > lib/baselib.js cat code_editor.tag.html | riot --stdin --config js/riot.config.js --stdout > js/codeeditor.js cat toolbar.tag.html | riot --stdin --config js/riot.config.js --stdout > js/toolbar.js dist_xo: python setup.py dist_xo
<|file_sep|>Jappy.activity/Makefile.diff original: library: updated: compile: <|file_sep|>Jappy.activity/Makefile.diff original: tags: updated: <|file_sep|>original/Jappy.activity/Makefile library: rapydscript compile -b lib/jappy.pyj > lib/baselib.js tags: cat code_editor.tag.html | riot --stdin --config js/riot.co...
5ca8917b349cf410b5a484c3720c62cd6a19f801
Jappy.activity/Makefile
Jappy.activity/Makefile
unknown
<|file_sep|>original/requirements.txt ghp-import==0.5.4 Markdown==2.6.7 pelican==3.7.1 html2text==2016.9.19 <|file_sep|>current/requirements.txt ghp-import==0.5.4 Markdown==2.6.7 pelican==3.7.1 html2text==2016.9.19 <|file_sep|>updated/requirements.txt
ghp-import==0.5.4 Markdown==2.6.8 pelican==3.7.1 html2text==2016.9.19
<|file_sep|>original/requirements.txt ghp-import==0.5.4 Markdown==2.6.7 pelican==3.7.1 html2text==2016.9.19 <|file_sep|>current/requirements.txt ghp-import==0.5.4 Markdown==2.6.7 pelican==3.7.1 html2text==2016.9.19 <|file_sep|>updated/requirements.txt ghp-import==0.5.4 Markdown==2.6.8 pelican==3.7.1 html2text==2016.9.1...
c0992fb2fb12819c2a8f827574236bf483edc454
requirements.txt
requirements.txt
Text
<|file_sep|>original/build/scripts/CI/deploy.sh #!/bin/bash set -e # Find all the changed containers CHANGED_CONTAINERS=$(git diff --name-only master | grep 'build\/docker' | sed -e 's/build\/docker\///' | sed -e 's/\/Dockerfile//'); make deploy-container-nginx <|file_sep|>current/build/scripts/CI/deploy.sh #!/bin/b...
#!/bin/bash set -e # Sassc installs to ${HOME}/${BIN}. More generally, new binaries should probably # go here anyway. export PATH="${PATH}:${HOME}/bin" # Find all the changed containers CHANGED_CONTAINERS=$(git diff --name-only master | grep 'build\/docker' | sed -e 's/build\/docker\///' | sed -e 's/\/Dockerfile//')...
<|file_sep|>original/build/scripts/CI/deploy.sh #!/bin/bash set -e # Find all the changed containers CHANGED_CONTAINERS=$(git diff --name-only master | grep 'build\/docker' | sed -e 's/build\/docker\///' | sed -e 's/\/Dockerfile//'); make deploy-container-nginx <|file_sep|>current/build/scripts/CI/deploy.sh #!/bin/b...
ef00ef35cd772c23bae7f5ef6a1672ff1d21d088
build/scripts/CI/deploy.sh
build/scripts/CI/deploy.sh
Shell
<|file_sep|>original/tools/generateDataset.py import sys import time from unrealcv import client class Dataset(object): def __init__(self,folder,nberOfImages): self.folder=folder self.nberOfImages=nberOfImages self.client.connect() def scan(): try: p=self.client....
import sys import time from unrealcv import client class Dataset(object): def __init__(self,folder,nberOfImages): self.folder=folder self.nberOfImages=nberOfImages self.client.connect() def scan(): try: p=self.client.request('vget /camera/0/lit') a=p....
<|file_sep|>original/tools/generateDataset.py import sys import time from unrealcv import client class Dataset(object): def __init__(self,folder,nberOfImages): self.folder=folder self.nberOfImages=nberOfImages self.client.connect() def scan(): try: p=self.client....
c5f75072707dbe9a723ffbff71ab01d0519b6baa
tools/generateDataset.py
tools/generateDataset.py
Python
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 - 0.8 - 0.10 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 - 0.8 - 0.10 <|file_sep|>updated/.travis.yml
language: node_js node_js: - '0.8' - '0.10'
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 - 0.8 - 0.10 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 - 0.8 - 0.10 <|file_sep|>updated/.travis.yml language: node_js node_js: - '0.8' - '0.10'
e1065489bc1e3a80f878fd391bce6aee48bb4aa1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/example/transaction_example.php <|file_sep|>current/example/transaction_example.php <|file_sep|>updated/example/transaction_example.php
<?php require_once __DIR__ . '/../vendor/autoload.php'; use Dazzle\Loop\Model\SelectLoop; use Dazzle\Loop\Loop; use Dazzle\Redis\Redis; $loop = new Loop(new SelectLoop()); //create a new redis client $endpoint = @$argv[1]?:'tcp://127.0.0.1:6379'; $redis = new Redis($endpoint, $loop); $redis->on('start', function (Re...
<|file_sep|>original/example/transaction_example.php <|file_sep|>current/example/transaction_example.php <|file_sep|>updated/example/transaction_example.php <?php require_once __DIR__ . '/../vendor/autoload.php'; use Dazzle\Loop\Model\SelectLoop; use Dazzle\Loop\Loop; use Dazzle\Redis\Redis; $loop = new Loop(new Se...
ea179110daad1ce19415b2388d293f187d058817
example/transaction_example.php
example/transaction_example.php
PHP
<|file_sep|>original/README.md # angular2-eclipse [![Build Status](https://secure.travis-ci.org/angelozerr/angular2-eclipse.png)](http://travis-ci.org/angelozerr/angular2-eclipse) Angular2 Eclipse Plugin <|file_sep|>current/README.md # angular2-eclipse [![Build Status](https://secure.travis-ci.org/angelozerr/angular...
# angular2-eclipse [![Build Status](https://secure.travis-ci.org/angelozerr/angular2-eclipse.png)](http://travis-ci.org/angelozerr/angular2-eclipse) Angular2 Eclipse Plugin is based on [typescript.java](https://github.com/angelozerr/typescript.java). Today this project is just a POC, you benefit with TypeScript feat...
<|file_sep|>original/README.md # angular2-eclipse [![Build Status](https://secure.travis-ci.org/angelozerr/angular2-eclipse.png)](http://travis-ci.org/angelozerr/angular2-eclipse) Angular2 Eclipse Plugin <|file_sep|>current/README.md # angular2-eclipse [![Build Status](https://secure.travis-ci.org/angelozerr/angular...
b3064d6f021cfa0d659bf55ecd3bb9673ece2784
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt flake8==3.3.0 hypothesis==3.12.0 isort==4.2.15 mypy==0.520 pytest==3.1.3 pytest-cov==2.5.1 sphinx==1.6.3 <|file_sep|>current/requirements.txt flake8==3.3.0 hypothesis==3.12.0 isort==4.2.15 mypy==0.520 pytest==3.1.3 pytest-cov==2.5.1 sphinx==1.6.3 <|file_sep|>updated/requirements.tx...
flake8==3.3.0 hypothesis==3.13.0 isort==4.2.15 mypy==0.520 pytest==3.1.3 pytest-cov==2.5.1 sphinx==1.6.3
<|file_sep|>original/requirements.txt flake8==3.3.0 hypothesis==3.12.0 isort==4.2.15 mypy==0.520 pytest==3.1.3 pytest-cov==2.5.1 sphinx==1.6.3 <|file_sep|>current/requirements.txt flake8==3.3.0 hypothesis==3.12.0 isort==4.2.15 mypy==0.520 pytest==3.1.3 pytest-cov==2.5.1 sphinx==1.6.3 <|file_sep|>updated/requirements.tx...
fc9ddf5e2b39e95a110cad6a3f4080e7d411511f
requirements.txt
requirements.txt
Text
<|file_sep|>original/appveyor.yml after_build: - ps: .\appveyor\Push-PrefastResultsToAppveyor.ps1 test: assemblies: - '**\Sarif.UnitTests.dll' - '**\Sarif.Driver.UnitTests.dll' - '**\Sarif.FunctionalTests.dll' - '**\Sarif.ValidationTests.dll' notifications: - provider: Email to: - vsar...
after_build: - ps: .\appveyor\Push-PrefastResultsToAppveyor.ps1 test: assemblies: - '**\Sarif.UnitTests.dll' - '**\Sarif.Driver.UnitTests.dll' - '**\Sarif.FunctionalTests.dll' - '**\Sarif.ValidationTests.dll' - '**\Sarif.Viewer.VisualStudio.UnitTests.dll' notifications: - provider: Email ...
<|file_sep|>original/appveyor.yml after_build: - ps: .\appveyor\Push-PrefastResultsToAppveyor.ps1 test: assemblies: - '**\Sarif.UnitTests.dll' - '**\Sarif.Driver.UnitTests.dll' - '**\Sarif.FunctionalTests.dll' - '**\Sarif.ValidationTests.dll' notifications: - provider: Email to: - vsar...
737a0be516d8e1848be31974d708aea0c77b3abc
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/openjdk:8-jdk working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew dependencies --no-para...
version: 2 jobs: build: docker: - image: circleci/openjdk:8-jdk working_directory: ~/repo environment: _JAVA_OPTIONS: -Xmx2048m steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew dependencies --...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/openjdk:8-jdk working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} - run: ./gradlew dependencies --no-para...
0bbe6c21613ab4c00297b8c4df88a022b9dedb55
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/README.md git-amend-old ============= Bash script to amend older commits with staged changes. Think of it like `git commit --amend`, but for older commits. Special thanks to [@VonC](https://github.com/VonC) for [this StackOverflow answer](http://stackoverflow.com/a/3940887/158766) which provided...
git-amend-old ============= Bash script to amend older commits with staged changes. Think of it like `git commit --amend`, but for older commits. Special thanks to [@VonC](https://github.com/VonC) for [this StackOverflow answer](http://stackoverflow.com/a/3940887/158766) which provided the basis for this script. **...
<|file_sep|>original/README.md git-amend-old ============= Bash script to amend older commits with staged changes. Think of it like `git commit --amend`, but for older commits. Special thanks to [@VonC](https://github.com/VonC) for [this StackOverflow answer](http://stackoverflow.com/a/3940887/158766) which provided...
364cd2462e239192db8ac2520ec8f45b48bf171c
README.md
README.md
Markdown
<|file_sep|>original/molo/core/migrations/0071_remove_old_image_hashes.py <|file_sep|>current/molo/core/migrations/0071_remove_old_image_hashes.py <|file_sep|>updated/molo/core/migrations/0071_remove_old_image_hashes.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations def delete_imageinfo(apps, schema_editor): ImageInfo = apps.get_model('core.ImageInfo') ImageInfo.objects.all().delete() class Migration(migrations.Migration): dependencies = [ ('core', '00...
<|file_sep|>original/molo/core/migrations/0071_remove_old_image_hashes.py <|file_sep|>current/molo/core/migrations/0071_remove_old_image_hashes.py <|file_sep|>updated/molo/core/migrations/0071_remove_old_image_hashes.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, mig...
d7c3bf6f7176f595198c078003a1fc8e8f50ea0f
molo/core/migrations/0071_remove_old_image_hashes.py
molo/core/migrations/0071_remove_old_image_hashes.py
Python
<|file_sep|>original/README.rst aiodcard ============== Dcard crawler using asyncio(coroutine) Feature ------- | Get article list and content using coroutine Dependencies ------------ * Python 3.3 and :mod:`asyncio` or Python 3.4+ * aiohttp Installation ------------ :: <|file_sep|>current/README.rst aiodcard ==...
aiodcard ============== [![Build Status](https://travis-ci.org/carlcarl/aiodcard.svg?branch=master)](https://travis-ci.org/carlcarl/aiodcard) [![Coverage Status](https://coveralls.io/repos/carlcarl/aiodcard/badge.svg?branch=master&service=github)](https://coveralls.io/github/carlcarl/aiodcard?branch=master) Dcard cra...
<|file_sep|>original/README.rst aiodcard ============== Dcard crawler using asyncio(coroutine) Feature ------- | Get article list and content using coroutine Dependencies ------------ * Python 3.3 and :mod:`asyncio` or Python 3.4+ * aiohttp Installation ------------ :: <|file_sep|>current/README.rst aiodcard ==...
1e3a9b2452f0c878bff1591cb1149e65da306d38
README.rst
README.rst
reStructuredText
<|file_sep|>original/views/line_editor.jade append scripts script. var mapId = "#{mapid}" var competitionId = "#{compid}" script(src="/components/angularjs-slider/dist/rzslider.min.js") script(src="/javascripts/lvl-uuid.js") script(src="/javascripts/line_editor.js") append css link(href="/components...
script. var mapId = "#{mapid}" var competitionId = "#{compid}" script(src="/components/angularjs-slider/dist/rzslider.min.js") script(src="/javascripts/lvl-uuid.js") script(src="/javascripts/line_editor.js") append css link(href="/components/angularjs-slider/dist/rzslider.min.css" rel="stylesheet") ...
<|file_sep|>original/views/line_editor.jade append scripts script. var mapId = "#{mapid}" var competitionId = "#{compid}" script(src="/components/angularjs-slider/dist/rzslider.min.js") script(src="/javascripts/lvl-uuid.js") script(src="/javascripts/line_editor.js") append css link(href="/components...
df66cf405a9d83300e92865232546ac33199fc0a
views/line_editor.jade
views/line_editor.jade
Jade
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/lbdremy/solr-node-client" }, "engines": { "node": ">= 0.4.7" }, "dependencies": { "JSONStream": "~0.7.1", "duplexer": "~0.1.1", "request": "~2.33.0" }, "devDependencies": { "nock": "0.12...
"type": "git", "url": "https://github.com/lbdremy/solr-node-client" }, "engines": { "node": ">= 0.4.7" }, "dependencies": { "JSONStream": "~0.7.1", "duplexer": "~0.1.1", "request": "~2.33.0" }, "devDependencies": { "chai": "~1.3.0 ", "csv-stream": "^0.1.3", "mocha": "~1.6...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/lbdremy/solr-node-client" }, "engines": { "node": ">= 0.4.7" }, "dependencies": { "JSONStream": "~0.7.1", "duplexer": "~0.1.1", "request": "~2.33.0" }, "devDependencies": { "nock": "0.12...
847a580c382401dba18baa6a49b5e410ad6aec4c
package.json
package.json
JSON
<|file_sep|>original/.github/no-response.yml # Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an issue is closed for lack of response. daysUntilClose: 21 # Label requiring a response. responseRequiredLabel: "need-info" # Comment to post when closing...
# Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an issue is closed for lack of response. daysUntilClose: 21 # Label requiring a response. responseRequiredLabel: "needs-info" # Comment to post when closing an Issue for lack of response. closeComment...
<|file_sep|>original/.github/no-response.yml # Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an issue is closed for lack of response. daysUntilClose: 21 # Label requiring a response. responseRequiredLabel: "need-info" # Comment to post when closing...
4d8e48c3392d3fa6ae94241dc03d60e9e21f8fda
.github/no-response.yml
.github/no-response.yml
YAML
<|file_sep|>original/blueprints/ember-frost-popover/index.js const blueprintHelper = require('ember-frost-core/blueprint-helper') module.exports = { afterInstall: function (options) { const addonsToAdd = [ {name: 'ember-frost-core', target: '^1.14.3'}, {name: 'ember-prop-types', target: '^3.0.0'} ...
const blueprintHelper = require('ember-frost-core/blueprint-helper') module.exports = { afterInstall: function (options) { const addonsToAdd = [ {name: 'ember-frost-core', target: '^1.14.3'} ] // Get the packages installed in the consumer app/addon. Packages that are already installed in the consu...
<|file_sep|>original/blueprints/ember-frost-popover/index.js const blueprintHelper = require('ember-frost-core/blueprint-helper') module.exports = { afterInstall: function (options) { const addonsToAdd = [ {name: 'ember-frost-core', target: '^1.14.3'}, {name: 'ember-prop-types', target: '^3.0.0'} ...
406595d10d8da791685bbadab7d8a84f8ac2e91c
blueprints/ember-frost-popover/index.js
blueprints/ember-frost-popover/index.js
JavaScript
<|file_sep|>original/config/autoload/global.php <?php return [ 'module_layouts' => [ 'ZfcUser' => 'layout/layout-small-header.phtml', 'ZfModule' => 'layout/layout-small-header.phtml', ], 'asset_manager' => [ 'caching' => [ 'default' => [ 'cache' => 'Fi...
<?php return [ 'module_layouts' => [ 'User' => 'layout/layout-small-header.phtml', 'ZfcUser' => 'layout/layout-small-header.phtml', 'ZfModule' => 'layout/layout-small-header.phtml', ], 'asset_manager' => [ 'caching' => [ 'default' => [ 'cache' ...
<|file_sep|>original/config/autoload/global.php <?php return [ 'module_layouts' => [ 'ZfcUser' => 'layout/layout-small-header.phtml', 'ZfModule' => 'layout/layout-small-header.phtml', ], 'asset_manager' => [ 'caching' => [ 'default' => [ 'cache' => 'Fi...
e0ea54540fe43172a00af7f89c2abbf842408294
config/autoload/global.php
config/autoload/global.php
PHP
<|file_sep|>original/freelancefinder/remotes/tests/test_tasks.py """Ensure that setup makes some tasks/schedules.""" setup_periodic_tasks(None) intervals = IntervalSchedule.objects.all().count() tasks = PeriodicTask.objects.all().count() assert intervals > 0 assert tasks > 0 def test_harvest_...
mocker.patch('feedparser.parse', side_effect=lambda x: fossjobs_rss_feed) Source.objects.all().delete() Source.objects.create(code='fossjobs', name='FossJobs', url='http://test.example.com/') pre_posts = Post.objects.all().count() harvest_sources() post_posts = Post.objects.all().count() a...
<|file_sep|>original/freelancefinder/remotes/tests/test_tasks.py """Ensure that setup makes some tasks/schedules.""" setup_periodic_tasks(None) intervals = IntervalSchedule.objects.all().count() tasks = PeriodicTask.objects.all().count() assert intervals > 0 assert tasks > 0 def test_harvest_...
0656b4c1be9820f3cd096359cd8817153f2e0b81
freelancefinder/remotes/tests/test_tasks.py
freelancefinder/remotes/tests/test_tasks.py
Python
<|file_sep|>original/.travis.yml language: python python: - 3.3 - 3.4 - pypy3 env: - secure: "jZVzNDRii4P1ay6FIlzMbuIVE2u4o4trSwWD09G0MVLv1PLbv05a4ToDjwYv7b8hcOeTIUAUHtTNaaIwuPf256OUhpmRoROy/XkdShZGh5pw4RrTH2Pgo3hxjRN011AzcUmVoiw68hYHSN9yzVZHhtVrKKwXP2H96Aae6BTmCPA=" services: - redis-server install: - pip install -f h...
language: python sudo: false python: - 3.3 - 3.4 - pypy3 env: - secure: "jZVzNDRii4P1ay6FIlzMbuIVE2u4o4trSwWD09G0MVLv1PLbv05a4ToDjwYv7b8hcOeTIUAUHtTNaaIwuPf256OUhpmRoROy/XkdShZGh5pw4RrTH2Pgo3hxjRN011AzcUmVoiw68hYHSN9yzVZHhtVrKKwXP2H96Aae6BTmCPA=" services: - redis-server install: - pip install -f https://github.com/spo...
<|file_sep|>original/.travis.yml language: python python: - 3.3 - 3.4 - pypy3 env: - secure: "jZVzNDRii4P1ay6FIlzMbuIVE2u4o4trSwWD09G0MVLv1PLbv05a4ToDjwYv7b8hcOeTIUAUHtTNaaIwuPf256OUhpmRoROy/XkdShZGh5pw4RrTH2Pgo3hxjRN011AzcUmVoiw68hYHSN9yzVZHhtVrKKwXP2H96Aae6BTmCPA=" services: - redis-server install: - pip install -f h...
fd7304ff8525daac37b9611437ae1b2f6ad7c15c
.travis.yml
.travis.yml
YAML