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/app/models/shop/authorize_net_payment_processor.rb def self.get_options(hsh) Shop::AuthorizeNetPaymentProcessor::ProcessorOptions.new(hsh) end class ProcessorOptions < HashModel default_options :login => nil, :password => nil, :test_server => false validates_presence_of :login, ...
def self.get_options(hsh) Shop::AuthorizeNetPaymentProcessor::ProcessorOptions.new(hsh) end class ProcessorOptions < HashModel default_options :login => nil, :password => nil, :test_server => false validates_presence_of :login, :password end def get_gateway ActiveMerchant::Billing::Aut...
<|file_sep|>original/app/models/shop/authorize_net_payment_processor.rb def self.get_options(hsh) Shop::AuthorizeNetPaymentProcessor::ProcessorOptions.new(hsh) end class ProcessorOptions < HashModel default_options :login => nil, :password => nil, :test_server => false validates_presence_of :login, ...
a9dd6a6f731f7e875bd4f0710a91e3cf36eeb7be
app/models/shop/authorize_net_payment_processor.rb
app/models/shop/authorize_net_payment_processor.rb
Ruby
<|file_sep|>test/functional/c-shared-library/libtest.c.diff original: #ifdef __GNUC__ #define DLL_PUBLIC __attribute__ ((dllexport)) updated: #if defined(__GNUC__) || defined(__clang__) # define DLL_PUBLIC __attribute__ ((dllexport)) <|file_sep|>original/test/functional/c-shared-library/libtest.c #ifdef __GNUC__ #def...
#if defined(__GNUC__) || defined(__clang__) # define DLL_PUBLIC __attribute__ ((dllexport)) #else # define DLL_PUBLIC __declspec(dllexport) #endif DLL_PUBLIC int libtest_main() { return 0; }
<|file_sep|>test/functional/c-shared-library/libtest.c.diff original: #ifdef __GNUC__ #define DLL_PUBLIC __attribute__ ((dllexport)) updated: #if defined(__GNUC__) || defined(__clang__) # define DLL_PUBLIC __attribute__ ((dllexport)) <|file_sep|>original/test/functional/c-shared-library/libtest.c #ifdef __GNUC__ #def...
fddc41e81dda0627ccd9b6b998df57d62b8d2460
test/functional/c-shared-library/libtest.c
test/functional/c-shared-library/libtest.c
C
<|file_sep|>.travis.yml.diff original: updated: env: - SOM=CSOM REPO=https://github.com/SOM-st/CSOM.git BUILD=make - SOM=JsSOM REPO=https://github.com/SOM-st/JsSOM.git BUILD=make - SOM=PySOM REPO=https://github.com/SOM-st/PySOM.git BUILD="" - SOM=RPySOM REPO=https://g...
- SOM=CSOM REPO=https://github.com/SOM-st/CSOM.git BUILD=make - SOM=JsSOM REPO=https://github.com/SOM-st/JsSOM.git BUILD=make - SOM=PySOM REPO=https://github.com/SOM-st/PySOM.git BUILD="" - SOM=RPySOM REPO=https://github.com/SOM-st/RPySOM.git BUILD="" - SOM=RTru...
<|file_sep|>.travis.yml.diff original: updated: env: - SOM=CSOM REPO=https://github.com/SOM-st/CSOM.git BUILD=make - SOM=JsSOM REPO=https://github.com/SOM-st/JsSOM.git BUILD=make - SOM=PySOM REPO=https://github.com/SOM-st/PySOM.git BUILD="" - SOM=RPySOM REPO=https://g...
a7644b8dbef62394356331cc2201c2ab0cd8b639
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/benchmarks/constructs/InplaceOperationStringAdd.py <|file_sep|>current/tests/benchmarks/constructs/InplaceOperationStringAdd.py <|file_sep|>updated/tests/benchmarks/constructs/InplaceOperationStringAdd.py
# Copyright 2015, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test originally created or extracted from other peoples work. The # parts from me are licensed as below. It is at least Free Softwar where # it's copied from other people. In these cases, that will normally be # indicated. # # Li...
<|file_sep|>original/tests/benchmarks/constructs/InplaceOperationStringAdd.py <|file_sep|>current/tests/benchmarks/constructs/InplaceOperationStringAdd.py <|file_sep|>updated/tests/benchmarks/constructs/InplaceOperationStringAdd.py # Copyright 2015, Kay Hayen, mailto:kay.hayen@gmail.com # # Python test origin...
a852de81afdf8426cb243115a87856e2767a8d40
tests/benchmarks/constructs/InplaceOperationStringAdd.py
tests/benchmarks/constructs/InplaceOperationStringAdd.py
Python
<|file_sep|>original/build-pom.xml <!-- A pure convenience for local builds and travis-ci. --> <project> <modelVersion>4.0.0</modelVersion> <groupId>build-only</groupId> <artifactId>build-only</artifactId> <version>NO_VERSION</version> <packaging>pom</packaging> <modules> <module>.</module> <module>...
<artifactId>build-only</artifactId> <version>NO_VERSION</version> <packaging>pom</packaging> <modules> <module>.</module> <module>common</module> <module>factory</module> <module>service</module> <module>value</module> </modules> <distributionManagement> <repository> <id>sonaty...
<|file_sep|>original/build-pom.xml <!-- A pure convenience for local builds and travis-ci. --> <project> <modelVersion>4.0.0</modelVersion> <groupId>build-only</groupId> <artifactId>build-only</artifactId> <version>NO_VERSION</version> <packaging>pom</packaging> <modules> <module>.</module> <module>...
34d118c645eb4732cf91e4385452e60b760901b4
build-pom.xml
build-pom.xml
XML
<|file_sep|>original/_posts/2015-02-17-sobre-o-blog.md --- layout: post title: "Sobre o blog" date: 2015-02-17 12:05:04 description: 'O porquê de mais um blog?' image: 'assets/img/posts/sobre-o-blog/main.jpg' tags: - gulp - task runner --- Neste tutorial vamos aprender o básico de como e por que utilizar o Gulp! Tam...
--- layout: post title: "Sobre o blog" date: 2015-02-17 12:05:04 description: 'O porquê de mais um blog'?cen image: '/assets/img/posts/sobre-o-blog/main.jpg' tags: - gulp - task runner --- Neste tutorial vamos aprender o básico de como e por que utilizar o Gulp! Também vamos ver qual a principal diferença com relaçã...
<|file_sep|>original/_posts/2015-02-17-sobre-o-blog.md --- layout: post title: "Sobre o blog" date: 2015-02-17 12:05:04 description: 'O porquê de mais um blog?' image: 'assets/img/posts/sobre-o-blog/main.jpg' tags: - gulp - task runner --- Neste tutorial vamos aprender o básico de como e por que utilizar o Gulp! Tam...
4a1b964df9b3ad078d0805fbf930876a3d5c1ed3
_posts/2015-02-17-sobre-o-blog.md
_posts/2015-02-17-sobre-o-blog.md
Markdown
<|file_sep|>original/app/cells/context/ko_input.html.haml .control-group{"data-bind" => "with: $data.textField($data,'#{@field_name}')"} %label.control-label= @field_name .controls %input{type: "text", id: "#{@field_name}", "data-bind" => "value: v" } <|file_sep|>current/app/cells/context/ko_input.html.haml .co...
.control-group{"data-bind" => "with: $data.textField($data,'#{@field_name}')"} %label.control-label= @field_name .controls %input{type: "text", id: "#{@field_name}", "data-bind" => "value: v" } .errors{"data-bind" => "foreach: $data.errors"} %p.text-error(data-bind="text: $data")
<|file_sep|>original/app/cells/context/ko_input.html.haml .control-group{"data-bind" => "with: $data.textField($data,'#{@field_name}')"} %label.control-label= @field_name .controls %input{type: "text", id: "#{@field_name}", "data-bind" => "value: v" } <|file_sep|>current/app/cells/context/ko_input.html.haml .co...
280e6c4bf064d842cf195cc8886ac5352d431446
app/cells/context/ko_input.html.haml
app/cells/context/ko_input.html.haml
Haml
<|file_sep|>test/models/herbarium_test.rb.diff original: assert_nil(herbaria(:rolf).mailing_address) updated: assert_nil(herbaria(:rolf_herbarium).mailing_address) <|file_sep|>test/models/herbarium_test.rb.diff original: assert_nil(herbaria(:rolf).location) updated: assert_nil(herbaria(:rolf_herbarium)....
def test_location assert(herbaria(:nybg_herbarium).location) assert_nil(herbaria(:rolf_herbarium).location) end def test_email assert(herbaria(:nybg_herbarium).email) assert(herbaria(:rolf_herbarium).email) end def test_curators assert(herbaria(:nybg_herbarium).curators.length > 1) a...
<|file_sep|>test/models/herbarium_test.rb.diff original: assert_nil(herbaria(:rolf).mailing_address) updated: assert_nil(herbaria(:rolf_herbarium).mailing_address) <|file_sep|>test/models/herbarium_test.rb.diff original: assert_nil(herbaria(:rolf).location) updated: assert_nil(herbaria(:rolf_herbarium)....
1cddcb0ab890410b1d08edacb96e0922d58a8751
test/models/herbarium_test.rb
test/models/herbarium_test.rb
Ruby
<|file_sep|>original/lib/wp_op/post_builder.rb require 'nokogiri' class PostBuilder def self.from_item item p = Post.new p.title = item.at_css('title').text p.content = item.at_css('encoded').text p.published = (item.at_css('status').text == 'draft') p.date = item.at_css('pubDate').text p ...
require 'nokogiri' class PostBuilder def self.from_item item p = Post.new p.title = item.at_css('title').text p.content = item.at_css('encoded').text p.published = (item.at_css('status').text == 'publish') p.date = item.at_css('pubDate').text p end end
<|file_sep|>original/lib/wp_op/post_builder.rb require 'nokogiri' class PostBuilder def self.from_item item p = Post.new p.title = item.at_css('title').text p.content = item.at_css('encoded').text p.published = (item.at_css('status').text == 'draft') p.date = item.at_css('pubDate').text p ...
83141993f7aee9fd69c906292055ec612c3be961
lib/wp_op/post_builder.rb
lib/wp_op/post_builder.rb
Ruby
<|file_sep|>.travis.yml.diff original: - ./travis_long stack --no-terminal --skip-ghc-check setup - ./travis_long stack --no-terminal --skip-ghc-check test --only-snapshot updated: - stack --no-terminal --skip-ghc-check setup - stack --no-terminal --skip-ghc-check test --only-snapshot <|file_sep|>original/.trav...
before_install: - mkdir -p ~/.local/bin - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' - export PATH=~/.local/bin:/opt/ghc/$GHCVER/bin:$PATH - chmod a+x ~/.local/bin/stack install: - stack --no-terminal --skip-ghc-check setup...
<|file_sep|>.travis.yml.diff original: - ./travis_long stack --no-terminal --skip-ghc-check setup - ./travis_long stack --no-terminal --skip-ghc-check test --only-snapshot updated: - stack --no-terminal --skip-ghc-check setup - stack --no-terminal --skip-ghc-check test --only-snapshot <|file_sep|>original/.trav...
28dd265498de1324d66bafdc3264af10bce12874
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/starpunk/StarPunkGame.java <|file_sep|>current/src/main/java/starpunk/StarPunkGame.java <|file_sep|>updated/src/main/java/starpunk/StarPunkGame.java
package starpunk; import com.badlogic.gdx.Game; final class StarPunkGame extends Game { public static final int WIDTH = 1280; public static final int HEIGHT = 900; StarPunkGame() { } @Override public void create() { setScreen( new GameScreen( this ) ); } }
<|file_sep|>original/src/main/java/starpunk/StarPunkGame.java <|file_sep|>current/src/main/java/starpunk/StarPunkGame.java <|file_sep|>updated/src/main/java/starpunk/StarPunkGame.java package starpunk; import com.badlogic.gdx.Game; final class StarPunkGame extends Game { public static final int WIDTH = 1280; ...
f992d857a3f264f215ea5b2fd494c564a7955f50
src/main/java/starpunk/StarPunkGame.java
src/main/java/starpunk/StarPunkGame.java
Java
<|file_sep|>original/lib/omniauth/strategies/nyulibraries.rb module OmniAuth module Strategies require 'omniauth-oauth2' class Nyulibraries < OmniAuth::Strategies::OAuth2 if defined?(::Rails) && ::Rails.env.development? OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE end option...
module OmniAuth module Strategies require 'omniauth-oauth2' class Nyulibraries < OmniAuth::Strategies::OAuth2 if defined?(::Rails) && ::Rails.env.development? OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE end option :name, :nyulibraries option :client_options, { ...
<|file_sep|>original/lib/omniauth/strategies/nyulibraries.rb module OmniAuth module Strategies require 'omniauth-oauth2' class Nyulibraries < OmniAuth::Strategies::OAuth2 if defined?(::Rails) && ::Rails.env.development? OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE end option...
e843780f8c4daff6dbfde424197cf74a89fab545
lib/omniauth/strategies/nyulibraries.rb
lib/omniauth/strategies/nyulibraries.rb
Ruby
<|file_sep|>src/main/java/org/cryptonit/cloud/Database.java.diff original: updated: import java.sql.Connection; import java.sql.DriverManager; <|file_sep|>original/src/main/java/org/cryptonit/cloud/Database.java package org.cryptonit.cloud; /** * @author Mathias Brossard */ public class Database { public Data...
package org.cryptonit.cloud; import java.sql.Connection; import java.sql.DriverManager; /** * @author Mathias Brossard */ public class Database { public Database(String url, String user, String password) { Connection c = null; try { Class.forName("org.postgresql.Driver"); ...
<|file_sep|>src/main/java/org/cryptonit/cloud/Database.java.diff original: updated: import java.sql.Connection; import java.sql.DriverManager; <|file_sep|>original/src/main/java/org/cryptonit/cloud/Database.java package org.cryptonit.cloud; /** * @author Mathias Brossard */ public class Database { public Data...
1baf3b827c5372e82c9f9706a12f3391de3019d4
src/main/java/org/cryptonit/cloud/Database.java
src/main/java/org/cryptonit/cloud/Database.java
Java
<|file_sep|>original/setup.py author='sendwithus', author_email='us@sendwithus.com', packages=find_packages(), scripts=[], url='https://github.com/sendwithus/sendwithus_python', license='LICENSE.txt', description='Python API client for sendwithus.com', long_description=long_description, ...
scripts=[], url='https://github.com/sendwithus/sendwithus_python', license='LICENSE.txt', description='Python API client for sendwithus.com', long_description=long_description, test_suite="sendwithus.test", install_requires=[ "requests >= 1.1.0", "six >= 1.9.0" ], cla...
<|file_sep|>original/setup.py author='sendwithus', author_email='us@sendwithus.com', packages=find_packages(), scripts=[], url='https://github.com/sendwithus/sendwithus_python', license='LICENSE.txt', description='Python API client for sendwithus.com', long_description=long_description, ...
c3ad61a642e0e1149ae7ea1e8bde2efa6bbc9263
setup.py
setup.py
Python
<|file_sep|>original/web.rb require 'net/http' require 'data_mapper' class Character include DataMapper::Resource property :id, Serial property :region, String property :realm, String property :character, String property :created_at, DateTime property :updated_at, DateTime end class W...
require 'net/http' require 'data_mapper' class Character include DataMapper::Resource property :id, Serial property :region, String property :realm, String property :character, String property :img_url, String property :created_at, DateTime property :updated_at, DateTime end clas...
<|file_sep|>original/web.rb require 'net/http' require 'data_mapper' class Character include DataMapper::Resource property :id, Serial property :region, String property :realm, String property :character, String property :created_at, DateTime property :updated_at, DateTime end class W...
655902de4591c7cdea0e361ea693b11bc219aece
web.rb
web.rb
Ruby
<|file_sep|>metadata/re.indigo.epistolaire.yml.diff original: updated: - versionName: 0.4.0 versionCode: 5 commit: 0.4.0 subdir: app gradle: - yes <|file_sep|>original/metadata/re.indigo.epistolaire.yml Repo: https://gitlab.com/hydrargyrum/epistolaire.git Builds: - versionName: 0.3.3 ve...
gradle: - yes - versionName: 0.3.4 versionCode: 4 commit: 0.3.4 subdir: app gradle: - yes - versionName: 0.4.0 versionCode: 5 commit: 0.4.0 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.4.0 CurrentVersionCode: 5
<|file_sep|>metadata/re.indigo.epistolaire.yml.diff original: updated: - versionName: 0.4.0 versionCode: 5 commit: 0.4.0 subdir: app gradle: - yes <|file_sep|>original/metadata/re.indigo.epistolaire.yml Repo: https://gitlab.com/hydrargyrum/epistolaire.git Builds: - versionName: 0.3.3 ve...
29fe5dced6d45ac9f6e1944ed7f935214b9afc74
metadata/re.indigo.epistolaire.yml
metadata/re.indigo.epistolaire.yml
YAML
<|file_sep|>original/elm_package.json { "version": "1.0.0", "summary": "website for browsing packages and exploring documentation", "repository": "https://github.com/elm-lang/package.elm-lang.org.git", "license": "BSD3", "source-directories": [ "frontend" ], "exposed-modules": [], ...
{ "version": "1.0.0", "summary": "website for browsing packages and exploring documentation", "repository": "https://github.com/elm-lang/package.elm-lang.org.git", "license": "BSD3", "source-directories": [ "frontend" ], "exposed-modules": [], "native-modules": true, "depende...
<|file_sep|>original/elm_package.json { "version": "1.0.0", "summary": "website for browsing packages and exploring documentation", "repository": "https://github.com/elm-lang/package.elm-lang.org.git", "license": "BSD3", "source-directories": [ "frontend" ], "exposed-modules": [], ...
5e51131be41f73a192fd76cbcf9f7ee90825577a
elm_package.json
elm_package.json
JSON
<|file_sep|>original/README.txt This directory contains both the native and java-side code for Tomcat Native Library. Building ======== <|file_sep|>current/README.txt This directory contains both the native and java-side code for Tomcat Native Library. Building ======== <|file_sep|>updated/README.txt
This directory contains both the native and java-side code for Tomcat Native Library. Building ======== ant Running the examples ==================== before running the examples you may have to set LD_LIBRARY_PATH, something like LD_LIBRARY_PATH=/opt/SMAWoIS/openssl/lib; export LD_LIBRARY_PATH echo: (port in examples...
<|file_sep|>original/README.txt This directory contains both the native and java-side code for Tomcat Native Library. Building ======== <|file_sep|>current/README.txt This directory contains both the native and java-side code for Tomcat Native Library. Building ======== <|file_sep|>updated/README.txt This directory c...
4489f94198040b163535b82948fd672b0283dfe7
README.txt
README.txt
Text
<|file_sep|>lib/erlang/src/router/rest/app_controllers/nodes_controller.erl.diff original: lists:append( updated: Nodes = lists:append( <|file_sep|>lib/erlang/src/router/rest/app_controllers/nodes_controller.erl.diff original: {struct, ?BINIFY([ updated: ?BINIFY([ <|file_sep|>lib/erlang/src/router/rest/...
get(_) -> {struct, [ {"routers", [format_nodes(fun node_manager:get_routers/0)]}, {"nodes", format_nodes(fun node_manager:get_nodes/0)} ] }. format_nodes(F) -> Nodes = lists:append( lists:map(fun(#node{name = Name, host = Host} = _Node) -> ?BINIFY([ {"name", Name}, {"host...
<|file_sep|>lib/erlang/src/router/rest/app_controllers/nodes_controller.erl.diff original: lists:append( updated: Nodes = lists:append( <|file_sep|>lib/erlang/src/router/rest/app_controllers/nodes_controller.erl.diff original: {struct, ?BINIFY([ updated: ?BINIFY([ <|file_sep|>lib/erlang/src/router/rest/...
718e2f6955a8ef1dffaab3fbbd23a3813eaf1004
lib/erlang/src/router/rest/app_controllers/nodes_controller.erl
lib/erlang/src/router/rest/app_controllers/nodes_controller.erl
Erlang
<|file_sep|>original/app/controllers/search_controller.rb class SearchController < ApplicationController def search # TODO: get "undefined method `sphinx_index_options'" when Person and any other class is given??? @people = ThinkingSphinx.search(params[:query], :classes => [Person]) @invoices = ThinkingSp...
class SearchController < ApplicationController def search # TODO: get "undefined method `sphinx_index_options'" when Person and any other class is given??? @people = ThinkingSphinx.search(params[:query], :classes => [Person], :star => true) @invoices = ThinkingSphinx.search(params[:query], :classes => [In...
<|file_sep|>original/app/controllers/search_controller.rb class SearchController < ApplicationController def search # TODO: get "undefined method `sphinx_index_options'" when Person and any other class is given??? @people = ThinkingSphinx.search(params[:query], :classes => [Person]) @invoices = ThinkingSp...
52493a8f6f5f818f751e30cf0a5789db9d2bf66e
app/controllers/search_controller.rb
app/controllers/search_controller.rb
Ruby
<|file_sep|>original/.github/workflows/pytest.yml name: Python ${{ matrix.python-version }} sample steps: - name: Check out repository code uses: actions/checkout@v2 # Setup Python (faster than using Python container) - name: Setup Python uses: actions/setup-python@v2 ...
name: Python ${{ matrix.python-version }} sample steps: - name: Check out repository code uses: actions/checkout@v2 # Setup Python (faster than using Python container) - name: Setup Python uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-...
<|file_sep|>original/.github/workflows/pytest.yml name: Python ${{ matrix.python-version }} sample steps: - name: Check out repository code uses: actions/checkout@v2 # Setup Python (faster than using Python container) - name: Setup Python uses: actions/setup-python@v2 ...
025c0e386abb12a551034a13ca9bc78e03363e08
.github/workflows/pytest.yml
.github/workflows/pytest.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.12" - "0.11" - "0.10"
<|file_sep|>.travis.yml.diff original: updated: - "0.12" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "0.10"
8c1e191db517bdd1e8d3d4ae5dc2867044c28c58
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/src/main/res/layout/icon.xml <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="match_parent" /> <TextView android:id="@+id/textView" android:layout_width="match_parent" android:layout_height="match_parent" android...
<ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="match_parent" /> <TextView android:id="@+id/textView" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="top" android:paddingLeft="@dimen/element...
<|file_sep|>original/app/src/main/res/layout/icon.xml <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="match_parent" /> <TextView android:id="@+id/textView" android:layout_width="match_parent" android:layout_height="match_parent" android...
56ec68b09f6055df0987a577fc5c6ae9a90ede9b
app/src/main/res/layout/icon.xml
app/src/main/res/layout/icon.xml
XML
<|file_sep|>original/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift <|file_sep|>current/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift <|file_sep|>updated/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift
// RUN: not --crash %target-swift-frontend %s -parse // REQUIRES: asserts // Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing class B<T:B{class B<class b{}func b(T.B
<|file_sep|>original/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift <|file_sep|>current/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift <|file_sep|>updated/validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift // RUN: not --crash %targe...
63d0331dc6ad45dc43cdc973eceb636dc95105de
validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift
validation-test/compiler_crashers/28238-swift-typechecker-validatedecl.swift
Swift
<|file_sep|>original/Tests/ResourceMirrorTest.php <|file_sep|>current/Tests/ResourceMirrorTest.php <|file_sep|>updated/Tests/ResourceMirrorTest.php
<?php namespace Orbt\ResourceMirror\Tests; use Orbt\ResourceMirror\ResourceMirror; use Symfony\Component\EventDispatcher\EventDispatcher; class ResourceMirrorTest extends \PHPUnit_Framework_TestCase { /** * A resource mirror can be instantiated. */ public function testCreate() { $mirror...
<|file_sep|>original/Tests/ResourceMirrorTest.php <|file_sep|>current/Tests/ResourceMirrorTest.php <|file_sep|>updated/Tests/ResourceMirrorTest.php <?php namespace Orbt\ResourceMirror\Tests; use Orbt\ResourceMirror\ResourceMirror; use Symfony\Component\EventDispatcher\EventDispatcher; class ResourceMirrorTest exte...
cf6ba84d6ff29fa1fbd823258ceb8d98c1c822ec
Tests/ResourceMirrorTest.php
Tests/ResourceMirrorTest.php
PHP
<|file_sep|>original/app.yaml runtime: go vm: true api_version: go1 handlers: - url: /.* script: _go_app secure: always <|file_sep|>current/app.yaml runtime: go vm: true api_version: go1 handlers: - url: /.* script: _go_app secure: always <|file_sep|>updated/app.yaml
runtime: go vm: true api_version: go1 handlers: - url: /.* script: _go_app secure: always redirect_http_response_code: 301
<|file_sep|>original/app.yaml runtime: go vm: true api_version: go1 handlers: - url: /.* script: _go_app secure: always <|file_sep|>current/app.yaml runtime: go vm: true api_version: go1 handlers: - url: /.* script: _go_app secure: always <|file_sep|>updated/app.yaml runtime: go vm: true api_version: go1 han...
1d660ad431e5b760359535a6563c557ec8490efe
app.yaml
app.yaml
YAML
<|file_sep|>original/metadata/dev.melonpan.kotori.yml <|file_sep|>current/metadata/dev.melonpan.kotori.yml <|file_sep|>updated/metadata/dev.melonpan.kotori.yml
Categories: - Navigation License: GPL-3.0-or-later AuthorName: Gabriel Ibáñez AuthorEmail: isseigx@duck.com AuthorWebSite: https://isseigx.gitlab.io SourceCode: https://gitlab.com/isseigx/kotori IssueTracker: https://gitlab.com/isseigx/kotori/-/issues Changelog: https://gitlab.com/isseigx/kotori/-/blob/master/CHANGEL...
<|file_sep|>original/metadata/dev.melonpan.kotori.yml <|file_sep|>current/metadata/dev.melonpan.kotori.yml <|file_sep|>updated/metadata/dev.melonpan.kotori.yml Categories: - Navigation License: GPL-3.0-or-later AuthorName: Gabriel Ibáñez AuthorEmail: isseigx@duck.com AuthorWebSite: https://isseigx.gitlab.io SourceC...
7c6cabcc774f9bae93ae1ccc99b75d5ba8157c75
metadata/dev.melonpan.kotori.yml
metadata/dev.melonpan.kotori.yml
YAML
<|file_sep|>original/app/views/home/show.html.erb <% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.moneyadviceservice.org.uk", "potentialAction": { "@type": "SearchAction", "targe...
<% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.moneyadviceservice.org.uk/en", "potentialAction": { "@type": "SearchAction", "target": "https://www.moneyadviceservice.org.uk/en/s...
<|file_sep|>original/app/views/home/show.html.erb <% content_for :head do %> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.moneyadviceservice.org.uk", "potentialAction": { "@type": "SearchAction", "targe...
cb598f257aef1511e87bb6033e196e32e660b7dd
app/views/home/show.html.erb
app/views/home/show.html.erb
HTML+ERB
<|file_sep|>original/data/retrieve/retrieve.py <|file_sep|>current/data/retrieve/retrieve.py <|file_sep|>updated/data/retrieve/retrieve.py
import os import urllib.request ''' Checks to see whether the data is present. To be used to check whether to download OR not. Insert the name in the following format 'os.path.isfile('NAME_OF_FILE') ''' if not os.path.isfile('../DNA_TEST_1.txt'): urllib.request.urlretrieve(url, 'DNA_TEST_1.txt')
<|file_sep|>original/data/retrieve/retrieve.py <|file_sep|>current/data/retrieve/retrieve.py <|file_sep|>updated/data/retrieve/retrieve.py import os import urllib.request ''' Checks to see whether the data is present. To be used to check whether to download OR not. Insert the name in the following format 'os.path.isf...
9f81fa58475a352aa009a5009dd31428f574fdd9
data/retrieve/retrieve.py
data/retrieve/retrieve.py
Python
<|file_sep|>original/test/test_conduit/test_compound.py <|file_sep|>current/test/test_conduit/test_compound.py <|file_sep|>updated/test/test_conduit/test_compound.py
import unittest utils = __import__('utils') # Suppress PyCharm warning from picdump import conduit class DummySource: def __init__(self, src): self.src = src self.it = None self.reset() def __next__(self): return next(self.it) def reset(self): self.it = iter(sel...
<|file_sep|>original/test/test_conduit/test_compound.py <|file_sep|>current/test/test_conduit/test_compound.py <|file_sep|>updated/test/test_conduit/test_compound.py import unittest utils = __import__('utils') # Suppress PyCharm warning from picdump import conduit class DummySource: def __init__(self, src): ...
3b0649706b1e01c52045bdcb33f8aeb61aef2635
test/test_conduit/test_compound.py
test/test_conduit/test_compound.py
Python
<|file_sep|>original/.circleci/config.yml # Golang CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: build: docker: # specify the version - image: circleci/golang:1.9 working_directory: /go/src/github.com/HeySquirrel/tribe s...
# Golang CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: build: docker: # specify the version - image: circleci/golang:1.9 working_directory: /go/src/github.com/HeySquirrel/tribe steps: - checkout - run: make t...
<|file_sep|>original/.circleci/config.yml # Golang CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: build: docker: # specify the version - image: circleci/golang:1.9 working_directory: /go/src/github.com/HeySquirrel/tribe s...
467625f320bbfb165a1c5e471afeb255954dc59d
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs <|file_sep|>current/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs <|file_sep|>updated/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs
using Hudl.FFmpeg.Attributes; using Hudl.FFmpeg.Enums; using Hudl.FFmpeg.Resources.BaseTypes; using Hudl.FFmpeg.Settings.Attributes; using Hudl.FFmpeg.Settings.Interfaces; namespace Hudl.FFmpeg.Settings { /// <summary> /// This option sets the maximum number of queued packets when reading from the file or...
<|file_sep|>original/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs <|file_sep|>current/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs <|file_sep|>updated/Hudl.Ffmpeg/Settings/ThreadQueueSize.cs using Hudl.FFmpeg.Attributes; using Hudl.FFmpeg.Enums; using Hudl.FFmpeg.Resources.BaseTypes; using Hudl.FFmpeg.Settings.Attributes; usi...
be27ba2497f9b6d59036f5bbd41a528eaf459a1c
Hudl.Ffmpeg/Settings/ThreadQueueSize.cs
Hudl.Ffmpeg/Settings/ThreadQueueSize.cs
C#
<|file_sep|>lib/contexts/get_google_apps_domain.rb.diff original: domain = Domain.find_or_create_by(:domain => domain_name) updated: domain = Domain.find_or_create_by(:domain => domain_name) do |d| d.importing = true end <|file_sep|>original/lib/contexts/get_google_apps_domain.rb client = ...
# Fetch a list of the users in this domain response = client.directory_users_list(domain_name) if response.success? domain = Domain.find_or_create_by(:domain => domain_name) do |d| d.importing = true end # The user is an admin of the domain we're fetching user.update_attri...
<|file_sep|>lib/contexts/get_google_apps_domain.rb.diff original: domain = Domain.find_or_create_by(:domain => domain_name) updated: domain = Domain.find_or_create_by(:domain => domain_name) do |d| d.importing = true end <|file_sep|>original/lib/contexts/get_google_apps_domain.rb client = ...
14ef1736220fe1225c123713dfde0e1884dc3b90
lib/contexts/get_google_apps_domain.rb
lib/contexts/get_google_apps_domain.rb
Ruby
<|file_sep|>original/modules/sanitycheck/www/index.php 'errors' => &$errors, ); SimpleSAML_Module::callHooks('sanitycheck', $hookinfo); if (isset($_REQUEST['output']) && $_REQUEST['output'] == 'text') { if (count($errors) === 0) { echo 'OK'; } else { echo 'FAIL'; } exit; } $t = new SimpleSAML_XHTML_Templa...
'errors' => &$errors, ); SimpleSAML_Module::callHooks('sanitycheck', $hookinfo); if (isset($_REQUEST['output']) && $_REQUEST['output'] == 'text') { if (count($errors) === 0) { echo 'OK'; } else { echo 'FAIL'; } exit; } $t = new SimpleSAML_XHTML_Template($config, 'sanitycheck:check-tpl.php'); $t->data['pag...
<|file_sep|>original/modules/sanitycheck/www/index.php 'errors' => &$errors, ); SimpleSAML_Module::callHooks('sanitycheck', $hookinfo); if (isset($_REQUEST['output']) && $_REQUEST['output'] == 'text') { if (count($errors) === 0) { echo 'OK'; } else { echo 'FAIL'; } exit; } $t = new SimpleSAML_XHTML_Templa...
c711eb9f5a401d1a789b26cdac3daa02c9db3b29
modules/sanitycheck/www/index.php
modules/sanitycheck/www/index.php
PHP
<|file_sep|>website/partners/solutions/freshegg-australia/index.hbs.diff original: layout: partners.hbs updated: layout: partners <|file_sep|>website/partners/solutions/freshegg-australia/index.hbs.diff original: priority: 50 summary: updated: TR_summary: <|file_sep|>website/partners/solutions/freshegg-australia/index....
email: "adam@freshegg.com" region: "Asia Pacific" city: "Sydney" state: "NSW" address1: "Fresh Egg Ltd, Level 2, 101 William Street, Darlinghurst" address2: zip: "2010" country: "Australia" contact: languages: - "English" - "Dutch" tags: - "E-Commerce / Retail" - "Travel" - "Insurance" -...
<|file_sep|>website/partners/solutions/freshegg-australia/index.hbs.diff original: layout: partners.hbs updated: layout: partners <|file_sep|>website/partners/solutions/freshegg-australia/index.hbs.diff original: priority: 50 summary: updated: TR_summary: <|file_sep|>website/partners/solutions/freshegg-australia/index....
c5ca154092e6df80ce55ba07294035da8212c931
website/partners/solutions/freshegg-australia/index.hbs
website/partners/solutions/freshegg-australia/index.hbs
Handlebars
<|file_sep|>original/metadata/com.thibaudperso.sonycamera.txt Take pictures with interval time in WiFi mode for your Sony camera. Works with devices RX100-mk2, NEX-5R, QX-10 / QX-100, NEX-6, Alpha-7, RX10 and DSC-HX50V. . Repo Type:git Repo:https://github.com/ThibaudM/timelapse-sony Build:2.0.1,13 commit=b0eb4dc3...
Take pictures with interval time in WiFi mode for your Sony camera. Works with devices RX100-mk2, NEX-5R, QX-10 / QX-100, NEX-6, Alpha-7, RX10 and DSC-HX50V. . Repo Type:git Repo:https://github.com/ThibaudM/timelapse-sony Build:2.0.1,13 commit=b0eb4dc3a6f80cc2b1cf0c0c85cfc56b9f11bdbd rm=libs/* extlibs=and...
<|file_sep|>original/metadata/com.thibaudperso.sonycamera.txt Take pictures with interval time in WiFi mode for your Sony camera. Works with devices RX100-mk2, NEX-5R, QX-10 / QX-100, NEX-6, Alpha-7, RX10 and DSC-HX50V. . Repo Type:git Repo:https://github.com/ThibaudM/timelapse-sony Build:2.0.1,13 commit=b0eb4dc3...
8889c98ab79021d69e76ae4045ba4b0566252b76
metadata/com.thibaudperso.sonycamera.txt
metadata/com.thibaudperso.sonycamera.txt
Text
<|file_sep|>README.md.diff original: Simple sls for installing openttd. Can install from package management or from openttd site (with some configuration). updated: Simple sls for installing openttd. Can install from package management or from openttd site (for deb or ubuntu, with some configuration). ## Usage <|file_...
# salt-openttd Simple sls for installing openttd. Can install from package management or from openttd site (for deb or ubuntu, with some configuration). ## Usage Place in your salt heirachy (e.g. ```/srv/salt/openttd```) and run using salt (e.g. ```salt-call --local state.sls openttd```). ### Pillar An example pil...
<|file_sep|>README.md.diff original: Simple sls for installing openttd. Can install from package management or from openttd site (with some configuration). updated: Simple sls for installing openttd. Can install from package management or from openttd site (for deb or ubuntu, with some configuration). ## Usage <|file_...
61612a522d3e0fd7a7c5f2987c7f3c8fd610c2e8
README.md
README.md
Markdown
<|file_sep|>original/docs/analytics_scripts/ores_changes.rb <|file_sep|>current/docs/analytics_scripts/ores_changes.rb <|file_sep|>updated/docs/analytics_scripts/ores_changes.rb
term = Campaign.find_by(slug: 'spring_2017') first_revs = [] term.courses.each do |course| course.articles_courses.each do |ac| first_revs << ac.all_revisions.order('date ASC').first end end importer = RevisionScoreImporter.new first_revs.each do |rev| next if rev.nil? next if rev.wp10_previous next if...
<|file_sep|>original/docs/analytics_scripts/ores_changes.rb <|file_sep|>current/docs/analytics_scripts/ores_changes.rb <|file_sep|>updated/docs/analytics_scripts/ores_changes.rb term = Campaign.find_by(slug: 'spring_2017') first_revs = [] term.courses.each do |course| course.articles_courses.each do |ac| first...
d8341f5aff12d7d01f41584d353e747a2bfc8692
docs/analytics_scripts/ores_changes.rb
docs/analytics_scripts/ores_changes.rb
Ruby
<|file_sep|>jenkins/install-deps.sh.diff original: sudo add-apt-repository --yes ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install --yes python2.6 python2.6-dev updated: function install_deb(){ sudo aptitude install -y python-dev libffi-dev python-pip } <|file_sep|>original/jenkins/install-deps.sh ...
#!/bin/bash -xue function install_deb(){ sudo aptitude install -y python-dev libffi-dev python-pip } function install_centos(){ sudo yum install -i python-dev libffi-dev python-pip } function is_centos(){ [[ -f /etc/centos-release ]] } function is_deb(){ [[ -f /etc/debian_version ]] } func...
<|file_sep|>jenkins/install-deps.sh.diff original: sudo add-apt-repository --yes ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install --yes python2.6 python2.6-dev updated: function install_deb(){ sudo aptitude install -y python-dev libffi-dev python-pip } <|file_sep|>original/jenkins/install-deps.sh ...
b439a7f5ca1b2c3d81c3329a71f6bb1c3ce0f4cd
jenkins/install-deps.sh
jenkins/install-deps.sh
Shell
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-xena-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 <|file_sep|>current/.zuul.yaml - project: templates: - check-requirements - l...
- project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-yoga-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-xena-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 <|file_sep|>current/.zuul.yaml - project: templates: - check-requirements - l...
a34a95b4e9103071ff7a2a3fb7d18c877cf5c2dc
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>original/package.json "engines": { "node": ">=0.10.0", "npm": ">=1.2.10" }, "scripts": { "test": "mocha" }, "dependencies": { "browserslist": "^1.0.0", "postcss": "^5.0.0", "reduce-css-calc": "^1.2.0" }, "devDependencies": { "mocha": "^2.3.2" }, "keywords": [ ...
"engines": { "node": ">=0.10.0", "npm": ">=1.2.10" }, "scripts": { "test": "mocha" }, "dependencies": { "browserslist": "^1.0.0", "postcss": "^5.0.0", "reduce-css-calc": "^1.2.7" }, "devDependencies": { "mocha": "^2.3.2" }, "keywords": [ "css", "postcss", "postc...
<|file_sep|>original/package.json "engines": { "node": ">=0.10.0", "npm": ">=1.2.10" }, "scripts": { "test": "mocha" }, "dependencies": { "browserslist": "^1.0.0", "postcss": "^5.0.0", "reduce-css-calc": "^1.2.0" }, "devDependencies": { "mocha": "^2.3.2" }, "keywords": [ ...
74cf3b7585d9f3ac53b808783c4bf01078044888
package.json
package.json
JSON
<|file_sep|>original/app/index.html <!doctype html> <html class="no-js"> <head> <meta charset="utf-8"> <title>HMDA Pilot | CFPB</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> ...
<!doctype html> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <title>HMDA Pilot | CFPB</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <!-- build:css(.) style...
<|file_sep|>original/app/index.html <!doctype html> <html class="no-js"> <head> <meta charset="utf-8"> <title>HMDA Pilot | CFPB</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> ...
61190965796c64530d52c76f6c7d74ada30a4c2f
app/index.html
app/index.html
HTML
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml
--- upload_path: "/uploads/:year:/:month:/:day:" frontmatter_file_url_template: "/uploads/:year:/:month:/:day:" body_file_url_template: "/uploads/:year:/:month:/:day:" new_page_extension: md auto_deploy: false admin_path: webhook_url: collections:
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml --- upload_path: "/uploads/:year:/:month:/:day:" frontmatter_file_url_template: "/uploads/:year:/:month:/:day:" body_file_url_template: "/uploads/:year:/:month:/:day:" new_page_extension: ...
dba64cef900d8643c95f960bae231d33495b30e7
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>.travis.yml.diff original: - sudo apt-get build-dep csound - wget https://github.com/csound/csound/archive/6.10.0.tar.gz - tar -xf 6.10.0.tar.gz updated: - sudo apt-get install -y libsndfile1-dev - wget https://github.com/csound/csound/archive/6.09.1.tar.gz - tar -xf 6.09.1.tar.gz <|file_sep|>or...
- '8' - '6' - '4' before_install: # Build Csound. - sudo apt-get install -y libsndfile1-dev - wget https://github.com/csound/csound/archive/6.09.1.tar.gz - tar -xf 6.09.1.tar.gz - mkdir csound - cd csound - cmake ../csound-6.09.1 - make - sudo make install - sudo ldconfig - cd .. # Get cs...
<|file_sep|>.travis.yml.diff original: - sudo apt-get build-dep csound - wget https://github.com/csound/csound/archive/6.10.0.tar.gz - tar -xf 6.10.0.tar.gz updated: - sudo apt-get install -y libsndfile1-dev - wget https://github.com/csound/csound/archive/6.09.1.tar.gz - tar -xf 6.09.1.tar.gz <|file_sep|>or...
6b58b821d951811574e94090c2cf7f7c8c81ec85
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/java/com/conveyal/r5/api/GraphQlRequest.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <|file_sep|>original/src/main/java/com/conveyal/r5/api/GraphQlRequest.java package com.conveyal.r5.api; /** * Dummy request for GraphQL * * Since GraphQL request ...
package com.conveyal.r5.api; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Dummy request for GraphQL * * Since GraphQL request is in JSON Jackson needs this to parse it correctly. */ @JsonIgnoreProperties(ignoreUnknown = true) public class GraphQlRequest { public String query; //FIXM...
<|file_sep|>src/main/java/com/conveyal/r5/api/GraphQlRequest.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <|file_sep|>original/src/main/java/com/conveyal/r5/api/GraphQlRequest.java package com.conveyal.r5.api; /** * Dummy request for GraphQL * * Since GraphQL request ...
ae78a91c411f346b76548aa800f3683512b0868b
src/main/java/com/conveyal/r5/api/GraphQlRequest.java
src/main/java/com/conveyal/r5/api/GraphQlRequest.java
Java
<|file_sep|>original/chrome/test/data/speech/basic_recognition.html document.location = '#fail'; } } function run() { // Calculate a point inside the speech button and pass that to the // c++ test code through the URL fragment. This calculation must // get updated i...
} } function run() { // Calculate a point inside the speech button and pass that to the // c++ test code through the URL fragment. This calculation must // get updated if the speech button rendering changes. var inputField = document.getElementById('inputField'); ...
<|file_sep|>original/chrome/test/data/speech/basic_recognition.html document.location = '#fail'; } } function run() { // Calculate a point inside the speech button and pass that to the // c++ test code through the URL fragment. This calculation must // get updated i...
bd4994ba94587d1e98489f16e84977bbba3f1c75
chrome/test/data/speech/basic_recognition.html
chrome/test/data/speech/basic_recognition.html
HTML
<|file_sep|>.travis.yml.diff original: updated: jdk: openjdk8 <|file_sep|>original/.travis.yml before_install: - gem i rubygems-update -v '3.0.4' && update_rubygems - gem i bundler -v '2.0.2' bundler_args: --without benchmark --jobs=3 --retry=3 matrix: include: - rvm: 2.4.6 - rvm: 2.5.5 - rvm...
- gem i bundler -v '2.0.2' bundler_args: --without benchmark --jobs=3 --retry=3 matrix: include: - rvm: 2.4.6 - rvm: 2.5.5 - rvm: 2.6.3 - rvm: jruby-9.2.7.0 env: JRUBY_OPTS=--debug jdk: openjdk8 - rvm: ruby-head - rvm: jruby-head env: JRUBY_OPTS=--debug jdk: openjdk...
<|file_sep|>.travis.yml.diff original: updated: jdk: openjdk8 <|file_sep|>original/.travis.yml before_install: - gem i rubygems-update -v '3.0.4' && update_rubygems - gem i bundler -v '2.0.2' bundler_args: --without benchmark --jobs=3 --retry=3 matrix: include: - rvm: 2.4.6 - rvm: 2.5.5 - rvm...
fcad271525c91e837dd6cd3d8270abd1c0ca7433
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py from setuptools import find_packages, setup setup( name='blocks.contrib', namespace_packages=['blocks'], install_requires=['blocks'], packages=find_packages(exclude=['examples']), zip_safe=False) <|file_sep|>current/setup.py from setuptools import find_packages, setup ...
from setuptools import find_packages, setup setup( name='blocks.contrib', namespace_packages=['blocks'], install_requires=['git+git://github.com/bartvm/blocks.git#egg=blocks'], packages=find_packages(exclude=['examples']), zip_safe=False)
<|file_sep|>original/setup.py from setuptools import find_packages, setup setup( name='blocks.contrib', namespace_packages=['blocks'], install_requires=['blocks'], packages=find_packages(exclude=['examples']), zip_safe=False) <|file_sep|>current/setup.py from setuptools import find_packages, setup ...
eed4ea2d787cf4cf07ec9d5a95b27f2c352f271a
setup.py
setup.py
Python
<|file_sep|>README.md.diff original: updated: Installation ------------ <|file_sep|>original/README.md Add this line to your application's Gemfile: ```ruby gem 'letteropend' ``` And then execute: $ bundle Or install it yourself as: $ gem install letteropend ## Contributing 1. Fork it ( https://github.c...
```ruby gem 'letteropend' ``` And then execute: $ bundle Or install it yourself as: $ gem install letteropend Contributing ------------ 1. Fork it ( https://github.com/jrjurman/letteropend/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add...
<|file_sep|>README.md.diff original: updated: Installation ------------ <|file_sep|>original/README.md Add this line to your application's Gemfile: ```ruby gem 'letteropend' ``` And then execute: $ bundle Or install it yourself as: $ gem install letteropend ## Contributing 1. Fork it ( https://github.c...
fb81f8412fae7de3d974dbe053f60bcd50c89388
README.md
README.md
Markdown
<|file_sep|>test/app_root/config/database.yml.diff original: timeout: 5000 updated: timeout: 10000 <|file_sep|>test/app_root/config/database.yml.diff original: timeout: 5000 updated: timeout: 10000 <|file_sep|>original/test/app_root/config/database.yml # gem install sqlite3-ruby (not necessary on OS X Leopard...
# gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3 database: test/app_root/db/development.sqlite3 pool: 5 timeout: 10000 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db t...
<|file_sep|>test/app_root/config/database.yml.diff original: timeout: 5000 updated: timeout: 10000 <|file_sep|>test/app_root/config/database.yml.diff original: timeout: 5000 updated: timeout: 10000 <|file_sep|>original/test/app_root/config/database.yml # gem install sqlite3-ruby (not necessary on OS X Leopard...
d82484d68480dec64bf63170b462a6986f8844f7
test/app_root/config/database.yml
test/app_root/config/database.yml
YAML
<|file_sep|>original/test-environment.yml name: skantest dependencies: - python>=3.5* - setuptools>=19.6* - numba>=0.29 - numpy>=1.11* - numpydoc>=0.5* - scipy>=0.18* - networkx>=1.11* - matplotlib>=1.5* - scikit-image>=0.12* - pandas>=0.18* - pytest>=3* - coverage>=4.0 - pytest-cov>=2.2 - pip: - hypothesis>=3.6 - ...
name: skantest dependencies: - python>=3.5* - setuptools>=19.6* - numba>=0.29 - numpy>=1.11* - numpydoc>=0.5* - scipy>=0.18* - networkx>=1.11* - matplotlib>=1.5* - scikit-image>=0.12* - pandas>=0.18* - pytest>=3* - coverage>=4.0 - pytest-cov>=2.2 - pip: - hypothesis>=3.6 - imageio>=2.0 - tqdm>=4.11
<|file_sep|>original/test-environment.yml name: skantest dependencies: - python>=3.5* - setuptools>=19.6* - numba>=0.29 - numpy>=1.11* - numpydoc>=0.5* - scipy>=0.18* - networkx>=1.11* - matplotlib>=1.5* - scikit-image>=0.12* - pandas>=0.18* - pytest>=3* - coverage>=4.0 - pytest-cov>=2.2 - pip: - hypothesis>=3.6 - ...
1f895e52d27f4921d6360b57b0342544ca006f22
test-environment.yml
test-environment.yml
YAML
<|file_sep|>original/README.md # cv-people-detector A project for detecting people in video data. ## Background Have you ever wondered how people move around your city? Do you want to measure the foot traffic in front of your store? How about how often certain areas of a public park is used? That is the question we p...
# cv-people-detector A project for detecting people in video data. ## Background Have you ever wondered how people move around your city? Do you want to measure the foot traffic in front of your store? How about how often certain areas of a public park is used? That is the question we proposed in the beginning of thi...
<|file_sep|>original/README.md # cv-people-detector A project for detecting people in video data. ## Background Have you ever wondered how people move around your city? Do you want to measure the foot traffic in front of your store? How about how often certain areas of a public park is used? That is the question we p...
ede13376c743d94e001ec0a3e8e01e39cc0375c7
README.md
README.md
Markdown
<|file_sep|>original/README.md # Data-Driven Documents **D3.js** is a JavaScript library for manipulating documents based on data. **D3** helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary frame...
# Data-Driven Documents **D3.js** is a JavaScript library for manipulating documents based on data. **D3** helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visual...
<|file_sep|>original/README.md # Data-Driven Documents **D3.js** is a JavaScript library for manipulating documents based on data. **D3** helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary frame...
29f7adefc53cc2113bc9a2feec49daf284f3212a
README.md
README.md
Markdown
<|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE meta( updated: CREATE TABLE IF NOT EXISTS meta( <|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE objects( updated: CREATE TABLE IF NOT EXISTS objects( <|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE raw_data( updated: CREATE TABLE IF NOT EXISTS r...
); CREATE TABLE IF NOT EXISTS raw_data( id INTEGER NOT NULL, raw_value BLOB NOT NULL, FOREIGN KEY(id) REFERENCES objects(id) ON DELETE CASCADE ON UPDATE RESTRICT ); CREATE TABLE IF NOT EXISTS kv_data( id INTEGER NOT NULL, kv_key BLOB NOT NULL, kv_value BLOB NOT NULL, ...
<|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE meta( updated: CREATE TABLE IF NOT EXISTS meta( <|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE objects( updated: CREATE TABLE IF NOT EXISTS objects( <|file_sep|>db_schema_v1.sql.diff original: CREATE TABLE raw_data( updated: CREATE TABLE IF NOT EXISTS r...
ccb9d27dd7ab85ca4340447f8f7e686bb80e9e9e
db_schema_v1.sql
db_schema_v1.sql
SQL
<|file_sep|>original/.fixtures.yml fixtures: repositories: 'stdlib': git://github.com/puppetlabs/puppetlabs-stdlib.git symlinks: 'gai': "#{source_dir}" <|file_sep|>current/.fixtures.yml fixtures: repositories: 'stdlib': git://github.com/puppetlabs/puppetlabs-stdlib.git symlinks: 'gai': "#{source...
fixtures: repositories: 'stdlib': repo: 'git://github.com/puppetlabs/puppetlabs-stdlib.git' ref: '4.2.0' symlinks: 'gai': "#{source_dir}"
<|file_sep|>original/.fixtures.yml fixtures: repositories: 'stdlib': git://github.com/puppetlabs/puppetlabs-stdlib.git symlinks: 'gai': "#{source_dir}" <|file_sep|>current/.fixtures.yml fixtures: repositories: 'stdlib': git://github.com/puppetlabs/puppetlabs-stdlib.git symlinks: 'gai': "#{source...
9a21aedd120388c601cc2cec9d1242a7b2d868f9
.fixtures.yml
.fixtures.yml
YAML
<|file_sep|>original/thankyou_letters/views/res_partner_view.xml <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partner_form"/> <field name="arch" type="xml"> <field name="email" position="after"> <field name="thankyou_preference"/> ...
<record id="view_company_form_address_name" model="ir.ui.view"> <field name="name">res.company.form.address.name</field> <field name="model">res.company</field> <field name="inherit_id" ref="base.view_company_form"/> <field name="arch" type="xml"> <field name="name" posit...
<|file_sep|>original/thankyou_letters/views/res_partner_view.xml <field name="model">res.partner</field> <field name="inherit_id" ref="base.view_partner_form"/> <field name="arch" type="xml"> <field name="email" position="after"> <field name="thankyou_preference"/> ...
b497985d93309657054e026cf98dda46da4f8159
thankyou_letters/views/res_partner_view.xml
thankyou_letters/views/res_partner_view.xml
XML
<|file_sep|>events/modmute.js.diff original: updated: default: // maybe this is an unmute? break; <|file_sep|>events/modmute.js.diff original: if (dbUser == null) { message = '[MUTE] ' + data.t + ' (ID: ' + data.i + ') was muted for ' + duration +...
duration = '45'; break; default: // maybe this is an unmute? break; } getDbUserFromUsername(data.t, function (dbUser) { var message; if (duration == 'unknown') { message = '[UNMUTE] ' + d...
<|file_sep|>events/modmute.js.diff original: updated: default: // maybe this is an unmute? break; <|file_sep|>events/modmute.js.diff original: if (dbUser == null) { message = '[MUTE] ' + data.t + ' (ID: ' + data.i + ') was muted for ' + duration +...
2f335034bf684e079a533d0e3805d8efe9df4b9a
events/modmute.js
events/modmute.js
JavaScript
<|file_sep|>.travis.yml.diff original: - pip install "$DJANGO" updated: - pip install "$DJANGO" pipenv - pipenv lock -r > requirements.txt <|file_sep|>original/.travis.yml - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cache: pip install: -...
cache: pip install: - pip install "$DJANGO" pipenv - pipenv lock -r > requirements.txt - pip install -r requirements.txt - pip install coveralls matrix: exclude: - python: "2.7" env: DJANGO="Django>=2.0,<2.1" # 2.0 - python: "3.4" env: DJANGO="Django>=1.9,<1.10" script: - coverage run --sour...
<|file_sep|>.travis.yml.diff original: - pip install "$DJANGO" updated: - pip install "$DJANGO" pipenv - pipenv lock -r > requirements.txt <|file_sep|>original/.travis.yml - DJANGO="Django>=1.11,<1.12" # 1.11 - DJANGO="Django>=2.0,<2.1" # 2.0 - DJANGO="Django>=2.1,<2.2" # 2.0 cache: pip install: -...
0c9200229be29f415e232845bd911c57205772aa
.travis.yml
.travis.yml
YAML
<|file_sep|>content/software/qualpalr/index.md.diff original: tags = ["R"] updated: tags = ["R", "qualpalr", "Color Science"] <|file_sep|>original/content/software/qualpalr/index.md # Project title. title = "qualpalr" # Date this page was created. date = 2016-04-27T00:00:00 # Project summary to display on homepage. s...
# Project title. title = "qualpalr" # Date this page was created. date = 2016-04-27T00:00:00 # Project summary to display on homepage. summary = "Automatic Generation of Qualitative Color Palettes." # Tags: can be used for filtering projects. tags = ["R", "qualpalr", "Color Science"] # Optional external URL for pro...
<|file_sep|>content/software/qualpalr/index.md.diff original: tags = ["R"] updated: tags = ["R", "qualpalr", "Color Science"] <|file_sep|>original/content/software/qualpalr/index.md # Project title. title = "qualpalr" # Date this page was created. date = 2016-04-27T00:00:00 # Project summary to display on homepage. s...
fff3036979f900a7909b0e05be2c42bbb0057401
content/software/qualpalr/index.md
content/software/qualpalr/index.md
Markdown
<|file_sep|>original/web/locales/bg/cross-locale.ftl <|file_sep|>current/web/locales/bg/cross-locale.ftl <|file_sep|>updated/web/locales/bg/cross-locale.ftl
## Languages contribute = Как да помогнете get-involved-button = Включете се get-involved-title = Помогнете с превода на { $lang } език get-involved-form-title = Абонирайте се за промени по превода на { $lang }: get-involved-email = .label = Имейл
<|file_sep|>original/web/locales/bg/cross-locale.ftl <|file_sep|>current/web/locales/bg/cross-locale.ftl <|file_sep|>updated/web/locales/bg/cross-locale.ftl ## Languages contribute = Как да помогнете get-involved-button = Включете се get-involved-title = Помогнете с превода на { $lang } език get-involved-form-title ...
6f6ae887bdf510dffda049898df279de82d4b8d4
web/locales/bg/cross-locale.ftl
web/locales/bg/cross-locale.ftl
FreeMarker
<|file_sep|>original/planetstack/openstack_observer/steps/sync_controller_networks.yaml name={{ name }} {% if delete %} state=absent {% else %} state=present {% endif %} shared=true - quantum_subnet: auth_url={{ endpoint }} login_username={{ adm...
{% if delete %} state=absent {% else %} state=present {% endif %} shared=true - quantum_subnet: auth_url={{ endpoint }} login_username={{ admin_user }} tenant_name={{ tenant_name }} login_tenant_name={{ tenant_name }} login_passw...
<|file_sep|>original/planetstack/openstack_observer/steps/sync_controller_networks.yaml name={{ name }} {% if delete %} state=absent {% else %} state=present {% endif %} shared=true - quantum_subnet: auth_url={{ endpoint }} login_username={{ adm...
6980cfd95e7b8cbf1022547598edbcb66fbab192
planetstack/openstack_observer/steps/sync_controller_networks.yaml
planetstack/openstack_observer/steps/sync_controller_networks.yaml
YAML
<|file_sep|>original/test/tunefish_test.rb def test_it_finds_all_users VCR.use_cassette('users') do users = @client.users assert_equal "John Doe", users.first.name end end def test_it_finds_activity_for_a_user VCR.use_cassette('user_activities') do activities = @client.user_activiti...
def test_it_finds_all_users VCR.use_cassette('users') do users = @client.users assert_equal "John Doe", users.first.name end end def test_it_finds_activity_for_a_user VCR.use_cassette('user_activities') do activities = @client.user_activities(2) assert_equal "youtube", activit...
<|file_sep|>original/test/tunefish_test.rb def test_it_finds_all_users VCR.use_cassette('users') do users = @client.users assert_equal "John Doe", users.first.name end end def test_it_finds_activity_for_a_user VCR.use_cassette('user_activities') do activities = @client.user_activiti...
ea20b01d6a25eb4fb06db4f3546d8d6255aec952
test/tunefish_test.rb
test/tunefish_test.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 - 2.2.2 git: depth: 1 before_install: gem install bundler -v 1.10.6 script: - bundle exec yard - bundle exec rubocop - bundle exec rspec deploy: provider: rubygems api_key: 4672b2d03693ff646f79dfb82...
language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 - 2.2.2 git: depth: 1 before_install: gem install bundler -v 1.10.6 script: - bundle exec yard - bundle exec rubocop - bundle exec rspec deploy: provider: rubygems api_key: 4672b2d03693ff646f79dfb823e02a60 on: tags: true
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.0 - 2.2.0 - 2.2.2 git: depth: 1 before_install: gem install bundler -v 1.10.6 script: - bundle exec yard - bundle exec rubocop - bundle exec rspec deploy: provider: rubygems api_key: 4672b2d03693ff646f79dfb82...
01c7cb0dd7a93a77e06ef1565cf43f05578a4a1c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/dev-requirements.txt flake8==3.7.7 # Lint isort==4.3.20 # Lint imports mypy==0.701 # Type checking pip_check_reqs==2.0.3 pydocstyle==3.0.0 # Lint docstrings pyenchant==2.0.0 # Bindings for a spellchecking sytem pygithub==1.43.7 Pygments==2.4.2 pylint==2.3.1 # Lint pyroma==2.4 # Packaging bes...
flake8==3.7.7 # Lint isort==4.3.20 # Lint imports mypy==0.701 # Type checking pip_check_reqs==2.0.3 pydocstyle==3.0.0 # Lint docstrings pyenchant==2.0.0 # Bindings for a spellchecking sytem pygithub==1.43.7 Pygments==2.4.2 pylint==2.3.1 # Lint pyroma==2.4 # Packaging best practices checker pytest-cov==2.7.1 # M...
<|file_sep|>original/dev-requirements.txt flake8==3.7.7 # Lint isort==4.3.20 # Lint imports mypy==0.701 # Type checking pip_check_reqs==2.0.3 pydocstyle==3.0.0 # Lint docstrings pyenchant==2.0.0 # Bindings for a spellchecking sytem pygithub==1.43.7 Pygments==2.4.2 pylint==2.3.1 # Lint pyroma==2.4 # Packaging bes...
cdb6c208d5c1bfb9c54a0caa8d7e5cb3de1dd05b
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>src/main/java/editor/views/AttributesPanelView.java.diff original: updated: import java.util.ArrayList; <|file_sep|>src/main/java/editor/views/AttributesPanelView.java.diff original: updated: private ArrayList<JTextField> attributeNameFields; private ArrayList<JTextField> attributeValueFields; <|f...
attributeValueFields = new ArrayList<JTextField>(); setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); add(new JLabel("Attributes")); attributesPanel = new JPanel(); attributesPanel.setLayout(new GridLayout()); addAttribute(); add(attributesPanel); } /**...
<|file_sep|>src/main/java/editor/views/AttributesPanelView.java.diff original: updated: import java.util.ArrayList; <|file_sep|>src/main/java/editor/views/AttributesPanelView.java.diff original: updated: private ArrayList<JTextField> attributeNameFields; private ArrayList<JTextField> attributeValueFields; <|f...
6d6137b868986d3a8a9a45ec5fc50e7aa390cb3e
src/main/java/editor/views/AttributesPanelView.java
src/main/java/editor/views/AttributesPanelView.java
Java
<|file_sep|>graph.go.diff original: func (repo *Repository) GraphDescendantOf(commit, ancestor *Oid) (bool, error) { updated: func (repo *Repository) DescendantOf(commit, ancestor *Oid) (bool, error) { <|file_sep|>original/graph.go defer runtime.UnlockOSThread() ret := C.git_graph_descendant_of(repo.ptr, commit.toC(...
defer runtime.UnlockOSThread() ret := C.git_graph_descendant_of(repo.ptr, commit.toC(), ancestor.toC()) if ret < 0 { return false, MakeGitError(ret) } return (ret > 0), nil } func (repo *Repository) AheadBehind(local, upstream *Oid) (ahead, behind int, err error) { runtime.LockOSThread() defer runtime.Unloc...
<|file_sep|>graph.go.diff original: func (repo *Repository) GraphDescendantOf(commit, ancestor *Oid) (bool, error) { updated: func (repo *Repository) DescendantOf(commit, ancestor *Oid) (bool, error) { <|file_sep|>original/graph.go defer runtime.UnlockOSThread() ret := C.git_graph_descendant_of(repo.ptr, commit.toC(...
dddcbb71c45932feef3c2d0fe6fbdf375b0de644
graph.go
graph.go
Go
<|file_sep|>original/global.json { "projects": [ "src/Common", "src" ] } <|file_sep|>current/global.json { "projects": [ "src/Common", "src" ] } <|file_sep|>updated/global.json
{ "projects": [ "src/Common", "src" ], "sdk": { "version": "1.0.0-preview2-003121" } }
<|file_sep|>original/global.json { "projects": [ "src/Common", "src" ] } <|file_sep|>current/global.json { "projects": [ "src/Common", "src" ] } <|file_sep|>updated/global.json { "projects": [ "src/Common", "src" ], "sdk": { "version": "1.0.0-preview2-003121" } }
38d7e0126733a3b616612598301c6ac6a9da94ea
global.json
global.json
JSON
<|file_sep|>original/app/modules/auth/app/plugin.go Role string } func init() { revel.OnAppStart(func() { }) } var SessionAuthenticationFilter = func(c *revel.Controller, fc []revel.Filter) { c.Redirect() } func AclApply(m []AuthenticatedResource) { // revel.FilterController(controllers.Admin{}). // Add(...
Role string } func init() { revel.OnAppStart(func() { }) } var SessionAuthenticationFilter = func(c *revel.Controller, fc []revel.Filter) { // TODO: Fix redirect //c.Redirect() } func AclApply(m []AuthenticatedResource) { // revel.FilterController(controllers.Admin{}). // Add(AuthenticationFilter) for ...
<|file_sep|>original/app/modules/auth/app/plugin.go Role string } func init() { revel.OnAppStart(func() { }) } var SessionAuthenticationFilter = func(c *revel.Controller, fc []revel.Filter) { c.Redirect() } func AclApply(m []AuthenticatedResource) { // revel.FilterController(controllers.Admin{}). // Add(...
418bddf7a30e2788d9c1c93ea6628035f165b44e
app/modules/auth/app/plugin.go
app/modules/auth/app/plugin.go
Go
<|file_sep|>original/spec/controllers/comments_controller_spec.rb @user = create(:user) @idea = create(:idea) @comment = create(:comment) @user.confirm! sign_in @user end describe "GET 'index'" do it "returns http success" do get 'index', { :idea_id => @idea.id } response...
@user = create(:user) @idea = create(:idea) @comment = create(:comment) @user.confirm! sign_in @user end describe "GET 'new'" do it "returns http success" do get 'new', { :idea_id => @idea.id } response.should be_success end end describe "GET 'edit'" do it "r...
<|file_sep|>original/spec/controllers/comments_controller_spec.rb @user = create(:user) @idea = create(:idea) @comment = create(:comment) @user.confirm! sign_in @user end describe "GET 'index'" do it "returns http success" do get 'index', { :idea_id => @idea.id } response...
c6af7a3f218bd5735572b07d47bc04cd93e8a3a2
spec/controllers/comments_controller_spec.rb
spec/controllers/comments_controller_spec.rb
Ruby
<|file_sep|>README.md.diff original: updated: #### Install dependencies First you will need to install [Ruby](https://www.ruby-lang.org/en/documentation/installation/) (ships with OS X so if your on a Mac your good to go), after which you can open your terminal and use these commands to setup Middleman. <|file_sep|>...
### To add or amend APIs APIs can be found in source/browserapis/ To amend just choose the right file and edit the info - it's pretty straight forward but ask if you need help :) To create a new file for a new API, open exampleapi.html.md and RESAVE it with the name of the API to add. Edit the info inside the file,...
<|file_sep|>README.md.diff original: updated: #### Install dependencies First you will need to install [Ruby](https://www.ruby-lang.org/en/documentation/installation/) (ships with OS X so if your on a Mac your good to go), after which you can open your terminal and use these commands to setup Middleman. <|file_sep|>...
42c33c59df703322b3c818b143a8ffbded2eeae9
README.md
README.md
Markdown
<|file_sep|>original/app/admin-tab/processes/process/route.js }); }, intervalId: null, setupController: function(controller, model) { this._super(controller, model); const intervalCount = 2000; if (!this.get('intervalId')) { this.set('intervalId', setInterval(() => { this.get('store'...
import Ember from 'ember'; export default Ember.Route.extend({ params: null, model: function(params /*, transition*/ ) { this.set('params', params); return this.get('store').find('processinstance', params.process_id).then((processInstance) => { return processInstance.followLink('processExecutions').t...
<|file_sep|>original/app/admin-tab/processes/process/route.js }); }, intervalId: null, setupController: function(controller, model) { this._super(controller, model); const intervalCount = 2000; if (!this.get('intervalId')) { this.set('intervalId', setInterval(() => { this.get('store'...
ecd884fee79194456258c2f6384fb8f0a4109480
app/admin-tab/processes/process/route.js
app/admin-tab/processes/process/route.js
JavaScript
<|file_sep|>original/bower.json { "name": "bikini", "version": "0.7.0", "main": [ "./dist/bikini.js", "./dist/bikangular.js" ], "ignore": [ "**/.*", "node_modules", "bower_components", "src", "test", "bikangular", "doc", "scripts", "resources", "sample", "se...
{ "name": "bikini", "version": "0.7.1", "main": [ "./dist/bikini.js", "./dist/bikangular.js" ], "ignore": [ "**/.*", "node_modules", "bower_components", "src", "test", "bikangular", "doc", "scripts", "resources", "sample", "server", "utils", "tasks",
<|file_sep|>original/bower.json { "name": "bikini", "version": "0.7.0", "main": [ "./dist/bikini.js", "./dist/bikangular.js" ], "ignore": [ "**/.*", "node_modules", "bower_components", "src", "test", "bikangular", "doc", "scripts", "resources", "sample", "se...
1086892fdf7312f0f7094619a3db2957a4abb897
bower.json
bower.json
JSON
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.12.0 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagrant==0.5.15 testinfra==1.11.1 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.12.1 pytest==3.5.0 python-vagr...
4409840d756d322367cef5e19e95ce91b5541113
requirements.txt
requirements.txt
Text
<|file_sep|>core/client/controllers/forgotten.js.diff original: updated: self.notifications.closePassive(); <|file_sep|>original/core/client/controllers/forgotten.js passwordreset: [{ email: data.email }] ...
}] } }).then(function (resp) { self.toggleProperty('submitting'); self.notifications.showSuccess('Please check your email for instructions.'); self.transitionToRoute('signin'); }).catc...
<|file_sep|>core/client/controllers/forgotten.js.diff original: updated: self.notifications.closePassive(); <|file_sep|>original/core/client/controllers/forgotten.js passwordreset: [{ email: data.email }] ...
01ee33643c09d08b94d8e5cddd009e9d6eab3658
core/client/controllers/forgotten.js
core/client/controllers/forgotten.js
JavaScript
<|file_sep|>polygerrit-ui/app/api/core.ts.diff original: updated: * * The range includes all characters from the start position, specified by * start_line and start_character, to the end position, specified by end_line * and end_character. The start position is inclusive and the end position is * exclusive. * *...
* start_line and start_character, to the end position, specified by end_line * and end_character. The start position is inclusive and the end position is * exclusive. * * So, a range over part of a line will have start_line equal to end_line; * however a range with end_line set to 5 and end_character equal to 0 w...
<|file_sep|>polygerrit-ui/app/api/core.ts.diff original: updated: * * The range includes all characters from the start position, specified by * start_line and start_character, to the end position, specified by end_line * and end_character. The start position is inclusive and the end position is * exclusive. * *...
ce92a0aa82af24077f5b07fbdb8fa45f55918cb6
polygerrit-ui/app/api/core.ts
polygerrit-ui/app/api/core.ts
TypeScript
<|file_sep|>README.md.diff original: [RxJS 5](http://github.com/ReactiveX/RxJS) based state streams updated: Udeo is a [RxJS 5](http://github.com/ReactiveX/RxJS) based state stream container. It is comparable to Redux, where the store is instead modelled as a collection of state streams (one per module). Unidirectional...
Udeo is a [RxJS 5](http://github.com/ReactiveX/RxJS) based state stream container. It is comparable to Redux, where the store is instead modelled as a collection of state streams (one per module). Unidirectional data flow in Udeo is obtained with RxJS (instead of the event emitter approach of past and present Flux impl...
<|file_sep|>README.md.diff original: [RxJS 5](http://github.com/ReactiveX/RxJS) based state streams updated: Udeo is a [RxJS 5](http://github.com/ReactiveX/RxJS) based state stream container. It is comparable to Redux, where the store is instead modelled as a collection of state streams (one per module). Unidirectional...
61aebac1cf9c5ad16829ce7749b7fc83d8ef8322
README.md
README.md
Markdown
<|file_sep|>original/logstash/run.sh type => "$LUMBERJACK_TAG" } } output { stdout { debug => true debug_format => "json" } elasticsearch { embedded => $EMBEDDED host => "$ES_HOST" port => "$ES_PORT" workers => $WORKERS } } EOF java -jar /opt/logstash.jar agent -f /...
type => "$LUMBERJACK_TAG" } } output { stdout { debug => true debug_format => "json" } elasticsearch { embedded => $EMBEDDED host => "$ES_HOST" port => "$ES_PORT" workers => $WORKERS } } EOF java -jar /opt/logstash.jar agent -f /opt/logstash.conf -- web
<|file_sep|>original/logstash/run.sh type => "$LUMBERJACK_TAG" } } output { stdout { debug => true debug_format => "json" } elasticsearch { embedded => $EMBEDDED host => "$ES_HOST" port => "$ES_PORT" workers => $WORKERS } } EOF java -jar /opt/logstash.jar agent -f /...
a1744eca5ef46cfb8a6aa2daca1529b95867cb97
logstash/run.sh
logstash/run.sh
Shell
<|file_sep|>original/scripts/travis-after-deploy.sh #!/bin/bash set -e # exit with nonzero exit code if anything fails git remote add upstream https://github.com/mweibel/esrscan-desktop.git git fetch upstream gh-pages git checkout gh-pages url="https://github.com/mweibel/esrscan-desktop/releases/download/${TRAVIS_TAG...
#!/bin/bash set -e # exit with nonzero exit code if anything fails git remote add upstream https://github.com/mweibel/esrscan-desktop.git git fetch upstream gh-pages git checkout gh-pages url="https://github.com/mweibel/esrscan-desktop/releases/download/${TRAVIS_TAG}/ESRScan.dmg" # replace old OSX dmg download link ...
<|file_sep|>original/scripts/travis-after-deploy.sh #!/bin/bash set -e # exit with nonzero exit code if anything fails git remote add upstream https://github.com/mweibel/esrscan-desktop.git git fetch upstream gh-pages git checkout gh-pages url="https://github.com/mweibel/esrscan-desktop/releases/download/${TRAVIS_TAG...
1c5be149bc81a6157faa26f749ec9ac770944308
scripts/travis-after-deploy.sh
scripts/travis-after-deploy.sh
Shell
<|file_sep|>original/_includes/doctype-head.html <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="index, follow"> {% if site.google-verification %} <meta name="google-site-verification" content="{{...
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="index, follow"> {% if site.google-verification %} <meta name="google-site-verification" content="{{ site.google_verification }}"> {% endif %} ...
<|file_sep|>original/_includes/doctype-head.html <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="index, follow"> {% if site.google-verification %} <meta name="google-site-verification" content="{{...
c113a7fca232eae8c4b887f2b1fee5c08b630219
_includes/doctype-head.html
_includes/doctype-head.html
HTML
<|file_sep|>original/setup.py from setuptools import setup setup( name = "wsgi-sslify", description = "WSGI middleware to force HTTPS.", version = "1.0.1", author = "Jacob Kaplan-Moss", author_email = "jacob@jacobian.org", url = "https://github.com/jacobian/wsgi-sslify", py_modules = ['wsgi...
name = "wsgi-sslify", description = "WSGI middleware to force HTTPS.", version = "1.0.1", author = "Jacob Kaplan-Moss", author_email = "jacob@jacobian.org", url = "https://github.com/jacobian/wsgi-sslify", py_modules = ['wsgi_sslify'], install_requires = ['werkzeug>=0.10.1'], classif...
<|file_sep|>original/setup.py from setuptools import setup setup( name = "wsgi-sslify", description = "WSGI middleware to force HTTPS.", version = "1.0.1", author = "Jacob Kaplan-Moss", author_email = "jacob@jacobian.org", url = "https://github.com/jacobian/wsgi-sslify", py_modules = ['wsgi...
38ccfb87ba7f6f139dbb99ba5002a8abec8c40be
setup.py
setup.py
Python
<|file_sep|>config/deploy/production.rb.diff original: role :app, "api-web1.anydns.com" role :web, "api-web1.anydns.com" updated: role :app, "api-web1.anydns.com", "api-web2.anydns.com" role :web, "api-web1.anydns.com", "api-web2.anydns.com" <|file_sep|>original/config/deploy/production.rb # Set the servers for this st...
# Set the servers for this stage. role :app, "api-web1.anydns.com", "api-web2.anydns.com" role :web, "api-web1.anydns.com", "api-web2.anydns.com" # Set the base path for deployment. set :deploy_to_base, "/srv" # Set the accessible web domain for this site. set :base_domain, "api.anydns.com" # Production-ready deploy...
<|file_sep|>config/deploy/production.rb.diff original: role :app, "api-web1.anydns.com" role :web, "api-web1.anydns.com" updated: role :app, "api-web1.anydns.com", "api-web2.anydns.com" role :web, "api-web1.anydns.com", "api-web2.anydns.com" <|file_sep|>original/config/deploy/production.rb # Set the servers for this st...
2f3ea5fd3d7d2bb546042da3339ea5985408a358
config/deploy/production.rb
config/deploy/production.rb
Ruby
<|file_sep|>original/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb class CreateActiveAdminComments < ActiveRecord::Migration def self.up create_table :active_admin_comments do |t| t.string :namespace t.text :body t.string :resource_id, null: false ...
parent_class = ActiveRecord::Migration parent_class = parent_class[5.0] if Rails::VERSION::MAJOR >= 5 class CreateActiveAdminComments < parent_class def self.up create_table :active_admin_comments do |t| t.string :namespace t.text :body t.string :resource_id, null: false t.string :res...
<|file_sep|>original/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb class CreateActiveAdminComments < ActiveRecord::Migration def self.up create_table :active_admin_comments do |t| t.string :namespace t.text :body t.string :resource_id, null: false ...
82d5d2b7c2358a2d384aec090a97ec6d34bf1393
lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb
lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb
Ruby
<|file_sep|>original/src/olympia/migrations/1170-users_history.sql ALTER TABLE `users_history` CHANGE COLUMN `user_id` `user_id` INT (11) NOT NULL, CHANGE COLUMN `created` `created` DATETIME (6) NOT NULL, CHANGE COLUMN `modified` `modified` DATETIME (6) NOT NULL, CHANGE COLUMN `id` `id` INT (10) UNSIGNE...
/* There are some old entries in users_history which point to non-existent users, need to delete them to add the missing constraint */ DELETE FROM `users_history` USING `users_history` LEFT JOIN `users` ON `users_history`.`user_id` = `users`.`id` WHERE `users`.`id` IS NULL AND `users_history`.`user_id` IS NOT N...
<|file_sep|>original/src/olympia/migrations/1170-users_history.sql ALTER TABLE `users_history` CHANGE COLUMN `user_id` `user_id` INT (11) NOT NULL, CHANGE COLUMN `created` `created` DATETIME (6) NOT NULL, CHANGE COLUMN `modified` `modified` DATETIME (6) NOT NULL, CHANGE COLUMN `id` `id` INT (10) UNSIGNE...
b995aa5973bef9b3bfa9bcfae9d9a9238658b252
src/olympia/migrations/1170-users_history.sql
src/olympia/migrations/1170-users_history.sql
SQL
<|file_sep|>original/Tests/Functional/Bundle/AuthenticatorBundle/SecurityController.php * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AuthenticatorBundle; use Symfony\Bu...
* For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AuthenticatorBundle; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation...
<|file_sep|>original/Tests/Functional/Bundle/AuthenticatorBundle/SecurityController.php * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AuthenticatorBundle; use Symfony\Bu...
ed4aed202857576c514fd847410d2f447cd9c6a7
Tests/Functional/Bundle/AuthenticatorBundle/SecurityController.php
Tests/Functional/Bundle/AuthenticatorBundle/SecurityController.php
PHP
<|file_sep|>original/.travis.yml sudo: required language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 services: - docker before_install: - chmod ugo+x nfsinkhole/tests/travis_tests.sh install: - if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements/python2.6.txt; fi - pip install ...
sudo: required language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 services: - docker before_install: - chmod ugo+x nfsinkhole/tests/travis_tests.sh - sudo apt-get -qq update - sudo apt-get install -y selinux install: - if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements/pyt...
<|file_sep|>original/.travis.yml sudo: required language: python python: - 2.6 - 2.7 - 3.3 - 3.4 - 3.5 services: - docker before_install: - chmod ugo+x nfsinkhole/tests/travis_tests.sh install: - if [[ $TRAVIS_PYTHON_VERSION == 2.6* ]]; then pip install -r requirements/python2.6.txt; fi - pip install ...
43bd90d369a9459a1e5ba6bb3043451764c77dbc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/components/wysiwygEditor/decorators/linkDecorator.js } window.open(prefixedUrl, '_blank'); }; const toggleShowOpenLinkIcon = () => { setShowOpenLinkIcon(!showOpenLinkIcon); }; return ( <Box display="inline-block" onMouseEnter={toggleShowOpenLinkIcon} onMouseLeave={togg...
} window.open(prefixedUrl, '_blank'); }; const toggleShowOpenLinkIcon = () => { setShowOpenLinkIcon(!showOpenLinkIcon); }; return ( <Box display="inline-block" onMouseEnter={toggleShowOpenLinkIcon} onMouseLeave={toggleShowOpenLinkIcon}> <Link className={theme['link']} inherit={false} onC...
<|file_sep|>original/src/components/wysiwygEditor/decorators/linkDecorator.js } window.open(prefixedUrl, '_blank'); }; const toggleShowOpenLinkIcon = () => { setShowOpenLinkIcon(!showOpenLinkIcon); }; return ( <Box display="inline-block" onMouseEnter={toggleShowOpenLinkIcon} onMouseLeave={togg...
211d099ed611090ba64580a2f5ae74cd13bbb30a
src/components/wysiwygEditor/decorators/linkDecorator.js
src/components/wysiwygEditor/decorators/linkDecorator.js
JavaScript
<|file_sep|>packages/gi/gingersnap.yaml.diff original: hash: 2e9198271f4c8dafed7bc7c9d615c5c43557f61ca0e0a8ee10fedc8e000da526 updated: hash: 814f00cafb430e9ac309a1887bfbceeea5fcfb52eefc1476b2d3652d3564b3ba <|file_sep|>packages/gi/gingersnap.yaml.diff original: updated: - '0.1.1.0' <|file_sep|>original/packages/gi/ging...
* Initial release ' basic-deps: bytestring: -any base: ! '>=4.9 && <5' resource-pool: -any snap-core: -any postgresql-simple: -any http-types: -any aeson: -any all-versions: - '0.1.0.0' - '0.1.1.0' author: Tinybop Labs, tom-bop latest: '0.1.1.0' description-type: haddock description: JSON API idioms ...
<|file_sep|>packages/gi/gingersnap.yaml.diff original: hash: 2e9198271f4c8dafed7bc7c9d615c5c43557f61ca0e0a8ee10fedc8e000da526 updated: hash: 814f00cafb430e9ac309a1887bfbceeea5fcfb52eefc1476b2d3652d3564b3ba <|file_sep|>packages/gi/gingersnap.yaml.diff original: updated: - '0.1.1.0' <|file_sep|>original/packages/gi/ging...
6724823ff9d8e586e8d76134ee363655bbbefd86
packages/gi/gingersnap.yaml
packages/gi/gingersnap.yaml
YAML
<|file_sep|>original/.travis.yml language: scala scala: - 2.10.6 - 2.11.8 jdk: - oraclejdk8 sudo: false addons: apt: packages: - graphviz install: - pip install --user codecov cache: directories: - "$HOME/.ivy2/cache" - "$HOME/.sbt/boot/" script: - sbt ++$TRAVIS_SCALA_VERSION validate after_success: - c...
language: scala scala: - 2.10.6 - 2.11.8 - 2.12.0-RC2 jdk: - oraclejdk8 sudo: false addons: apt: packages: - graphviz install: - pip install --user codecov cache: directories: - "$HOME/.ivy2/cache" - "$HOME/.sbt/boot/" script: - sbt ++$TRAVIS_SCALA_VERSION validate after_success:
<|file_sep|>original/.travis.yml language: scala scala: - 2.10.6 - 2.11.8 jdk: - oraclejdk8 sudo: false addons: apt: packages: - graphviz install: - pip install --user codecov cache: directories: - "$HOME/.ivy2/cache" - "$HOME/.sbt/boot/" script: - sbt ++$TRAVIS_SCALA_VERSION validate after_success: - c...
79ae83492048443d09584c716d19e078ff839ff8
.travis.yml
.travis.yml
YAML
<|file_sep|>app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php.diff original: $installer = $this; $installer->startSetup(); updated: <|file_sep|>original/app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php <?php $installer = $this; $installer->startSetup(); $...
<?php $this->startSetup(); $this->getConnection()->addColumn( $this->getTable('slideshow/slideshow'), 'from_date', 'datetime NULL default NULL' ); $this->getConnection()->addColumn( $this->getTable('slideshow/slideshow'), 'to_date', 'datetime NULL default NULL' ); $this->endSetup();
<|file_sep|>app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php.diff original: $installer = $this; $installer->startSetup(); updated: <|file_sep|>original/app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php <?php $installer = $this; $installer->startSetup(); $...
b77e1bf2895d7f6a652b823336631cb0d814dc00
app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php
app/code/local/Edge/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.0-1.0.1.php
PHP
<|file_sep|>original/deploy/ansible/roles/skydns_server/tasks/etcd_config.yml etcdctl_peers: "{{ lookup('template', 'etcdctl_peers.j2') | trim }}" - name: write the skydns config into etcd become: true become_user: skydns command: > etcdctl --peers="{{ etcdctl_peers }}" --output=json --ca-file=/e...
- name: write the skydns config into etcd become: true become_user: skydns command: > etcdctl --peers="{{ etcdctl_peers }}" --output=json --ca-file=/etc/skydns/etcd_ca.pem --cert-file=/etc/skydns/etcd_client_cert.pem --key-file=/etc/skydns/etcd_client_key.pem set /skydns/confi...
<|file_sep|>original/deploy/ansible/roles/skydns_server/tasks/etcd_config.yml etcdctl_peers: "{{ lookup('template', 'etcdctl_peers.j2') | trim }}" - name: write the skydns config into etcd become: true become_user: skydns command: > etcdctl --peers="{{ etcdctl_peers }}" --output=json --ca-file=/e...
07d66d148122cae9f4e1bd5e2661ec121af4318a
deploy/ansible/roles/skydns_server/tasks/etcd_config.yml
deploy/ansible/roles/skydns_server/tasks/etcd_config.yml
YAML
<|file_sep|>original/source/javascripts/_posts_factory.js.coffee window.Posts ?= {} window.Posts.PostsFactory = ($http, $q)-> fetchPosts = (page) -> params = {} angular.extend(params, {category: @filter.join(",")}) unless filterPresent() angular.extend(params, {page: page}) if page != 1 angular.exte...
window.Posts ?= {} window.Posts.PostsFactory = ($http, $q)-> fetchPosts = (page) -> params = {} angular.extend(params, {category: @filter.join(",")}) if @filterPresent() angular.extend(params, {page: page}) if page != 1 angular.extend(params, {sort: @sort}) if @sort != "top" $http({method: "GET...
<|file_sep|>original/source/javascripts/_posts_factory.js.coffee window.Posts ?= {} window.Posts.PostsFactory = ($http, $q)-> fetchPosts = (page) -> params = {} angular.extend(params, {category: @filter.join(",")}) unless filterPresent() angular.extend(params, {page: page}) if page != 1 angular.exte...
a5c088b43ca00a8e661b074657a4e46bf54da46b
source/javascripts/_posts_factory.js.coffee
source/javascripts/_posts_factory.js.coffee
CoffeeScript
<|file_sep|>original/lib/cognitive_vision/analyze_response.rb module CognitiveVision class AnalyzeResponse attr_reader :adult, :faces def initialize(options = {}) @adult = options.fetch(:adult, {}) @faces = options.fetch(:faces, []) end def self.parse(response_hash) faces = (respon...
module CognitiveVision class AnalyzeResponse attr_reader :adult, :faces def initialize(options = {}) @adult = options.fetch(:adult, nil) @faces = options.fetch(:faces, []) end def self.parse(response_hash) faces = (response_hash['faces'] || []).map { |face| Face.new(gender: face['g...
<|file_sep|>original/lib/cognitive_vision/analyze_response.rb module CognitiveVision class AnalyzeResponse attr_reader :adult, :faces def initialize(options = {}) @adult = options.fetch(:adult, {}) @faces = options.fetch(:faces, []) end def self.parse(response_hash) faces = (respon...
7a15c2489ff8bfbc5d707ebf35e96b9c037d44d9
lib/cognitive_vision/analyze_response.rb
lib/cognitive_vision/analyze_response.rb
Ruby
<|file_sep|>original/app/models/cost_calculation_type.rb class CostCalculationType < ActiveRecord::Base # associations has_many :policys #attr_accessible :name, :description, :class_name, :active # default scope default_scope { where(:active => true) } end <|file_sep|>current/app/models/...
class CostCalculationType < ActiveRecord::Base # default scope default_scope { where(:active => true) } end
<|file_sep|>original/app/models/cost_calculation_type.rb class CostCalculationType < ActiveRecord::Base # associations has_many :policys #attr_accessible :name, :description, :class_name, :active # default scope default_scope { where(:active => true) } end <|file_sep|>current/app/models/...
e790edbabc425c6542dea66d8e8110bbe8700cdc
app/models/cost_calculation_type.rb
app/models/cost_calculation_type.rb
Ruby
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.5 - 5.6 - 7.0 - nightly matrix: include: - php: hhvm dist: trusty allow_failures: - php: nightly fast_finish: true install: - composer self-update - composer install --no-interaction <|file_sep|>current/.travis.yml l...
language: php sudo: false php: - 5.5 - 5.6 - 7.0 - 7.2 - nightly matrix: include: - php: hhvm dist: trusty allow_failures: - php: nightly fast_finish: true install: - composer self-update - composer install --no-interaction
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.5 - 5.6 - 7.0 - nightly matrix: include: - php: hhvm dist: trusty allow_failures: - php: nightly fast_finish: true install: - composer self-update - composer install --no-interaction <|file_sep|>current/.travis.yml l...
19744ffb3e8e2ce4ed8f85d9397071a819a5447b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt ansible-lint==4.3.0 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.3.1 tox==3.20.0 <|file_sep|>current/requirements.txt ansible-lint==4.3.0 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.3.1 tox==3.20.0 <|file_sep|>updated/requirement...
ansible-lint==4.3.0 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.2 testinfra==5.3.1 tox==3.20.0
<|file_sep|>original/requirements.txt ansible-lint==4.3.0 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.3.1 tox==3.20.0 <|file_sep|>current/requirements.txt ansible-lint==4.3.0 docker==4.3.1 flake8==3.8.3 molecule==3.0.8 pytest==6.0.1 testinfra==5.3.1 tox==3.20.0 <|file_sep|>updated/requirement...
0d67170080dcf6c3f8f4ca2dbd8028f40e87bbce
requirements.txt
requirements.txt
Text
<|file_sep|>original/malcolm/core/attributemeta.py from collections import OrderedDict from malcolm.core.serializable import Serializable class AttributeMeta(Serializable): """Abstract base class for Meta objects""" # Type constants SCALAR = "scalar" TABLE = "table" SCALARARRAY = "scalar_array" ...
from collections import OrderedDict from malcolm.core.serializable import Serializable class AttributeMeta(Serializable): """Abstract base class for Meta objects""" def __init__(self, name, description, *args): super(AttributeMeta, self).__init__(name, *args) self.description = description ...
<|file_sep|>original/malcolm/core/attributemeta.py from collections import OrderedDict from malcolm.core.serializable import Serializable class AttributeMeta(Serializable): """Abstract base class for Meta objects""" # Type constants SCALAR = "scalar" TABLE = "table" SCALARARRAY = "scalar_array" ...
eecb3468b581b4854f2162c2b62ac06ea744045e
malcolm/core/attributemeta.py
malcolm/core/attributemeta.py
Python
<|file_sep|>original/.travis.yml language: bash before_script: - curl -L https://github.com/bmizerany/roundup/tarball/v0.0.6 | tar xvzf - - cd bmizerany-roundup-f526c39 && ./configure && make && sudo make install - cd - script: - ./test <|file_sep|>current/.travis.yml language: bash before_script: - curl -...
language: bash sudo: false before_script: - curl -L https://github.com/bmizerany/roundup/tarball/v0.0.6 | tar xvzf - - cd bmizerany-roundup-f526c39 && ./configure && make && sudo make install - cd - script: - ./test
<|file_sep|>original/.travis.yml language: bash before_script: - curl -L https://github.com/bmizerany/roundup/tarball/v0.0.6 | tar xvzf - - cd bmizerany-roundup-f526c39 && ./configure && make && sudo make install - cd - script: - ./test <|file_sep|>current/.travis.yml language: bash before_script: - curl -...
1d3d20b0c6546d74a366341c7a26d156918aa452
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/initializers/pivotal_tracker.rb require 'pivotal-tracker' token = ENV['CI'] ? '' : ENV['PIVOTAL_TOKEN'] raise 'No Environment variable PIVOTAL_TOKEN found' unless token PivotalTracker::Client.token = token <|file_sep|>current/config/initializers/pivotal_tracker.rb require 'pivotal-tracker' ...
require 'pivotal-tracker' token = ENV['CI'] ? 'vhTkprGx7CtvotWhwy9NzoWAmpzQisjA' : ENV['PIVOTAL_TOKEN'] raise 'No Environment variable PIVOTAL_TOKEN found' unless token PivotalTracker::Client.token = token
<|file_sep|>original/config/initializers/pivotal_tracker.rb require 'pivotal-tracker' token = ENV['CI'] ? '' : ENV['PIVOTAL_TOKEN'] raise 'No Environment variable PIVOTAL_TOKEN found' unless token PivotalTracker::Client.token = token <|file_sep|>current/config/initializers/pivotal_tracker.rb require 'pivotal-tracker' ...
d6dd9ba7e3e10c592034e8b4aa1b65272c41b55a
config/initializers/pivotal_tracker.rb
config/initializers/pivotal_tracker.rb
Ruby
<|file_sep|>original/bin/remote-branch-info.sh <|file_sep|>current/bin/remote-branch-info.sh <|file_sep|>updated/bin/remote-branch-info.sh
#!/bin/bash # Simple script to list last author and commit date, as well as number of # unmerged commits, for each remote branch of a given remote. # # This is useful for analyzing which branches are obsolete and/or moldy. remote="$@" if [ "$remote" == "" ]; then echo Please specify one of the following remotes: ...
<|file_sep|>original/bin/remote-branch-info.sh <|file_sep|>current/bin/remote-branch-info.sh <|file_sep|>updated/bin/remote-branch-info.sh #!/bin/bash # Simple script to list last author and commit date, as well as number of # unmerged commits, for each remote branch of a given remote. # # This is useful for analyzi...
4b7b1eabfebceabee648cbf6ae0999a025dea165
bin/remote-branch-info.sh
bin/remote-branch-info.sh
Shell
<|file_sep|>original/lib/pronto/foodcritic.rb @paths ||= begin result = { cookbook_paths: [], role_paths: [] } ruby_patches.each do |patch| path = patch.new_file_full_path.to_s if path.include?('cookbook') result[:cookbook_paths] << path elsif path.include...
@paths ||= begin result = { cookbook_paths: [], role_paths: [] } ruby_patches.each do |patch| path = patch.new_file_full_path.to_s if path.include?('cookbook') result[:cookbook_paths] << path elsif path.include?('role') result[:role_paths] << p...
<|file_sep|>original/lib/pronto/foodcritic.rb @paths ||= begin result = { cookbook_paths: [], role_paths: [] } ruby_patches.each do |patch| path = patch.new_file_full_path.to_s if path.include?('cookbook') result[:cookbook_paths] << path elsif path.include...
960d3df3ae936d833ac151376e0526d01215e7ed
lib/pronto/foodcritic.rb
lib/pronto/foodcritic.rb
Ruby