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/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json <|file_sep|>current/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json <|file_sep|>updated/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json
{"properties": [ { "name": "pct.security-enabled", "type": "java.lang.String", "description": "A description for 'pct.security-enabled'" }, { "name": "pct.show-user-info-dropdown", "type": "java.lang.String", "description": "A description for 'pct.show-user-info-dropdown'" } ]}
<|file_sep|>original/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json <|file_sep|>current/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json <|file_sep|>updated/web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json {"proper...
e828a05de62e944269606c89284b416f972db61a
web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json
web/nibrs-web/src/main/java/META-INF/additional-spring-configuration-metadata.json
JSON
<|file_sep|>original/gidget/util/tumorTypeConfig.py #!/usr/bin/env python import os.path as path import sys import csv TUMOR_CONFIG_DIALECT = "tumor-type-config" csv.register_dialect(TUMOR_CONFIG_DIALECT, delimiter=',', lineterminator='\n') _relpath_configfile = path.join('config', 'tumorTypesConfig.csv') _configfi...
#!/usr/bin/env python import os.path as path import sys import csv TUMOR_CONFIG_DIALECT = "tumor-type-config" csv.register_dialect(TUMOR_CONFIG_DIALECT, delimiter=',', lineterminator='\n', skipinitialspace=True) _relpath_configfile = path.join('config', 'tumorTypesConfig.csv') _configfile = path.expandvars(path.joi...
<|file_sep|>original/gidget/util/tumorTypeConfig.py #!/usr/bin/env python import os.path as path import sys import csv TUMOR_CONFIG_DIALECT = "tumor-type-config" csv.register_dialect(TUMOR_CONFIG_DIALECT, delimiter=',', lineterminator='\n') _relpath_configfile = path.join('config', 'tumorTypesConfig.csv') _configfi...
6cd3e11f6ec84cffc0ea71d15d2e164f499529cf
gidget/util/tumorTypeConfig.py
gidget/util/tumorTypeConfig.py
Python
<|file_sep|>original/packages/ch/chez-grater.yaml <|file_sep|>current/packages/ch/chez-grater.yaml <|file_sep|>updated/packages/ch/chez-grater.yaml
homepage: '' changelog-type: '' hash: 310d43606f88adf823b073d269f2a14203e5db5145f6726d7cdeb95eb7a752d2 test-bench-deps: http-client: <0.7 bytestring: <0.11 file-path-th: <0.2 case-insensitive: <1.3 base: <5.0 hspec: <2.8 text: <1.3 containers: <0.7 network-uri: <2.7 file-embed: <0.1 attoparsec: <0...
<|file_sep|>original/packages/ch/chez-grater.yaml <|file_sep|>current/packages/ch/chez-grater.yaml <|file_sep|>updated/packages/ch/chez-grater.yaml homepage: '' changelog-type: '' hash: 310d43606f88adf823b073d269f2a14203e5db5145f6726d7cdeb95eb7a752d2 test-bench-deps: http-client: <0.7 bytestring: <0.11 file-pat...
f9b7ec6113fa2c86114f0bd4c4bb79e7cd19fbb1
packages/ch/chez-grater.yaml
packages/ch/chez-grater.yaml
YAML
<|file_sep|>jets/c/xeb.c.diff original: size_t log = mpz_sizeinbase(a_mp, 2); updated: c3_d x = mpz_sizeinbase(a_mp, 2); <|file_sep|>original/jets/c/xeb.c */ u3_noun u3qc_xeb(u3_atom a) { mpz_t a_mp; if ( __(u3a_is_dog(a)) ) { u3r_mp(a_mp, a); size_t log = mpz_sizeinbase(a_mp, 2);...
*/ u3_noun u3qc_xeb(u3_atom a) { mpz_t a_mp; if ( __(u3a_is_dog(a)) ) { u3r_mp(a_mp, a); c3_d x = mpz_sizeinbase(a_mp, 2); mpz_t b_mp; mpz_init_set_ui(b_mp, x); return u3i_mp(b_mp); } else { mpz_init_set_ui(a_mp, a); c3_d x = mpz_sizeinbase(a_mp, 2); ...
<|file_sep|>jets/c/xeb.c.diff original: size_t log = mpz_sizeinbase(a_mp, 2); updated: c3_d x = mpz_sizeinbase(a_mp, 2); <|file_sep|>original/jets/c/xeb.c */ u3_noun u3qc_xeb(u3_atom a) { mpz_t a_mp; if ( __(u3a_is_dog(a)) ) { u3r_mp(a_mp, a); size_t log = mpz_sizeinbase(a_mp, 2);...
b09cbbdb383a73ad46a016cc4dcc54ad62c92732
jets/c/xeb.c
jets/c/xeb.c
C
<|file_sep|>original/tasks/prepare-package.js const fs = require('fs'); const path = require('path'); const pkg = require('../package.json'); const buildDir = path.resolve(__dirname, '../build/ol'); // update the version number in util.js const utilPath = path.join(buildDir, 'util.js'); const versionRegEx = /const VE...
const fs = require('fs'); const path = require('path'); const pkg = require('../package.json'); const buildDir = path.resolve(__dirname, '../build/ol'); // update the version number in util.js const utilPath = path.join(buildDir, 'util.js'); const versionRegEx = /var VERSION = '(.*)';/g; const utilSrc = fs.readFileSy...
<|file_sep|>original/tasks/prepare-package.js const fs = require('fs'); const path = require('path'); const pkg = require('../package.json'); const buildDir = path.resolve(__dirname, '../build/ol'); // update the version number in util.js const utilPath = path.join(buildDir, 'util.js'); const versionRegEx = /const VE...
4cdab30201d079b0b7112c14ec56615e94155692
tasks/prepare-package.js
tasks/prepare-package.js
JavaScript
<|file_sep|>package.json.diff original: updated: "captains-log": "~0.11.5", "waterline": "~0.10.0", <|file_sep|>original/package.json "dependencies": { "cassandra-driver": "~2.0.0", "long": "~2.2.0", "async": "~0.9.0", "lodash": "~2.4.1", "waterline-errors": "~0.10.0", "waterline-sequ...
"cassandra-driver": "~2.0.0", "long": "~2.2.0", "async": "~0.9.0", "lodash": "~2.4.1", "waterline-errors": "~0.10.0", "waterline-sequel": "~0.1.1", "waterline-cursor": "~0.0.5" }, "devDependencies": { "mocha": "~1.13.0", "captains-log": "~0.11.5", "waterline": "~0.10.0", ...
<|file_sep|>package.json.diff original: updated: "captains-log": "~0.11.5", "waterline": "~0.10.0", <|file_sep|>original/package.json "dependencies": { "cassandra-driver": "~2.0.0", "long": "~2.2.0", "async": "~0.9.0", "lodash": "~2.4.1", "waterline-errors": "~0.10.0", "waterline-sequ...
3f9e75129bba0ed59bd5f99b0feef05acc6d46d2
package.json
package.json
JSON
<|file_sep|>index.js.diff original: updated: const util = require('util') <|file_sep|>index.js.diff original: let methods = Object.keys(async) updated: const methods = Object.keys(async) <|file_sep|>index.js.diff original: module.exports = methods.reduce(function (accumulator, method) { updated: const asyncPromise = m...
} const methods = Object.keys(async) EXCLUDE_METHODS.forEach(function (exclude) { remove(methods, exclude) }) const asyncPromise = methods.reduce(function (accumulator, method) { accumulator[method] = pify(async[method]) return accumulator }, {}) module.exports = methods.reduce(function (accumulator, method) ...
<|file_sep|>index.js.diff original: updated: const util = require('util') <|file_sep|>index.js.diff original: let methods = Object.keys(async) updated: const methods = Object.keys(async) <|file_sep|>index.js.diff original: module.exports = methods.reduce(function (accumulator, method) { updated: const asyncPromise = m...
60b07069d6e37949c0c0d364c03a2096fb43ad3d
index.js
index.js
JavaScript
<|file_sep|>app/Console/Commands/Search/ScoutImportAll.php.diff original: updated: private $excludeModels = [ // 'App\\Models\\Collections\\Artwork', // 'App\\Models\\Collections\\Image', ]; <|file_sep|>original/app/Console/Commands/Search/ScoutImportAll.php protected $signature = 'scout:im...
// 'App\\Models\\Collections\\Image', ]; public function handle() { ini_set("memory_limit", "-1"); $models = app('Search')->getSearchableModels(); $models = array_diff($models, $this->excludeModels); foreach( $models as $model ) { $this->call("scout:...
<|file_sep|>app/Console/Commands/Search/ScoutImportAll.php.diff original: updated: private $excludeModels = [ // 'App\\Models\\Collections\\Artwork', // 'App\\Models\\Collections\\Image', ]; <|file_sep|>original/app/Console/Commands/Search/ScoutImportAll.php protected $signature = 'scout:im...
0415ba70561fb74b221360448e6afc8a87319b5c
app/Console/Commands/Search/ScoutImportAll.php
app/Console/Commands/Search/ScoutImportAll.php
PHP
<|file_sep|>original/website/blog/2018-10-08-version-0.109-release.md <|file_sep|>current/website/blog/2018-10-08-version-0.109-release.md <|file_sep|>updated/website/blog/2018-10-08-version-0.109-release.md
--- title: Arez 0.109 released author: Arez Project authorURL: https://github.com/arez --- [Full Changelog](https://github.com/arez/arez/compare/v0.108...v0.109) Changes in this release: * **\[core\]** Document the requirement for transactions on the methods: `ObservableValue.reportObserved()`, `ObservableValue.pr...
<|file_sep|>original/website/blog/2018-10-08-version-0.109-release.md <|file_sep|>current/website/blog/2018-10-08-version-0.109-release.md <|file_sep|>updated/website/blog/2018-10-08-version-0.109-release.md --- title: Arez 0.109 released author: Arez Project authorURL: https://github.com/arez --- [Full Changelog](h...
1e355a7c554241abfb3a285a2084333566990d76
website/blog/2018-10-08-version-0.109-release.md
website/blog/2018-10-08-version-0.109-release.md
Markdown
<|file_sep|>original/custom/apps/wisepill/_design/views/device/map.js function(doc) { if(doc.doc_type === "CommCareCase" && doc.type === "wisepill_device") { emit([doc.name], null); } } <|file_sep|>current/custom/apps/wisepill/_design/views/device/map.js function(doc) { if(doc.doc_type === "CommCare...
function(doc) { if(doc.doc_type === "CommCareCase" && doc.type === "wisepill_device" && !doc.closed) { emit([doc.name], null); } }
<|file_sep|>original/custom/apps/wisepill/_design/views/device/map.js function(doc) { if(doc.doc_type === "CommCareCase" && doc.type === "wisepill_device") { emit([doc.name], null); } } <|file_sep|>current/custom/apps/wisepill/_design/views/device/map.js function(doc) { if(doc.doc_type === "CommCare...
4f31c75c44b558de37cff8eca3361be3c60b6321
custom/apps/wisepill/_design/views/device/map.js
custom/apps/wisepill/_design/views/device/map.js
JavaScript
<|file_sep|>original/filter/bilivideo_resource_filter.sh <|file_sep|>current/filter/bilivideo_resource_filter.sh <|file_sep|>updated/filter/bilivideo_resource_filter.sh
#!/bin/bash -- # Filter cURL commands of bilibili video webpage # return cURL commands with all slices from video resource # Filter keywords FILTER_SITE_METADATA="api.bilibili.com|data.bilibili.com|live.bilibili.com|cnzz.com|qq.com" FILTER_TYPE_METADATA=".css|.js|.png|.gif|.webp|.jpg" FILTER_CONTENT_METADATA=";base64|...
<|file_sep|>original/filter/bilivideo_resource_filter.sh <|file_sep|>current/filter/bilivideo_resource_filter.sh <|file_sep|>updated/filter/bilivideo_resource_filter.sh #!/bin/bash -- # Filter cURL commands of bilibili video webpage # return cURL commands with all slices from video resource # Filter keywords FILTER_...
df3f27ed0265b2bc3fac4cb0f0cc8869ecaa1d22
filter/bilivideo_resource_filter.sh
filter/bilivideo_resource_filter.sh
Shell
<|file_sep|>tests/test_cookiecutter_invocation.py.diff original: def test_should_raise_error_without_template_arg(capfd): updated: def test_should_raise_error_without_template_arg(monkeypatch, capfd): monkeypatch.setenv('PYTHONPATH', '.') <|file_sep|>original/tests/test_cookiecutter_invocation.py import subprocess...
import subprocess import sys from cookiecutter import utils def test_should_raise_error_without_template_arg(monkeypatch, capfd): monkeypatch.setenv('PYTHONPATH', '.') with pytest.raises(subprocess.CalledProcessError): subprocess.check_call([sys.executable, '-m', 'cookiecutter.cli']) _, err = c...
<|file_sep|>tests/test_cookiecutter_invocation.py.diff original: def test_should_raise_error_without_template_arg(capfd): updated: def test_should_raise_error_without_template_arg(monkeypatch, capfd): monkeypatch.setenv('PYTHONPATH', '.') <|file_sep|>original/tests/test_cookiecutter_invocation.py import subprocess...
166fd73f5ac4501b9357d0263e6b68888836588a
tests/test_cookiecutter_invocation.py
tests/test_cookiecutter_invocation.py
Python
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.10.2) project(D-NES) # Output final binary to 'bin' directory set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) # Use C++14 set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) # Check for OpenGL and GLX find_package(OpenGL COM...
cmake_minimum_required(VERSION 3.10.2) project(D-NES) # Default build type is release if (NOT CMAKE_BUILD_TYPE) set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Build Type: Set to \"Release\" for optimized or \"Debug\" for a debug build" FORCE) endif (NOT CMAKE_BUILD_TYPE) # Output final binary to 'bin' d...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.10.2) project(D-NES) # Output final binary to 'bin' directory set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) # Use C++14 set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) # Check for OpenGL and GLX find_package(OpenGL COM...
6527ba8f6ca047fd37aed86c6ec53d0663d4aa13
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/input/blog/mvp-renewal-2019.md <|file_sep|>current/input/blog/mvp-renewal-2019.md <|file_sep|>updated/input/blog/mvp-renewal-2019.md
--- Title: MVP Renewal 2019 Published: 02/07/2019 Tags: - microsoft - mvp - award --- I am very happy to announce that I have been renewed as a Microsoft MVP. <!--excerpt--> Yesterday was sort of a weird day for me. I had no expectations of being renewed as a Microsoft MVP, and I was very happy to receive the email...
<|file_sep|>original/input/blog/mvp-renewal-2019.md <|file_sep|>current/input/blog/mvp-renewal-2019.md <|file_sep|>updated/input/blog/mvp-renewal-2019.md --- Title: MVP Renewal 2019 Published: 02/07/2019 Tags: - microsoft - mvp - award --- I am very happy to announce that I have been renewed as a Microsoft MVP. <!-...
8735abfa31a24072d68596939b15793d407a9694
input/blog/mvp-renewal-2019.md
input/blog/mvp-renewal-2019.md
Markdown
<|file_sep|>deploy-hooks.sh.diff original: pm2 stop greenbot updated: forever stop node_modules/greenbot/bin/greenbot.js <|file_sep|>original/deploy-hooks.sh stage=$1 case $stage in pre ) pm2 stop greenbot ;; deploy ) git pull rm -r node_modules npm install ;; post ) pm2 start...
stage=$1 case $stage in pre ) forever stop node_modules/greenbot/bin/greenbot.js ;; deploy ) git pull rm -r node_modules npm install ;; post ) forever start node_modules/greenbot/bin/greenbot.js modacity.cson ;; esac
<|file_sep|>deploy-hooks.sh.diff original: pm2 stop greenbot updated: forever stop node_modules/greenbot/bin/greenbot.js <|file_sep|>original/deploy-hooks.sh stage=$1 case $stage in pre ) pm2 stop greenbot ;; deploy ) git pull rm -r node_modules npm install ;; post ) pm2 start...
3ca83d8a321443b3b4e385c456964d248bd2f978
deploy-hooks.sh
deploy-hooks.sh
Shell
<|file_sep|>original/.vim/common_config/plugin_config.vim autocmd BufRead *.md set ai formatoptions=tcroqn2 comments=n:> autocmd BufRead *.markdown set ai formatoptions=tcroqn2 comments=n:> augroup END " Allow old-school vim directory exploring let NERDTreeHijackNetrw = 0 " Add some alignment patterns for...
autocmd BufRead *.md set ai formatoptions=tcroqn2 comments=n:> autocmd BufRead *.markdown set ai formatoptions=tcroqn2 comments=n:> augroup END " Allow old-school vim directory exploring let NERDTreeHijackNetrw = 0 " Add some alignment patterns for :Tabular function! CustomTabularPatterns() AddTabularPa...
<|file_sep|>original/.vim/common_config/plugin_config.vim autocmd BufRead *.md set ai formatoptions=tcroqn2 comments=n:> autocmd BufRead *.markdown set ai formatoptions=tcroqn2 comments=n:> augroup END " Allow old-school vim directory exploring let NERDTreeHijackNetrw = 0 " Add some alignment patterns for...
5f5def54f9c3ed82bfd9912e0950223417a3a3bd
.vim/common_config/plugin_config.vim
.vim/common_config/plugin_config.vim
VimL
<|file_sep|>original/public/app/project-creation/project-creation-controller.js define(function() { var ProjectCreationController = function($rootScope, $location, ProjectResource) { this.submit = function() { var newProject = new ProjectResource({ name: this.name, ...
define(function() { var ProjectCreationController = function($rootScope, $location, ProjectResource) { this.submit = function() { var newProject = new ProjectResource({ name: this.name, tags: this.tags }) newProject.$save({ ...
<|file_sep|>original/public/app/project-creation/project-creation-controller.js define(function() { var ProjectCreationController = function($rootScope, $location, ProjectResource) { this.submit = function() { var newProject = new ProjectResource({ name: this.name, ...
8fe30881591d588f7ff592eaae6e639dade62f77
public/app/project-creation/project-creation-controller.js
public/app/project-creation/project-creation-controller.js
JavaScript
<|file_sep|>original/src/form.js ;(function($){ $.fn.serializeArray = function() { var el, type, result = [] $([].slice.call(this.get(0).elements)).each(function(){ el = $(this) type = el.attr('type') if (this.name && this.nodeName.toLowerCase() != 'fieldset' && !this.disabled && typ...
;(function($){ $.fn.serializeArray = function() { var el, type, result = [] $([].slice.call(this.get(0).elements)).each(function(){ el = $(this) type = el.attr('type') if (this.name && this.nodeName.toLowerCase() != 'fieldset' && !this.disabled && type != 'submit' && type != 'reset' ...
<|file_sep|>original/src/form.js ;(function($){ $.fn.serializeArray = function() { var el, type, result = [] $([].slice.call(this.get(0).elements)).each(function(){ el = $(this) type = el.attr('type') if (this.name && this.nodeName.toLowerCase() != 'fieldset' && !this.disabled && typ...
059d95b93bc1954d90627e79292fef36d86cb7d5
src/form.js
src/form.js
JavaScript
<|file_sep|>original/requirements.txt cookiecutter==1.7.2 sh==1.14.1 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==20.8b1 isort==5.8.0 flake8==3.9.0 flake8-isort==4.0.0 pre-commit==2.12.0 # Testing # ------------------------------------------...
cookiecutter==1.7.2 sh==1.14.1 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==20.8b1 isort==5.8.0 flake8==3.9.1 flake8-isort==4.0.0 pre-commit==2.12.0 # Testing # ------------------------------------------------------------------------------ t...
<|file_sep|>original/requirements.txt cookiecutter==1.7.2 sh==1.14.1 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==20.8b1 isort==5.8.0 flake8==3.9.0 flake8-isort==4.0.0 pre-commit==2.12.0 # Testing # ------------------------------------------...
5ff17c0ce035e632dd5c52d01c6d059ec35d8cb2
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/regression/36-apron/88-mine14.c <|file_sep|>current/tests/regression/36-apron/88-mine14.c <|file_sep|>updated/tests/regression/36-apron/88-mine14.c
// SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --sets exp.apron.privatization mutex-meet-tid --set ana.activated[-] threadJoins // Fig 5a from Miné 2014 #include <pthread.h> #include <stdio.h> int x; pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; void *t_fun(void *arg) { int top; ...
<|file_sep|>original/tests/regression/36-apron/88-mine14.c <|file_sep|>current/tests/regression/36-apron/88-mine14.c <|file_sep|>updated/tests/regression/36-apron/88-mine14.c // SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --sets exp.apron.privatization mutex-meet-tid --set ana.activated...
d122a86c526c30d4ba4e3aa37e6d261a1e4ee827
tests/regression/36-apron/88-mine14.c
tests/regression/36-apron/88-mine14.c
C
<|file_sep|>_admin/sold_tickets.php.diff original: require_once('class.FlipsideTicketDB.php'); updated: <|file_sep|>original/_admin/sold_tickets.php <?php ini_set('display_errors', 1); error_reporting(E_ALL); require_once('class.TicketAdminPage.php'); require_once('class.FlipsideTicketDB.php'); $page = new TicketAdmin...
<?php ini_set('display_errors', 1); error_reporting(E_ALL); require_once('class.TicketAdminPage.php'); $page = new TicketAdminPage('Burning Flipside - Tickets'); $page->add_js(JS_DATATABLE, false); $page->add_css(CSS_DATATABLE); $page->add_js_from_src('js/sold_tickets.js'); $page->body .= ' <div class="row"> ...
<|file_sep|>_admin/sold_tickets.php.diff original: require_once('class.FlipsideTicketDB.php'); updated: <|file_sep|>original/_admin/sold_tickets.php <?php ini_set('display_errors', 1); error_reporting(E_ALL); require_once('class.TicketAdminPage.php'); require_once('class.FlipsideTicketDB.php'); $page = new TicketAdmin...
2ec43723728c021c489289bf79bfd606b22d1c9a
_admin/sold_tickets.php
_admin/sold_tickets.php
PHP
<|file_sep|>original/src/less/_components.article.less padding: 0; margin: 0; } article nav a:hover { text-decoration: none; } @media (max-width: @mobile-breakpoint) { article { margin: 0; } article .content { font-size: calc(0.85rem + 1vmin); padding: 6vmin; } } <|file_sep|>current/src/...
text-decoration: underline; padding: 0; margin: 0; } article nav a:hover { text-decoration: none; } @media (max-width: @mobile-breakpoint) { article { margin: 0; } article .content { padding: 6vmin; } }
<|file_sep|>original/src/less/_components.article.less padding: 0; margin: 0; } article nav a:hover { text-decoration: none; } @media (max-width: @mobile-breakpoint) { article { margin: 0; } article .content { font-size: calc(0.85rem + 1vmin); padding: 6vmin; } } <|file_sep|>current/src/...
3ffb88772b8df49425a0027f174197ecff8932c8
src/less/_components.article.less
src/less/_components.article.less
Less
<|file_sep|>spec/classes/bitlbee_spec.rb.diff original: updated: :luser => 'goober', <|file_sep|>original/spec/classes/bitlbee_spec.rb require 'spec_helper' describe 'bitlbee' do let(:facts) do { :boxen_home => '/opt/boxen', :boxen_user => 'testuser', } end it { should include_class('b...
require 'spec_helper' describe 'bitlbee' do let(:facts) do { :boxen_home => '/opt/boxen', :boxen_user => 'testuser', :luser => 'goober', } end it { should include_class('bitlbee::config') } it { should contain_package('bitlbee').with_provider('homebrew') } it { should contain_file('...
<|file_sep|>spec/classes/bitlbee_spec.rb.diff original: updated: :luser => 'goober', <|file_sep|>original/spec/classes/bitlbee_spec.rb require 'spec_helper' describe 'bitlbee' do let(:facts) do { :boxen_home => '/opt/boxen', :boxen_user => 'testuser', } end it { should include_class('b...
a063543612b94fec3e679e7a6c6632f0b8cd855d
spec/classes/bitlbee_spec.rb
spec/classes/bitlbee_spec.rb
Ruby
<|file_sep|>original/lib/github_uploader.rb <|file_sep|>current/lib/github_uploader.rb <|file_sep|>updated/lib/github_uploader.rb
require "rest-client" require "github_api" # We can stop requiring nokogiri when github_api is updated require "nokogiri" class GithubUploader def initialize(login, username, repo, root=Dir.pwd) @login = login @username = username @repo = repo @root = root @token = check_token en...
<|file_sep|>original/lib/github_uploader.rb <|file_sep|>current/lib/github_uploader.rb <|file_sep|>updated/lib/github_uploader.rb require "rest-client" require "github_api" # We can stop requiring nokogiri when github_api is updated require "nokogiri" class GithubUploader def initialize(login, username, repo, roo...
28449b4129c83279c360bfb12419d31508d9255b
lib/github_uploader.rb
lib/github_uploader.rb
Ruby
<|file_sep|>original/lib/shoulda/whenever.rb require "shoulda/whenever/schedule_rake_matcher" module Shoulda module Whenever end end <|file_sep|>current/lib/shoulda/whenever.rb require "shoulda/whenever/schedule_rake_matcher" module Shoulda module Whenever end end <|file_sep|>updated/lib/shoulda/whenever.rb
require "shoulda/whenever/schedule_matcher" module Shoulda module Whenever end end
<|file_sep|>original/lib/shoulda/whenever.rb require "shoulda/whenever/schedule_rake_matcher" module Shoulda module Whenever end end <|file_sep|>current/lib/shoulda/whenever.rb require "shoulda/whenever/schedule_rake_matcher" module Shoulda module Whenever end end <|file_sep|>updated/lib/shoulda/whenever.rb r...
055d24ca7dc2850826c212d4d6dbf5a58f5ec416
lib/shoulda/whenever.rb
lib/shoulda/whenever.rb
Ruby
<|file_sep|>packages/puppeteer/src/index.ts.diff original: import { Webdriver, ElementNotFoundError, ElementNotVisibleError, } from 'mugshot'; updated: import { Webdriver } from 'mugshot'; <|file_sep|>packages/puppeteer/src/index.ts.diff original: throw new ElementNotFoundError(selector); updated: ret...
if (!elements.length) { return null; } const rects = await Promise.all( elements.map(async (element) => { const rect = await element.boundingBox(); if (!rect) { return { x: 0, y: 0, width: 0, height: 0 }; } return rect; }) ); return re...
<|file_sep|>packages/puppeteer/src/index.ts.diff original: import { Webdriver, ElementNotFoundError, ElementNotVisibleError, } from 'mugshot'; updated: import { Webdriver } from 'mugshot'; <|file_sep|>packages/puppeteer/src/index.ts.diff original: throw new ElementNotFoundError(selector); updated: ret...
55f3cf131146034154a964da8ad561e87e1519b0
packages/puppeteer/src/index.ts
packages/puppeteer/src/index.ts
TypeScript
<|file_sep|>original/lib/eidolon/rgssx/table.rb class Table attr_reader :xsize attr_reader :ysize attr_reader :zsize def self._load(array) # :nodoc: self.class.new.instance_eval do @size, @xsize, @ysize, @zsize, _, *@data = array.unpack('LLLLLS*') self end end end <|file_sep|>current/li...
class Table attr_reader :xsize attr_reader :ysize attr_reader :zsize def self._load(array) # :nodoc: self.class.new.instance_eval do @size, @xsize, @ysize, @zsize, _, *@data = array.unpack('LLLLLS*') end end end
<|file_sep|>original/lib/eidolon/rgssx/table.rb class Table attr_reader :xsize attr_reader :ysize attr_reader :zsize def self._load(array) # :nodoc: self.class.new.instance_eval do @size, @xsize, @ysize, @zsize, _, *@data = array.unpack('LLLLLS*') self end end end <|file_sep|>current/li...
3156fe477bb19b79a1e04dac7a6fe0e7bc35427e
lib/eidolon/rgssx/table.rb
lib/eidolon/rgssx/table.rb
Ruby
<|file_sep|>original/.travis.yml git: depth: 1 branches: only: - master cache: directories: - node_modules matrix: fast_finish: true before_install: - npm i -g npm@latest before_script: - node --version - npm --version <|file_sep|>current/.travis.yml git: depth: 1 branches: only: -...
git: depth: 1 branches: only: - master cache: directories: - $HOME/.npm - node_modules matrix: fast_finish: true before_install: - npm i -g npm@latest before_script: - node --version
<|file_sep|>original/.travis.yml git: depth: 1 branches: only: - master cache: directories: - node_modules matrix: fast_finish: true before_install: - npm i -g npm@latest before_script: - node --version - npm --version <|file_sep|>current/.travis.yml git: depth: 1 branches: only: -...
ebe6fe76c65db8a05925cf6d792ad3aab7aac3c4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - openstack-lower-constraints-jobs - openstack-python3-victoria-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - openstack-tox-pylint - freezer-tempest-basi...
- project: templates: - check-requirements - openstack-lower-constraints-jobs - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - openstack-tox-pylint - freezer-tempest-basic - freezer-tempest-basic...
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - openstack-lower-constraints-jobs - openstack-python3-victoria-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - openstack-tox-pylint - freezer-tempest-basi...
b32f026793c8a6232555fb613c2466ee2fb44f67
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>ZMain/ImkGithubApp/src/main/AndroidManifest.xml.diff original: updated: android:resizeableActivity="true" <|file_sep|>original/ZMain/ImkGithubApp/src/main/AndroidManifest.xml <application android:name=".global.MyApplication" android:allowBackup="true" android:icon="@mip...
<application android:name=".global.MyApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:resizeableActivity="true" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" ...
<|file_sep|>ZMain/ImkGithubApp/src/main/AndroidManifest.xml.diff original: updated: android:resizeableActivity="true" <|file_sep|>original/ZMain/ImkGithubApp/src/main/AndroidManifest.xml <application android:name=".global.MyApplication" android:allowBackup="true" android:icon="@mip...
7bf16ec99f3f258fe15c44ba268c7e5d2f593dc8
ZMain/ImkGithubApp/src/main/AndroidManifest.xml
ZMain/ImkGithubApp/src/main/AndroidManifest.xml
XML
<|file_sep|>original/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - composer install --dev script: - php bin/phpspec run -f pretty <|file_sep|>current/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - composer install --dev scr...
sudo: false language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - composer install --dev script: - php bin/phpspec run -f pretty
<|file_sep|>original/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - composer install --dev script: - php bin/phpspec run -f pretty <|file_sep|>current/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - composer install --dev scr...
a830d6956ebf7a92ad0f664271aa276efe6c665d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java <|file_sep|>current/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java <|file_sep|>updated/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactory...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.exec; import static org.testng.Assert.assertEquals; import org.mockito.Mockito; import org.testng.annotations.Test; import com.opengamma.engine.view....
<|file_sep|>original/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java <|file_sep|>current/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java <|file_sep|>updated/projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactory...
f0f64d75bd4320909417a6b49f67227e8b95edde
projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java
projects/OG-Engine/src/test/java/com/opengamma/engine/exec/BatchExecutorFactoryTest.java
Java
<|file_sep|>original/src/utils/defaults/masks.json { "title": "MMMM YYYY", "weekdays": "W", "navMonths": "MMM", "input": ["L", "YYYY-MM-DD", "YYYY/MM/DD"], "inputDateTime": ["L h:mm A", "YYYY-MM-DD h:mm A", "YYYY/MM/DD h:mm A"], "inputDateTime24hr": ["L HH:mm", "YYYY-MM-DD HH:mm", "YYYY/MM/DD HH:mm"], "in...
{ "title": "MMMM YYYY", "weekdays": "W", "navMonths": "MMM", "input": ["L", "YYYY-MM-DD", "YYYY/MM/DD"], "inputDateTime": ["L h:mm A", "YYYY-MM-DD h:mm A", "YYYY/MM/DD h:mm A"], "inputDateTime24hr": ["L HH:mm", "YYYY-MM-DD HH:mm", "YYYY/MM/DD HH:mm"], "inputTime": ["h:mm A"], "inputTime24hr": ["HH:mm"],...
<|file_sep|>original/src/utils/defaults/masks.json { "title": "MMMM YYYY", "weekdays": "W", "navMonths": "MMM", "input": ["L", "YYYY-MM-DD", "YYYY/MM/DD"], "inputDateTime": ["L h:mm A", "YYYY-MM-DD h:mm A", "YYYY/MM/DD h:mm A"], "inputDateTime24hr": ["L HH:mm", "YYYY-MM-DD HH:mm", "YYYY/MM/DD HH:mm"], "in...
8daaab325556ab5c92863b1cc4003585448030b3
src/utils/defaults/masks.json
src/utils/defaults/masks.json
JSON
<|file_sep|>original/COMMUNITY.md # Community Packages Here is a list of community packages that use or extend the functionality of the core geotiff library. - [geotiff-stats](https://github.com/geotiff/geotiff-stats): JavaScript package for computing basic statistics (e.g., min and max) for geotiffs, especially in a ...
# Community Packages Here is a list of community packages that use or extend the functionality of the core geotiff library. - [geotiff-stats](https://github.com/geotiff/geotiff-stats): JavaScript package for computing basic statistics (e.g., min and max) for geotiffs, especially in a low-memory environment. - [geotiff...
<|file_sep|>original/COMMUNITY.md # Community Packages Here is a list of community packages that use or extend the functionality of the core geotiff library. - [geotiff-stats](https://github.com/geotiff/geotiff-stats): JavaScript package for computing basic statistics (e.g., min and max) for geotiffs, especially in a ...
17108ab418c0db27e480133da2b5d15cf50555e5
COMMUNITY.md
COMMUNITY.md
Markdown
<|file_sep|>original/setup.py description="Adds Redis support to your Flask applications", long_description=open("README.rst").read(), py_modules=["flask_redistore"], zip_safe=False, include_package_data=True, platforms="any", install_requires=[ "Flask", "redis", ], e...
description="Adds Redis support to your Flask applications", long_description=open("README.rst").read(), py_modules=["flask_redistore"], zip_safe=False, include_package_data=True, platforms="any", install_requires=[ "Flask", "redis", ], extras_require={"tests": ["pyte...
<|file_sep|>original/setup.py description="Adds Redis support to your Flask applications", long_description=open("README.rst").read(), py_modules=["flask_redistore"], zip_safe=False, include_package_data=True, platforms="any", install_requires=[ "Flask", "redis", ], e...
a5c0efec6c00118fd4df8163b76e5ecca4355adb
setup.py
setup.py
Python
<|file_sep|>original/Python/kraken/core/objects/attributes/integer_attribute.py self.setMin(value) else: self.setMin(0) if maxValue is None: if value == 0: self.setMax(10) else: self.setMax(value * 3) a...
self.setMin(value) else: self.setMin(0) if maxValue is None: if value == 0: self.setMax(10) else: self.setMax(value * 3) assert type(self._value) is int, "Value is not of type 'int'." def setValue...
<|file_sep|>original/Python/kraken/core/objects/attributes/integer_attribute.py self.setMin(value) else: self.setMin(0) if maxValue is None: if value == 0: self.setMax(10) else: self.setMax(value * 3) a...
5410bdf26ac014066efa9e0770a9d902adcbcc75
Python/kraken/core/objects/attributes/integer_attribute.py
Python/kraken/core/objects/attributes/integer_attribute.py
Python
<|file_sep|>lib/deep_cover/node/boolean.rb.diff original: has_children :first, :conditional updated: <|file_sep|>lib/deep_cover/node/boolean.rb.diff original: updated: has_child first: Node has_child conditional: Node, flow_entry_count: :conditional_tracker_hits <|file_sep|>original/lib/deep_cover/n...
conditional, TrivialBranch.new(first, conditional) ] end def child_prefix(child) return unless child.index == CONDITIONAL "((#{conditional_tracker_source};" end def child_suffix(child) return unless child.index == CONDITIONAL # The ne...
<|file_sep|>lib/deep_cover/node/boolean.rb.diff original: has_children :first, :conditional updated: <|file_sep|>lib/deep_cover/node/boolean.rb.diff original: updated: has_child first: Node has_child conditional: Node, flow_entry_count: :conditional_tracker_hits <|file_sep|>original/lib/deep_cover/n...
d72ad02d86fc5137a728f3d970d31ee69b78c9e3
lib/deep_cover/node/boolean.rb
lib/deep_cover/node/boolean.rb
Ruby
<|file_sep|>sashimi-webapp/test/unit/specs/logic/formatter/documentFormatter.spec.js.diff original: it('should returns a pdfBlob for \'pages viewMode\'', () => { updated: it('should returns a pdfBlob for \'pages viewMode\'', (done) => { <|file_sep|>original/sashimi-webapp/test/unit/specs/logic/formatter/documentFor...
}); it('should returns a pdfBlob for \'pages viewMode\'', (done) => { const expectedOutput = base64OfSimplePdf; const inputData = '<div>This is a HTML content</div>'; const thatPromise = documentFormatter.getPdfBlob(inputData); thatPromise.then((outputData) => { // pdfJS does not give deter...
<|file_sep|>sashimi-webapp/test/unit/specs/logic/formatter/documentFormatter.spec.js.diff original: it('should returns a pdfBlob for \'pages viewMode\'', () => { updated: it('should returns a pdfBlob for \'pages viewMode\'', (done) => { <|file_sep|>original/sashimi-webapp/test/unit/specs/logic/formatter/documentFor...
d4c2a5ac35baf3b564474e3098803161953e6a4d
sashimi-webapp/test/unit/specs/logic/formatter/documentFormatter.spec.js
sashimi-webapp/test/unit/specs/logic/formatter/documentFormatter.spec.js
JavaScript
<|file_sep|>.travis.yml.diff original: #- 5.5 #- 5.4 updated: # 5.3.3 is specified because later versions do not support php-cgi <|file_sep|>.travis.yml.diff original: updated: - 5.5 - 5.4 <|file_sep|>original/.travis.yml # See http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php #...
# Versions of PHP to test against # 5.3.3 is specified because later versions do not support php-cgi php: - 5.5 - 5.4 - 5.3.3 # Setup before the tests # Install nginx and turn on php before_script: - php-cgi --version - dir /home/travis/.phpenv/versions -A - sudo apt-get -qq install nginx - php-cgi -b 1...
<|file_sep|>.travis.yml.diff original: #- 5.5 #- 5.4 updated: # 5.3.3 is specified because later versions do not support php-cgi <|file_sep|>.travis.yml.diff original: updated: - 5.5 - 5.4 <|file_sep|>original/.travis.yml # See http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php #...
424190b211571f87dd1f8722b560944b9a84850e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: c os: - linux - osx osx_image: xcode8 compiler: - gcc - clang env: - EDITOR=true PAGER=true sudo: true script: - make - sudo make install - perl test/check.pl <|file_sep|>current/.travis.yml language: c os: - linux - osx osx_imag...
- linux - osx osx_image: xcode8 compiler: - gcc - clang env: - EDITOR=true PAGER=true sudo: true before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install valgrind; fi script: - make - sudo make install - perl test/check.pl
<|file_sep|>original/.travis.yml language: c os: - linux - osx osx_image: xcode8 compiler: - gcc - clang env: - EDITOR=true PAGER=true sudo: true script: - make - sudo make install - perl test/check.pl <|file_sep|>current/.travis.yml language: c os: - linux - osx osx_imag...
143b567f409c38ff0989b4aca4e3acf734ad1063
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/registration_engine/registration_engine.gemspec Gem::Specification.new do |s| s.name = "registration_engine" s.version = "0.0.1" s.authors = [ "Scott Willson" ] s.email = [ "scott.willson@gmail.com" ] s.homepage = "http://rocketsurgeryllc.com" s.summary =...
Gem::Specification.new do |s| s.name = "registration_engine" s.version = "0.0.1" s.authors = [ "Scott Willson" ] s.email = [ "scott.willson@gmail.com" ] s.homepage = "http://rocketsurgeryllc.com" s.summary = "Event registration" s.description = "Empty placeholder gem" s.add_d...
<|file_sep|>original/lib/registration_engine/registration_engine.gemspec Gem::Specification.new do |s| s.name = "registration_engine" s.version = "0.0.1" s.authors = [ "Scott Willson" ] s.email = [ "scott.willson@gmail.com" ] s.homepage = "http://rocketsurgeryllc.com" s.summary =...
4c120fa8d68d238c47f65498950599f3c9098912
lib/registration_engine/registration_engine.gemspec
lib/registration_engine/registration_engine.gemspec
Ruby
<|file_sep|>original/.github/workflows/dotnet-core.yml steps: - uses: actions/checkout@v2 - name: Setup .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.202 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.407 ...
steps: - uses: actions/checkout@v2 - name: Setup .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.202 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.407 - name: Setup .NET Core 2.1 uses: actions/setup...
<|file_sep|>original/.github/workflows/dotnet-core.yml steps: - uses: actions/checkout@v2 - name: Setup .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.202 - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.407 ...
526764c74e23755878f05e49775e9b6384a37bc7
.github/workflows/dotnet-core.yml
.github/workflows/dotnet-core.yml
YAML
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - rbx - 2.0.0 - 2.1.1 matrix: allow_failures: - rvm: rbx services: - postgres before_script: - psql -c 'create database perpetuity_gem_test;' -U postgres <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - rbx - 2.0.0 - 2.1...
language: ruby rvm: - 1.9.3 - rbx - 2.0.0 - 2.1.1 matrix: allow_failures: - rvm: rbx addons: postgresql: 9.3 before_script: - psql -c 'create database perpetuity_gem_test;' -U postgres
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - rbx - 2.0.0 - 2.1.1 matrix: allow_failures: - rvm: rbx services: - postgres before_script: - psql -c 'create database perpetuity_gem_test;' -U postgres <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - rbx - 2.0.0 - 2.1...
107a096688e4f751fafbe68f54ec83c409b203e7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md ![Coverage Status](https://coveralls.io/repos/github/bcb/jsonrpcclient/badge.svg?branch=master) # jsonrpcclient Send [JSON-RPC](http://www.jsonrpc.org/) requests in Python. ```sh pip install "jsonrpcclient[requests]" ``` ```python import jsonrpcclient jsonrpcclient.request('http://cat...
![Coverage Status](https://coveralls.io/repos/github/bcb/jsonrpcclient/badge.svg?branch=master) ![PyPI](https://img.shields.io/pypi/v/jsonrpcclient.svg) # jsonrpcclient Send [JSON-RPC](http://www.jsonrpc.org/) requests in Python. ```sh pip install "jsonrpcclient[requests]" ``` ```python import jsonrpcclient jsonrpc...
<|file_sep|>original/README.md ![Coverage Status](https://coveralls.io/repos/github/bcb/jsonrpcclient/badge.svg?branch=master) # jsonrpcclient Send [JSON-RPC](http://www.jsonrpc.org/) requests in Python. ```sh pip install "jsonrpcclient[requests]" ``` ```python import jsonrpcclient jsonrpcclient.request('http://cat...
b1c27a206f0c9c700ac9cc20b602cce1357c5a26
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.10b0 flake8==3.7.9 # Testing # ------------------------------------------------------------------------------ tox==3.14.2 p...
cookiecutter==1.7.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.10b0 flake8==3.7.9 # Testing # ------------------------------------------------------------------------------ tox==3.14.2 pytest==5.3.2 pytest_cases==1.12.0 pyte...
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.10b0 flake8==3.7.9 # Testing # ------------------------------------------------------------------------------ tox==3.14.2 p...
afc7235d577f312de923bc8019d2906d7babb349
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/database/migrations/2015_11_16_100231_econt_dispatching.php /** * Run the migrations. * * @return void */ public function up() { Schema::setConnection(DB::connection(Config::get('econt.connection')))->create('econt_dispatching', function (Blueprint $table...
/** * Run the migrations. * * @return void */ public function up() { Schema::setConnection(DB::connection(Config::get('econt.connection')))->create('econt_dispatching', function (Blueprint $table) { $table->unsignedInteger('settlement_id'); $table->enum('d...
<|file_sep|>original/src/database/migrations/2015_11_16_100231_econt_dispatching.php /** * Run the migrations. * * @return void */ public function up() { Schema::setConnection(DB::connection(Config::get('econt.connection')))->create('econt_dispatching', function (Blueprint $table...
16356428e00f931b8381e321c9fc27aa3c9e38e1
src/database/migrations/2015_11_16_100231_econt_dispatching.php
src/database/migrations/2015_11_16_100231_econt_dispatching.php
PHP
<|file_sep|>original/ubuntu/integration-environment-elasticsearch-5.x/elasticsearch.yml cluster.name: graylog_test node.master: true node.data: true index.number_of_shards: 1 index.number_of_replicas: 0 network.host: _local:ipv4_ discovery.zen.ping.multicast.enabled: false discovery.zen.ping.unicast.hosts: ["127.0.0.1:...
cluster.name: graylog_test node.master: true node.data: true index.number_of_shards: 1 index.number_of_replicas: 0 network.host: _local:ipv4_
<|file_sep|>original/ubuntu/integration-environment-elasticsearch-5.x/elasticsearch.yml cluster.name: graylog_test node.master: true node.data: true index.number_of_shards: 1 index.number_of_replicas: 0 network.host: _local:ipv4_ discovery.zen.ping.multicast.enabled: false discovery.zen.ping.unicast.hosts: ["127.0.0.1:...
6fe87916704123369f17979299719c4a5b047284
ubuntu/integration-environment-elasticsearch-5.x/elasticsearch.yml
ubuntu/integration-environment-elasticsearch-5.x/elasticsearch.yml
YAML
<|file_sep|>original/test/Transforms/ArgumentPromotion/control-flow2.ll <|file_sep|>current/test/Transforms/ArgumentPromotion/control-flow2.ll <|file_sep|>updated/test/Transforms/ArgumentPromotion/control-flow2.ll
; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | grep 'load int\* %A' implementation internal int %callee(bool %C, int* %P) { br bool %C, label %T, label %F T: ret int 17 F: %X = load int* %P ret int %X } int %foo() { %A = alloca int store int 17, int* %A %X = call int %callee(bool false, int* %A) ret in...
<|file_sep|>original/test/Transforms/ArgumentPromotion/control-flow2.ll <|file_sep|>current/test/Transforms/ArgumentPromotion/control-flow2.ll <|file_sep|>updated/test/Transforms/ArgumentPromotion/control-flow2.ll ; RUN: llvm-as < %s | opt -argpromotion | llvm-dis | grep 'load int\* %A' implementation internal int ...
32e7a80cdb915c762ff9634f5712b00b44feeb1e
test/Transforms/ArgumentPromotion/control-flow2.ll
test/Transforms/ArgumentPromotion/control-flow2.ll
LLVM
<|file_sep|>original/pkg/shell/manifest.json { "version": 0, "linguas": { "en": "English", "ca": "Catalan", "de": "Deutsch", "da": "Dansk", "pl": "Polski", "pt_BR": "Portugueses", "tr": "Türk", "uk": "Українська" } } <|file_sep|>current/pkg/sh...
{ "version": 0, "linguas": { "en": "English", "ca": "Catalan", "de": "Deutsch", "da": "Dansk", "pl": "Polski", "pt_BR": "Portugueses", "tr": "Türkçe", "uk": "Українська" } }
<|file_sep|>original/pkg/shell/manifest.json { "version": 0, "linguas": { "en": "English", "ca": "Catalan", "de": "Deutsch", "da": "Dansk", "pl": "Polski", "pt_BR": "Portugueses", "tr": "Türk", "uk": "Українська" } } <|file_sep|>current/pkg/sh...
2a7e94a862c1010a88fcab4953cee023757df1ea
pkg/shell/manifest.json
pkg/shell/manifest.json
JSON
<|file_sep|>original/src/assets/js/main.js (function() { "use strict"; var h1 = document.getElementsByTagName("h1")[0]; h1.style.backgroundColor = "lightblue"; })(); <|file_sep|>current/src/assets/js/main.js (function() { "use strict"; var h1 = document.getElementsByTagName("h1")[0]; h1.style....
(function() { "use strict"; document.getElementsByTagName("html")[0].className = "js"; var h1 = document.getElementsByTagName("h1")[0]; h1.style.backgroundColor = "lightblue"; })();
<|file_sep|>original/src/assets/js/main.js (function() { "use strict"; var h1 = document.getElementsByTagName("h1")[0]; h1.style.backgroundColor = "lightblue"; })(); <|file_sep|>current/src/assets/js/main.js (function() { "use strict"; var h1 = document.getElementsByTagName("h1")[0]; h1.style....
76f685fce2052e203cbd7c87942218811ab33640
src/assets/js/main.js
src/assets/js/main.js
JavaScript
<|file_sep|>original/examples/restore_alerts.py print 'usage: %s <sysdig-token> <file-name>' % sys.argv[0] print 'You can find your token at https://app.sysdigcloud.com/#/settings/user' sys.exit(1) sdc_token = sys.argv[1] alerts_dump_file = sys.argv[2] # # Instantiate the SDC client # sdclient = SdcClient...
print 'You can find your token at https://app.sysdigcloud.com/#/settings/user' sys.exit(1) sdc_token = sys.argv[1] alerts_dump_file = sys.argv[2] # # Instantiate the SDC client # sdclient = SdcClient(sdc_token) with open(alerts_dump_file, 'r') as f: j = json.load(f) for a in j['alerts']: a['d...
<|file_sep|>original/examples/restore_alerts.py print 'usage: %s <sysdig-token> <file-name>' % sys.argv[0] print 'You can find your token at https://app.sysdigcloud.com/#/settings/user' sys.exit(1) sdc_token = sys.argv[1] alerts_dump_file = sys.argv[2] # # Instantiate the SDC client # sdclient = SdcClient...
986dc7064f1dfb651d6185c38a2b5070bf8926f8
examples/restore_alerts.py
examples/restore_alerts.py
Python
<|file_sep|>original/appveyor.yml platform: - x86 - x64 init: - ps: Start-FileDownload 'https://raw.githubusercontent.com/menpo/condaci/v0.4.6/condaci.py' C:\\condaci.py; echo "Done" - cmd: python C:\\condaci.py setup install: - cmd: C:\\Miniconda\\python C:\\condaci.py build ./conda notifications: - provider: Sl...
platform: - x86 - x64 init: - ps: Start-FileDownload 'https://raw.githubusercontent.com/menpo/condaci/v0.4.6/condaci.py' C:\\condaci.py; echo "Done" - cmd: python C:\\condaci.py setup install: - ps: "python" "C:\condaci.py" "miniconda_dir" | Tee-Object -Variable APPV_MINICONDA_DIR - cmd: "%APPV_MINICONDA_DIR%\python...
<|file_sep|>original/appveyor.yml platform: - x86 - x64 init: - ps: Start-FileDownload 'https://raw.githubusercontent.com/menpo/condaci/v0.4.6/condaci.py' C:\\condaci.py; echo "Done" - cmd: python C:\\condaci.py setup install: - cmd: C:\\Miniconda\\python C:\\condaci.py build ./conda notifications: - provider: Sl...
40608c21977795c9c1a2891583e1074d7c3f9534
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/src/graphql/GraphQLCV.ts fields: { ...MutableCVSectionFields, items: { type: new GraphQLList(GraphQLCVItemInput) }, }, }) export const GraphQLCV = new GraphQLObjectType({ name: 'CV', fields: { userId: { type: GraphQLString }, text: { type: GraphQLString }, sections: { t...
name: 'CVSectionInput', fields: { ...MutableCVSectionFields, items: { type: new GraphQLList(GraphQLCVItemInput) }, }, }) export const GraphQLCV = new GraphQLObjectType({ name: 'CV', fields: { userId: { type: GraphQLString }, sections: { type: new GraphQLList(GraphQLCVSection) }, }, }) expo...
<|file_sep|>original/src/graphql/GraphQLCV.ts fields: { ...MutableCVSectionFields, items: { type: new GraphQLList(GraphQLCVItemInput) }, }, }) export const GraphQLCV = new GraphQLObjectType({ name: 'CV', fields: { userId: { type: GraphQLString }, text: { type: GraphQLString }, sections: { t...
2aa52f51dadd98c6cd7a750bd739e25cc7e63e1d
src/graphql/GraphQLCV.ts
src/graphql/GraphQLCV.ts
TypeScript
<|file_sep|>original/.travis.yml script: bundle exec rake test before_install: sudo rake ci:dependencies bundler_args: --without tools env: - > ENABLE_SLOW_TESTS=1 rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ruby-head - ree - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode <|file_sep...
script: bundle exec rake test before_install: sudo rake ci:dependencies bundler_args: --without tools rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ruby-head - ree - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode matrix: allow_failures: - rvm: ruby-head
<|file_sep|>original/.travis.yml script: bundle exec rake test before_install: sudo rake ci:dependencies bundler_args: --without tools env: - > ENABLE_SLOW_TESTS=1 rvm: - 1.8.7 - 1.9.3 - 2.0.0 - ruby-head - ree - jruby-18mode - jruby-19mode - jruby-head - rbx-18mode - rbx-19mode <|file_sep...
7d839a22624fdbb79df6159d3c42444961d08e5e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/how_bad/fetcher.rb Contract C::ArrayOf[Hash], C::ArrayOf[Hash] => nil def initialize(issues, pulls) super(issues, pulls) end # Struct defines #to_h, but not #to_hash, so we alias them. alias_method :to_hash, :to_h end Contract String, C::Optional[C::RespondTo[:i...
Contract C::ArrayOf[Hash], C::ArrayOf[Hash] => nil def initialize(issues, pulls) super(issues, pulls) end # Struct defines #to_h, but not #to_hash, so we alias them. alias_method :to_hash, :to_h end Contract String, C::RespondTo[:issues, :pulls] => Results def call(repository, ...
<|file_sep|>original/lib/how_bad/fetcher.rb Contract C::ArrayOf[Hash], C::ArrayOf[Hash] => nil def initialize(issues, pulls) super(issues, pulls) end # Struct defines #to_h, but not #to_hash, so we alias them. alias_method :to_hash, :to_h end Contract String, C::Optional[C::RespondTo[:i...
c786f575fecebc7457f2c0982eec79f7957690a0
lib/how_bad/fetcher.rb
lib/how_bad/fetcher.rb
Ruby
<|file_sep|>Cargo.toml.diff original: updated: hyper = "*" <|file_sep|>original/Cargo.toml libsodium-sys = "*" log = "*" regex = "*" rustc-serialize = "*" sodiumoxide = "*" time = "*" toml = "*" url = "*" [target.'cfg(not(windows))'.dependencies] users = "*" [dev-dependencies] tempdir = "*" [dev-dependencies.hyper]...
lazy_static = "*" libarchive = "*" libc = "*" libsodium-sys = "*" log = "*" regex = "*" rustc-serialize = "*" sodiumoxide = "*" time = "*" toml = "*" url = "*" [target.'cfg(not(windows))'.dependencies] users = "*" [dev-dependencies] hyper = "*" tempdir = "*" [features] functional = []
<|file_sep|>Cargo.toml.diff original: updated: hyper = "*" <|file_sep|>original/Cargo.toml libsodium-sys = "*" log = "*" regex = "*" rustc-serialize = "*" sodiumoxide = "*" time = "*" toml = "*" url = "*" [target.'cfg(not(windows))'.dependencies] users = "*" [dev-dependencies] tempdir = "*" [dev-dependencies.hyper]...
b6c69d3b35671cb3943fdc153d9a713f13584caf
Cargo.toml
Cargo.toml
TOML
<|file_sep|>jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb.diff original: <% if p("rabbitmq-server.restart_statsdb_cron_schedule") %> updated: <% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %> <|file_sep|>original/jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-re...
<% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %> tmpfile=$(mktemp) echo 'PATH=/usr/bin:/bin:/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin' > "${tmpfile}" echo '<%= schedule %> vcap /var/vcap/packages/rabbitmq-server/bin/rabbitmqctl eval "supervisor2:terminate_child(rabbit...
<|file_sep|>jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb.diff original: <% if p("rabbitmq-server.restart_statsdb_cron_schedule") %> updated: <% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %> <|file_sep|>original/jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-re...
7d0b82f5a0b873a6c253b748eb94551dcf00789d
jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb
jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb
HTML+ERB
<|file_sep|>.pre-commit-config.yaml.diff original: - repo: https://gitlab.com/pycqa/flake8 rev: 4.0.1 updated: - repo: https://github.com/pycqa/flake8 rev: 5.0.4 <|file_sep|>.pre-commit-config.yaml.diff original: additional_dependencies: - flake8-black>=0.1.1 updated: <|file_sep|>...
- id: detect-private-key - id: fix-encoding-pragma - id: end-of-file-fixer exclude: .idea/.*|.*\.blg|.*\.json|.*\.dat - id: trailing-whitespace exclude: .idea/.*|.*\.blg|.*\.json|.*\.dat - id: mixed-line-ending exclude: .idea/.* - id: check-json - repo: ht...
<|file_sep|>.pre-commit-config.yaml.diff original: - repo: https://gitlab.com/pycqa/flake8 rev: 4.0.1 updated: - repo: https://github.com/pycqa/flake8 rev: 5.0.4 <|file_sep|>.pre-commit-config.yaml.diff original: additional_dependencies: - flake8-black>=0.1.1 updated: <|file_sep|>...
a0610a88b644cdac591fce9f1486c0976f21e29e
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - 2.1.10 - 2.0.0 script: bundle exec rspec spec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - 2.1.10 - 2.0.0 script: bundle exec rspec spec <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - 2.1.10 - 2.0.0 before_install: gem update bundler script: bundle exec rspec spec
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - 2.1.10 - 2.0.0 script: bundle exec rspec spec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.4 - 2.2.7 - 2.1.10 - 2.0.0 script: bundle exec rspec spec <|file_sep|>updated/.travis.yml language: ruby rvm:...
9d6f0e5fc19a2051da2c8d7bcd9fc2999946574f
.travis.yml
.travis.yml
YAML
<|file_sep|>OHMKit.podspec.diff original: s.version = "0.1.0" updated: s.version = "0.2.0" <|file_sep|>original/OHMKit.podspec s.name = "OHMKit" s.version = "0.1.0" s.summary = "Map service responses to objects in Objective-C." s.description = <<-DESC Map ser...
s.name = "OHMKit" s.version = "0.2.0" s.summary = "Map service responses to objects in Objective-C." s.description = <<-DESC Map service responses to objects. OHMKit is a mixin to make any Objective-C class easier to hydrate from a dictionary represent...
<|file_sep|>OHMKit.podspec.diff original: s.version = "0.1.0" updated: s.version = "0.2.0" <|file_sep|>original/OHMKit.podspec s.name = "OHMKit" s.version = "0.1.0" s.summary = "Map service responses to objects in Objective-C." s.description = <<-DESC Map ser...
f9f1600a88318dd996c295781722e29c922f4af1
OHMKit.podspec
OHMKit.podspec
Ruby
<|file_sep|>original/test/controllers/commits_controller_test.rb require "test_helper" class CommitsControllerTest < ActionController::TestCase before do goal = create :goal, points: 10 round = create :round, :open user = create :user, :auth_token => 'dah123rty', goal: goal 5.times.each do |i| ...
require "test_helper" class CommitsControllerTest < ActionController::TestCase before do user = create :user, :auth_token => 'dah123rty' 5.times.each do |i| create :commit, user: user, commit_date: Date.today, message: "commit_#{i}" end sign_in user end def test_index get :index ...
<|file_sep|>original/test/controllers/commits_controller_test.rb require "test_helper" class CommitsControllerTest < ActionController::TestCase before do goal = create :goal, points: 10 round = create :round, :open user = create :user, :auth_token => 'dah123rty', goal: goal 5.times.each do |i| ...
7a8e90c7fee9285988cd5f11bb2aea728095ca7f
test/controllers/commits_controller_test.rb
test/controllers/commits_controller_test.rb
Ruby
<|file_sep|>original/sources/FTB/ftbultimatereloaded.json { "name": "ftbultimatereloaded", "site_url": "https://www.feed-the-beast.com/projects/ftb-ultimate-reloaded/", "description": "FTB Ultimate Reloaded is one of our lighter 1.12.2 modpacks based around the original Ultimate that was released on Minecra...
"description": "FTB Ultimate Reloaded is one of our lighter 1.12.2 modpacks based around the original Ultimate that was released on Minecraft 1.4.7 over 5 years ago. Ultimate was one of FTB’s largest and popular modpacks of its time and players spent months making large factories, farms, railcraft rail networks a...
<|file_sep|>original/sources/FTB/ftbultimatereloaded.json { "name": "ftbultimatereloaded", "site_url": "https://www.feed-the-beast.com/projects/ftb-ultimate-reloaded/", "description": "FTB Ultimate Reloaded is one of our lighter 1.12.2 modpacks based around the original Ultimate that was released on Minecra...
39b435ca5cee5d68bfba4581500f0332f2694360
sources/FTB/ftbultimatereloaded.json
sources/FTB/ftbultimatereloaded.json
JSON
<|file_sep|>original/docs/requirements.txt sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1 <|file_sep|>current/docs/requirements.txt sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1 <|file_sep|>updated/docs/requirements.txt
sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1 -e .
<|file_sep|>original/docs/requirements.txt sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1 <|file_sep|>current/docs/requirements.txt sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-sphinx-search==0.1.1 <|file_sep|>updated/docs/requirements.txt sphinx==4.2.0 sphinx_rtd_theme==1.0.0 readthedocs-s...
ccbd84e1f7fc6c43a0edeab3c2bce7a30a7864da
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>.github/workflows/ci.yml.diff original: name: Paysafe updated: name: Tests <|file_sep|>.github/workflows/ci.yml.diff original: on: [push] updated: on: push: branches: [ master ] pull_request: branches: [ master ] <|file_sep|>.github/workflows/ci.yml.diff original: - uses: actions/setup-ruby...
ruby: [ '2.4', '2.5', '2.6', '2.7' ] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run Tests ...
<|file_sep|>.github/workflows/ci.yml.diff original: name: Paysafe updated: name: Tests <|file_sep|>.github/workflows/ci.yml.diff original: on: [push] updated: on: push: branches: [ master ] pull_request: branches: [ master ] <|file_sep|>.github/workflows/ci.yml.diff original: - uses: actions/setup-ruby...
e5f26561e84a60ef996a95516b4c3a4d8b67c976
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/lib/flipper/api/v1/actions/groups_gate.rb feature = flipper[feature_name] feature.disable_group(group_name) decorated_feature = Decorators::Feature.new(feature) json_response(decorated_feature.as_json, 200) end private ...
feature = flipper[feature_name] feature.disable_group(group_name) decorated_feature = Decorators::Feature.new(feature) json_response(decorated_feature.as_json, 200) end private def ensure_valid_params return if allow_unregistere...
<|file_sep|>original/lib/flipper/api/v1/actions/groups_gate.rb feature = flipper[feature_name] feature.disable_group(group_name) decorated_feature = Decorators::Feature.new(feature) json_response(decorated_feature.as_json, 200) end private ...
8d7d60f62abeecc106f4641b656d960b365608e4
lib/flipper/api/v1/actions/groups_gate.rb
lib/flipper/api/v1/actions/groups_gate.rb
Ruby
<|file_sep|>original/ua_tests.sh <|file_sep|>current/ua_tests.sh <|file_sep|>updated/ua_tests.sh
test_key_to_phrase() { actual=$(./keyphrase 0xFFFF562F8F9A961E158BDE2D4CCD2A64BB1D923208939714675BFAB28BBAF2A3) expected="zyzzyvas flutings mushers octopuses bizones talkier evokers coagent ringer neutral antipode omnibus havening whistles mistitled vacuums" if [ "$actual" != "$expected" ] then ...
<|file_sep|>original/ua_tests.sh <|file_sep|>current/ua_tests.sh <|file_sep|>updated/ua_tests.sh test_key_to_phrase() { actual=$(./keyphrase 0xFFFF562F8F9A961E158BDE2D4CCD2A64BB1D923208939714675BFAB28BBAF2A3) expected="zyzzyvas flutings mushers octopuses bizones talkier evokers coagent ringer neutral antipode...
7162335a441f80c421711ce9388a8626801848fb
ua_tests.sh
ua_tests.sh
Shell
<|file_sep|>original/cloud_maker/py_version.py class VersionError (ValueError): pass def check_ex (): v = sys.version_info if v.major == 3: if v.minor < 3 or (v.minor == 3 and v.micro < 4): raise VersionError("Error: this is Python 3.{}.{}, not 3.3.4+".format(v.minor, v.micro)) elif...
class VersionError (ValueError): pass def check_ex (): v = sys.version_info if v.major == 3: if v.minor < 3 or (v.minor == 3 and v.micro < 4): raise VersionError("Error: this is Python 3.{}.{}, not 3.3.4+".format(v.minor, v.micro)) elif v.major == 2: if v.minor < 7: ...
<|file_sep|>original/cloud_maker/py_version.py class VersionError (ValueError): pass def check_ex (): v = sys.version_info if v.major == 3: if v.minor < 3 or (v.minor == 3 and v.micro < 4): raise VersionError("Error: this is Python 3.{}.{}, not 3.3.4+".format(v.minor, v.micro)) elif...
911a7a2fb68f4dcc64e88b65b758e4a06b2d7dcb
cloud_maker/py_version.py
cloud_maker/py_version.py
Python
<|file_sep|>original/publish/database/migrations/2015_01_01_000000_create_laralytics_custom_table.php $engine = Config::get('database.default'); $table->increments('id'); $table->integer('user_id')->index()->nullable(); $table->string('hash', 64)->index(); $...
$engine = Config::get('database.default'); $table->increments('id'); $table->integer('user_id')->index()->nullable(); $table->string('hash', 64)->index(); $table->string('host', 255)->index(); $table->string('path', 255); $table->stri...
<|file_sep|>original/publish/database/migrations/2015_01_01_000000_create_laralytics_custom_table.php $engine = Config::get('database.default'); $table->increments('id'); $table->integer('user_id')->index()->nullable(); $table->string('hash', 64)->index(); $...
0a837bd32dba2ec9d88fd4fb8b20d11bd5fcbd9a
publish/database/migrations/2015_01_01_000000_create_laralytics_custom_table.php
publish/database/migrations/2015_01_01_000000_create_laralytics_custom_table.php
PHP
<|file_sep|>original/tests/shell/check_oclint.sh echo "Compilation database not found" >&2 exit 0 } cd "@CMAKE_SOURCE_DIR@" || exit oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \ "src/libs/ease/array.c" \ "src/libs/ease/keyname.c" \ "src/libs/utility/text.c" \ "src/plugi...
exit 0 } cd "@CMAKE_SOURCE_DIR@" || exit oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \ "src/libs/ease/array.c" \ "src/libs/ease/keyname.c" \ "src/libs/utility/text.c" \ "src/plugins/base64/"*.c \ "src/plugins/camel/camel.c" \ "src/plugins/ccode/"*.cpp \ "src/plugins/c...
<|file_sep|>original/tests/shell/check_oclint.sh echo "Compilation database not found" >&2 exit 0 } cd "@CMAKE_SOURCE_DIR@" || exit oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-analyzer \ "src/libs/ease/array.c" \ "src/libs/ease/keyname.c" \ "src/libs/utility/text.c" \ "src/plugi...
bcd9134b3fca7d146f96d2a8d00fe369c4e25256
tests/shell/check_oclint.sh
tests/shell/check_oclint.sh
Shell
<|file_sep|>plugin.xml.diff original: <!-- updated: <|file_sep|>original/plugin.xml <js-module src="www/wavToAacConverter.js" name="WavToAacConverter"> <clobbers target="window.gr.eworx.WavToAacConverter" /> </js-module> <platform name="ios"> <config-file target="config.xm...
<js-module src="www/wavToAacConverter.js" name="WavToAacConverter"> <clobbers target="window.gr.eworx.WavToAacConverter" /> </js-module> <platform name="ios"> <config-file target="config.xml" parent="/*"> <feature name="WavToAacConverter"> <param name="i...
<|file_sep|>plugin.xml.diff original: <!-- updated: <|file_sep|>original/plugin.xml <js-module src="www/wavToAacConverter.js" name="WavToAacConverter"> <clobbers target="window.gr.eworx.WavToAacConverter" /> </js-module> <platform name="ios"> <config-file target="config.xm...
b2b14a8e5dc3a4a4801cd17a0c48d3d12bfc4034
plugin.xml
plugin.xml
XML
<|file_sep|>lib/backlog_kit/client/group.rb.diff original: updated: # Methods for the Group API <|file_sep|>lib/backlog_kit/client/group.rb.diff original: updated: # Get list of groups # # @param params [Hash] Request parameters # @return [BacklogKit::Response] List of groups <|file_sep|...
end # Update a group # # @param group_id [Integer, String] Group id # @param params [Hash] Request parameters # @return [BacklogKit::Response] The group information def update_group(group_id, params = {}) patch("groups/#{group_id}", params) end # Delete a ...
<|file_sep|>lib/backlog_kit/client/group.rb.diff original: updated: # Methods for the Group API <|file_sep|>lib/backlog_kit/client/group.rb.diff original: updated: # Get list of groups # # @param params [Hash] Request parameters # @return [BacklogKit::Response] List of groups <|file_sep|...
60937fd405627f796be01a93d930758ebec1cd7f
lib/backlog_kit/client/group.rb
lib/backlog_kit/client/group.rb
Ruby
<|file_sep|>original/.swiftlint.yml - optional_enum_case_matching - private_action - private_outlet - prohibited_interface_builder - reduce_into - sorted_first_last - static_operator - switch_case_on_newline - toggle_bool - trailing_closure - unavailable_function - unowned_variable_capture - v...
- private_outlet - prohibited_interface_builder - reduce_into - sorted_first_last - static_operator - switch_case_on_newline - toggle_bool - trailing_closure - unavailable_function - unowned_variable_capture - vertical_parameter_alignment_on_call - vertical_whitespace_closing_braces - yoda_con...
<|file_sep|>original/.swiftlint.yml - optional_enum_case_matching - private_action - private_outlet - prohibited_interface_builder - reduce_into - sorted_first_last - static_operator - switch_case_on_newline - toggle_bool - trailing_closure - unavailable_function - unowned_variable_capture - v...
38792c3f41be7cc184371163a268be397dba3507
.swiftlint.yml
.swiftlint.yml
YAML
<|file_sep|>recipes-webos/adapterbase/adapterbase.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/recipes-webos/adapterbase/adapterbase.bb S = "${WORKDIR}/git" ALLOW_EMPTY_${PN} = "1" do_configure() { # remove these from staging to ensure we are picking up # the correct versions during com...
ALLOW_EMPTY_${PN} = "1" do_configure() { # remove these from staging to ensure we are picking up # the correct versions during compilation. rm -f ${D}${includedir}/AdapterBase.h rm -f ${D}${libdir}/AdapterBase.a } do_compile() { LUNA_STAGING="." make } do_install() { install -d ${D}${include...
<|file_sep|>recipes-webos/adapterbase/adapterbase.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/recipes-webos/adapterbase/adapterbase.bb S = "${WORKDIR}/git" ALLOW_EMPTY_${PN} = "1" do_configure() { # remove these from staging to ensure we are picking up # the correct versions during com...
74596797cbd21b88e662edae61a10d1ef4214a7d
recipes-webos/adapterbase/adapterbase.bb
recipes-webos/adapterbase/adapterbase.bb
BitBake
<|file_sep|>original/.travis.yml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 env: - DB=mongodb - DB=mysql - DB=redis-server before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'; fi" services: - mongodb - redis-server install: - if [[ $TRAVIS_PYTHON_VER...
sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 env: - DB=mongodb - DB=mysql - DB=redis-server before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'; fi" services: - mongodb - redis-server install: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip ...
<|file_sep|>original/.travis.yml sudo: false language: python python: - 2.6 - 2.7 - 3.3 - 3.4 env: - DB=mongodb - DB=mysql - DB=redis-server before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'; fi" services: - mongodb - redis-server install: - if [[ $TRAVIS_PYTHON_VER...
f0d7c375c603a9227262dedc0a684c05b4a87ee7
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - install: - pip install .[dev] - script: - cd tests - py.test <|file_sep|>.travis.yml.diff original: - install: - pip install .[dev] script: - cd tests - py.test updated: <|file_sep|>original/.travis.yml language: python cache: pip py...
language: python cache: pip python: - "3.4" - "3.5" - "3.6" - install: - pip install .[dev] - script: - cd tests - py.test jobs: include: - stage: compliance script: pre-commit run --all-files stages: - test - compliance
<|file_sep|>.travis.yml.diff original: updated: - install: - pip install .[dev] - script: - cd tests - py.test <|file_sep|>.travis.yml.diff original: - install: - pip install .[dev] script: - cd tests - py.test updated: <|file_sep|>original/.travis.yml language: python cache: pip py...
6739fb6b4ac2d65c09ab04431ea117007ee37bb9
.travis.yml
.travis.yml
YAML
<|file_sep|>readme.txt.diff original: (c) 2006-2015 INRIA, USTL, UJF, CNRS, MGH updated: (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH <|file_sep|>original/readme.txt SOFA is an Open Source framework primarily targeted at real-time simulation, with an emphasis on medical simulation. It is mainly intended for the...
SOFA is an Open Source framework primarily targeted at real-time simulation, with an emphasis on medical simulation. It is mainly intended for the research community to help foster newer algorithms, but can also be used as an efficient prototyping tool. SOFA's advanced software architecture allows: (1) the creation ...
<|file_sep|>readme.txt.diff original: (c) 2006-2015 INRIA, USTL, UJF, CNRS, MGH updated: (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH <|file_sep|>original/readme.txt SOFA is an Open Source framework primarily targeted at real-time simulation, with an emphasis on medical simulation. It is mainly intended for the...
e4940191fd449230831611a93f10815baab92aef
readme.txt
readme.txt
Text
<|file_sep|>original/bubble-sort.c <|file_sep|>current/bubble-sort.c <|file_sep|>updated/bubble-sort.c
#include <stdio.h> #include <stdlib.h> int main() { int a[100],i,j,n,t; printf("Enter the value of n (num. of ints)"); scanf("%d",&n); for(i=0;i<=n-1;i++) { printf("Enter a number:"); scanf("%d",&a[i]); printf(" Good, %d to go\n", n-1-i); } printf(" Start sorting ... \n"); // //Bubb...
<|file_sep|>original/bubble-sort.c <|file_sep|>current/bubble-sort.c <|file_sep|>updated/bubble-sort.c #include <stdio.h> #include <stdlib.h> int main() { int a[100],i,j,n,t; printf("Enter the value of n (num. of ints)"); scanf("%d",&n); for(i=0;i<=n-1;i++) { printf("Enter a number:"); scanf("%d...
74089c3090eccc25b79a1d0518a5364c70297f69
bubble-sort.c
bubble-sort.c
C
<|file_sep|>original/package.json { "name": "EuNodeConfig", "version": "0.0.3", "description": "A simple config file loader", "main": "index.js", "directories": { "test": "test" }, "dependencies": { "async": "^0.9.0", "chai": "^1.10.0", "change-case": "^2.1.5", "q": "^1.1.1", "unde...
{ "name": "eu-node-config", "version": "0.0.3", "description": "A simple config file loader", "main": "index.js", "directories": { "test": "test" }, "dependencies": { "async": "^0.9.0", "chai": "^1.10.0", "change-case": "^2.1.5", "q": "^1.1.1", "underscore": "^1.7.0", "yamljs":...
<|file_sep|>original/package.json { "name": "EuNodeConfig", "version": "0.0.3", "description": "A simple config file loader", "main": "index.js", "directories": { "test": "test" }, "dependencies": { "async": "^0.9.0", "chai": "^1.10.0", "change-case": "^2.1.5", "q": "^1.1.1", "unde...
bcfbadb6b87dcc9af8f5a3437d1d360654d7db65
package.json
package.json
JSON
<|file_sep|>original/src/containers/Posts.jsx isFetching, isPopup, itemsPerPage, links, meta: { totalItems }, page }) => { return ( <div> <Helmet title={ `Page ${page}` } /> <div className="posts"> { (isFetching ? <Loading /> : (data[page] ...
isFetching, isPopup, itemsPerPage, links, meta: { totalItems }, page }) => { return ( <div> <Helmet title={ (page === 1 ? 'Nomkhonwaan' : `Page ${page}`) } /> <div className="posts"> { (isFetching ? <Loading /> : (data[p...
<|file_sep|>original/src/containers/Posts.jsx isFetching, isPopup, itemsPerPage, links, meta: { totalItems }, page }) => { return ( <div> <Helmet title={ `Page ${page}` } /> <div className="posts"> { (isFetching ? <Loading /> : (data[page] ...
9a94b20a1400cbeb095886749516224cd2a2d16b
src/containers/Posts.jsx
src/containers/Posts.jsx
JSX
<|file_sep|>original/Readme.md n() === **Pure DOM nodes in Mithril templates.** This is a work in progress -------------------------- Coming soon: - Tests, first of all. - Feature: mix and match nodes and virtualElements – as discussed [here](https://github.com/lhorie/mithril.js/issues/326) (many thanks to [Barne...
n() === **Pure DOM nodes in [Mithril][] templates.** [Mithril]: http://lhorie.github.io/mithril/ This is a work in progress -------------------------- Coming soon: - Tests, first of all. - Feature: mix and match nodes and virtualElements – as discussed [here](https://github.com/lhorie/mithril.js/issues/326) (man...
<|file_sep|>original/Readme.md n() === **Pure DOM nodes in Mithril templates.** This is a work in progress -------------------------- Coming soon: - Tests, first of all. - Feature: mix and match nodes and virtualElements – as discussed [here](https://github.com/lhorie/mithril.js/issues/326) (many thanks to [Barne...
94fb94ab9b1056bc9ab4ba13760b5d3037a7b248
Readme.md
Readme.md
Markdown
<|file_sep|>original/src/server/convert.py <|file_sep|>current/src/server/convert.py <|file_sep|>updated/src/server/convert.py
# midi-beeper-orchestra - program to create an orchestra from PC speakers # Copyright (C) 2015 The Underscores # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Lice...
<|file_sep|>original/src/server/convert.py <|file_sep|>current/src/server/convert.py <|file_sep|>updated/src/server/convert.py # midi-beeper-orchestra - program to create an orchestra from PC speakers # Copyright (C) 2015 The Underscores # This program is free software: you can redistribute it and/or modify # it unde...
f6c64846fc066403d39d7cb60ce0bcc455aff2d5
src/server/convert.py
src/server/convert.py
Python
<|file_sep|>original/assets/logic/router.coffee Routing paths `/` - (home) app index `/:location` - (location) weather detail for a specific location ### routes = [ { name: 'home' path: '/' component: require '../components/home' children: [ { name: 'location' path: ':...
Routing paths `/` - (home) app index `/:location` - (location) weather detail for a specific location ### routes = [ { name: 'home' path: '/' component: require '../components/home' children: [ { name: 'location' path: ':slug' component: require '../components/...
<|file_sep|>original/assets/logic/router.coffee Routing paths `/` - (home) app index `/:location` - (location) weather detail for a specific location ### routes = [ { name: 'home' path: '/' component: require '../components/home' children: [ { name: 'location' path: ':...
449749de80d3ee6b8b70eae33c05021a88dc5b47
assets/logic/router.coffee
assets/logic/router.coffee
CoffeeScript
<|file_sep|>python/ecep/portal/static/js/require-config.js.diff original: async: '../lib/require-plugins/async' updated: Handlebars: '../lib/handlebars', async: '../lib/require-plugins/async', text: '../lib/require-plugins/text' <|file_sep|>original/python/ecep/portal/static/js/require-c...
}, 'Leaflet': { exports: 'L' }, 'Leaflet-google': { deps: ['Leaflet'], exports: 'L.Google' }, '../lib/response': { deps: ['jquery'], exports: 'Response', init: function ($) { return th...
<|file_sep|>python/ecep/portal/static/js/require-config.js.diff original: async: '../lib/require-plugins/async' updated: Handlebars: '../lib/handlebars', async: '../lib/require-plugins/async', text: '../lib/require-plugins/text' <|file_sep|>original/python/ecep/portal/static/js/require-c...
b5fb06cd2ec7598846fced60ebd1c4ce47d0bf0c
python/ecep/portal/static/js/require-config.js
python/ecep/portal/static/js/require-config.js
JavaScript
<|file_sep|>original/requirements.txt celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 cryptography==1.9 flower==0.9.2 gunicorn==19.7.1 httplib2==0.10.3 itsdangerous==0.24 kombu==4.0.2 nose==1.3.7 oauth2client==4.1.1 pika==0.10.0 psycopg2==2.7.1 pycparser==2.17 pytz==2017.2 six==1.10.0 tornado==4.5.1 twilio==3.6.10 urllib...
celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 cryptography==1.9 flower==0.9.2 gunicorn==19.7.1 httplib2==0.10.3 itsdangerous==0.24 kombu==4.0.2 nose==1.3.7 oauth2client==4.1.1 pika==0.10.0 psycopg2==2.7.1 pycparser==2.17 pytz==2017.2 six==1.10.0 tornado==4.5.1 twilio==6.4.1 urllib3==1.9.1 virtualenv==1.11.6 wsgiref==0....
<|file_sep|>original/requirements.txt celery==4.0.2 certifi==2017.4.17 cffi==1.10.0 cryptography==1.9 flower==0.9.2 gunicorn==19.7.1 httplib2==0.10.3 itsdangerous==0.24 kombu==4.0.2 nose==1.3.7 oauth2client==4.1.1 pika==0.10.0 psycopg2==2.7.1 pycparser==2.17 pytz==2017.2 six==1.10.0 tornado==4.5.1 twilio==3.6.10 urllib...
d7b56b3a1f7b2de21c09cb2803eb23879ed93bb5
requirements.txt
requirements.txt
Text
<|file_sep|>openstack_dashboard/dashboards/admin/volume_types/templates/volume_types/qos_specs/_create.html.diff original: Valid key names are expected in the QoS specs. The acceptable values for key are <tt>"minIOPS", "maxIOPS" and "burstIOPS"</tt>. updated: Valid key names are expected in the QoS specs. R...
<p>{% blocktrans trimmed %} Create a new "spec" key-value pair for QoS Spec "{{ qos_spec_name }}". Valid key names are expected in the QoS specs. Refer to Cinder documentation for the supported front-end and back-end keys. {% endblocktrans %} </p> <p> {% trans "Front-End Example:" %} <ul> ...
<|file_sep|>openstack_dashboard/dashboards/admin/volume_types/templates/volume_types/qos_specs/_create.html.diff original: Valid key names are expected in the QoS specs. The acceptable values for key are <tt>"minIOPS", "maxIOPS" and "burstIOPS"</tt>. updated: Valid key names are expected in the QoS specs. R...
e480773184e5b10d6fae2dc270999bb10a5affa5
openstack_dashboard/dashboards/admin/volume_types/templates/volume_types/qos_specs/_create.html
openstack_dashboard/dashboards/admin/volume_types/templates/volume_types/qos_specs/_create.html
HTML
<|file_sep|>script_helpers.py.diff original: updated: <|file_sep|>original/script_helpers.py """ from argparse import RawDescriptionHelpFormatter parser.formatter_class = RawDescriptionHelpFormatter if additional_docs is not None: parser.epilog = additional_docs def add_verbose(parser): ...
Parameters: ----------- parser : `ArgumentParser` """ verbose_help = "provide more information during processing" parser.add_argument("-v", "--verbose", help=verbose_help, action="store_true") def add_directories(parser): """ Add a positional argument that is...
<|file_sep|>script_helpers.py.diff original: updated: <|file_sep|>original/script_helpers.py """ from argparse import RawDescriptionHelpFormatter parser.formatter_class = RawDescriptionHelpFormatter if additional_docs is not None: parser.epilog = additional_docs def add_verbose(parser): ...
6ea9492ae32ad744da4803dcab3cf57334dd69e5
script_helpers.py
script_helpers.py
Python
<|file_sep|>original/lib/epub/publication/package/guide.rb def references @references ||= [] end def <<(reference) reference.guide = self references << reference end # Should use epub:type list? %w[cover title-page toc index glossary ackno...
def references @references ||= [] end def <<(reference) reference.guide = self references << reference end %w[cover title-page toc index glossary acknowledgements bibliography colophon copyright-page dedication epigraph foreword loi lot notes pref...
<|file_sep|>original/lib/epub/publication/package/guide.rb def references @references ||= [] end def <<(reference) reference.guide = self references << reference end # Should use epub:type list? %w[cover title-page toc index glossary ackno...
c90389ce87c5068b67bbc8aaadde0b2ae7dcce92
lib/epub/publication/package/guide.rb
lib/epub/publication/package/guide.rb
Ruby
<|file_sep|>original/ci/jruby_download_commons_compress.sh VERSION=1.5 JAR_PATH=commons-compress-${VERSION}/commons-compress-${VERSION}.jar URL=http://www.us.apache.org/dist/commons/compress/binaries/commons-compress-${VERSION}-bin.tar.gz if `ruby -v | grep -q jruby`; then mkdir java > /dev/null 2>&1 curl $URL | t...
VERSION=1.13 JAR_PATH=commons-compress-${VERSION}/commons-compress-${VERSION}.jar URL=http://www.us.apache.org/dist/commons/compress/binaries/commons-compress-${VERSION}-bin.tar.gz if `ruby -v | grep -q jruby`; then mkdir java > /dev/null 2>&1 curl $URL | tar -xz -C java $JAR_PATH export CLASSPATH=java/${JAR_PAT...
<|file_sep|>original/ci/jruby_download_commons_compress.sh VERSION=1.5 JAR_PATH=commons-compress-${VERSION}/commons-compress-${VERSION}.jar URL=http://www.us.apache.org/dist/commons/compress/binaries/commons-compress-${VERSION}-bin.tar.gz if `ruby -v | grep -q jruby`; then mkdir java > /dev/null 2>&1 curl $URL | t...
a5f2934872229ac62582b96d3c2ff2fdd2883737
ci/jruby_download_commons_compress.sh
ci/jruby_download_commons_compress.sh
Shell
<|file_sep|>.github/workflows/pythonpackage.yml.diff original: runs-on: ubuntu-latest updated: runs-on: ${{ matrix.os }} <|file_sep|>original/.github/workflows/pythonpackage.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7...
on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: max-parallel: 4 matrix: python-version: [2.7, 3.4, 3.5, 3.6, 3.7] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} ...
<|file_sep|>.github/workflows/pythonpackage.yml.diff original: runs-on: ubuntu-latest updated: runs-on: ${{ matrix.os }} <|file_sep|>original/.github/workflows/pythonpackage.yml on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7...
6c3694a56b9295d021c6c63903a583412990ca28
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
YAML
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>HousingDataServer</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> </head> <body> <div class="navbar"> <ul cla...
<title>HousingDataServer</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> </head> <body> <p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p> <header class="navbar navbar-inverse"> <div cl...
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>HousingDataServer</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> </head> <body> <div class="navbar"> <ul cla...
5f3ff60a3c6b31b9fd59e5e739fc34ce54eac18b
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>wafer/pages/serializers.py.diff original: updated: from reversion import revisions <|file_sep|>wafer/pages/serializers.py.diff original: updated: exclude = ('_content_rendered',) <|file_sep|>wafer/pages/serializers.py.diff original: updated: @revisions.create_revision() <|file_sep|>wafer/page...
from wafer.pages.models import Page class PageSerializer(serializers.ModelSerializer): class Meta: model = Page exclude = ('_content_rendered',) @revisions.create_revision() def create(self, validated_data): revisions.set_comment("Created via REST api") return super(PageS...
<|file_sep|>wafer/pages/serializers.py.diff original: updated: from reversion import revisions <|file_sep|>wafer/pages/serializers.py.diff original: updated: exclude = ('_content_rendered',) <|file_sep|>wafer/pages/serializers.py.diff original: updated: @revisions.create_revision() <|file_sep|>wafer/page...
11ab81f67df3f7579cb1b85d87499480c3cea351
wafer/pages/serializers.py
wafer/pages/serializers.py
Python
<|file_sep|>pkg/utils/utils_test.go.diff original: updated: ms := make(map[string]struct{}) var mu sync.Mutex <|file_sep|>original/pkg/utils/utils_test.go assert.Len(t, s2, 20) assert.Len(t, s3, 10) assert.Len(t, s4, 20) assert.NotEqual(t, s1, s2) assert.Equal(t, s1, s3) assert.Equal(t, s2, s4) } func Test...
func TestRandomStringConcurrentAccess(t *testing.T) { n := 10000 var wg sync.WaitGroup wg.Add(n) ms := make(map[string]struct{}) var mu sync.Mutex for i := 0; i < n; i++ { go func() { s := RandomString(10) defer wg.Done() mu.Lock() defer mu.Unlock() if _, ok := ms[s]; ok { t.Fatal("should b...
<|file_sep|>pkg/utils/utils_test.go.diff original: updated: ms := make(map[string]struct{}) var mu sync.Mutex <|file_sep|>original/pkg/utils/utils_test.go assert.Len(t, s2, 20) assert.Len(t, s3, 10) assert.Len(t, s4, 20) assert.NotEqual(t, s1, s2) assert.Equal(t, s1, s3) assert.Equal(t, s2, s4) } func Test...
5f0808175bc15069038ea1eaa6175d4ca928b951
pkg/utils/utils_test.go
pkg/utils/utils_test.go
Go
<|file_sep|>original/install-build-deps-ubuntu.sh # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
<|file_sep|>original/install-build-deps-ubuntu.sh # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
694b31d6e8e90f090270f5a5febf090353ec1ce6
install-build-deps-ubuntu.sh
install-build-deps-ubuntu.sh
Shell
<|file_sep|>original/webapp/src/main/resources/application.yml # See the License for the specific language governing permissions and # limitations under the License. # server: servlet: context-path: / spring: graphql: graphiql: enabled: true path: /graphiql schema: printer: en...
spring: graphql: graphiql: enabled: true path: /graphiql schema: printer: enabled: true logging: level: root: INFO graphql : WARN notprivacysafe : OFF springdoc: swagger-ui: tagsSorter: alpha operations-sorter: alpha path: /swagger-ui.html
<|file_sep|>original/webapp/src/main/resources/application.yml # See the License for the specific language governing permissions and # limitations under the License. # server: servlet: context-path: / spring: graphql: graphiql: enabled: true path: /graphiql schema: printer: en...
b98a9c0cc0942d7ca6b1492fe7748de36024db25
webapp/src/main/resources/application.yml
webapp/src/main/resources/application.yml
YAML
<|file_sep|>original/.travis.yml - npm install script: - npm run build:static before_deploy: - source scripts/4660933598635778-openrc.sh - pip install python-swiftclient python-keystoneclient --user deploy: # deploy next to the staging environment - provider: script skip_cleanup: true script: bash s...
- npm install script: - npm run build:static before_deploy: - source scripts/4660933598635778-openrc.sh - pip install python-swiftclient python-keystoneclient --user deploy: # deploy next to the staging environment - provider: script skip_cleanup: true script: bash scripts/deploy.sh on: br...
<|file_sep|>original/.travis.yml - npm install script: - npm run build:static before_deploy: - source scripts/4660933598635778-openrc.sh - pip install python-swiftclient python-keystoneclient --user deploy: # deploy next to the staging environment - provider: script skip_cleanup: true script: bash s...
bb7ea7a2dee92e8ae0056a22be2944975ecef9d1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy final class MavenRunner { File installationDir File projectDir File multiModuleProjectDir List<String> arguments String runBuild() { def installationBinDir = new File(installationDir, 'b...
final class MavenRunner { File installationDir File projectDir File multiModuleProjectDir List<String> arguments String runBuild() { def installationBinDir = new File(installationDir, 'bin') def mvnExecutableName = System.getProperty('os.name').toLowerCase().contains('win') ? 'mvn...
<|file_sep|>original/agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy final class MavenRunner { File installationDir File projectDir File multiModuleProjectDir List<String> arguments String runBuild() { def installationBinDir = new File(installationDir, 'b...
e2f1118b7542f2610a262d0e6febb4f1fbeae65e
agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy
agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy
Groovy
<|file_sep|>original/requirements.txt cffi==1.11.5 celery==3.1.25 # pyup: <4 docopt==0.6.2 Flask-Bcrypt==0.7.1 Flask-Marshmallow==0.8.0 Flask-Migrate==2.1.1 Flask-SQLAlchemy==2.3.2 Flask==0.12.2 click-datetime==0.2 eventlet==0.22.1 gunicorn==19.7.1 iso8601==0.1.12 jsonschema==2.6.0 marshmallow-sqlalchemy==0.13.2 marshm...
cffi==1.11.5 celery==3.1.25 # pyup: <4 docopt==0.6.2 Flask-Bcrypt==0.7.1 Flask-Marshmallow==0.8.0 Flask-Migrate==2.1.1 Flask-SQLAlchemy==2.3.2 Flask==0.12.2 click-datetime==0.2 eventlet==0.22.1 gunicorn==19.8.1 iso8601==0.1.12 jsonschema==2.6.0 marshmallow-sqlalchemy==0.13.2 marshmallow==2.15.0 monotonic==1.4 psycopg2-...
<|file_sep|>original/requirements.txt cffi==1.11.5 celery==3.1.25 # pyup: <4 docopt==0.6.2 Flask-Bcrypt==0.7.1 Flask-Marshmallow==0.8.0 Flask-Migrate==2.1.1 Flask-SQLAlchemy==2.3.2 Flask==0.12.2 click-datetime==0.2 eventlet==0.22.1 gunicorn==19.7.1 iso8601==0.1.12 jsonschema==2.6.0 marshmallow-sqlalchemy==0.13.2 marshm...
f924918d1e3a511f23366e6da5eba9416a8a76f6
requirements.txt
requirements.txt
Text
<|file_sep|>spec/unit/resources/package_spec.rb.diff original: updated: expect(stow_package_run).to run_execute('stow_foo-1.0.0') <|file_sep|>original/spec/unit/resources/package_spec.rb end context 'stow a package with only a name and version' do it 'stows stow_package[foo]' do expect(stow_packag...
context 'stow a package with only a name and version' do it 'stows stow_package[foo]' do expect(stow_package_run).to stow_package('foo').with( name: 'foo', version: '1.0.0' ) expect(stow_package_run).to run_execute('stow_foo-1.0.0') end end context 'destows a package wit...
<|file_sep|>spec/unit/resources/package_spec.rb.diff original: updated: expect(stow_package_run).to run_execute('stow_foo-1.0.0') <|file_sep|>original/spec/unit/resources/package_spec.rb end context 'stow a package with only a name and version' do it 'stows stow_package[foo]' do expect(stow_packag...
3da02b862f0023013e0abf335da400e164477e69
spec/unit/resources/package_spec.rb
spec/unit/resources/package_spec.rb
Ruby
<|file_sep|>original/azure-pipelines-integration-lsp.yml # Separate pipeline from normal integration CI to allow branches to change legs # Branches that trigger a build on commit trigger: - main - main-vs-deps - release/* - features/* - demos/* pr: none jobs: - job: VS_Integration_LSP pool: name: NetCorePublic...
# Separate pipeline from normal integration CI to allow branches to change legs # Branches that trigger a build on commit trigger: - main - main-vs-deps - release/* - features/* - demos/* # Branches that are allowed to trigger a build via /azp run. # Automatic building of all PRs is disabled in the pipelines trigger ...
<|file_sep|>original/azure-pipelines-integration-lsp.yml # Separate pipeline from normal integration CI to allow branches to change legs # Branches that trigger a build on commit trigger: - main - main-vs-deps - release/* - features/* - demos/* pr: none jobs: - job: VS_Integration_LSP pool: name: NetCorePublic...
4d8ab75bf0af1cc8e616b725b89d1911260e9fb5
azure-pipelines-integration-lsp.yml
azure-pipelines-integration-lsp.yml
YAML
<|file_sep|>granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <|file_sep|>original/granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java package org.granite.c...
package org.granite.classification.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.TreeSet; @JsonIgnoreProperties(ignoreUnknown = true) public class TrainingText implements Comparable<TrainingText> { private int id; private TreeSet<String> classifications = new TreeSet<>...
<|file_sep|>granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <|file_sep|>original/granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java package org.granite.c...
5cb6806880ea87a9570a6f8520db1e9263753b61
granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java
granite-text-classifier/src/main/java/org/granite/classification/model/TrainingText.java
Java