prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/composer.json "description": "Imgjss Package for Laravel 4", "keywords": ["L4", "Laravel 4", "Laravel", "Blade", "syntax", "html", "asset"], "homepage": "http://github.com/elvendor/imgjss", "license": "MIT", "authors": [ { "name": "Elvendor", "ema...
"description": "Imgjss Package for Laravel 4", "keywords": ["L4", "Laravel 4", "Laravel", "Blade", "syntax", "html", "asset"], "homepage": "http://github.com/elvendor/imgjss", "license": "MIT", "authors": [ { "name": "Elvendor", "email": "bayram4ik@gmail.com" ...
<|file_sep|>original/composer.json "description": "Imgjss Package for Laravel 4", "keywords": ["L4", "Laravel 4", "Laravel", "Blade", "syntax", "html", "asset"], "homepage": "http://github.com/elvendor/imgjss", "license": "MIT", "authors": [ { "name": "Elvendor", "ema...
6dd6707600fd001c1b44c3a5caad9072f014bc11
composer.json
composer.json
JSON
<|file_sep|>original/config/database.yml default: &default adapter: postgresql encoding: unicode pool: 10 template: template0 development: <<: *default database: publishing_api_development url: <%= ENV["DATABASE_URL"]%> test: <<: *default database: publishing_api_test url: <%= ENV["DATABASE_URL"]....
default: &default adapter: postgresql encoding: unicode pool: 12 template: template0 development: <<: *default database: publishing_api_development url: <%= ENV["DATABASE_URL"]%> test: <<: *default database: publishing_api_test url: <%= ENV["DATABASE_URL"].try(:sub, /([-_]development)?$/, '_test')...
<|file_sep|>original/config/database.yml default: &default adapter: postgresql encoding: unicode pool: 10 template: template0 development: <<: *default database: publishing_api_development url: <%= ENV["DATABASE_URL"]%> test: <<: *default database: publishing_api_test url: <%= ENV["DATABASE_URL"]....
2a96d53193a48f352ee37e1e8d4ce25aac347081
config/database.yml
config/database.yml
YAML
<|file_sep|>prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg.diff original: QueryTimeoutSecs = 15 updated: QueryTimeoutSecs = 150 <|file_sep|>original/prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg [query_elasticsearch_oct...
[query_elasticsearch_octobus_jumpserver] QueryIntervalSecs = 300 QueryTimeoutSecs = 150 QueryIndices = c0001_log7_jumphost* QueryJson = { "aggs": { "logs": { "terms": { "field": "host.name.keyword", "size": 30 } } }, "siz...
<|file_sep|>prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg.diff original: QueryTimeoutSecs = 15 updated: QueryTimeoutSecs = 150 <|file_sep|>original/prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg [query_elasticsearch_oct...
14a8b7b6fe04f092e1918cb53c2d38170bb0fbdd
prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg
prometheus-exporters/octobus-query-exporter/files/queries/logshipping/logshipping_jumpserver.cfg
INI
<|file_sep|>original/webpack.config.js var path = require("path"); var webpack = require("webpack"); module.exports = { entry: "./src/main.ts", output: { filename: "bundle.js", path: path.resolve(__dirname, "dist") }, module: { rules: [ { test: /\.ts$/, exclude: /node_modules/...
var path = require("path"); var webpack = require("webpack"); module.exports = { entry: "./src/main.ts", output: { filename: "bundle.js", path: path.resolve(__dirname, "dist"), libraryTarget: "commonjs2" }, module: { rules: [ { test: /\.ts$/, exclude: /node_modules/, ...
<|file_sep|>original/webpack.config.js var path = require("path"); var webpack = require("webpack"); module.exports = { entry: "./src/main.ts", output: { filename: "bundle.js", path: path.resolve(__dirname, "dist") }, module: { rules: [ { test: /\.ts$/, exclude: /node_modules/...
d7656b00ea177fa92388d2a0fadb1fd0d6b9a354
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/README.md # Feathers Commons [![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/commons.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/feathersjs/commons.png?branch=master)](https://travis-ci.org/feathersjs/commons) [![Code Climate](https://codeclimate.com/githu...
# Feathers Commons [![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/commons.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/feathersjs/commons.png?branch=master)](https://travis-ci.org/feathersjs/commons) [![Test Coverage](https://codeclimate.com/github/feathersjs/commons/badges/co...
<|file_sep|>original/README.md # Feathers Commons [![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/commons.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/feathersjs/commons.png?branch=master)](https://travis-ci.org/feathersjs/commons) [![Code Climate](https://codeclimate.com/githu...
883e519054a218fcb67d1fa8a46d3596a0de03b7
README.md
README.md
Markdown
<|file_sep|>original/src/test/org/apache/james/transport/matchers/UserIsTest.java <|file_sep|>current/src/test/org/apache/james/transport/matchers/UserIsTest.java <|file_sep|>updated/src/test/org/apache/james/transport/matchers/UserIsTest.java
/*********************************************************************** * Copyright (c) 2006 The Apache Software Foundation. * * All rights reserved. * * ------------------------------------------------------------------- * * Licensed under the Apache...
<|file_sep|>original/src/test/org/apache/james/transport/matchers/UserIsTest.java <|file_sep|>current/src/test/org/apache/james/transport/matchers/UserIsTest.java <|file_sep|>updated/src/test/org/apache/james/transport/matchers/UserIsTest.java /*********************************************************************** ...
55b34c9896539d75456495a4fd2373b490a9b3c4
src/test/org/apache/james/transport/matchers/UserIsTest.java
src/test/org/apache/james/transport/matchers/UserIsTest.java
Java
<|file_sep|>original/lib/ic/logic/sn74lvc1g07.yaml datasheet: http://www.ti.com/lit/ds/symlink/sn74lvc1g07.pdf description: Buffer / Line Driver, Non-Inverting, 1 Gate, 1 Input, 1.65V to 5.5V footprint: agg:SOT-23-5 name: SN74LVC1G07 ordercodes: - [Farnell, '1102969'] pins: - - - [VCC, 5, pwrin] - [A, 2, in] - ...
datasheet: http://www.ti.com/lit/ds/symlink/sn74lvc1g07.pdf description: Buffer / Line Driver, Non-Inverting, 1 Gate, 1 Input, 1.65V to 5.5V footprint: agg:SOT-23-5 name: SN74LVC1G07 ordercodes: - [Farnell, '3119596'] pins: - - - [VCC, 5, pwrin] - [A, 2, in] - [GND, 3, pwrin] - - - [Y, 4, oc] - - [NC, 1, nc]
<|file_sep|>original/lib/ic/logic/sn74lvc1g07.yaml datasheet: http://www.ti.com/lit/ds/symlink/sn74lvc1g07.pdf description: Buffer / Line Driver, Non-Inverting, 1 Gate, 1 Input, 1.65V to 5.5V footprint: agg:SOT-23-5 name: SN74LVC1G07 ordercodes: - [Farnell, '1102969'] pins: - - - [VCC, 5, pwrin] - [A, 2, in] - ...
db0a4b4d3b3786e0d202a7f7a2dfa12c70a57a28
lib/ic/logic/sn74lvc1g07.yaml
lib/ic/logic/sn74lvc1g07.yaml
YAML
<|file_sep|>original/package.json "main": "index.js", "browser": { "questor": "./questor.min.js" }, "repository": "git@github.com:contentful/contentful.js.git", "author": "Stephan Seidt <stephan@contentful.com>", "license": "MIT", "dependencies": { "redefine": "~0.2.0", "questor": "1.0.0-alpha...
"browser": { "questor": "./questor.min.js" }, "repository": "git@github.com:contentful/contentful.js.git", "author": "Stephan Seidt <stephan@contentful.com>", "license": "MIT", "dependencies": { "redefine": "~0.2.0", "questor": "1.0.0-alpha.2", "underscore-contrib": "~0.2.1" }, "devDepen...
<|file_sep|>original/package.json "main": "index.js", "browser": { "questor": "./questor.min.js" }, "repository": "git@github.com:contentful/contentful.js.git", "author": "Stephan Seidt <stephan@contentful.com>", "license": "MIT", "dependencies": { "redefine": "~0.2.0", "questor": "1.0.0-alpha...
c896856cd4d54f503bbcdb6e51cd19def14549db
package.json
package.json
JSON
<|file_sep|>original/pico_get_by_filename.php $filename = str_replace('/', '', $filename); // need to find a way around files with the same name if (strlen($filename) <= 1) { $filename .= 'index'; } return $filename; } public function get_pages(&$pages, &$current_page, &$prev_page, &$next...
if (strlen($filename) <= 1) { $filename .= 'index'; } return $filename; } public function get_pages(&$pages, &$current_page, &$prev_page, &$next_page) { $temp = array(); foreach ($pages as $page) { $filename = $this->_make_filename($page['url']); $page['filename'] = $filename;...
<|file_sep|>original/pico_get_by_filename.php $filename = str_replace('/', '', $filename); // need to find a way around files with the same name if (strlen($filename) <= 1) { $filename .= 'index'; } return $filename; } public function get_pages(&$pages, &$current_page, &$prev_page, &$next...
5941c9c2c4e108a96dfd146a720e110d83aae086
pico_get_by_filename.php
pico_get_by_filename.php
PHP
<|file_sep|>original/Readme.md # QtVmbViewer Qt interface to display images from an Allied Vision camera through Vimba SDK <|file_sep|>current/Readme.md # QtVmbViewer Qt interface to display images from an Allied Vision camera through Vimba SDK <|file_sep|>updated/Readme.md
# QtVmbViewer Qt interface to display images from an Allied Vision camera through Vimba SDK Requirements : - `Qt 5` - `Vimba 2` Copyright (c) 2017 Michaël Roy (microygh@gmail.com) All rights reserved in accordance with the MIT License.
<|file_sep|>original/Readme.md # QtVmbViewer Qt interface to display images from an Allied Vision camera through Vimba SDK <|file_sep|>current/Readme.md # QtVmbViewer Qt interface to display images from an Allied Vision camera through Vimba SDK <|file_sep|>updated/Readme.md # QtVmbViewer Qt interface to display images ...
0f550e7e8093070659164d442a6ac2c31f853bf9
Readme.md
Readme.md
Markdown
<|file_sep|>original/doc/sphinx/proofs/writing-proofs/index.rst .. _writing-proofs: ============== Writing proofs ============== |Coq| is an interactive theorem prover, or proof assistant, which means that proofs can be constructed interactively through a dialog between the user and the assistant. The building block...
.. _writing-proofs: =================== Basic proof writing =================== |Coq| is an interactive theorem prover, or proof assistant, which means that proofs can be constructed interactively through a dialog between the user and the assistant. The building blocks for this dialog are tactics which the user will...
<|file_sep|>original/doc/sphinx/proofs/writing-proofs/index.rst .. _writing-proofs: ============== Writing proofs ============== |Coq| is an interactive theorem prover, or proof assistant, which means that proofs can be constructed interactively through a dialog between the user and the assistant. The building block...
892cb357d89d59dfbb9473885c4e9ec255568ad0
doc/sphinx/proofs/writing-proofs/index.rst
doc/sphinx/proofs/writing-proofs/index.rst
reStructuredText
<|file_sep|>original/tests/run-pass/concurrency/thread_locals.rs <|file_sep|>current/tests/run-pass/concurrency/thread_locals.rs <|file_sep|>updated/tests/run-pass/concurrency/thread_locals.rs
#![feature(thread_local)] use std::thread; #[thread_local] static mut A: u8 = 0; #[thread_local] static mut B: u8 = 0; static mut C: u8 = 0; unsafe fn get_a_ref() -> *mut u8 { &mut A } fn main() { unsafe { let x = get_a_ref(); *x = 5; assert_eq!(A, 5); B = 15;
<|file_sep|>original/tests/run-pass/concurrency/thread_locals.rs <|file_sep|>current/tests/run-pass/concurrency/thread_locals.rs <|file_sep|>updated/tests/run-pass/concurrency/thread_locals.rs #![feature(thread_local)] use std::thread; #[thread_local] static mut A: u8 = 0; #[thread_local] static mut B: u8 = 0; stat...
92946b5a9cc52bfef2338b2075cec85561652449
tests/run-pass/concurrency/thread_locals.rs
tests/run-pass/concurrency/thread_locals.rs
Rust
<|file_sep|>original/doc/topics/cloud/install/index.rst Salt Cloud is now part of Salt proper. It was merged in as of :doc:`Salt version 2014.1.0 </topics/releases/2014.1.0>`. On Ubuntu, install Salt Cloud by using following command: .. code-block:: bash sudo add-apt-repository ppa:saltstack/salt sudo apt-...
Salt Cloud is now part of Salt proper. It was merged in as of :doc:`Salt version 2014.1.0 </topics/releases/2014.1.0>`. On Ubuntu, install Salt Cloud by using following command: .. code-block:: bash sudo add-apt-repository ppa:saltstack/salt sudo apt-get install salt-cloud If using Salt Cloud on OS X, ``cu...
<|file_sep|>original/doc/topics/cloud/install/index.rst Salt Cloud is now part of Salt proper. It was merged in as of :doc:`Salt version 2014.1.0 </topics/releases/2014.1.0>`. On Ubuntu, install Salt Cloud by using following command: .. code-block:: bash sudo add-apt-repository ppa:saltstack/salt sudo apt-...
ea4b0459442ac68b35305d69c14508ffdf87046d
doc/topics/cloud/install/index.rst
doc/topics/cloud/install/index.rst
reStructuredText
<|file_sep|>original/data_migrate.gemspec require "data_migrate/version" Gem::Specification.new do |s| s.name = "data_migrate" s.version = DataMigrate::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew J Vargo"] s.email = ["ajvargo@computer.org"] s.homepage = "http://...
require "data_migrate/version" Gem::Specification.new do |s| s.name = "data_migrate" s.version = DataMigrate::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew J Vargo"] s.email = ["ajvargo@computer.org"] s.homepage = "http://ajvargo.com" s.summary = %q{Rake tas...
<|file_sep|>original/data_migrate.gemspec require "data_migrate/version" Gem::Specification.new do |s| s.name = "data_migrate" s.version = DataMigrate::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Andrew J Vargo"] s.email = ["ajvargo@computer.org"] s.homepage = "http://...
b8adce62cd03b733a01e420031e1f6c0c9130352
data_migrate.gemspec
data_migrate.gemspec
Ruby
<|file_sep|>original/composer.json "type":"cakephp-plugin", "license": "MIT", "authors": [ { "name": "Andy Dawson", "email": "andydawson76@gmail.com" } ], "minimum-stability": "dev", "require": { "cakephp/cakephp": "3.0.*-dev" }, "require-d...
"type":"cakephp-plugin", "license": "MIT", "authors": [ { "name": "Andy Dawson", "email": "andydawson76@gmail.com" } ], "minimum-stability": "dev", "require": { "cakephp/cakephp": "~3.0" }, "require-dev": { "cakephp/cakephp-codesnif...
<|file_sep|>original/composer.json "type":"cakephp-plugin", "license": "MIT", "authors": [ { "name": "Andy Dawson", "email": "andydawson76@gmail.com" } ], "minimum-stability": "dev", "require": { "cakephp/cakephp": "3.0.*-dev" }, "require-d...
d5d033c8a79b22c45953b80cac32cb190e9352e4
composer.json
composer.json
JSON
<|file_sep|>.travis.yml.diff original: updated: env: global: - CC_TEST_REPORTER_ID=1561686e6399317b53a92aaad0550f8b91fe5af312e1f2852ab803ff6fcb6fa9 <|file_sep|>original/.travis.yml language: python python: - "3.6" install: - pip install -r requirements.txt - pip install pytest pytest-cov codeclimate-test-r...
env: global: - CC_TEST_REPORTER_ID=1561686e6399317b53a92aaad0550f8b91fe5af312e1f2852ab803ff6fcb6fa9 language: python python: - "3.6" install: - pip install -r requirements.txt - pip install pytest pytest-cov codeclimate-test-reporter script: - py.test -v --cov=. tests/ after_success: - codeclimate-test-...
<|file_sep|>.travis.yml.diff original: updated: env: global: - CC_TEST_REPORTER_ID=1561686e6399317b53a92aaad0550f8b91fe5af312e1f2852ab803ff6fcb6fa9 <|file_sep|>original/.travis.yml language: python python: - "3.6" install: - pip install -r requirements.txt - pip install pytest pytest-cov codeclimate-test-r...
be0f949c0eeb49466cac1800e41e1eeb5d34ab26
.travis.yml
.travis.yml
YAML
<|file_sep|>roles/rdfio/tasks/main.yml.diff original: updated: - name: Change user & group for wiki folder file: path=/var/www/html/w owner=vagrant group=www-data recurse=yes <|file_sep|>roles/rdfio/tasks/main.yml.diff original: arguments="rdfio/rdfio --update-no-dev" updated: arguments="rdfi...
php {{ mw_dir }}/maintenance/importDump.php /vagrant/roles/rdfio/files/wiki_content.xml - name: Change user & group for wiki folder file: path=/var/www/html/w owner=vagrant group=www-data recurse=yes - name: Install RDFIO including dependencies via composer composer: command=require argu...
<|file_sep|>roles/rdfio/tasks/main.yml.diff original: updated: - name: Change user & group for wiki folder file: path=/var/www/html/w owner=vagrant group=www-data recurse=yes <|file_sep|>roles/rdfio/tasks/main.yml.diff original: arguments="rdfio/rdfio --update-no-dev" updated: arguments="rdfi...
1e41c35bea0f97107f9bee78254648fa43aff053
roles/rdfio/tasks/main.yml
roles/rdfio/tasks/main.yml
YAML
<|file_sep|>app/models/registrant_event_sign_up.rb.diff original: updated: validate :category_in_age_range <|file_sep|>original/app/models/registrant_event_sign_up.rb validate :category_chosen_when_signed_up validates :event_id, :presence => true, :uniqueness => {:scope => [:registrant_id]} has_paper_trail :m...
has_paper_trail :meta => { :registrant_id => :registrant_id } belongs_to :registrant, :inverse_of => :registrant_event_sign_ups belongs_to :event_category belongs_to :event def category_chosen_when_signed_up if self.signed_up and self.event_category.nil? errors[:base] << "Cannot sign up for #{sel...
<|file_sep|>app/models/registrant_event_sign_up.rb.diff original: updated: validate :category_in_age_range <|file_sep|>original/app/models/registrant_event_sign_up.rb validate :category_chosen_when_signed_up validates :event_id, :presence => true, :uniqueness => {:scope => [:registrant_id]} has_paper_trail :m...
bb9a6aafca935b343039d3dea388a635ef96d6e1
app/models/registrant_event_sign_up.rb
app/models/registrant_event_sign_up.rb
Ruby
<|file_sep|>original/README.md # EnterpriseApplicationConfigurationManager <|file_sep|>current/README.md # EnterpriseApplicationConfigurationManager <|file_sep|>updated/README.md
# EnterpriseApplicationConfigurationManager Build Status: [![Build status](https://ci.appveyor.com/api/projects/status/db93wcu20th7gh29/branch/master?svg=true)](https://ci.appveyor.com/project/lehmamic/enterpriseapplicationconfigurationmanager/branch/master)
<|file_sep|>original/README.md # EnterpriseApplicationConfigurationManager <|file_sep|>current/README.md # EnterpriseApplicationConfigurationManager <|file_sep|>updated/README.md # EnterpriseApplicationConfigurationManager Build Status: [![Build status](https://ci.appveyor.com/api/projects/status/db93wcu20th7gh29/bran...
fbd92342113039579c611651e7a1d1689b11e2b3
README.md
README.md
Markdown
<|file_sep|>original/example/package.json "body-parser" : "1.4.3", "cookie-parser" : "1.3.1", "express-session" : "1.5.1", "morgan" : "1.1.1", "koa" : "0.14.0", "koa-router" : "3.7.0", "koa-mount" : "1.3.0", "koa-bodyparser" : "1.3.0", "koa-qs"...
"express" : "4.4.4", "body-parser" : "1.4.3", "cookie-parser" : "1.3.1", "express-session" : "1.5.1", "morgan" : "1.1.1", "koa" : "0.14.0", "koa-router" : "3.7.0", "koa-mount" : "1.3.0", "koa-bodyparser" : "1.3.0", "koa-qs" ...
<|file_sep|>original/example/package.json "body-parser" : "1.4.3", "cookie-parser" : "1.3.1", "express-session" : "1.5.1", "morgan" : "1.1.1", "koa" : "0.14.0", "koa-router" : "3.7.0", "koa-mount" : "1.3.0", "koa-bodyparser" : "1.3.0", "koa-qs"...
5f887dbd6c23514d4ca421d79f844df590400174
example/package.json
example/package.json
JSON
<|file_sep|>original/pyblogit/api_interface.py <|file_sep|>current/pyblogit/api_interface.py <|file_sep|>updated/pyblogit/api_interface.py
""" pyblogit.api_interface ~~~~~~~~~~~~~~~~~~~~~~ This modules acts as an interface between pyblogit and various blogging platform apis. """ import gdata.gauth import gdata.blogger.client class BloggerInterface(object): def __init__(self): self._CLIENT_ID = client_id self._CLIENT_SECRET = client...
<|file_sep|>original/pyblogit/api_interface.py <|file_sep|>current/pyblogit/api_interface.py <|file_sep|>updated/pyblogit/api_interface.py """ pyblogit.api_interface ~~~~~~~~~~~~~~~~~~~~~~ This modules acts as an interface between pyblogit and various blogging platform apis. """ import gdata.gauth import gdata.blog...
4ba2dc07dcd1394e829fed0168ee64af1bd401ed
pyblogit/api_interface.py
pyblogit/api_interface.py
Python
<|file_sep|>original/Overcoat.podspec Pod::Spec.new do |s| s.name = 'Overcoat' s.version = '1.2' s.license = 'MIT' s.summary = 'Overcoat is an AFNetworking extension that makes it extremely simple for developers to use Mantle model objects with a REST client.' s.homepage = 'https://github.com/gonzalezr...
Pod::Spec.new do |s| s.name = 'Overcoat' s.version = '1.2' s.license = 'MIT' s.summary = 'Overcoat is an AFNetworking extension that makes it extremely simple for developers to use Mantle model objects with a REST client.' s.homepage = 'https://github.com/gonzalezreal/Overcoat' s.authors = { 'Guille...
<|file_sep|>original/Overcoat.podspec Pod::Spec.new do |s| s.name = 'Overcoat' s.version = '1.2' s.license = 'MIT' s.summary = 'Overcoat is an AFNetworking extension that makes it extremely simple for developers to use Mantle model objects with a REST client.' s.homepage = 'https://github.com/gonzalezr...
0516944b55d8067ed5a2410d9c83232db0c15731
Overcoat.podspec
Overcoat.podspec
Ruby
<|file_sep|>original/jssignals-rails.gemspec s.email = "philostler@gmail.com" s.homepage = "http://github.com/philostler/jssignals-rails" s.summary = %q{js-signals for Rails} s.description = %q{Provides js-signals for use with Rails 3} s.add_dependency "railties", "~> 3.0" s.add_development_d...
s.author = "Phil Ostler" s.email = "philostler@gmail.com" s.homepage = "http://github.com/philostler/jssignals-rails" s.summary = %q{js-signals for Rails} s.description = %q{Provides js-signals for use with Rails 3} s.add_dependency "railties", "~> 3.0" s.add_development_dependency "fu...
<|file_sep|>original/jssignals-rails.gemspec s.email = "philostler@gmail.com" s.homepage = "http://github.com/philostler/jssignals-rails" s.summary = %q{js-signals for Rails} s.description = %q{Provides js-signals for use with Rails 3} s.add_dependency "railties", "~> 3.0" s.add_development_d...
ab45fb7c778a81810c58b82fd28e8e124900d9cf
jssignals-rails.gemspec
jssignals-rails.gemspec
Ruby
<|file_sep|>original/src/main/java/technology/tabula/json/TableSerializer.java @Override public JsonElement serialize(Table src, Type typeOfSrc, JsonSerializationContext context) { JsonObject result = new JsonObject(); result.addProperty("extraction_method", src.getExtractionMethod()); result.addProperty("top...
@Override public JsonElement serialize(Table src, Type typeOfSrc, JsonSerializationContext context) { JsonObject result = new JsonObject(); result.addProperty("extraction_method", src.getExtractionMethod()); result.addProperty("top", src.getTop()); result.addProperty("left", src.getLeft()); result.ad...
<|file_sep|>original/src/main/java/technology/tabula/json/TableSerializer.java @Override public JsonElement serialize(Table src, Type typeOfSrc, JsonSerializationContext context) { JsonObject result = new JsonObject(); result.addProperty("extraction_method", src.getExtractionMethod()); result.addProperty("top...
545db99cb432306d5a06c56bfe68c3a3d6380052
src/main/java/technology/tabula/json/TableSerializer.java
src/main/java/technology/tabula/json/TableSerializer.java
Java
<|file_sep|>original/config/segment.php * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- | Segment Write Key |-------------------...
* For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- | Segment Write Key |--------------------------------------------------------------...
<|file_sep|>original/config/segment.php * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ /* |-------------------------------------------------------------------------- | Segment Write Key |-------------------...
8940fe47164fdf0f14fde6a2cc3127d7eaddf13f
config/segment.php
config/segment.php
PHP
<|file_sep|>original/.travis.yml language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode - rbx-head - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head notifications: email: - dendoh@gmail.com <|file_sep|>current/.travis.yml language: ruby rvm: - jruby-18mo...
- jruby-head - rbx-18mode - rbx-19mode - rbx-head - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head matrix: allow_failures: - rvm: jruby-18mode - rvm: rbx-18mode - rvm: rbx-head - rvm: ree - rvm: 1.8.7 - rvm: ruby-head notifications: email: - dendoh@gmail.com
<|file_sep|>original/.travis.yml language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode - rbx-head - ree - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head notifications: email: - dendoh@gmail.com <|file_sep|>current/.travis.yml language: ruby rvm: - jruby-18mo...
804d655f56baa2bf08adc6f4f7d04281f475b62e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/rocketchat-api/server/v1/spotlight.js RocketChat.API.v1.addRoute('spotlight', { authRequired: true }, { get() { check(this.queryParams, { query: String }); const { query } = this.queryParams; let result; Meteor.runAsUser(this.userId, () => result = Meteor.call('spotlight...
/** This API returns the result of a query of rooms and users, using Meteor's Spotlight method. Method: GET Route: api/v1/spotlight Query params: - query: The term to be searched. */ RocketChat.API.v1.addRoute('spotlight', { authRequired: true }, { get() { check(this.queryParams, { query: String }); ...
<|file_sep|>original/packages/rocketchat-api/server/v1/spotlight.js RocketChat.API.v1.addRoute('spotlight', { authRequired: true }, { get() { check(this.queryParams, { query: String }); const { query } = this.queryParams; let result; Meteor.runAsUser(this.userId, () => result = Meteor.call('spotlight...
47e0d05fe2f150a6b365b57e1bc6a48fd8172aa5
packages/rocketchat-api/server/v1/spotlight.js
packages/rocketchat-api/server/v1/spotlight.js
JavaScript
<|file_sep|>spec/unit/rom/environment/schema_spec.rb.diff original: updated: let(:block) { Proc.new {} } <|file_sep|>spec/unit/rom/environment/schema_spec.rb.diff original: let(:block) { Proc.new {} } updated: <|file_sep|>original/spec/unit/rom/environment/schema_spec.rb let(:block) { Proc.new {} }...
subject { object.schema(&block) } fake(:schema) it 'calls the schema' do expect(subject).to be(schema) expect(schema).to have_received.call(&block) end end describe 'without a block' do subject { object.schema } fake(:schema) it 'calls the schema' do expect(subject...
<|file_sep|>spec/unit/rom/environment/schema_spec.rb.diff original: updated: let(:block) { Proc.new {} } <|file_sep|>spec/unit/rom/environment/schema_spec.rb.diff original: let(:block) { Proc.new {} } updated: <|file_sep|>original/spec/unit/rom/environment/schema_spec.rb let(:block) { Proc.new {} }...
ce37785ca81568e71dd8148db964680d42587765
spec/unit/rom/environment/schema_spec.rb
spec/unit/rom/environment/schema_spec.rb
Ruby
<|file_sep|>src/components/Editor/index.js.diff original: updated: import presentations from '../../data/presentations'; import PreviewPanel from './components/PreviewPanel'; <|file_sep|>src/components/Editor/index.js.diff original: updated: constructor(props) { super(props); this.state = { ...
.catch(err => { this.setState({ error: err, loading: false, }) }) } render() { const { presId } = this.props; const { loading, error, presentation } = this.state; return ( <div c...
<|file_sep|>src/components/Editor/index.js.diff original: updated: import presentations from '../../data/presentations'; import PreviewPanel from './components/PreviewPanel'; <|file_sep|>src/components/Editor/index.js.diff original: updated: constructor(props) { super(props); this.state = { ...
da2614a96f6e78133ae6e7441557a470dc27fde0
src/components/Editor/index.js
src/components/Editor/index.js
JavaScript
<|file_sep|>app/helpers/container_route_helper/textual_summary.rb.diff original: %i(name creation_timestamp resource_version) updated: %i(name creation_timestamp resource_version host_name path) <|file_sep|>original/app/helpers/container_route_helper/textual_summary.rb def textual_group_smart_management i...
def textual_name @record.name end def textual_creation_timestamp format_timezone(@record.creation_timestamp) end def textual_resource_version @record.resource_version end def textual_host_name @record.host_name end def textual_path @record.path end end
<|file_sep|>app/helpers/container_route_helper/textual_summary.rb.diff original: %i(name creation_timestamp resource_version) updated: %i(name creation_timestamp resource_version host_name path) <|file_sep|>original/app/helpers/container_route_helper/textual_summary.rb def textual_group_smart_management i...
945506fca50f7329370a1fafe60a2628443e34a1
app/helpers/container_route_helper/textual_summary.rb
app/helpers/container_route_helper/textual_summary.rb
Ruby
<|file_sep|>original/requirements/dev.txt -r base.txt factory-boy==3.2.0 Faker==8.1.2 flake8==3.9.1 freezegun==1.1.0 isort==5.8.0 pytest==6.2.3 pytest-cov==2.11.1 pytest-django==4.2.0 pytest-factoryboy==2.1.0 <|file_sep|>current/requirements/dev.txt -r base.txt factory-boy==3.2.0 Faker==8.1.2 flake8==3.9.1 freezegun==1...
-r base.txt factory-boy==3.2.0 Faker==8.1.3 flake8==3.9.1 freezegun==1.1.0 isort==5.8.0 pytest==6.2.3 pytest-cov==2.11.1 pytest-django==4.2.0 pytest-factoryboy==2.1.0
<|file_sep|>original/requirements/dev.txt -r base.txt factory-boy==3.2.0 Faker==8.1.2 flake8==3.9.1 freezegun==1.1.0 isort==5.8.0 pytest==6.2.3 pytest-cov==2.11.1 pytest-django==4.2.0 pytest-factoryboy==2.1.0 <|file_sep|>current/requirements/dev.txt -r base.txt factory-boy==3.2.0 Faker==8.1.2 flake8==3.9.1 freezegun==1...
dfe93b026b0c14d8526ac28715cdcdf98fe872c1
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>metadata/kasun.sinhala.keyboard.yml.diff original: updated: - versionName: 1.0.5 versionCode: 6 commit: 166f5e107b7aea3a9609cbca3d70093700979c0c subdir: app gradle: - yes <|file_sep|>original/metadata/kasun.sinhala.keyboard.yml gradle: - yes - versionName: 1.0.3 ve...
gradle: - yes - versionName: 1.0.4 versionCode: 5 commit: 804efa7d70cf551e825ee6c8fbe41c53c0286452 subdir: app gradle: - yes - versionName: 1.0.5 versionCode: 6 commit: 166f5e107b7aea3a9609cbca3d70093700979c0c subdir: app gradle: - yes AutoUpdateMode: Version...
<|file_sep|>metadata/kasun.sinhala.keyboard.yml.diff original: updated: - versionName: 1.0.5 versionCode: 6 commit: 166f5e107b7aea3a9609cbca3d70093700979c0c subdir: app gradle: - yes <|file_sep|>original/metadata/kasun.sinhala.keyboard.yml gradle: - yes - versionName: 1.0.3 ve...
5ebcbf3094c8347b30eca345b444e917dca2eda3
metadata/kasun.sinhala.keyboard.yml
metadata/kasun.sinhala.keyboard.yml
YAML
<|file_sep|>original/src/Event/SignInEvent.php $active = true; if($controller->request->is('post')){ if($login = $controller->request->data('username')){ $active = $controller->Users->find('all', [ 'conditions' => [ 'Users.active' => true, 'OR' => [ 'Users.email' ...
$active = true; if($controller->request->is('post')){ if($login = $controller->request->data('username')){ $active = $controller->Users->find('all', [ 'conditions' => [ 'Users.active' => true, 'OR' => [ 'Users.email' => $login, 'Users.username' => $login ...
<|file_sep|>original/src/Event/SignInEvent.php $active = true; if($controller->request->is('post')){ if($login = $controller->request->data('username')){ $active = $controller->Users->find('all', [ 'conditions' => [ 'Users.active' => true, 'OR' => [ 'Users.email' ...
bd927688e691c07970b5908e557d0bc8cd99eb30
src/Event/SignInEvent.php
src/Event/SignInEvent.php
PHP
<|file_sep|>app/views/admissions/_promo.html.haml.diff original: - if can? :show, :admissions_admin_admissions updated: - if can? :show, Admission <|file_sep|>original/app/views/admissions/_promo.html.haml = l admission.actual_application_deadline, format: :short %p = simple_format t('admissions.a...
= l admission.actual_application_deadline, format: :short %p = simple_format t('admissions.admission_promo') %br - if can? :manage, Admission [ = link_to edit_admissions_admin_admission_path(admission) do = t('admissions.edit_admission') ] - if can? :show, Admission ...
<|file_sep|>app/views/admissions/_promo.html.haml.diff original: - if can? :show, :admissions_admin_admissions updated: - if can? :show, Admission <|file_sep|>original/app/views/admissions/_promo.html.haml = l admission.actual_application_deadline, format: :short %p = simple_format t('admissions.a...
0263ad16f4899e38e86c5335aca4f937e5ab85a7
app/views/admissions/_promo.html.haml
app/views/admissions/_promo.html.haml
Haml
<|file_sep|>original/src/sentry/templates/sentry/projects/client_help.html {% block title %}{% trans "Client Configuration" %} | {{ block.super }}{% endblock %} {% block inner %} <div class="page-header"> <h2>{% trans "Client Configuration" %}</h2> </div> {% if key %} <p>{% trans "To start ...
{% block inner %} <div class="page-header"> <h2>{% trans "Client Configuration" %}</h2> </div> {% if key %} <p>{% trans "To start sending events, configure your client with the following DSN value:" %}</p> <p><code class="clippy">{{ dsn }}</code></p> <p>{% blocktrans with 'h...
<|file_sep|>original/src/sentry/templates/sentry/projects/client_help.html {% block title %}{% trans "Client Configuration" %} | {{ block.super }}{% endblock %} {% block inner %} <div class="page-header"> <h2>{% trans "Client Configuration" %}</h2> </div> {% if key %} <p>{% trans "To start ...
3ba8f5f92c4e91fe882d7ca7cbdfbb7ab48f9645
src/sentry/templates/sentry/projects/client_help.html
src/sentry/templates/sentry/projects/client_help.html
HTML
<|file_sep|>original/docs/HowToUseAudio.md <|file_sep|>current/docs/HowToUseAudio.md <|file_sep|>updated/docs/HowToUseAudio.md
# Tizen RT's Audio Framework Tizen RT's audio framework has 4 components namely; **Audio Subsystem** **Audio Codec Drivers** **Tinyalsa** **Device Drivers** ## Audio Subsystem Audio Subsystem binds the upper half of audio devices exposed to the application to the lower half through POSIX like system...
<|file_sep|>original/docs/HowToUseAudio.md <|file_sep|>current/docs/HowToUseAudio.md <|file_sep|>updated/docs/HowToUseAudio.md # Tizen RT's Audio Framework Tizen RT's audio framework has 4 components namely; **Audio Subsystem** **Audio Codec Drivers** **Tinyalsa** **Device Drivers** ## Audio Subsystem...
77c01bd81e35f04588c59c430b074615e9c42750
docs/HowToUseAudio.md
docs/HowToUseAudio.md
Markdown
<|file_sep|>original/Kit/Fedora/build-linux.sh <|file_sep|>current/Kit/Fedora/build-linux.sh <|file_sep|>updated/Kit/Fedora/build-linux.sh
#!/bin/bash KIT_DIR="${PWD}" BUILD="${KIT_DIR}/BUILD" BUILDROOT="${KIT_DIR}/BUILDROOT" ./build-rpms.sh --tarball echo BUILD ${BUILD} rm -rf ${BUILD} mkdir ${BUILD} echo BUILDROOT ${BUILD} rm -rf ${BUILDROOT} mkdir ${BUILDROOT} cd ${BUILD} tar xf ../tmp/scm-workbench*.tar.gz ls -l cd scm-workbench-*
<|file_sep|>original/Kit/Fedora/build-linux.sh <|file_sep|>current/Kit/Fedora/build-linux.sh <|file_sep|>updated/Kit/Fedora/build-linux.sh #!/bin/bash KIT_DIR="${PWD}" BUILD="${KIT_DIR}/BUILD" BUILDROOT="${KIT_DIR}/BUILDROOT" ./build-rpms.sh --tarball echo BUILD ${BUILD} rm -rf ${BUILD} mkdir ${BUILD} echo BUILDR...
ebce0f7b24ac51094642c7e91f30e2c592aba102
Kit/Fedora/build-linux.sh
Kit/Fedora/build-linux.sh
Shell
<|file_sep|>original/react-native/package.json { "name": "Keybase", "version": "0.0.1", "private": true, "scripts": { "start": "node_modules/react-native/packager/packager.sh", "reactbundle": "react-native bundle --minify --root react --out Keybase/main.jsbundle", "gobuild": "gomobile bind -target=i...
{ "name": "Keybase", "version": "0.0.1", "private": true, "scripts": { "start": "node_modules/react-native/packager/packager.sh", "reactbundle-ios": "react-native bundle --minify --root react --out ios/Keybase/main.jsbundle", "gobuild-ios": "gomobile bind -target=ios -o ios/keybase.framework github....
<|file_sep|>original/react-native/package.json { "name": "Keybase", "version": "0.0.1", "private": true, "scripts": { "start": "node_modules/react-native/packager/packager.sh", "reactbundle": "react-native bundle --minify --root react --out Keybase/main.jsbundle", "gobuild": "gomobile bind -target=i...
6933470899de48fd1a27ed6755c9380f3118e241
react-native/package.json
react-native/package.json
JSON
<|file_sep|>original/public/robots.txt User-agent: * Crawl-delay: 5 Disallow: /answers/ Disallow: /api/ Disallow: /ranking/ Disallow: /compare/ Disallow: /budget_lines/ <|file_sep|>current/public/robots.txt User-agent: * Crawl-delay: 5 Disallow: /answers/ Disallow: /api/ Disallow: /ranking/ Disallow: /compare/ Disallow...
User-agent: * Crawl-delay: 5 Disallow: /answers/ Disallow: /api/ Disallow: /ranking/ Disallow: /compare/ Disallow: /budget_lines/ Disallow: /places/*/2017/* Disallow: /places/*/2016/* Disallow: /places/*/2015/* Disallow: /places/*/2014/* Disallow: /places/*/2013/* Disallow: /places/*/2012/* Disallow: /places/*/2011/* D...
<|file_sep|>original/public/robots.txt User-agent: * Crawl-delay: 5 Disallow: /answers/ Disallow: /api/ Disallow: /ranking/ Disallow: /compare/ Disallow: /budget_lines/ <|file_sep|>current/public/robots.txt User-agent: * Crawl-delay: 5 Disallow: /answers/ Disallow: /api/ Disallow: /ranking/ Disallow: /compare/ Disallow...
41ee1f57c7f1b4222a8e3b943883dd49222e4d65
public/robots.txt
public/robots.txt
Text
<|file_sep|>original/common/djangoapps/dark_lang/migrations/0002_data__enable_on_install.py def create_dark_lang_config(apps, schema_editor): """ Enable DarkLang by default when it is installed, to prevent accidental release of testing languages. """ dark_lang_model = apps.get_model("dark_lang", "...
def create_dark_lang_config(apps, schema_editor): """ Enable DarkLang by default when it is installed, to prevent accidental release of testing languages. """ dark_lang_model = apps.get_model("dark_lang", "DarkLangConfig") db_alias = schema_editor.connection.alias if not dark_lang_model.o...
<|file_sep|>original/common/djangoapps/dark_lang/migrations/0002_data__enable_on_install.py def create_dark_lang_config(apps, schema_editor): """ Enable DarkLang by default when it is installed, to prevent accidental release of testing languages. """ dark_lang_model = apps.get_model("dark_lang", "...
680271d4669a309977e5fcfe89f92ea35ebc8d6f
common/djangoapps/dark_lang/migrations/0002_data__enable_on_install.py
common/djangoapps/dark_lang/migrations/0002_data__enable_on_install.py
Python
<|file_sep|>original/windows/colortool.ps1 <|file_sep|>current/windows/colortool.ps1 <|file_sep|>updated/windows/colortool.ps1
# Configure the default color scheme for all Windows consoles Write-Host -ForegroundColor DarkGreen "Downloading Windows Console ColorTool..." $colorurl = "https://github.com/Microsoft/console/releases/download/1810.02002/ColorTool.zip" $colorscheme = "OneHalfDark" [Net.ServicePointManager]::SecurityProtocol = [Net.Se...
<|file_sep|>original/windows/colortool.ps1 <|file_sep|>current/windows/colortool.ps1 <|file_sep|>updated/windows/colortool.ps1 # Configure the default color scheme for all Windows consoles Write-Host -ForegroundColor DarkGreen "Downloading Windows Console ColorTool..." $colorurl = "https://github.com/Microsoft/conso...
c7c4249249bba0d3dc5f4347156a0796a6f3e370
windows/colortool.ps1
windows/colortool.ps1
PowerShell
<|file_sep|>original/.travis.yml php: - 7.0 - 7.1 matrix: fast_finish: true cache: directories: - $HOME/.composer/cache before_script: - composer install --prefer-stable script: - mkdir -p build/logs - composer test - composer style after_script: - composer coverage <|file_sep|>current/.travi...
php: - 7.0 - 7.1 matrix: fast_finish: true cache: directories: - $HOME/.composer/cache before_script: - composer install --prefer-dist script: - mkdir -p build/logs - composer test - composer style after_script: - composer coverage
<|file_sep|>original/.travis.yml php: - 7.0 - 7.1 matrix: fast_finish: true cache: directories: - $HOME/.composer/cache before_script: - composer install --prefer-stable script: - mkdir -p build/logs - composer test - composer style after_script: - composer coverage <|file_sep|>current/.travi...
3baef26ab66ccce83291cf8c0fe8a372536edaad
.travis.yml
.travis.yml
YAML
<|file_sep|>examples/pltparser.py.diff original: updated: <|file_sep|>examples/pltparser.py.diff original: pos[cmd.name] = (-cmd.x, cmd.y) updated: pos[cmd.name] = (cmd.x, cmd.y) <|file_sep|>original/examples/pltparser.py pos = {} ele = {} for segment in plt: prev = None ...
ele = {} for segment in plt: prev = None for cmd in segment: pos[cmd.name] = (cmd.x, cmd.y) ele[cmd.name] = cmd.z if not prev or cmd.cmd == 'M': prev = cmd # move continue g.add_edge(prev.name, cmd.name) ...
<|file_sep|>examples/pltparser.py.diff original: updated: <|file_sep|>examples/pltparser.py.diff original: pos[cmd.name] = (-cmd.x, cmd.y) updated: pos[cmd.name] = (cmd.x, cmd.y) <|file_sep|>original/examples/pltparser.py pos = {} ele = {} for segment in plt: prev = None ...
978b812c9db8c11098aa38b7c630a61cac5574b8
examples/pltparser.py
examples/pltparser.py
Python
<|file_sep|>original/package.json "author": "kahnjw", "license": "MIT", "bugs": { "url": "https://github.com/kahnjw/stompscreen/issues" }, "homepage": "https://github.com/kahnjw/stompscreen", "devDependencies": { "mocha": "~1.21.4", "karma-mocha": "~0.1.9", "gulp": "~3.8.8", "browserify"...
"license": "MIT", "bugs": { "url": "https://github.com/kahnjw/stompscreen/issues" }, "homepage": "https://github.com/kahnjw/stompscreen", "devDependencies": { "mocha": "~1.21.4", "karma-mocha": "~0.1.9", "gulp": "~3.8.8", "browserify": "~5.12.0", "karma-browserifast": "~0.7.0", "ka...
<|file_sep|>original/package.json "author": "kahnjw", "license": "MIT", "bugs": { "url": "https://github.com/kahnjw/stompscreen/issues" }, "homepage": "https://github.com/kahnjw/stompscreen", "devDependencies": { "mocha": "~1.21.4", "karma-mocha": "~0.1.9", "gulp": "~3.8.8", "browserify"...
58e9fd862b5dcfd55e584b87b8f4e348f24dd681
package.json
package.json
JSON
<|file_sep|>bastion/distribute-docker-image.sh.diff original: cat | pv | > $IMAGE updated: cat > $IMAGE <|file_sep|>bastion/distribute-docker-image.sh.diff original: for node in $(cat $HOME/address_nodes): updated: for node in $(cat $HOME/address_nodes) <|file_sep|>original/bastion/distribute-docker-image.sh #!/bin/...
#!/bin/bash #usage: distribute-docker-image.sh <docker-image> <bastion> <fuzzvm1> <fuzzvm2> ... #example: docker save <image> | ssh bastion "./distribute-docker-image.sh" echo "Saving image to bastion." IMAGE="default-image.tar" cat > $IMAGE for node in $(cat $HOME/address_nodes) do echo "FuzzVM: $node" ...
<|file_sep|>bastion/distribute-docker-image.sh.diff original: cat | pv | > $IMAGE updated: cat > $IMAGE <|file_sep|>bastion/distribute-docker-image.sh.diff original: for node in $(cat $HOME/address_nodes): updated: for node in $(cat $HOME/address_nodes) <|file_sep|>original/bastion/distribute-docker-image.sh #!/bin/...
8c4ed21cc1049f4e1aac59518764347cafdf07e6
bastion/distribute-docker-image.sh
bastion/distribute-docker-image.sh
Shell
<|file_sep|>original/tests/test_validator.py import pytest from web_test_base import * class TestIATIValidator(WebTestBase): requests_to_load = { 'IATI Validator': { 'url': 'http://validator.iatistandard.org/' } } def test_contains_links(self, loaded_request): """ ...
requests_to_load = { 'IATI Validator': { 'url': 'http://validator.iatistandard.org/' } } def test_contains_links(self, loaded_request): """ Test that each page contains links to the defined URLs. """ result = utility.get_links_from_page(loaded_req...
<|file_sep|>original/tests/test_validator.py import pytest from web_test_base import * class TestIATIValidator(WebTestBase): requests_to_load = { 'IATI Validator': { 'url': 'http://validator.iatistandard.org/' } } def test_contains_links(self, loaded_request): """ ...
43edc7a519cb2e7c49a112f816c5192908ac7e6b
tests/test_validator.py
tests/test_validator.py
Python
<|file_sep|>original/metadata.json { "name": "jaydub-resource_factory", "version": "1.1.0", "author": "John Morton", "license": "Apache-2.0", "summary": "A means to create and configure resources from Hiera", "source": "https://github.com/jaydub/resource_factory", "project_url": "https://git...
{ "name": "jaydub-resource_factory", "version": "1.1.0", "author": "John Morton", "license": "Apache-2.0", "summary": "A means to create and configure resources from Hiera", "source": "https://github.com/jaydub/resource_factory", "project_url": "https://github.com/jaydub/resource_factory", ...
<|file_sep|>original/metadata.json { "name": "jaydub-resource_factory", "version": "1.1.0", "author": "John Morton", "license": "Apache-2.0", "summary": "A means to create and configure resources from Hiera", "source": "https://github.com/jaydub/resource_factory", "project_url": "https://git...
c37aafae2c3c46a57dbeb8e30976cdefe4f18fd4
metadata.json
metadata.json
JSON
<|file_sep|>original/src/helpers.js const moment = require('moment-timezone'); const chalk = require('chalk'); exports.printMessage = function (message) { console.log(message); }; exports.printError = function (message) { const errorOutput = chalk`{bgRed Error} ${message}`; console.log(errorOutput); }; export...
exports.printMessage = function (message) { console.log(message); }; exports.printError = function (message) { const errorOutput = chalk`{bgRed Error} ${message}`; console.log(errorOutput); }; exports.isValidTimezone = function (timezone) { return moment.tz.zone(timezone); }; exports.convertTimezone = funct...
<|file_sep|>original/src/helpers.js const moment = require('moment-timezone'); const chalk = require('chalk'); exports.printMessage = function (message) { console.log(message); }; exports.printError = function (message) { const errorOutput = chalk`{bgRed Error} ${message}`; console.log(errorOutput); }; export...
3ceb8ea7eede62614d665f986d7954cedab71352
src/helpers.js
src/helpers.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli notifications: email: recipients: - robin@vizicities.com on_success: always on_failure: always irc: "chat.eu.freenode.net#vizicities" <|file_sep|>current/.travis.yml language: node_j...
language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli notifications: irc: "chat.eu.freenode.net#vizicities"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_install: - npm install -g grunt-cli notifications: email: recipients: - robin@vizicities.com on_success: always on_failure: always irc: "chat.eu.freenode.net#vizicities" <|file_sep|>current/.travis.yml language: node_j...
7a6db7b11fecb82ac0fde59c1be04d2c6093d00b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md This is a very basic puush.me client for linux written in golang. **gpuush** can either use imagemagick's import command to select an area/window to upload or upload a file from command line. The protocol has been reverse engineering in order to upload files without the official client...
----- Once compiled (via `go build` or `go install`), the executable should be placed in /usr/local/bin/ gpuush [filename] Upload any file to puush.me gpuush -screenshot Take a screenshot (for use with hotkeys) gpuush -background Stay open as a tray icon The icon file is read from /usr/local/sh...
<|file_sep|>original/README.md This is a very basic puush.me client for linux written in golang. **gpuush** can either use imagemagick's import command to select an area/window to upload or upload a file from command line. The protocol has been reverse engineering in order to upload files without the official client...
adc886313ce5b308ab72982be1fdbba9681ae7f3
README.md
README.md
Markdown
<|file_sep|>original/core/legacy/src/main/java/imagej/legacy/patches/FunctionsMethods.java package imagej.legacy.patches; public class FunctionsMethods { public static int InsideBatchDrawing = 0; public static void beforeBatchDraw() { InsideBatchDrawing++; } public static void afterBatchDraw() { InsideBat...
// TODO clean up package imagej.legacy.patches; public class FunctionsMethods { public static int InsideBatchDrawing = 0; public static void beforeBatchDraw() { InsideBatchDrawing++; } public static void afterBatchDraw() { InsideBatchDrawing--; } }
<|file_sep|>original/core/legacy/src/main/java/imagej/legacy/patches/FunctionsMethods.java package imagej.legacy.patches; public class FunctionsMethods { public static int InsideBatchDrawing = 0; public static void beforeBatchDraw() { InsideBatchDrawing++; } public static void afterBatchDraw() { InsideBat...
bd4724fccc3f40d540f8c9c292eb22e4c700d2c5
core/legacy/src/main/java/imagej/legacy/patches/FunctionsMethods.java
core/legacy/src/main/java/imagej/legacy/patches/FunctionsMethods.java
Java
<|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - tip env: global: - secure: "YSwtFrMqh4oUvdSQTXBXMHHLWeQgyNEL23ChIZwU0nuDGIcQZ65kipu0PzefedtUbK4ieC065YCUi4UDDh6gPotB/Wu1pnYg3dyQ7rFvhaVYAAUEpajAdXZhlx+7+J8a4FZMeC/kqiahxoRgLbthF9019ouIqhGB9zHKI6/yZwc=" install: - make prepare script: mak...
language: go go: - 1.1 - 1.2 - 1.2.1 - tip env: global: - secure: "YSwtFrMqh4oUvdSQTXBXMHHLWeQgyNEL23ChIZwU0nuDGIcQZ65kipu0PzefedtUbK4ieC065YCUi4UDDh6gPotB/Wu1pnYg3dyQ7rFvhaVYAAUEpajAdXZhlx+7+J8a4FZMeC/kqiahxoRgLbthF9019ouIqhGB9zHKI6/yZwc=" install: - make prepare script: make travis matrix: a...
<|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - tip env: global: - secure: "YSwtFrMqh4oUvdSQTXBXMHHLWeQgyNEL23ChIZwU0nuDGIcQZ65kipu0PzefedtUbK4ieC065YCUi4UDDh6gPotB/Wu1pnYg3dyQ7rFvhaVYAAUEpajAdXZhlx+7+J8a4FZMeC/kqiahxoRgLbthF9019ouIqhGB9zHKI6/yZwc=" install: - make prepare script: mak...
e08e8716ae12c57643c18e90645bc0644cbedc58
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json } ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": ...
} ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": { "grunt": ">=0.4.0" }, "k...
<|file_sep|>original/package.json } ], "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "^0.9.2", "grunt-contrib-clean": "^0.5.0", "grunt-contrib-nodeunit": "^0.3.3", "grunt": "~0.4.5" }, "peerDependencies": ...
3d4ba8075b392fb729bccddefa022d76a5154b67
package.json
package.json
JSON
<|file_sep|>original/requirements-test.txt # Testing coverage==5.1 # Test coverage flake8==3.8.3 # Python linting mypy==0.770 # Type checking <|file_sep|>current/requirements-test.txt # Testing coverage==5.1 # Test coverage flake8==3.8.3 ...
# Testing coverage==5.1 # Test coverage flake8==3.8.3 # Python linting mypy==0.780 # Type checking
<|file_sep|>original/requirements-test.txt # Testing coverage==5.1 # Test coverage flake8==3.8.3 # Python linting mypy==0.770 # Type checking <|file_sep|>current/requirements-test.txt # Testing coverage==5.1 # Test coverage flake8==3.8.3 ...
fc84eacde612666fe58e32af8e0a9d3ce7d146d3
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>original/_includes/_scripts.html <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script>window.jQuery || document.write('<script src="{{ site.url }...
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/s...
<|file_sep|>original/_includes/_scripts.html <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script>window.jQuery || document.write('<script src="{{ site.url }...
7c16dd621226021450ec6c45436e893615bdbc52
_includes/_scripts.html
_includes/_scripts.html
HTML
<|file_sep|>original/ftplugin/coffee.vim " URL: http://github.com/kchmck/vim-coffee-script " License: WTFPL if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t formatoptions+=croql setlocal comments=f:###,:# setlocal commentstring=#\ %s " Fold by indentation, but ...
" URL: http://github.com/kchmck/vim-coffee-script " License: WTFPL if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t formatoptions+=croql setlocal comments=f-1:###,:# setlocal commentstring=#\ %s " Fold by indentation, but only if enabled. setlocal foldmethod=in...
<|file_sep|>original/ftplugin/coffee.vim " URL: http://github.com/kchmck/vim-coffee-script " License: WTFPL if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t formatoptions+=croql setlocal comments=f:###,:# setlocal commentstring=#\ %s " Fold by indentation, but ...
bec40b3f30deaacb2577925a4c679b95ea92c556
ftplugin/coffee.vim
ftplugin/coffee.vim
VimL
<|file_sep|>original/phpcs.xml <|file_sep|>current/phpcs.xml <|file_sep|>updated/phpcs.xml
<?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd"> <file>lib</file> <file>tests</file> <arg name="basepath" value="." /> <arg name="colors" /> <arg name="parallel" value="75" /> <arg value="np" /...
<|file_sep|>original/phpcs.xml <|file_sep|>current/phpcs.xml <|file_sep|>updated/phpcs.xml <?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd"> <file>lib</file> <file>tests</file> <arg name="basepath" value=...
1f4a9afb3d22101f6b2d2a4077f372d9ad04ece3
phpcs.xml
phpcs.xml
XML
<|file_sep|>original/source/bark/__init__.py #: function. configurators = { 'classic': classic.configure } def configure(configurator='classic', *args, **kw): '''Configure Bark using *configurator*. Will call registered configuration function matching the *configurator* name with *args, and **kw. ...
#: function. configurators = { 'classic': classic.configure } def configure(configurator='classic', *args, **kw): '''Configure Bark using *configurator*. Will call registered configuration function matching the *configurator* name with *args*, and *kw*. ''' configurator = configurators.get(c...
<|file_sep|>original/source/bark/__init__.py #: function. configurators = { 'classic': classic.configure } def configure(configurator='classic', *args, **kw): '''Configure Bark using *configurator*. Will call registered configuration function matching the *configurator* name with *args, and **kw. ...
2b1e61d5e24e31598a213614a6f78270474a3e60
source/bark/__init__.py
source/bark/__init__.py
Python
<|file_sep|>original/.github/workflows/branch-merge.yml <|file_sep|>current/.github/workflows/branch-merge.yml <|file_sep|>updated/.github/workflows/branch-merge.yml
name: Merge master into feature/lsp-engine on: schedule: - cron: '0 */3 * * *' jobs: Create-Merge-PR: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: ref: feature/lsp-engine - name: Get changes from master run: | git remote add upstream ht...
<|file_sep|>original/.github/workflows/branch-merge.yml <|file_sep|>current/.github/workflows/branch-merge.yml <|file_sep|>updated/.github/workflows/branch-merge.yml name: Merge master into feature/lsp-engine on: schedule: - cron: '0 */3 * * *' jobs: Create-Merge-PR: runs-on: ubuntu-latest steps: ...
97a0298e01d49a1f708d6cc47c2c1fb4dc795b47
.github/workflows/branch-merge.yml
.github/workflows/branch-merge.yml
YAML
<|file_sep|>original/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb <|file_sep|>current/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb <|file_sep|>updated/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb
class MigrateShipmentFeesToShipments < ActiveRecord::Migration def up # Shipping fee adjustments currently have the order as the `adjustable` and the shipment as # the `source`. Both `source` and `adjustable` will now be the shipment. The `originator` is # the shipping method, and this is unchanged. S...
<|file_sep|>original/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb <|file_sep|>current/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb <|file_sep|>updated/db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb class MigrateShipmentFeesToShipments < ActiveRecord::Migration ...
65bcf835529fc5f8535642492c6f34b71b26b8da
db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb
db/migrate/20210211115125_migrate_shipment_fees_to_shipments.rb
Ruby
<|file_sep|>original/ci/geminstaller.yml --- gems: - name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.7 - name: mysql #version: >= 2.7 version: = 2.7 - name: nokogiri version: >= 1.3.3 - name: pg version: >= 0.8.0...
--- gems: - name: erubis version: >= 2.6.5 - name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.7 - name: mysql #version: >= 2.7 version: = 2.7 - name: nokogiri version: >= 1.3.3 - name: pg version: >= 0.8.0 - nam...
<|file_sep|>original/ci/geminstaller.yml --- gems: - name: geminstaller version: >= 0.4.3 - name: fcgi version: >= 0.8.7 - name: memcache-client version: >= 1.5.0 - name: mocha version: >= 0.9.7 - name: mysql #version: >= 2.7 version: = 2.7 - name: nokogiri version: >= 1.3.3 - name: pg version: >= 0.8.0...
4552dabba7e95ca3805747c469858328a4929857
ci/geminstaller.yml
ci/geminstaller.yml
YAML
<|file_sep|>original/static/locales/cs/messages.properties <|file_sep|>current/static/locales/cs/messages.properties <|file_sep|>updated/static/locales/cs/messages.properties
# Title tag # Navigation navigation-title=Pontoon – úvod navigation-what=Co navigation-how=Jak navigation-more=Více navigation-developers=Vývojáři # Header upper-title=Pontoon od Mozilly headline-1=Lokalizujte web. headline-2=Přímo na místě. call-to-action=Dozvědět se více # What what-title=Co je Pontoon? context=Uv...
<|file_sep|>original/static/locales/cs/messages.properties <|file_sep|>current/static/locales/cs/messages.properties <|file_sep|>updated/static/locales/cs/messages.properties # Title tag # Navigation navigation-title=Pontoon – úvod navigation-what=Co navigation-how=Jak navigation-more=Více navigation-developers=Vývo...
fc873112ee356e0afad3b250867baae7deae4d71
static/locales/cs/messages.properties
static/locales/cs/messages.properties
INI
<|file_sep|>test/ios/getGroup.spec.js.diff original: expect(group.children.length > 0).to.be.true; updated: expect(group.children.length > 0).to.be.true; // our test top-level Libraries has children <|file_sep|>test/ios/getGroup.spec.js.diff original: expect(group.children.length).to.equals(0); updated: ...
beforeEach(() => { project.parseSync(); }); it('should return a top-level group', () => { const group = getGroup(project, 'Libraries'); expect(group.children.length > 0).to.be.true; // our test top-level Libraries has children expect(group.name).to.equals('Libraries'); }); it('should return ...
<|file_sep|>test/ios/getGroup.spec.js.diff original: expect(group.children.length > 0).to.be.true; updated: expect(group.children.length > 0).to.be.true; // our test top-level Libraries has children <|file_sep|>test/ios/getGroup.spec.js.diff original: expect(group.children.length).to.equals(0); updated: ...
083ac192d285dd043930c5a2a7a87159b42d9c9c
test/ios/getGroup.spec.js
test/ios/getGroup.spec.js
JavaScript
<|file_sep|>metadata/site.leos.setter.yml.diff original: updated: - versionName: 0.1.6 versionCode: 6 commit: 0.1.6 subdir: app gradle: - yes <|file_sep|>original/metadata/site.leos.setter.yml SourceCode: https://github.com/scubajeff/Setter IssueTracker: https://github.com/scubajeff/Setter/iss...
Repo: https://github.com/scubajeff/Setter Builds: - versionName: 0.1.5 versionCode: 5 commit: 0.1.5 subdir: app gradle: - yes - versionName: 0.1.6 versionCode: 6 commit: 0.1.6 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0....
<|file_sep|>metadata/site.leos.setter.yml.diff original: updated: - versionName: 0.1.6 versionCode: 6 commit: 0.1.6 subdir: app gradle: - yes <|file_sep|>original/metadata/site.leos.setter.yml SourceCode: https://github.com/scubajeff/Setter IssueTracker: https://github.com/scubajeff/Setter/iss...
1c67d7b92ba74be74cee4ebae969e27b5150746e
metadata/site.leos.setter.yml
metadata/site.leos.setter.yml
YAML
<|file_sep|>original/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py <|file_sep|>current/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py <|file_sep|>updated/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'Simple.created' db.alter_column('feedback_simple', 'created', self.gf('django.db.models.f...
<|file_sep|>original/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py <|file_sep|>current/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py <|file_sep|>updated/fjord/feedback/migrations/0003_auto__chg_field_simple_created.py # -*- coding: utf-8 -*- import datetime from south.db import d...
2c651b7083ec368ebf226364a1a1aba5f5ec147e
fjord/feedback/migrations/0003_auto__chg_field_simple_created.py
fjord/feedback/migrations/0003_auto__chg_field_simple_created.py
Python
<|file_sep|>original/backbone-collection-search-ajax.js that._searchResults = collection; // Fire search event with new collection that.trigger('search', collection ); } }); }, //@ Get recent search query getSearchQuery: function() { return this.getSearchR...
that._searchResults = collection; // Fire search event with new collection that.trigger('search', collection ); } }); }, //@ Get recent search query getSearchQuery: function() { return this.getSearchResults() && this.getSearchResults().getSearchQuery(); ...
<|file_sep|>original/backbone-collection-search-ajax.js that._searchResults = collection; // Fire search event with new collection that.trigger('search', collection ); } }); }, //@ Get recent search query getSearchQuery: function() { return this.getSearchR...
6b8ad9f04dfcae7fa830f30e82a52590c231a00b
backbone-collection-search-ajax.js
backbone-collection-search-ajax.js
JavaScript
<|file_sep|>app/services/interventions/costs/input_service.rb.diff original: if incoming_parcel purchase_item = incoming_parcel.purchase_invoice_item purchase_item ||= incoming_parcel.purchase_order_item updated: # TODO: Check if incoming_parcel.purchase_invoice_item is the last purc...
def perform(quantity: 0, unit_name: nil) incoming_parcel = @product.incoming_parcel_item options = { quantity: quantity, unit_name: unit_name } # TODO: Check if incoming_parcel.purchase_invoice_item is the last purchase_invoice of the product. # if incoming_parcel # purchas...
<|file_sep|>app/services/interventions/costs/input_service.rb.diff original: if incoming_parcel purchase_item = incoming_parcel.purchase_invoice_item purchase_item ||= incoming_parcel.purchase_order_item updated: # TODO: Check if incoming_parcel.purchase_invoice_item is the last purc...
ca2dfacde9373e5408a947766bec29535c6cc9de
app/services/interventions/costs/input_service.rb
app/services/interventions/costs/input_service.rb
Ruby
<|file_sep|>Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua.diff original: -- SKIN:Bang('!ShowMeter', 'Core' .. i .. 'TempString') updated: <|file_sep|>Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua.diff original: -- SKIN:Bang('!HideMeterGroup', 'CoreTemps') updated: <|file_sep|>S...
SKIN:Bang('!UpdateMeasureGroup', 'CoreTemps') SKIN:Bang('!UpdateMeterGroup', 'CoreTemps') end function ToggleVoltages(threads, mode) if mode then for i=1,32 do if (i <= threads) then SKIN:Bang('!EnableMeasure', 'MeasureCpuVoltageCore' .. i) end end else SKIN:Bang('!DisableMeas...
<|file_sep|>Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua.diff original: -- SKIN:Bang('!ShowMeter', 'Core' .. i .. 'TempString') updated: <|file_sep|>Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua.diff original: -- SKIN:Bang('!HideMeterGroup', 'CoreTemps') updated: <|file_sep|>S...
629d265faf79091b53b4f0589431767c60652e25
Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua
Skins/ModernGadgets/@Resources/Scripts/Config/CpuConfig.lua
Lua
<|file_sep|>original/lib/mtrack.rb require "mtrack/module_mixin" require "mtrack/version" Module.include MTrack::ModuleMixin <|file_sep|>current/lib/mtrack.rb require "mtrack/module_mixin" require "mtrack/version" Module.include MTrack::ModuleMixin <|file_sep|>updated/lib/mtrack.rb
require "mtrack/module_mixin" require "mtrack/version" Module.module_eval { include MTrack::ModuleMixin }
<|file_sep|>original/lib/mtrack.rb require "mtrack/module_mixin" require "mtrack/version" Module.include MTrack::ModuleMixin <|file_sep|>current/lib/mtrack.rb require "mtrack/module_mixin" require "mtrack/version" Module.include MTrack::ModuleMixin <|file_sep|>updated/lib/mtrack.rb require "mtrack/module_mixin" requi...
44b697c311f8066dda8e73c1608b8e0d1cb0f798
lib/mtrack.rb
lib/mtrack.rb
Ruby
<|file_sep|>.travis.yml.diff original: arch: - amd64le - ppc64le updated: <|file_sep|>original/.travis.yml arch: - amd64le - ppc64le language: go go: - "1.10.x" - "1.11.x" - "1.12.x" - "master" <|file_sep|>current/.travis.yml language: go go: - "1.10.x" - "1.11.x" - "1.12.x" - "master" <|file...
language: go go: - "1.10.x" - "1.11.x" - "1.12.x" - "master" arch: - amd64 - arm64 - ppc64le
<|file_sep|>.travis.yml.diff original: arch: - amd64le - ppc64le updated: <|file_sep|>original/.travis.yml arch: - amd64le - ppc64le language: go go: - "1.10.x" - "1.11.x" - "1.12.x" - "master" <|file_sep|>current/.travis.yml language: go go: - "1.10.x" - "1.11.x" - "1.12.x" - "master" <|file...
7a0035301fcf3b5b9709b9bc5dc9b46136f9ed65
.travis.yml
.travis.yml
YAML
<|file_sep|>app/client/components/Sidebar/Sidebar.js.diff original: renderLink (link) { updated: renderLink (link, index) { <|file_sep|>original/app/client/components/Sidebar/Sidebar.js { text: 'Globals', to: '/admin/globals' }, { text: 'Categories', to: '/admin/categories' }, { text: 'Asset...
{ text: 'Globals', to: '/admin/globals' }, { text: 'Categories', to: '/admin/categories' }, { text: 'Assets', to: '/admin/assets' }, { text: 'Settings', to: '/admin/settings' } ] } } renderLink (link, index) { return ( <li key={index}> <Link className={s....
<|file_sep|>app/client/components/Sidebar/Sidebar.js.diff original: renderLink (link) { updated: renderLink (link, index) { <|file_sep|>original/app/client/components/Sidebar/Sidebar.js { text: 'Globals', to: '/admin/globals' }, { text: 'Categories', to: '/admin/categories' }, { text: 'Asset...
45731fa369103e32b6b02d6ed5e99997def24e08
app/client/components/Sidebar/Sidebar.js
app/client/components/Sidebar/Sidebar.js
JavaScript
<|file_sep|>original/command/nc/README.md # nc (netcat) Listen for or launch TCP/UDP connections. ## Port scan Check if localhost port 80 is open: nc -vz 127.0.0.1 80 Nothing will be shown without verbose output (`-v`). ## Simple TCP connection In one terminal, start a server on port 1337: nc -l 1337 In an...
# nc (netcat) Listen for or launch TCP/UDP connections. Busybox includes `awk`, thus Alpine Linux does. ## Port scan Check if localhost port 80 is open: nc -vz 127.0.0.1 80 Nothing will be shown without verbose output (`-v`). ## Simple TCP connection In one terminal, start a server on port 1337: nc -l 1337
<|file_sep|>original/command/nc/README.md # nc (netcat) Listen for or launch TCP/UDP connections. ## Port scan Check if localhost port 80 is open: nc -vz 127.0.0.1 80 Nothing will be shown without verbose output (`-v`). ## Simple TCP connection In one terminal, start a server on port 1337: nc -l 1337 In an...
7b60775e10065cebf165dbc6937467787c8ce2ee
command/nc/README.md
command/nc/README.md
Markdown
<|file_sep|>js/plugin.coffee.diff original: # Version: 1.0 alpha 1.0 updated: # Version: 1.0 Stable <|file_sep|>original/js/plugin.coffee # # CoffeeScript jQuery Plugin Boilerplate # By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @mattaussaguel # Version: 1.0 alpha 1.0 # Updated: June 27th, 2011 # jQuery -> ...
# # CoffeeScript jQuery Plugin Boilerplate # By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @mattaussaguel # Version: 1.0 Stable # Updated: June 27th, 2011 # More info: http://minijs.com/ # jQuery -> $.pluginName = (element, options) -> # default plugin settings @defaults = { ...
<|file_sep|>js/plugin.coffee.diff original: # Version: 1.0 alpha 1.0 updated: # Version: 1.0 Stable <|file_sep|>original/js/plugin.coffee # # CoffeeScript jQuery Plugin Boilerplate # By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @mattaussaguel # Version: 1.0 alpha 1.0 # Updated: June 27th, 2011 # jQuery -> ...
c9881970e9eacea8b222dbddbbe6e58dd8e27867
js/plugin.coffee
js/plugin.coffee
CoffeeScript
<|file_sep|>original/nhs/raw/urls.py """ URLs for the Raw data dumps. """ from django.conf.urls.defaults import patterns, url from nhs.raw.views import Ratio, Drug urlpatterns = patterns( '', url(r'/ratio/(?P<bucket1>[0-9A-Z]+)/(?P<bucket2>[0-9A-Z]+)/ratio.zip$', Ratio.as_view(), name='rawcompare'), ...
""" URLs for the Raw data dumps. """ from django.conf.urls.defaults import patterns, url from nhs.raw.views import Ratio, Drug urlpatterns = patterns( '', url(r'/ratio/(?P<bucket1>[0-9A-Z]+)/(?P<bucket2>[0-9A-Z]+)/ratio.zip$', Ratio.as_view(), name='rawcompare'), url(r'/drug/(?P<bnf_code>[0-9A-Z...
<|file_sep|>original/nhs/raw/urls.py """ URLs for the Raw data dumps. """ from django.conf.urls.defaults import patterns, url from nhs.raw.views import Ratio, Drug urlpatterns = patterns( '', url(r'/ratio/(?P<bucket1>[0-9A-Z]+)/(?P<bucket2>[0-9A-Z]+)/ratio.zip$', Ratio.as_view(), name='rawcompare'), ...
7cd69c1a4b8cc221bbbb40d5b2a1a53a835b11e9
nhs/raw/urls.py
nhs/raw/urls.py
Python
<|file_sep|>original/db/migrate/20160727072144_add_not_null_to_active.rb <|file_sep|>current/db/migrate/20160727072144_add_not_null_to_active.rb <|file_sep|>updated/db/migrate/20160727072144_add_not_null_to_active.rb
class AddNotNullToActive < ActiveRecord::Migration def change Sponsor.update_all(active: false) change_column :sponsors, :active, :boolean, null: false, default: false end end
<|file_sep|>original/db/migrate/20160727072144_add_not_null_to_active.rb <|file_sep|>current/db/migrate/20160727072144_add_not_null_to_active.rb <|file_sep|>updated/db/migrate/20160727072144_add_not_null_to_active.rb class AddNotNullToActive < ActiveRecord::Migration def change Sponsor.update_all(active: false)...
ff7280366c49725e42d45cdaa08b997cb1efef2a
db/migrate/20160727072144_add_not_null_to_active.rb
db/migrate/20160727072144_add_not_null_to_active.rb
Ruby
<|file_sep|>original/README.md ## How do I use this? For installation instructions head to the official documentation: * [Installation](https://www.getlektor.com/docs/installation/) * [Quickstart](https://www.getlektor.com/docs/quickstart/) ## Want to develop on Lektor? This gets you started: ``` $ git clone https...
For installation instructions head to the official documentation: * [Installation](https://www.getlektor.com/docs/installation/) * [Quickstart](https://www.getlektor.com/docs/quickstart/) ## Want to develop on Lektor? This gets you started: ``` $ git clone https://github.com/lektor/lektor $ cd lektor $ virtualenv ...
<|file_sep|>original/README.md ## How do I use this? For installation instructions head to the official documentation: * [Installation](https://www.getlektor.com/docs/installation/) * [Quickstart](https://www.getlektor.com/docs/quickstart/) ## Want to develop on Lektor? This gets you started: ``` $ git clone https...
fee3a88d996b3370294575272be1d91b2be2f929
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml sudo: false language: php php: - 7.3 - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 install: - composer self-update - composer install script: - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text --report-useless-tests - ./vendor/bin/phpcs --standard=phpcs.xml src -s - ./vend...
sudo: false language: php php: - 7.3 - 7.2 - 7.1 - 7.0 - 5.6 install: - composer self-update - composer install script: - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text --report-useless-tests - ./vendor/bin/phpcs --standard=phpcs.xml src -s - ./vendor/bin/phpcs --standard=phpcs.xml tests -...
<|file_sep|>original/.travis.yml sudo: false language: php php: - 7.3 - 7.2 - 7.1 - 7.0 - 5.6 - 5.5 install: - composer self-update - composer install script: - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text --report-useless-tests - ./vendor/bin/phpcs --standard=phpcs.xml src -s - ./vend...
a9c6f4fa370f219133d2146cfbe0444a05e6f101
.travis.yml
.travis.yml
YAML
<|file_sep|>original/numba/tests/test_floatsyms.py <|file_sep|>current/numba/tests/test_floatsyms.py <|file_sep|>updated/numba/tests/test_floatsyms.py
from __future__ import print_function import numba.unittest_support as unittest from numba.compiler import compile_isolated from numba import types class TestFloatSymbols(unittest.TestCase): """ Test ftol symbols on windows """ def _test_template(self, realty, intty): def cast(x): ...
<|file_sep|>original/numba/tests/test_floatsyms.py <|file_sep|>current/numba/tests/test_floatsyms.py <|file_sep|>updated/numba/tests/test_floatsyms.py from __future__ import print_function import numba.unittest_support as unittest from numba.compiler import compile_isolated from numba import types class TestFloatSy...
d9b4b0d913304b19365854b0ffceab179237d8f8
numba/tests/test_floatsyms.py
numba/tests/test_floatsyms.py
Python
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 after_success: - mvn clean cobertura:cobertura coveralls:cobertura sudo: false cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 after_success: - mvn clean cobertu...
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 after_success: - mvn clean cobertura:cobertura coveralls:cobertura sudo: false cache: directories: - $HOME/.m2
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 after_success: - mvn clean cobertura:cobertura coveralls:cobertura sudo: false cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 after_success: - mvn clean cobertu...
878d13ab5ede8ad2bc9c77dfddd5f66deb82b332
.travis.yml
.travis.yml
YAML
<|file_sep|>planning/simulation/interactable_geometry.cc.diff original: updated: #include <algorithm> <|file_sep|>planning/simulation/interactable_geometry.cc.diff original: updated: std::sort(intersections.begin(), intersections.end(), [](const RayIntersection& a, const RayIntersection& b) -> bool { ...
} std::sort(intersections.begin(), intersections.end(), [](const RayIntersection& a, const RayIntersection& b) -> bool { return a.distance < b.distance; }); return intersections; } std::vector<BoundingBoxIntersection> InteractableGeometry::all_intersections( const Inter...
<|file_sep|>planning/simulation/interactable_geometry.cc.diff original: updated: #include <algorithm> <|file_sep|>planning/simulation/interactable_geometry.cc.diff original: updated: std::sort(intersections.begin(), intersections.end(), [](const RayIntersection& a, const RayIntersection& b) -> bool { ...
0ae7164962c9a06c0ae0085197eb8720331a5410
planning/simulation/interactable_geometry.cc
planning/simulation/interactable_geometry.cc
C++
<|file_sep|>lib/dm-core/property/object.rb.diff original: Marshal.dump(value) updated: [ Marshal.dump(value) ].pack('m') <|file_sep|>original/lib/dm-core/property/object.rb else Marshal.dump(value) end end # @api semipublic def load(value) if @typ...
else [ Marshal.dump(value) ].pack('m') end end # @api semipublic def load(value) if @type return @type.load(value, self) end case value when ::String Marshal.load(value.unpack('m').first) when ::Object ...
<|file_sep|>lib/dm-core/property/object.rb.diff original: Marshal.dump(value) updated: [ Marshal.dump(value) ].pack('m') <|file_sep|>original/lib/dm-core/property/object.rb else Marshal.dump(value) end end # @api semipublic def load(value) if @typ...
c70da370ea4afacf984555e3f1816e0ae8f8685e
lib/dm-core/property/object.rb
lib/dm-core/property/object.rb
Ruby
<|file_sep|>original/.pre-commit-config.yaml hooks: - id: black language_version: python3 - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.770 hooks: - id: mypy - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks r...
hooks: - id: mypy - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: check-toml - id: check-yaml - repo: https://github.com/pre-commit/mirrors-isort rev: v5.4.2 hooks: - id: isort additional_d...
<|file_sep|>original/.pre-commit-config.yaml hooks: - id: black language_version: python3 - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.770 hooks: - id: mypy - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks r...
2711d729364238f18b8e9200f9538bb7a03b6581
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>original/config/.symbols/ChangePasswordController.json <|file_sep|>current/config/.symbols/ChangePasswordController.json <|file_sep|>updated/config/.symbols/ChangePasswordController.json
{ "properties": [ { "modifiers": [], "name": "oldPassword", "visibility": "PUBLIC", "references": [], "location": { "column": 19, "line": 7 }, "type": "String" }, { ...
<|file_sep|>original/config/.symbols/ChangePasswordController.json <|file_sep|>current/config/.symbols/ChangePasswordController.json <|file_sep|>updated/config/.symbols/ChangePasswordController.json { "properties": [ { "modifiers": [], "name": "oldPassword", "visibili...
1f6978cbcda045e00797e10ea0ff0189e79a115d
config/.symbols/ChangePasswordController.json
config/.symbols/ChangePasswordController.json
JSON
<|file_sep|>original/.github/workflows/pythonpackage.yml steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m ...
steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirem...
<|file_sep|>original/.github/workflows/pythonpackage.yml steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m ...
3fdcb41d6849927b77694b6ca58130513fd8e3a0
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
YAML
<|file_sep|>original/src/loader.php function loader(array $attr, array $item) { $item[$attr['id']] = cast($attr, $item[$attr['id']] ?? null); $callback = fqn('loader_' . $attr['type']); if (is_callable($callback)) { return $callback($attr, $item); } // Temporary if ($attr['multiple']) ...
function loader(array $attr, array $item) { $item[$attr['id']] = cast($attr, $item[$attr['id']] ?? null); $callback = fqn('loader_' . $attr['type']); if (is_callable($callback)) { return $callback($attr, $item); } // Temporary if ($attr['backend'] === 'json') { return loader_js...
<|file_sep|>original/src/loader.php function loader(array $attr, array $item) { $item[$attr['id']] = cast($attr, $item[$attr['id']] ?? null); $callback = fqn('loader_' . $attr['type']); if (is_callable($callback)) { return $callback($attr, $item); } // Temporary if ($attr['multiple']) ...
167a3f4df4681764f94a0f04dbfa363cf5e597cd
src/loader.php
src/loader.php
PHP
<|file_sep|>source/views/settings/icon.js.diff original: import {View} from 'react-native' import {ButtonCell} from '../components/cells/button' import ReactNativeDynamicIcon from 'react-native-dynamic-icon' updated: import {View, Image, StyleSheet, Text} from 'react-native' import Icons from 'react-native-alternate-ic...
getIcon() { Icons.getIconName(name => this.setState(() => ({iconType: name}))) } render() { return ( <View> <Section header={'CHANGE YOUR APP ICON'} separatorInsetLeft={58}> {icons.map(val => ( <Cell key={val.title} onPress={() => this.setIc...
<|file_sep|>source/views/settings/icon.js.diff original: import {View} from 'react-native' import {ButtonCell} from '../components/cells/button' import ReactNativeDynamicIcon from 'react-native-dynamic-icon' updated: import {View, Image, StyleSheet, Text} from 'react-native' import Icons from 'react-native-alternate-ic...
8d0863df0ed12cdf5e51d95c0aa93b3c0542b69c
source/views/settings/icon.js
source/views/settings/icon.js
JavaScript
<|file_sep|>original/ci/appveyor_install.ps1 Write-Host $command $command_args Start-Process -FilePath $command -ArgumentList $command_args -Wait -Passthru } function InstallPrerequisites($work_dir, $install_dir) { $old_dir = $pwd cd $work_dir $msi = "dart-prerequisites.msi" $uri = "https://github.com/dar...
Write-Host $command $command_args Start-Process -FilePath $command -ArgumentList $command_args -Wait -Passthru } function InstallPrerequisites($work_dir, $install_dir) { $old_dir = $pwd cd $work_dir $msi = "dart-prerequisites.msi" $uri = "https://github.com/dartsim/dart-prerequisites-windows/raw/3e34167fd...
<|file_sep|>original/ci/appveyor_install.ps1 Write-Host $command $command_args Start-Process -FilePath $command -ArgumentList $command_args -Wait -Passthru } function InstallPrerequisites($work_dir, $install_dir) { $old_dir = $pwd cd $work_dir $msi = "dart-prerequisites.msi" $uri = "https://github.com/dar...
22f821c6743111d11ee6619bec185c5891ecf7f1
ci/appveyor_install.ps1
ci/appveyor_install.ps1
PowerShell
<|file_sep|>.travis.yml.diff original: - go get github.com/axw/gocov/gocov updated: <|file_sep|>.travis.yml.diff original: - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi updated: - go get github.com/golang/tools/cmd/cover <|file_sep|>original/.travis.yml sudo: false...
sudo: false language: go go: - 1.6 before_install: - go get github.com/mattn/goveralls - go get github.com/golang/tools/cmd/cover script: - make test - $HOME/gopath/bin/goveralls -service=travis-ci notifications: email: false
<|file_sep|>.travis.yml.diff original: - go get github.com/axw/gocov/gocov updated: <|file_sep|>.travis.yml.diff original: - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi updated: - go get github.com/golang/tools/cmd/cover <|file_sep|>original/.travis.yml sudo: false...
1cc67bf19e0a649fcd8d6a174512f7599424b6ab
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md ## Build Status [![Build Status](https://travis-ci.org/Tommy1199/AppConfigr.svg?branch=master)](https://travis-ci.org/Tommy1199/AppConfigr) <|file_sep|>current/README.md ## Build Status [![Build Status](https://travis-ci.org/Tommy1199/AppConfigr.svg?branch=master)](https://travis-ci.org...
## Build Status [![Build Status](https://travis-ci.org/Tommy1199/AppConfigr.svg?branch=master)](https://travis-ci.org/Tommy1199/AppConfigr) ## Prerequisites To use this library, Java 1.7 or higher is needed. ## Getting Started First create a new AppConfigr with one of the factory methods and the Builder. ´´´java ...
<|file_sep|>original/README.md ## Build Status [![Build Status](https://travis-ci.org/Tommy1199/AppConfigr.svg?branch=master)](https://travis-ci.org/Tommy1199/AppConfigr) <|file_sep|>current/README.md ## Build Status [![Build Status](https://travis-ci.org/Tommy1199/AppConfigr.svg?branch=master)](https://travis-ci.org...
ad9f3f35a6649f358db603ae74a3984210b1a09e
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml - pre-commit install-hooks script: - pre-commit run --all-files after_success: skip before_install: - sudo apt-get update -q - sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository...
- pre-commit install-hooks script: - pre-commit run --all-files after_success: skip before_install: - sudo apt-get update -q - sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libcairo2-dev install: ...
<|file_sep|>original/.travis.yml - pre-commit install-hooks script: - pre-commit run --all-files after_success: skip before_install: - sudo apt-get update -q - sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository...
7a0ed9023bfb365a2c68672b9b12a168e178323e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Cargo.toml [package] name = "systray" version = "0.1.0" authors = ["Kyle Machulis <kyle@machul.is>"] [dependencies] log="*" [target.'cfg(target_os = "windows")'.dependencies] winapi={ path = "../winapi-rs/" } user32-sys={ path = "../winapi-rs/lib/user32/" } kernel32-sys={ path = "../winapi-rs/lib...
[package] name = "systray" version = "0.1.0" authors = ["Kyle Machulis <kyle@machul.is>"] [dependencies] log="*" [target.'cfg(target_os = "windows")'.dependencies] winapi={ path = "winapi-rs/" } user32-sys={ path = "winapi-rs/lib/user32/" } kernel32-sys={ path = "winapi-rs/lib/kernel32/" } shell32-sys={ path = "winap...
<|file_sep|>original/Cargo.toml [package] name = "systray" version = "0.1.0" authors = ["Kyle Machulis <kyle@machul.is>"] [dependencies] log="*" [target.'cfg(target_os = "windows")'.dependencies] winapi={ path = "../winapi-rs/" } user32-sys={ path = "../winapi-rs/lib/user32/" } kernel32-sys={ path = "../winapi-rs/lib...
9519b0832e59052627ff705ab5f1559c21c62535
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.7.0 cryptography==2.4.2 Sphinx==1.8.3 coverage==4.5.2 pytest==4.1.1 pytest-runner==4.2 pytest-cov==2.6.1 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.14.2 python-dotenv==0.10.1 python-do...
pip==18.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.7.0 cryptography==2.4.2 Sphinx==1.8.3 coverage==4.5.2 pytest==4.2.0 pytest-runner==4.2 pytest-cov==2.6.1 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.14.2 python-dotenv==0.10.1 python-dotenv[cli]==0.10.1
<|file_sep|>original/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.3 watchdog==0.9.0 flake8==3.6.0 tox==3.7.0 cryptography==2.4.2 Sphinx==1.8.3 coverage==4.5.2 pytest==4.1.1 pytest-runner==4.2 pytest-cov==2.6.1 # miscellaneous sphinx_rtd_theme==0.4.2 pre-commit==1.14.2 python-dotenv==0.10.1 python-do...
a6ed6c827d3a13d01d15057ad7ad54b61d0a8354
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - PILLOW_VERSION=2.9.0 - PILLOW_VERSION=3.0.0 - PILLOW_VERSION=3.1.0.rc1 before_install: # Dependencies to build PIL - sudo apt-get update -qq - sudo apt-get install -qq ubuntu-restricted-ext...
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - PILLOW_VERSION=2.9.0 - PILLOW_VERSION=3.0.0 - PILLOW_VERSION=3.1.0 before_install: # Dependencies to build PIL - sudo apt-get update -qq - sudo apt-get install -qq ubuntu-restricted-extras - sudo apt-get install -qq li...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: - PILLOW_VERSION=2.9.0 - PILLOW_VERSION=3.0.0 - PILLOW_VERSION=3.1.0.rc1 before_install: # Dependencies to build PIL - sudo apt-get update -qq - sudo apt-get install -qq ubuntu-restricted-ext...
55b0cce2e7cab6d952f74a96e4fc729c74e77eb7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-user/xwiki-platform-wiki-user-default/src/main/resources/META-INF/components.txt org.xwiki.wiki.user.internal.DefaultWikiUserManager org.xwiki.wiki.user.internal.DefaultWikiUserConfigurationHelper org.xwiki.wiki.user.internal.WikiUserClass...
org.xwiki.wiki.user.internal.DefaultWikiUserManager org.xwiki.wiki.user.internal.DefaultWikiUserConfigurationHelper org.xwiki.wiki.user.internal.WikiUserClassDocumentInitializer org.xwiki.wiki.user.internal.WikiUserFromWorkspaceMigration org.xwiki.wiki.user.internal.DefaultDocumentRestorerFromAttachedXAR org.xwiki.wiki...
<|file_sep|>original/xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-user/xwiki-platform-wiki-user-default/src/main/resources/META-INF/components.txt org.xwiki.wiki.user.internal.DefaultWikiUserManager org.xwiki.wiki.user.internal.DefaultWikiUserConfigurationHelper org.xwiki.wiki.user.internal.WikiUserClass...
088d9e8aac58ae9f3a184e2fb044d32a1c2c5800
xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-user/xwiki-platform-wiki-user-default/src/main/resources/META-INF/components.txt
xwiki-platform-core/xwiki-platform-wiki/xwiki-platform-wiki-user/xwiki-platform-wiki-user-default/src/main/resources/META-INF/components.txt
Text
<|file_sep|>original/gulpfile.js var gulp = require('gulp'); gulp.task('default', function() { // place code for your default task here }); <|file_sep|>current/gulpfile.js var gulp = require('gulp'); gulp.task('default', function() { // place code for your default task here }); <|file_sep|>updated/gulpfile.js
var gulp = require('gulp'); gulp.task('default', function() { // place code for your default task here }); gulp.task('test', function() { // place code for running tests here. });
<|file_sep|>original/gulpfile.js var gulp = require('gulp'); gulp.task('default', function() { // place code for your default task here }); <|file_sep|>current/gulpfile.js var gulp = require('gulp'); gulp.task('default', function() { // place code for your default task here }); <|file_sep|>updated/gulpfile.js var...
bc1c05dfc3b3fa6193418c76cef7bec080b5670f
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/app/models/shopify/data_feed.rb module Shopify class DataFeed < ApplicationRecord belongs_to :spree_object, polymorphic: true belongs_to :parent, class_name: 'Shopify::DataFeed' has_many :children, class_name: 'Shopify::DataFeed', foreign_key: :parent_id, dependent: :destroy vali...
module Shopify class DataFeed < ApplicationRecord belongs_to :spree_object, polymorphic: true, required: false belongs_to :parent, class_name: 'Shopify::DataFeed', required: false has_many :children, class_name: 'Shopify::DataFeed', foreign_key: :parent_id, dependent: :destroy validates :shopify_obje...
<|file_sep|>original/app/models/shopify/data_feed.rb module Shopify class DataFeed < ApplicationRecord belongs_to :spree_object, polymorphic: true belongs_to :parent, class_name: 'Shopify::DataFeed' has_many :children, class_name: 'Shopify::DataFeed', foreign_key: :parent_id, dependent: :destroy vali...
6a87a9a2a92f6897bee65c3e0852d2a21905526d
app/models/shopify/data_feed.rb
app/models/shopify/data_feed.rb
Ruby
<|file_sep|>original/tsconfig.json { "compilerOptions": { "declaration": true, "jsx": "react", "jsxFactory": "h", "lib": ["dom", "es6"], "target": "es5" }, "types": ["core-js"] } <|file_sep|>current/tsconfig.json { "compilerOptions": { "declaration": true, "jsx": "react", "jsxFac...
{ "compilerOptions": { "declaration": true, "jsx": "react", "jsxFactory": "h", "lib": ["dom", "es6"], "target": "es5" }, "types": ["core-js"], "include": ["**/*.ts"] }
<|file_sep|>original/tsconfig.json { "compilerOptions": { "declaration": true, "jsx": "react", "jsxFactory": "h", "lib": ["dom", "es6"], "target": "es5" }, "types": ["core-js"] } <|file_sep|>current/tsconfig.json { "compilerOptions": { "declaration": true, "jsx": "react", "jsxFac...
cf0e6df17b3994400fd6f5857fb1d0eefcbd7341
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/src/Constants/ResponseCodes.php <?php namespace PhalconUtils\Constants; /** * Class ResponseCodes * @author Adeyemi Olaoye <yemi@cottacush.com> * @package App\Library */ class ResponseCodes { const METHOD_NOT_IMPLEMENTED = 'method_not_implemented'; const INTERNAL_SERVER_ERROR = 'inter...
<?php namespace PhalconUtils\Constants; /** * Class ResponseCodes * @author Adeyemi Olaoye <yemi@cottacush.com> * @package App\Library */ class ResponseCodes { const METHOD_NOT_IMPLEMENTED = 'method_not_implemented'; const INTERNAL_SERVER_ERROR = 'internal_server_error'; const UNEXPECTED_ERROR = 'unex...
<|file_sep|>original/src/Constants/ResponseCodes.php <?php namespace PhalconUtils\Constants; /** * Class ResponseCodes * @author Adeyemi Olaoye <yemi@cottacush.com> * @package App\Library */ class ResponseCodes { const METHOD_NOT_IMPLEMENTED = 'method_not_implemented'; const INTERNAL_SERVER_ERROR = 'inter...
c02228cc62c7a10f44fb82f7f8fe818648571b0b
src/Constants/ResponseCodes.php
src/Constants/ResponseCodes.php
PHP
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.1.3", "turbolinks": "5.2.0", "@rails/activestorage": "6.1.3", "@rails/actioncable": "6.1.3" }, "devDependencies": { "sass": "1.33.0", "vanilla-framework": "2.29.0" }, "version"...
{ "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.1.3", "turbolinks": "5.2.0", "@rails/activestorage": "6.1.3", "@rails/actioncable": "6.1.3" }, "devDependencies": { "sass": "1.34.0", "vanilla-framework": "2.29.0" }, "version": "0.1.0" }
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.1.3", "turbolinks": "5.2.0", "@rails/activestorage": "6.1.3", "@rails/actioncable": "6.1.3" }, "devDependencies": { "sass": "1.33.0", "vanilla-framework": "2.29.0" }, "version"...
ef5836036fd454292db5a6579e949995958653f2
package.json
package.json
JSON
<|file_sep|>original/static/js/recent_topics_util.js import * as popovers from "./popovers"; export function is_visible() { return $("#recent_topics_view").is(":visible"); } export function is_in_focus() { // Check if user is focused on // recent topics. return ( is_visible() && !compo...
export function is_visible() { return $("#recent_topics_view").is(":visible"); } export function is_in_focus() { // Check if user is focused on // recent topics. return ( is_visible() && !compose_state.composing() && !popovers.any_active() && !overlays.is_active() && ...
<|file_sep|>original/static/js/recent_topics_util.js import * as popovers from "./popovers"; export function is_visible() { return $("#recent_topics_view").is(":visible"); } export function is_in_focus() { // Check if user is focused on // recent topics. return ( is_visible() && !compo...
663743261a1168951eca118d1b23db5631d59e73
static/js/recent_topics_util.js
static/js/recent_topics_util.js
JavaScript