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/svnwatch.go fatalf("%s: invalid interval: %d", os.Args[0], *interval) } if err != nil { fatalf(err) } for { if err := watcher.Update(); err != nil { fatalf(err) } watcher.Save("./config") if *interval > 0 { time.Sleep(time.Duration(*interval) * time.Second) } else { b...
if err != nil { fatalf(err) } for { if err := watcher.Update(); err != nil { fatalf(err) } if err := watcher.Save(*configDir); err != nil { fatalf(err) } if *interval > 0 { time.Sleep(time.Duration(*interval) * time.Second) } else { break } } }
<|file_sep|>original/svnwatch.go fatalf("%s: invalid interval: %d", os.Args[0], *interval) } if err != nil { fatalf(err) } for { if err := watcher.Update(); err != nil { fatalf(err) } watcher.Save("./config") if *interval > 0 { time.Sleep(time.Duration(*interval) * time.Second) } else { b...
9fb325a4c68c9fec93c7ff526b40a862eed695b5
svnwatch.go
svnwatch.go
Go
<|file_sep|>original/PBWebViewController.podspec Pod::Spec.new do |s| s.name = 'PBWebViewController' s.version = '0.2' s.summary = 'A light-weight, simple and extendible web browser component for iOS.' s.homepage = 'https://github.com/kmikael/PBWebViewController' s.screenshots = 'http:/...
Pod::Spec.new do |s| s.name = 'PBWebViewController' s.version = '0.2' s.summary = 'A light-weight, simple and extendible web browser component for iOS.' s.homepage = 'https://github.com/kmikael/PBWebViewController' s.license = {:type => 'MIT', :file => 'LICENSE.txt'} s.author ...
<|file_sep|>original/PBWebViewController.podspec Pod::Spec.new do |s| s.name = 'PBWebViewController' s.version = '0.2' s.summary = 'A light-weight, simple and extendible web browser component for iOS.' s.homepage = 'https://github.com/kmikael/PBWebViewController' s.screenshots = 'http:/...
a81dcac8fd3734f1acb31cba9915a912cceaec30
PBWebViewController.podspec
PBWebViewController.podspec
Ruby
<|file_sep|>original/test2/vla/incomplete.c <|file_sep|>current/test2/vla/incomplete.c <|file_sep|>updated/test2/vla/incomplete.c
// RUN: %check -e %s void init(int (*p)[]) { p[0][0] = 1; // CHECK: error: arithmetic on pointer to incomplete type int[] }
<|file_sep|>original/test2/vla/incomplete.c <|file_sep|>current/test2/vla/incomplete.c <|file_sep|>updated/test2/vla/incomplete.c // RUN: %check -e %s void init(int (*p)[]) { p[0][0] = 1; // CHECK: error: arithmetic on pointer to incomplete type int[] }
2599ba39625924b858e612a5c0a1145752c964e3
test2/vla/incomplete.c
test2/vla/incomplete.c
C
<|file_sep|>original/extensions/github-authentication/src/common/clientRegistrar.ts export interface ClientConfig { OSS: ClientDetails; INSIDERS: ClientDetails; } export class Registrar { private _config: ClientConfig; constructor() { this._config = require('./config.json') as ClientConfig; } getClientDetail...
export interface ClientConfig { OSS: ClientDetails; INSIDERS: ClientDetails; } export class Registrar { private _config: ClientConfig; constructor() { try { this._config = require('./config.json') as ClientConfig; } catch (e) { this._config = { OSS: {}, INSIDERS: {} }; } } getClientDetai...
<|file_sep|>original/extensions/github-authentication/src/common/clientRegistrar.ts export interface ClientConfig { OSS: ClientDetails; INSIDERS: ClientDetails; } export class Registrar { private _config: ClientConfig; constructor() { this._config = require('./config.json') as ClientConfig; } getClientDetail...
167c422e4b100496d1e5fdb76fa87edad9810ec3
extensions/github-authentication/src/common/clientRegistrar.ts
extensions/github-authentication/src/common/clientRegistrar.ts
TypeScript
<|file_sep|>src/java/com/threerings/presents/net/ObjectResponse.java.diff original: // $Id: ObjectResponse.java,v 1.2 2001/05/23 04:03:40 mdb Exp $ updated: // $Id: ObjectResponse.java,v 1.3 2001/05/29 03:28:50 mdb Exp $ <|file_sep|>src/java/com/threerings/presents/net/ObjectResponse.java.diff original: import com.sams...
} public void writeTo (DataOutputStream out) throws IOException { super.writeTo(out); out.writeShort(messageId); DObjectFactory.writeTo(out, _dobj); } public void readFrom (DataInputStream in) throws IOException { super.readFrom(in); mess...
<|file_sep|>src/java/com/threerings/presents/net/ObjectResponse.java.diff original: // $Id: ObjectResponse.java,v 1.2 2001/05/23 04:03:40 mdb Exp $ updated: // $Id: ObjectResponse.java,v 1.3 2001/05/29 03:28:50 mdb Exp $ <|file_sep|>src/java/com/threerings/presents/net/ObjectResponse.java.diff original: import com.sams...
a523e71302f61eacac925b10264b35ac60bbe18c
src/java/com/threerings/presents/net/ObjectResponse.java
src/java/com/threerings/presents/net/ObjectResponse.java
Java
<|file_sep|>original/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and...
String where = """ ( ( data#>>'{@graph,1}' LIKE '%marc:otherPhysicalDetails%' OR data#>'{@graph,0,marc:modifiedRecord}' is not null ) AND collection = 'bib' ) """ selectBySqlWhere(where) { data -> def (record, instance) = data.graph boolean changed = false changed |= remove...
<|file_sep|>original/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy <|file_sep|>current/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and...
ffa026052794f0bdc53857e6fcb2a24b24737c10
whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy
whelktool/scripts/cleanups/2021/04/lxl-3553-physicalDetails-and-modifiedRecord-validation.groovy
Groovy
<|file_sep|>examples/react-native-web/README.md.diff original: # webmodules-example-angular updated: # webmodules examples - react-native-web <|file_sep|>examples/react-native-web/README.md.diff original: ## 설치 및 실행 updated: ## Installation <|file_sep|>original/examples/react-native-web/README.md # webmodules-example-a...
# webmodules examples - react-native-web ## Installation ```sh $ npm install -g webmodules $ git clone https://github.com/attrs/webmodules.git $ cd webmodules/examples/react-native-web $ wpm install $ wpm up 9000 -o ```
<|file_sep|>examples/react-native-web/README.md.diff original: # webmodules-example-angular updated: # webmodules examples - react-native-web <|file_sep|>examples/react-native-web/README.md.diff original: ## 설치 및 실행 updated: ## Installation <|file_sep|>original/examples/react-native-web/README.md # webmodules-example-a...
8b576ea7a5ffa219611cc1a918a6e2c93ec33104
examples/react-native-web/README.md
examples/react-native-web/README.md
Markdown
<|file_sep|>original/_includes/js.html <script src="{{ "/js/classie.js" }}"></script> <script src="{{ "/js/cbpAnimatedHeader.js" }}"></script> <!-- Contact Form JavaScript --> <script src="{{ "/js/jqBootstrapValidation.js" }}"></script> {% if site.contact == "static" %} <script src="{{ "/js/con...
<script src="{{ "/js/classie.js" }}"></script> <script src="{{ "/js/cbpAnimatedHeader.js" }}"></script> <!-- Contact Form JavaScript --> <script src="{{ "/js/jqBootstrapValidation.js" }}"></script> {% if site.contact == "static" %} <script src="{{ "/js/contact_me_static.js" }}"></script> {%...
<|file_sep|>original/_includes/js.html <script src="{{ "/js/classie.js" }}"></script> <script src="{{ "/js/cbpAnimatedHeader.js" }}"></script> <!-- Contact Form JavaScript --> <script src="{{ "/js/jqBootstrapValidation.js" }}"></script> {% if site.contact == "static" %} <script src="{{ "/js/con...
ae512613e50ae687495160e6aec44b268ca66d05
_includes/js.html
_includes/js.html
HTML
<|file_sep|>docu/build.bat.diff original: pdflatex -shell-escape refman.tex updated: pdflatex -interaction=nonstopmode -shell-escape refman.tex <|file_sep|>original/docu/build.bat doxygen cd latex pdflatex -shell-escape refman.tex makeindex -s ../refman.ist refman.idx pdflatex -shell-escape refman.tex pdflatex -shell-e...
doxygen cd latex pdflatex -interaction=nonstopmode -shell-escape refman.tex makeindex -s ../refman.ist refman.idx pdflatex -interaction=nonstopmode -shell-escape refman.tex pdflatex -interaction=nonstopmode -shell-escape refman.tex cd .. copy latex\refman.pdf .
<|file_sep|>docu/build.bat.diff original: pdflatex -shell-escape refman.tex updated: pdflatex -interaction=nonstopmode -shell-escape refman.tex <|file_sep|>original/docu/build.bat doxygen cd latex pdflatex -shell-escape refman.tex makeindex -s ../refman.ist refman.idx pdflatex -shell-escape refman.tex pdflatex -shell-e...
411a91ff3218adc870cee4d962ed296fa6498b36
docu/build.bat
docu/build.bat
Batchfile
<|file_sep|>lib/haml_lint/reporter.rb.diff original: # @abstract Abstract lint reporter. Subclass and override {#report_lints} to # implement a custom lint reporter. updated: # Abstract lint reporter. Subclass and override {#report_lints} to # implement a custom lint reporter. # # @abstract <|file_sep|>li...
# @abstract class Reporter attr_reader :lints # @param logger [HamlLint::Logger] # @param report [HamlLint::Report] def initialize(logger, report) @log = logger @lints = report.lints end # Implemented by subclasses to display lints from a {HamlLint::Report}. def report_lint...
<|file_sep|>lib/haml_lint/reporter.rb.diff original: # @abstract Abstract lint reporter. Subclass and override {#report_lints} to # implement a custom lint reporter. updated: # Abstract lint reporter. Subclass and override {#report_lints} to # implement a custom lint reporter. # # @abstract <|file_sep|>li...
46d7bb25fad5b05e669b7288656b222b50a0e145
lib/haml_lint/reporter.rb
lib/haml_lint/reporter.rb
Ruby
<|file_sep|>app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java.diff original: * Note that the order of the mutator factories is the order in which the post will be mutated. updated: * Note that the order of the mutator factories is the order in which the post will be * checked for appl...
XkcdMutatorFactory.create(), ImgurMutatorFactory.create(), TextMutatorFactory.create(), LinkImageMutatorFactory.create(), LinkMutatorFactory.create() ); /** * Mutate a list of posts by the first mutator which is applicable to mutate the post. ...
<|file_sep|>app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java.diff original: * Note that the order of the mutator factories is the order in which the post will be mutated. updated: * Note that the order of the mutator factories is the order in which the post will be * checked for appl...
9d0a5d5dfb78664010fa7cf79b177e2a19d3561c
app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java
app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java
Java
<|file_sep|>demo/index.html.diff original: updated: <script src="../src/jquery.copsy.js"></script> <|file_sep|>demo/index.html.diff original: <script src="../src/jquery.copsy.js"></script> updated: <script src="../src/tipsy.adapter.for.copsy.js"></script> <|file_sep|>demo/index.html.diff original: $('form'...
}).done(function (e) { e.css('background-color', 'white'); }); }); $('form').copsy(); }); </script> </head> <body> <form> <input type="text" class="mandatory"><br> <input type="text" class="numeric"><br> <input type="text" class="mandatory email"><br> ...
<|file_sep|>demo/index.html.diff original: updated: <script src="../src/jquery.copsy.js"></script> <|file_sep|>demo/index.html.diff original: <script src="../src/jquery.copsy.js"></script> updated: <script src="../src/tipsy.adapter.for.copsy.js"></script> <|file_sep|>demo/index.html.diff original: $('form'...
f347db3865022f49ab45d19decbcd270655a6421
demo/index.html
demo/index.html
HTML
<|file_sep|>original/stories/modal-dialog.stories.js * Internal dependencies */ import Dialog from '../assets/js/components/Dialog'; storiesOf( 'Global', module ) .add( 'Modal Dialog', () => { const { provides } = global._googlesitekitLegacyData.modules.analytics; return ( <Dialog dialogActive title=...
*/ import Dialog from '../assets/js/components/Dialog'; storiesOf( 'Global', module ) .add( 'Modal Dialog', () => { const { provides } = global._googlesitekitLegacyData.modules.analytics; return ( <Dialog dialogActive title={ __( 'Modal Dialog Title', 'google-site-kit' ) } subtitle={ __( 'Modal Di...
<|file_sep|>original/stories/modal-dialog.stories.js * Internal dependencies */ import Dialog from '../assets/js/components/Dialog'; storiesOf( 'Global', module ) .add( 'Modal Dialog', () => { const { provides } = global._googlesitekitLegacyData.modules.analytics; return ( <Dialog dialogActive title=...
0a9dcc82bb5ac82159d92f6ff6f7b512c16dc542
stories/modal-dialog.stories.js
stories/modal-dialog.stories.js
JavaScript
<|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs.diff original: updated: <|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs.diff original: updated: <|fi...
operation.Responses.Add("401", new Response { Description = "Unauthorized" }); var permissions = controllerAbpAuthorizeAttrs.Union(actionAbpAuthorizeAttrs) .SelectMany(p => p.Permissions) .Distinct(); if (permissions.Any()) ...
<|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs.diff original: updated: <|file_sep|>aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs.diff original: updated: <|fi...
8a8f01f8daed6777f43fa53974a60daf95f713db
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs
C#
<|file_sep|>app/Http/Requests/Three/PostRequest.php.diff original: updated: 'type' => 'required|string', 'action' => 'required|string', <|file_sep|>original/app/Http/Requests/Three/PostRequest.php } /** * Get the validation rules that apply to the request. * * @return ar...
* Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'campaign_id' => 'required', 'campaign_run_id' => 'required_with:campaign_id|integer', 'northstar_id' => 'nullable|objectid', ...
<|file_sep|>app/Http/Requests/Three/PostRequest.php.diff original: updated: 'type' => 'required|string', 'action' => 'required|string', <|file_sep|>original/app/Http/Requests/Three/PostRequest.php } /** * Get the validation rules that apply to the request. * * @return ar...
8f3f455d2428d24b0f112606fb78507158ad48fe
app/Http/Requests/Three/PostRequest.php
app/Http/Requests/Three/PostRequest.php
PHP
<|file_sep|>original/app/views/ckeditor/attachment_files/index.html.erb <div id="fileupload" class="gal-holder"> <div class="gal-item"> <div class="fileupload-button gal-upload-holder"> <%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %> </div> </div> <...
<div id="fileupload" class="gal-holder"> <div class="gal-item"> <div class="fileupload-button gal-upload-holder"> <%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %> </div> </div> <div class="fileupload-list"> <%= render :partial => 'ckeditor/shared...
<|file_sep|>original/app/views/ckeditor/attachment_files/index.html.erb <div id="fileupload" class="gal-holder"> <div class="gal-item"> <div class="fileupload-button gal-upload-holder"> <%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %> </div> </div> <...
f62516b84fc2943f8d73b67437b180948e20569d
app/views/ckeditor/attachment_files/index.html.erb
app/views/ckeditor/attachment_files/index.html.erb
HTML+ERB
<|file_sep|>original/src/main/java/innovimax/mixthem/utils/StreamUtils.java <|file_sep|>current/src/main/java/innovimax/mixthem/utils/StreamUtils.java <|file_sep|>updated/src/main/java/innovimax/mixthem/utils/StreamUtils.java
package innovimax.mixthem.utils; import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Predicate; import java.util.function.ToIntFunction; public class StreamUtils { static public <T, E extends Exception> Consumer<T> consume(ConsumerWithException<T, E> ce) { ...
<|file_sep|>original/src/main/java/innovimax/mixthem/utils/StreamUtils.java <|file_sep|>current/src/main/java/innovimax/mixthem/utils/StreamUtils.java <|file_sep|>updated/src/main/java/innovimax/mixthem/utils/StreamUtils.java package innovimax.mixthem.utils; import java.util.function.Consumer; import java.util.funct...
8d0ed9d996f70b243185b7c69ba633c6ea6c8fe2
src/main/java/innovimax/mixthem/utils/StreamUtils.java
src/main/java/innovimax/mixthem/utils/StreamUtils.java
Java
<|file_sep|>README.md.diff original: A skeleton for creating applications. updated: A skeleton for creating applications based on [RadPHP framework](https://github.com/Radly/radphp). ## Requirements 1. Web Server (Nginx/Apache/...) (pre-installed when running with [method #2](#with-vagrant-and-docker)) 2. PHP >= 5.5....
## Installation 1. Run `php composer.phar create-project --prefer-dist radly/radphp-app [app_name]`. 2. Or run `git pull git@github.com:Radly/radphp-app.git [app-name]` If Composer is installed globally, run ```bash composer create-project --prefer-dist radly/radphp-app [app_name] ``` ## Running ### With your own ...
<|file_sep|>README.md.diff original: A skeleton for creating applications. updated: A skeleton for creating applications based on [RadPHP framework](https://github.com/Radly/radphp). ## Requirements 1. Web Server (Nginx/Apache/...) (pre-installed when running with [method #2](#with-vagrant-and-docker)) 2. PHP >= 5.5....
2c249350f0bf5a9b18fbbba017fe526cfbc94d71
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past ...
# Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past security update cssmin #...
<|file_sep|>original/requirements.txt # Core packages django-dotenv==1.4.1 # Read environment variables from .env django-getenv==1.3.1 # Get environment variables Flask==0.12.0 # Web microframework Flask-Assets==0.12 # Merge and minify CSS and JS assets Jinja2>=2.8.1 # Templating for Flask; pinned past ...
b5d4880838d7c8d647e4c15738a1ad51336afc39
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml after_success: bash <(curl -s https://codecov.io/bash) before_install: travis_retry composer self-update branches: only: master cache: directories: $HOME/.composer/cache install: travis_retry composer install --dev --no-interaction --prefer-dist language: php php: - 5....
after_success: bash <(curl -s https://codecov.io/bash) before_install: travis_retry composer self-update branches: only: master cache: directories: $HOME/.composer/cache env: global: - XDEBUG_MODE=coverage install: travis_retry composer install --dev --no-interaction --prefer-dist language: ph...
<|file_sep|>original/.travis.yml after_success: bash <(curl -s https://codecov.io/bash) before_install: travis_retry composer self-update branches: only: master cache: directories: $HOME/.composer/cache install: travis_retry composer install --dev --no-interaction --prefer-dist language: php php: - 5....
10a830eccf969717d880043f7ad7ee62c037278b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/remote/tests/API/PermissionsTest.php <|file_sep|>current/tests/remote/tests/API/PermissionsTest.php <|file_sep|>updated/tests/remote/tests/API/PermissionsTest.php
<? /* ***** BEGIN LICENSE BLOCK ***** This file is part of the Zotero Data Server. Copyright © 2012 Center for History and New Media George Mason University, Fairfax, Virginia, USA http://zotero.org This program is free software: you can redistrib...
<|file_sep|>original/tests/remote/tests/API/PermissionsTest.php <|file_sep|>current/tests/remote/tests/API/PermissionsTest.php <|file_sep|>updated/tests/remote/tests/API/PermissionsTest.php <? /* ***** BEGIN LICENSE BLOCK ***** This file is part of the Zotero Data Server. Copyright © 2012 Center...
6399ece716eef39c7e4548c511fc8733a52cd915
tests/remote/tests/API/PermissionsTest.php
tests/remote/tests/API/PermissionsTest.php
PHP
<|file_sep|>original/setup.py import os import re def read(*parts): here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, *parts)) as f: return f.read() VERSION = re.search( "^__version__ = '(.*)'$", read('src', 'http_crawler', '__init__.py'), re.MULTILINE ).grou...
import os import re def read(*parts): here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, *parts)) as f: return f.read() VERSION = re.search( "^__version__ = '(.*)'$", read('src', 'http_crawler', '__init__.py'), re.MULTILINE ).group(1) if __name__ == '__main_...
<|file_sep|>original/setup.py import os import re def read(*parts): here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, *parts)) as f: return f.read() VERSION = re.search( "^__version__ = '(.*)'$", read('src', 'http_crawler', '__init__.py'), re.MULTILINE ).grou...
518fdf73b0d009f8bbe46054154f293ba209a544
setup.py
setup.py
Python
<|file_sep|>src/containers/Settings.js.diff original: updated: import { Settings as ClockSettings } from '@modules/clock'; <|file_sep|>original/src/containers/Settings.js import Layout from 'react-toolbox/lib/layout/Layout'; import Panel from 'react-toolbox/lib/layout/Panel'; import { Settings as BackgroundSettings } ...
class Settings extends Component { render() { return ( <Layout> <Panel> <div style={{ flex: 1, overflowY: 'auto', padding: '1.8rem' }}> <section> <BackgroundSettings /> </section> ...
<|file_sep|>src/containers/Settings.js.diff original: updated: import { Settings as ClockSettings } from '@modules/clock'; <|file_sep|>original/src/containers/Settings.js import Layout from 'react-toolbox/lib/layout/Layout'; import Panel from 'react-toolbox/lib/layout/Panel'; import { Settings as BackgroundSettings } ...
31517b7b52a62ed1127b7139cbda1a4c48d07bd8
src/containers/Settings.js
src/containers/Settings.js
JavaScript
<|file_sep|>original/requirements/tests.txt -r base.txt coverage==3.7.1 django-nose==1.4.1 flake8==2.4.1 mccabe==0.3.1 pep8==1.6.2 pyflakes==0.9.2 mock==1.1.3 funcsigs==0.4 pbr==1.3.0 nose==1.3.7 <|file_sep|>current/requirements/tests.txt -r base.txt coverage==3.7.1 django-nose==1.4.1 flake8==2.4.1 mccabe...
-r base.txt coverage==3.7.1 django-nose==1.4.1 factory-boy==2.5.2 flake8==2.4.1 mccabe==0.3.1 pep8==1.6.2 pyflakes==0.9.2 mock==1.1.3 funcsigs==0.4 pbr==1.3.0 nose==1.3.7
<|file_sep|>original/requirements/tests.txt -r base.txt coverage==3.7.1 django-nose==1.4.1 flake8==2.4.1 mccabe==0.3.1 pep8==1.6.2 pyflakes==0.9.2 mock==1.1.3 funcsigs==0.4 pbr==1.3.0 nose==1.3.7 <|file_sep|>current/requirements/tests.txt -r base.txt coverage==3.7.1 django-nose==1.4.1 flake8==2.4.1 mccabe...
b1261320c998d0bf745fbf56061bb8f4ae450ca5
requirements/tests.txt
requirements/tests.txt
Text
<|file_sep|>original/metadata/com.example.tobiastrumm.freifunkautoconnect.txt Build:0.5,5 commit=v0.5 subdir=app gradle=yes Build:0.6,6 disable=play-services commit=v0.6 subdir=app gradle=yes Build:0.6.1,7 commit=v0.6.1 subdir=app gradle=yes rm=app/libs/*.jar Auto Update M...
Build:0.5,5 commit=v0.5 subdir=app gradle=yes Build:0.6,6 disable=play-services commit=v0.6 subdir=app gradle=yes Build:0.6.1,7 commit=v0.6.1 subdir=app gradle=yes rm=app/libs/*.jar Auto Update Mode:None Update Check Mode:Tags Current Version:0.7 Current Version Code:8
<|file_sep|>original/metadata/com.example.tobiastrumm.freifunkautoconnect.txt Build:0.5,5 commit=v0.5 subdir=app gradle=yes Build:0.6,6 disable=play-services commit=v0.6 subdir=app gradle=yes Build:0.6.1,7 commit=v0.6.1 subdir=app gradle=yes rm=app/libs/*.jar Auto Update M...
96f1843811d32d3ec3a28db0c52b8fdfc3d15883
metadata/com.example.tobiastrumm.freifunkautoconnect.txt
metadata/com.example.tobiastrumm.freifunkautoconnect.txt
Text
<|file_sep|>build.tasks.ps1.diff original: # base & build directories updated: # build variables $framework = "4.5.1" # .net framework version $configuration = "Release" # build configuration # directories <|file_sep|>build.tasks.ps1.diff original: $tests_dir = "$base_dir\src\ReliableUnitOfWork.SqlAzure.UnitTe...
task default -depends PackNuGetPackages task RestoreNuGetPackages { exec { nuget.exe restore $sln_file } } task BuildSolution -depends RestoreNuGetPackages { exec { msbuild "/t:Clean;Build" "/p:Configuration=$configuration" $sln_file } } task RunUnitTests -depends BuildSolution { exec { xunit.console.clr4.bat $u...
<|file_sep|>build.tasks.ps1.diff original: # base & build directories updated: # build variables $framework = "4.5.1" # .net framework version $configuration = "Release" # build configuration # directories <|file_sep|>build.tasks.ps1.diff original: $tests_dir = "$base_dir\src\ReliableUnitOfWork.SqlAzure.UnitTe...
8d997016b4cf83b0c8d76fe2ba51e0b8109d7063
build.tasks.ps1
build.tasks.ps1
PowerShell
<|file_sep|>README.md.diff original: # PYOANDA updated: # PYOANDA <|file_sep|>README.md.diff original: domain="https://api-fxpractice.oanda.com, domain_stream="https://stream-fxpractice.oanda.com", updated: domain="https://api-fxpractice.oanda.com, domain_stream="https://stream-fxprac...
c = Client( domain="https://api-fxpractice.oanda.com, domain_stream="https://stream-fxpractice.oanda.com", account_id="Your Oanda account ID", access_token="Your Oanda access token" ) c.get_instrument_history( instrument="EUR_GBP", candle_format="midpoint", gr...
<|file_sep|>README.md.diff original: # PYOANDA updated: # PYOANDA <|file_sep|>README.md.diff original: domain="https://api-fxpractice.oanda.com, domain_stream="https://stream-fxpractice.oanda.com", updated: domain="https://api-fxpractice.oanda.com, domain_stream="https://stream-fxprac...
896615db6d9a27e4a6c43c8757dac01e36366e69
README.md
README.md
Markdown
<|file_sep|>docker-compose-elasticsearch.yml.diff original: image: kibana updated: image: kibana:5 <|file_sep|>docker-compose-elasticsearch.yml.diff original: image: elasticsearch updated: image: elasticsearch:5 <|file_sep|>original/docker-compose-elasticsearch.yml ports: - "5601:5601" dep...
ports: - "5601:5601" depends_on: - elasticsearch environment: - ELASTICSEARCH_URL=http://elasticsearch:9200 elasticsearch: image: elasticsearch:5 restart: unless-stopped command: elasticsearch -Enetwork.bind_host=0.0.0.0 -Ebootstrap.ignore_system_bootstrap_checks=true en...
<|file_sep|>docker-compose-elasticsearch.yml.diff original: image: kibana updated: image: kibana:5 <|file_sep|>docker-compose-elasticsearch.yml.diff original: image: elasticsearch updated: image: elasticsearch:5 <|file_sep|>original/docker-compose-elasticsearch.yml ports: - "5601:5601" dep...
0fd9aa49b1b97890a230937326bca3295f36d110
docker-compose-elasticsearch.yml
docker-compose-elasticsearch.yml
YAML
<|file_sep|>plugins/autonotify/deploy.sh.diff original: # Make the required log directory updated: # Make the required log directory and give the web server write access <|file_sep|>original/plugins/autonotify/deploy.sh #!/bin/sh set -e # Make the required log directory mkdir -p /var/log/redcap/autonotify <|file_sep|>...
#!/bin/sh set -e # Make the required log directory and give the web server write access mkdir -p /var/log/redcap/autonotify chown -R www-data.www-data /var/log/redcap # Activate log rotation to assure we never have to worry about these logs cat << EOF > /etc/logrotate.d/redcap-autonotify /var/log/redcap/autonotify/*....
<|file_sep|>plugins/autonotify/deploy.sh.diff original: # Make the required log directory updated: # Make the required log directory and give the web server write access <|file_sep|>original/plugins/autonotify/deploy.sh #!/bin/sh set -e # Make the required log directory mkdir -p /var/log/redcap/autonotify <|file_sep|>...
3757d24cf0579da48858db25e323847ffe2d913c
plugins/autonotify/deploy.sh
plugins/autonotify/deploy.sh
Shell
<|file_sep|>original/.travis.yml language: go go_import_path: go.universe.tf/netboot go: - 1.5 - 1.6 - tip os: - linux - osx install: - go get github.com/golang/lint/golint before_script: script: - GO15VENDOREXPERIMENT=1 go get -t ./... - GO15VENDOREXPERIMENT=1 go build ./... - GO15VENDOREXPERIMENT=1 ...
language: go go_import_path: go.universe.tf/netboot go: - 1.5 - 1.6 - tip os: - linux install: - go get github.com/golang/lint/golint before_script: script: - GO15VENDOREXPERIMENT=1 go get -t ./... - GO15VENDOREXPERIMENT=1 go build ./... - GO15VENDOREXPERIMENT=1 go test ./... - go vet ./... - golint...
<|file_sep|>original/.travis.yml language: go go_import_path: go.universe.tf/netboot go: - 1.5 - 1.6 - tip os: - linux - osx install: - go get github.com/golang/lint/golint before_script: script: - GO15VENDOREXPERIMENT=1 go get -t ./... - GO15VENDOREXPERIMENT=1 go build ./... - GO15VENDOREXPERIMENT=1 ...
0900f7157c72dcf75e42494ce872beff95b922db
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Message/PurchaseResponse.php public function getRedirectUrl() { return $this->endpoint; } /** * Get the required redirect method (either GET or POST). */ public function getRedirectMethod() { return OAUTH_HTTP_METHOD_POST; } /** *...
public function getRedirectUrl() { return $this->endpoint; } /** * Get the required redirect method (either GET or POST). */ public function getRedirectMethod() { return 'post'; } /** * Gets the redirect form data array, if the redirect method is POST. ...
<|file_sep|>original/src/Message/PurchaseResponse.php public function getRedirectUrl() { return $this->endpoint; } /** * Get the required redirect method (either GET or POST). */ public function getRedirectMethod() { return OAUTH_HTTP_METHOD_POST; } /** *...
0ae1449d24acb625ab4b432ae2547e6c5b395732
src/Message/PurchaseResponse.php
src/Message/PurchaseResponse.php
PHP
<|file_sep|>original/tools/make/lib/lint/eslint.mk <|file_sep|>current/tools/make/lib/lint/eslint.mk <|file_sep|>updated/tools/make/lib/lint/eslint.mk
# VARIABLES # # Define the path to the [ESLint][1] executable. # # To install ESLint: # $ npm install eslint # # [1]: http://eslint.org// JAVASCRIPT_LINT ?= $(BIN_DIR)/eslint # Define the path to the ESLint configuration file: ESLINT_CONF ?= $(CONFIG_DIR)/eslint/.eslintrc.js # Define the path to the ESLint ign...
<|file_sep|>original/tools/make/lib/lint/eslint.mk <|file_sep|>current/tools/make/lib/lint/eslint.mk <|file_sep|>updated/tools/make/lib/lint/eslint.mk # VARIABLES # # Define the path to the [ESLint][1] executable. # # To install ESLint: # $ npm install eslint # # [1]: http://eslint.org// JAVASCRIPT_LINT ?= $(B...
56724467882ff0e6e6cc7fdb0a5fc5c86271f707
tools/make/lib/lint/eslint.mk
tools/make/lib/lint/eslint.mk
Makefile
<|file_sep|>bin/diff2marked.bash.diff original: cat - > /dev/null updated: <|file_sep|>original/bin/diff2marked.bash #!/usr/bin/env bash cat - > /dev/null cd $MARKED_ORIGIN git diff --no-color --word-diff -U99999 -- $MARKED_PATH | sed -e '1,5d;s/ *{[-\.].*}$//g;s/\[-/{--/g;s/-\]/--}/g;s/{\+/{++/g;s/\+}/++}/g' <|file...
#!/usr/bin/env bash cd $MARKED_ORIGIN if git diff --quiet -- $MARKED_PATH; then cat - exit else cat - > /dev/null git diff --no-color --word-diff -U99999 -- $MARKED_PATH | sed -e '1,5d;s/ *{[-\.].*}$//g;s/\[-/{--/g;s/-\]/--}/g;s/{\+/{++/g;s/\+}/++}/g' fi
<|file_sep|>bin/diff2marked.bash.diff original: cat - > /dev/null updated: <|file_sep|>original/bin/diff2marked.bash #!/usr/bin/env bash cat - > /dev/null cd $MARKED_ORIGIN git diff --no-color --word-diff -U99999 -- $MARKED_PATH | sed -e '1,5d;s/ *{[-\.].*}$//g;s/\[-/{--/g;s/-\]/--}/g;s/{\+/{++/g;s/\+}/++}/g' <|file...
c6af73103ef0f77a0c86ce4058c6e44c6a724dc4
bin/diff2marked.bash
bin/diff2marked.bash
Shell
<|file_sep|>original/src/app/login/login/login.component.html <div *ngIf="loading"> Loading... </div> <form [formGroup]="loginForm" (submit)="$event.preventDefault(); login()"> <input formControlName="email" type="text" placeholder="E-Mail" /> <input formControlName="password" type="password" placeholder="Contr...
<div *ngIf="loading"> Loading... </div> <form [formGroup]="loginForm" (submit)="$event.preventDefault(); login()"> <input formControlName="email" type="text" placeholder="E-Mail" /> <input formControlName="password" type="password" placeholder="Contraseña" /> <button [disabled]="!loginForm.valid" ...
<|file_sep|>original/src/app/login/login/login.component.html <div *ngIf="loading"> Loading... </div> <form [formGroup]="loginForm" (submit)="$event.preventDefault(); login()"> <input formControlName="email" type="text" placeholder="E-Mail" /> <input formControlName="password" type="password" placeholder="Contr...
ee1d1a44c03236e05decf40e48d17e073a7d1dda
src/app/login/login/login.component.html
src/app/login/login/login.component.html
HTML
<|file_sep|>original/wrapper/gradle-wrapper.properties #Sun Oct 04 16:28:15 BST 2009 distributionBase = GRADLE_USER_HOME distributionPath = wrapper/dists zipStoreBase = GRADLE_USER_HOME distributionVersion = 0.9-20091020112559+1100 zipStorePath = wrapper/dists #urlRoot = http://dist.codehaus.org/gradle urlRoot = http:/...
#Sun Oct 04 16:28:15 BST 2009 distributionBase = GRADLE_USER_HOME distributionPath = wrapper/dists zipStoreBase = GRADLE_USER_HOME distributionVersion = 0.9-20091108161758+1100 zipStorePath = wrapper/dists #urlRoot = http://dist.codehaus.org/gradle urlRoot = http://snapshots.dist.codehaus.org/gradle distributionName = ...
<|file_sep|>original/wrapper/gradle-wrapper.properties #Sun Oct 04 16:28:15 BST 2009 distributionBase = GRADLE_USER_HOME distributionPath = wrapper/dists zipStoreBase = GRADLE_USER_HOME distributionVersion = 0.9-20091020112559+1100 zipStorePath = wrapper/dists #urlRoot = http://dist.codehaus.org/gradle urlRoot = http:/...
4ee228310e26be59fb5780ccf34e5d31dd6c309d
wrapper/gradle-wrapper.properties
wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/packages/n2/n2o.yaml <|file_sep|>current/packages/n2/n2o.yaml <|file_sep|>updated/packages/n2/n2o.yaml
homepage: https://github.com/xafizoff/n2o#readme changelog-type: '' hash: 69920bb046db179ceeb16f6c4eb4dac803e2fa8cbfc58f2defb2daf2cd641981 test-bench-deps: base: ! '>=4.7 && <5' hspec: -any bert: -any n2o: -any maintainer: xafizoff@gmail.com synopsis: Abstract Protocol Loop changelog: '' basic-deps: bytestrin...
<|file_sep|>original/packages/n2/n2o.yaml <|file_sep|>current/packages/n2/n2o.yaml <|file_sep|>updated/packages/n2/n2o.yaml homepage: https://github.com/xafizoff/n2o#readme changelog-type: '' hash: 69920bb046db179ceeb16f6c4eb4dac803e2fa8cbfc58f2defb2daf2cd641981 test-bench-deps: base: ! '>=4.7 && <5' hspec: -any ...
911df55fdda92903c614573637c113ed60ca36e9
packages/n2/n2o.yaml
packages/n2/n2o.yaml
YAML
<|file_sep|>original/spec/support/capybara.rb <|file_sep|>current/spec/support/capybara.rb <|file_sep|>updated/spec/support/capybara.rb
require 'capybara/rails' require 'capybara/dsl' RSpec.configure do |c| c.include Capybara, :example_group => { :file_path => /\bspec\/integration\// } end
<|file_sep|>original/spec/support/capybara.rb <|file_sep|>current/spec/support/capybara.rb <|file_sep|>updated/spec/support/capybara.rb require 'capybara/rails' require 'capybara/dsl' RSpec.configure do |c| c.include Capybara, :example_group => { :file_path => /\bspec\/integration\// } end
9bc231382136ccbf52043baca4de640a65e11373
spec/support/capybara.rb
spec/support/capybara.rb
Ruby
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Sun Sep 15 16:35:19 CEST 2013 updated: #Fri Sep 27 15:27:07 CEST 2013 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Sep 15 16:35:19 CEST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USE...
#Fri Sep 27 15:27:07 CEST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Sun Sep 15 16:35:19 CEST 2013 updated: #Fri Sep 27 15:27:07 CEST 2013 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Sun Sep 15 16:35:19 CEST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USE...
2c60ae7bf4ce4396017b92b2cd7968820a17479c
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/app/views/layouts/application.html.erb <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div id="nav"> <% if current_user %> <%= link_to "Edit Profile", edit_user_path(current_user.id) %> <%= link_to "Logout", :...
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div id="nav"> <% if current_user %> <%= link_to "Edit Profile", edit_user_path(current_user.id)...
<|file_sep|>original/app/views/layouts/application.html.erb <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div id="nav"> <% if current_user %> <%= link_to "Edit Profile", edit_user_path(current_user.id) %> <%= link_to "Logout", :...
142536eed132eb34e39220b9bbd270f4db5c511c
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>Casks/intellij-idea-eap.rb.diff original: version '139.463.4' sha256 '9c121f506136f9c658fe3246c6f69947d67184d523c8a3fdaf94e5065b80a918' updated: version '139.791.2' sha256 'bb9859ab068360cefe2351c84b3c96653c7395351102e4ab03f2b7834753c0cb' <|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => '...
cask :v1 => 'intellij-idea-eap' do version '139.791.2' sha256 'bb9859ab068360cefe2351c84b3c96653c7395351102e4ab03f2b7834753c0cb' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14+EAP' license :commercial app 'IntelliJ IDEA ...
<|file_sep|>Casks/intellij-idea-eap.rb.diff original: version '139.463.4' sha256 '9c121f506136f9c658fe3246c6f69947d67184d523c8a3fdaf94e5065b80a918' updated: version '139.791.2' sha256 'bb9859ab068360cefe2351c84b3c96653c7395351102e4ab03f2b7834753c0cb' <|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => '...
ad060791f5b46df5558003d844040749a873970d
Casks/intellij-idea-eap.rb
Casks/intellij-idea-eap.rb
Ruby
<|file_sep|>modules/olm-metrics.adoc.diff original: updated: |`catalog_source_count` |Number of CatalogSources. |`csv_abnormal` |When reconciling a CSV, present whenever a CSV version is in any state other than `Succeeded`. Includes the `name`, `namespace`, `phase`, `reason`, and `version` labels. A Prometheus alert ...
|Number of CSVs successfully registered. |`csv_succeeded` |When reconciling a CSV, represents whether a CSV version is in a `Succeeded` state (value `1`) or not (value `0`). Includes the `name`, `namespace`, and `version` labels. |`csv_upgrade_count` |Monotonic count of CatalogSources. |`install_plan_count` |Number ...
<|file_sep|>modules/olm-metrics.adoc.diff original: updated: |`catalog_source_count` |Number of CatalogSources. |`csv_abnormal` |When reconciling a CSV, present whenever a CSV version is in any state other than `Succeeded`. Includes the `name`, `namespace`, `phase`, `reason`, and `version` labels. A Prometheus alert ...
66f004671026f90867b5e02f1a7de97e96e60db8
modules/olm-metrics.adoc
modules/olm-metrics.adoc
AsciiDoc
<|file_sep|>original/plugins/picasa.json <|file_sep|>current/plugins/picasa.json <|file_sep|>updated/plugins/picasa.json
{ "type": "resolver", "ns": "downthemall.net", "prefix": "Picasa Web Albums", "match": "http://picasaweb.google.com/lh/photo/", "finder": "<div class=\"gphoto-canonicalscaledimage gphoto-photocaption\">\\s*<img src=\"([^\"]+)\"", "builder": "{1}", "useDefaultClean" : false }
<|file_sep|>original/plugins/picasa.json <|file_sep|>current/plugins/picasa.json <|file_sep|>updated/plugins/picasa.json { "type": "resolver", "ns": "downthemall.net", "prefix": "Picasa Web Albums", "match": "http://picasaweb.google.com/lh/photo/", "finder": "<div class=\"gphoto-canonicalscaledimage gphoto-photo...
4b7c5b5339d02f26323034ac926713813f3f192b
plugins/picasa.json
plugins/picasa.json
JSON
<|file_sep|>cookbooks/openssh/templates/default/ssh_config.erb.diff original: # DO NOT EDIT - This file is being maintained by Chef updated: # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per...
# AddressFamily any # ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa # IdentityFile ~/.ssh/id_ecdsa # IdentityFile ~/.ssh/id_ed25519 # Port 22 # Protocol 2 # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sh...
<|file_sep|>cookbooks/openssh/templates/default/ssh_config.erb.diff original: # DO NOT EDIT - This file is being maintained by Chef updated: # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per...
17d62ba9158bf909d4c23919447aa5df40de7f9f
cookbooks/openssh/templates/default/ssh_config.erb
cookbooks/openssh/templates/default/ssh_config.erb
HTML+ERB
<|file_sep|>original/webkit/glue/plugins/ppb_private.h // Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #include...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #include "third_party/ppapi/c/pp_var.h" #define PPB_PRIVATE_IN...
<|file_sep|>original/webkit/glue/plugins/ppb_private.h // Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #define WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_ #include...
e067c269e4c9ac2bbc2d8b7691305aa6f78ba5b1
webkit/glue/plugins/ppb_private.h
webkit/glue/plugins/ppb_private.h
C
<|file_sep|>original/php/phpsearch/autoload.php <?php // the str_replace was necessary when using a namespace because it was using // a backslash in the path instead of forward slash spl_autoload_register(function ($class) { $include_path = '/Users/cary/src/git/xsearch/php/phpsearch/'; include $include_path . ...
<?php // the str_replace was necessary when using a namespace because it was using // a backslash in the path instead of forward slash spl_autoload_register(function ($class) { $HOME = getenv('HOME'); $include_path = "$HOME/src/git/xsearch/php/phpsearch/"; include $include_path . str_replace("\\", "/", strtol...
<|file_sep|>original/php/phpsearch/autoload.php <?php // the str_replace was necessary when using a namespace because it was using // a backslash in the path instead of forward slash spl_autoload_register(function ($class) { $include_path = '/Users/cary/src/git/xsearch/php/phpsearch/'; include $include_path . ...
a5e64669026239b4c811dd492df00ccfa3ef3304
php/phpsearch/autoload.php
php/phpsearch/autoload.php
PHP
<|file_sep|>ZimmerBot.Core/Request.cs.diff original: State = src.State; updated: <|file_sep|>original/ZimmerBot.Core/Request.cs public Request(string sessionId, string userId) { Condition.Requires(sessionId, nameof(sessionId)).IsNotNullOrEmpty(); Condition.Requires(userId, nameof(userId)).IsN...
Condition.Requires(sessionId, nameof(sessionId)).IsNotNullOrEmpty(); Condition.Requires(userId, nameof(userId)).IsNotNullOrEmpty(); SessionId = sessionId; UserId = userId; } public Request(Request src, string input) { Input = input; State = src.State; SessionId =...
<|file_sep|>ZimmerBot.Core/Request.cs.diff original: State = src.State; updated: <|file_sep|>original/ZimmerBot.Core/Request.cs public Request(string sessionId, string userId) { Condition.Requires(sessionId, nameof(sessionId)).IsNotNullOrEmpty(); Condition.Requires(userId, nameof(userId)).IsN...
4102b5857d71cabae340c069d09cb96e2cfe59e4
ZimmerBot.Core/Request.cs
ZimmerBot.Core/Request.cs
C#
<|file_sep|>original/README.md if response.success? puts "Sent message: #{response.message_id}" elsif response.failure? raise response.error end ``` Troubleshooting --------------- Phone numbers should be specified in international format. The Nexmo documentation contains a [list of error codes](http://nexmo.co...
if response.success? puts "Sent message: #{response.message_id}" elsif response.failure? raise response.error end ``` Troubleshooting --------------- Phone numbers should be specified in international format. The Nexmo documentation contains a [list of error codes](http://nexmo.com/documentation/index.html#resp...
<|file_sep|>original/README.md if response.success? puts "Sent message: #{response.message_id}" elsif response.failure? raise response.error end ``` Troubleshooting --------------- Phone numbers should be specified in international format. The Nexmo documentation contains a [list of error codes](http://nexmo.co...
1672bc8ff44477cc6d3c06102761bb1e66e3f5a7
README.md
README.md
Markdown
<|file_sep|>original/db/migrate/20150526201152_update_category_age_gender.rb class UpdateCategoryAgeGender < ActiveRecord::Migration def change Category.reset_column_information Category.transaction do Category.all.each.with_index do |category, index| putc(".") if index % 100 == 0 catego...
class UpdateCategoryAgeGender < ActiveRecord::Migration def change Category.reset_column_information Category.transaction do Category.all.each.with_index do |category, index| putc(".") if index % 100 == 0 category.set_ability_from_name category.set_gender_from_name if ca...
<|file_sep|>original/db/migrate/20150526201152_update_category_age_gender.rb class UpdateCategoryAgeGender < ActiveRecord::Migration def change Category.reset_column_information Category.transaction do Category.all.each.with_index do |category, index| putc(".") if index % 100 == 0 catego...
83f668d5e44ba9c6a8dc429988ba1a8c98e3c3cb
db/migrate/20150526201152_update_category_age_gender.rb
db/migrate/20150526201152_update_category_age_gender.rb
Ruby
<|file_sep|>original/src/selectors/searchTable.ts <|file_sep|>current/src/selectors/searchTable.ts <|file_sep|>updated/src/selectors/searchTable.ts
import { createSelector } from 'reselect'; import { RootState, SearchResult, SearchResults, HitBlockMap, RequesterBlockMap, SortingOption } from '../types'; import { sortBy } from '../utils/sorting'; const searchResultSelector = (state: RootState) => state.search; const sortOptionSelector = (state: RootSta...
<|file_sep|>original/src/selectors/searchTable.ts <|file_sep|>current/src/selectors/searchTable.ts <|file_sep|>updated/src/selectors/searchTable.ts import { createSelector } from 'reselect'; import { RootState, SearchResult, SearchResults, HitBlockMap, RequesterBlockMap, SortingOption } from '../types'; i...
001b91f9225ca8cde29d2222ec799337d9189866
src/selectors/searchTable.ts
src/selectors/searchTable.ts
TypeScript
<|file_sep|>original/README.md Staq ====== Staq is a mini PHP framework for maintainable website. License -------- Staq is under [MIT License](http://opensource.org/licenses/MIT) Roadmap -------- We are managing current tasks with a [trello board](https://trello.com/board/staq/50de3fe18942735c620000a9). <|file_sep|...
Staq ====== Staq is a mini PHP framework for maintainable website. Overview -------- Staq means "Stack query", it allow you to instanciate a stack of class. Instead of directly instantiate (<code>new \Model\User</code> or <code>new \My_Software\Model\User</code>), you can instantiate a stack (<code>new \Stack\Model\...
<|file_sep|>original/README.md Staq ====== Staq is a mini PHP framework for maintainable website. License -------- Staq is under [MIT License](http://opensource.org/licenses/MIT) Roadmap -------- We are managing current tasks with a [trello board](https://trello.com/board/staq/50de3fe18942735c620000a9). <|file_sep|...
b88bd85dade5caa1be257674f4b60e388cdda2d4
README.md
README.md
Markdown
<|file_sep|>original/README.md Many thanks to @jcrygier for the initial hard work; This is mostly just a wrapper. ## Usage 1. Add the following dependency to your project `pom.xml` along with the repository. ```pom.xml <dependencies> <!-- Expose JPA entities using GraphQL --> <dependency> <groupId>com.gith...
Many thanks to @jcrygier for the initial hard work; This is mostly just a wrapper. ## Usage 1. Add the following dependency to your project `pom.xml` along with the repository. ```pom.xml <dependencies> <!-- Expose JPA entities using GraphQL --> <dependency> <groupId>com.github.timtebeek</groupId> <arti...
<|file_sep|>original/README.md Many thanks to @jcrygier for the initial hard work; This is mostly just a wrapper. ## Usage 1. Add the following dependency to your project `pom.xml` along with the repository. ```pom.xml <dependencies> <!-- Expose JPA entities using GraphQL --> <dependency> <groupId>com.gith...
e4470b11e21594e653f89245a37cecc02b615b19
README.md
README.md
Markdown
<|file_sep|>frontend/src/components/ViewTrips/edit-trip-button.js.diff original: * {@link RawTripData} defined originally in `ViewTrips/save-trip-modal.js`. updated: * {@link TripData} defined originally in `ViewTrips/trip.js`. <|file_sep|>frontend/src/components/ViewTrips/edit-trip-button.js.diff original: * @prope...
* Component that opens the edit trip modal upon click. * * @property {Object} props These are the props for this component: * @property {string} props.tripId The document id associated with the trip. * @property {TripData} props.tripData The current trip document data. * @property {Function} props.handleEditTrip ...
<|file_sep|>frontend/src/components/ViewTrips/edit-trip-button.js.diff original: * {@link RawTripData} defined originally in `ViewTrips/save-trip-modal.js`. updated: * {@link TripData} defined originally in `ViewTrips/trip.js`. <|file_sep|>frontend/src/components/ViewTrips/edit-trip-button.js.diff original: * @prope...
ba399caa47998df2d1493b6ae2e962536e356d13
frontend/src/components/ViewTrips/edit-trip-button.js
frontend/src/components/ViewTrips/edit-trip-button.js
JavaScript
<|file_sep|>packages/se/setlocale.yaml.diff original: hash: 068da7c99cc53aa069b93d6174167f922ce089276f85b63dca80fedb687c6d22 updated: hash: 148e3de319d1341a7814281592aa4de66c1b0607f1a42ccc25174ea187e747a3 <|file_sep|>packages/se/setlocale.yaml.diff original: base: ! '>=4.6 && <4.10' updated: base: ! '>=4.6 && <4.11...
changelog-type: '' hash: 148e3de319d1341a7814281592aa4de66c1b0607f1a42ccc25174ea187e747a3 test-bench-deps: {} maintainer: sven.bartscher@weltraumschlangen.de synopsis: Haskell bindings to setlocale changelog: '' basic-deps: base: ! '>=4.6 && <4.11' all-versions: - '0.0.3' - '1.0.0' - '1.0.0.1' - '1.0.0.2' - '1.0.0.3'...
<|file_sep|>packages/se/setlocale.yaml.diff original: hash: 068da7c99cc53aa069b93d6174167f922ce089276f85b63dca80fedb687c6d22 updated: hash: 148e3de319d1341a7814281592aa4de66c1b0607f1a42ccc25174ea187e747a3 <|file_sep|>packages/se/setlocale.yaml.diff original: base: ! '>=4.6 && <4.10' updated: base: ! '>=4.6 && <4.11...
d84547b7cafe83fb72beedbc8b8606ea5a88b98f
packages/se/setlocale.yaml
packages/se/setlocale.yaml
YAML
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json
{ "name": "aws-hmac", "version": "1.0.0", "description": "A utility to generate an HMAC signature to authorize AWS API requests.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/ramhiser/aw...
<|file_sep|>original/package.json <|file_sep|>current/package.json <|file_sep|>updated/package.json { "name": "aws-hmac", "version": "1.0.0", "description": "A utility to generate an HMAC signature to authorize AWS API requests.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified...
cefce25bbccfee142ef201e148b663c3f243ac75
package.json
package.json
JSON
<|file_sep|>original/src/Modifier/AddCopyright.php use Kenjis\TranslationTools\File; class AddCopyright { protected $targetLineRegExp; protected $copyright; public function __construct() { $this->targetLineRegExp = '!&copy; Copyright 2014 - 20\d\d, British Columbia Institute of Technology\.!u'...
use Kenjis\TranslationTools\File; class AddCopyright { protected $targetLineRegExp; protected $copyright; public function __construct() { $this->targetLineRegExp = '!&copy; Copyright 2014 - 20\d\d, British Columbia Institute of Technology\.!u'; $this->copyright = '<br />Japanese Transl...
<|file_sep|>original/src/Modifier/AddCopyright.php use Kenjis\TranslationTools\File; class AddCopyright { protected $targetLineRegExp; protected $copyright; public function __construct() { $this->targetLineRegExp = '!&copy; Copyright 2014 - 20\d\d, British Columbia Institute of Technology\.!u'...
cea96038fb500606014d07718a9b7bcd2a0f21fb
src/Modifier/AddCopyright.php
src/Modifier/AddCopyright.php
PHP
<|file_sep|>src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java.diff original: import info.u_team.u_team_test.init.TestBlocks; updated: import info.u_team.u_team_test.init.*; <|file_sep|>original/src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java import java.util...
import info.u_team.u_team_core.data.*; import info.u_team.u_team_test.init.*; import net.minecraft.util.ResourceLocation; import net.minecraft.world.storage.loot.LootTable; public class TestLootTablesProvider extends CommonLootTablesProvider { public TestLootTablesProvider(GenerationData data) { super(data); } ...
<|file_sep|>src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java.diff original: import info.u_team.u_team_test.init.TestBlocks; updated: import info.u_team.u_team_test.init.*; <|file_sep|>original/src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java import java.util...
3a965be3b9865ddcf4df45b9cd07226086e14292
src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java
src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java
Java
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_install: - currentfolder=${PWD##*/} - if [ "$currentfolder" != 'generator-madlib-webapp' ]; then cd .. && eval "mv $currentfolder generator-madlib-webapp" && cd generator-madlib-webapp; fi <|file_sep|>current/.travis.yml langua...
language: node_js node_js: - '0.10' before_install: - currentfolder=${PWD##*/} - if [ "$currentfolder" != 'generator-madlib-webapp' ]; then cd .. && eval "mv $currentfolder generator-madlib-webapp" && cd generator-madlib-webapp; fi
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.8' - '0.10' before_install: - currentfolder=${PWD##*/} - if [ "$currentfolder" != 'generator-madlib-webapp' ]; then cd .. && eval "mv $currentfolder generator-madlib-webapp" && cd generator-madlib-webapp; fi <|file_sep|>current/.travis.yml langua...
0ade271626e43b74df4a9b5271c3f280dd535648
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java <|file_sep|>current/examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java <|file_sep|>updated/examples/upnp-config/src/main/java/org/ow...
package org.ow2.chameleon.fuchsia.upnp.examples.config; import org.apache.felix.ipojo.configuration.Configuration; import org.apache.felix.ipojo.configuration.Instance; import org.ow2.chameleon.fuchsia.core.FuchsiaConstants; import static org.apache.felix.ipojo.configuration.Instance.instance; import static org.ow2.c...
<|file_sep|>original/examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java <|file_sep|>current/examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java <|file_sep|>updated/examples/upnp-config/src/main/java/org/ow...
7209ac28955e415e9bc712711fe51330d4f3dcc2
examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java
examples/upnp-config/src/main/java/org/ow2/chameleon/fuchsia/upnp/examples/config/DiscoveryInitializer.java
Java
<|file_sep|>original/tinycarousel.jquery.json "UI", "jQuery", "Mobile", "carousel", "javascript" ], "author": { "name": "Maarten Baijs", "email": "wieringen@gmail.com" }, "licenses": [ { "type": "MIT", "url": "https://github.com/wieringen/tinycarousel/blob/master/MIT-...
"carousel", "javascript" ], "author": { "name": "Maarten Baijs", "email": "wieringen@gmail.com" }, "licenses": [ { "type": "MIT", "url": "https://github.com/wieringen/tinycarousel/blob/master/MIT-LICENSE.txt" } ], "bugs": "https://github.com/wieringen/tinycarousel/issues"...
<|file_sep|>original/tinycarousel.jquery.json "UI", "jQuery", "Mobile", "carousel", "javascript" ], "author": { "name": "Maarten Baijs", "email": "wieringen@gmail.com" }, "licenses": [ { "type": "MIT", "url": "https://github.com/wieringen/tinycarousel/blob/master/MIT-...
c8f492119f19ec86d30be53a473bd3285f243182
tinycarousel.jquery.json
tinycarousel.jquery.json
JSON
<|file_sep|>html-templates/webapps/sencha.tpl.diff original: updated: {block "css-app"} {$app->buildCssMarkup()} {/block} <|file_sep|>original/html-templates/webapps/sencha.tpl <script type="text/javascript"> var SiteEnvironment = SiteEnvironment || { }; ...
<body class="{block "body-class"}loading{/block}"> {block "body"}{/block} {block "js-data"} <script type="text/javascript"> var SiteEnvironment = SiteEnvironment || { }; SiteEnvironment.user = {JSON::translateObjects($.User)|json_encode}; ...
<|file_sep|>html-templates/webapps/sencha.tpl.diff original: updated: {block "css-app"} {$app->buildCssMarkup()} {/block} <|file_sep|>original/html-templates/webapps/sencha.tpl <script type="text/javascript"> var SiteEnvironment = SiteEnvironment || { }; ...
608cd65d5caec14dfc9e40526ff0c196b1d3eb8b
html-templates/webapps/sencha.tpl
html-templates/webapps/sencha.tpl
Smarty
<|file_sep|>original/app/helpers/dtu_orbit_helper.rb module DtuOrbitHelper def render_link_to_dtu_orbit? document (document['backlink_ss'] || []).any? { |l| l.start_with? 'http://orbit.dtu.dk' } end def link_to_dtu_orbit document href = (document['backlink_ss'] || []).select { |l| l.start_with? 'http://...
module DtuOrbitHelper def render_link_to_dtu_orbit? document (document['backlink_ss'] || []).any? { |l| l.start_with? 'http://orbit.dtu.dk' } end def link_to_dtu_orbit document href = (document['backlink_ss'] || []).select { |l| l.start_with? 'http://orbit.dtu.dk' }.first if href link_to("DTU ...
<|file_sep|>original/app/helpers/dtu_orbit_helper.rb module DtuOrbitHelper def render_link_to_dtu_orbit? document (document['backlink_ss'] || []).any? { |l| l.start_with? 'http://orbit.dtu.dk' } end def link_to_dtu_orbit document href = (document['backlink_ss'] || []).select { |l| l.start_with? 'http://...
0ba34f9ce317407b6dd3ef680145d57f1d1fad0d
app/helpers/dtu_orbit_helper.rb
app/helpers/dtu_orbit_helper.rb
Ruby
<|file_sep|>app/view/core.js.diff original: // when landing on the page, get all events and show them updated: <|file_sep|>app/view/core.js.diff original: } updated: }; <|file_sep|>app/view/core.js.diff original: console.log("Error: " + data); updated: // redirect to 500.html $location.url('/50...
$scope.events = data; var locations = []; angular.forEach(data, function(value, key) { var location = { lat: value.GPSlat, log: value.GPSlog, alt: value.GPSalt }; this.push(location); }, locations); $scope.locations = locations; }) .error(function(data) { // redirect...
<|file_sep|>app/view/core.js.diff original: // when landing on the page, get all events and show them updated: <|file_sep|>app/view/core.js.diff original: } updated: }; <|file_sep|>app/view/core.js.diff original: console.log("Error: " + data); updated: // redirect to 500.html $location.url('/50...
fa483171e3f052e8acd64bef7273ad7b0dfe8ef5
app/view/core.js
app/view/core.js
JavaScript
<|file_sep|>features/runner.feature.diff original: Scenario: defining abspath before WP-CLI is loaded updated: Scenario: ABSPATH can be defined outside of WP-CLI <|file_sep|>features/runner.feature.diff original: define( 'ABSPATH', '/wcrtm/' ); updated: define( 'ABSPATH', '/some_path/' ); <|file...
<?php if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', '/some_path/' ); } """ When I try `wp no-such-command --debug` Then STDERR should not contain: """ Constant ABSPATH already defined in """ And STDERR should contain: """ ABSPATH defined:...
<|file_sep|>features/runner.feature.diff original: Scenario: defining abspath before WP-CLI is loaded updated: Scenario: ABSPATH can be defined outside of WP-CLI <|file_sep|>features/runner.feature.diff original: define( 'ABSPATH', '/wcrtm/' ); updated: define( 'ABSPATH', '/some_path/' ); <|file...
e16f5402060d412d13616124c667a72bfc89015d
features/runner.feature
features/runner.feature
Cucumber
<|file_sep|>go-controller/hack/test-go.sh.diff original: updated: retcode=$? <|file_sep|>original/go-controller/hack/test-go.sh #!/bin/bash source "$(dirname "${BASH_SOURCE}")/init.sh" # Check for `go` binary and set ${GOPATH}. setup_env pushd ${GOPATH}/src/${OVN_KUBE_GO_PACKAGE} if [ -z "$PKGS" ]; then # by def...
source "$(dirname "${BASH_SOURCE}")/init.sh" # Check for `go` binary and set ${GOPATH}. setup_env pushd ${GOPATH}/src/${OVN_KUBE_GO_PACKAGE} if [ -z "$PKGS" ]; then # by default, test everything that's not in vendor PKGS="$(go list ./... | grep -v vendor | xargs echo)" fi # Work around sudo's PATH handling sin...
<|file_sep|>go-controller/hack/test-go.sh.diff original: updated: retcode=$? <|file_sep|>original/go-controller/hack/test-go.sh #!/bin/bash source "$(dirname "${BASH_SOURCE}")/init.sh" # Check for `go` binary and set ${GOPATH}. setup_env pushd ${GOPATH}/src/${OVN_KUBE_GO_PACKAGE} if [ -z "$PKGS" ]; then # by def...
069ecfbb59a4c1c4586d8277b107f94f0a417e35
go-controller/hack/test-go.sh
go-controller/hack/test-go.sh
Shell
<|file_sep|>original/ChocolateyPackage/chocolateyInstall.ps1 $packageName = 'ChocolateyGUI' $fileType = 'msi' $silentArgs = '/quiet' $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) $fileFullPath = Join-Path $scriptPath 'ChocolateyGUI.msi' try { Install-ChocolateyInstallPackage $packageName $fileType $sile...
$packageName = 'ChocolateyGUI' $fileType = 'msi' $silentArgs = '/quiet' $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) $fileFullPath = Join-Path $scriptPath 'ChocolateyGUI.msi' Install-ChocolateyInstallPackage $packageName $fileType $silentArgs $fileFullPath
<|file_sep|>original/ChocolateyPackage/chocolateyInstall.ps1 $packageName = 'ChocolateyGUI' $fileType = 'msi' $silentArgs = '/quiet' $scriptPath = $(Split-Path $MyInvocation.MyCommand.Path) $fileFullPath = Join-Path $scriptPath 'ChocolateyGUI.msi' try { Install-ChocolateyInstallPackage $packageName $fileType $sile...
b57c969828cdd2d01ab05dbb5ea8fdf0aa99a37e
ChocolateyPackage/chocolateyInstall.ps1
ChocolateyPackage/chocolateyInstall.ps1
PowerShell
<|file_sep|>original/docs/requirements.txt marshmallow>=2.0.0rc1 Flask==1.0.2 sphinx==1.7.5 sphinx-rtd-theme==0.3.1 sphinx-issues>=0.2.0 <|file_sep|>current/docs/requirements.txt marshmallow>=2.0.0rc1 Flask==1.0.2 sphinx==1.7.5 sphinx-rtd-theme==0.3.1 sphinx-issues>=0.2.0 <|file_sep|>updated/docs/requirements.txt
marshmallow>=2.0.0rc1 Flask==1.0.2 sphinx==1.7.5 sphinx-rtd-theme==0.4.0 sphinx-issues>=0.2.0
<|file_sep|>original/docs/requirements.txt marshmallow>=2.0.0rc1 Flask==1.0.2 sphinx==1.7.5 sphinx-rtd-theme==0.3.1 sphinx-issues>=0.2.0 <|file_sep|>current/docs/requirements.txt marshmallow>=2.0.0rc1 Flask==1.0.2 sphinx==1.7.5 sphinx-rtd-theme==0.3.1 sphinx-issues>=0.2.0 <|file_sep|>updated/docs/requirements.txt marsh...
e67b7f68b544962c0af7553180e22bdea6e58917
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/transmit-lib/test/cmr/transmit/test/echo/rest.clj <|file_sep|>current/transmit-lib/test/cmr/transmit/test/echo/rest.clj <|file_sep|>updated/transmit-lib/test/cmr/transmit/test/echo/rest.clj
(ns cmr.transmit.test.echo.rest "Tests for cmr.transmit.echo.rest namespace" (:require [clojure.test :refer :all] [cmr.transmit.echo.rest :as rest])) (deftest test-error-masked (let [error-message "Unexpected error message: Token 123 does not exist." status 500] (is (= (format "Unexpected ...
<|file_sep|>original/transmit-lib/test/cmr/transmit/test/echo/rest.clj <|file_sep|>current/transmit-lib/test/cmr/transmit/test/echo/rest.clj <|file_sep|>updated/transmit-lib/test/cmr/transmit/test/echo/rest.clj (ns cmr.transmit.test.echo.rest "Tests for cmr.transmit.echo.rest namespace" (:require [clojure.test :r...
c67a02e4afac5142f5a63b3041c55e3e8963c206
transmit-lib/test/cmr/transmit/test/echo/rest.clj
transmit-lib/test/cmr/transmit/test/echo/rest.clj
Clojure
<|file_sep|>original/app/views/payments/success.html.erb <h2>Payment Complete</h2> Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account and choose "My Payments" to view details of this transaction. <|file_sep|>current/a...
<h2>Payment Complete</h2> Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account and choose "My Payments" to view details of this transaction. <%= link_to 'Back to My Registrations', registrants_path %>
<|file_sep|>original/app/views/payments/success.html.erb <h2>Payment Complete</h2> Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account and choose "My Payments" to view details of this transaction. <|file_sep|>current/a...
1701a9166437091c5a7efea7ef2793e7c3a35fb1
app/views/payments/success.html.erb
app/views/payments/success.html.erb
HTML+ERB
<|file_sep|>original/test/functional/repos_controller_test.rb } end test 'trying to create repo without logged in will redirect to login page' do assert_no_difference -> { Repo.count } do post :create, repo: { name: 'codetriage', user_name: 'codetriage' } end assert_redirected_to new_user_se...
test 'trying to create repo without logged in will redirect to login page' do assert_no_difference -> { Repo.count } do post :create, repo: { name: 'codetriage', user_name: 'codetriage' } end assert_redirected_to new_user_session_path end test 'logged in user can create repo' do sign_in u...
<|file_sep|>original/test/functional/repos_controller_test.rb } end test 'trying to create repo without logged in will redirect to login page' do assert_no_difference -> { Repo.count } do post :create, repo: { name: 'codetriage', user_name: 'codetriage' } end assert_redirected_to new_user_se...
5abf0922590c34f5c9ecd2e2b70c0a859cfe8047
test/functional/repos_controller_test.rb
test/functional/repos_controller_test.rb
Ruby
<|file_sep|>original/app/assets/stylesheets/views/_cookie-settings.scss .cookie-settings__form-wrapper { display: none; .js-enabled & { display: block; } } .cookie-settings__no-js { .js-enabled & { display: none; } } .cookie-settings__confirmation { @include govuk-font(19); display: none; } .c...
.cookie-settings__form-wrapper, .cookie-settings__warning { display: none; .js-enabled & { display: block; } } .cookie-settings__no-js { .js-enabled & { display: none; } } .cookie-settings__confirmation { @include govuk-font(19); display: none; } .cookie-settings__error {
<|file_sep|>original/app/assets/stylesheets/views/_cookie-settings.scss .cookie-settings__form-wrapper { display: none; .js-enabled & { display: block; } } .cookie-settings__no-js { .js-enabled & { display: none; } } .cookie-settings__confirmation { @include govuk-font(19); display: none; } .c...
346537a7d96f54241ee5a61b30080b88f8ace79a
app/assets/stylesheets/views/_cookie-settings.scss
app/assets/stylesheets/views/_cookie-settings.scss
SCSS
<|file_sep|>original/_posts/2014-08-24-witch-bolt.markdown --- layout: post title: "Witch Bolt" date: 2014-08-24 tags: [sorcerer, warlock, wizard, level1] --- **1st-level evocation** **Casting Time**: 1 action **Range**: 30 feet **Components**: V, S, M (a twig from a tree that has been struck by lightning) **Du...
--- layout: post title: "Witch Bolt" date: 2014-08-24 tags: [sorcerer, warlock, wizard, level1] --- **1st-level evocation** **Casting Time**: 1 action **Range**: 30 feet **Components**: V, S, M (a twig from a tree that has been struck by lightning) **Duration**: Concentration, up to 1 minute A beam of cracklin...
<|file_sep|>original/_posts/2014-08-24-witch-bolt.markdown --- layout: post title: "Witch Bolt" date: 2014-08-24 tags: [sorcerer, warlock, wizard, level1] --- **1st-level evocation** **Casting Time**: 1 action **Range**: 30 feet **Components**: V, S, M (a twig from a tree that has been struck by lightning) **Du...
2cde9d6fc2924d76edb5ccdb1e854459869af750
_posts/2014-08-24-witch-bolt.markdown
_posts/2014-08-24-witch-bolt.markdown
Markdown
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm-nightly before_script: - wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.2.3/setup' -O - | php - echo "use=." > xp.ini - echo "[runtime]" >> xp.i...
language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.2.3/setup' -O - | php - echo "use=." > xp.ini - echo "[runtime]" >> xp.ini - echo "date.timezone=Europe/Berlin" >> xp.ini script: - (EXCD=0; for i in src/test/config/un...
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm - hhvm-nightly matrix: allow_failures: - php: hhvm-nightly before_script: - wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.2.3/setup' -O - | php - echo "use=." > xp.ini - echo "[runtime]" >> xp.i...
00ecb97b29232ecdfde19a2f43af6d29dbac059e
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/handle_invalid_percent_encoding_requests/middleware.rb.diff original: updated: @logger.info "Bad request. Returning 400 due to #{e.message} from request with env #{request.inspect}" <|file_sep|>lib/handle_invalid_percent_encoding_requests/middleware.rb.diff original: updated: <|file_sep|>origi...
request.params @app.call(env) # Rescue from that specific ArgumentError rescue ArgumentError => e raise unless e.message =~ /invalid %-encoding/ @logger.info "Bad request. Returning 400 due to #{e.message} from request with env #{request.inspect}" error_response end priv...
<|file_sep|>lib/handle_invalid_percent_encoding_requests/middleware.rb.diff original: updated: @logger.info "Bad request. Returning 400 due to #{e.message} from request with env #{request.inspect}" <|file_sep|>lib/handle_invalid_percent_encoding_requests/middleware.rb.diff original: updated: <|file_sep|>origi...
276d7e38954e9850701cd457b9b4dc52e8df3f6b
lib/handle_invalid_percent_encoding_requests/middleware.rb
lib/handle_invalid_percent_encoding_requests/middleware.rb
Ruby
<|file_sep|>original/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml <|file_sep|>current/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml <|file_sep|>updated/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml
# Run sequence similar to pt-online-schema-change. # Inspired by bug1053073 but did not trigger it. --- - Statement: CREATE TABLE "customers" (cid INT NOT NULL PRIMARY KEY); --- - Statement: CREATE TABLE "addresses" (aid INT NOT NULL PRIMARY KEY, cid INT NOT NULL, GROUPING FOREIGN KEY(cid) REFERENCES customers(cid)); ...
<|file_sep|>original/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml <|file_sep|>current/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml <|file_sep|>updated/src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml # Run sequence...
b6d196c755cb4d68fc9a973886e53d3478ec56b2
src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml
src/test/resources/com/akiban/sql/pg/yaml/functional/test-osc-like-sequence.yaml
YAML
<|file_sep|>original/tests/spec/features/assistance_spec.rb in_channel_menu { click_on("Nightly") } editor.set <<~EOF fn foo<const T: usize>() {} EOF click_on("Build") within('.output-stderr') do click_on("add `#![feature(const_generics)]`") end within('.editor') do expec...
within('.output-stderr') do click_on("add `#![feature(const_generics)]`") end within('.editor') do expect(editor).to have_line '#![feature(const_generics)]' end end scenario "using a type that hasn't been imported offers importing it" do editor.set <<~EOF fn example(_: HashM...
<|file_sep|>original/tests/spec/features/assistance_spec.rb in_channel_menu { click_on("Nightly") } editor.set <<~EOF fn foo<const T: usize>() {} EOF click_on("Build") within('.output-stderr') do click_on("add `#![feature(const_generics)]`") end within('.editor') do expec...
739f137c091e64af8fb1ee155d7e9c493d345a83
tests/spec/features/assistance_spec.rb
tests/spec/features/assistance_spec.rb
Ruby
<|file_sep|>plugins/pg_search/db/migrate/20130320010063_create_indexes_for_search.rb.diff original: updated: Searchables = %w[ article comment qualifier national_region certifier profile license scrap category ] Klasses = Searchables.map {|searchable| searchable.camelize.constantize } <|file_sep|>plugins/pg_sear...
class CreateIndexesForSearch < ActiveRecord::Migration Searchables = %w[ article comment qualifier national_region certifier profile license scrap category ] Klasses = Searchables.map {|searchable| searchable.camelize.constantize } def self.up Klasses.each do |klass| fields = klass.pg_search_plugin_fi...
<|file_sep|>plugins/pg_search/db/migrate/20130320010063_create_indexes_for_search.rb.diff original: updated: Searchables = %w[ article comment qualifier national_region certifier profile license scrap category ] Klasses = Searchables.map {|searchable| searchable.camelize.constantize } <|file_sep|>plugins/pg_sear...
ebc8ab06f04e9b68fbb4952dca0db2377186a3e0
plugins/pg_search/db/migrate/20130320010063_create_indexes_for_search.rb
plugins/pg_search/db/migrate/20130320010063_create_indexes_for_search.rb
Ruby
<|file_sep|>original/undercloud/tripleoclient-install.sh #!/bin/bash set -eux set -o pipefail rm -rf ~/venv; virtualenv ~/venv; ~/venv/bin/pip install --editable ~/python-tripleoclient; ~/venv/bin/pip install tripleo-common==5.0.0.0b2 os-cloud-config==5.0.0.0b2 <|file_sep|>current/undercloud/tripleoclient-install.sh #...
#!/bin/bash set -eux set -o pipefail rm -rf ~/venv; virtualenv ~/venv; ~/venv/bin/pip install --editable ~/python-tripleoclient; ~/venv/bin/pip install tripleo-common==5.0.0.0b2 os-cloud-config==5.0.0.0b2 ~/venv/bin/pip install git+git://github.com/openstack/python-heatclient.git@master
<|file_sep|>original/undercloud/tripleoclient-install.sh #!/bin/bash set -eux set -o pipefail rm -rf ~/venv; virtualenv ~/venv; ~/venv/bin/pip install --editable ~/python-tripleoclient; ~/venv/bin/pip install tripleo-common==5.0.0.0b2 os-cloud-config==5.0.0.0b2 <|file_sep|>current/undercloud/tripleoclient-install.sh #...
4e78315fcb796d85dd9c72320e01a3a81a18fcc2
undercloud/tripleoclient-install.sh
undercloud/tripleoclient-install.sh
Shell
<|file_sep|>original/composer.json { "name": "Rabbit-Converter/Rabbit-PHP", "description": "Another Zawgyi <=> Unicode Converter", "license": "MIT", "keywords": [ "converter", "zawgyi", "unicode", "myanmar-font" ], "homepage": "http://saturngod.github.io/Rabbit", ...
{ "name": "rabbit-converter/rabbit-php", "description": "Another Zawgyi <=> Unicode Converter", "license": "MIT", "keywords": [ "converter", "zawgyi", "unicode", "myanmar-font" ], "homepage": "http://saturngod.github.io/Rabbit", "authors": [ { ...
<|file_sep|>original/composer.json { "name": "Rabbit-Converter/Rabbit-PHP", "description": "Another Zawgyi <=> Unicode Converter", "license": "MIT", "keywords": [ "converter", "zawgyi", "unicode", "myanmar-font" ], "homepage": "http://saturngod.github.io/Rabbit", ...
f014432ced6050b3cc677a8ed01797f7ce7af7b0
composer.json
composer.json
JSON
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
f98f56c6e36271d34bd554448f133f512968874d
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/README.md This is the Dispatch component of the Proem Framework. <|file_sep|>current/README.md This is the Dispatch component of the Proem Framework. <|file_sep|>updated/README.md
[![Build Status](https://secure.travis-ci.org/proem-components/dispatch.png)](http://travis-ci.org/proem-components/dispatch) This is the Dispatch component of the Proem Framework.
<|file_sep|>original/README.md This is the Dispatch component of the Proem Framework. <|file_sep|>current/README.md This is the Dispatch component of the Proem Framework. <|file_sep|>updated/README.md [![Build Status](https://secure.travis-ci.org/proem-components/dispatch.png)](http://travis-ci.org/proem-components/dis...
411bae047ec1cfbf17ad61948bb331412a8ddcd1
README.md
README.md
Markdown
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt URLRequestTest.DoNotSaveCookies URLRequestTest.QuitTest # See http://crbug.com/47836 ClientSocketPoolBaseTest.CancelPendingSocketAtSocketLimit # Single-threaded and relatively slow - no reason to test # See http://crbug.com/59642 Coo...
# See http://crbug.com/47836 ClientSocketPoolBaseTest.CancelPendingSocketAtSocketLimit # Single-threaded and relatively slow - no reason to test # See http://crbug.com/59642 CookieMonsterTest.GarbageCollectionTriggers # Time out, see http://crbug.com/68482 SSLServerSocketTest.* # See http://crbug.com/102330 SSLClien...
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt URLRequestTest.DoNotSaveCookies URLRequestTest.QuitTest # See http://crbug.com/47836 ClientSocketPoolBaseTest.CancelPendingSocketAtSocketLimit # Single-threaded and relatively slow - no reason to test # See http://crbug.com/59642 Coo...
56cf9b8bc5504bd12ad45b4c8a52e6fd3218d6c3
tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt
tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt
Text
<|file_sep|>original/frontend/src/components/RestaurantEntry.vue name: 'RestaurantEntry', props: ["restaurant_info"], data () { return { dishes: null } }, mounted () { axios .get(process.env.VUE_APP_API_URL + '/restaurant/' + this.restaurant_info['identifier']) .then(r...
name: 'RestaurantEntry', props: ["restaurant_info"], data () { return { dishes: null } }, mounted () { axios .get(process.env.VUE_APP_API_URL + '/restaurant/' + this.restaurant_info['identifier'] + '/') .then(response => (this.dishes = response.data.restaurant.menu)) ...
<|file_sep|>original/frontend/src/components/RestaurantEntry.vue name: 'RestaurantEntry', props: ["restaurant_info"], data () { return { dishes: null } }, mounted () { axios .get(process.env.VUE_APP_API_URL + '/restaurant/' + this.restaurant_info['identifier']) .then(r...
21d2b9242419d9fb6f0134988cb2b8420adbf1ba
frontend/src/components/RestaurantEntry.vue
frontend/src/components/RestaurantEntry.vue
Vue
<|file_sep|>original/spec/electric_sheep/shell/resourceful_spec.rb <|file_sep|>current/spec/electric_sheep/shell/resourceful_spec.rb <|file_sep|>updated/spec/electric_sheep/shell/resourceful_spec.rb
require 'spec_helper' describe ElectricSheep::Shell::Resourceful do ResourcefulKlazz = Class.new do include ElectricSheep::Shell::Resourceful def initialize @host=ElectricSheep::Metadata::Host.new end end describe ResourcefulKlazz do def assert_resource_created(type, klazz, local_e...
<|file_sep|>original/spec/electric_sheep/shell/resourceful_spec.rb <|file_sep|>current/spec/electric_sheep/shell/resourceful_spec.rb <|file_sep|>updated/spec/electric_sheep/shell/resourceful_spec.rb require 'spec_helper' describe ElectricSheep::Shell::Resourceful do ResourcefulKlazz = Class.new do include Ele...
f0e39ca8381a4d4ef667acc942eace262365aa33
spec/electric_sheep/shell/resourceful_spec.rb
spec/electric_sheep/shell/resourceful_spec.rb
Ruby
<|file_sep|>index.js.diff original: updated: var path = require('path'); <|file_sep|>original/index.js /* jshint node: true */ 'use strict'; module.exports = { name: 'ember-highlight', included: function(app, parentAddon) { var target = (parentAddon || app); target.import('vendor/simple.css'); } }; <...
/* jshint node: true */ 'use strict'; var path = require('path'); module.exports = { name: 'ember-highlight', included: function(app, parentAddon) { var target = (parentAddon || app); target.import('vendor/simple.css'); target.import(path.join(target.bowerDirectory, 'jquery-highlight', 'jquery.highl...
<|file_sep|>index.js.diff original: updated: var path = require('path'); <|file_sep|>original/index.js /* jshint node: true */ 'use strict'; module.exports = { name: 'ember-highlight', included: function(app, parentAddon) { var target = (parentAddon || app); target.import('vendor/simple.css'); } }; <...
2951f5215d7eda07282311929c584c860b9a245b
index.js
index.js
JavaScript
<|file_sep|>original/.circleci/config.yml version: 2.1 orbs: python: circleci/python@1.0.0 jobs: build: docker: - image: cimg/python:3.6.10 steps: - checkout - run: pip install pytest pytest-cov requests - run: | curl -L https://github.com/rqlite/rqlite/releases/downloa...
version: 2.1 orbs: python: circleci/python@1.0.0 jobs: build: docker: - image: cimg/python:3.6.10 steps: - checkout - run: pip install pytest pytest-cov requests - run: | curl -L https://github.com/rqlite/rqlite/releases/download/v6.7.0/rqlite-v6.7.0-linux-amd64.tar.gz ...
<|file_sep|>original/.circleci/config.yml version: 2.1 orbs: python: circleci/python@1.0.0 jobs: build: docker: - image: cimg/python:3.6.10 steps: - checkout - run: pip install pytest pytest-cov requests - run: | curl -L https://github.com/rqlite/rqlite/releases/downloa...
89398a4a385739e2a4710005a3d5c68091653e2a
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/server/render/render.js Some modules may have data dependency causing a new module to be rendered. These in turn may have more data dependencies. Hence the need for step 4. */ require('node-jsx').install({harmony: true}); var fs = require("fs"); var React = require("react"); var App = require("....
Some modules may have data dependency causing a new module to be rendered. These in turn may have more data dependencies. Hence the need for step 4. */ require('node-jsx').install({harmony: true}); var fs = require("fs"); var React = require("react"); var App = require("../../client/app/components/app"); var router ...
<|file_sep|>original/server/render/render.js Some modules may have data dependency causing a new module to be rendered. These in turn may have more data dependencies. Hence the need for step 4. */ require('node-jsx').install({harmony: true}); var fs = require("fs"); var React = require("react"); var App = require("....
ab913ac954253d86d4945b8c561a08dcbbb40c38
server/render/render.js
server/render/render.js
JavaScript
<|file_sep|>.travis.yml.diff original: rust: - nightly - beta - stable updated: <|file_sep|>original/.travis.yml language: rust rust: - nightly - beta - stable matrix: include: - rust: 1.15.0 script: - cargo build - cargo build --features small <|file_sep|>current/.travis.yml...
language: rust matrix: include: - rust: nightly script: - cargo test - cargo build --tests --features no-panic --release - rust: beta script: - cargo test - rust: stable script: - cargo test - rust: 1.15.0 script: - cargo build -...
<|file_sep|>.travis.yml.diff original: rust: - nightly - beta - stable updated: <|file_sep|>original/.travis.yml language: rust rust: - nightly - beta - stable matrix: include: - rust: 1.15.0 script: - cargo build - cargo build --features small <|file_sep|>current/.travis.yml...
27f6e3d356e12ca1029918c40882f95da4d77120
.travis.yml
.travis.yml
YAML
<|file_sep|>original/source/javascripts/site.js (function (window, document, $, undefined) { })(window, document, jQuery); <|file_sep|>current/source/javascripts/site.js (function (window, document, $, undefined) { })(window, document, jQuery); <|file_sep|>updated/source/javascripts/site.js
(function (window, document, $, undefined) { var rockhopper = function () { return { }; }(); })(window, document, jQuery);
<|file_sep|>original/source/javascripts/site.js (function (window, document, $, undefined) { })(window, document, jQuery); <|file_sep|>current/source/javascripts/site.js (function (window, document, $, undefined) { })(window, document, jQuery); <|file_sep|>updated/source/javascripts/site.js (function (window, documen...
a710e6a39f964fbd381267685b1e5f76dece48f4
source/javascripts/site.js
source/javascripts/site.js
JavaScript
<|file_sep|>spec/integration/default/default_spec.rb.diff original: describe 'The recipe sharness::default' do updated: describe 'sharness::default' do <|file_sep|>spec/integration/default/default_spec.rb.diff original: it 'installs sharness' do updated: it 'installs sharness library' do <|file_sep|>spec/integratio...
it 'installs aggregate script' do expect(file "#{prefix}/share/sharness/aggregate-results.sh").to be_file end it 'installs documentation' do expect(file "#{prefix}/share/doc/sharness/README.md").to be_file end context 'test examples' do let (:examples) { "#{prefix}/share/doc/sharness/examples" ...
<|file_sep|>spec/integration/default/default_spec.rb.diff original: describe 'The recipe sharness::default' do updated: describe 'sharness::default' do <|file_sep|>spec/integration/default/default_spec.rb.diff original: it 'installs sharness' do updated: it 'installs sharness library' do <|file_sep|>spec/integratio...
4f53cceb5abf057ba1ea1e8d6aafd3b2831cf172
spec/integration/default/default_spec.rb
spec/integration/default/default_spec.rb
Ruby
<|file_sep|>conf4j-all/pom.xml.diff original: updated: <artifactId>conf4j-consul</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.advpos.conf4j</groupId> <|file_sep|>original/conf4j-all/pom.xml <project xmlns="http://maven.ap...
<artifactId>conf4j-all</artifactId> <dependencies> <dependency> <groupId>net.advpos.conf4j</groupId> <artifactId>conf4j-consul</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.advpos.conf4j</group...
<|file_sep|>conf4j-all/pom.xml.diff original: updated: <artifactId>conf4j-consul</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.advpos.conf4j</groupId> <|file_sep|>original/conf4j-all/pom.xml <project xmlns="http://maven.ap...
69a57bbd03772f4337b9b684b14657fd7478cc9f
conf4j-all/pom.xml
conf4j-all/pom.xml
XML
<|file_sep|>original/.travis.yml sudo: false language: node_js branches: only: - master matrix: fast_finish: true include: - os: linux node_js: '8' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12...
sudo: false language: node_js branches: only: - master matrix: fast_finish: true include: - os: linux node_js: '10' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12' env: NODE_ENV="test" JOB...
<|file_sep|>original/.travis.yml sudo: false language: node_js branches: only: - master matrix: fast_finish: true include: - os: linux node_js: '8' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12' env: NODE_ENV="test" JOB_PART=test - os: linux node_js: '12...
102719eb4c7af22568af85f6c8053d8052fa6882
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/bootstrap.php <?php /** * PHPUnit bootstrap file * * @package WP-Auth0 */ ini_set( 'error_log', '/dev/null' ); echo 'PHP version: ' . phpversion() . "\n"; $_tests_dir = getenv( 'WP_TESTS_DIR' ); if ( ! $_tests_dir ) { $_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-test...
<?php /** * PHPUnit bootstrap file * * @package WP-Auth0 */ ini_set( 'error_log', '/dev/null' ); $_tests_dir = getenv( 'WP_TESTS_DIR' ); if ( ! $_tests_dir ) { $_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib'; } if ( ! file_exists( $_tests_dir . '/includes/functions.php' ) ) { echo "C...
<|file_sep|>original/tests/bootstrap.php <?php /** * PHPUnit bootstrap file * * @package WP-Auth0 */ ini_set( 'error_log', '/dev/null' ); echo 'PHP version: ' . phpversion() . "\n"; $_tests_dir = getenv( 'WP_TESTS_DIR' ); if ( ! $_tests_dir ) { $_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-test...
46da96a5b030c1ff37922fa89a0c940859f820ba
tests/bootstrap.php
tests/bootstrap.php
PHP
<|file_sep|>src/scripts/content/ticktick.js.diff original: togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function ( elem ) { const project = $('#project-setting input', elem).getAttribute('value'); updated: togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function rend...
const projectEl = elem.querySelector('.project-setting input'); return projectEl ? projectEl.value.trim() : ''; } function getDescription () { const descriptionEl = elem.querySelector('#tasktitle div[contenteditable]'); return descriptionEl ? descriptionEl.textContent.trim() : ''; } const butt...
<|file_sep|>src/scripts/content/ticktick.js.diff original: togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function ( elem ) { const project = $('#project-setting input', elem).getAttribute('value'); updated: togglbutton.render('#task-detail-view:not(.toggl)', { observe: true }, function rend...
7e8ebdf5b2894125f6ca36f838f5b6270c53e7fe
src/scripts/content/ticktick.js
src/scripts/content/ticktick.js
JavaScript
<|file_sep|>src/styles/konnectorInstall.styl.diff original: updated: @require 'settings/breakpoints.styl' <|file_sep|>src/styles/konnectorInstall.styl.diff original: updated: +tiny-screen() padding 0 <|file_sep|>original/src/styles/konnectorInstall.styl .col-account-connection-security svg ...
.col-account-connection-security display flex align-items top margin-bottom .5rem margin-top 1.5rem .col-account-connection-security svg max-height rem(24) max-width rem(24) float left margin-right rem(8) .col-account-con...
<|file_sep|>src/styles/konnectorInstall.styl.diff original: updated: @require 'settings/breakpoints.styl' <|file_sep|>src/styles/konnectorInstall.styl.diff original: updated: +tiny-screen() padding 0 <|file_sep|>original/src/styles/konnectorInstall.styl .col-account-connection-security svg ...
bd7bbb14062b4e81e7f570043eb5396230820709
src/styles/konnectorInstall.styl
src/styles/konnectorInstall.styl
Stylus
<|file_sep|>original/Casks/lyx.rb cask :v1 => 'lyx' do version '2.1.2.2' sha256 '82047ac2aec85f422d94e3f3ea88ffb911264499c09fe9eee341f10537495990' url "ftp://ftp.lyx.org/pub/lyx/bin/#{version}/LyX-#{version}+qt4-x86_64-cocoa.dmg" gpg "#{url}.sig", :key_id => 'de7a44fac7fb382d' name 'LyX' homepage 'ht...
cask :v1 => 'lyx' do version '2.1.3' sha256 'dd17537095d66c2af24918ebcc0670b5b0a761e23157a73f6c9c144d450fc70e' url "ftp://ftp.lyx.org/pub/lyx/bin/#{version}/LyX-#{version}+qt4-x86_64-cocoa.dmg" gpg "#{url}.sig", :key_id => 'de7a44fac7fb382d' name 'LyX' homepage 'http://www.lyx.org' license :unknown...
<|file_sep|>original/Casks/lyx.rb cask :v1 => 'lyx' do version '2.1.2.2' sha256 '82047ac2aec85f422d94e3f3ea88ffb911264499c09fe9eee341f10537495990' url "ftp://ftp.lyx.org/pub/lyx/bin/#{version}/LyX-#{version}+qt4-x86_64-cocoa.dmg" gpg "#{url}.sig", :key_id => 'de7a44fac7fb382d' name 'LyX' homepage 'ht...
edc521588865e8b51858c48ffe17b7790dae89b7
Casks/lyx.rb
Casks/lyx.rb
Ruby
<|file_sep|>original/.travis.yml - 7.6 - 7.8 addons: apt: packages: - libgmp-dev - libgtk2.0-dev - libcairo2-dev - libglib2.0-dev before_install: - cabal install 'cabal-install >= 1.22' - cabal install alex happy - cabal install gtk2hs-buildtools install: - cabal sandbox init ...
- 7.8 addons: apt: packages: - libgmp-dev - libgtk2.0-dev - libcairo2-dev - libglib2.0-dev before_install: - cabal install 'cabal-install >= 1.22' - cabal install alex happy - cabal install gtk2hs-buildtools install: - cabal sandbox init - cabal install 'Cabal >= 1.22' - caba...
<|file_sep|>original/.travis.yml - 7.6 - 7.8 addons: apt: packages: - libgmp-dev - libgtk2.0-dev - libcairo2-dev - libglib2.0-dev before_install: - cabal install 'cabal-install >= 1.22' - cabal install alex happy - cabal install gtk2hs-buildtools install: - cabal sandbox init ...
772b59aed21372edd740f2665e5bfef3ae43f52b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c <|file_sep|>current/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c <|file_sep|>updated/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c
/** Having fun with multidimensinal arrays. */ #include <stdio.h> /** TODO: Dada uma matriz inteira Maxb, imprima o número de linhas e colunas nulas (apenas com valores zerados, matematicamente falando) da matriz. */ #define ROWS_QTT 4 #define COLS_QTT 5 int main(){ /* Dada uma matriz Amxm, imprima quantas vez...
<|file_sep|>original/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c <|file_sep|>current/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c <|file_sep|>updated/src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c /** Having fun with multidimensinal arrays. */ #include <stdio.h> /** TODO: Dada uma matriz inteira Maxb, imprima o número...
68bc833ceda612ee8fb5e673d08c8de41cff4c90
src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c
src/ufrn_bti_imd0012_2017_1_t3/matrix_fun.c
C
<|file_sep|>.travis.yml.diff original: updated: - 9 <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 7 - 6 - 4 before_install: - yarn config set no-progress - yarn global add greenkeeper-lockfile@1 install: - yarn before_script: greenkeeper-lockfile-update after_script: greenkeeper-loc...
language: node_js node_js: - 9 - 8 - 6 - 4 before_install: - yarn config set no-progress - yarn global add greenkeeper-lockfile@1 install: - yarn before_script: greenkeeper-lockfile-update after_script: greenkeeper-lockfile-upload notifications: email: true after_success: npm run coverage
<|file_sep|>.travis.yml.diff original: updated: - 9 <|file_sep|>original/.travis.yml language: node_js node_js: - 8 - 7 - 6 - 4 before_install: - yarn config set no-progress - yarn global add greenkeeper-lockfile@1 install: - yarn before_script: greenkeeper-lockfile-update after_script: greenkeeper-loc...
e8c065a820de5b942d18fb8ce1b4b13e3e1311b3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/kracken/railtie.rb require "kracken/json_api" module Kracken # Railtie to hook into Rails. class Railtie < ::Rails::Railtie initializer "kracken.json_api.public_exceptions" do |app| app.middleware.insert_after ActionDispatch::DebugExceptions, ::K...
require "kracken/json_api" module Kracken # Railtie to hook into Rails. class Railtie < ::Rails::Railtie initializer "kracken.json_api.public_exceptions" do |app| app.middleware.insert_after ActionDispatch::DebugExceptions, ::Kracken::JsonApi::PublicExceptions end ...
<|file_sep|>original/lib/kracken/railtie.rb require "kracken/json_api" module Kracken # Railtie to hook into Rails. class Railtie < ::Rails::Railtie initializer "kracken.json_api.public_exceptions" do |app| app.middleware.insert_after ActionDispatch::DebugExceptions, ::K...
4e7bfd1bfde99c9eb1becfe9ebba26560ba3465d
lib/kracken/railtie.rb
lib/kracken/railtie.rb
Ruby
<|file_sep|>original/tests/test_httpclient.py class TestHTTPClient(unittest.TestCase): """ Except for the init test, these are largely functional tests that require a RabbitMQ management API to be available on localhost:55672 """ def setUp(self): self.c = http.HTTPClient('localhost:55672',...
require a RabbitMQ management API to be available on localhost:55672 """ def setUp(self): self.c = http.HTTPClient('localhost:55672', 'guest', 'guest') def test_client_init(self): c = http.HTTPClient('localhost:55672', 'guest', 'guest') self.assertIsInstance(c, http.HTTPClient)...
<|file_sep|>original/tests/test_httpclient.py class TestHTTPClient(unittest.TestCase): """ Except for the init test, these are largely functional tests that require a RabbitMQ management API to be available on localhost:55672 """ def setUp(self): self.c = http.HTTPClient('localhost:55672',...
4daefdb0a4def961572fc22d0fe01a394b11fad9
tests/test_httpclient.py
tests/test_httpclient.py
Python