prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>.travis.yml.diff original: updated: # Use Travis's container based infrastructure <|file_sep|>.travis.yml.diff original: language: ruby cache: bundler bundler_args: --without development kitchen_docker kitchen_vagrant rvm: - 2.1.4 updated: addons: apt: sources: - chef-current-precise packag...
only: - master # Ensure we make ChefDK's Ruby the default before_script: - eval "$(/opt/chefdk/bin/chef shell-init bash)" # We have to install chef-sugar for ChefSpec - /opt/chefdk/embedded/bin/chef gem install chef-sugar script: - /opt/chefdk/embedded/bin/chef --version - /opt/chefdk/embedded/bin/coo...
<|file_sep|>.travis.yml.diff original: updated: # Use Travis's container based infrastructure <|file_sep|>.travis.yml.diff original: language: ruby cache: bundler bundler_args: --without development kitchen_docker kitchen_vagrant rvm: - 2.1.4 updated: addons: apt: sources: - chef-current-precise packag...
8ab4e1d30ce64e9b2f033225fe0946720d3f468b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: python python: 3.5 cache: directories: - $HOME/.cache/pip env: global: - DATABASE_URL="mysql://root:@localhost/test_bliski_publikator" matrix: - TOX_ENV=py27-dj19 - TOX_ENV=py27-djmaster - TOX_ENV=py34-dj19 - TOX_ENV=py34-djmaster - TOX_ENV...
language: python python: 3.3 cache: directories: - $HOME/.cache/pip env: global: - DATABASE_URL="mysql://root:@localhost/test_bliski_publikator" matrix: - TOX_ENV=py27-dj19 - TOX_ENV=py27-djmaster - TOX_ENV=py34-dj19 - TOX_ENV=py34-djmaster - TOX_ENV=py35-dj19 - TOX_ENV=py35-djm...
<|file_sep|>original/.travis.yml language: python python: 3.5 cache: directories: - $HOME/.cache/pip env: global: - DATABASE_URL="mysql://root:@localhost/test_bliski_publikator" matrix: - TOX_ENV=py27-dj19 - TOX_ENV=py27-djmaster - TOX_ENV=py34-dj19 - TOX_ENV=py34-djmaster - TOX_ENV...
70d1c9ac8f7d36e08a6c562479302aa399ddc57a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/deployments/genomics-su2019/secrets/prod.yaml GITCRYPT$B/Um{EU>Rlӝ%% 1 uH[̴9^B7 '<yui߹$j,h-x`K! ·45KMi JZJ<j,!Y6fN`mބYkaZ{6>in 9hRW*0n;Ρq~߬CY;īԯ60e, x"o p 9(ϒޙaϱPVջ]ZfIM9e=18uג"'_ ?b&mڥ؉Уy4)`'dh42ѨeVc5ᄞÊ| :#FT#=2 ]YV]ّcjnZtJD2Bu/zwi?<ˁ+$un,̀ [hj۷֎zAk ...
GITCRYPTD!߰T-= :|z?7@crݾzv e-d¬ҷ_Y-N#4hdUkq xꧼX27a` BWZj<h/=vNtUtU>%$[賓%Av5$a6)u$" Y<a;3ćZR amX嬵Z:l9U|/ N6~dUfgT  'dg1T//V*XIIb"EHj/P? zR5ntUH_~iqrTϣ3En/zpqu/ 4ܲܬ@!a @ǔ dZ͏iL{ Wt0 U P[//eT?9M,v-tɉSA+b4Tu΄N mP i35W6 3N|[: /1yႱ)Jd|7o]Ǫ6w*Y5bM Fe-!HumDžE...
<|file_sep|>original/deployments/genomics-su2019/secrets/prod.yaml GITCRYPT$B/Um{EU>Rlӝ%% 1 uH[̴9^B7 '<yui߹$j,h-x`K! ·45KMi JZJ<j,!Y6fN`mބYkaZ{6>in 9hRW*0n;Ρq~߬CY;īԯ60e, x"o p 9(ϒޙaϱPVջ]ZfIM9e=18uג"'_ ?b&mڥ؉Уy4)`'dh42ѨeVc5ᄞÊ| :#FT#=2 ]YV]ّcjnZtJD2Bu/zwi?<ˁ+$un,̀ [hj۷֎zAk ...
34d607684f3959970f221da3d9d2f7a474c7b5d3
deployments/genomics-su2019/secrets/prod.yaml
deployments/genomics-su2019/secrets/prod.yaml
YAML
<|file_sep|>templates/html/brightcove_video_edit.html.diff original: updated: <script id="metadata-editor-tpl" type="text/template">// JS crashes when empty //</script> <|file_sep|>templates/html/brightcove_video_edit.html.diff original: <li class="field comp-setting-entry metadata_entry is-set"> updated: ...
<script id="metadata-editor-tpl" type="text/template">// JS crashes when empty //</script> <ul class="list-input settings-list"> <li class="field comp-setting-entry is-set"> <div class="wrapper-comp-setting"> <label class="label setting-label" for="video-href">Brightcove video URL</label...
<|file_sep|>templates/html/brightcove_video_edit.html.diff original: updated: <script id="metadata-editor-tpl" type="text/template">// JS crashes when empty //</script> <|file_sep|>templates/html/brightcove_video_edit.html.diff original: <li class="field comp-setting-entry metadata_entry is-set"> updated: ...
efad6792fd8b3a3286340d909b8e3befa951a862
templates/html/brightcove_video_edit.html
templates/html/brightcove_video_edit.html
HTML
<|file_sep|>original/Language/Hakaru/RoundTrip.hs -- This internal module is used by Language.Hakaru.Simplify to parse strings -- as Hakaru code. It exports just the names that those strings may use. module Language.Hakaru.RoundTrip ( ()(..), (,)(..), Either(..), Bool(..), Num(..) , Fractional(..), Floating(..),...
-- This internal module is used by Language.Hakaru.Simplify to parse strings -- as Hakaru code. It exports just the names that those strings may use. module Language.Hakaru.RoundTrip ( ()(..), (,)(..), Either(..), Bool(..), Int(..), Num(..) , Fractional(..), Floating(..), ($), Any(Any), (^^) , module Language....
<|file_sep|>original/Language/Hakaru/RoundTrip.hs -- This internal module is used by Language.Hakaru.Simplify to parse strings -- as Hakaru code. It exports just the names that those strings may use. module Language.Hakaru.RoundTrip ( ()(..), (,)(..), Either(..), Bool(..), Num(..) , Fractional(..), Floating(..),...
cc7b19fb6d546a83af9c8cf58ec0ab0ec6684478
Language/Hakaru/RoundTrip.hs
Language/Hakaru/RoundTrip.hs
Haskell
<|file_sep|>original/core/Sprite.qml /// base sprite object Image { property int offsetX; ///< sprite horizontal offset property int offsetY; ///< sprite vertical offset fillMode: Image.Tile; ///< sprite image filling mode onOffsetYChanged, onOffsetXChanged: { this.style('background-position', '-' + this.offset...
/// base sprite object Image { property int offsetX; ///< sprite horizontal offset property int offsetY; ///< sprite vertical offset fillMode: Image.Tile; ///< sprite image filling mode horizontalAlignment: Image.AlignLeft; onOffsetYChanged, onOffsetXChanged: { this.style('background-position', '-' + this.offs...
<|file_sep|>original/core/Sprite.qml /// base sprite object Image { property int offsetX; ///< sprite horizontal offset property int offsetY; ///< sprite vertical offset fillMode: Image.Tile; ///< sprite image filling mode onOffsetYChanged, onOffsetXChanged: { this.style('background-position', '-' + this.offset...
3c5c72112e95a13000a3e2edecddad111abb1fb6
core/Sprite.qml
core/Sprite.qml
QML
<|file_sep|>original/gradle.properties VERSION_NAME=5.4.3 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
VERSION_NAME=5.4.4-SNAPSHOT POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=scm:git:http://github.com/mixpan...
<|file_sep|>original/gradle.properties VERSION_NAME=5.4.3 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
2f9f293cfdb7c500a2308cc0ad05990752109ecd
gradle.properties
gradle.properties
INI
<|file_sep|>original/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml <|file_sep|>current/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml <|file_sep|>updated/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml
## YAML Template. --- Ms\OauthBundle\Entity\AuthorizationCodeScope: type: entity table: authorization_code_scopes id: id: type: smallint generator: { strategy: AUTO } fields: title: type: string length: 64
<|file_sep|>original/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml <|file_sep|>current/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml <|file_sep|>updated/src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml ## YAML Template. --- Ms\Oaut...
6a0c4f9277997bce53595f1d7d6c56767a537f30
src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml
src/Ms/OauthBundle/Resources/config/doctrine/AuthorizationCodeScope.orm.yml
YAML
<|file_sep|>packages/ma/manifold-random.yaml.diff original: hash: 2b94e6f1ad70fcb90646e283f2b92159ba43f5cc35a0346767e8abf0ad3a5afa updated: hash: f5e53d38556fbd9d996d8f38b1f50d996de530ba6bdf9bc4b807a621c0339f78 <|file_sep|>packages/ma/manifold-random.yaml.diff original: manifolds: ==0.4.1.0 updated: manifolds: ==0....
synopsis: Sampling random points on general manifolds. changelog: '' basic-deps: linearmap-category: -any base: ! '>=4.7 && <5' vector-space: -any semigroups: -any manifolds: ==0.4.4.0 random-fu: ! '>=0.2 && <0.3' constrained-categories: -any all-versions: - '0.1.1.0' - '0.3.0.0' - '0.4.0.0' - '0.4.1.0' -...
<|file_sep|>packages/ma/manifold-random.yaml.diff original: hash: 2b94e6f1ad70fcb90646e283f2b92159ba43f5cc35a0346767e8abf0ad3a5afa updated: hash: f5e53d38556fbd9d996d8f38b1f50d996de530ba6bdf9bc4b807a621c0339f78 <|file_sep|>packages/ma/manifold-random.yaml.diff original: manifolds: ==0.4.1.0 updated: manifolds: ==0....
df65ae14fe09af99095a152414ce95855af2d675
packages/ma/manifold-random.yaml
packages/ma/manifold-random.yaml
YAML
<|file_sep|>kyoto/tests/test_client.py.diff original: def test_invalid_service_name_type(self): updated: def test_invalid_module_name_type(self): <|file_sep|>original/kyoto/tests/test_client.py def setUp(self): self.address = ('localhost', 1337) self.server = kyoto.server.BertRPCServer([kyo...
def setUp(self): self.address = ('localhost', 1337) self.server = kyoto.server.BertRPCServer([kyoto.tests.dummy]) self.server.start() self.service = kyoto.client.Service(self.address, ":dummy") def test_invalid_module_name_type(self): with self.assertRaises(ValueError):...
<|file_sep|>kyoto/tests/test_client.py.diff original: def test_invalid_service_name_type(self): updated: def test_invalid_module_name_type(self): <|file_sep|>original/kyoto/tests/test_client.py def setUp(self): self.address = ('localhost', 1337) self.server = kyoto.server.BertRPCServer([kyo...
ee2db892b4dafa33115779166773e248c17a1b43
kyoto/tests/test_client.py
kyoto/tests/test_client.py
Python
<|file_sep|>original/pkgs/available/squid.sh SQUID_VERSION="4.10" SQUID_SHA256SUM="df0685e851a1b68eede3790423986e30f4e162e9f7cd1cf92dbea65177201c8f" getpkg http://www.squid-cache.org/Versions/v4/squid-${SQUID_VERSION}.tar.gz $SQUID_SHA256SUM tar zxf squid-${SQUID_VERSION}.tar.gz cd squid-${SQUID_VERSION} ./configure -...
SQUID_VERSION="4.10" SQUID_SHA256SUM="df0685e851a1b68eede3790423986e30f4e162e9f7cd1cf92dbea65177201c8f" getpkg http://www.squid-cache.org/Versions/v4/squid-${SQUID_VERSION}.tar.gz $SQUID_SHA256SUM tar zxf squid-${SQUID_VERSION}.tar.gz cd squid-${SQUID_VERSION} ./configure --prefix=$VENV --disable-auth --with-krb5-conf...
<|file_sep|>original/pkgs/available/squid.sh SQUID_VERSION="4.10" SQUID_SHA256SUM="df0685e851a1b68eede3790423986e30f4e162e9f7cd1cf92dbea65177201c8f" getpkg http://www.squid-cache.org/Versions/v4/squid-${SQUID_VERSION}.tar.gz $SQUID_SHA256SUM tar zxf squid-${SQUID_VERSION}.tar.gz cd squid-${SQUID_VERSION} ./configure -...
74a2dfef8ff42097d019454d5d60dfbef756455a
pkgs/available/squid.sh
pkgs/available/squid.sh
Shell
<|file_sep|>original/config/initializers/cors.rb Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins '*' resource '/api/*', methods: :any, headers: 'Origin, X-Requested-With, Content-Type, Accept, Authorization', expose: 'X-Filename', if: Proc.new { |env...
Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins '*' resource '/api/*', methods: :any, headers: :any, expose: 'X-Filename', if: Proc.new { |env| req = Rack::Request.new(env) if /\A\/api\/v3\/runs\/\w+\z/.match?(req.path) && req.delete...
<|file_sep|>original/config/initializers/cors.rb Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins '*' resource '/api/*', methods: :any, headers: 'Origin, X-Requested-With, Content-Type, Accept, Authorization', expose: 'X-Filename', if: Proc.new { |env...
b714cf5e659d947e8e55b64dd6ec7179f5d7d046
config/initializers/cors.rb
config/initializers/cors.rb
Ruby
<|file_sep|>original/README.md 'create_gist' ] # Make the client id and secret available to the server. c.NotebookApp.oauth_client_id = "my_client_id" # FIXME c.NotebookApp.oauth_client_secret = "my_client_secret" # FIXME # Load the js extension and set some config values cm = ConfigManager() cm.update('n...
] # Make the client id and secret available to the server. c.NotebookApp.oauth_client_id = "my_client_id" # FIXME c.NotebookApp.oauth_client_secret = "my_client_secret" # FIXME # Load the js extension and set some config values cm = ConfigManager() cm.update('notebook', {"load_extensions": {"gist": True}}) #...
<|file_sep|>original/README.md 'create_gist' ] # Make the client id and secret available to the server. c.NotebookApp.oauth_client_id = "my_client_id" # FIXME c.NotebookApp.oauth_client_secret = "my_client_secret" # FIXME # Load the js extension and set some config values cm = ConfigManager() cm.update('n...
e70a2016487f15a72f929bef1d92ff70b60318b0
README.md
README.md
Markdown
<|file_sep|>original/composer.json "homepage": "https://github.com/thephpleague/commonmark", "license": "BSD-3-Clause", "authors": [ { "name": "Colin O'Dell", "email": "colinodell@gmail.com", "homepage": "http://www.colinodell.com", "role": "Lead Devel...
"homepage": "https://github.com/thephpleague/commonmark", "license": "BSD-3-Clause", "authors": [ { "name": "Colin O'Dell", "email": "colinodell@gmail.com", "homepage": "http://www.colinodell.com", "role": "Lead Developer" } ], "replace...
<|file_sep|>original/composer.json "homepage": "https://github.com/thephpleague/commonmark", "license": "BSD-3-Clause", "authors": [ { "name": "Colin O'Dell", "email": "colinodell@gmail.com", "homepage": "http://www.colinodell.com", "role": "Lead Devel...
6a7c636c92c5fedca84c389ae04a52b015878d17
composer.json
composer.json
JSON
<|file_sep|>original/tests/Model/ChangeFrequencyTest.php <|file_sep|>current/tests/Model/ChangeFrequencyTest.php <|file_sep|>updated/tests/Model/ChangeFrequencyTest.php
<?php namespace Tests\SitemapPlugin\Model; use SitemapPlugin\Model\ChangeFrequency; /** * Class ChangeFrequencyTest * @package Tests\SitemapPlugin\Model */ class ChangeFrequencyTest extends \PHPUnit_Framework_TestCase { /** * @param $interval * @dataProvider dataProvider */ public function ...
<|file_sep|>original/tests/Model/ChangeFrequencyTest.php <|file_sep|>current/tests/Model/ChangeFrequencyTest.php <|file_sep|>updated/tests/Model/ChangeFrequencyTest.php <?php namespace Tests\SitemapPlugin\Model; use SitemapPlugin\Model\ChangeFrequency; /** * Class ChangeFrequencyTest * @package Tests\SitemapPlug...
e8f2b5edd8d9f775f2061a1113e5a9a76b76637a
tests/Model/ChangeFrequencyTest.php
tests/Model/ChangeFrequencyTest.php
PHP
<|file_sep|>original/docs/source/io.rst All transport pairs are reflective and data-preserving. Bytes ~~~~~ .. autofunction:: pybel.to_pickle .. autofunction:: pybel.from_pickle .. autofunction:: pybel.to_bytes .. autofunction:: pybel.from_bytes JSON ~~~~ .. autofunction:: pybel.to_json .. autofunction:: pybel.from_j...
.. autofunction:: pybel.from_pickle .. autofunction:: pybel.to_bytes .. autofunction:: pybel.from_bytes JSON ~~~~ .. autofunction:: pybel.to_json .. autofunction:: pybel.from_json .. autofunction:: pybel.to_cx_json .. autofunction:: pybel.from_cx_json Export ------ .. autofunction:: pybel.to_graphml .. autofunction::...
<|file_sep|>original/docs/source/io.rst All transport pairs are reflective and data-preserving. Bytes ~~~~~ .. autofunction:: pybel.to_pickle .. autofunction:: pybel.from_pickle .. autofunction:: pybel.to_bytes .. autofunction:: pybel.from_bytes JSON ~~~~ .. autofunction:: pybel.to_json .. autofunction:: pybel.from_j...
7343f5fd4306ad412c511524ab088d40857dd017
docs/source/io.rst
docs/source/io.rst
reStructuredText
<|file_sep|>listings/admin.py.diff original: list_filter = ('published', 'city', 'created') updated: date_hierarchy = 'created' list_filter = ('published', 'city', ) <|file_sep|>original/listings/admin.py queryset.update(published=False) class GatheringCenterAdmin(PublishMixin, admin.ModelAdmin): ...
class GatheringCenterAdmin(PublishMixin, admin.ModelAdmin): date_hierarchy = 'created' list_filter = ('published', 'city', ) list_editable = ('published', ) list_display = ('location_name', 'created', 'published', 'author', 'city') raw_id_fields = ('author', ) admin.site.register(GatheringCenter, ...
<|file_sep|>listings/admin.py.diff original: list_filter = ('published', 'city', 'created') updated: date_hierarchy = 'created' list_filter = ('published', 'city', ) <|file_sep|>original/listings/admin.py queryset.update(published=False) class GatheringCenterAdmin(PublishMixin, admin.ModelAdmin): ...
df01d83a35c59ee2295b358d8eceeb842adb568d
listings/admin.py
listings/admin.py
Python
<|file_sep|>original/circle.yml machine: services: - docker ruby: version: 2.2.2 environment: TESTS: debian ubuntu-12 ubuntu-14 ubuntu-15 dependencies: override: - bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3 --without='doc style unit integration_vagra...
machine: services: - docker ruby: version: 2.3.0 environment: TESTS: debian ubuntu-12 ubuntu-14 ubuntu-15 dependencies: override: - bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3 --without='doc style unit integration_vagrant integration_cloud': tim...
<|file_sep|>original/circle.yml machine: services: - docker ruby: version: 2.2.2 environment: TESTS: debian ubuntu-12 ubuntu-14 ubuntu-15 dependencies: override: - bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3 --without='doc style unit integration_vagra...
ac679e8f9e46e9ff2c073929becf24b5f7d9823b
circle.yml
circle.yml
YAML
<|file_sep|>.kitchen.yml.diff original: - name: debian-8.5 updated: - name: debian-8.6 <|file_sep|>.kitchen.yml.diff original: - name: fedora-24 updated: - name: fedora-25 <|file_sep|>original/.kitchen.yml - name: ubuntu-14.04 run_list: apt::default - name: ubuntu-16.04 run_list: apt::default suite...
- name: ubuntu-14.04 run_list: apt::default - name: ubuntu-16.04 run_list: apt::default suites: - name: package run_list: - recipe[transmission::default] includes: - ubuntu-12.04 - ubuntu-14.04 - ubuntu-16.04 - debian-7.11 - debian-8.6 - name: source run_...
<|file_sep|>.kitchen.yml.diff original: - name: debian-8.5 updated: - name: debian-8.6 <|file_sep|>.kitchen.yml.diff original: - name: fedora-24 updated: - name: fedora-25 <|file_sep|>original/.kitchen.yml - name: ubuntu-14.04 run_list: apt::default - name: ubuntu-16.04 run_list: apt::default suite...
95359d151a86e62dd0e4f02461e46e885b63bece
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>metadata/org.icasdri.mather.txt.diff original: Auto Update Mode:None updated: Build:0.2.4,204 commit=0.2.4 subdir=app gradle=yes Auto Update Mode:Version %v <|file_sep|>original/metadata/org.icasdri.mather.txt * Easily-accessible math constants, e.g. 'pi' * Complex math expression evaluation * ...
* Matrices * and more . Repo Type:git Repo:https://github.com/icasdri/Mather Build:0.2.3,203 commit=0.2.3 subdir=app gradle=yes Build:0.2.4,204 commit=0.2.4 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:0.2.4 Current Version Code:204
<|file_sep|>metadata/org.icasdri.mather.txt.diff original: Auto Update Mode:None updated: Build:0.2.4,204 commit=0.2.4 subdir=app gradle=yes Auto Update Mode:Version %v <|file_sep|>original/metadata/org.icasdri.mather.txt * Easily-accessible math constants, e.g. 'pi' * Complex math expression evaluation * ...
38f7a353f4124ff4ff81e045f1e384f901e5534e
metadata/org.icasdri.mather.txt
metadata/org.icasdri.mather.txt
Text
<|file_sep|>app/policies/user_policy.rb.diff original: target_user == current_user || Role.user_is_at_least_a?(user, :admin) updated: target_user == current_user || Role.user_is_at_least_a?(current_user, :admin) <|file_sep|>original/app/policies/user_policy.rb class UserPolicy < Struct.new(:current_user, :targe...
class UserPolicy < Struct.new(:current_user, :target_user) def update? target_user == current_user || Role.user_is_at_least_a?(current_user, :admin) end def destroy? target_user == current_user || Role.user_is_at_least_a?(current_user, :admin) end end
<|file_sep|>app/policies/user_policy.rb.diff original: target_user == current_user || Role.user_is_at_least_a?(user, :admin) updated: target_user == current_user || Role.user_is_at_least_a?(current_user, :admin) <|file_sep|>original/app/policies/user_policy.rb class UserPolicy < Struct.new(:current_user, :targe...
392eee527a4033e36b35d2829c0779e10c31b300
app/policies/user_policy.rb
app/policies/user_policy.rb
Ruby
<|file_sep|>original/test/spec/ol/coordinate.test.js goog.provide('ol.test.coordinate'); describe.only('ol.coordinate', function() { describe('#closestOnSegment', function() { it('can handle points where the foot of the perpendicular is closest', function() { var point = [2, 5]; var ...
goog.provide('ol.test.coordinate'); describe('ol.coordinate', function() { describe('#closestOnSegment', function() { it('can handle points where the foot of the perpendicular is closest', function() { var point = [2, 5]; var segment = [[-5, 0], [10, 0]]; expect(ol.coordina...
<|file_sep|>original/test/spec/ol/coordinate.test.js goog.provide('ol.test.coordinate'); describe.only('ol.coordinate', function() { describe('#closestOnSegment', function() { it('can handle points where the foot of the perpendicular is closest', function() { var point = [2, 5]; var ...
db5986fcc1d81493029508ca0ad0a96c070e0611
test/spec/ol/coordinate.test.js
test/spec/ol/coordinate.test.js
JavaScript
<|file_sep|>original/composer.json "description": "Extends from php's native zip component. Allows you to filter what is extracted.", "keywords": ["zip", "filter"], "license": "MIT", "authors": [ { "name": "Ben Rowe", "email": "ben.rowe.83@gmail.com" } ], ...
"keywords": ["zip", "filter"], "license": "MIT", "authors": [ { "name": "Ben Rowe", "email": "ben.rowe.83@gmail.com" } ], "require": { "php": ">=5.5.9", "ext-zip": "*" }, "require-dev": { "phpunit/phpunit": "~4.0" }, "autoload...
<|file_sep|>original/composer.json "description": "Extends from php's native zip component. Allows you to filter what is extracted.", "keywords": ["zip", "filter"], "license": "MIT", "authors": [ { "name": "Ben Rowe", "email": "ben.rowe.83@gmail.com" } ], ...
6bc0422bd0042975c0e5619c16e43b43e19ea1ef
composer.json
composer.json
JSON
<|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>original/src/scss/buttons.scss @include bu...
@include button(ross); } .sc-btn-block { display: block; width: 100%; } /** * DEPRECATED: only for compatibility * TODO: remove asap */ .sc-btn-bob-l, .sc-btn-bob-m { @include button(bob); } .sc-btn-ross-l, .sc-btn-ross-m { @include button(ross); }
<|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>src/scss/buttons.scss.diff original: background-color: #00ee00; updated: <|file_sep|>original/src/scss/buttons.scss @include bu...
a19d6f7791db64ea9b43532d46eefdbe6cd74454
src/scss/buttons.scss
src/scss/buttons.scss
SCSS
<|file_sep|>original/rtd-requirements.txt Parsley==1.3 Twisted==16.6.0 alabaster==0.7.9 ansicolors==1.0.2 argparse==1.2.1 backports.lzma==0.0.6 carml==17.4.0 constantly==15.1.0 humanize==0.5.1 incremental==16.10.1 ipaddress==1.0.17 txsocksx==1.15.0.2 txtorcon==0.19.1 wsgiref==0.1.2 zope.interface==4.3.3 <|file_sep|>cur...
Parsley==1.3 Twisted==17.9.0 alabaster==0.7.9 ansicolors==1.0.2 argparse==1.2.1 backports.lzma==0.0.6 carml==17.4.0 constantly==15.1.0 humanize==0.5.1 incremental==16.10.1 ipaddress==1.0.17 txsocksx==1.15.0.2 txtorcon==0.19.1 wsgiref==0.1.2 zope.interface==4.3.3
<|file_sep|>original/rtd-requirements.txt Parsley==1.3 Twisted==16.6.0 alabaster==0.7.9 ansicolors==1.0.2 argparse==1.2.1 backports.lzma==0.0.6 carml==17.4.0 constantly==15.1.0 humanize==0.5.1 incremental==16.10.1 ipaddress==1.0.17 txsocksx==1.15.0.2 txtorcon==0.19.1 wsgiref==0.1.2 zope.interface==4.3.3 <|file_sep|>cur...
9e09ed756825307b0f3f1423087a7b4811445fff
rtd-requirements.txt
rtd-requirements.txt
Text
<|file_sep|>original/package.json "marked": "0.2.5", "docco": "0.3.0", "step": "0.0.5" }, "devDependencies": { "jake": "0.3.3", "mocha": "1.2.0", "should": "0.6.3" }, "engines": { "node": ">= 0.6.0 < 0.7.0" }, "scripts": { "test": "./node_modules/.bin/mocha --reporter list" ...
"marked": "0.2.5", "docco": "0.3.0", "step": "0.0.5" }, "devDependencies": { "jake": "0.3.3", "mocha": "1.2.0", "should": "0.6.3" }, "engines": { "node": ">= 0.6.0 <= 0.7.12" }, "scripts": { "test": "./node_modules/.bin/mocha --reporter list" }, "bugs": { "url": "http...
<|file_sep|>original/package.json "marked": "0.2.5", "docco": "0.3.0", "step": "0.0.5" }, "devDependencies": { "jake": "0.3.3", "mocha": "1.2.0", "should": "0.6.3" }, "engines": { "node": ">= 0.6.0 < 0.7.0" }, "scripts": { "test": "./node_modules/.bin/mocha --reporter list" ...
16257847fc65ecf24b0a2b99d47bf1be3042a2d0
package.json
package.json
JSON
<|file_sep|>original/README.md [![Master Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=master)](https://travis-ci.org/vibrouter/vibrouter) [![Develop Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=develop)](https://travis-ci.org/vibrouter/vibrouter) [![MIT licensed](https://img....
[![Master Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=master)](https://travis-ci.org/vibrouter/vibrouter) [![Develop Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=develop)](https://travis-ci.org/vibrouter/vibrouter) [![Coverage Status](https://coveralls.io/repos/github/vibrou...
<|file_sep|>original/README.md [![Master Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=master)](https://travis-ci.org/vibrouter/vibrouter) [![Develop Build Status](https://travis-ci.org/vibrouter/vibrouter.svg?branch=develop)](https://travis-ci.org/vibrouter/vibrouter) [![MIT licensed](https://img....
612ce26f02e5de01b9746cce93304d6ccad53487
README.md
README.md
Markdown
<|file_sep|>original/src/test/php/PHPMD/Stubs/WriterStub.php $this->chunks[] = $data; } /** * Returns a concated string of all data chunks. * * @return string */ public function getData() { return join('', $this->chunks); } /** * Returns the written dat...
$this->chunks[] = $data; } /** * Returns a concated string of all data chunks. * * @return string */ public function getData() { return implode('', $this->chunks); } /** * Returns the written data chunks. * * @return array */ public f...
<|file_sep|>original/src/test/php/PHPMD/Stubs/WriterStub.php $this->chunks[] = $data; } /** * Returns a concated string of all data chunks. * * @return string */ public function getData() { return join('', $this->chunks); } /** * Returns the written dat...
a6fa75be280969533fd8d897d5681cab3388a2a7
src/test/php/PHPMD/Stubs/WriterStub.php
src/test/php/PHPMD/Stubs/WriterStub.php
PHP
<|file_sep|>.travis.yml.diff original: cache: directories: - $HOME/.yarn-cache updated: cache: yarn <|file_sep|>.travis.yml.diff original: updated: - "7" <|file_sep|>.travis.yml.diff original: before_install: # Yarn - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg - echo "deb http:...
language: node_js node_js: - "4" - "5" - "6" - "7" branches: only: - master - dev - /^greenkeeper.*$/ script: - yarn run lint - yarn run typecheck - yarn test after_success: - bash <(curl -s https://codecov.io/bash)
<|file_sep|>.travis.yml.diff original: cache: directories: - $HOME/.yarn-cache updated: cache: yarn <|file_sep|>.travis.yml.diff original: updated: - "7" <|file_sep|>.travis.yml.diff original: before_install: # Yarn - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg - echo "deb http:...
3d8ca43c033085a4b1af3ac0f109090450a14b99
.travis.yml
.travis.yml
YAML
<|file_sep|>original/zoneinit/includes/12-network.sh log "setting hostname, IPs and resolvers" : ${RESOLVERS:=8.8.8.8 8.8.4.4} RESOLVERS=(${RESOLVERS}) echo "${HOSTNAME}" > /etc/nodename /bin/hostname ${HOSTNAME} sed -i'' '/nameserver/d' /etc/resolv.conf for HOST in ${RESOLVERS[@]}; do echo "nameserver ${HOST}" >>...
log "setting hostname, IPs and resolvers" : ${RESOLVERS:=8.8.8.8 8.8.4.4} RESOLVERS=(${RESOLVERS}) echo "${HOSTNAME}" > /etc/nodename /bin/hostname ${HOSTNAME} sed '/nameserver/d' /etc/resolv.conf > /tmp/resolv.conf.tmp && \ mv /tmp/resolv.conf.tmp /etc/resolv.conf for HOST in ${RESOLVERS[@]}; do echo "nameserve...
<|file_sep|>original/zoneinit/includes/12-network.sh log "setting hostname, IPs and resolvers" : ${RESOLVERS:=8.8.8.8 8.8.4.4} RESOLVERS=(${RESOLVERS}) echo "${HOSTNAME}" > /etc/nodename /bin/hostname ${HOSTNAME} sed -i'' '/nameserver/d' /etc/resolv.conf for HOST in ${RESOLVERS[@]}; do echo "nameserver ${HOST}" >>...
4a5346ba1a4f06bf1bcb9f93e79e188a87286661
zoneinit/includes/12-network.sh
zoneinit/includes/12-network.sh
Shell
<|file_sep|>original/app/controllers/api/v1/frontend/questions_controller.rb question = Question.find(params[:id]) authorize question respond_with question end def create instrument = current_project.instruments.find(params[:instrument_id]) question = i...
question = Question.find(params[:id]) authorize question respond_with question end def create instrument = current_project.instruments.find(params[:instrument_id]) question = instrument.questions.new(params[:question]) authorize question ...
<|file_sep|>original/app/controllers/api/v1/frontend/questions_controller.rb question = Question.find(params[:id]) authorize question respond_with question end def create instrument = current_project.instruments.find(params[:instrument_id]) question = i...
b453f29e96c85e587d900301dde0dc724d83727e
app/controllers/api/v1/frontend/questions_controller.rb
app/controllers/api/v1/frontend/questions_controller.rb
Ruby
<|file_sep|>original/circle.yml machine: services: - docker dependencies: override: - docker build -t puckel/docker-airflow . test: pre: - sleep 5 override: - docker run puckel/docker-airflow version |grep '1.7.1.2' <|file_sep|>current/circle.yml machine: services: - docker dependencies...
machine: pre: - curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 services: - docker dependencies: override: - docker build -t puckel/docker-airflow . test: pre: - sleep 5 override: - docker run puckel/docker-airflow version |grep '1.7.1.2...
<|file_sep|>original/circle.yml machine: services: - docker dependencies: override: - docker build -t puckel/docker-airflow . test: pre: - sleep 5 override: - docker run puckel/docker-airflow version |grep '1.7.1.2' <|file_sep|>current/circle.yml machine: services: - docker dependencies...
9708f5ddbafa1cff2a9dd1ad59361a6c48328ccd
circle.yml
circle.yml
YAML
<|file_sep|>original/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md <|file_sep|>current/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md <|file_sep|>updated/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-f...
--- layout: post title: C pointers to multi-dimensional assumed shape Fortran arrays with gfortran category: posts --- Interoperability between C and Fortran codes is often complicated by Fortran's support for "true" multi-dimensional arrays. In addition, Fortran 90 supports assumed shape (also referred to as deferred...
<|file_sep|>original/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md <|file_sep|>current/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md <|file_sep|>updated/_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-f...
6528363c284afba1f006516eb9f0477946413dd6
_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md
_posts/2013-08-12-c-pointers-to-multi-dimensional-assumed-shape-fortran-arrays-with-gfortran.md
Markdown
<|file_sep|>original/package.json "npm": "~1.2.3", "moment": "~2.0.0", "semver": "~1.1.2" }, "main": "david.js", "scripts": { "test": "grunt" }, "license": { "type": "MIT", "url": "https://github.com/alanshaw/david/raw/master/LICENSE" }, "repository": { "type": "git", "url": "git://github.com/ala...
"npm": "~1.2.3", "moment": "~2.0.0", "semver": "~1.1.2" }, "main": "david.js", "scripts": { "test": "grunt" }, "license": { "type": "MIT", "url": "https://github.com/alanshaw/david/raw/master/LICENSE" }, "repository": { "type": "git", "url": "git://github.com/alanshaw/david...
<|file_sep|>original/package.json "npm": "~1.2.3", "moment": "~2.0.0", "semver": "~1.1.2" }, "main": "david.js", "scripts": { "test": "grunt" }, "license": { "type": "MIT", "url": "https://github.com/alanshaw/david/raw/master/LICENSE" }, "repository": { "type": "git", "url": "git://github.com/ala...
ce28e6d9ec70422f4613f38c5dc1c012b9b92f5c
package.json
package.json
JSON
<|file_sep|>lib/webapp/results_cache.rb.diff original: updated: if @cache_descriptor.data_fixed? STDOUT.puts "Reading from cache: #{filename}" elsif @cache_descriptor.temporary_cache_fresh? STDOUT.puts "Reading from temporary cache: #{filename}" end <|file_sep|>lib/webapp/r...
return File.read(filename) else STDOUT.puts "Writing to cache: #{filename}" data = yield File.open(filename, "w") do |file| file.write(data) end return data end else STDOUT.puts "Deleting stale temporary cache: #{filename}" FileUt...
<|file_sep|>lib/webapp/results_cache.rb.diff original: updated: if @cache_descriptor.data_fixed? STDOUT.puts "Reading from cache: #{filename}" elsif @cache_descriptor.temporary_cache_fresh? STDOUT.puts "Reading from temporary cache: #{filename}" end <|file_sep|>lib/webapp/r...
c8f7e1ae08094750add98bc5424c5c981f0e1f32
lib/webapp/results_cache.rb
lib/webapp/results_cache.rb
Ruby
<|file_sep|>original/spacy/tests/test_align.py <|file_sep|>current/spacy/tests/test_align.py <|file_sep|>updated/spacy/tests/test_align.py
import pytest from .._align import align @pytest.mark.parametrize('string1,string2,cost', [ (b'hello', b'hell', 1), (b'rat', b'cat', 1), (b'rat', b'rat', 0), (b'rat', b'catsie', 4), (b't', b'catsie', 5), ]) def test_align_costs(string1, string2, cost): output_cost, i2j, j2i, matrix = align(str...
<|file_sep|>original/spacy/tests/test_align.py <|file_sep|>current/spacy/tests/test_align.py <|file_sep|>updated/spacy/tests/test_align.py import pytest from .._align import align @pytest.mark.parametrize('string1,string2,cost', [ (b'hello', b'hell', 1), (b'rat', b'cat', 1), (b'rat', b'rat', 0), (b'...
8180c84a98bec11308afca884a4d7fed4738403b
spacy/tests/test_align.py
spacy/tests/test_align.py
Python
<|file_sep|>14-redis-repositories/src/main/java/example/Person.java.diff original: import org.springframework.data.keyvalue.annotation.KeySpace; updated: import org.springframework.data.redis.core.RedisHash; <|file_sep|>original/14-redis-repositories/src/main/java/example/Person.java import java.util.Map; import org.s...
import java.util.Map; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Reference; import org.springframework.data.redis.core.RedisHash; import org.springframework.data.redis.core.index.Indexed; import lombok.Data; @Data @RedisHash("persons") class Person { @Id String id; @...
<|file_sep|>14-redis-repositories/src/main/java/example/Person.java.diff original: import org.springframework.data.keyvalue.annotation.KeySpace; updated: import org.springframework.data.redis.core.RedisHash; <|file_sep|>original/14-redis-repositories/src/main/java/example/Person.java import java.util.Map; import org.s...
fa8570b6d44335bee21a54245477965bc7ac12ea
14-redis-repositories/src/main/java/example/Person.java
14-redis-repositories/src/main/java/example/Person.java
Java
<|file_sep|>README.md.diff original: Install zsh shell from [robbyrussell/oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) updated: If you want to install directly from my repository - remember that this will not allow customization of any sort (like installed apps, pip packages, etc) - then run the command below:...
If you want to install directly from my repository - remember that this will not allow customization of any sort (like installed apps, pip packages, etc) - then run the command below: ``curl -L https://raw.github.com/azsolt/dotfiles/master/bootstrap.sh | bash`` If you want to customize what applications to install, y...
<|file_sep|>README.md.diff original: Install zsh shell from [robbyrussell/oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh) updated: If you want to install directly from my repository - remember that this will not allow customization of any sort (like installed apps, pip packages, etc) - then run the command below:...
871f03307d4bf444d27cfda31ef332fe541bfad6
README.md
README.md
Markdown
<|file_sep|>original/Cargo.toml authors = ["Miguel Peláez <kernelfreeze@protonmail.com>"] [dependencies] image = "0.21" zip = "0.5" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" serde_yaml = "0.8" log = "0.4" cgmath = "0.16.1" lazy_static = "1.1" simple_logger = "1.0.1" threadpool = "1.0" rhai = "0.9.0" smallv...
authors = ["Miguel Peláez <kernelfreeze@protonmail.com>"] [dependencies] image = "0.21" zip = "0.5" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" serde_yaml = "0.8" log = "0.4" cgmath = "0.17.0" lazy_static = "1.1" simple_logger = "1.0.1" threadpool = "1.0" rhai = "0.9.0" smallvec = "0.6.5" [dependencies.conr...
<|file_sep|>original/Cargo.toml authors = ["Miguel Peláez <kernelfreeze@protonmail.com>"] [dependencies] image = "0.21" zip = "0.5" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" serde_yaml = "0.8" log = "0.4" cgmath = "0.16.1" lazy_static = "1.1" simple_logger = "1.0.1" threadpool = "1.0" rhai = "0.9.0" smallv...
79c1f1f2bb5c78ffc2f3748c51e82bb25a70b60a
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/pythonpic/configs/run_wave.py from ..algorithms import BoundaryCondition from ..classes import Grid, Simulation class wave_propagation(Simulation): def __init__(self, filename, bc = BoundaryCondition.Laser(1, 1, 10, 3).laser_pulse, ): """Impl...
from ..algorithms import BoundaryCondition from ..classes import Grid, Simulation class wave_propagation(Simulation): def __init__(self, filename, bc = BoundaryCondition.Laser(1, 1, 10, 3).laser_pulse, ): """Implements wave propagation""" T = 50 N...
<|file_sep|>original/pythonpic/configs/run_wave.py from ..algorithms import BoundaryCondition from ..classes import Grid, Simulation class wave_propagation(Simulation): def __init__(self, filename, bc = BoundaryCondition.Laser(1, 1, 10, 3).laser_pulse, ): """Impl...
53a6e81b6a269589df5c6ce199b6248d838f9180
pythonpic/configs/run_wave.py
pythonpic/configs/run_wave.py
Python
<|file_sep|>original/scripts/create_users.sh <|file_sep|>current/scripts/create_users.sh <|file_sep|>updated/scripts/create_users.sh
#!/bin/bash # # Create admin users for use in functional tests # # Usage: # ./scripts/create_users.sh <environment> # # Example: # ./scripts/create_users.sh local DM_ENVIRONMENT=${1:-local} . "./scripts/envs/${DM_ENVIRONMENT}.sh" function create_user { local email=$1; local name=$2; local role=$3; local pass...
<|file_sep|>original/scripts/create_users.sh <|file_sep|>current/scripts/create_users.sh <|file_sep|>updated/scripts/create_users.sh #!/bin/bash # # Create admin users for use in functional tests # # Usage: # ./scripts/create_users.sh <environment> # # Example: # ./scripts/create_users.sh local DM_ENVIRONMENT=${1:-l...
9e764b8e01a966840e226f3a0b556a711d802669
scripts/create_users.sh
scripts/create_users.sh
Shell
<|file_sep|>original/README.md lambdautils ============ Shared utilities across Lambda event processors. ## Development Assuming you have [virtualenv][virtualenv] installed: [virtualenv]: https://virtualenv.readthedocs.org/en/latest/ ``` make develop ``` ## Testing To run the local test suite (does not require...
lambdautils ============ [![Build Status](https://travis-ci.com/InnovativeTravel/humilis-lambdautils.svg?token=hmq4YbNZBSHyLZzpqBCq&branch=master)](https://travis-ci.com/InnovativeTravel/humilis-lambdautils) Shared utilities across Lambda event processors. ## Development Assuming you have [virtualenv][virtualenv] ...
<|file_sep|>original/README.md lambdautils ============ Shared utilities across Lambda event processors. ## Development Assuming you have [virtualenv][virtualenv] installed: [virtualenv]: https://virtualenv.readthedocs.org/en/latest/ ``` make develop ``` ## Testing To run the local test suite (does not require...
72e334385c4483340e1284abbb52e1c6af21f25b
README.md
README.md
Markdown
<|file_sep|>original/tests/requirements.txt hiredis==0.2.0 flake8==3.3.0 coverage==4.4.1 pytest==3.0.7 pytest-cov==2.5.1 pytest-xdist==1.16.0 async-timeout==1.2.1 <|file_sep|>current/tests/requirements.txt hiredis==0.2.0 flake8==3.3.0 coverage==4.4.1 pytest==3.0.7 pytest-cov==2.5.1 pytest-xdist==1.16.0 async-timeout==1...
hiredis==0.2.0 flake8==3.3.0 coverage==4.4.1 pytest==3.1.0 pytest-cov==2.5.1 pytest-xdist==1.16.0 async-timeout==1.2.1
<|file_sep|>original/tests/requirements.txt hiredis==0.2.0 flake8==3.3.0 coverage==4.4.1 pytest==3.0.7 pytest-cov==2.5.1 pytest-xdist==1.16.0 async-timeout==1.2.1 <|file_sep|>current/tests/requirements.txt hiredis==0.2.0 flake8==3.3.0 coverage==4.4.1 pytest==3.0.7 pytest-cov==2.5.1 pytest-xdist==1.16.0 async-timeout==1...
124178eaa3e491d9b807547ab4460fb9b4ff4c79
tests/requirements.txt
tests/requirements.txt
Text
<|file_sep|>tox.ini.diff original: envlist = py27, py35, py36, pylint, docs updated: envlist = py27, py34, py35, py36, py37, py38, pylint, docs <|file_sep|>original/tox.ini pylint basepython = python3.6 commands = pylint gamtools --rcfile={toxinidir}/.pylintrc [testenv:docs] changedir=docs basepython = ...
python3.6 commands = pylint gamtools --rcfile={toxinidir}/.pylintrc [testenv:docs] changedir=docs basepython = python3.6 deps= sphinx sphinx_rtd_theme commands= sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html [travis] python = 2.7: py27 3.5: py35 3.6: py36, docs...
<|file_sep|>tox.ini.diff original: envlist = py27, py35, py36, pylint, docs updated: envlist = py27, py34, py35, py36, py37, py38, pylint, docs <|file_sep|>original/tox.ini pylint basepython = python3.6 commands = pylint gamtools --rcfile={toxinidir}/.pylintrc [testenv:docs] changedir=docs basepython = ...
8e1edbf1566ff6851cf2a977f9fbf1e5fa0500cb
tox.ini
tox.ini
INI
<|file_sep|>original/content/talks/5-impossible-things-before-breakfast.md type: session title: "5 impossible things before breakfast" slug: "5-impossible-things-before-breakfast" url: "talks/5-impossible-things-before-breakfast/index.html" body_class_hack: talks --- ### Michael Sparks Sometimes you're asked to deliv...
type: session title: "5 impossible things before breakfast" slug: "5-impossible-things-before-breakfast" url: "talks/5-impossible-things-before-breakfast/index.html" body_class_hack: talks --- ### Michael Sparks Sometimes you're asked to deliver something that seems impossible, but necessary in a given timeframe. So...
<|file_sep|>original/content/talks/5-impossible-things-before-breakfast.md type: session title: "5 impossible things before breakfast" slug: "5-impossible-things-before-breakfast" url: "talks/5-impossible-things-before-breakfast/index.html" body_class_hack: talks --- ### Michael Sparks Sometimes you're asked to deliv...
29fc342d7e2740a3ab2f6607f47ee7e0d5cceebf
content/talks/5-impossible-things-before-breakfast.md
content/talks/5-impossible-things-before-breakfast.md
Markdown
<|file_sep|>original/package.json { "name": "addons-server", "version": "0.0.17", "private": true, "engines": { "node": ">= 8.10" }, "dependencies": { "addons-linter": "1.13.0", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser...
{ "name": "addons-server", "version": "0.0.17", "private": true, "engines": { "node": ">= 8.10" }, "dependencies": { "addons-linter": "1.14.0", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser": "0.1.0", "jquery.cookie": "...
<|file_sep|>original/package.json { "name": "addons-server", "version": "0.0.17", "private": true, "engines": { "node": ">= 8.10" }, "dependencies": { "addons-linter": "1.13.0", "clean-css": "4.2.1", "clean-css-cli": "4.3.0", "jqmodal": "1.4.2", "jquery": "3.4.1", "jquery.browser...
77cdd98613e72ba82e6a589a1722b7a500cd916d
package.json
package.json
JSON
<|file_sep|>original/client_secret.json {"installed":{"client_id":"647522542865-vlgropkhib5norei36q702jbuck84u9s.apps.googleusercontent.com","project_id":"cabdriver-1236","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https:...
{"installed":{"client_id":"653755350671-cjp8k86218fbgljgcr2vc7cvk1pae8tq.apps.googleusercontent.com","project_id":"api-project-653755350671","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs"...
<|file_sep|>original/client_secret.json {"installed":{"client_id":"647522542865-vlgropkhib5norei36q702jbuck84u9s.apps.googleusercontent.com","project_id":"cabdriver-1236","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://accounts.google.com/o/oauth2/token","auth_provider_x509_cert_url":"https:...
7d3c39a2a43e8f21ce3d83c664a1aa88f73b37cf
client_secret.json
client_secret.json
JSON
<|file_sep|>original/build.php #!/usr/bin/env php <?php chdir(__DIR__); $returnStatus = null; passthru('composer install --dev', $returnStatus); if ($returnStatus !== 0) { exit(1); } require 'vendor/autoload.php'; $phpcsCLI = new PHP_CodeSniffer_CLI(); $phpcsArguments = array( 'standard' => array(__DIR__ . '...
#!/usr/bin/env php <?php chdir(__DIR__); $returnStatus = null; passthru('composer install', $returnStatus); if ($returnStatus !== 0) { exit(1); } require 'vendor/autoload.php'; $phpcsCLI = new PHP_CodeSniffer_CLI(); $phpcsArguments = array( 'standard' => array(__DIR__ . '/vendor/dominionenterprises/dws-codin...
<|file_sep|>original/build.php #!/usr/bin/env php <?php chdir(__DIR__); $returnStatus = null; passthru('composer install --dev', $returnStatus); if ($returnStatus !== 0) { exit(1); } require 'vendor/autoload.php'; $phpcsCLI = new PHP_CodeSniffer_CLI(); $phpcsArguments = array( 'standard' => array(__DIR__ . '...
4c2602d3aab8515d3662db3d583922d6144e91ea
build.php
build.php
PHP
<|file_sep|>original/modules/common/src/main/LilaCookie.scala def session(name: String, value: String)(implicit req: RequestHeader): Cookie = withSession { s => s + (name -> value) } def newSession(implicit req: RequestHeader): Cookie = withSession(identity) def withSession(op: Session => Session)(implic...
def session(name: String, value: String)(implicit req: RequestHeader): Cookie = withSession { s => s + (name -> value) } def newSession(implicit req: RequestHeader): Cookie = withSession(identity) def withSession(op: Session => Session)(implicit req: RequestHeader): Cookie = cookie( Session.COOKIE_NA...
<|file_sep|>original/modules/common/src/main/LilaCookie.scala def session(name: String, value: String)(implicit req: RequestHeader): Cookie = withSession { s => s + (name -> value) } def newSession(implicit req: RequestHeader): Cookie = withSession(identity) def withSession(op: Session => Session)(implic...
1d61b1a1613b8627bc03bda4275b3d261013d01f
modules/common/src/main/LilaCookie.scala
modules/common/src/main/LilaCookie.scala
Scala
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 Sphinx==1.7.6 coverage==4.5.1 cryptography==2.2.2 PyYAML==3.13 pytest==3.6.0 pytest-runner==4.2 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox=...
bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 Sphinx==1.7.6 coverage==4.5.1 cryptography==2.3 PyYAML==3.13 pytest==3.6.0 pytest-runner==4.2
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 Sphinx==1.7.6 coverage==4.5.1 cryptography==2.2.2 PyYAML==3.13 pytest==3.6.0 pytest-runner==4.2 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox=...
b6bce165481f23c0252b8ebafecc55e5fb7b815b
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/app/controller/spree/start_controller.rb class Spree::StartController < Spree::StoreController helper "spree/products" helper "spree/base" respond_to :html def index @schweine = Spree::Schwein.order('position ASC').limit(3) @searcher = Spree::Config.searcher_class.new({per_page:3}...
class Spree::StartController < Spree::StoreController helper "spree/products" helper "spree/base" respond_to :html def index @schweine = Spree::Schwein.order('position ASC').limit(3) @searcher = Spree::Config.searcher_class.new({}) @products = @searcher.retrieve_products.sort{|o| o.on_hand }.rever...
<|file_sep|>original/app/controller/spree/start_controller.rb class Spree::StartController < Spree::StoreController helper "spree/products" helper "spree/base" respond_to :html def index @schweine = Spree::Schwein.order('position ASC').limit(3) @searcher = Spree::Config.searcher_class.new({per_page:3}...
65a9aaf5ce568977e6868a584ab10e7a303874d7
app/controller/spree/start_controller.rb
app/controller/spree/start_controller.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" os: - linux - osx - windows cache: yarn before_install: yarn install stages: - test <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "lts/*" os: - linux - osx - windows cache: yarn before_i...
language: node_js node_js: - "node" - "lts/*" os: - linux - osx - windows env: # Fix for build timeouts on Windows: https://travis-ci.community/t/timeout-after-build-finished-and-succeeded/1336/2 - YARN_GPG=no cache: yarn before_install: yarn install stages: - test
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "lts/*" os: - linux - osx - windows cache: yarn before_install: yarn install stages: - test <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "lts/*" os: - linux - osx - windows cache: yarn before_i...
a6b1ab84dc0897fc9589dbb9540513e499e5bf03
.travis.yml
.travis.yml
YAML
<|file_sep|>original/hod/src/main/resources/application.properties endpoints.configprops.enabled = false endpoints.dump.enabled = false endpoints.env.enabled = false endpoints.flyway.enabled = false endpoints.health.enabled = false endpoints.info.enabled = false endpoints.metrics.enabled = false endpoints.mapping...
endpoints.env.enabled = false endpoints.flyway.enabled = false endpoints.health.enabled = false endpoints.info.enabled = false endpoints.metrics.enabled = false endpoints.mappings.enabled = false endpoints.shutdown.enabled = false endpoints.trace.enabled = false flyway.locations=db/migration/${spring.datasource....
<|file_sep|>original/hod/src/main/resources/application.properties endpoints.configprops.enabled = false endpoints.dump.enabled = false endpoints.env.enabled = false endpoints.flyway.enabled = false endpoints.health.enabled = false endpoints.info.enabled = false endpoints.metrics.enabled = false endpoints.mapping...
49946e18698f2ee460a3dec32df6a912c104b891
hod/src/main/resources/application.properties
hod/src/main/resources/application.properties
INI
<|file_sep|>original/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java <|file_sep|>current/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java <|file_sep|>updated/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java
package com.novoda.merlin; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @RunWith(MerlinRobolectricTestRunner.class) public class MerlinBuilderShould { @Test public void build...
<|file_sep|>original/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java <|file_sep|>current/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java <|file_sep|>updated/unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java package com.novoda.merlin; import org.junit.Test; im...
98c2d09afa3510dea0974b15da4d4105aca484ed
unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java
unit-tests/src/test/java/com/novoda/merlin/MerlinBuilderShould.java
Java
<|file_sep|>original/app/models/Ticket.php 'priority_id', 'status_id', 'owner_id', 'replies' ]; public function owner() { return $this->belongsTo('User'); } public function priority() { return $this->belongsTo('Priority'); } public function status() { return $this->belongsTo('Status'); } } <|...
public function priority() { return $this->belongsTo('Priority'); } public function status() { return $this->belongsTo('Status'); } public function getOpenTickets() { return Ticket::has('status', 1)->get(); } public function getInProgressTickets() { return Ticket::has('status', 2)->get(); } }
<|file_sep|>original/app/models/Ticket.php 'priority_id', 'status_id', 'owner_id', 'replies' ]; public function owner() { return $this->belongsTo('User'); } public function priority() { return $this->belongsTo('Priority'); } public function status() { return $this->belongsTo('Status'); } } <|...
7bcdfa48c0e677eee348aba8064ceecff8a01322
app/models/Ticket.php
app/models/Ticket.php
PHP
<|file_sep|>package.json.diff original: "hapi": "2.x.x" updated: "hapi": ">=2.x.x" <|file_sep|>original/package.json "url": "git://github.com/bleupen/hapi-pushstate" }, "author": "Brad Leupen", "license": "MIT", "bugs": { "url": "https://github.com/bleupen/hapi-pushstate/...
"url": "git://github.com/bleupen/hapi-pushstate" }, "author": "Brad Leupen", "license": "MIT", "bugs": { "url": "https://github.com/bleupen/hapi-pushstate/issues" }, "homepage": "https://github.com/bleupen/hapi-pushstate", "dependencies": { "hoek": "^1.5.0" }, ...
<|file_sep|>package.json.diff original: "hapi": "2.x.x" updated: "hapi": ">=2.x.x" <|file_sep|>original/package.json "url": "git://github.com/bleupen/hapi-pushstate" }, "author": "Brad Leupen", "license": "MIT", "bugs": { "url": "https://github.com/bleupen/hapi-pushstate/...
1c569278e6202eddcb8afe76c7dae33c7913722e
package.json
package.json
JSON
<|file_sep|>lib/aws/core/connection.rb.diff original: updated: ## # Custom response parser to handle the various craziness of the AWS API ## class SimpleAWSParser < HTTParty::Parser def parse if supports_format? super elsif body =~ %r{<\?xml} xml else body en...
elsif body =~ %r{<\?xml} xml else body end end end class HTTP include HTTParty parser SimpleAWSParser end ## # Handles all communication to and from AWS itself ## class Connection ## # Send an AWS::Request to AWS proper, returning an AWS::Response. ...
<|file_sep|>lib/aws/core/connection.rb.diff original: updated: ## # Custom response parser to handle the various craziness of the AWS API ## class SimpleAWSParser < HTTParty::Parser def parse if supports_format? super elsif body =~ %r{<\?xml} xml else body en...
06fcca1fc731e4a619a08dcd8e5275b7baffe5b8
lib/aws/core/connection.rb
lib/aws/core/connection.rb
Ruby
<|file_sep|>.travis.yml.diff original: python: 3.6 updated: <|file_sep|>.travis.yml.diff original: updated: python: 2.7 <|file_sep|>.travis.yml.diff original: updated: python: 3.5 <|file_sep|>original/.travis.yml sudo: required dist: trusty matrix: include: - env: TOX_ENV=py27 - env: TOX_ENV=...
sudo: required dist: trusty matrix: include: - env: TOX_ENV=py27 python: 2.7 - env: TOX_ENV=py35 python: 3.5 - env: TOX_ENV=py36 python: 3.6 cache: directories: - $HOME/.cache/pip before_install: - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - - sudo apt-get...
<|file_sep|>.travis.yml.diff original: python: 3.6 updated: <|file_sep|>.travis.yml.diff original: updated: python: 2.7 <|file_sep|>.travis.yml.diff original: updated: python: 3.5 <|file_sep|>original/.travis.yml sudo: required dist: trusty matrix: include: - env: TOX_ENV=py27 - env: TOX_ENV=...
be30c99f21088620a04b53d8d56de7ce790e99ec
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/ne/netlink.yaml.diff original: hash: 15ec56f003ad7426091b930c0269c201f8b8593458048bb9e851993f497adca4 updated: hash: b9d7ec74089647e5ee4b6df7fea3f7f3aac3a47fab277aef629531918a29f9f8 <|file_sep|>packages/ne/netlink.yaml.diff original: updated: - '1.1.0.0' <|file_sep|>original/packages/ne/netlink.ya...
maintainer: Markus Ongyerth <ongy@ongy.net> synopsis: Netlink communication for Haskell changelog: '' basic-deps: cereal: ! '>=0.3' netlink: -any bytestring: ! '>=0.9' unix: ! '>=2.4' base: ! '>=4.6 && <5' monad-loops: ! '>=0.3' pretty-hex: -any containers: ! '>=0.3' all-versions: - '0.1' - '1.0.0.4' - ...
<|file_sep|>packages/ne/netlink.yaml.diff original: hash: 15ec56f003ad7426091b930c0269c201f8b8593458048bb9e851993f497adca4 updated: hash: b9d7ec74089647e5ee4b6df7fea3f7f3aac3a47fab277aef629531918a29f9f8 <|file_sep|>packages/ne/netlink.yaml.diff original: updated: - '1.1.0.0' <|file_sep|>original/packages/ne/netlink.ya...
6e9cc59b0a93c73c8e55494a785b1f67886cf292
packages/ne/netlink.yaml
packages/ne/netlink.yaml
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...
c9b5fe057e2b394f9863e64cd17b9c87497193c1
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/filefilter.txt - . + .java + .js + .css + .ftl + .xml - ngrinder-agent = JSP/PHP:ftl,HTML:css <|file_sep|>current/filefilter.txt - . + .java + .js + .css + .ftl + .xml - ngrinder-agent = JSP/PHP:ftl,HTML:css <|file_sep|>updated/filefilter.txt
- . + .java + .js + .css + .ftl + .xml - /target/ - ngrinder-agent = JSP/PHP:ftl,HTML:css
<|file_sep|>original/filefilter.txt - . + .java + .js + .css + .ftl + .xml - ngrinder-agent = JSP/PHP:ftl,HTML:css <|file_sep|>current/filefilter.txt - . + .java + .js + .css + .ftl + .xml - ngrinder-agent = JSP/PHP:ftl,HTML:css <|file_sep|>updated/filefilter.txt - . + .java + .js + .css + .ftl + .xml - /target/ - ng...
ea3ecdbc34c0f6fd188098ed184dace48f6486b6
filefilter.txt
filefilter.txt
Text
<|file_sep|>CHANGELOG.md.diff original: ## 0.1: updated: # Change Log <|file_sep|>original/CHANGELOG.md ## 0.1: * Initial release. <|file_sep|>current/CHANGELOG.md # Change Log * Initial release. <|file_sep|>updated/CHANGELOG.md
# Change Log ## [v0.01](https://github.com/realityforge/arez/tree/v0.01) (2017-09-27) [Full Changelog](https://github.com/realityforge/arez/compare/700fa7f3208cb868c4d7d28caf2772e114315d73...v0.01) Initial alpha release.
<|file_sep|>CHANGELOG.md.diff original: ## 0.1: updated: # Change Log <|file_sep|>original/CHANGELOG.md ## 0.1: * Initial release. <|file_sep|>current/CHANGELOG.md # Change Log * Initial release. <|file_sep|>updated/CHANGELOG.md # Change Log ## [v0.01](https://github.com/realityforge/arez/tree/v0.01) (2017-09-27) [F...
9e41a9563b56f6b0f558487054db73f141436c77
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/src/index.js import redirectToHttps from './utils/https' import { BigSpinner } from './components/Spinner' import './styles/normalize.css' import './styles/Fonts.scss' import './styles/Main.scss' import './styles/flaticon.css' redirectToHttps(!window.location.href.match('localhost:')) const Ap...
import redirectToHttps from './utils/https' import { BigSpinner } from './components/Spinner' import './styles/normalize.css' import './styles/Fonts.scss' import './styles/Main.scss' import './styles/flaticon.css' redirectToHttps(!(window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1"...
<|file_sep|>original/src/index.js import redirectToHttps from './utils/https' import { BigSpinner } from './components/Spinner' import './styles/normalize.css' import './styles/Fonts.scss' import './styles/Main.scss' import './styles/flaticon.css' redirectToHttps(!window.location.href.match('localhost:')) const Ap...
5a3d33be543d74832b3500964b1dfec310c6bbb2
src/index.js
src/index.js
JavaScript
<|file_sep|>original/docker-nodev.py <|file_sep|>current/docker-nodev.py <|file_sep|>updated/docker-nodev.py
from __future__ import print_function import subprocess import sys DOCKER_CREATE_IN = 'docker create -it nodev {}' DOCKER_SIMPLE_CMD_IN = 'docker {} {container_id}' def nodev(argv=()): container_id = subprocess.check_output(DOCKER_CREATE_IN.format(' '.join(argv)), shell=True).strip() print('creating conta...
<|file_sep|>original/docker-nodev.py <|file_sep|>current/docker-nodev.py <|file_sep|>updated/docker-nodev.py from __future__ import print_function import subprocess import sys DOCKER_CREATE_IN = 'docker create -it nodev {}' DOCKER_SIMPLE_CMD_IN = 'docker {} {container_id}' def nodev(argv=()): container_id =...
915b13a3940ec2bcde6784b30a97a44929ab3a02
docker-nodev.py
docker-nodev.py
Python
<|file_sep|>original/.travis.yml - cmake - clang-3.6 - g++-5 - cppcheck before_install: - if [ "$CXX" = "g++" ] && [ $TRAVIS_OS_NAME = "linux" ]; then export CXX="g++-5"; fi - if [ $TRAVIS_OS_NAME = "osx" ]; then brew update; brew install cppcheck; fi script: - wget https://google-styleg...
- cmake - clang-3.6 - g++-5 - cppcheck before_install: - if [ "$CXX" = "g++" ] && [ $TRAVIS_OS_NAME = "linux" ]; then export CXX="g++-5"; fi - if [ $TRAVIS_OS_NAME = "osx" ]; then brew update; brew install cppcheck; fi script: - wget https://raw.githubusercontent.com/google/styleguide/gh...
<|file_sep|>original/.travis.yml - cmake - clang-3.6 - g++-5 - cppcheck before_install: - if [ "$CXX" = "g++" ] && [ $TRAVIS_OS_NAME = "linux" ]; then export CXX="g++-5"; fi - if [ $TRAVIS_OS_NAME = "osx" ]; then brew update; brew install cppcheck; fi script: - wget https://google-styleg...
f6d5cd566e8154c7908444a0015bdb27d578288f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml --- language: ruby bundler_args: --without system_tests script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 ...
--- language: ruby bundler_args: --without system_tests script: "bundle exec rake validate && bundle exec rake lint && STRICT_VARIABLES=no bundle exec rake spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_G...
<|file_sep|>original/.travis.yml --- language: ruby bundler_args: --without system_tests script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 ...
832f6a21e66634d25d8a692a1b5bee299e1e7d25
.travis.yml
.travis.yml
YAML
<|file_sep|>original/script.js /** * @fileoverview script.js - JS Orrery - A CS323 Assignment * @author Ben Brooks (beb12@aber.ac.uk) * @version 1.0 */ var gl; function init() { canvas = document.getElementById('canvas'); gl = initWebGL(canvas); initScene(); } window.onload = init; <|file_sep|>current/scri...
/** * @fileoverview script.js - JS Orrery - A CS323 Assignment * @author Ben Brooks (beb12@aber.ac.uk) * @version 1.0 */ function init() { canvas = document.getElementById('canvas'); gl = initWebGL(canvas); initScene(); } window.onload = init;
<|file_sep|>original/script.js /** * @fileoverview script.js - JS Orrery - A CS323 Assignment * @author Ben Brooks (beb12@aber.ac.uk) * @version 1.0 */ var gl; function init() { canvas = document.getElementById('canvas'); gl = initWebGL(canvas); initScene(); } window.onload = init; <|file_sep|>current/scri...
165356c7437c8e4404fab4e51629623cb4e3fd0c
script.js
script.js
JavaScript
<|file_sep|>original/features/product/managing_product_reviews/recalculating_product_average_rating.feature @managing_product_reviews Feature: Recalculating product average rating In order to have my product's average rating properly calculated As an Administrator I want to have product's average rating rec...
Background: Given the store operates on a single channel in "United States" And the store has a product "Lamborghini Gallardo Model" And this product has a review titled "Awesome" and rated 4 with a comment "Nice product" added by customer "ross@teammike.com" And this product ha...
<|file_sep|>original/features/product/managing_product_reviews/recalculating_product_average_rating.feature @managing_product_reviews Feature: Recalculating product average rating In order to have my product's average rating properly calculated As an Administrator I want to have product's average rating rec...
f2587acc567ee3086e92f1cf7c7e829c9425a999
features/product/managing_product_reviews/recalculating_product_average_rating.feature
features/product/managing_product_reviews/recalculating_product_average_rating.feature
Cucumber
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.1
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.0 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.5.6 alabaster==0.7.10 releases==1.3.1
c623dc770d83f169566cc5619198658cdacd2e08
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>app/views/search.jade.diff original: .row#results-header updated: #results-header <|file_sep|>original/app/views/search.jade #results-header.has-sidebar block results-header .row#results.search-results block results block after-...
#results-header.has-sidebar block results-header .row#results.search-results block results block after-results button.btn.btn-primary.btn-lg.load-more#load-more-btn +loader('Vis flere...') else #results-header ...
<|file_sep|>app/views/search.jade.diff original: .row#results-header updated: #results-header <|file_sep|>original/app/views/search.jade #results-header.has-sidebar block results-header .row#results.search-results block results block after-...
f01757be5c0af8106ec276eeeab53f1c2fb667ab
app/views/search.jade
app/views/search.jade
Jade
<|file_sep|>original/perf/models.rb class Person include Mongoid::Document field :birth_date, :type => Date field :title, :type => String embeds_one :name, :validate => false embeds_many :addresses, :validate => false embeds_many :phones, :validate => false has_many :posts, :validate => false has_one...
class Person include Mongoid::Document field :birth_date, :type => Date field :title, :type => String embeds_one :name, :validate => false embeds_many :addresses, :validate => false has_many :posts, :validate => false has_one :game, :validate => false has_and_belongs_to_many :preferences, :validate =...
<|file_sep|>original/perf/models.rb class Person include Mongoid::Document field :birth_date, :type => Date field :title, :type => String embeds_one :name, :validate => false embeds_many :addresses, :validate => false embeds_many :phones, :validate => false has_many :posts, :validate => false has_one...
052857c1352eec952094154ff5d6ed220a95ba85
perf/models.rb
perf/models.rb
Ruby
<|file_sep|>Instanssi/admin_store/forms.py.diff original: updated: <|file_sep|>original/Instanssi/admin_store/forms.py self.helper = FormHelper() self.helper.layout = Layout( Fieldset( u'Tuote', 'event', 'name', 'description',...
self.helper = FormHelper() self.helper.layout = Layout( Fieldset( u'Tuote', 'event', 'name', 'description', 'price', 'max', 'available', 'max_per_order', ...
<|file_sep|>Instanssi/admin_store/forms.py.diff original: updated: <|file_sep|>original/Instanssi/admin_store/forms.py self.helper = FormHelper() self.helper.layout = Layout( Fieldset( u'Tuote', 'event', 'name', 'description',...
0d2525de51edd99b821f32b3bfd962f3d673a6e1
Instanssi/admin_store/forms.py
Instanssi/admin_store/forms.py
Python
<|file_sep|>original/.travis.yml script: - mvn cobertura:cobertura - mkdir failedTests && find -name testng-failed.xml -exec cp -vf "{}" failedTests/ \; && [ ! -f failedTests/testng-failed.xml ] after_success: - mvn coveralls:report - mvn -B release:prepare release:perform -Prelease_profile,hbase-0 --settings...
cache: directories: - "~/.m2" before_script: # This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases - umask 022 - git config --global user.email "omid-ci@yahoo-inc.com" - git config --global user.name "Omid CI" - git checkout open-source script: - mvn cobertura:cobe...
<|file_sep|>original/.travis.yml script: - mvn cobertura:cobertura - mkdir failedTests && find -name testng-failed.xml -exec cp -vf "{}" failedTests/ \; && [ ! -f failedTests/testng-failed.xml ] after_success: - mvn coveralls:report - mvn -B release:prepare release:perform -Prelease_profile,hbase-0 --settings...
cf356a7e72a9164d0071bf7390c1d62f0095c23d
.travis.yml
.travis.yml
YAML
<|file_sep|>components/atoms/static_atoms.txt.diff original: updated: ltr <|file_sep|>original/components/atoms/static_atoms.txt popstate print progress radio range readystatechange reftest-wait reset right sans-serif scan screen scroll-position search select serif statechange storage submit suspend tel <|file_sep|>cu...
playing popstate print progress radio range readystatechange reftest-wait reset right rtl sans-serif scan screen scroll-position search select serif statechange storage submit
<|file_sep|>components/atoms/static_atoms.txt.diff original: updated: ltr <|file_sep|>original/components/atoms/static_atoms.txt popstate print progress radio range readystatechange reftest-wait reset right sans-serif scan screen scroll-position search select serif statechange storage submit suspend tel <|file_sep|>cu...
31d249fd486fe20ad0a3b20bd891fbb41a374519
components/atoms/static_atoms.txt
components/atoms/static_atoms.txt
Text
<|file_sep|>lib/exercism/use_cases/notify.rb.diff original: link: send("#{about}_link".to_sym) updated: link: link(about) <|file_sep|>original/lib/exercism/use_cases/notify.rb def save Notification.create({ user: to, from: from.username, regarding: about, link: send("#{about}_...
def save Notification.create({ user: to, from: from.username, regarding: about, link: link(about) }) end def link(about) "/" + send("#{about}_link".to_sym) end def approval_link [ submission.user.username, submission.language, submission.slug ].j...
<|file_sep|>lib/exercism/use_cases/notify.rb.diff original: link: send("#{about}_link".to_sym) updated: link: link(about) <|file_sep|>original/lib/exercism/use_cases/notify.rb def save Notification.create({ user: to, from: from.username, regarding: about, link: send("#{about}_...
19f9dfd948043088348ffc5d5d1ca92bbc99798b
lib/exercism/use_cases/notify.rb
lib/exercism/use_cases/notify.rb
Ruby
<|file_sep|>original/README.md # PreMailer.Net [![Build Status](http://ci.milk.sh/app/rest/builds/buildType:\(id:bt4\)/statusIcon)](http://ci.milk.sh/project.html?projectId=project3&tab=projectOverview&guest=1) C# Library for moving CSS to inline style attributes, to gain maximum E-mail client compatibility. Usage --...
# PreMailer.Net [![Build Status](http://ci.milkshakehq.com/app/rest/builds/buildType:\(id:bt4\)/statusIcon)](http://ci.milkshakehq.com/project.html?projectId=project3&tab=projectOverview&guest=1) C# Library for moving CSS to inline style attributes, to gain maximum E-mail client compatibility. Usage --------- st...
<|file_sep|>original/README.md # PreMailer.Net [![Build Status](http://ci.milk.sh/app/rest/builds/buildType:\(id:bt4\)/statusIcon)](http://ci.milk.sh/project.html?projectId=project3&tab=projectOverview&guest=1) C# Library for moving CSS to inline style attributes, to gain maximum E-mail client compatibility. Usage --...
c8aea0f2450160181abee2534818ec836bf38458
README.md
README.md
Markdown
<|file_sep|>original/README.md To build the HTML documentation: cd docs make html The documentation will then be available at `docs/build/html`. Note that <a href="http://sphinx-doc.org/">Sphinx</a> is required to build the documentation Updating -------- To update your clone of the git repository, use: ...
To build the HTML documentation: cd docs make html The documentation will then be available at `docs/build/html`. Note that <a href="http://sphinx-doc.org/">Sphinx</a> is required to build the documentation Updating -------- To update your clone of the git repository, use: git pull git submodule u...
<|file_sep|>original/README.md To build the HTML documentation: cd docs make html The documentation will then be available at `docs/build/html`. Note that <a href="http://sphinx-doc.org/">Sphinx</a> is required to build the documentation Updating -------- To update your clone of the git repository, use: ...
f4b96930f0e47791b72ca4261777d2d208afd6c9
README.md
README.md
Markdown
<|file_sep|>original/docs/development/components/Metric.md ```javascript { type:'Metric', cardStyle: 'metric', iconClass: 'fa fa-clock', background: '#9F3E69', data: ['Provided Value'], caption: 'New Users', } ``` **Available settings** * **background:** the background color to be used for this metric. *...
```javascript { type:'Metric', cardStyle: 'metric', iconClass: 'fa fa-clock', background: '#9F3E69', data: ['Provided Value'], caption: 'New Users', } ``` **Available settings** * **background:** the background color to be used for this metric. * **caption:** a description to be displayed * **cardStyle:...
<|file_sep|>original/docs/development/components/Metric.md ```javascript { type:'Metric', cardStyle: 'metric', iconClass: 'fa fa-clock', background: '#9F3E69', data: ['Provided Value'], caption: 'New Users', } ``` **Available settings** * **background:** the background color to be used for this metric. *...
bc224a23ea7b82447ea4103f0d652d8a2c2ea280
docs/development/components/Metric.md
docs/development/components/Metric.md
Markdown
<|file_sep|>original/kernel/arch/x86/boot/boot.h #ifndef __BOOT_H__ #define __BOOT_H__ /* multiboot definitions */ #define MB_HEADER_MAGIC 0x1BADB002 #define MB_BOOT_MAGIC 0x2BADB002 #define MB_PAGE_ALIGN 0x00000001 #define MB_MEMORY_INFO 0x00000002 /* common boot definitions */ #define BOOT_TIME_STACK_SIZE 0x40...
#ifndef __BOOT_H__ #define __BOOT_H__ /* multiboot definitions */ #define MB_HEADER_MAGIC 0x1BADB002 #define MB_BOOT_MAGIC 0x2BADB002 #define MB_PAGE_ALIGN 0x00000001 #define MB_MEMORY_INFO 0x00000002 /* common boot definitions */ #define BOOT_TIME_STACK_SIZE 0x4000 #define BOOT_CS_ENTRY 1 #define BOOT_C...
<|file_sep|>original/kernel/arch/x86/boot/boot.h #ifndef __BOOT_H__ #define __BOOT_H__ /* multiboot definitions */ #define MB_HEADER_MAGIC 0x1BADB002 #define MB_BOOT_MAGIC 0x2BADB002 #define MB_PAGE_ALIGN 0x00000001 #define MB_MEMORY_INFO 0x00000002 /* common boot definitions */ #define BOOT_TIME_STACK_SIZE 0x40...
545ae42ea7d0489da564dd61fd3b1b18bf0ebe9c
kernel/arch/x86/boot/boot.h
kernel/arch/x86/boot/boot.h
C
<|file_sep|>original/metadata.rb name 'local_apt' maintainer 'Cyril Ledru' maintainer_email 'cyril.ledru@gmail.com' license 'All rights reserved' description 'Installs/Configures local_apt' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.0' ...
name 'local_apt' maintainer 'Cyril Ledru' maintainer_email 'cyril.ledru@gmail.com' license 'All rights reserved' description 'Installs/Configures local_apt' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.2.0' supports 'ubuntu' depends 'apt'
<|file_sep|>original/metadata.rb name 'local_apt' maintainer 'Cyril Ledru' maintainer_email 'cyril.ledru@gmail.com' license 'All rights reserved' description 'Installs/Configures local_apt' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.0' ...
413504a34f84028614dce93601396d9e7ff5159e
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/experiments/python/gtk_drawing_area_pixels.py <|file_sep|>current/experiments/python/gtk_drawing_area_pixels.py <|file_sep|>updated/experiments/python/gtk_drawing_area_pixels.py
__author__ = 'Joel Wright' import pygtk pygtk.require('2.0') import gtk import math import cairo import struct class DrawingAreaExample(gtk.Window): def __init__(self): super(DrawingAreaExample, self).__init__() self.set_title("Drawing Area Example") self.resize(300,400) self.set_...
<|file_sep|>original/experiments/python/gtk_drawing_area_pixels.py <|file_sep|>current/experiments/python/gtk_drawing_area_pixels.py <|file_sep|>updated/experiments/python/gtk_drawing_area_pixels.py __author__ = 'Joel Wright' import pygtk pygtk.require('2.0') import gtk import math import cairo import struct class ...
5072478d2c89d5235aff20f8ccb365ab9ec2e297
experiments/python/gtk_drawing_area_pixels.py
experiments/python/gtk_drawing_area_pixels.py
Python
<|file_sep|>tox.ini.diff original: envlist = py26, py27, pypy, py33 updated: envlist = py26, py27, pypy <|file_sep|>original/tox.ini [tox] envlist = py26, py27, pypy, py33 [testenv] deps = -rrequirements.txt commands = nosetests <|file_sep|>current/tox.ini [tox] envlist = py26, py27, pypy [testenv] deps = -rrequireme...
[tox] envlist = py26, py27, pypy [testenv] deps = -rrequirements.txt commands = py.test
<|file_sep|>tox.ini.diff original: envlist = py26, py27, pypy, py33 updated: envlist = py26, py27, pypy <|file_sep|>original/tox.ini [tox] envlist = py26, py27, pypy, py33 [testenv] deps = -rrequirements.txt commands = nosetests <|file_sep|>current/tox.ini [tox] envlist = py26, py27, pypy [testenv] deps = -rrequireme...
36a1d1c740474935d919e5ff3f7152682a34713a
tox.ini
tox.ini
INI
<|file_sep|>original/src/main/resources/json/examplePokemonEntry.json <|file_sep|>current/src/main/resources/json/examplePokemonEntry.json <|file_sep|>updated/src/main/resources/json/examplePokemonEntry.json
{ "001 - Something": { "nationalDex": "001", "name": "Something", "mega": "no", "types": { "type1": "test1", "type2": "test2" }, "evolution": { "evolves": "yes", "evolutionMethod": "test", "itemNeeded": "none" }, "abilities" : { "ability1": "test1", ...
<|file_sep|>original/src/main/resources/json/examplePokemonEntry.json <|file_sep|>current/src/main/resources/json/examplePokemonEntry.json <|file_sep|>updated/src/main/resources/json/examplePokemonEntry.json { "001 - Something": { "nationalDex": "001", "name": "Something", "mega": "no", "types": { ...
1ec95ed8c48eff9758606ce30cba8e7531ba4382
src/main/resources/json/examplePokemonEntry.json
src/main/resources/json/examplePokemonEntry.json
JSON
<|file_sep|>original/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch <|file_sep|>current/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch <|file_sep|>updated/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch
From 84c8ea684d13cd71128de95a0939460e0d7d8827 Mon Sep 17 00:00:00 2001 From: torque <torque@1> Date: Fri, 30 Jan 2015 22:20:54 -0800 Subject: [PATCH] Don't use approximation in rasterizer. Removes a small amount of error for a (negligible?) loss of performance. --- libass/ass_rasterizer.c | 4 +--- 1 file changed, 1 ...
<|file_sep|>original/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch <|file_sep|>current/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch <|file_sep|>updated/deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch From 84c8ea684d13cd71128de95a0939460e0d7d8827 Mon Sep 17 00:00:00 2001 ...
3e1948943aa1144f7056002e1c2d88e7a62c9e24
deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch
deps/patches/0001-Don-t-use-approximation-in-rasterizer.patch
Diff
<|file_sep|>original/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy
String where = """ collection = 'auth' AND data#>>'{@graph,0,_marcUncompleted}' LIKE '%\"751\"%' """ Map SUBFIELD_MAPPINGS = [ "0": "marc:recordControlNumber", "a": "marc:geographicName", "x": "marc:generalSubdivision", "y": "marc:chronolo...
<|file_sep|>original/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy String where = """ collection = 'auth' AND data#...
3d4971518c34bafde90714451929ae14e783b60a
whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy
whelktool/scripts/cleanups/2021/06/lxl-3591-uncompleted-751.groovy
Groovy
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.1 * Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 0.1 * Initial release <|file_sep|>updated/CHANGELOG.md
# Changelog ## 0.1 Initial Release * Basic [Zotero Web API](https://www.zotero.org/support/dev/web_api/v3/start) client built on [jquery.rest](https://github.com/jpillora/jquery.rest), with methods to search for user or group items, provide results for an autocomplete widget, and retrieve a single item by fo...
<|file_sep|>original/CHANGELOG.md # Changelog ## 0.1 * Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 0.1 * Initial release <|file_sep|>updated/CHANGELOG.md # Changelog ## 0.1 Initial Release * Basic [Zotero Web API](https://www.zotero.org/support/dev/web_api/v3/start) client built on [jquery.re...
220938649486edfc891b3dab1b77a95eeb1520d1
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>chatterbot/ext/django_chatterbot/views.py.diff original: updated: import json <|file_sep|>chatterbot/ext/django_chatterbot/views.py.diff original: updated: def _serialize_recent_statements(self): if self.chatterbot.recent_statements.empty(): return [] recent_statements = [...
else: input_statement = request.POST.get('text') response_data = self.chatterbot.get_response(input_statement) return JsonResponse(response_data, status=200) def get(self, request, *args, **kwargs): data = { 'detail': 'You should make a POST request to this...
<|file_sep|>chatterbot/ext/django_chatterbot/views.py.diff original: updated: import json <|file_sep|>chatterbot/ext/django_chatterbot/views.py.diff original: updated: def _serialize_recent_statements(self): if self.chatterbot.recent_statements.empty(): return [] recent_statements = [...
0e0f61edd95bef03a470ae4717d5d4e390011ae3
chatterbot/ext/django_chatterbot/views.py
chatterbot/ext/django_chatterbot/views.py
Python
<|file_sep|>original/requirements.txt boto3==1.4.7 botocore==1.7.28 dj-database-url==0.4.1 Django==3.1.13 django-allauth==0.44 django-appconf==1.0.2 django-autofixture==0.12.1 django-compressor==2.1.1 django-core==1.4.1 django-csp==3.7 django-registration==3.1.2 django-s3direct==0.4.2 django-storages==1.5.1 django-tagg...
boto3==1.4.7 botocore==1.7.28 dj-database-url==0.4.1 Django==3.1.8 django-allauth==0.44 django-appconf==1.0.2 django-autofixture==0.12.1 django-compressor==2.1.1 django-core==1.4.1 django-csp==3.7 django-registration==3.1.2 django-s3direct==0.4.2 django-storages==1.5.1 django-taggit==1.3.0 django-debreach==2.0.1 django...
<|file_sep|>original/requirements.txt boto3==1.4.7 botocore==1.7.28 dj-database-url==0.4.1 Django==3.1.13 django-allauth==0.44 django-appconf==1.0.2 django-autofixture==0.12.1 django-compressor==2.1.1 django-core==1.4.1 django-csp==3.7 django-registration==3.1.2 django-s3direct==0.4.2 django-storages==1.5.1 django-tagg...
9cdc2299f155054c8cb7643f3f049a2a29f13aea
requirements.txt
requirements.txt
Text
<|file_sep|>src/js/components/form/FieldLabel.js.diff original: let {children, className, required} = props; updated: let {children, className, matchInputHeight, required} = props; <|file_sep|>src/js/components/form/FieldLabel.js.diff original: return ( <label className={classes} {...omit(props, Object.keys(F...
return ( <div className="form-control-input-height"> {label} </div> ); }; FieldLabel.propTypes = { children: React.PropTypes.node, // Vertically center the element based on the height of input fields matchInputHeight: React.PropTypes.bool, // Optional boolean to show a required indicator r...
<|file_sep|>src/js/components/form/FieldLabel.js.diff original: let {children, className, required} = props; updated: let {children, className, matchInputHeight, required} = props; <|file_sep|>src/js/components/form/FieldLabel.js.diff original: return ( <label className={classes} {...omit(props, Object.keys(F...
3355cb3d74d53b2cdcc1fa64569d2e09754ecd55
src/js/components/form/FieldLabel.js
src/js/components/form/FieldLabel.js
JavaScript
<|file_sep|>original/menus/term2.cson # See https://atom.io/docs/latest/creating-a-package#menus for more details # 'context-menu': # '.overlayer': # 'Open terminal here': 'term:open' 'menu': [ 'label': 'Packages' 'submenu': [ 'label': 'Term 2' 'submenu': [ {'label': 'Open New Terminal in New...
# See https://atom.io/docs/latest/creating-a-package#menus for more details # 'context-menu': # '.overlayer': # 'Open terminal here': 'term:open' 'menu': [ 'label': 'Packages' 'submenu': [ 'label': 'Term 3' 'submenu': [ {'label': 'Open New Terminal in New Tab', 'command': 'term3:open'} ...
<|file_sep|>original/menus/term2.cson # See https://atom.io/docs/latest/creating-a-package#menus for more details # 'context-menu': # '.overlayer': # 'Open terminal here': 'term:open' 'menu': [ 'label': 'Packages' 'submenu': [ 'label': 'Term 2' 'submenu': [ {'label': 'Open New Terminal in New...
7f2a7b8f545d5594d744b09c8d6e4a62564ea471
menus/term2.cson
menus/term2.cson
CoffeeScript
<|file_sep|>original/.ci-scripts/test-bootstrap.sh #!/bin/sh cat ponyup-init.sh | sh -s export PATH=$HOME/.local/share/ponyup/bin:"/Users/runner/Library/Application Support/ponyup/bin":$PATH ponyup update ponyc nightly ponyup update changelog-tool nightly ponyup update corral nightly ponyup update stable nightly mak...
#!/bin/sh cat ponyup-init.sh | sh -s export PATH=$HOME/.local/share/ponyup/bin:$PATH ponyup update ponyc nightly ponyup update changelog-tool nightly ponyup update corral nightly ponyup update stable nightly make clean make
<|file_sep|>original/.ci-scripts/test-bootstrap.sh #!/bin/sh cat ponyup-init.sh | sh -s export PATH=$HOME/.local/share/ponyup/bin:"/Users/runner/Library/Application Support/ponyup/bin":$PATH ponyup update ponyc nightly ponyup update changelog-tool nightly ponyup update corral nightly ponyup update stable nightly mak...
2fdc88a9199bbce892fe98be00a378a114436438
.ci-scripts/test-bootstrap.sh
.ci-scripts/test-bootstrap.sh
Shell
<|file_sep|>original/.github/workflows/gradle-build.yml name: "Build Gradle project" on: [push, workflow_dispatch] jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 9, 10, 11, 12, 13 ] name: Building on Java ${{ matrix.java }} steps: - name: Check out proje...
jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 9, 10, 11, 12, 13 ] name: Building on Java ${{ matrix.java }} steps: - name: Check out project uses: actions/checkout@v2 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java...
<|file_sep|>original/.github/workflows/gradle-build.yml name: "Build Gradle project" on: [push, workflow_dispatch] jobs: build: runs-on: ubuntu-latest strategy: matrix: java: [ 8, 9, 10, 11, 12, 13 ] name: Building on Java ${{ matrix.java }} steps: - name: Check out proje...
c867007d7b76da09f9b3477833501be296d5f4dc
.github/workflows/gradle-build.yml
.github/workflows/gradle-build.yml
YAML
<|file_sep|>install.sh.diff original: while read word1 word2 others updated: while read word1 word2 <|file_sep|>install.sh.diff original: if [ -n "$others" ] then echo extra fields detected >&2 exit 1 fi case $word1 in updated: case word1 in <|file_sep|>original/install.sh sed 's/#.*//g' | grep -v '^...
sed 's/#.*//g' | grep -v '^[[:blank:]]*$' | while read word1 word2 do case word1 in i) echo installing $word2 pkg install -y $word2 ;; r) echo removing $word2 pkg remove -y $word2 ;; *) echo invalid letter at the first field exit 1 esac done # copy config files install -o "$USER" -g "...
<|file_sep|>install.sh.diff original: while read word1 word2 others updated: while read word1 word2 <|file_sep|>install.sh.diff original: if [ -n "$others" ] then echo extra fields detected >&2 exit 1 fi case $word1 in updated: case word1 in <|file_sep|>original/install.sh sed 's/#.*//g' | grep -v '^...
33139e575c81453a88d0316d1be992e9f7db8fdb
install.sh
install.sh
Shell
<|file_sep|>app/controllers/application_controller.rb.diff original: before_filter :prepare_for_mobile updated: #before_filter :prepare_for_mobile <|file_sep|>app/controllers/application_controller.rb.diff original: def mobile_device? if session[:mobile_param] session[:mobile_param] == "1" else ...
#def mobile_device? # if session[:mobile_param] # session[:mobile_param] == "1" #else # request.user_agent =~ /Mobile|webOS/ #end #end #helper_method :mobile_device? #def prepare_for_mobile # session[:mobile_param] = params[:mobile] if params[:mobile] #request.format = :mobile if mo...
<|file_sep|>app/controllers/application_controller.rb.diff original: before_filter :prepare_for_mobile updated: #before_filter :prepare_for_mobile <|file_sep|>app/controllers/application_controller.rb.diff original: def mobile_device? if session[:mobile_param] session[:mobile_param] == "1" else ...
0448313697b12db38c4678f56147ce54f7698f7c
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/package.json ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^3.5.0",...
], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^3.5.0", "eslint": "^1.10.3", "esl...
<|file_sep|>original/package.json ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^3.5.0",...
a1b017a53587d6896dceb95d11c64f8c5bd6d436
package.json
package.json
JSON
<|file_sep|>src/Config/Console/ConfigCacheCommand.php.diff original: $app = require $this->laravel->basePath().'/bootstrap/app.php'; updated: $app = require $this->laravel->bootstrapPath('app.php'); <|file_sep|>src/Config/Console/ConfigCacheCommand.php.diff original: $config->get('compile.co...
$files = []; $path = $this->laravel->configPath(); $found = Finder::create()->files()->name('*.php')->depth('== 0')->in($path); foreach ($found as $file) { $files[] = \basename($file->getRealPath(), '.php'); } return $files; } /** * Get all of ...
<|file_sep|>src/Config/Console/ConfigCacheCommand.php.diff original: $app = require $this->laravel->basePath().'/bootstrap/app.php'; updated: $app = require $this->laravel->bootstrapPath('app.php'); <|file_sep|>src/Config/Console/ConfigCacheCommand.php.diff original: $config->get('compile.co...
52824ac046bf16be83e92e07dcdb21a624977360
src/Config/Console/ConfigCacheCommand.php
src/Config/Console/ConfigCacheCommand.php
PHP
<|file_sep|>original/deal.II/deal.II/source/grid/geometry_info.cc /* $Id$ */ #include <grid/geometry_info.h> // enable these lines for gcc2.95 // //const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; //const unsigned int Geometr...
/* $Id$ */ #include <grid/geometry_info.h> const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell;...
<|file_sep|>original/deal.II/deal.II/source/grid/geometry_info.cc /* $Id$ */ #include <grid/geometry_info.h> // enable these lines for gcc2.95 // //const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; //const unsigned int Geometr...
00fe29604e0799a76090f3ce30afa269ea65a960
deal.II/deal.II/source/grid/geometry_info.cc
deal.II/deal.II/source/grid/geometry_info.cc
C++
<|file_sep|>package.json.diff original: "ref-array": "^1.2.0" }, "devDependencies": { updated: "ref-array": "^1.2.0", <|file_sep|>original/package.json { "name": "llvmc", "version": "1.0.0", "license": "MIT", "main": "./build/index.js", "types": "./build/index.d.ts", "scripts": { "build": "t...
"version": "1.0.0", "license": "MIT", "main": "./build/index.js", "types": "./build/index.d.ts", "scripts": { "build": "tsc", "prepublishOnly": "tsc" }, "dependencies": { "ffi": "^2.2.0", "ref": "^1.3.4", "ref-array": "^1.2.0", "@types/ffi": "^0.0.19", "@types/node": "^7.0.5", ...
<|file_sep|>package.json.diff original: "ref-array": "^1.2.0" }, "devDependencies": { updated: "ref-array": "^1.2.0", <|file_sep|>original/package.json { "name": "llvmc", "version": "1.0.0", "license": "MIT", "main": "./build/index.js", "types": "./build/index.d.ts", "scripts": { "build": "t...
c2305959c225e2c48eb0a0826285f79a444b92a6
package.json
package.json
JSON
<|file_sep|>original/.travis.yml # References: # - https://docs.travis-ci.com/user/customizing-the-build/ # - https://docs.travis-ci.com/user/pull-requests/ language: node_js node_js: - "6.12" sudo: false branches: only: - master - develop - /^feature\/.*$/ script: - npm install - npm run t...
# References: # - https://docs.travis-ci.com/user/customizing-the-build/ # - https://docs.travis-ci.com/user/pull-requests/ language: node_js node_js: - "8.11.4" sudo: false branches: only: - master - develop - /^feature\/.*$/ script: - npm install - npm run test
<|file_sep|>original/.travis.yml # References: # - https://docs.travis-ci.com/user/customizing-the-build/ # - https://docs.travis-ci.com/user/pull-requests/ language: node_js node_js: - "6.12" sudo: false branches: only: - master - develop - /^feature\/.*$/ script: - npm install - npm run t...
4c38d52e766b24ab3eaf34bdedec11b1958363bf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/Bitcode/Writer/LLVMBuild.txt ; ; The LLVM Compiler Infrastructure ; ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is ...
; ; The LLVM Compiler Infrastructure ; ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is an LLVMBuild description file for the components in th...
<|file_sep|>original/lib/Bitcode/Writer/LLVMBuild.txt ; ; The LLVM Compiler Infrastructure ; ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is ...
c45a5a4d32ce20a0c6caa1c1bdcf207fc10620b4
lib/Bitcode/Writer/LLVMBuild.txt
lib/Bitcode/Writer/LLVMBuild.txt
Text