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|>proscli/main.py.diff original: import prosconductor.providers.utils @proscli.flasher_cli.command('help', short_help='Show this message and exit.') @click.argument('ignore', nargs=-1, expose_value=False) @default_options @click.pass_context def help_cmd(ctx): click.echo(prosconductor.providers.utils.get...
def main(): # the program name should always be pros. don't care if it's not... try: cli.main(prog_name='pros') except KeyboardInterrupt: click.echo('Aborted!') pass @click.command('pros', cls=click.CommandCollection, context_settings=dict(help_option_...
<|file_sep|>proscli/main.py.diff original: import prosconductor.providers.utils @proscli.flasher_cli.command('help', short_help='Show this message and exit.') @click.argument('ignore', nargs=-1, expose_value=False) @default_options @click.pass_context def help_cmd(ctx): click.echo(prosconductor.providers.utils.get...
85123f01f1e63b4fc7688e13104ee59c6efb263a
proscli/main.py
proscli/main.py
Python
<|file_sep|>original/lib/mq-sass.rb # Derived from https://github.com/thoughtbot/bourbon/blob/v4-stable/lib/bourbon.rb # Special thanks to the thoughtbot team b/c I had no clue what I was doing dir = File.dirname(__FILE__) $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir) unless defined?(Sass) require 'sass' en...
# Derived from https://github.com/thoughtbot/bourbon/blob/v4-stable/lib/bourbon.rb # Special thanks to the thoughtbot team b/c I had no clue what I was doing dir = File.dirname(__FILE__) $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir) unless defined?(Sass) require 'sass' end module MQSass if defined?(Rails...
<|file_sep|>original/lib/mq-sass.rb # Derived from https://github.com/thoughtbot/bourbon/blob/v4-stable/lib/bourbon.rb # Special thanks to the thoughtbot team b/c I had no clue what I was doing dir = File.dirname(__FILE__) $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir) unless defined?(Sass) require 'sass' en...
6f8e25fd802c8517f0e114e4e4cabac51e8b2260
lib/mq-sass.rb
lib/mq-sass.rb
Ruby
<|file_sep|>original/pmg/templates/admin/inline_bill_events.html {% import '/admin/model/inline_list_base.html' as base with context %} {% import '_macros.html' as macros %} {% macro render_event_field(field) %} {% set model = field.object_data %} {% if model and model.type == 'committee-meeting' %} <a href="/admin/...
{% import '/admin/model/inline_list_base.html' as base with context %} {% import '_macros.html' as macros %} {% macro render_event_field(field) %} {% set model = field.object_data %} {% if model and model.type == 'committee-meeting' %} <a href="/admin/committee-meeting/edit/?id={{ model.id }}">{{ model.date.strftime...
<|file_sep|>original/pmg/templates/admin/inline_bill_events.html {% import '/admin/model/inline_list_base.html' as base with context %} {% import '_macros.html' as macros %} {% macro render_event_field(field) %} {% set model = field.object_data %} {% if model and model.type == 'committee-meeting' %} <a href="/admin/...
1707ae64c88478f51073509591cdccb4c18b0b1c
pmg/templates/admin/inline_bill_events.html
pmg/templates/admin/inline_bill_events.html
HTML
<|file_sep|>original/config/plugins/syntastic.vim let g:syntastic_ruby_checkers = ['rubocop'] let g:syntastic_ruby_rubocop_args = '--auto-correct' let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_javascript_eslint_args = '--fix' set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()...
let g:syntastic_ruby_checkers = ['rubocop'] let g:syntastic_ruby_rubocop_args = '--auto-correct' let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_javascript_eslint_args = '--fix' let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 0 let g:syntastic_check_on_open = 1 let g:synt...
<|file_sep|>original/config/plugins/syntastic.vim let g:syntastic_ruby_checkers = ['rubocop'] let g:syntastic_ruby_rubocop_args = '--auto-correct' let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_javascript_eslint_args = '--fix' set statusline+=%#warningmsg# set statusline+=%{SyntasticStatuslineFlag()...
13b131e2aa6d5b32d77f5d8346badd5b9f921baf
config/plugins/syntastic.vim
config/plugins/syntastic.vim
VimL
<|file_sep|>original/03_Pine_Ruby_Exercises/numbers.rb <|file_sep|>current/03_Pine_Ruby_Exercises/numbers.rb <|file_sep|>updated/03_Pine_Ruby_Exercises/numbers.rb
# @Author: Aswin Mohan <aswinmohan> # @Date: 2016-09-06T06:12:04+05:30 # @Last modified by: aswinmohan # @Last modified time: 2016-09-06T06:15:31+05:30 # How many hours are in a year puts 365 * 24 # how many minutes in a decade puts 60 * 24 * 365 * 10 # Age in Seconds puts 17.5 * 365 * 24 * 60 * 60
<|file_sep|>original/03_Pine_Ruby_Exercises/numbers.rb <|file_sep|>current/03_Pine_Ruby_Exercises/numbers.rb <|file_sep|>updated/03_Pine_Ruby_Exercises/numbers.rb # @Author: Aswin Mohan <aswinmohan> # @Date: 2016-09-06T06:12:04+05:30 # @Last modified by: aswinmohan # @Last modified time: 2016-09-06T06:15:31+05:30...
a338de226215253c16fb1abac062773a5db10f3c
03_Pine_Ruby_Exercises/numbers.rb
03_Pine_Ruby_Exercises/numbers.rb
Ruby
<|file_sep|>original/ci/azure-pipelines-test-wheels.yml steps: - download: current artifact: ${{ parameters.platform }}_wheels displayName: Download wheels - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' architecture: 'x64' displayName: 'Use Python $(python.version)' - script: | ...
artifact: ${{ parameters.platform }}_wheels displayName: Download wheels - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' architecture: 'x64' displayName: 'Use Python $(python.version)' - script: | python -m pip install --upgrade pip pip install tox codecov displayName: Inst...
<|file_sep|>original/ci/azure-pipelines-test-wheels.yml steps: - download: current artifact: ${{ parameters.platform }}_wheels displayName: Download wheels - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' architecture: 'x64' displayName: 'Use Python $(python.version)' - script: | ...
b996001bfa3b1ad17489074f364c43e24bb78284
ci/azure-pipelines-test-wheels.yml
ci/azure-pipelines-test-wheels.yml
YAML
<|file_sep|>original/proto/drivermsg.proto message DriverHdr { optional int32 deviceType = 1; optional int32 deviceID = 2; repeated int32 clientIDs = 3 [packed = true]; } message DriverMsg { enum MsgType { DATA = 1; PING = 2; PONG = 3; CLIENT_DIED = 4; DRIVER_DIE...
optional int32 deviceID = 2; repeated int32 clientIDs = 3 [packed = true]; } message DriverMsg { enum MsgType { DATA = 1; PING = 2; PONG = 3; CLIENT_DIED = 4; DRIVER_DIED = 5; SUBSCRIBE = 6; UNSUBSCRIBE = 7; } required MsgType type = 2; ...
<|file_sep|>original/proto/drivermsg.proto message DriverHdr { optional int32 deviceType = 1; optional int32 deviceID = 2; repeated int32 clientIDs = 3 [packed = true]; } message DriverMsg { enum MsgType { DATA = 1; PING = 2; PONG = 3; CLIENT_DIED = 4; DRIVER_DIE...
c2a151b2abc2b9f91f677967f18a959be28a23ec
proto/drivermsg.proto
proto/drivermsg.proto
Protocol Buffer
<|file_sep|>original/backend/app/helpers/spree/promotion_rules_helper.rb module Spree module PromotionRulesHelper def options_for_promotion_rule_types(promotion) existing = promotion.rules.map { |rule| rule.class.name } rule_names = Rails.application.config.spree.promotions.rules.map(&:name).reject{ |...
module Spree module PromotionRulesHelper def options_for_promotion_rule_types(promotion) existing = promotion.rules.map { |rule| rule.class.name } rules = Rails.application.config.spree.promotions.rules.reject { |r| existing.include? r.name } options = rules.map { |rule| [rule.model_name.human, ...
<|file_sep|>original/backend/app/helpers/spree/promotion_rules_helper.rb module Spree module PromotionRulesHelper def options_for_promotion_rule_types(promotion) existing = promotion.rules.map { |rule| rule.class.name } rule_names = Rails.application.config.spree.promotions.rules.map(&:name).reject{ |...
5eb4600796b2fd4ac15f7deea2c090f54bf03651
backend/app/helpers/spree/promotion_rules_helper.rb
backend/app/helpers/spree/promotion_rules_helper.rb
Ruby
<|file_sep|>original/src/Inflector/InflectorAggregate.php namespace League\Container\Inflector; use Generator; use League\Container\ContainerAwareTrait; class InflectorAggregate implements InflectorAggregateInterface { use ContainerAwareTrait; /** * @var \League\Container\Inflector[] */ protect...
namespace League\Container\Inflector; use Generator; use League\Container\ContainerAwareTrait; class InflectorAggregate implements InflectorAggregateInterface { use ContainerAwareTrait; /** * @var \League\Container\Inflector\Inflector[] */ protected $inflectors = []; /** * {@inheritdo...
<|file_sep|>original/src/Inflector/InflectorAggregate.php namespace League\Container\Inflector; use Generator; use League\Container\ContainerAwareTrait; class InflectorAggregate implements InflectorAggregateInterface { use ContainerAwareTrait; /** * @var \League\Container\Inflector[] */ protect...
c461581efc07405460341d5e23a59956ae979bfe
src/Inflector/InflectorAggregate.php
src/Inflector/InflectorAggregate.php
PHP
<|file_sep|>index.html.diff original: updated: <link rel="stylesheet" type="text/css" href="css/desktop.css"> <link rel="stylesheet" type="text/css" href="css/tablet-landscape.css"> <link rel="stylesheet" type="text/css" href="css/tablet-portrait.css"> <link rel="stylesheet" type="text/css" href="css/m...
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/desktop.css"> <link rel="stylesheet" type="text/css" href="css/tablet-landscape.css"> <link rel="stylesheet" type="text/css" href="css/tablet-portrait.css...
<|file_sep|>index.html.diff original: updated: <link rel="stylesheet" type="text/css" href="css/desktop.css"> <link rel="stylesheet" type="text/css" href="css/tablet-landscape.css"> <link rel="stylesheet" type="text/css" href="css/tablet-portrait.css"> <link rel="stylesheet" type="text/css" href="css/m...
425ead685914874a1ee5db15924d9a857b128762
index.html
index.html
HTML
<|file_sep|>original/README.md # ruby An object-oriented language for quick and easy programming ## Tags * `latest` tracks the latest stable release of Ruby. ## Included Gems * bundler ## License [MIT](https://tldrlegal.com/license/mit-license) ## Contributors * [Chris Olstrom](https://colstrom.github.io/) | [...
# ruby An object-oriented language for quick and easy programming ## Tags * `latest` tracks the latest stable release of Ruby. ## License [MIT](https://tldrlegal.com/license/mit-license) ## Contributors * [Chris Olstrom](https://colstrom.github.io/) | [e-mail](mailto:chris@olstrom.com) | [Twitter](https://twitte...
<|file_sep|>original/README.md # ruby An object-oriented language for quick and easy programming ## Tags * `latest` tracks the latest stable release of Ruby. ## Included Gems * bundler ## License [MIT](https://tldrlegal.com/license/mit-license) ## Contributors * [Chris Olstrom](https://colstrom.github.io/) | [...
fc90e3c9c545b332e03962863f0442d507a62a13
README.md
README.md
Markdown
<|file_sep|>original/app/views/examples/confirmation-page.html <div class="govuk-box-highlight"> <h1 class="bold-large">Application complete</h1> <p> Your reference number is <br> <strong class="heading-medium">HDJ2123F</strong> </p> </div> <p>We have sent ...
<div class="govuk-box-highlight"> <h1 class="bold-large">Application complete</h1> <p> Your reference number is <br> <strong class="heading-medium">HDJ2123F</strong> </p> </div> <p>We have sent you a confirmation email.</p> <h2 class="heading-medium"...
<|file_sep|>original/app/views/examples/confirmation-page.html <div class="govuk-box-highlight"> <h1 class="bold-large">Application complete</h1> <p> Your reference number is <br> <strong class="heading-medium">HDJ2123F</strong> </p> </div> <p>We have sent ...
83248f0c493d89b680777714f2b01ec17d152223
app/views/examples/confirmation-page.html
app/views/examples/confirmation-page.html
HTML
<|file_sep|>original/README.md # D3JS ideas This will be the place where I'll upload some ideas involving D3.js. I hope it will be useful for anyone interested in building web (and beyond...) visualizations with this amazing library! <|file_sep|>current/README.md # D3JS ideas This will be the place where I'll upload ...
# D3JS ideas This will be the place where I'll upload some ideas involving D3.js. I hope it will be useful for anyone interested in building web (and beyond...) visualizations with this amazing library! `on branch functionalD3`
<|file_sep|>original/README.md # D3JS ideas This will be the place where I'll upload some ideas involving D3.js. I hope it will be useful for anyone interested in building web (and beyond...) visualizations with this amazing library! <|file_sep|>current/README.md # D3JS ideas This will be the place where I'll upload ...
4915afc3c947184c88e536b50151902b170cf71d
README.md
README.md
Markdown
<|file_sep|>app/controllers/finders_controller.rb.diff original: updated: before_filter :set_robots_headers <|file_sep|>original/app/controllers/finders_controller.rb private def finder @finder ||= Finder.get(finder_slug).tap { |finder| finder.facets.values = facet_params finder.keywords = keywor...
params[:slug] end def facet_params params end def keywords params[:keywords] end def set_robots_headers if finders_excluded_from_robots.include?(finder_slug) response.headers["X-Robots-Tag"] = "none" end end def finders_excluded_from_robots [ 'aaib-reports' ]
<|file_sep|>app/controllers/finders_controller.rb.diff original: updated: before_filter :set_robots_headers <|file_sep|>original/app/controllers/finders_controller.rb private def finder @finder ||= Finder.get(finder_slug).tap { |finder| finder.facets.values = facet_params finder.keywords = keywor...
e1fc243b7055ea6e6d52e4f1f76b7b86e1bb302c
app/controllers/finders_controller.rb
app/controllers/finders_controller.rb
Ruby
<|file_sep|>example/package.json.diff original: "start": "webpack && node index.js" updated: "start": "webpack && node index.js", "dev": "webpack -w & nodemon index.js" <|file_sep|>original/example/package.json "version": "1.0.0", "main": "index.js", "scripts": { "start": "webpack && node index.js...
"dev": "webpack -w & nodemon index.js" }, "author": "Sam Selvanathan (sjasel@gmail.com)", "dependencies": { "babel-core": "^6.3.17", "babel-loader": "^6.2.0", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", "babel-register": "^6.3.13", "express": "^4.13.3", "json...
<|file_sep|>example/package.json.diff original: "start": "webpack && node index.js" updated: "start": "webpack && node index.js", "dev": "webpack -w & nodemon index.js" <|file_sep|>original/example/package.json "version": "1.0.0", "main": "index.js", "scripts": { "start": "webpack && node index.js...
31b1efe439d6e0dffbe82e593fbd30d22210c21b
example/package.json
example/package.json
JSON
<|file_sep|>original/composer.json "description": "Twig text extension.", "keywords": ["twig", "text"], "type": "library", "license": "MIT", "authors": [ { "name": "Aitor García", "email": "aitor.falc@gmail.com", "homepage": "http://aitorgarcia.org/" ...
"description": "Twig text extension.", "keywords": ["twig", "text"], "type": "library", "license": "MIT", "authors": [ { "name": "Aitor García", "email": "aitor.falc@gmail.com", "homepage": "http://aitorgarcia.org/" } ], "require": { ...
<|file_sep|>original/composer.json "description": "Twig text extension.", "keywords": ["twig", "text"], "type": "library", "license": "MIT", "authors": [ { "name": "Aitor García", "email": "aitor.falc@gmail.com", "homepage": "http://aitorgarcia.org/" ...
a1021fd2e0c0198b236e6e542d87c0222450261b
composer.json
composer.json
JSON
<|file_sep|>original/requirements.txt # Application bleach[css]~=5.0 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.4 django-recaptcha~=3.0.0 Django~=3.2 django-activity-stream~=1.4 django-axes==5.39.0 django-crispy-forms~=1.14 django-simple-history~=3.1 django-email-verification~=0.3.1 django_compressor~=4.1 d...
# Application bleach[css]~=5.0 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.4 django-recaptcha~=3.0.0 Django~=3.2 django-activity-stream~=1.4 django-axes==5.39.0 django-crispy-forms~=1.14 django-simple-history~=3.2 django-email-verification~=0.3.1 django_compressor~=4.1 django_extensions~=3.2 django-storages~...
<|file_sep|>original/requirements.txt # Application bleach[css]~=5.0 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.4 django-recaptcha~=3.0.0 Django~=3.2 django-activity-stream~=1.4 django-axes==5.39.0 django-crispy-forms~=1.14 django-simple-history~=3.1 django-email-verification~=0.3.1 django_compressor~=4.1 d...
fc7fccba335ca76ed6907cdcc20538cfb62e47bc
requirements.txt
requirements.txt
Text
<|file_sep|>app/assets/javascripts/kss.coffee.diff original: # Supported pseudo classes: hover, disabled, active, visited. updated: # Supported pseudo classes: hover, disabled, active, visited, focus, checked. <|file_sep|>original/app/assets/javascripts/kss.coffee # rule with the same properties, but named 'psuedo-clas...
# rule with the same properties, but named 'psuedo-class-{{name}}'. # # Supported pseudo classes: hover, disabled, active, visited, focus, checked. # # Example: # # a:hover{ color:blue; } # => a.pseudo-class-hover{ color:blue; } class KssStateGenerator constructor: -> pseudos = /(\:hover|\:disabled|\:active|\...
<|file_sep|>app/assets/javascripts/kss.coffee.diff original: # Supported pseudo classes: hover, disabled, active, visited. updated: # Supported pseudo classes: hover, disabled, active, visited, focus, checked. <|file_sep|>original/app/assets/javascripts/kss.coffee # rule with the same properties, but named 'psuedo-clas...
61e2b167f0f08619d54bf2225a7985fa56f80992
app/assets/javascripts/kss.coffee
app/assets/javascripts/kss.coffee
CoffeeScript
<|file_sep|>original/app/views/layouts/_footer-static.html.haml %footer.container .row .twelve.columns &copy; 2013 Ernte teilen | = link_to t('.about_menu_item', default: 'About'), about_path, title: t('.about_menu_item_title', default: 'Click here to get background information about the project...
%footer.container .row .twelve.columns &copy; 2012-2014 Ernte teilen | = link_to t('.about_menu_item', default: 'About'), about_path, title: t('.about_menu_item_title', default: 'Click here to get background information about the project.') | = link_to t('.contact_menu_item', default...
<|file_sep|>original/app/views/layouts/_footer-static.html.haml %footer.container .row .twelve.columns &copy; 2013 Ernte teilen | = link_to t('.about_menu_item', default: 'About'), about_path, title: t('.about_menu_item_title', default: 'Click here to get background information about the project...
00e317cc1dcac36e511643e6a55b605450faf96d
app/views/layouts/_footer-static.html.haml
app/views/layouts/_footer-static.html.haml
Haml
<|file_sep|>original/trac/admin/templates/admin_basics.html </label> </div> <div class="field"> <label>URL:<br /> <input type="text" name="url" size="48" value="${project.url}" /> </label> </div> <div class="field"> <label>Description:<...
</label> </div> <div class="field"> <label>URL:<br /> <input type="text" name="url" size="48" value="${project.url}" /> </label> </div> <div class="field"> <label>Description:<br /> <textarea name="descr" rows="3" cols="50">...
<|file_sep|>original/trac/admin/templates/admin_basics.html </label> </div> <div class="field"> <label>URL:<br /> <input type="text" name="url" size="48" value="${project.url}" /> </label> </div> <div class="field"> <label>Description:<...
532dfcd585f1baf5b1436f3d6b6353a6fb48dd6b
trac/admin/templates/admin_basics.html
trac/admin/templates/admin_basics.html
HTML
<|file_sep|>cuckoo/setup.sh.diff original: sudo apt-get install vim git updated: sudo apt-get install vim git ctags vim-doc vim-scripts <|file_sep|>cuckoo/setup.sh.diff original: autoconf libfuzzy2 libfuzzy-dev libxml libxml2 libxslt1-dev \ updated: autoconf libfuzzy2 libfuzzy-dev libxml2 libxslt1-dev \ <|file_...
python-bottle python-pefile python-chardet qemu-kvm libvirt-bin \ bridge-utils tcpdump libcap2-bin python-pip virt-manager libtool automake \ autoconf libfuzzy2 libfuzzy-dev libxml2 libxslt1-dev \ postgresql-server-dev-9.1 curl libcurl4-gnutls-dev # Install globaly sudo pip install django pydepp pyfuzz...
<|file_sep|>cuckoo/setup.sh.diff original: sudo apt-get install vim git updated: sudo apt-get install vim git ctags vim-doc vim-scripts <|file_sep|>cuckoo/setup.sh.diff original: autoconf libfuzzy2 libfuzzy-dev libxml libxml2 libxslt1-dev \ updated: autoconf libfuzzy2 libfuzzy-dev libxml2 libxslt1-dev \ <|file_...
8ef3cfa7580f0deba165a20f9fe7f36f0818fa13
cuckoo/setup.sh
cuckoo/setup.sh
Shell
<|file_sep|>original/.github/CONTRIBUTING.md # Contributing to the Nipe! ## License By opening a pull request in this repository, you agree to provide your work under the [project license](LICENSE). ## Great Re-Writings Open a discussion issue before you begin. So we can listen to what you have to say, and we can ...
# Contributing to the Nipe! ## License By opening a pull request in this repository, you agree to provide your work under the [project license](../LICENSE.md). ## Great Re-Writings Open a discussion issue before you begin. So we can listen to what you have to say, and we can provide a referral if it will be worth ...
<|file_sep|>original/.github/CONTRIBUTING.md # Contributing to the Nipe! ## License By opening a pull request in this repository, you agree to provide your work under the [project license](LICENSE). ## Great Re-Writings Open a discussion issue before you begin. So we can listen to what you have to say, and we can ...
e4412d0e2d202a241ad59b59ed8000437c977d98
.github/CONTRIBUTING.md
.github/CONTRIBUTING.md
Markdown
<|file_sep|>original/client/app/rounds/list-page/list-page-add.component.html <div class="row round-add focused" *ngIf="adding"> <div class="details" [class.invalid]="!valid"> <div class="round-name"> <cc-validatable [valid]="!!round.name.length" message="Name should not be empty"> <input #roundName...
<div class="row round-add focused" *ngIf="adding"> <div class="details" [class.invalid]="!valid"> <div class="round-name"> <cc-validatable [valid]="!!round.name.length" message="Name should not be empty"> <input #roundName placeholder="Round name" type="text" [(ngModel)]="round.name" tabindex="1" />...
<|file_sep|>original/client/app/rounds/list-page/list-page-add.component.html <div class="row round-add focused" *ngIf="adding"> <div class="details" [class.invalid]="!valid"> <div class="round-name"> <cc-validatable [valid]="!!round.name.length" message="Name should not be empty"> <input #roundName...
94a99804f2ddf70281e0638915ba915999a74429
client/app/rounds/list-page/list-page-add.component.html
client/app/rounds/list-page/list-page-add.component.html
HTML
<|file_sep|>original/tests/trafficSpec.js describe('traffic', function() { beforeEach(function() { window.matrix.settings = { profileId: '' }; subject = window.matrix.traffic; }); it('has initial points', function() { expect(subject.points).to.eq(720); }); it('has empty counts', functio...
}); it('has initial points', function() { expect(subject.points).to.eq(720); }); it('has empty counts', function() { expect(subject.counts).to.eql([]); }); it('has interval of 2 minutes', function() { expect(subject.interval).to.eq(120000); }); describe('#endpoint', function() { it('retu...
<|file_sep|>original/tests/trafficSpec.js describe('traffic', function() { beforeEach(function() { window.matrix.settings = { profileId: '' }; subject = window.matrix.traffic; }); it('has initial points', function() { expect(subject.points).to.eq(720); }); it('has empty counts', functio...
6cae911047d15eef3bb48c39a448f8b66f54ee49
tests/trafficSpec.js
tests/trafficSpec.js
JavaScript
<|file_sep|>original/gist.rb <|file_sep|>current/gist.rb <|file_sep|>updated/gist.rb
#!/usr/bin/env ruby require 'net/http' require 'json' class Gist attr_accessor :id, :description, :public, :files def initialize(hash) @id = hash[:id] @description = hash[:description] @public = hash[:public] @files = hash[:files] || {} end def to_hash hash = { :description => @descr...
<|file_sep|>original/gist.rb <|file_sep|>current/gist.rb <|file_sep|>updated/gist.rb #!/usr/bin/env ruby require 'net/http' require 'json' class Gist attr_accessor :id, :description, :public, :files def initialize(hash) @id = hash[:id] @description = hash[:description] @public = hash[:public] @fi...
2ff803c09c9db9e5ed6f1bf2eb1a0e41546266f7
gist.rb
gist.rb
Ruby
<|file_sep|>original/Scripts/VLF_Info.sql <|file_sep|>current/Scripts/VLF_Info.sql <|file_sep|>updated/Scripts/VLF_Info.sql
/* https://gallery.technet.microsoft.com/scriptcenter/SQL-Script-to-list-VLF-e6315249 Kev Riley */ --variables to hold each 'iteration' declare @query varchar(100) declare @dbname sysname declare @vlfs int --table variable used to 'loop' over databases declare @databases table (dbname sysname) insert in...
<|file_sep|>original/Scripts/VLF_Info.sql <|file_sep|>current/Scripts/VLF_Info.sql <|file_sep|>updated/Scripts/VLF_Info.sql /* https://gallery.technet.microsoft.com/scriptcenter/SQL-Script-to-list-VLF-e6315249 Kev Riley */ --variables to hold each 'iteration' declare @query varchar(100) declare @dbname sysname ...
6c7026be954da23e3bb5afb2e483714f78f2eaca
Scripts/VLF_Info.sql
Scripts/VLF_Info.sql
SQL
<|file_sep|>roles/common/tasks/kernel-tuning.yml.diff original: updated: - name: Install prerequisites for acquiring crash dumps apt: name={{ item }} with_items: - linux-crashdump - kdump-tools - makedumpfile - crash - name: Enable kdump lineinfile: dest=/etc/default/kdump-tools re...
line="GRUB_CMDLINE_LINUX_DEFAULT=\"\"" notify: update grub config # # consoleblank=0 Disable console blanking, prevent VGA console from going into power save mode # crashkernel=256M Reserve memory for crash dump kernel # nmi_watchdog=1 Enable NMI watchdog timer # serial_console_cmdline Enable...
<|file_sep|>roles/common/tasks/kernel-tuning.yml.diff original: updated: - name: Install prerequisites for acquiring crash dumps apt: name={{ item }} with_items: - linux-crashdump - kdump-tools - makedumpfile - crash - name: Enable kdump lineinfile: dest=/etc/default/kdump-tools re...
5604be0dc673d74ad231b860fae2b6600beafb12
roles/common/tasks/kernel-tuning.yml
roles/common/tasks/kernel-tuning.yml
YAML
<|file_sep|>original/oscm-app-ear/resources/META-INF/application.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright FUJITSU LIMITED 2016--> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/applica...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright FUJITSU LIMITED 2016--> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee htt...
<|file_sep|>original/oscm-app-ear/resources/META-INF/application.xml <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright FUJITSU LIMITED 2016--> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/applica...
7bf9e95fa81390fa967df20592338d9538849b26
oscm-app-ear/resources/META-INF/application.xml
oscm-app-ear/resources/META-INF/application.xml
XML
<|file_sep|>setup/requirements.txt.diff original: cryptography==2.3.1 Django==1.10.0 updated: cryptography==2.4.2 Django==2.1.4 <|file_sep|>setup/requirements.txt.diff original: django-filter==1.1.0 djangorestframework==3.7.3 updated: django-filter==2.0.0 djangorestframework==3.9.0 <|file_sep|>setup/requirements.txt.di...
django-debug-toolbar==1.5 django-filter==2.0.0 djangorestframework==3.9.0 docutils==0.11 futures==3.0.3 idna==2.7 ipaddress==1.0.7 markdown==2.6.9 ndg-httpsclient==0.3.2 netaddr==0.7.18 pyasn1==0.4.2 pycparser==2.14 pygments==2.2.0 pyOpenSSL==18.0.0 python-dateutil==2.5.3 python-memcached==1.57 pytz==2018.7 requests==2...
<|file_sep|>setup/requirements.txt.diff original: cryptography==2.3.1 Django==1.10.0 updated: cryptography==2.4.2 Django==2.1.4 <|file_sep|>setup/requirements.txt.diff original: django-filter==1.1.0 djangorestframework==3.7.3 updated: django-filter==2.0.0 djangorestframework==3.9.0 <|file_sep|>setup/requirements.txt.di...
02fe0c0bb9f82b074286fa7db920b02bc678c5b0
setup/requirements.txt
setup/requirements.txt
Text
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: - RAILS_ENV=test bundle exec rake db:schema:load - bundle exec rake test <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: - RAILS_ENV=test bundle exec rake db:schema:load - bundle ...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.2 script: - RAILS_ENV=test bundle exec rake db:schema:load - bundle exec rake test
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: - RAILS_ENV=test bundle exec rake db:schema:load - bundle exec rake test <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: - RAILS_ENV=test bundle exec rake db:schema:load - bundle ...
f753e8bbf66c80759e51f854c05142acb7de7232
.travis.yml
.travis.yml
YAML
<|file_sep|>spf13-vim-windows-install.cmd.diff original: call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%" call mkdir "%BASE_DIR%\.vim\bundle" call mklink /J "%HOME%\.vim" "%BASE_DIR%\.vim" updated: IF NOT EXIST "%BASE_DIR%" ( call git clone --recursive -b 3.0 https://github.com/spf1...
call git pull chdir /d "%ORIGINAL_DIR%" call cd "%BASE_DIR%" ) call mklink "%HOME%\.vimrc" "%BASE_DIR%\.vimrc" call mklink "%HOME%\_vimrc" "%BASE_DIR%\.vimrc" call mklink "%HOME%\.vimrc.fork" "%BASE_DIR%\.vimrc.fork" call mklink "%HOME%\.vimrc.bundles" "%BASE_DIR%\.vimrc.bundles" call mklink "%HOME%\.vimrc.bund...
<|file_sep|>spf13-vim-windows-install.cmd.diff original: call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%" call mkdir "%BASE_DIR%\.vim\bundle" call mklink /J "%HOME%\.vim" "%BASE_DIR%\.vim" updated: IF NOT EXIST "%BASE_DIR%" ( call git clone --recursive -b 3.0 https://github.com/spf1...
d533a00235e2e93776a3823f6e34b8db4641ae2a
spf13-vim-windows-install.cmd
spf13-vim-windows-install.cmd
Batchfile
<|file_sep|>original/jsmpp-examples/pom.xml <name>jSMPP - Examples</name> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>jsmpp</artifactId> <version>${project.version}</version> </dependency> <dependency> <g...
<artifactId>jsmpp</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <scope>compile</scope> </dependency> <dependency> <gr...
<|file_sep|>original/jsmpp-examples/pom.xml <name>jSMPP - Examples</name> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>jsmpp</artifactId> <version>${project.version}</version> </dependency> <dependency> <g...
3680f997453bbfdc7e80ffdc46dc799657a33586
jsmpp-examples/pom.xml
jsmpp-examples/pom.xml
XML
<|file_sep|>original/spec/requests/atom/dashboard_spec.rb require 'spec_helper' describe "Dashboard Feed" do describe "GET /" do let!(:user) { Factory :user } context "projects atom feed via private token" do it "should render projects atom feed" do visit dashboard_path(:atom, private_token: u...
require 'spec_helper' describe "Dashboard Feed" do describe "GET /" do let!(:user) { Factory :user } context "projects atom feed via private token" do it "should render projects atom feed" do visit dashboard_path(:atom, private_token: user.private_token) page.body.should have_selector(...
<|file_sep|>original/spec/requests/atom/dashboard_spec.rb require 'spec_helper' describe "Dashboard Feed" do describe "GET /" do let!(:user) { Factory :user } context "projects atom feed via private token" do it "should render projects atom feed" do visit dashboard_path(:atom, private_token: u...
5cea3e576dfc2a0d01a44b647bbd1c14a202d9e3
spec/requests/atom/dashboard_spec.rb
spec/requests/atom/dashboard_spec.rb
Ruby
<|file_sep|>original/project.clj (defproject suricatta "0.1.0-SNAPSHOT" :description "High level sql toolkit for clojure (backed by jooq library)" :url "http://example.com/FIXME" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "...
(defproject suricatta "0.1.0-SNAPSHOT" :description "High level sql toolkit for clojure (backed by jooq library)" :url "http://example.com/FIXME" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "1.6.0"] [org.joo...
<|file_sep|>original/project.clj (defproject suricatta "0.1.0-SNAPSHOT" :description "High level sql toolkit for clojure (backed by jooq library)" :url "http://example.com/FIXME" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "...
769e122461651e70a72f22c3372b9bdf37443d56
project.clj
project.clj
Clojure
<|file_sep|>original/stream-adventure/transform.js var through = require('through') var tr = through(write, end) tr.write('beep') tr.write('boop') tr.end() function write(buf) { this.queue(buf.toString().toUpperCase()) } function end() { } process.stdin.pipe(tr).pipe(process.stdout) <|file_sep|>current/stream-adventu...
var through = require('through') var tr = through(function(buf) { this.queue(buf.toString().toUpperCase()) }) process.stdin.pipe(tr).pipe(process.stdout)
<|file_sep|>original/stream-adventure/transform.js var through = require('through') var tr = through(write, end) tr.write('beep') tr.write('boop') tr.end() function write(buf) { this.queue(buf.toString().toUpperCase()) } function end() { } process.stdin.pipe(tr).pipe(process.stdout) <|file_sep|>current/stream-adventu...
653589483eb4c3a7266179a220dc4bc105990cf2
stream-adventure/transform.js
stream-adventure/transform.js
JavaScript
<|file_sep|>original/app/views/groups/_group_brief.html.haml .group_brief .inner .title= link_to group_name(group, current_user), group .description :markdown #{group.description} %ul.actions - if current_user.member_of?(group) %li = form_tag(group_membership_path(gro...
.group_brief .inner .title= link_to group_name(group, current_user), group .description :markdown #{group.description} %ul.actions - if current_user.member_of?(group) %li = form_tag(group_membership_path(group, current_user.memberships.find_by_group_id(group.id)), :me...
<|file_sep|>original/app/views/groups/_group_brief.html.haml .group_brief .inner .title= link_to group_name(group, current_user), group .description :markdown #{group.description} %ul.actions - if current_user.member_of?(group) %li = form_tag(group_membership_path(gro...
7421af0cfcab3d2a63da952f67ba54cae96205b2
app/views/groups/_group_brief.html.haml
app/views/groups/_group_brief.html.haml
Haml
<|file_sep|>original/app/views/layouts/cms/application.html.haml %title CMS = stylesheet_link_tag 'cms/application', media: 'all' = javascript_include_tag 'cms/application' = csrf_meta_tags %link{ :href => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', :rel => 'styles...
%title CMS = stylesheet_link_tag 'cms/application', media: 'all' = javascript_include_tag 'cms/application' = csrf_meta_tags %link{ :href => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', :rel => 'stylesheet' }/ %body .navbar.navbar-full.navbar-dark.bg-primary.m...
<|file_sep|>original/app/views/layouts/cms/application.html.haml %title CMS = stylesheet_link_tag 'cms/application', media: 'all' = javascript_include_tag 'cms/application' = csrf_meta_tags %link{ :href => 'https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', :rel => 'styles...
6adae52ee4d0a1b17fcec459ec4d7bb2a012c301
app/views/layouts/cms/application.html.haml
app/views/layouts/cms/application.html.haml
Haml
<|file_sep|>original/requirements.txt Flask==0.11.1 mongoengine==0.10.6 flask-mongoengine==0.8 Flask-Assets==0.12 jsmin==2.2.1 cssmin==0.2.0 webassets==0.11.1 Flask-Admin==1.4.2 Flask-SQLAlchemy==2.1 SQLAlchemy-Utils==0.32.9 Flask-Security==1.7.5 Flask-Login==0.4.0 Flask-Script==2.0.5 Flask-Mail==0.9.1 Pillow==3.4.2 Fl...
Flask==0.11.1 mongoengine==0.10.6 flask-mongoengine==0.8 Flask-Assets==0.12 jsmin==2.2.1 cssmin==0.2.0 webassets==0.12.0 Flask-Admin==1.4.2 Flask-SQLAlchemy==2.1 SQLAlchemy-Utils==0.32.9 Flask-Security==1.7.5 Flask-Login==0.4.0 Flask-Script==2.0.5 Flask-Mail==0.9.1 Pillow==3.4.2 Flask-BabelEx==0.9.3 Flask-Migrate==2.0....
<|file_sep|>original/requirements.txt Flask==0.11.1 mongoengine==0.10.6 flask-mongoengine==0.8 Flask-Assets==0.12 jsmin==2.2.1 cssmin==0.2.0 webassets==0.11.1 Flask-Admin==1.4.2 Flask-SQLAlchemy==2.1 SQLAlchemy-Utils==0.32.9 Flask-Security==1.7.5 Flask-Login==0.4.0 Flask-Script==2.0.5 Flask-Mail==0.9.1 Pillow==3.4.2 Fl...
10cbe0a5c3625680bba900c0af6e92016a2d815a
requirements.txt
requirements.txt
Text
<|file_sep|>original/json_diff.gemspec $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'json_diff/version' Gem::Specification.new do |s| s.authors = ['Chris Roberts'] s.files = ['LICENSE.md', 'lib/json_diff.rb', 'lib/json_diff/version.rb'] s.name = 'json_diff' s.platform = Gem::Platform::RUBY ...
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'json_diff/version' Gem::Specification.new do |s| s.authors = ['Chris Roberts'] s.files = ['LICENSE.md', 'lib/json_diff.rb', 'lib/json_diff/version.rb'] s.name = 'json_diff' s.platform = Gem::Platform::RUBY s.require_paths = ['lib'] s.summary ...
<|file_sep|>original/json_diff.gemspec $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'json_diff/version' Gem::Specification.new do |s| s.authors = ['Chris Roberts'] s.files = ['LICENSE.md', 'lib/json_diff.rb', 'lib/json_diff/version.rb'] s.name = 'json_diff' s.platform = Gem::Platform::RUBY ...
590bbe4b98508d7abd1fb1624e481866e0c5a452
json_diff.gemspec
json_diff.gemspec
Ruby
<|file_sep|>original/templates/CarouselSlide.ss <div class="slick-carousel-slide"> $Image <% if $Content %> <div class="slick-carousel-slide-content"> $Content </div> <% end_if %> </div> <|file_sep|>current/templates/CarouselSlide.ss <div class="slick-carousel-slide"> $Image <% if $Content %> <div class="...
<div class="slick-carousel-slide" style="background-image: url('$Image.Link.XML');"> <% if $Content %> <div class="slick-carousel-slide-content"> $Content </div> <% end_if %> </div>
<|file_sep|>original/templates/CarouselSlide.ss <div class="slick-carousel-slide"> $Image <% if $Content %> <div class="slick-carousel-slide-content"> $Content </div> <% end_if %> </div> <|file_sep|>current/templates/CarouselSlide.ss <div class="slick-carousel-slide"> $Image <% if $Content %> <div class="...
f853e82a555fa9d4cd654e300ae9c12e13cc0d6d
templates/CarouselSlide.ss
templates/CarouselSlide.ss
Scheme
<|file_sep|>original/lib/ixtlan/guard/railtie.rb module Ixtlan module Guard class Railtie < Rails::Railtie config.before_configuration do |app| app.config.guard = Ixtlan::Guard::Guard.new(:guard_dir => File.join(Rails.root, "app", "guards")) end config.after_initializ...
config.after_initialize do |app| logger = app.config.logger || Rails.logger || Logger.new(STDERR) app.config.guard.logger = logger unless defined?(Slf4r) begin app.config.guard.setup rescue Ixtlan::Guard::GuardException => e logger.warn e.message ...
<|file_sep|>original/lib/ixtlan/guard/railtie.rb module Ixtlan module Guard class Railtie < Rails::Railtie config.before_configuration do |app| app.config.guard = Ixtlan::Guard::Guard.new(:guard_dir => File.join(Rails.root, "app", "guards")) end config.after_initializ...
cb95bd31e662757ba165e571b03dd004247c4be4
lib/ixtlan/guard/railtie.rb
lib/ixtlan/guard/railtie.rb
Ruby
<|file_sep|>original/src/javascript/pages/chartapp.js isAndroid = /Android/i.test(navigator.userAgent), isWindowsPhone = /Windows Phone/i.test(navigator.userAgent), isJavaInstalled = (deployJava.getJREs().length > 0) && deployJava.versionCheck("1.5+"), isMobile = isIOS || isAndroid || is...
isAndroid = /Android/i.test(navigator.userAgent), isWindowsPhone = /Windows Phone/i.test(navigator.userAgent), isJavaInstalled = (deployJava.getJREs().length > 0) && deployJava.versionCheck("1.5+"), isMobile = isIOS || isAndroid || isWindowsPhone, canBeInstalled = isJavaInstalled...
<|file_sep|>original/src/javascript/pages/chartapp.js isAndroid = /Android/i.test(navigator.userAgent), isWindowsPhone = /Windows Phone/i.test(navigator.userAgent), isJavaInstalled = (deployJava.getJREs().length > 0) && deployJava.versionCheck("1.5+"), isMobile = isIOS || isAndroid || is...
2f9a83ad860a2c3dcbe97715f73cd958ddd5afcb
src/javascript/pages/chartapp.js
src/javascript/pages/chartapp.js
JavaScript
<|file_sep|>original/develop_requirements.txt ansible==2.6.1 pip==18.0 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 coverage==4.5.1 Sphinx==1.7.6 twine==1.11.0 rstcheck==3.3 pycodestyle==2.4.0 pylint==2.0.0 <|file_sep|>current/develop_requirements.txt ansible==2.6.1 pip==18.0 wheel==0.31.1 watchdog==0.8.3 fl...
ansible==2.6.1 pip==18.0 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 coverage==4.5.1 Sphinx==1.7.6 twine==1.11.0 rstcheck==3.3 pycodestyle==2.4.0 pylint==2.0.1
<|file_sep|>original/develop_requirements.txt ansible==2.6.1 pip==18.0 wheel==0.31.1 watchdog==0.8.3 flake8==3.5.0 tox==3.1.2 coverage==4.5.1 Sphinx==1.7.6 twine==1.11.0 rstcheck==3.3 pycodestyle==2.4.0 pylint==2.0.0 <|file_sep|>current/develop_requirements.txt ansible==2.6.1 pip==18.0 wheel==0.31.1 watchdog==0.8.3 fl...
c9d5f27e7e45f8b9f83b680cfbd322a525eedc6b
develop_requirements.txt
develop_requirements.txt
Text
<|file_sep|>original/README.md # [Codeship Scripts](https://github.com/codeship/scripts/) [ ![Codeship Status for codeship/scripts](https://codeship.com/projects/7ffee8d0-c443-0132-17cf-0a3d9756066d/status?branch=master)](https://codeship.com/projects/74080) A public collection of useful scripts for use on [Codeship](...
# [Codeship Scripts](https://github.com/codeship/scripts/) [ ![Codeship Status for codeship/scripts](https://codeship.com/projects/7ffee8d0-c443-0132-17cf-0a3d9756066d/status?branch=master)](https://codeship.com/projects/74080) A public collection of useful scripts for use on [Codeship](https://codeship.com/) and simi...
<|file_sep|>original/README.md # [Codeship Scripts](https://github.com/codeship/scripts/) [ ![Codeship Status for codeship/scripts](https://codeship.com/projects/7ffee8d0-c443-0132-17cf-0a3d9756066d/status?branch=master)](https://codeship.com/projects/74080) A public collection of useful scripts for use on [Codeship](...
0e0a1c7b7a72e47356d75286935b61fed38135c2
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: - 2.1.1 updated: - 2.3.3 - 2.2.6 - 2.1.10 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 - 2.0.0 - 1.9.3 - 1.9.2 - ruby-head notifications: email: false <|file_sep|>current/.travis.yml language: ruby rvm: - 2.3.3 - 2.2.6 - 2.1.10 - 2.0....
language: ruby rvm: - 2.3.3 - 2.2.6 - 2.1.10 - 2.0.0 - ruby-head notifications: email: false
<|file_sep|>.travis.yml.diff original: - 2.1.1 updated: - 2.3.3 - 2.2.6 - 2.1.10 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 - 2.0.0 - 1.9.3 - 1.9.2 - ruby-head notifications: email: false <|file_sep|>current/.travis.yml language: ruby rvm: - 2.3.3 - 2.2.6 - 2.1.10 - 2.0....
7b12b4fae49624fd3a41fa4ad2372588655cd717
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/depsreview.yaml name: 'Dependency Review' on: [pull_request] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' uses: actions/checkout@v3 - name: 'Dependency Review' uses: actio...
name: 'Dependency Review' on: [pull_request] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' uses: actions/checkout@v3 - name: 'Dependency Review' uses: actions/dependency-review-action@v2
<|file_sep|>original/.github/workflows/depsreview.yaml name: 'Dependency Review' on: [pull_request] permissions: contents: read jobs: dependency-review: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' uses: actions/checkout@v3 - name: 'Dependency Review' uses: actio...
61cf2cd06e00fd78d9b92f26a16027c6a58ed6fd
.github/workflows/depsreview.yaml
.github/workflows/depsreview.yaml
YAML
<|file_sep|>original/recipes/macs2/build.sh #!/bin/bash # From setup.py: User must check GCC, if >= 4.6, use -Ofast, otherwise -O3. GCCVERSION=$( gcc -dumpversion ) GCCVERSION_MAJOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $1}') GCCVERSION_MINOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $2}') if [ $GCC...
#!/bin/bash # From setup.py: User must check GCC, if >= 4.6, use -Ofast, otherwise -O3. GCCVERSION=$( gcc -dumpversion ) GCCVERSION_MAJOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $1}') GCCVERSION_MINOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $2}') if [ $GCCVERSION_MAJOR -le 4 ]; then if [ $GCCVER...
<|file_sep|>original/recipes/macs2/build.sh #!/bin/bash # From setup.py: User must check GCC, if >= 4.6, use -Ofast, otherwise -O3. GCCVERSION=$( gcc -dumpversion ) GCCVERSION_MAJOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $1}') GCCVERSION_MINOR=$(echo $GCCVERSION | awk 'BEGIN {FS="."}; {print $2}') if [ $GCC...
bb7367e008dbbf3f30d696ba7a9f25f1b90c5eec
recipes/macs2/build.sh
recipes/macs2/build.sh
Shell
<|file_sep|>original/docs/unfiled_notes.rst <|file_sep|>current/docs/unfiled_notes.rst <|file_sep|>updated/docs/unfiled_notes.rst
* Boost v1.45 (or older) will cause "dereferencing type-punned pointer" warning with runtime/reduce.h when gcc optimization is enabled. It was fixed as discussed here: https://svn.boost.org/trac/boost/ticket/4538. Version 1.47 seems to have that fix. * On Mac OS X, translator is not tested since building ROSE ...
<|file_sep|>original/docs/unfiled_notes.rst <|file_sep|>current/docs/unfiled_notes.rst <|file_sep|>updated/docs/unfiled_notes.rst * Boost v1.45 (or older) will cause "dereferencing type-punned pointer" warning with runtime/reduce.h when gcc optimization is enabled. It was fixed as discussed here: https://svn.bo...
1bd9330d7a443b382619961b166739b79942714e
docs/unfiled_notes.rst
docs/unfiled_notes.rst
reStructuredText
<|file_sep|>original/conda_pkg/meta.yaml package: name: riip version: "{{ version }}" source: path: ../ build: number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - pip - python - numpy - scipy - cython - setuptools run: <|file_sep|>current/conda_pkg/meta....
package: name: riip version: "{{ version }}" source: path: ../ build: number: 0 script: "{{ PYTHON }} -m pip install --use-feature=in-tree-build . -vv" requirements: host: - pip - python - numpy - scipy - cython - setuptools run:
<|file_sep|>original/conda_pkg/meta.yaml package: name: riip version: "{{ version }}" source: path: ../ build: number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - pip - python - numpy - scipy - cython - setuptools run: <|file_sep|>current/conda_pkg/meta....
3d4c12ef35487b99737f85d65f6a1132c7ec3103
conda_pkg/meta.yaml
conda_pkg/meta.yaml
YAML
<|file_sep|>original/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h <|file_sep|>current/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h <|file_sep|>updated/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h
/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WITHOUT ...
<|file_sep|>original/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h <|file_sep|>current/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h <|file_sep|>updated/Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h /*========================================================================= Prog...
283fd795b2c1d6f43de7ff88ef27167b24e46974
Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h
Code/ApplicationEngine/otbWrapperAddProcessToWatchEvent.h
C
<|file_sep|>original/lib/rbplusplus/transformers/node_cache.rb module RbPlusPlus class NodeCache #:nodoc: # Retrieves or initializes a node's information cache def self.get(node) demangled = node.attributes['demangled'] @@nodes ||= {} @@nodes[demangled] ||= {} end # Clears out t...
module RbPlusPlus class NodeCache #:nodoc: # Retrieves or initializes a node's information cache def self.get(node) demangled = node.attributes['id'] @@nodes ||= {} @@nodes[demangled] ||= {} end # Clears out the cache def self.clear @@nodes = {} end end end
<|file_sep|>original/lib/rbplusplus/transformers/node_cache.rb module RbPlusPlus class NodeCache #:nodoc: # Retrieves or initializes a node's information cache def self.get(node) demangled = node.attributes['demangled'] @@nodes ||= {} @@nodes[demangled] ||= {} end # Clears out t...
8e86730f769cd005f824dad4e7d51c8a7d17fe4c
lib/rbplusplus/transformers/node_cache.rb
lib/rbplusplus/transformers/node_cache.rb
Ruby
<|file_sep|>original/.travis.yml - node_modules notifications: email: false addons: apt: sources: - google-chrome packages: - google-chrome-stable node_js: - '5' - '4' before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - npm run test branches: only: ...
notifications: email: false addons: apt: sources: - google-chrome packages: - google-chrome-stable node_js: - '5' - '4' before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - npm install npm@3 script: - npm run test branches: only: - master
<|file_sep|>original/.travis.yml - node_modules notifications: email: false addons: apt: sources: - google-chrome packages: - google-chrome-stable node_js: - '5' - '4' before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - npm run test branches: only: ...
687fc54455498e43015de24ab0df3220ed88a35f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/samples/PhotoAlbum/upload_complete.php <?php require 'main.php'; # Here should do whatever authentication / verification needed # Create model using the data received $photo = \PhotoAlbum\create_photo_model($_POST["public_id"], $_POST["format"]); ?> <|file_sep|>current/samples/PhotoAlbum/upload_co...
<?php require 'main.php'; # Here should do whatever authentication / verification needed # Check for authentic cloudinary response $api_secret = Cloudinary::config_get("api_secret"); if (!$api_secret) throw new \InvalidArgumentException("Must supply api_secret"); $existing_signature = \Cloudinary::option_consume($_POS...
<|file_sep|>original/samples/PhotoAlbum/upload_complete.php <?php require 'main.php'; # Here should do whatever authentication / verification needed # Create model using the data received $photo = \PhotoAlbum\create_photo_model($_POST["public_id"], $_POST["format"]); ?> <|file_sep|>current/samples/PhotoAlbum/upload_co...
2c1ed97c703f2ced010e9691a0b11a9f0826121f
samples/PhotoAlbum/upload_complete.php
samples/PhotoAlbum/upload_complete.php
PHP
<|file_sep|>original/server/public/scripts/controllers/search.controller.js self.test = function() { console.log(self.newSearch); }; self.getMentors = function() { console.log(self.newSearch); var newSearchString = JSON.stringify(self.newSearch); return $http({ method: 'GET', ...
self.test = function() { console.log(self.newSearch); }; self.getMentors = function() { console.log(self.newSearch); var newSearchString = JSON.stringify(self.newSearch); return $http({ method: 'GET', url: '/mentor-search/search', headers: { newSearchStr...
<|file_sep|>original/server/public/scripts/controllers/search.controller.js self.test = function() { console.log(self.newSearch); }; self.getMentors = function() { console.log(self.newSearch); var newSearchString = JSON.stringify(self.newSearch); return $http({ method: 'GET', ...
054027d1d619517af0586984115fcfc81adfbb91
server/public/scripts/controllers/search.controller.js
server/public/scripts/controllers/search.controller.js
JavaScript
<|file_sep|>original/buildViaTravis.sh #!/bin/bash # This script will build the project. SWITCHES="--info --stacktrace" if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" ./gradlew build $SWITCHES elif [ "$TRAVIS_PULL_REQUEST" == "false" ] ...
#!/bin/bash # This script will build the project. SWITCHES="--debug --stacktrace" if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" ./gradlew build $SWITCHES elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then ech...
<|file_sep|>original/buildViaTravis.sh #!/bin/bash # This script will build the project. SWITCHES="--info --stacktrace" if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" ./gradlew build $SWITCHES elif [ "$TRAVIS_PULL_REQUEST" == "false" ] ...
d7402cc770bc7253f39d2f70f47e5f73ac79ef43
buildViaTravis.sh
buildViaTravis.sh
Shell
<|file_sep|>original/src/Calotype/SEO/Contracts/MetaAware.php <?php namespace Calotype\SEO\Contracts; interface MetaAware { public function getMetaTitle(); public function getMetaTitleSuffix(); public function getMetaDescription(); } <|file_sep|>current/src/Calotype/SEO/Contracts/MetaAware.php <?php namesp...
<?php namespace Calotype\SEO\Contracts; interface MetaAware { /** * Get the data for the meta fields. * * <code> * $data = array( * 'title' => 'About us', * 'description' => 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut lab...
<|file_sep|>original/src/Calotype/SEO/Contracts/MetaAware.php <?php namespace Calotype\SEO\Contracts; interface MetaAware { public function getMetaTitle(); public function getMetaTitleSuffix(); public function getMetaDescription(); } <|file_sep|>current/src/Calotype/SEO/Contracts/MetaAware.php <?php namesp...
d46405a6ef05c19a8758545cca31139c946d7b41
src/Calotype/SEO/Contracts/MetaAware.php
src/Calotype/SEO/Contracts/MetaAware.php
PHP
<|file_sep|>md2pdf/core.py.diff original: css_file_path=None): updated: css_file_path=None, base_url=None): <|file_sep|>original/md2pdf/core.py extras = ["cuddled-lists"] if md_file_path: raw_html = markdown_path(md_file_path, extras=extras) elif md_content: raw_html = ...
extras = ["cuddled-lists"] if md_file_path: raw_html = markdown_path(md_file_path, extras=extras) elif md_content: raw_html = markdown(md_content, extras=extras) if not len(raw_html): raise ValidationError('Input markdown seems empty') # Weasyprint HTML object html = HT...
<|file_sep|>md2pdf/core.py.diff original: css_file_path=None): updated: css_file_path=None, base_url=None): <|file_sep|>original/md2pdf/core.py extras = ["cuddled-lists"] if md_file_path: raw_html = markdown_path(md_file_path, extras=extras) elif md_content: raw_html = ...
bb6b6b46860f6e03abc4ac9c47751fe4309f0e17
md2pdf/core.py
md2pdf/core.py
Python
<|file_sep|>original/modules/emacs/eshell/autoload/settings.el ;;; emacs/eshell/autoload/settings.el -*- lexical-binding: t; -*- ;;;###autodef (defun set-eshell-alias! (&rest aliases) "Define aliases for eshell." (or (cl-evenp (length aliases)) (signal 'wrong-number-of-arguments (list 'even (length aliases))...
;;; emacs/eshell/autoload/settings.el -*- lexical-binding: t; -*- ;;;###autodef (defun set-eshell-alias! (&rest aliases) "Define aliases for eshell." (or (cl-evenp (length aliases)) (signal 'wrong-number-of-arguments (list 'even (length aliases)))) (after! eshell (while aliases (setf (alist-get (...
<|file_sep|>original/modules/emacs/eshell/autoload/settings.el ;;; emacs/eshell/autoload/settings.el -*- lexical-binding: t; -*- ;;;###autodef (defun set-eshell-alias! (&rest aliases) "Define aliases for eshell." (or (cl-evenp (length aliases)) (signal 'wrong-number-of-arguments (list 'even (length aliases))...
a0ffc38117f0106bb9a6e278a4d93618b09e83f4
modules/emacs/eshell/autoload/settings.el
modules/emacs/eshell/autoload/settings.el
Emacs Lisp
<|file_sep|>src/config.js.diff original: import {env} from "babel-core"; updated: <|file_sep|>original/src/config.js static urls = {}; static baseUrl() { if(Config.isDevelopment()) return 'http://localhost:5000'; else return Config.getEnv('BACKEND_URL'); } static getEnv(name) { return...
static urls = {}; static baseUrl() { if(Config.isDevelopment()) return 'http://localhost:5000'; else return Config.getEnv('BACKEND_URL'); } static getEnv(name) { return process.env[name]; } static getMode() { return Config.getEnv('NODE_ENV'); } static isDevelopment() { ...
<|file_sep|>src/config.js.diff original: import {env} from "babel-core"; updated: <|file_sep|>original/src/config.js static urls = {}; static baseUrl() { if(Config.isDevelopment()) return 'http://localhost:5000'; else return Config.getEnv('BACKEND_URL'); } static getEnv(name) { return...
279bcbe24cfc4d99d58c4df3813c499e0e9a4eea
src/config.js
src/config.js
JavaScript
<|file_sep|>src/styles/atoms/img.scss.diff original: p iframe { updated: p iframe, .lqip__wrapper { <|file_sep|>original/src/styles/atoms/img.scss img { max-width: 100%; margin-right: auto; margin-left: auto; } p img, p figure, p video, p iframe { & + img, & + figure, & + video, & + iframe { margin-t...
img { max-width: 100%; margin-right: auto; margin-left: auto; } p img, p figure, p video, p iframe, .lqip__wrapper { & + img, & + figure, & + video, & + iframe, & + .lqip__wrapper { margin-top: $golden-rem / 4; } }
<|file_sep|>src/styles/atoms/img.scss.diff original: p iframe { updated: p iframe, .lqip__wrapper { <|file_sep|>original/src/styles/atoms/img.scss img { max-width: 100%; margin-right: auto; margin-left: auto; } p img, p figure, p video, p iframe { & + img, & + figure, & + video, & + iframe { margin-t...
8f40ae1d9ddf2143f4dce66fb0ee3624d8ee3d01
src/styles/atoms/img.scss
src/styles/atoms/img.scss
SCSS
<|file_sep|>original/vim/syntax/ceos.vim " Vim syntax file " Language: Ceos " Current Maintainer: tadeuzagallo (https://github.com/tadeuzagallo) syn keyword ceosLanguageKeywords if else interface implementation extern syn keyword ceosTodo contained TODO NOTE syn region ceosComment start="//" skip="\\$" end="$" keepen...
" Vim syntax file " Language: Ceos " Current Maintainer: tadeuzagallo (https://github.com/tadeuzagallo) syn keyword ceosLanguageKeywords if else interface implementation extern virtual syn keyword ceosTodo contained TODO NOTE syn region ceosComment start="//" skip="\\$" end="$" keepend contains=ceosTodo syn region ce...
<|file_sep|>original/vim/syntax/ceos.vim " Vim syntax file " Language: Ceos " Current Maintainer: tadeuzagallo (https://github.com/tadeuzagallo) syn keyword ceosLanguageKeywords if else interface implementation extern syn keyword ceosTodo contained TODO NOTE syn region ceosComment start="//" skip="\\$" end="$" keepen...
06911b645926238137190b5cb386c810a5c0ef63
vim/syntax/ceos.vim
vim/syntax/ceos.vim
VimL
<|file_sep|>original/users/fimasvee/my-defuns.el <|file_sep|>current/users/fimasvee/my-defuns.el <|file_sep|>updated/users/fimasvee/my-defuns.el
(defun wte--unique-filename (stub &optional index) (setq index (or index 1)) (let ((filename (concat "~/projects/what-the-emacsd/posts/" stub ".el" (if (< index 10) "-0" "-") (number-to-string index) ...
<|file_sep|>original/users/fimasvee/my-defuns.el <|file_sep|>current/users/fimasvee/my-defuns.el <|file_sep|>updated/users/fimasvee/my-defuns.el (defun wte--unique-filename (stub &optional index) (setq index (or index 1)) (let ((filename (concat "~/projects/what-the-emacsd/posts/" stub ...
d6c1fb340c8377c78d2e74be94a9006dc2d98572
users/fimasvee/my-defuns.el
users/fimasvee/my-defuns.el
Emacs Lisp
<|file_sep|>original/msfl_visitors.gemspec Gem::Specification.new do |s| s.name = 'msfl_visitors' s.version = '0.3.0.dev9' s.date = '2015-05-20' s.summary = "Convert MSFL to other forms" s.description = "Visitor pattern approach to converting MSFL to other forms." s.authors = ["Cou...
Gem::Specification.new do |s| s.name = 'msfl_visitors' s.version = '1.0.0' s.date = '2015-05-27' s.summary = "Convert MSFL to other forms" s.description = "Visitor pattern approach to converting MSFL to other forms." s.authors = ["Courtland Caldwell"] s.email = 'courtland@m...
<|file_sep|>original/msfl_visitors.gemspec Gem::Specification.new do |s| s.name = 'msfl_visitors' s.version = '0.3.0.dev9' s.date = '2015-05-20' s.summary = "Convert MSFL to other forms" s.description = "Visitor pattern approach to converting MSFL to other forms." s.authors = ["Cou...
c0b9cd6d9cc7ebbd8c3effbd80fef3252ca9d23d
msfl_visitors.gemspec
msfl_visitors.gemspec
Ruby
<|file_sep|>original/docker_test/network_test.py <|file_sep|>current/docker_test/network_test.py <|file_sep|>updated/docker_test/network_test.py
# coding=utf-8 import unittest import json from docker import session from docker import network from docker_test import base_test class NetworkTest(unittest.TestCase): def setUp(self): self.c_session = session.get_session(base_test.session_url) self.n = network.Network(self.c_session) ...
<|file_sep|>original/docker_test/network_test.py <|file_sep|>current/docker_test/network_test.py <|file_sep|>updated/docker_test/network_test.py # coding=utf-8 import unittest import json from docker import session from docker import network from docker_test import base_test class NetworkTest(unittest.TestCase): ...
7468494e5a604c138c8a9ad777eed9c9550c354f
docker_test/network_test.py
docker_test/network_test.py
Python
<|file_sep|>original/lib/jibjob/views/_header.haml #header .ribbon %a.logo{:title => "JibJob", :href => "/"} %h1 JibJob %p.sub The résumé distribution center %ul %li %a{:href => "/"} Home - unless session[:user] %li %a{:href => "/register"} Register - if session[:user] ...
#header .ribbon %a.logo{:title => "JibJob", :href => "/"} %h1 JibJob %p.sub The résumé distribution center %ul %li %a{:href => "/"} Home - unless session[:user] %li %a{:href => "/register"} Register - if session[:user] %li %a{:href => "/resumes"} My Resumes ...
<|file_sep|>original/lib/jibjob/views/_header.haml #header .ribbon %a.logo{:title => "JibJob", :href => "/"} %h1 JibJob %p.sub The résumé distribution center %ul %li %a{:href => "/"} Home - unless session[:user] %li %a{:href => "/register"} Register - if session[:user] ...
5bb345b8b1167a0188dd39d9ad164032824dd167
lib/jibjob/views/_header.haml
lib/jibjob/views/_header.haml
Haml
<|file_sep|>original/plugins/PerObjectSettingsTool/__init__.py i18n_catalog = i18nCatalog("uranium") def getMetaData(): return { "plugin": { "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"), "author": "Ultimaker", "version": "1.0", "descriptio...
def getMetaData(): return { "plugin": { "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"), "author": "Ultimaker", "version": "1.0", "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."), "api": 2 ...
<|file_sep|>original/plugins/PerObjectSettingsTool/__init__.py i18n_catalog = i18nCatalog("uranium") def getMetaData(): return { "plugin": { "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"), "author": "Ultimaker", "version": "1.0", "descriptio...
6af05b8af7bb284388af4960bbf240122f7f3dae
plugins/PerObjectSettingsTool/__init__.py
plugins/PerObjectSettingsTool/__init__.py
Python
<|file_sep|>original/src/Command/Object/LookupCommand.php { $this ->setName('object:lookup') ->setDescription('Shows which Object is returned from the Injector') ->addArgument('object', InputArgument::REQUIRED, 'The Object to look up'); } /** * {@inheritDoc}...
{ $this ->setName('object:lookup') ->setDescription('Shows which Object is returned from the Injector') ->addArgument('object', InputArgument::REQUIRED, 'The Object to look up'); } /** * {@inheritDoc} */ protected function execute(InputInterface $in...
<|file_sep|>original/src/Command/Object/LookupCommand.php { $this ->setName('object:lookup') ->setDescription('Shows which Object is returned from the Injector') ->addArgument('object', InputArgument::REQUIRED, 'The Object to look up'); } /** * {@inheritDoc}...
741fcd2c7ef857c4a8cd9567fd2abce55904e49e
src/Command/Object/LookupCommand.php
src/Command/Object/LookupCommand.php
PHP
<|file_sep|>original/index.html <|file_sep|>current/index.html <|file_sep|>updated/index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Flash Forward</title> </head> <body> </body> </html>
<|file_sep|>original/index.html <|file_sep|>current/index.html <|file_sep|>updated/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Flash Forward</title> </head> <body> </body> </html>
e9c27949e28d679db5b4ab4d688d588df946f2ba
index.html
index.html
HTML
<|file_sep|>original/composer.json ], "require": { "silverstripe/framework": "^4.0@dev", "composer/installers": "*" }, "support": { "issues": "https://github.com/undefinedoffset/silverstripe-markdown/issues" }, "extra": { "installer-name": "markdown", "branch-alias": { "dev-master...
], "require": { "silverstripe/framework": "^4.0@dev", "composer/installers": "*" }, "support": { "issues": "https://github.com/undefinedoffset/silverstripe-markdown/issues" }, "extra": { "installer-name": "markdown", "branch-alias": { "dev-ss4-compat": "2.x-dev" } }, "auto...
<|file_sep|>original/composer.json ], "require": { "silverstripe/framework": "^4.0@dev", "composer/installers": "*" }, "support": { "issues": "https://github.com/undefinedoffset/silverstripe-markdown/issues" }, "extra": { "installer-name": "markdown", "branch-alias": { "dev-master...
667c1cdea178a834614277e2bdf83710fcebb31d
composer.json
composer.json
JSON
<|file_sep|>petition/resources.py.diff original: from .models import Signature updated: import swapper Signature = swapper.load_model("petition", "Signature") <|file_sep|>original/petition/resources.py from import_export import resources from .models import Signature class SignatureResource(resources.ModelResource):...
from import_export import resources import swapper Signature = swapper.load_model("petition", "Signature") class SignatureResource(resources.ModelResource): class Meta: model = Signature
<|file_sep|>petition/resources.py.diff original: from .models import Signature updated: import swapper Signature = swapper.load_model("petition", "Signature") <|file_sep|>original/petition/resources.py from import_export import resources from .models import Signature class SignatureResource(resources.ModelResource):...
b57a2e184e3861617c12801529295b0095257cd9
petition/resources.py
petition/resources.py
Python
<|file_sep|>original/migrations/02_pages.rb <|file_sep|>current/migrations/02_pages.rb <|file_sep|>updated/migrations/02_pages.rb
Sequel.migration do change do alter_table(:pages) do add_column :shorthand_title, String, unique: true add_column :title_char, String add_column :compiled_content, String, text: true add_column :comment, String, text: true add_column :compiled_comment, String, text: true add_co...
<|file_sep|>original/migrations/02_pages.rb <|file_sep|>current/migrations/02_pages.rb <|file_sep|>updated/migrations/02_pages.rb Sequel.migration do change do alter_table(:pages) do add_column :shorthand_title, String, unique: true add_column :title_char, String add_column :compiled_content, ...
47199139223e4dd1dbcf5d02ea7be2c1aeebfd40
migrations/02_pages.rb
migrations/02_pages.rb
Ruby
<|file_sep|>pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt.diff original: (or v (error "Assertion failed"))) updated: (or v (error (format "Assertion failed on ~v" v)))) <|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt #lang rack...
#lang racket/base (provide assert defined?) (define-syntax assert (syntax-rules () ((assert v) (or v (error (format "Assertion failed on ~v" v)))) ((assert v pred) (let ((val v)) (if (pred val) val (error (format "Assertion ~a failed on ~v" pred val))))))) (define (def...
<|file_sep|>pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt.diff original: (or v (error "Assertion failed"))) updated: (or v (error (format "Assertion failed on ~v" v)))) <|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt #lang rack...
3becf8492b4ee40a68bb8be9081cf64530a6a7f8
pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt
pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/extra-procs.rkt
Racket
<|file_sep|>original/google/protobuf/proto2-descriptor-extensions.proto <|file_sep|>current/google/protobuf/proto2-descriptor-extensions.proto <|file_sep|>updated/google/protobuf/proto2-descriptor-extensions.proto
// Copyright 2012-2020 Google LLC // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. // extensions to descriptor.proto to support lisp-specific extensions // in proto definitions syntax = "proto2"; import "google/pr...
<|file_sep|>original/google/protobuf/proto2-descriptor-extensions.proto <|file_sep|>current/google/protobuf/proto2-descriptor-extensions.proto <|file_sep|>updated/google/protobuf/proto2-descriptor-extensions.proto // Copyright 2012-2020 Google LLC // // Use of this source code is governed by an MIT-style // license t...
ef60aaf13fe817c691d210c035cd558da9359c95
google/protobuf/proto2-descriptor-extensions.proto
google/protobuf/proto2-descriptor-extensions.proto
Protocol Buffer
<|file_sep|>original/locales/ko/addon.properties experiment_list_view_all = 모든 실험 보기 experiment_eol_tomorrow_message = 내일 종료될 예정 experiment_eol_soon_message = 곧 종료될 예정 experiment_eol_complete_message = 실험 완료 installed_message = <strong>귀띔:</strong> Test Pilot을 아무때고 찾을 수 있도록 <br> 여러분의 도구 모음에 단추를 넣어드렸습니다. # LOCALIZER ...
experiment_eol_tomorrow_message = 내일 종료될 예정 experiment_eol_soon_message = 곧 종료될 예정 experiment_eol_complete_message = 실험 완료 installed_message = <strong>귀띔:</strong> Test Pilot을 아무때고 찾을 수 있도록 <br> 여러분의 도구 모음에 단추를 넣어드렸습니다. # LOCALIZER NOTE: Placeholder is experiment title survey_show_rating_label = %s 를 평가해주세요 # LOCALI...
<|file_sep|>original/locales/ko/addon.properties experiment_list_view_all = 모든 실험 보기 experiment_eol_tomorrow_message = 내일 종료될 예정 experiment_eol_soon_message = 곧 종료될 예정 experiment_eol_complete_message = 실험 완료 installed_message = <strong>귀띔:</strong> Test Pilot을 아무때고 찾을 수 있도록 <br> 여러분의 도구 모음에 단추를 넣어드렸습니다. # LOCALIZER ...
27f725350adaad3b5d0a294d8a4c3c42bbb6e430
locales/ko/addon.properties
locales/ko/addon.properties
INI
<|file_sep|>original/requirements-dev.txt kombu==4.1.0 MarkupSafe==1.0 packaging==16.8 pip-tools==1.9.0 pluggy==0.5.2 py==1.4.34 pyenchant==1.6.11 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.2.1 pytz==2017.2 requests==2.18.4 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.3 sphinxcontrib-spelling==2....
kombu==4.1.0 MarkupSafe==1.0 packaging==16.8 pip-tools==1.9.0 pluggy==0.5.2 py==1.4.34 pyenchant==1.6.11 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.2.2 pytz==2017.2 requests==2.18.4 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.3 sphinxcontrib-spelling==2.3.0 tox==2.8.1 vine==1.1.4 virtualenv==15....
<|file_sep|>original/requirements-dev.txt kombu==4.1.0 MarkupSafe==1.0 packaging==16.8 pip-tools==1.9.0 pluggy==0.5.2 py==1.4.34 pyenchant==1.6.11 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.2.1 pytz==2017.2 requests==2.18.4 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.3 sphinxcontrib-spelling==2....
621d9c94e8da5b0e5bd0440f416f780c95fc3035
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>config.h.diff original: updated: /* * Require libbsd's stdlib.h for arc4random() etc. * Require <grp.h> for setgroups(). */ <|file_sep|>config.h.diff original: updated: #endif /* * Neither Linux nor Apple have this. */ #if defined(__linux__) || defined(__APPLE__) # include <unistd.h> <|file_sep|>ori...
#endif /* * Neither Linux nor Apple have this. */ #if defined(__linux__) || defined(__APPLE__) # include <unistd.h> int setresgid(gid_t, gid_t, gid_t); int setresuid(gid_t, gid_t, gid_t); #endif /* * FreeBSD goop. */ #ifdef __FreeBSD__ #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include...
<|file_sep|>config.h.diff original: updated: /* * Require libbsd's stdlib.h for arc4random() etc. * Require <grp.h> for setgroups(). */ <|file_sep|>config.h.diff original: updated: #endif /* * Neither Linux nor Apple have this. */ #if defined(__linux__) || defined(__APPLE__) # include <unistd.h> <|file_sep|>ori...
defd9b3ae1e0b567242f68307af74272edd24a96
config.h
config.h
C
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libudev-dev - sudo apt-get install -y libxcb-image0 - sudo apt-get install -y libxcb-randr0 - sudo dpkg -L libudev0 script: - mkdir build - cd build - cmake .. -DBUILD_...
language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libudev-dev - sudo apt-get install -y libxcb-image0 - sudo apt-get install -y libxcb-randr0 - ln -s /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1 script: - mkdir build - cd build ...
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -y libudev-dev - sudo apt-get install -y libxcb-image0 - sudo apt-get install -y libxcb-randr0 - sudo dpkg -L libudev0 script: - mkdir build - cd build - cmake .. -DBUILD_...
4e9c1d392a014cc213ca32802b697c9a939ec919
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt -r requirements.txt pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.2 cryptography==2.2 PyYAML==3.12 pytest==3.5.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.7.1 docker-compose==1.19.0 packaging==17.1 <...
-r requirements.txt pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.2 cryptography==2.2.2 PyYAML==3.12 pytest==3.5.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.7.1 docker-compose==1.19.0 packaging==17.1
<|file_sep|>original/requirements_dev.txt -r requirements.txt pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.2 cryptography==2.2 PyYAML==3.12 pytest==3.5.0 pytest-cov==2.5.1 pytest-docker==0.6.1 pytest-mock==1.7.1 docker-compose==1.19.0 packaging==17.1 <...
18ff1a8922ac84bede3fb936277e2ec23757111a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/requirements.txt itsdangerous==1.1.0 Jinja2==2.10 MarkupSafe==1.1.1 numpy==1.16.2 python-dateutil==2.8.0 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.4.0.3 six==1.12.0 tornado==6.0.2 urllib3==1.24.1 Werkzeug==0.15.1 pandas==0.24.1 scipy==1.2.1 astropy==3.1.2 matplotlib==3.0.3 git+https://github...
itsdangerous==1.1.0 Jinja2==2.10 MarkupSafe==1.1.1 numpy==1.16.2 python-dateutil==2.8.0 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.4.0.3 six==1.12.0 tornado==6.0.2 urllib3==1.24.1 Werkzeug==0.15.1 pandas==0.24.2 scipy==1.2.1 astropy==3.1.2 matplotlib==3.0.3 git+https://github.com/mpld3/mpld3@master tables==3.4.4 ...
<|file_sep|>original/requirements.txt itsdangerous==1.1.0 Jinja2==2.10 MarkupSafe==1.1.1 numpy==1.16.2 python-dateutil==2.8.0 pyyaml>=4.2b1 requests>=2.20.0 singledispatch==3.4.0.3 six==1.12.0 tornado==6.0.2 urllib3==1.24.1 Werkzeug==0.15.1 pandas==0.24.1 scipy==1.2.1 astropy==3.1.2 matplotlib==3.0.3 git+https://github...
725e9587aaa6614cb118353646115f42fa8d4aeb
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/views/devise/shared/_tabs_ldap.html.haml %ul.nav-links.new-session-tabs.nav-tabs.nav{ class: ('custom-provider-tabs' if form_based_providers.any?) } - if crowd_enabled? %li.nav-item = link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab' - @ldap_servers.each_...
%ul.nav-links.new-session-tabs.nav-tabs.nav{ class: ('custom-provider-tabs' if form_based_providers.any?) } - if crowd_enabled? %li.nav-item = link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab' - @ldap_servers.each_with_index do |server, i| %li.nav-item = link_to server[...
<|file_sep|>original/app/views/devise/shared/_tabs_ldap.html.haml %ul.nav-links.new-session-tabs.nav-tabs.nav{ class: ('custom-provider-tabs' if form_based_providers.any?) } - if crowd_enabled? %li.nav-item = link_to "Crowd", "#crowd", class: 'nav-link active', 'data-toggle' => 'tab' - @ldap_servers.each_...
daf4edd2b0c54b1c1124761a8ac661d8e1449995
app/views/devise/shared/_tabs_ldap.html.haml
app/views/devise/shared/_tabs_ldap.html.haml
Haml
<|file_sep|>original/spec/mem_spec.rb def foo(&block) bar(&block) end memoize :foo def bar yield end end end let(:object) do klass.new end it "memoizes the result of specified method call" do expect(object).to receive(:bar)...
bar(&block) end memoize :foo def bar yield end end end let(:object) do klass.new end it "memoizes the result of specified method call" do expect(object).to receive(:bar).once.and_call_original expect(object.foo { "foo" }).to ...
<|file_sep|>original/spec/mem_spec.rb def foo(&block) bar(&block) end memoize :foo def bar yield end end end let(:object) do klass.new end it "memoizes the result of specified method call" do expect(object).to receive(:bar)...
8215b2ec49eac45217ecc3c9db26a798a143592a
spec/mem_spec.rb
spec/mem_spec.rb
Ruby
<|file_sep|>gems.rb.diff original: end updated: end; nil <|file_sep|>original/gems.rb if defined?(::Bundler) global_gemset = ENV['GEM_PATH'].split(':').grep(/ruby.*@global/).first $LOAD_PATH.concat(Dir.glob("#{global_gemset}/gems/*/lib")) if global_gemset end require 'awesome_print' require 'pry' require 'pry-b...
if defined?(::Bundler) global_gemset = ENV['GEM_PATH'].split(':').grep(/ruby.*@global/).first $LOAD_PATH.concat(Dir.glob("#{global_gemset}/gems/*/lib")) if global_gemset end; nil require 'awesome_print' require 'pry' require 'pry-byebug' require 'httplog' HttpLog.configure do |config| # Enable or disable all...
<|file_sep|>gems.rb.diff original: end updated: end; nil <|file_sep|>original/gems.rb if defined?(::Bundler) global_gemset = ENV['GEM_PATH'].split(':').grep(/ruby.*@global/).first $LOAD_PATH.concat(Dir.glob("#{global_gemset}/gems/*/lib")) if global_gemset end require 'awesome_print' require 'pry' require 'pry-b...
45679c89717b2c92602fb0a7ef6ac3cf380bda27
gems.rb
gems.rb
Ruby
<|file_sep|>original/c_src/build_deps.sh ;; *) if [ x"$DEBUG" = x"1" ]; then LIBRE2="obj/dbg/libre2.a" else LIBRE2="obj/libre2.a" fi test -f re2/$LIBRE2 && exit 0 RE2_REV=${RE2_REV:-2017-04-01} case $(git config --get remote.origin.url) in git@github.com*|https://...
;; *) if [ x"$DEBUG" = x"1" ]; then LIBRE2="obj/dbg/libre2.a" else LIBRE2="obj/libre2.a" fi test -f re2/$LIBRE2 && exit 0 RE2_REV=${RE2_REV:-2017-06-01} case $(git config --get remote.origin.url) in git@github.com*|https://github.com*|git://github.com*) ...
<|file_sep|>original/c_src/build_deps.sh ;; *) if [ x"$DEBUG" = x"1" ]; then LIBRE2="obj/dbg/libre2.a" else LIBRE2="obj/libre2.a" fi test -f re2/$LIBRE2 && exit 0 RE2_REV=${RE2_REV:-2017-04-01} case $(git config --get remote.origin.url) in git@github.com*|https://...
538d984958979c7bd59015c6fc08b069c7dc4f57
c_src/build_deps.sh
c_src/build_deps.sh
Shell
<|file_sep|>original/package.json "description": "Leap Motion Client", "main": "lib", "scripts": { "test": "make test-node" }, "license": "BSD-2-Clause", "dependencies": { "ws": "*" }, "devDependencies": { "underscore": "*", "browserify": "git://github.com/substack/node-browserify.git", ...
"scripts": { "test": "make test-node" }, "license": "BSD-2-Clause", "dependencies": { "ws": "*" }, "devDependencies": { "underscore": "*", "browserify": "git://github.com/substack/node-browserify.git", "mocha": "1.7.4", "mocha-phantomjs": "3.0.0", "phantomjs": "1.9.0-6", "htt...
<|file_sep|>original/package.json "description": "Leap Motion Client", "main": "lib", "scripts": { "test": "make test-node" }, "license": "BSD-2-Clause", "dependencies": { "ws": "*" }, "devDependencies": { "underscore": "*", "browserify": "git://github.com/substack/node-browserify.git", ...
17020968749d7b8cc8ff9723cadb634d06fee826
package.json
package.json
JSON
<|file_sep|>original/messaging/synonyms.py <|file_sep|>current/messaging/synonyms.py <|file_sep|>updated/messaging/synonyms.py
import os from threading import RLock from weavelib.exceptions import ObjectAlreadyExists class SynonymRegistry(object): def __init__(self): self.synonym_lock = RLock() self.synonyms = {} def register(self, synonym, target): synonym = os.path.join("/synonyms", synonym.lstrip('/')) ...
<|file_sep|>original/messaging/synonyms.py <|file_sep|>current/messaging/synonyms.py <|file_sep|>updated/messaging/synonyms.py import os from threading import RLock from weavelib.exceptions import ObjectAlreadyExists class SynonymRegistry(object): def __init__(self): self.synonym_lock = RLock() ...
ade82c81d43473eaef4fb3db668353f76c0daf91
messaging/synonyms.py
messaging/synonyms.py
Python
<|file_sep|>TrevorNet/tests/test_idx.py.diff original: _somebytes = b'\x00\x00\x0C\x02' + b'\x01\x02\x03\x04' updated: def _get_somebytes(): header = b'\x00\x00\x0C\x02' dimensionsizes = b'\x00\x00\x00\x02' + b'\x00\x00\x00\x02' data = b'\x00\x00\x00\x01' + b'\x00\x00\x00\x02' data += b'\x00\x00\x00\x03...
def check__count_dimensions(lst, i): assert idx._count_dimensions(lst) == i # these two are equivalent according to the format on http://yann.lecun.com/exdb/mnist/ _somelist = [[1, 2], [3, 4]] def _get_somebytes(): header = b'\x00\x00\x0C\x02' dimensionsizes = b'\x00\x00\x00\x02' + b'\x00\x00\x00\x02' ...
<|file_sep|>TrevorNet/tests/test_idx.py.diff original: _somebytes = b'\x00\x00\x0C\x02' + b'\x01\x02\x03\x04' updated: def _get_somebytes(): header = b'\x00\x00\x0C\x02' dimensionsizes = b'\x00\x00\x00\x02' + b'\x00\x00\x00\x02' data = b'\x00\x00\x00\x01' + b'\x00\x00\x00\x02' data += b'\x00\x00\x00\x03...
12f835d9060decfc675c81f7a1499b373b78f4cc
TrevorNet/tests/test_idx.py
TrevorNet/tests/test_idx.py
Python
<|file_sep|>src/main/Main.java.diff original: updated: import ui.RGBWindow; <|file_sep|>original/src/main/Main.java package main; /** * Created by nick on 10/22/15. */ public class Main { public static void main(String[] args){ } } <|file_sep|>current/src/main/Main.java package main; import ui.RGBWindow...
package main; import ui.RGBWindow; /** * Created by nick on 10/22/15. */ public class Main { public static void main(String[] args){ new RGBWindow(); } }
<|file_sep|>src/main/Main.java.diff original: updated: import ui.RGBWindow; <|file_sep|>original/src/main/Main.java package main; /** * Created by nick on 10/22/15. */ public class Main { public static void main(String[] args){ } } <|file_sep|>current/src/main/Main.java package main; import ui.RGBWindow...
ba82b7c57307c9de221806062314b40c7ad58675
src/main/Main.java
src/main/Main.java
Java
<|file_sep|>original/config/email.js export default { mailgun: { secret: process.env.MAILGUN_SECRET, domain: process.env.MAILGUN_DOMAIN || 'sse.rit.edu', }, }; <|file_sep|>current/config/email.js export default { mailgun: { secret: process.env.MAILGUN_SECRET, domain: process.env.MAILGUN_DOMAIN || ...
export default { mailgun: { // NOTE: 'test' prevents 'mailgun-js' from complaining that no secret has been set // TODO: Read in environment variables from a '.env' file so we can set these default values in development secret: process.env.MAILGUN_SECRET || 'test', domain: process.env.MAILGUN_DOMAIN ||...
<|file_sep|>original/config/email.js export default { mailgun: { secret: process.env.MAILGUN_SECRET, domain: process.env.MAILGUN_DOMAIN || 'sse.rit.edu', }, }; <|file_sep|>current/config/email.js export default { mailgun: { secret: process.env.MAILGUN_SECRET, domain: process.env.MAILGUN_DOMAIN || ...
d36aa1b1c0c2cfc0eb841e4dc14b3963d05f95b7
config/email.js
config/email.js
JavaScript
<|file_sep|>original/app/assets/javascripts/modules/mobilemenu.coffee $inputQuery = $("#search_form_query") $homeTemplate = $("body.template--pages-home").length $inputLocationContainer = $(".search_form_search_location") $submit = $(".main-search__submit") $distributor = $(".Distributor--navigation") smart...
$inputQuery = $("#search_form_query") $homeTemplate = $("body.template--pages-home").length $inputLocationContainer = $(".search_form_search_location") $submit = $(".main-search__submit") $distributor = $(".Distributor--navigation") smartphone = ($(window).width() < 1000) if $homeTemplate return i...
<|file_sep|>original/app/assets/javascripts/modules/mobilemenu.coffee $inputQuery = $("#search_form_query") $homeTemplate = $("body.template--pages-home").length $inputLocationContainer = $(".search_form_search_location") $submit = $(".main-search__submit") $distributor = $(".Distributor--navigation") smart...
5b517a4dddb64298d731abaf6f9124c63015f8a3
app/assets/javascripts/modules/mobilemenu.coffee
app/assets/javascripts/modules/mobilemenu.coffee
CoffeeScript
<|file_sep|>original/setup.cfg [metadata] name = automaton summary = Machines for python. requires-python = >=2.6 author = Joshua Harlow author-email = harlowja@gmail.com home-page = https://github.com/harlowja/automaton description-file = README.rst classifier = Development Status :: 4 - Beta Inten...
[metadata] name = automaton summary = Machines for python. requires-python = >=2.6 author = Joshua Harlow author-email = harlowja@gmail.com home-page = https://github.com/harlowja/automaton description-file = README.rst classifier = Development Status :: 4 - Alpha Intended Audience :: Developers ...
<|file_sep|>original/setup.cfg [metadata] name = automaton summary = Machines for python. requires-python = >=2.6 author = Joshua Harlow author-email = harlowja@gmail.com home-page = https://github.com/harlowja/automaton description-file = README.rst classifier = Development Status :: 4 - Beta Inten...
3c964ef507675d1636a8a27774acb078e1a4d63c
setup.cfg
setup.cfg
INI
<|file_sep|>original/spec/react/container.test.jsx <|file_sep|>current/spec/react/container.test.jsx <|file_sep|>updated/spec/react/container.test.jsx
import { describe, it, before, beforeEach, after, afterEach } from 'mocha'; import assert from 'power-assert'; import _ from 'lodash'; import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Logger from '../../src/logger'; import { createStore, destroyStore, getAllStores, destroyAllStores }...
<|file_sep|>original/spec/react/container.test.jsx <|file_sep|>current/spec/react/container.test.jsx <|file_sep|>updated/spec/react/container.test.jsx import { describe, it, before, beforeEach, after, afterEach } from 'mocha'; import assert from 'power-assert'; import _ from 'lodash'; import React from 'react'; impo...
a5e2f8de90f77dd6482f92cbfdff8d8cc05b6640
spec/react/container.test.jsx
spec/react/container.test.jsx
JSX
<|file_sep|>original/app/sass-bridge/package.json { "dependencies": { "node-sass": "^3.8.0" }, "main": "index.js", "name": "sass_bridge", "license": "MIT" } <|file_sep|>current/app/sass-bridge/package.json { "dependencies": { "node-sass": "^3.8.0" }, "main": "index.js", "name": "sass_bridge", ...
{ "dependencies": { "cross-spawn": "^4.0.0", "node-sass": "^3.8.0" }, "main": "index.js", "name": "sass_bridge", "license": "MIT" }
<|file_sep|>original/app/sass-bridge/package.json { "dependencies": { "node-sass": "^3.8.0" }, "main": "index.js", "name": "sass_bridge", "license": "MIT" } <|file_sep|>current/app/sass-bridge/package.json { "dependencies": { "node-sass": "^3.8.0" }, "main": "index.js", "name": "sass_bridge", ...
eda816b4e511e4fa5a5c964a032ad1ae9825f09d
app/sass-bridge/package.json
app/sass-bridge/package.json
JSON
<|file_sep|>original/env.rb class Env def self.global env = {} [:+, :*].each do |op| env[op] = lambda {|*args| args.reduce(op)} end [:-, :/].each do |op| env[op] = lambda {|a, b| a.send(op, b)} end env[:begin] = lambda {|*args| args[-1]} new(env, nil) end def initialize(ha...
class Env def self.global env = {} [:+, :*].each do |op| env[op] = lambda {|*args| args.reduce(op)} end [:-, :/].each do |op| env[op] = lambda {|a, b| a.send(op, b)} end Math.methods(false).each do |sym| env[sym] = lambda {|*args| Math.send(sym, *args)} end env[:begin...
<|file_sep|>original/env.rb class Env def self.global env = {} [:+, :*].each do |op| env[op] = lambda {|*args| args.reduce(op)} end [:-, :/].each do |op| env[op] = lambda {|a, b| a.send(op, b)} end env[:begin] = lambda {|*args| args[-1]} new(env, nil) end def initialize(ha...
1410a7968723c19f78f2c5ec6ebf70926bf7eaf7
env.rb
env.rb
Ruby
<|file_sep|>original/library/src/main/java/com/novoda/downloadmanager/MigrationStatusNotificationCreator.java } private MigrationStatus.Status previousStatus; private NotificationCompat.Builder builder; @Override public NotificationInformation createNotification(final MigrationStatus migrationStat...
} private MigrationStatus.Status previousStatus; private NotificationCompat.Builder builder; @Override public NotificationInformation createNotification(final MigrationStatus migrationStatus) { return new NotificationInformation() { @Override public int getId() { ...
<|file_sep|>original/library/src/main/java/com/novoda/downloadmanager/MigrationStatusNotificationCreator.java } private MigrationStatus.Status previousStatus; private NotificationCompat.Builder builder; @Override public NotificationInformation createNotification(final MigrationStatus migrationStat...
91752c6a64cee16dd6e2c891b53662923ed19213
library/src/main/java/com/novoda/downloadmanager/MigrationStatusNotificationCreator.java
library/src/main/java/com/novoda/downloadmanager/MigrationStatusNotificationCreator.java
Java
<|file_sep|>src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig.diff original: if(response.isOn){ updated: if (response.isOn) { <|file_sep|>original/src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig require(['orosync/js/sync', 'oroui/js/modal', 'orotranslation...
require(['orosync/js/sync', 'oroui/js/modal', 'orotranslation/js/translator'], function(sync, Modal, __){ // captured outer variable var dialog = null; sync.subscribe('oro/maintenance', function (response) { if (response.isOn) { var regExp = new RegExp('\n', ...
<|file_sep|>src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig.diff original: if(response.isOn){ updated: if (response.isOn) { <|file_sep|>original/src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig require(['orosync/js/sync', 'oroui/js/modal', 'orotranslation...
df681849b33f826e6f7ceafcb17e6d2f5670b77e
src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig
src/Oro/Bundle/SyncBundle/Resources/views/maintenance_js.html.twig
Twig
<|file_sep|>original/lib/metrica/rails/railtie.rb # @api private class Railtie < ::Rails::Railtie initializer "mertike.middleware" do |app| app.middleware.insert(0, Metrica::Rack::Middleware) end config.after_initialize do # Insert ActiveRecord instrumentation if defi...
# @api private class Railtie < ::Rails::Railtie initializer "mertike.middleware" do |app| app.middleware.insert(0, Metrica::Rack::Middleware) end config.after_initialize do # Insert ActiveRecord instrumentation if defined?(::ActiveRecord::ConnectionAdapters::AbstractA...
<|file_sep|>original/lib/metrica/rails/railtie.rb # @api private class Railtie < ::Rails::Railtie initializer "mertike.middleware" do |app| app.middleware.insert(0, Metrica::Rack::Middleware) end config.after_initialize do # Insert ActiveRecord instrumentation if defi...
6c39d4269f2527e56c1cbeb3480caa7a3b316b83
lib/metrica/rails/railtie.rb
lib/metrica/rails/railtie.rb
Ruby
<|file_sep|>core/app/models/spree/shipping_rate.rb.diff original: -> { includes(:shipping_method).where(ShippingMethod.on_frontend_query).references(:shipping_method) } updated: -> { includes(:shipping_method). where(ShippingMethod.on_frontend_query). references(:shipping_method). ...
class ShippingRate < ActiveRecord::Base belongs_to :shipment, class_name: 'Spree::Shipment' belongs_to :shipping_method, class_name: 'Spree::ShippingMethod' scope :frontend, -> { includes(:shipping_method). where(ShippingMethod.on_frontend_query). references(:shipping_method). ...
<|file_sep|>core/app/models/spree/shipping_rate.rb.diff original: -> { includes(:shipping_method).where(ShippingMethod.on_frontend_query).references(:shipping_method) } updated: -> { includes(:shipping_method). where(ShippingMethod.on_frontend_query). references(:shipping_method). ...
86dd844fb7fdfef919a60eefddc8af170d1e6c9a
core/app/models/spree/shipping_rate.rb
core/app/models/spree/shipping_rate.rb
Ruby
<|file_sep|>packages/le/lens-family-th.yaml.diff original: hash: 13c96ddf2d410ec4e6671c8412710b7cdbbfc837ff5be1d09a6dbb9ecdb9285d updated: hash: 978c149edc250ed1c91c03be304b752415e93ab5eb76aacb194bbe94135c356a <|file_sep|>original/packages/le/lens-family-th.yaml homepage: http://github.com/DanBurton/lens-family-th#read...
homepage: http://github.com/DanBurton/lens-family-th#readme changelog-type: '' hash: 978c149edc250ed1c91c03be304b752415e93ab5eb76aacb194bbe94135c356a test-bench-deps: {} maintainer: danburton.email@gmail.com synopsis: Generate lens-family style lenses changelog: '' basic-deps: base: ==4.* template-haskell: ! '>=2.7...
<|file_sep|>packages/le/lens-family-th.yaml.diff original: hash: 13c96ddf2d410ec4e6671c8412710b7cdbbfc837ff5be1d09a6dbb9ecdb9285d updated: hash: 978c149edc250ed1c91c03be304b752415e93ab5eb76aacb194bbe94135c356a <|file_sep|>original/packages/le/lens-family-th.yaml homepage: http://github.com/DanBurton/lens-family-th#read...
511848145ae421f49be45dd2ab654af7c135f85a
packages/le/lens-family-th.yaml
packages/le/lens-family-th.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 1.9.3 - 2.0 updated: <|file_sep|>original/.travis.yml sudo: false rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 script: - bundle exec rake test <|file_sep|>current/.travis.yml sudo: false rvm: - 2.1 - 2.2 script: - bundle exec rake test <|file_sep|>updated/.travis.yml
sudo: false rvm: - 2.1 - 2.2 - 2.3 - 2.4 script: - bundle exec rake test
<|file_sep|>.travis.yml.diff original: - 1.9.3 - 2.0 updated: <|file_sep|>original/.travis.yml sudo: false rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 script: - bundle exec rake test <|file_sep|>current/.travis.yml sudo: false rvm: - 2.1 - 2.2 script: - bundle exec rake test <|file_sep|>updated/.travis.yml ...
1353c39d977ea17e7e51ca80660447031129f349
.travis.yml
.travis.yml
YAML
<|file_sep|>shim-server/src/main/resources/application.yaml.diff original: updated: # this is necessary to prevent proxy errors due https://github.com/spring-projects/spring-boot/issues/1929 dao: exceptiontranslation: enabled: false <|file_sep|>shim-server/src/main/resources/application.yaml.diff origina...
serialization: INDENT_OUTPUT: true server: port: 8083 security: basic: enabled: false logging: file: omh-shims.log openmhealth: shim: server: callbackUrlBase: http://localhost:8083 #NOTE: Un-comment and fill in with your credentials if you're not using the UI #fitbit: # cl...
<|file_sep|>shim-server/src/main/resources/application.yaml.diff original: updated: # this is necessary to prevent proxy errors due https://github.com/spring-projects/spring-boot/issues/1929 dao: exceptiontranslation: enabled: false <|file_sep|>shim-server/src/main/resources/application.yaml.diff origina...
7066bfc1884b0f1c37fb43c1bca0fe3164b35071
shim-server/src/main/resources/application.yaml
shim-server/src/main/resources/application.yaml
YAML