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/.vscode/launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name"...
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [{ "name": "Dart", "program": "tool\\winmd\\winmd.dart"...
<|file_sep|>original/.vscode/launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name"...
c70091f493fc8080eb99ea6a1f6cbb821f94bd57
.vscode/launch.json
.vscode/launch.json
JSON
<|file_sep|>original/imports/ui/components/records/RecordsList.jsx export default class RecordsList extends React.Component { renderRecordsList() { const { records } = this.props; let displayDay; return ( <List style={{ marginTop: '10px' }}> {records.map((record, index) => { // ch...
export default class RecordsList extends React.Component { renderRecordsList() { const { records } = this.props; let displayDay; return ( <List style={{ marginTop: '10px' }}> {records.map((record, index) => { // check if current record's day is the same of previous one to hide the...
<|file_sep|>original/imports/ui/components/records/RecordsList.jsx export default class RecordsList extends React.Component { renderRecordsList() { const { records } = this.props; let displayDay; return ( <List style={{ marginTop: '10px' }}> {records.map((record, index) => { // ch...
eff50577de820a490225ded3a3791b078de238a0
imports/ui/components/records/RecordsList.jsx
imports/ui/components/records/RecordsList.jsx
JSX
<|file_sep|>original/app/controllers/koi/application_controller.rb # frozen_string_literal: true module Koi class ApplicationController < ActionController::Base include HasCrud::ActionController include ExportableController include IsAdminController helper Katalyst::GOVUK::FormBuilder::Frontend en...
# frozen_string_literal: true module Koi class ApplicationController < ActionController::Base include HasCrud::ActionController include ExportableController include IsAdminController helper Katalyst::GOVUK::Formbuilder::Frontend end end
<|file_sep|>original/app/controllers/koi/application_controller.rb # frozen_string_literal: true module Koi class ApplicationController < ActionController::Base include HasCrud::ActionController include ExportableController include IsAdminController helper Katalyst::GOVUK::FormBuilder::Frontend en...
b65aa32e8e53a2510ac978584534fa3982798ab3
app/controllers/koi/application_controller.rb
app/controllers/koi/application_controller.rb
Ruby
<|file_sep|>original/.travis.yml - "2.6" before_script: - flake8 news - mysql -e 'create database basket;' - python manage.py syncdb --noinput --migrate script: coverage run manage.py test news before_install: - git submodule update --init --recursive install: - pip install -r requirements/compiled.txt -r r...
- "2.6" before_script: - flake8 news - mysql -e 'create database basket;' - python manage.py syncdb --noinput --migrate script: coverage run manage.py test news before_install: - git submodule update --init --recursive install: - pip install -r requirements/compiled.txt -r requirements/dev.txt --use-mirrors...
<|file_sep|>original/.travis.yml - "2.6" before_script: - flake8 news - mysql -e 'create database basket;' - python manage.py syncdb --noinput --migrate script: coverage run manage.py test news before_install: - git submodule update --init --recursive install: - pip install -r requirements/compiled.txt -r r...
45a0615fe7783c178e4804daf5e40b1afd2cda8c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - bash <(curl -s https://codecov.io/bash) <|...
language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - bash <(curl -s https://codecov.io/bash) addons: apt: packages: ...
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_success: - bash <(curl -s https://codecov.io/bash) <|...
d95c76005c4aab96d9b43c630466f1dd2b20bf42
.travis.yml
.travis.yml
YAML
<|file_sep|>ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java.diff original: if (isNetworkResource(source)) { updated: if (isUriResource(source)) { <|file_sep|>original/ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java } final ImageRequestBuilder imageR...
if (isUriResource(source)) { imageRequestBuilder = ImageRequestBuilder.newBuilderWithSource(Uri.parse(source)); } else { Resources resources = context.getResources(); int resId = resources.getIdentifier( source, "drawable", context.getPackageName()); imageRe...
<|file_sep|>ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java.diff original: if (isNetworkResource(source)) { updated: if (isUriResource(source)) { <|file_sep|>original/ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java } final ImageRequestBuilder imageR...
0b6436b6370d42637dd8ff0326dc2892fb42119a
ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java
ReactAndroid/src/main/java/com/facebook/react/flat/ImageRequestHelper.java
Java
<|file_sep|>sports/admin.py.diff original: updated: class SessionInline(admin.StackedInline): model = Session extra = 0 <|file_sep|>sports/admin.py.diff original: updated: inlines = [SessionInline,] <|file_sep|>original/sports/admin.py @admin.register(Sport) class SportAdmin(admin.ModelAdmin): prepo...
extra = 0 @admin.register(Sport) class SportAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('name',)} inlines = [SessionInline,] class Media: js = ('tinymce/tinymce.min.js', 'js/tinymce_4_config.js') @admin.register(Match) class MatchAdmin(admin.ModelAdmin): class Media: ...
<|file_sep|>sports/admin.py.diff original: updated: class SessionInline(admin.StackedInline): model = Session extra = 0 <|file_sep|>sports/admin.py.diff original: updated: inlines = [SessionInline,] <|file_sep|>original/sports/admin.py @admin.register(Sport) class SportAdmin(admin.ModelAdmin): prepo...
8929957d854f66c738c773bd629d9c6f18aa66a2
sports/admin.py
sports/admin.py
Python
<|file_sep|>original/packages/st/stack-clean-old.yaml <|file_sep|>current/packages/st/stack-clean-old.yaml <|file_sep|>updated/packages/st/stack-clean-old.yaml
homepage: https://github.com/juhp/stack-clean-old changelog-type: markdown hash: f5d0098736a87933faaec50b7c22b84c5e83bae5dbc480c7cdf119fcb65cd60f test-bench-deps: {} maintainer: Jens Petersen <juhpetersen@gmail.com> synopsis: Clean away old stack build artefacts changelog: | # Revision history for stack-clean-old-wor...
<|file_sep|>original/packages/st/stack-clean-old.yaml <|file_sep|>current/packages/st/stack-clean-old.yaml <|file_sep|>updated/packages/st/stack-clean-old.yaml homepage: https://github.com/juhp/stack-clean-old changelog-type: markdown hash: f5d0098736a87933faaec50b7c22b84c5e83bae5dbc480c7cdf119fcb65cd60f test-bench-d...
e8524394becb00c21ffd0549ee692724e5993d41
packages/st/stack-clean-old.yaml
packages/st/stack-clean-old.yaml
YAML
<|file_sep|>original/requirements-dev.txt -r requirements-test.txt black==21.7b0 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==3.3.1 sqlalchemy2-stubs==0.0.2a8 <|file_sep|>current/requirements-dev.txt -r requirements-test.txt black==21.7b0 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4....
-r requirements-test.txt black==21.7b0 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==4.1.2 sqlalchemy2-stubs==0.0.2a8
<|file_sep|>original/requirements-dev.txt -r requirements-test.txt black==21.7b0 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==3.3.1 sqlalchemy2-stubs==0.0.2a8 <|file_sep|>current/requirements-dev.txt -r requirements-test.txt black==21.7b0 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4....
e9389201fc98e6246dc76559b2529ac579ab9ed3
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>requirements/doc.txt.diff original: -r ./base.txt updated: <|file_sep|>requirements/doc.txt.diff original: updated: releases==1.2.0 <|file_sep|>requirements/doc.txt.diff original: reportlab sphinx-argparse updated: <|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.12 sphinx reportlab sp...
docutils==0.12 releases==1.2.0 sphinx sphinx-rtd-theme
<|file_sep|>requirements/doc.txt.diff original: -r ./base.txt updated: <|file_sep|>requirements/doc.txt.diff original: updated: releases==1.2.0 <|file_sep|>requirements/doc.txt.diff original: reportlab sphinx-argparse updated: <|file_sep|>original/requirements/doc.txt -r ./base.txt docutils==0.12 sphinx reportlab sp...
7bc84d0c16607d42ca541263aefdc18aa9d3cbfa
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>manifest.json.diff original: "version": "0.6", updated: "version": "0.6.1", <|file_sep|>original/manifest.json { "name": "__MSG_extName__", "version": "0.6", "description": "__MSG_extDesc__", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "browser_action": { "defa...
{ "name": "__MSG_extName__", "version": "0.6.1", "description": "__MSG_extDesc__", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "browser_action": { "default_icon": "icon.png", "popup": "popup.html" }, "options_page": "options.html", "background_page": "background.html", ...
<|file_sep|>manifest.json.diff original: "version": "0.6", updated: "version": "0.6.1", <|file_sep|>original/manifest.json { "name": "__MSG_extName__", "version": "0.6", "description": "__MSG_extDesc__", "icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }, "browser_action": { "defa...
8d9d76299d8b78a82ed52cd9fcd6b669784c3173
manifest.json
manifest.json
JSON
<|file_sep|>original/tests/conftest.py Configuration, plugins and fixtures for `pytest`. """ import os import pytest from tests.utils import VuforiaServerCredentials @pytest.fixture() def vuforia_server_credentials() -> VuforiaServerCredentials: """ Return VWS credentials from environment variables. ""...
def vuforia_server_credentials() -> VuforiaServerCredentials: """ Return VWS credentials from environment variables. """ credentials = VuforiaServerCredentials( database_name=os.environ['VUFORIA_TARGET_MANAGER_DATABASE_NAME'], access_key=os.environ['VUFORIA_SERVER_ACCESS_KEY'], s...
<|file_sep|>original/tests/conftest.py Configuration, plugins and fixtures for `pytest`. """ import os import pytest from tests.utils import VuforiaServerCredentials @pytest.fixture() def vuforia_server_credentials() -> VuforiaServerCredentials: """ Return VWS credentials from environment variables. ""...
002be05d8bb07e610613b1ba6f24c904691c9f03
tests/conftest.py
tests/conftest.py
Python
<|file_sep|>original/app/controllers/spree/api/products_controller_decorator.rb Spree::Api::ProductsController.class_eval do def update_redbox redbox_product = Redbox::Product.find(params[:id]) migrator = Redbox::Migrate::Product.new @product = migrator.migrate_product(redbox_product) end end <|file_sep...
Spree::Api::ProductsController.class_eval do def update_redbox redbox_product = Redbox::Product.find(product_id: params[:id]) if redbox_product.nil? raise "Redbox product with id #{params[:id]} do not exists" end migrator = Redbox::Migrate::Product.new @product = migrator.migrate_product(red...
<|file_sep|>original/app/controllers/spree/api/products_controller_decorator.rb Spree::Api::ProductsController.class_eval do def update_redbox redbox_product = Redbox::Product.find(params[:id]) migrator = Redbox::Migrate::Product.new @product = migrator.migrate_product(redbox_product) end end <|file_sep...
3350bbbe6e065adab8c58bc6c9fef78bafbe65b0
app/controllers/spree/api/products_controller_decorator.rb
app/controllers/spree/api/products_controller_decorator.rb
Ruby
<|file_sep|>original/requirements-dev.txt flake8==3.3.0 coverage==4.4.1 sphinx==1.6.3 pep257==0.7.0 -e . aioredis==0.3.3 cryptography==1.9 pynacl==1.1.2 pytest-aiohttp==0.1.3 pytest-cov==2.5.1 aiohttp==2.2.2 multidict==3.1.1 chardet==3.0.4 yarl==0.11.0 <|file_sep|>current/requirements-dev.txt flake8==3.3.0 coverage==4....
flake8==3.3.0 coverage==4.4.1 sphinx==1.6.3 pep257==0.7.0 -e . aioredis==0.3.3 cryptography==1.9 pynacl==1.1.2 pytest-aiohttp==0.1.3 pytest-cov==2.5.1 aiohttp==2.2.3 multidict==3.1.1 chardet==3.0.4 yarl==0.11.0
<|file_sep|>original/requirements-dev.txt flake8==3.3.0 coverage==4.4.1 sphinx==1.6.3 pep257==0.7.0 -e . aioredis==0.3.3 cryptography==1.9 pynacl==1.1.2 pytest-aiohttp==0.1.3 pytest-cov==2.5.1 aiohttp==2.2.2 multidict==3.1.1 chardet==3.0.4 yarl==0.11.0 <|file_sep|>current/requirements-dev.txt flake8==3.3.0 coverage==4....
503a519bf73f00e684184434230d9e343b9fbc58
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/src/javascript/app_2/App/Components/Routes/route_with_sub_routes.jsx // This if clause has been added just to remove '/index' from url in localhost env. if (route.path === routes.index) { const {location} = props; to = location.pathname.toLowe...
// This if clause has been added just to remove '/index' from url in localhost env. if (route.path === routes.index) { const {location} = props; to = location.pathname.toLowerCase().replace(route.path, ''); } result = <Redirect to={to} />; ...
<|file_sep|>original/src/javascript/app_2/App/Components/Routes/route_with_sub_routes.jsx // This if clause has been added just to remove '/index' from url in localhost env. if (route.path === routes.index) { const {location} = props; to = location.pathname.toLowe...
de9cbb712f9956fdf39acc7b6cb49ea1ca884a3f
src/javascript/app_2/App/Components/Routes/route_with_sub_routes.jsx
src/javascript/app_2/App/Components/Routes/route_with_sub_routes.jsx
JSX
<|file_sep|>original/.travis.yml - 3.3 - pypy before_install: - sudo apt-get install subversion bzr mercurial - echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc - git config --global user.email "python-virtualenv@googlegroups.com" - git config --global user.name "Pip" install...
- 3.3 - pypy before_install: - sudo apt-get install subversion bzr mercurial - echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc - git config --global user.email "python-virtualenv@googlegroups.com" - git config --global user.name "Pip" install: - pip install --upgrade setup...
<|file_sep|>original/.travis.yml - 3.3 - pypy before_install: - sudo apt-get install subversion bzr mercurial - echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc - git config --global user.email "python-virtualenv@googlegroups.com" - git config --global user.name "Pip" install...
1ba1c702e27149a45af8dfa0ba8d86f7332b2522
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/admin/attachments/reorder.html.erb <% content_for :title_margin_bottom, 6 %> <% content_for :back_link do %> <%= render "govuk_publishing_components/components/back_link", { href: attachable_attachments_path(attachable) } %> <% end %> <div class="govuk-grid-row"> <section class...
<% content_for :back_link do %> <%= render "govuk_publishing_components/components/back_link", { href: attachable_attachments_path(attachable) } %> <% end %> <div class="govuk-grid-row"> <section class="govuk-grid-column-two-thirds"> <%= form_tag [:order, :admin, typecast_for_attachable_routing(attachabl...
<|file_sep|>original/app/views/admin/attachments/reorder.html.erb <% content_for :title_margin_bottom, 6 %> <% content_for :back_link do %> <%= render "govuk_publishing_components/components/back_link", { href: attachable_attachments_path(attachable) } %> <% end %> <div class="govuk-grid-row"> <section class...
0dd023b2295475ea38b4c2d431b910adc153ba77
app/views/admin/attachments/reorder.html.erb
app/views/admin/attachments/reorder.html.erb
HTML+ERB
<|file_sep|>tests/unit/serializers/customer-test.js.diff original: test('it exists', function(assert) { updated: test('it is set up with embedded:always style for the addresses relation', function(assert) { <|file_sep|>original/tests/unit/serializers/customer-test.js import { moduleFor, test } from 'ember-qunit'; ...
import { moduleFor, test } from 'ember-qunit'; moduleFor('serializer:customer', { // Specify the other units that are required for this test. // needs: ['serializer:foo'] }); test('it is set up with embedded:always style for the addresses relation', function(assert) { var serializer = this.subject(); asse...
<|file_sep|>tests/unit/serializers/customer-test.js.diff original: test('it exists', function(assert) { updated: test('it is set up with embedded:always style for the addresses relation', function(assert) { <|file_sep|>original/tests/unit/serializers/customer-test.js import { moduleFor, test } from 'ember-qunit'; ...
8484529a2299cbbf62e41a8cd0973f01738170e7
tests/unit/serializers/customer-test.js
tests/unit/serializers/customer-test.js
JavaScript
<|file_sep|>original/kahuna/plugins/mothership/configure-chef.sh COOKBOOKS=(%(cookbooks)s) COOKBOOK_DIR=${HOME}/cookbooks echo "Installing git..." apt-get install -y git-core for CBK in ${COOKBOOKS[*]}; do echo "Downloading cookbook: ${CBK}" DIR=${COOKBOOK_DIR}/${CBK} mkdir -p ${DIR} git clone https:/...
COOKBOOK_DIR=${HOME}/cookbooks echo "Installing git..." apt-get install -y git-core for CBK in ${COOKBOOKS[*]}; do echo "Downloading cookbook: ${CBK}" DIR=${COOKBOOK_DIR}/${CBK} mkdir -p ${DIR} git clone https://github.com/cookbooks/${CBK} ${DIR} done echo "Adding permissions to read the keys..." chm...
<|file_sep|>original/kahuna/plugins/mothership/configure-chef.sh COOKBOOKS=(%(cookbooks)s) COOKBOOK_DIR=${HOME}/cookbooks echo "Installing git..." apt-get install -y git-core for CBK in ${COOKBOOKS[*]}; do echo "Downloading cookbook: ${CBK}" DIR=${COOKBOOK_DIR}/${CBK} mkdir -p ${DIR} git clone https:/...
a937de2f977d03c97dd02b28b5a67f1b01ec48e8
kahuna/plugins/mothership/configure-chef.sh
kahuna/plugins/mothership/configure-chef.sh
Shell
<|file_sep|>original/crypto/PRESUBMIT.py <|file_sep|>current/crypto/PRESUBMIT.py <|file_sep|>updated/crypto/PRESUBMIT.py
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Chromium presubmit script for src/net. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details on the presubmit ...
<|file_sep|>original/crypto/PRESUBMIT.py <|file_sep|>current/crypto/PRESUBMIT.py <|file_sep|>updated/crypto/PRESUBMIT.py # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Chromium presubmit script f...
eec00e07d8e50d260249eab6cbefc976cc184683
crypto/PRESUBMIT.py
crypto/PRESUBMIT.py
Python
<|file_sep|>original/src/main/resources/com/cisco/cta/taxii/adapter/httpclient/templates/poll-fulfillment-request.ftl <#-- Copyright 2015 Cisco Systems Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of t...
<#-- Copyright 2015 Cisco Systems Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
<|file_sep|>original/src/main/resources/com/cisco/cta/taxii/adapter/httpclient/templates/poll-fulfillment-request.ftl <#-- Copyright 2015 Cisco Systems Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of t...
a470169c507114aa0d28065243677481339cc29b
src/main/resources/com/cisco/cta/taxii/adapter/httpclient/templates/poll-fulfillment-request.ftl
src/main/resources/com/cisco/cta/taxii/adapter/httpclient/templates/poll-fulfillment-request.ftl
FreeMarker
<|file_sep|>original/features/breadcrumb.feature Scenario Outline: Breadcrumb on an article page Given I am on an <language> Article that lives in a single Category Then I should see the <language> article's category hierarchy Examples: | language | | English | | Welsh | Scenario Outli...
Given I am on an <language> Article that lives in a single Category Then I should see the <language> article's category hierarchy Examples: | language | | English | | Welsh | Scenario Outline: Related categories breadcrumb on an article page Given I am on an <language> Article that l...
<|file_sep|>original/features/breadcrumb.feature Scenario Outline: Breadcrumb on an article page Given I am on an <language> Article that lives in a single Category Then I should see the <language> article's category hierarchy Examples: | language | | English | | Welsh | Scenario Outli...
153351aca89f8cf4e3653f0da8ff207bc6b3849c
features/breadcrumb.feature
features/breadcrumb.feature
Cucumber
<|file_sep|>original/README.rst How do i build it? ================== With Gradle (http://www.gradle.org/). To build, simply do:: gradle clean build This builds a jar file in ``build/libs``. To use this in other projects, you might like to install it in your local Maven repository:: gradle install How do ...
This builds a jar file in ``build/libs``. To use this in other projects, you might like to install it in your local Maven repository:: gradle install How do i use it? ================ Something like:: Socket socket = new Socket(host, port); MessageOutputStream out = new MessageOutputStream(new FrameOut...
<|file_sep|>original/README.rst How do i build it? ================== With Gradle (http://www.gradle.org/). To build, simply do:: gradle clean build This builds a jar file in ``build/libs``. To use this in other projects, you might like to install it in your local Maven repository:: gradle install How do ...
b8ec493ab86b089269000a162904d6abe2af7d65
README.rst
README.rst
reStructuredText
<|file_sep|>src/scss/_event-list.scss.diff original: body { updated: .event-list-container { h1 { box-sizing: border-box; text-align: center; font-size: 2.5em; width: 100%*(1/3); margin-left: 100%*(1/3); padding: 1ex 1em; background-color: darken($sky, 5%); color: darken($cloud, 10%); ...
background-color: darken($sky, 2.5%); color: darken($cloud, 5%); box-shadow: 1px 1px 20px rgba(0,0,0,.3); &:hover { background-color: darken($sky, 5%); color: darken($cloud, 10%); box-shadow: 3px 3px 20px rgba(0,0,0,.4); a[href]{ color: darken($cloud, 10...
<|file_sep|>src/scss/_event-list.scss.diff original: body { updated: .event-list-container { h1 { box-sizing: border-box; text-align: center; font-size: 2.5em; width: 100%*(1/3); margin-left: 100%*(1/3); padding: 1ex 1em; background-color: darken($sky, 5%); color: darken($cloud, 10%); ...
baa98aef4b13251273503d5420aafaf63ee221c3
src/scss/_event-list.scss
src/scss/_event-list.scss
SCSS
<|file_sep|>original/lib/smart_answer_flows/locales/en/state-pension-topup.yml "no": "No" #Q1 dob_age?: title: What is your date of birth? error_message: Enter your date of birth. #Q2 date_of_lump_sum_payment?: title: When will you pay your lump sum? hint: This must b...
"no": "No" #Q1 dob_age?: title: What is your date of birth? error_message: Enter your date of birth. #Q2 date_of_lump_sum_payment?: title: When will you pay your lump sum? hint: This must be between 12 October 2015 and 5 April 2017. error_message: Enter a date...
<|file_sep|>original/lib/smart_answer_flows/locales/en/state-pension-topup.yml "no": "No" #Q1 dob_age?: title: What is your date of birth? error_message: Enter your date of birth. #Q2 date_of_lump_sum_payment?: title: When will you pay your lump sum? hint: This must b...
805cdd17ff3e1521d323d61378494a8c3ce6f415
lib/smart_answer_flows/locales/en/state-pension-topup.yml
lib/smart_answer_flows/locales/en/state-pension-topup.yml
YAML
<|file_sep|>packages/pc/pcf-font-embed.yaml.diff original: hash: 21d4ecb723ac29f761145d25f71dda66797b83b29feac88228b68580f1afb4cf updated: hash: fa36f63ba4269dae319d838c094fcb1bcfd3cfd4f09ddd9a9ddca1a72d76aab1 <|file_sep|>packages/pc/pcf-font-embed.yaml.diff original: changelog: ! '# 0.1.0.0 updated: changelog: ! '# 0....
# 0.1.0.0 - Complete basic PCF rendered text embedding with embedPCFText. ' basic-deps: bytestring: -any base: ! '>=4.7 && <5' pcf-font: -any template-haskell: -any vector: -any all-versions: - '0.1.0.0' - '0.1.1.0' author: Michael Swan latest: '0.1.1.0' description-type: markdown description: ! '# pcf-...
<|file_sep|>packages/pc/pcf-font-embed.yaml.diff original: hash: 21d4ecb723ac29f761145d25f71dda66797b83b29feac88228b68580f1afb4cf updated: hash: fa36f63ba4269dae319d838c094fcb1bcfd3cfd4f09ddd9a9ddca1a72d76aab1 <|file_sep|>packages/pc/pcf-font-embed.yaml.diff original: changelog: ! '# 0.1.0.0 updated: changelog: ! '# 0....
10177dc87b732fad6869e94e25322317f55a5f4c
packages/pc/pcf-font-embed.yaml
packages/pc/pcf-font-embed.yaml
YAML
<|file_sep|>original/requirements.txt fonttools[ufo,lxml,unicode]==4.28.5 cu2qu==1.6.7.post1 glyphsLib==6.0.2 ufo2ft[pathops]==2.25.2 MutatorMath==3.0.1 fontMath==0.9.1 defcon[lxml]==0.10.0; platform_python_implementation == 'CPython' defcon==0.9.0; platform_python_implementation != 'CPython' booleanOperations==0.9.0 u...
fonttools[ufo,lxml,unicode]==4.28.5 cu2qu==1.6.7.post1 glyphsLib==6.0.2 ufo2ft[pathops]==2.25.2 MutatorMath==3.0.1 fontMath==0.9.1 defcon[lxml]==0.10.0; platform_python_implementation == 'CPython' defcon==0.10.0; platform_python_implementation != 'CPython' booleanOperations==0.9.0 ufoLib2==0.13.0 attrs==21.2.0 cffsubr=...
<|file_sep|>original/requirements.txt fonttools[ufo,lxml,unicode]==4.28.5 cu2qu==1.6.7.post1 glyphsLib==6.0.2 ufo2ft[pathops]==2.25.2 MutatorMath==3.0.1 fontMath==0.9.1 defcon[lxml]==0.10.0; platform_python_implementation == 'CPython' defcon==0.9.0; platform_python_implementation != 'CPython' booleanOperations==0.9.0 u...
ba0268657b9d1a5dc3cc78f234694e9d3e2edce2
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # zend-mail [![Build Status](https://secure.travis-ci.org/zendframework/zend-mail.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mail) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mail/badge.svg?branch=master)](https://coveralls.io/r/zendframewor...
# zend-mail [![Build Status](https://secure.travis-ci.org/zendframework/zend-mail.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mail) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mail/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-mail?branch=master) `Ze...
<|file_sep|>original/README.md # zend-mail [![Build Status](https://secure.travis-ci.org/zendframework/zend-mail.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mail) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-mail/badge.svg?branch=master)](https://coveralls.io/r/zendframewor...
1e996e756262219134b6d0127993477203412c40
README.md
README.md
Markdown
<|file_sep|>original/Snippets/fix-dflt-langsys.py <|file_sep|>current/Snippets/fix-dflt-langsys.py <|file_sep|>updated/Snippets/fix-dflt-langsys.py
#!/usr/bin/env python import argparse import logging import os import sys from fontTools.ttLib import TTFont def ProcessTable(table): found = set() for rec in table.ScriptList.ScriptRecord: if rec.ScriptTag == "DFLT" and rec.Script.LangSysCount != 0: tags = [r.LangSysTag for r in rec.Sc...
<|file_sep|>original/Snippets/fix-dflt-langsys.py <|file_sep|>current/Snippets/fix-dflt-langsys.py <|file_sep|>updated/Snippets/fix-dflt-langsys.py #!/usr/bin/env python import argparse import logging import os import sys from fontTools.ttLib import TTFont def ProcessTable(table): found = set() for rec i...
7bea4c66c6d44af743955500d31ea1f963edf013
Snippets/fix-dflt-langsys.py
Snippets/fix-dflt-langsys.py
Python
<|file_sep|>original/app/views/shared/_seats_modal.html.haml .modal.fade{id: "seat#{index}", "aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .modal-dialog .modal-content .modal-header %button.close{"aria-label" => "Close", "data-dismiss" => "modal"...
.modal.fade{id: "seat#{index}", "aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .modal-dialog .modal-content .modal-header %button.close{"aria-label" => "Close", "data-dismiss" => "modal", :type => "button"} %span{"aria-hidden" => "true"}...
<|file_sep|>original/app/views/shared/_seats_modal.html.haml .modal.fade{id: "seat#{index}", "aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :tabindex => "-1"} .modal-dialog .modal-content .modal-header %button.close{"aria-label" => "Close", "data-dismiss" => "modal"...
f46cdd8ee1a8ef0616ea1b8590490d6eabeb9e94
app/views/shared/_seats_modal.html.haml
app/views/shared/_seats_modal.html.haml
Haml
<|file_sep|>original/DynamixelServo.Driver/ComplianceSlope.cs namespace DynamixelServo.Driver { public enum ComplianceSlope { S2 = 2, S4 = 4, S8 = 8, S16 = 16, S32 = 32, Default = 32, S64 = 64, S128 = 128 } } <|file_sep|>current/DynamixelServo.Driver/ComplianceS...
namespace DynamixelServo.Driver { public enum ComplianceSlope { S2 = 2, S4 = 4, S8 = 8, S16 = 16, S32 = 32, /// <summary> /// Same as S32 /// </summary> Default = 32, S64 = 64, S128 = 128 } }
<|file_sep|>original/DynamixelServo.Driver/ComplianceSlope.cs namespace DynamixelServo.Driver { public enum ComplianceSlope { S2 = 2, S4 = 4, S8 = 8, S16 = 16, S32 = 32, Default = 32, S64 = 64, S128 = 128 } } <|file_sep|>current/DynamixelServo.Driver/ComplianceS...
17193a0b7fb7518adb753a6af0bb14034067a8d9
DynamixelServo.Driver/ComplianceSlope.cs
DynamixelServo.Driver/ComplianceSlope.cs
C#
<|file_sep|>original/cars196_dataset.py from fuel.utils import find_in_data_path from fuel.schemes import SequentialScheme from fuel.streams import DataStream class Cars196Dataset(H5PYDataset): _filename = 'cars196/cars196.hdf5' def __init__(self, which_sets, **kwargs): super(Cars196Dataset, self)._...
class Cars196Dataset(H5PYDataset): _filename = 'cars196/cars196.hdf5' def __init__(self, which_sets, **kwargs): super(Cars196Dataset, self).__init__( file_or_path=find_in_data_path(self._filename), which_sets=which_sets, **kwargs) def load_as_ndarray(which_sets=['train', 'te...
<|file_sep|>original/cars196_dataset.py from fuel.utils import find_in_data_path from fuel.schemes import SequentialScheme from fuel.streams import DataStream class Cars196Dataset(H5PYDataset): _filename = 'cars196/cars196.hdf5' def __init__(self, which_sets, **kwargs): super(Cars196Dataset, self)._...
075d6e6cfe225c7bc57b8cb2ea66be646a207f10
cars196_dataset.py
cars196_dataset.py
Python
<|file_sep|>original/src/Jenssegers/Date/DateServiceProvider.php */ protected $defer = false; /** * Bootstrap the application events. * * @return void */ public function boot() { $this->package('jenssegers/date'); // Use the Laravel translator. Date::se...
*/ protected $defer = false; /** * Bootstrap the application events. * * @return void */ public function boot() { // Use the Laravel translator. Date::setTranslator($this->app['translator']); } /** * Register the service provider. * * @re...
<|file_sep|>original/src/Jenssegers/Date/DateServiceProvider.php */ protected $defer = false; /** * Bootstrap the application events. * * @return void */ public function boot() { $this->package('jenssegers/date'); // Use the Laravel translator. Date::se...
793d60c6347b957e946625bd62a5e7ddb91d8671
src/Jenssegers/Date/DateServiceProvider.php
src/Jenssegers/Date/DateServiceProvider.php
PHP
<|file_sep|>original/locales/hr/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
# Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for e...
<|file_sep|>original/locales/hr/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
482ddb0a7a40f9a9ad26ec4095ede8a6a3919e01
locales/hr/webextension.properties
locales/hr/webextension.properties
INI
<|file_sep|>original/README.md }; var fastOpts = { locale: 'en', // The locale code to be used localeDirs: ['./path/to/locale/dir/'] // Array of paths to locale .po files }; browserify('./source/file.js') .transform(i18n.fast(fastOpts), opts) .bundle() .pipe(...); ``` The optimized ...
browserify('./source/file.js') .transform(i18n.fast(fastOpts), opts) .bundle() .pipe(...); ``` The optimized task is much faster because it only parses `.po` files once, instead of once for every browserified module. To specify a custom interpolator do: ``` browserify('./source/file.js') .transform(i18n, {i...
<|file_sep|>original/README.md }; var fastOpts = { locale: 'en', // The locale code to be used localeDirs: ['./path/to/locale/dir/'] // Array of paths to locale .po files }; browserify('./source/file.js') .transform(i18n.fast(fastOpts), opts) .bundle() .pipe(...); ``` The optimized ...
db3fe7d2ff08840dc139890489e1cce08a075d65
README.md
README.md
Markdown
<|file_sep|>pyetherscan/settings.py.diff original: updated: HOME_DIR = os.path.expanduser('~') CONFIG_FILE = '.pyetherscan.ini' PATH = os.path.join(HOME_DIR, CONFIG_FILE) <|file_sep|>original/pyetherscan/settings.py import os TESTING_API_KEY = 'YourApiKeyToken' ETHERSCAN_API_KEY = os.environ.get('ETHERSCAN_API_KEY', ...
import os HOME_DIR = os.path.expanduser('~') CONFIG_FILE = '.pyetherscan.ini' PATH = os.path.join(HOME_DIR, CONFIG_FILE) TESTING_API_KEY = 'YourApiKeyToken' if os.path.isfile(PATH): from configparser import ConfigParser config = ConfigParser() config.read(PATH) ETHERSCAN_API_KEY = config['Credentials'...
<|file_sep|>pyetherscan/settings.py.diff original: updated: HOME_DIR = os.path.expanduser('~') CONFIG_FILE = '.pyetherscan.ini' PATH = os.path.join(HOME_DIR, CONFIG_FILE) <|file_sep|>original/pyetherscan/settings.py import os TESTING_API_KEY = 'YourApiKeyToken' ETHERSCAN_API_KEY = os.environ.get('ETHERSCAN_API_KEY', ...
1de05b64363d6a99cceb3b047813893915c0842b
pyetherscan/settings.py
pyetherscan/settings.py
Python
<|file_sep|>original/trex/static/js/services.js }; }); trexServices.factory('Project', ['$resource', 'Conf', function($resource, Conf) { return $resource(Conf.apiBase + '/projects/:projectId', {projectId: '@id'}, {entries: {method: 'GET', isArray: true, ur...
}; }); trexServices.factory('Project', ['$resource', 'Conf', function($resource, Conf) { return $resource(Conf.apiBase + '/projects/:projectId', {projectId: '@id'}, {entries: {method: 'GET', isArray: true, url: Conf.apiBase + '/projects/:projectId/entries'...
<|file_sep|>original/trex/static/js/services.js }; }); trexServices.factory('Project', ['$resource', 'Conf', function($resource, Conf) { return $resource(Conf.apiBase + '/projects/:projectId', {projectId: '@id'}, {entries: {method: 'GET', isArray: true, ur...
1c7f2639b6b91b9b7aaca280413a470a2b4c44f9
trex/static/js/services.js
trex/static/js/services.js
JavaScript
<|file_sep|>original/tests/CollectionNumberOperationFuncTest.php <|file_sep|>current/tests/CollectionNumberOperationFuncTest.php <|file_sep|>updated/tests/CollectionNumberOperationFuncTest.php
<?php use Mimic\Functional as F; /** * Unit Test for collectionNumberOperation Mimic library function. * * @since 0.1.0 */ class CollectionNumberOperationFuncTest extends PHPUnit_Framework_TestCase { public function dataProvider() { return array( array(1, 0, 1, true), array(1.25, 0, 1.25, true), arra...
<|file_sep|>original/tests/CollectionNumberOperationFuncTest.php <|file_sep|>current/tests/CollectionNumberOperationFuncTest.php <|file_sep|>updated/tests/CollectionNumberOperationFuncTest.php <?php use Mimic\Functional as F; /** * Unit Test for collectionNumberOperation Mimic library function. * * @since 0.1.0 ...
b5d306cca4fe0d78302020c285ce7643b1e8342e
tests/CollectionNumberOperationFuncTest.php
tests/CollectionNumberOperationFuncTest.php
PHP
<|file_sep|>roles/composer/tasks/main.yml.diff original: action: shell test -f /usr/local/bin/composer && echo "exist" || echo "" updated: shell: test -f /usr/local/bin/composer && echo "exist" || echo "" <|file_sep|>roles/composer/tasks/main.yml.diff original: when: ${is_file_created.stdout} != "exist" updated: ...
--- - name: Composer | Test if existing file shell: test -f /usr/local/bin/composer && echo "exist" || echo "" register: is_file_created - name: Composer | Install composer.phar command: php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" when: {{ is_file_created.stdout }} != "exist" ...
<|file_sep|>roles/composer/tasks/main.yml.diff original: action: shell test -f /usr/local/bin/composer && echo "exist" || echo "" updated: shell: test -f /usr/local/bin/composer && echo "exist" || echo "" <|file_sep|>roles/composer/tasks/main.yml.diff original: when: ${is_file_created.stdout} != "exist" updated: ...
93f90d99cebc8f06a89066023238dba2ab481b15
roles/composer/tasks/main.yml
roles/composer/tasks/main.yml
YAML
<|file_sep|>server/elements/boards/generators/dices.js.diff original: function shuffle(array) { var currentIndex = array.length, temporaryValue, randomIndex ; updated: /** * Creates a new array with given values in randome order * @param {[Array]} values values to randomize * @return {[Array]} array of values in ...
// While there remain elements to shuffle... while (0 !== currentIndex) { // Pick a remaining element... randomIndex = Math.floor(Math.random() * currentIndex); currentIndex -= 1; // And swap it with the current element. array[currentIndex] = values[randomIndex]; array[randomIndex] = valu...
<|file_sep|>server/elements/boards/generators/dices.js.diff original: function shuffle(array) { var currentIndex = array.length, temporaryValue, randomIndex ; updated: /** * Creates a new array with given values in randome order * @param {[Array]} values values to randomize * @return {[Array]} array of values in ...
55f6c0db03c942c98c635b3195c8df42b7ab8165
server/elements/boards/generators/dices.js
server/elements/boards/generators/dices.js
JavaScript
<|file_sep|>original/ImageCache/Sources/Classes/DiskCache.swift // // DiskCache.swift // ImageCache // // Created by Julian Grosshauser on 27/06/15. // Copyright © 2015 Julian Grosshauser. All rights reserved. // /** Caches data on disk asynchronously */ public class DiskCache { } <|file_sep|>current/ImageCache/S...
// // Created by Julian Grosshauser on 27/06/15. // Copyright © 2015 Julian Grosshauser. All rights reserved. // /** Caches data on disk asynchronously */ public class DiskCache { //MARK: Properties /** Data will be cached at this path, e.g. `Library/Caches/com.domain.App.DiskCache` */ public l...
<|file_sep|>original/ImageCache/Sources/Classes/DiskCache.swift // // DiskCache.swift // ImageCache // // Created by Julian Grosshauser on 27/06/15. // Copyright © 2015 Julian Grosshauser. All rights reserved. // /** Caches data on disk asynchronously */ public class DiskCache { } <|file_sep|>current/ImageCache/S...
2b08465f8132e145c6c3026d14f49a90ae4b4584
ImageCache/Sources/Classes/DiskCache.swift
ImageCache/Sources/Classes/DiskCache.swift
Swift
<|file_sep|>src/main.coffee.diff original: S = rx.rxt.svg_tags updated: SVG = rx.rxt.svg_tags <|file_sep|>src/main.coffee.diff original: S.svg { updated: SVG.svg { <|file_sep|>original/src/main.coffee grid_size = 640 grid_split = 8 main = -> $('body').append( T.h1 "Rohan's Teenage Robot Turtles" S.s...
grid_size = 640 grid_split = 8 main = -> $('body').append( T.h1 "Rohan's Teenage Robot Turtles" SVG.svg { xmlns: "http://www.w3.org/2000/svg" "xmlns:xlink": "http://www.w3.org/1999/xlink" class: 'svg_grid' width: grid_size height: grid_size }, bind -> _.flatten [ ...
<|file_sep|>src/main.coffee.diff original: S = rx.rxt.svg_tags updated: SVG = rx.rxt.svg_tags <|file_sep|>src/main.coffee.diff original: S.svg { updated: SVG.svg { <|file_sep|>original/src/main.coffee grid_size = 640 grid_split = 8 main = -> $('body').append( T.h1 "Rohan's Teenage Robot Turtles" S.s...
3fd38333a31b6ffc5d10583433db9917b1e334cc
src/main.coffee
src/main.coffee
CoffeeScript
<|file_sep|>original/src/motion/arcsys2_description/package.xml <?xml version="1.0"?> <package format="2"> <name> arcsys2_description </name> <version> 0.0.1 </version> <maintainer email="httperror@404-notfound.jp"> Yamasaki Tatsuya </maintainer> <license> MIT </license> <description> The manipulator pa...
<?xml version="1.0"?> <package format="2"> <name> arcsys2_description </name> <version> 0.0.1 </version> <maintainer email="httperror@404-notfound.jp"> Yamasaki Tatsuya </maintainer> <license> MIT </license> <description> The manipulator package. </description> <buildtool_depend> catkin </buildtool...
<|file_sep|>original/src/motion/arcsys2_description/package.xml <?xml version="1.0"?> <package format="2"> <name> arcsys2_description </name> <version> 0.0.1 </version> <maintainer email="httperror@404-notfound.jp"> Yamasaki Tatsuya </maintainer> <license> MIT </license> <description> The manipulator pa...
fc8e44332d4b83662c412e6c7033b9694d056f59
src/motion/arcsys2_description/package.xml
src/motion/arcsys2_description/package.xml
XML
<|file_sep|>original/config_and_metrics_crawler/requirements.txt psutil==2.1.3 bottle==0.12.7 requests==2.5.0 netifaces==0.10.4 kafka-python==0.9.2 pykafka==1.1.0 docker-py==0.6.0 python-dateutil==2.4.2 <|file_sep|>current/config_and_metrics_crawler/requirements.txt psutil==2.1.3 bottle==0.12.7 requests==2.5.0 netiface...
psutil==2.1.3 bottle==0.12.7 requests==2.5.0 netifaces==0.10.4 kafka-python==0.9.2 pykafka==1.1.0 docker-py==1.8.1 python-dateutil==2.4.2
<|file_sep|>original/config_and_metrics_crawler/requirements.txt psutil==2.1.3 bottle==0.12.7 requests==2.5.0 netifaces==0.10.4 kafka-python==0.9.2 pykafka==1.1.0 docker-py==0.6.0 python-dateutil==2.4.2 <|file_sep|>current/config_and_metrics_crawler/requirements.txt psutil==2.1.3 bottle==0.12.7 requests==2.5.0 netiface...
0b9c9e0146379a0037fcf87195b98579edc891db
config_and_metrics_crawler/requirements.txt
config_and_metrics_crawler/requirements.txt
Text
<|file_sep|>penrose.js.diff original: var tilingEl = document.getElementById('penrose-tiling') , outerRadius = 0.9 , innerRadius = outerRadius * Math.sin(18 * Math.PI / 180) , top = innerRadius , bottom = -innerRadius , left = -outerRadius , right = outerRadius updated: var a18 = 18 * Math.P...
(function(){ var a18 = 18 * Math.PI / 180 , sin18 = Math.sin(a18) , narrowDiamondMarkup = "<path d='M -1 0 L 0 " + sin18 + " L 1 0 L 0 -" + sin18 + " z' fill='orange' vector-effect='non-scaling-stroke' stroke='black' />" , tilingEl = document.getElementById('penrose-tiling') ; tilingEl.innerHT...
<|file_sep|>penrose.js.diff original: var tilingEl = document.getElementById('penrose-tiling') , outerRadius = 0.9 , innerRadius = outerRadius * Math.sin(18 * Math.PI / 180) , top = innerRadius , bottom = -innerRadius , left = -outerRadius , right = outerRadius updated: var a18 = 18 * Math.P...
2a2b71f08c6c0d22847ba90eb0bc597c30cffae9
penrose.js
penrose.js
JavaScript
<|file_sep|>original/.codeclimate.yml engines: pmd: enabled: true channel: "beta" checkstyle: enabled: true config: checkstyle.xml channel: "beta" ratings: paths: - "**.java" exclude_paths: - "dropwizard-archetypes/" - "**.png" - "**.ts" - "**.p12" - "**.jts" - "**.jks" - "**.keystore" <|f...
engines: pmd: enabled: true channel: "beta" checkstyle: enabled: true config: file: "checkstyle.xml" channel: "beta" ratings: paths: - "**.java" exclude_paths: - "dropwizard-archetypes/" - "**.png" - "**.ts" - "**.p12" - "**.jts" - "**.jks"
<|file_sep|>original/.codeclimate.yml engines: pmd: enabled: true channel: "beta" checkstyle: enabled: true config: checkstyle.xml channel: "beta" ratings: paths: - "**.java" exclude_paths: - "dropwizard-archetypes/" - "**.png" - "**.ts" - "**.p12" - "**.jts" - "**.jks" - "**.keystore" <|f...
2fb3e60ca19a5558b420780bdc231c9bf198be36
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/apps/aebytecode/test/aebytecode_SUITE.erl <|file_sep|>current/apps/aebytecode/test/aebytecode_SUITE.erl <|file_sep|>updated/apps/aebytecode/test/aebytecode_SUITE.erl
-module(aebytecode_SUITE). %% common_test exports -export([ all/0 ]). %% test case exports -export([ roundtrip_identy/1 ]). -include_lib("common_test/include/ct.hrl"). all() -> [ roundtrip_identy ]. roundtrip_identy(_Cfg) -> CodeDir = code:lib_dir(aebytecode, test), FileName = filename:join(CodeDir, "a...
<|file_sep|>original/apps/aebytecode/test/aebytecode_SUITE.erl <|file_sep|>current/apps/aebytecode/test/aebytecode_SUITE.erl <|file_sep|>updated/apps/aebytecode/test/aebytecode_SUITE.erl -module(aebytecode_SUITE). %% common_test exports -export([ all/0 ]). %% test case exports -export([ roundtrip_identy/1 ]). -inc...
840ee0cfc57829613aebc6cf7cb604fa5403bff5
apps/aebytecode/test/aebytecode_SUITE.erl
apps/aebytecode/test/aebytecode_SUITE.erl
Erlang
<|file_sep|>original/spec/unit/request/protocol/class_methods/get_spec.rb let(:object) { described_class } subject { object.get(input) } context 'with "http"' do let(:input) { 'http' } it { should eql(Request::Protocol::HTTP) } end context 'with "https"' do let(:input) { 'https' } it { shou...
end context 'with "https"' do let(:input) { 'https' } it { should eql(Request::Protocol::HTTPS) } end context 'with "ftp"' do let(:input) { 'ftp' } it 'should raise error' do # jruby has different message format expectation = begin {}.fetch('ftp') rescue K...
<|file_sep|>original/spec/unit/request/protocol/class_methods/get_spec.rb let(:object) { described_class } subject { object.get(input) } context 'with "http"' do let(:input) { 'http' } it { should eql(Request::Protocol::HTTP) } end context 'with "https"' do let(:input) { 'https' } it { shou...
5c87cdbca7687563eeb3a0064e93c2226fab50b5
spec/unit/request/protocol/class_methods/get_spec.rb
spec/unit/request/protocol/class_methods/get_spec.rb
Ruby
<|file_sep|>README.md.diff original: Once added as collaborators, students can mess around with this repository. updated: Below is one idea of something to do during the mini-workshop. The indented code is for command line users. GUI users will hopefully see buttons that do the same thing. <|file_sep|>README.md.diff ...
# practicerepo This repo can be used for practicing pull requests, forks, etc. Below is one idea of something to do during the mini-workshop. The indented code is for command line users. GUI users will hopefully see buttons that do the same thing. 1. Clone the repository (git@github.com:jduss4/practicerepo.git) ...
<|file_sep|>README.md.diff original: Once added as collaborators, students can mess around with this repository. updated: Below is one idea of something to do during the mini-workshop. The indented code is for command line users. GUI users will hopefully see buttons that do the same thing. <|file_sep|>README.md.diff ...
7a25779667c11205771a6f42d687ed86d22cd83e
README.md
README.md
Markdown
<|file_sep|>original/docs/source/config/options/index.rst =============== IPython options =============== Any of the options listed here can be set in config files, at the command line, or from inside IPython. See :ref:`setting_config` for details. .. toctree:: terminal kernel notebook qtconsole <|file_s...
=============== IPython options =============== Any of the options listed here can be set in config files, at the command line, or from inside IPython. See :ref:`setting_config` for details. .. toctree:: terminal kernel
<|file_sep|>original/docs/source/config/options/index.rst =============== IPython options =============== Any of the options listed here can be set in config files, at the command line, or from inside IPython. See :ref:`setting_config` for details. .. toctree:: terminal kernel notebook qtconsole <|file_s...
acfa06b032ae240b8157c25f257b9cacea5b878f
docs/source/config/options/index.rst
docs/source/config/options/index.rst
reStructuredText
<|file_sep|>original/archetypes/connector-archetype/src/main/resources/archetype-resources/service-engine/src/main/resources/contextProperties.xml the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocati...
<|file_sep|>original/archetypes/connector-archetype/src/main/resources/archetype-resources/service-engine/src/main/resources/contextProperties.xml the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
9f0555e81327f210bb9e4f560991ca6884bcdc7d
archetypes/connector-archetype/src/main/resources/archetype-resources/service-engine/src/main/resources/contextProperties.xml
archetypes/connector-archetype/src/main/resources/archetype-resources/service-engine/src/main/resources/contextProperties.xml
XML
<|file_sep|>.travis.yml.diff original: updated: - jruby-9.1.5.0 <|file_sep|>original/.travis.yml dist: trusty language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 - jruby-head matrix: allow_failures: - rvm: jruby-head before_install: - gem install bundler - sudo apt-get -qq update - sudo apt-get install -...
dist: trusty language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 - jruby-9.1.5.0 - jruby-head matrix: allow_failures: - rvm: jruby-9.1.5.0 - rvm: jruby-head before_install: - gem install bundler - sudo apt-get -qq update - sudo apt-get install -y libgirepository1.0-dev gobject-introspection gir1.2-gto...
<|file_sep|>.travis.yml.diff original: updated: - jruby-9.1.5.0 <|file_sep|>original/.travis.yml dist: trusty language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 - jruby-head matrix: allow_failures: - rvm: jruby-head before_install: - gem install bundler - sudo apt-get -qq update - sudo apt-get install -...
6d5831957511ca5f1bb8bc92ab82553a8b9df405
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "5" - "4" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "5" - "4" before_install: - npm i -g npm@latest
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "5" - "4" <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "5" - "4" <|file_sep|>updated/.travis.yml language: node_js node_js: - "6" - "5" - "4" before_install: - npm i -g npm@latest
d749f029645b202c7c558c87699e907b0828cae8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/vi/vinyl-vectors.yaml <|file_sep|>current/packages/vi/vinyl-vectors.yaml <|file_sep|>updated/packages/vi/vinyl-vectors.yaml
homepage: http://github.com/githubuser/vinyl-vectors#readme changelog-type: '' hash: 9041e428ebfbeab0c5ea164b6e2c8e917a54c5dc44207cdfb37587571cd4d913 test-bench-deps: {} maintainer: example@example.com synopsis: Initial project template from stack changelog: '' basic-deps: base: ! '>=4.7 && <5' text: ! '>=0.8.0.0' ...
<|file_sep|>original/packages/vi/vinyl-vectors.yaml <|file_sep|>current/packages/vi/vinyl-vectors.yaml <|file_sep|>updated/packages/vi/vinyl-vectors.yaml homepage: http://github.com/githubuser/vinyl-vectors#readme changelog-type: '' hash: 9041e428ebfbeab0c5ea164b6e2c8e917a54c5dc44207cdfb37587571cd4d913 test-bench-dep...
336a56c2db75c69c44f616fa3b1d22c556bd3c07
packages/vi/vinyl-vectors.yaml
packages/vi/vinyl-vectors.yaml
YAML
<|file_sep|>original/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml <|file_sep|>current/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml <|file_sep|>updated/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml
--- features: - | The policy framework in horizon now supports policy directories per service. This corresponds to ``policy_dirs`` configuration option from "oslo.policy" library. The new setting ``POLICY_DIRS`` was introduced. The setting allows to define multiple policy directories per service. ...
<|file_sep|>original/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml <|file_sep|>current/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml <|file_sep|>updated/releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml --- features: - | The policy framework in horiz...
b541debf3e3f85d6d1d11c36cf1252aa5043d251
releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml
releasenotes/notes/openstack-auth-policy-dirs-c5d77665eac415ea.yaml
YAML
<|file_sep|>original/BlocksKit/NSCache+BlocksKit.h NSMutableArray *products = [cache objectForKey:@"products" withGetter:^id{ return [Product all]; }]; @return The value associated with *key*, or the object returned by the block if no value is associated with *key*. @param key An object identify...
NSMutableArray *products = [cache objectForKey:@"products" withGetter:^id{ return [Product all]; }]; @return The value associated with *key*, or the object returned by the block if no value is associated with *key*. @param key An object identifying the value. @param getterBlock A block used to ...
<|file_sep|>original/BlocksKit/NSCache+BlocksKit.h NSMutableArray *products = [cache objectForKey:@"products" withGetter:^id{ return [Product all]; }]; @return The value associated with *key*, or the object returned by the block if no value is associated with *key*. @param key An object identify...
8112c82609b3307c193ffefae01690ecd6e99968
BlocksKit/NSCache+BlocksKit.h
BlocksKit/NSCache+BlocksKit.h
C
<|file_sep|>patch/andyf-ant-jvmargs-v1.patch.diff original: index 186b666..11a98b6 100644 updated: index 186b666..df98bdb 100644 <|file_sep|>original/patch/andyf-ant-jvmargs-v1.patch diff --git a/build.xml b/build.xml index 186b666..11a98b6 100644 --- a/build.xml +++ b/build.xml @@ -53,6 +53,12 @@ <!--<syspro...
diff --git a/build.xml b/build.xml index 186b666..df98bdb 100644 --- a/build.xml +++ b/build.xml @@ -53,6 +53,12 @@ <!--<sysproperty key="clojure.compiler.disable-locals-clearing" value="true"/>--> <!-- <sysproperty key="clojure.compile.warn-on-reflection" value="true"/> --> <sysproperty key="ja...
<|file_sep|>patch/andyf-ant-jvmargs-v1.patch.diff original: index 186b666..11a98b6 100644 updated: index 186b666..df98bdb 100644 <|file_sep|>original/patch/andyf-ant-jvmargs-v1.patch diff --git a/build.xml b/build.xml index 186b666..11a98b6 100644 --- a/build.xml +++ b/build.xml @@ -53,6 +53,12 @@ <!--<syspro...
001084635ab18ec13b3e56042a48e353f6cdf41b
patch/andyf-ant-jvmargs-v1.patch
patch/andyf-ant-jvmargs-v1.patch
Diff
<|file_sep|>original/package.json "bugs": { "url": "https://github.com/llaumgui/jquery-async-gravatar/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/llaumgui/jquery-async-gravatar/blob/master/LICENSE.txt" } ], "dependencies": {}, "devDependencies": { "grunt"...
"bugs": { "url": "https://github.com/llaumgui/jquery-async-gravatar/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/llaumgui/jquery-async-gravatar/blob/master/LICENSE.txt" } ], "dependencies": {}, "devDependencies": { "grunt": "latest", "grunt-contrib-ugl...
<|file_sep|>original/package.json "bugs": { "url": "https://github.com/llaumgui/jquery-async-gravatar/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/llaumgui/jquery-async-gravatar/blob/master/LICENSE.txt" } ], "dependencies": {}, "devDependencies": { "grunt"...
eb83daffb4619e39f8148917803e77e6276ab596
package.json
package.json
JSON
<|file_sep|>original/schemas/stsci.edu/asdf/asdf-schema-1.0.0.yaml Specifies that the matching ndarray is exactly the given number of dimensions. type: integer minimum: 0 datatype: description: | Specifies the datatype of the ndarray. By default, a...
Specifies that the matching ndarray is exactly the given number of dimensions. type: integer minimum: 0 datatype: description: | Specifies the datatype of the ndarray. By default, an array is considered "matching" if the array can be cast...
<|file_sep|>original/schemas/stsci.edu/asdf/asdf-schema-1.0.0.yaml Specifies that the matching ndarray is exactly the given number of dimensions. type: integer minimum: 0 datatype: description: | Specifies the datatype of the ndarray. By default, a...
8de62d7dc650adf88330d19323bd22af2de2fa21
schemas/stsci.edu/asdf/asdf-schema-1.0.0.yaml
schemas/stsci.edu/asdf/asdf-schema-1.0.0.yaml
YAML
<|file_sep|>original/spec/models/list_digests_spec.rb <|file_sep|>current/spec/models/list_digests_spec.rb <|file_sep|>updated/spec/models/list_digests_spec.rb
require 'spec_helper' describe ListDigest do before :each do @list_digest = ListDigest.new "Some Title", "A bunch of text" end describe "#new" do it "takes title and digest_text arguments and returns a ListDigest object" do @list_digest.should be_an_instance_of ListDigest end end descri...
<|file_sep|>original/spec/models/list_digests_spec.rb <|file_sep|>current/spec/models/list_digests_spec.rb <|file_sep|>updated/spec/models/list_digests_spec.rb require 'spec_helper' describe ListDigest do before :each do @list_digest = ListDigest.new "Some Title", "A bunch of text" end describe "#new" do ...
de991cae07ea2979377346fe3b0a6c0ba20aa2e3
spec/models/list_digests_spec.rb
spec/models/list_digests_spec.rb
Ruby
<|file_sep|>original/centos7/bootstrap.sh service iptables stop #Again, stopping iptables /etc/init.d/iptables stop # Increasing swap space # sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024k sudo mkswap /swapfile sudo swapon /swapfile echo "/swapfile none swap sw 0 0" >> /etc/fstab # Work...
# Increasing swap space # sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024k sudo mkswap /swapfile sudo swapon /swapfile echo "/swapfile none swap sw 0 0" >> /etc/fstab # Workaround for missing network https://github.com/mitchellh/vagrant/issues/8096 # sudo service network restart # Install...
<|file_sep|>original/centos7/bootstrap.sh service iptables stop #Again, stopping iptables /etc/init.d/iptables stop # Increasing swap space # sudo dd if=/dev/zero of=/swapfile bs=1024 count=1024k sudo mkswap /swapfile sudo swapon /swapfile echo "/swapfile none swap sw 0 0" >> /etc/fstab # Work...
b1f2048204593976a62be2601a8892b9d2df0caa
centos7/bootstrap.sh
centos7/bootstrap.sh
Shell
<|file_sep|>original/test-support/helpers/ember-cognito.js /* global wait */ import { MockUser } from '../utils/ember-cognito'; import { set } from '@ember/object'; export function mockCognitoUser(app, userAttributes) { const { __container__: container } = app; const cognito = container.lookup('service:cognito'); ...
/* global wait */ import { MockUser } from '../utils/ember-cognito'; import Ember from 'ember'; const { set } = Ember; export function mockCognitoUser(app, userAttributes) { const { __container__: container } = app; const cognito = container.lookup('service:cognito'); set(cognito, 'user', MockUser.create(userAt...
<|file_sep|>original/test-support/helpers/ember-cognito.js /* global wait */ import { MockUser } from '../utils/ember-cognito'; import { set } from '@ember/object'; export function mockCognitoUser(app, userAttributes) { const { __container__: container } = app; const cognito = container.lookup('service:cognito'); ...
26bf7d797840efe457fb08eb328e36dba2092d4f
test-support/helpers/ember-cognito.js
test-support/helpers/ember-cognito.js
JavaScript
<|file_sep|>src/main/java/org/agmip/ui/acmoui/TranslateRunner.java.diff original: updated: import java.io.File; <|file_sep|>original/src/main/java/org/agmip/ui/acmoui/TranslateRunner.java private String outputDirectory; private static Logger LOG = LoggerFactory.getLogger(TranslateRunner.class); public TranslateRu...
private String outputDirectory; private static Logger LOG = LoggerFactory.getLogger(TranslateRunner.class); public TranslateRunner(AcmoTranslator translator, String inputDirectory, String outputDirectory) { this.translator = translator; this.inputDirectory = inputDirectory; this.outputDirectory = outputD...
<|file_sep|>src/main/java/org/agmip/ui/acmoui/TranslateRunner.java.diff original: updated: import java.io.File; <|file_sep|>original/src/main/java/org/agmip/ui/acmoui/TranslateRunner.java private String outputDirectory; private static Logger LOG = LoggerFactory.getLogger(TranslateRunner.class); public TranslateRu...
816346235f37a927c3d05cb21fd633cb2ab33ee6
src/main/java/org/agmip/ui/acmoui/TranslateRunner.java
src/main/java/org/agmip/ui/acmoui/TranslateRunner.java
Java
<|file_sep|>original/scripts/data-load/find-memory-leaks.js <|file_sep|>current/scripts/data-load/find-memory-leaks.js <|file_sep|>updated/scripts/data-load/find-memory-leaks.js
var storage_mocked = require ('./../../test/lib/mock/storage_mocked'); var debug = require('debug')('data-load'); var Watchmen = require('../../lib/watchmen.js'); var mocked_ping_service = require('../../test/lib/mock/request_mocked'); var watchmen = new Watchmen(null, new storage_mocked(null)); var service = { ho...
<|file_sep|>original/scripts/data-load/find-memory-leaks.js <|file_sep|>current/scripts/data-load/find-memory-leaks.js <|file_sep|>updated/scripts/data-load/find-memory-leaks.js var storage_mocked = require ('./../../test/lib/mock/storage_mocked'); var debug = require('debug')('data-load'); var Watchmen = require('....
80165a09c839a22fdde9a9c795b020c918eb9e0f
scripts/data-load/find-memory-leaks.js
scripts/data-load/find-memory-leaks.js
JavaScript
<|file_sep|>original/core/app/models/ability.rb include CanCan::Ability def user @user end def initialize(user=nil) @user=user define_channel_abilities define_fact_abilities define_fact_relation_abilities define_user_abilities end def define_channel_abilities if user ca...
include CanCan::Ability def user @user end def initialize(user=nil) @user=user if user if user.agrees_tos define_channel_abilities define_fact_abilities define_fact_relation_abilities define_user_abilities else cannot :manage, :all can :...
<|file_sep|>original/core/app/models/ability.rb include CanCan::Ability def user @user end def initialize(user=nil) @user=user define_channel_abilities define_fact_abilities define_fact_relation_abilities define_user_abilities end def define_channel_abilities if user ca...
2d655cfb40baeeda49681787069ce249df87828f
core/app/models/ability.rb
core/app/models/ability.rb
Ruby
<|file_sep|>README.md.diff original: # Ember-data-live-filter updated: # Ember Data Live FilterBy <|file_sep|>README.md.diff original: This README outlines the details of collaborating on this Ember addon. updated: <|file_sep|>original/README.md # Ember-data-live-filter This README outlines the details of collaborati...
# Ember Data Live FilterBy ## Install ### Ember CLI `ember install ember-data-filter` ## Why? Durring the Ember Data 1.0.0 betas and in the Ember Data 1.13 release. Records that were marked as deleted locally but not yet saved to the backend were automatically removed from the `RecordArray`s returned by `store.p...
<|file_sep|>README.md.diff original: # Ember-data-live-filter updated: # Ember Data Live FilterBy <|file_sep|>README.md.diff original: This README outlines the details of collaborating on this Ember addon. updated: <|file_sep|>original/README.md # Ember-data-live-filter This README outlines the details of collaborati...
e9095f6e87c7a90f9316b83a815867ebafa4e2d2
README.md
README.md
Markdown
<|file_sep|>original/requirements/common.txt Flask-Login==0.3.1 Flask-Mail==0.9.0 Flask-Migrate==1.1.0 Flask-Moment==0.2.1 Flask-PageDown==0.1.4 Flask-SQLAlchemy==1.0 Flask-Script==0.6.6 Flask-WTF==0.9.4 Jinja2>=2.8.1 Mako==0.9.1 Markdown==2.3.1 MarkupSafe==0.18 SQLAlchemy>=1.3.0 WTForms==1.0.5 Werkzeug==0.10.4 alembic...
Flask-Login==0.3.1 Flask-Mail==0.9.0 Flask-Migrate==1.1.0 Flask-Moment==0.2.1 Flask-PageDown==0.1.4 Flask-SQLAlchemy==1.0 Flask-Script==0.6.6 Flask-WTF==0.9.4 Jinja2>=2.8.1 Mako==0.9.1 Markdown==2.3.1 MarkupSafe==0.18 SQLAlchemy>=1.3.0 WTForms==1.0.5 Werkzeug==0.10.4 alembic==0.6.2 bleach==3.1.4 blinker==1.3 html5lib==...
<|file_sep|>original/requirements/common.txt Flask-Login==0.3.1 Flask-Mail==0.9.0 Flask-Migrate==1.1.0 Flask-Moment==0.2.1 Flask-PageDown==0.1.4 Flask-SQLAlchemy==1.0 Flask-Script==0.6.6 Flask-WTF==0.9.4 Jinja2>=2.8.1 Mako==0.9.1 Markdown==2.3.1 MarkupSafe==0.18 SQLAlchemy>=1.3.0 WTForms==1.0.5 Werkzeug==0.10.4 alembic...
bce43a8cdb2d04d47f240efb4460e6976ffb917f
requirements/common.txt
requirements/common.txt
Text
<|file_sep|>original/requirements-dev.txt # Use ./pip.sh to get this into the right spot nose==1.3.7 nosegae==0.5.10 nose-exclude==0.5.0 coverage==4.3.4 mock==2.0.0 python-semantic-release==3.9.0 setuptools-git-version==1.0.3 docutils==0.13.1 pypandoc==1.4 nose-randomly==1.2.5 <|file_sep|>current/requirements-dev.txt #...
# Use ./pip.sh to get this into the right spot nose==1.3.7 nosegae==0.5.10 nose-exclude==0.5.0 coverage==4.4 mock==2.0.0 python-semantic-release==3.9.0 setuptools-git-version==1.0.3 docutils==0.13.1 pypandoc==1.4 nose-randomly==1.2.5
<|file_sep|>original/requirements-dev.txt # Use ./pip.sh to get this into the right spot nose==1.3.7 nosegae==0.5.10 nose-exclude==0.5.0 coverage==4.3.4 mock==2.0.0 python-semantic-release==3.9.0 setuptools-git-version==1.0.3 docutils==0.13.1 pypandoc==1.4 nose-randomly==1.2.5 <|file_sep|>current/requirements-dev.txt #...
6ce5970729bfdb38043de9bec511be4b6ceef498
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>helusers/migrations/0002_add_oidcbackchannellogoutevent.py.diff original: # Generated by Django 3.2.4 on 2021-06-21 05:46 updated: <|file_sep|>original/helusers/migrations/0002_add_oidcbackchannellogoutevent.py operations = [ migrations.CreateModel( name="OIDCBackChannelLogoutEvent...
( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ("created_a...
<|file_sep|>helusers/migrations/0002_add_oidcbackchannellogoutevent.py.diff original: # Generated by Django 3.2.4 on 2021-06-21 05:46 updated: <|file_sep|>original/helusers/migrations/0002_add_oidcbackchannellogoutevent.py operations = [ migrations.CreateModel( name="OIDCBackChannelLogoutEvent...
a28b2bc45b69503a8133b0df98ffa96d9aa4e229
helusers/migrations/0002_add_oidcbackchannellogoutevent.py
helusers/migrations/0002_add_oidcbackchannellogoutevent.py
Python
<|file_sep|>VSTS.DNX.Tasks.Shared/Common.psm1.diff original: [String] [Parameter(Mandatory = $true)] updated: [String] [Parameter(Mandatory = $false)] <|file_sep|>original/VSTS.DNX.Tasks.Shared/Common.psm1 param ( [String] [Parameter(Mandatory = $true)] $Path = "" ) Write-Verbose "Entering Meth...
param ( [String] [Parameter(Mandatory = $false)] $Path = "" ) Write-Verbose "Entering Method Get-TrimedPath" $Path = $Path.Trim().Trim("""").Trim().Replace("/","\\").Trim("\") if($Path -ne "") { if(-not [System.IO.Path]::IsPathRooted($Path)) { $Path = ".\" + $Pa...
<|file_sep|>VSTS.DNX.Tasks.Shared/Common.psm1.diff original: [String] [Parameter(Mandatory = $true)] updated: [String] [Parameter(Mandatory = $false)] <|file_sep|>original/VSTS.DNX.Tasks.Shared/Common.psm1 param ( [String] [Parameter(Mandatory = $true)] $Path = "" ) Write-Verbose "Entering Meth...
1c33e750c899fdbfe7ae831329620c5938a76863
VSTS.DNX.Tasks.Shared/Common.psm1
VSTS.DNX.Tasks.Shared/Common.psm1
PowerShell
<|file_sep|>pass/Views/FillPasswordTableViewCell.swift.diff original: updated: contentTextField.font = UIFont(name: Globals.passwordFonts, size: (contentTextField.font?.pointSize)!) <|file_sep|>original/pass/Views/FillPasswordTableViewCell.swift override func setSelected(_ selected: Bool, animated: Bool) ...
} override func setSelected(_ selected: Bool, animated: Bool) { super.setSelected(selected, animated: animated) // Configure the view for the selected state } @IBAction func generatePassword(_ sender: UIButton) { let plainPassword = self.delegate?.generatePassword() ?? Uti...
<|file_sep|>pass/Views/FillPasswordTableViewCell.swift.diff original: updated: contentTextField.font = UIFont(name: Globals.passwordFonts, size: (contentTextField.font?.pointSize)!) <|file_sep|>original/pass/Views/FillPasswordTableViewCell.swift override func setSelected(_ selected: Bool, animated: Bool) ...
b18f5741b0348f1bfa8ee0d3d37c9bf5fdd846dd
pass/Views/FillPasswordTableViewCell.swift
pass/Views/FillPasswordTableViewCell.swift
Swift
<|file_sep|>original/test/compile.cases.js module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], [...
module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], ['upload', 'заебенить'], ['!x === y || z ...
<|file_sep|>original/test/compile.cases.js module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], [...
ea479d83185c2879f3140657c96e49c2cb3666bd
test/compile.cases.js
test/compile.cases.js
JavaScript
<|file_sep|>Control/Monad/UnsafeIO.hs.diff original: updated: import qualified Control.Monad.ST.Unsafe as SU <|file_sep|>Control/Monad/UnsafeIO.hs.diff original: updated: import qualified Control.Monad.ST.Lazy.Unsafe as LU <|file_sep|>Control/Monad/UnsafeIO.hs.diff original: liftUnsafeIO = S.unsafeIOToST updated: ...
import qualified Control.Monad.ST.Unsafe as SU import qualified Control.Monad.ST.Lazy as L import qualified Control.Monad.ST.Lazy.Unsafe as LU import Control.Monad.Trans.Reader import Control.Monad.Trans.Writer import Control.Monad.Trans import Data.Monoid class Monad m => MonadUnsafeIO m where liftUnsafeIO :: IO a ...
<|file_sep|>Control/Monad/UnsafeIO.hs.diff original: updated: import qualified Control.Monad.ST.Unsafe as SU <|file_sep|>Control/Monad/UnsafeIO.hs.diff original: updated: import qualified Control.Monad.ST.Lazy.Unsafe as LU <|file_sep|>Control/Monad/UnsafeIO.hs.diff original: liftUnsafeIO = S.unsafeIOToST updated: ...
b46b10021d26ae6ca8f5c5bdc86073358bc4ecc5
Control/Monad/UnsafeIO.hs
Control/Monad/UnsafeIO.hs
Haskell
<|file_sep|>app/views/scrapbooks/show.html.erb.diff original: updated: <hr> <|file_sep|>app/views/scrapbooks/show.html.erb.diff original: <hr> updated: <|file_sep|>original/app/views/scrapbooks/show.html.erb <h2 class="heading-xlarge">Your saved roles</h2> <p>Now, you can use this information to:</p> <...
<h2 class="heading-xlarge">Your saved roles</h2> <p>Now, you can use this information to:</p> <ul class="list list-bullet"> <li>tailor your CV</li> <li>look for training</li> <li>search for jobs online</li> </ul> <p>You can talk to your work coach about these roles too.</p> <hr> <% current_scr...
<|file_sep|>app/views/scrapbooks/show.html.erb.diff original: updated: <hr> <|file_sep|>app/views/scrapbooks/show.html.erb.diff original: <hr> updated: <|file_sep|>original/app/views/scrapbooks/show.html.erb <h2 class="heading-xlarge">Your saved roles</h2> <p>Now, you can use this information to:</p> <...
2661ae683866b9dab26a6810b5ea6132338516d8
app/views/scrapbooks/show.html.erb
app/views/scrapbooks/show.html.erb
HTML+ERB
<|file_sep|>original/www/autotest/tests/bridge.tests.js * specific language governing permissions and limitations * under the License. * */ describe('Bridge', function() { if (cordova.platformId == 'android') { it("bridge.spec.1 should reject bridge from iframe with data: URL", function() { ...
* specific language governing permissions and limitations * under the License. * */ describe('Bridge', function() { if (cordova.platformId == 'android') { it("bridge.spec.1 should reject bridge from iframe with data: URL", function() { var ifr = document.createElement('iframe'); ...
<|file_sep|>original/www/autotest/tests/bridge.tests.js * specific language governing permissions and limitations * under the License. * */ describe('Bridge', function() { if (cordova.platformId == 'android') { it("bridge.spec.1 should reject bridge from iframe with data: URL", function() { ...
d84f0a56b4c0827e1fc296b400e5170b98518496
www/autotest/tests/bridge.tests.js
www/autotest/tests/bridge.tests.js
JavaScript
<|file_sep|>original/src/Chimera.Extensions.Logging.Log4Net/project.json "projectUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net", "licenseUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net/blob/master/LICENSE", "iconUrl": "https://raw.githubusercontent.com/Roa...
"projectUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net", "licenseUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net/blob/master/LICENSE", "iconUrl": "https://raw.githubusercontent.com/RoamingLost/Chimera.Extensions.Logging.Log4Net/master/icon.png", "reposi...
<|file_sep|>original/src/Chimera.Extensions.Logging.Log4Net/project.json "projectUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net", "licenseUrl": "https://github.com/RoamingLost/Chimera.Extensions.Logging.Log4Net/blob/master/LICENSE", "iconUrl": "https://raw.githubusercontent.com/Roa...
8199c03918549fcda7a50642b250766e17c67428
src/Chimera.Extensions.Logging.Log4Net/project.json
src/Chimera.Extensions.Logging.Log4Net/project.json
JSON
<|file_sep|>original/security/nss/macbuild/NSSCommon.h /* Defines common to all versions of NSS */ #define NSPR20 1 #define MP_API_COMPATIBLE 1 <|file_sep|>current/security/nss/macbuild/NSSCommon.h /* Defines common to all versions of NSS */ #define NSPR20 1 #define MP_API_COMPATIBLE 1 <|file_sep|>updated/security/...
/* Defines common to all versions of NSS */ #define NSPR20 1 #define MP_API_COMPATIBLE 1 #define NSS_3_4_CODE 1 /* Remove this when we start building NSS 4.0 by default */
<|file_sep|>original/security/nss/macbuild/NSSCommon.h /* Defines common to all versions of NSS */ #define NSPR20 1 #define MP_API_COMPATIBLE 1 <|file_sep|>current/security/nss/macbuild/NSSCommon.h /* Defines common to all versions of NSS */ #define NSPR20 1 #define MP_API_COMPATIBLE 1 <|file_sep|>updated/security/...
59c2b1f63b7c5756ff95538ef2277fd9262ee8a4
security/nss/macbuild/NSSCommon.h
security/nss/macbuild/NSSCommon.h
C
<|file_sep|>original/lib/tasks/testing.rake require 'rake' begin require 'rspec/core/rake_task' task(:spec).clear RSpec::Core::RakeTask.new(spec: ['db:create', 'db:test:prepare']) do |t| t.verbose = false end rescue LoadError end <|file_sep|>current/lib/tasks/testing.rake require 'rake' begin require 'rsp...
require 'rake' begin require 'rspec/core/rake_task' task(:spec).clear RSpec::Core::RakeTask.new(spec: ['db:create', 'db:test:prepare']) do |t| t.verbose = false end rescue LoadError end task :static do system('script/check_static') end task default: [:static, :spec]
<|file_sep|>original/lib/tasks/testing.rake require 'rake' begin require 'rspec/core/rake_task' task(:spec).clear RSpec::Core::RakeTask.new(spec: ['db:create', 'db:test:prepare']) do |t| t.verbose = false end rescue LoadError end <|file_sep|>current/lib/tasks/testing.rake require 'rake' begin require 'rsp...
8d237cc2ee87c3674d34668060a93f7b075080ba
lib/tasks/testing.rake
lib/tasks/testing.rake
Ruby
<|file_sep|>original/doc/release/1.10.3-notes.rst <|file_sep|>current/doc/release/1.10.3-notes.rst <|file_sep|>updated/doc/release/1.10.3-notes.rst
NumPy 1.10.3 Release Notes ************************** This release is a bugfix release motivated by a segfault regression. Issues Fixed ============ * gh-6922 BUG: numpy.recarray.sort segfaults on Windows Merged PRs ========== The following PRs have been merged into 1.10.3. When the PR is a backport, the PR number...
<|file_sep|>original/doc/release/1.10.3-notes.rst <|file_sep|>current/doc/release/1.10.3-notes.rst <|file_sep|>updated/doc/release/1.10.3-notes.rst NumPy 1.10.3 Release Notes ************************** This release is a bugfix release motivated by a segfault regression. Issues Fixed ============ * gh-6922 BUG: num...
346c700ab16da1deaf95e9f0331ffd76fb2162fa
doc/release/1.10.3-notes.rst
doc/release/1.10.3-notes.rst
reStructuredText
<|file_sep|>original/app.rb require 'sinatra' require 'net/http' set :server, 'thin' base_url = '' get '/' do Net::HTTP.post_form(URI.parse( 'https://api.justyo.co/yoall/'), {'api_token' => ENV['YO_KEY']} ) end <|file_sep|>current/app.rb require 'sinatra' require 'net/http' set :server, 'thi...
require 'sinatra' require 'net/http' set :server, 'thin' base_url = '' get '/' do Net::HTTP.post_form(URI.parse( 'https://api.justyo.co/yoall/'), { 'api_token' => ENV['YO_KEY'], 'link' => 'http://yotext.co/show/?text=COFFEE TIME?' } ) end
<|file_sep|>original/app.rb require 'sinatra' require 'net/http' set :server, 'thin' base_url = '' get '/' do Net::HTTP.post_form(URI.parse( 'https://api.justyo.co/yoall/'), {'api_token' => ENV['YO_KEY']} ) end <|file_sep|>current/app.rb require 'sinatra' require 'net/http' set :server, 'thi...
02234c21a796b41c0109772134d3a2133bfae615
app.rb
app.rb
Ruby
<|file_sep|>original/storage/src/tests/common/CMakeLists.txt # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. vespa_add_library(storage_testcommon TEST SOURCES dummystoragelink.cpp testhelper.cpp metricstest.cpp storagelinktest.cpp ...
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. vespa_add_library(storage_testcommon TEST SOURCES dummystoragelink.cpp testhelper.cpp metricstest.cpp storagelinktest.cpp teststorageapp.cpp AFTER storage_storageconfig st...
<|file_sep|>original/storage/src/tests/common/CMakeLists.txt # Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. vespa_add_library(storage_testcommon TEST SOURCES dummystoragelink.cpp testhelper.cpp metricstest.cpp storagelinktest.cpp ...
deb300052ad36ade631b18348f478818f8406c74
storage/src/tests/common/CMakeLists.txt
storage/src/tests/common/CMakeLists.txt
Text
<|file_sep|>original/gradle.properties VERSION_NAME=5.9.0 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
VERSION_NAME=5.9.1-SNAPSHOT POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=scm:git:http://github.com/mixpan...
<|file_sep|>original/gradle.properties VERSION_NAME=5.9.0 POM_PACKAGING=aar GROUP=com.mixpanel.android POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/ POM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_URL=https://github.com/mixpanel/mixpanel-android POM_SCM_CONNECTION=sc...
f35246eb5fa071216770613ef270a815a9efe2d8
gradle.properties
gradle.properties
INI
<|file_sep|>original/common/models/company.json "properties": { "name": { "type": "string", "required": true }, "url": { "type": "string" }, "logo": { "type": "string" } }, "validations": [], "relations": { "reviews": { "type": "hasMany", "model": ...
"properties": { "name": { "type": "string", "required": true }, "url": { "type": "string" }, "logo": { "type": "string" }, "description": { "type": "string" } }, "validations": [], "relations": { "reviews": { "type": "hasMany", "model...
<|file_sep|>original/common/models/company.json "properties": { "name": { "type": "string", "required": true }, "url": { "type": "string" }, "logo": { "type": "string" } }, "validations": [], "relations": { "reviews": { "type": "hasMany", "model": ...
9a48a5709f8bfb1cf49476fcd015600cbe147026
common/models/company.json
common/models/company.json
JSON
<|file_sep|>original/assignments/ruby/grains/example.rb class Grains def square(number) 2**(number-1) end def total (1..64).inject(0) do |sum, number| sum + square(number) end end end <|file_sep|>current/assignments/ruby/grains/example.rb class Grains def square(number) 2**(number-1)...
class Grains def square(number) 2**(number-1) end def total @total ||= (1..64).inject(0) do |sum, number| sum + square(number) end end end
<|file_sep|>original/assignments/ruby/grains/example.rb class Grains def square(number) 2**(number-1) end def total (1..64).inject(0) do |sum, number| sum + square(number) end end end <|file_sep|>current/assignments/ruby/grains/example.rb class Grains def square(number) 2**(number-1)...
5ccd80f766ccd59705279bd065a42f6b413d6d5b
assignments/ruby/grains/example.rb
assignments/ruby/grains/example.rb
Ruby
<|file_sep|>README.md.diff original: ============================ updated: <|file_sep|>original/README.md ============================ django-bootstrap-breadcrumbs ============================ [![Version](https://img.shields.io/pypi/v/django-bootstrap-breadcrumbs.svg)](https://pypi.python.org/pypi/django-bootstrap-br...
django-bootstrap-breadcrumbs ============================ [![Version](https://img.shields.io/pypi/v/django-bootstrap-breadcrumbs.svg)](https://pypi.python.org/pypi/django-bootstrap-breadcrumbs) See https://django-bootstrap-breadcrumbs.readthedocs.org/en/latest/ Testing ======= Included Dockerfile allows to run tes...
<|file_sep|>README.md.diff original: ============================ updated: <|file_sep|>original/README.md ============================ django-bootstrap-breadcrumbs ============================ [![Version](https://img.shields.io/pypi/v/django-bootstrap-breadcrumbs.svg)](https://pypi.python.org/pypi/django-bootstrap-br...
121019c741815c2b194565067318620892fd050e
README.md
README.md
Markdown
<|file_sep|>original/bigquery/snippets/load_from_file.rb require "google/cloud/bigquery" def load_from_file(dataset_id = "your_dataset_id", file_path = "path/to/file.csv") bigquery = Google::Cloud::Bigquery.new dataset = bigquery.dataset dataset_id table_id = "new_table_id" load_job = da...
# limitations under the License. # [START bigquery_load_from_file] require "google/cloud/bigquery" def load_from_file(dataset_id = "your_dataset_id", file_path = "path/to/file.csv") bigquery = Google::Cloud::Bigquery.new dataset = bigquery.dataset dataset_id table_id = "new_table_id" loa...
<|file_sep|>original/bigquery/snippets/load_from_file.rb require "google/cloud/bigquery" def load_from_file(dataset_id = "your_dataset_id", file_path = "path/to/file.csv") bigquery = Google::Cloud::Bigquery.new dataset = bigquery.dataset dataset_id table_id = "new_table_id" load_job = da...
4ba21d8534173b45b42995c4dac73914f1de6140
bigquery/snippets/load_from_file.rb
bigquery/snippets/load_from_file.rb
Ruby
<|file_sep|>original/docs/shared/tpl/googleanalytics.html [%- IF siteconfig.googleanalytics %] [%# https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs %] <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i...
[%- IF siteconfig.googleanalytics %] [%# https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs %] <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.create...
<|file_sep|>original/docs/shared/tpl/googleanalytics.html [%- IF siteconfig.googleanalytics %] [%# https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs %] <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i...
4a56bdc474ed2d7370af71a00a7883a0bd5c02dd
docs/shared/tpl/googleanalytics.html
docs/shared/tpl/googleanalytics.html
HTML
<|file_sep|>original/.pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.7 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: flake8 <|file_sep|>current/.pre-commit-config.yaml repos: - repo: https://g...
repos: - repo: https://github.com/ambv/black rev: 19.3b0 hooks: - id: black language_version: python3.7 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: flake8
<|file_sep|>original/.pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: stable hooks: - id: black language_version: python3.7 - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.0.0 hooks: - id: flake8 <|file_sep|>current/.pre-commit-config.yaml repos: - repo: https://g...
091e20dea0280c3a08393919d640356d29a50e22
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>original/HHKL/Classes/Business/Factories/ViewModelAccessoryFactory.swift protocol ViewModelAccessoryFactoryProtocol { var requestManager: RxMoyaProvider<MatchesNetworkTarget> { get } var dayParser: DayParser { get } } class ViewModelAccessoryFactory: ViewModelAccessoryFactoryProtocol { var re...
protocol ViewModelAccessoryFactoryProtocol { var requestManager: RxMoyaProvider<MatchesNetworkTarget> { get } var dayParser: DayParser { get } } class ViewModelAccessoryFactory: ViewModelAccessoryFactoryProtocol { var requestManager: RxMoyaProvider<MatchesNetworkTarget> { let networkActivityIndic...
<|file_sep|>original/HHKL/Classes/Business/Factories/ViewModelAccessoryFactory.swift protocol ViewModelAccessoryFactoryProtocol { var requestManager: RxMoyaProvider<MatchesNetworkTarget> { get } var dayParser: DayParser { get } } class ViewModelAccessoryFactory: ViewModelAccessoryFactoryProtocol { var re...
95c4ac3250e927ababbcb1e088ea374520a71c0e
HHKL/Classes/Business/Factories/ViewModelAccessoryFactory.swift
HHKL/Classes/Business/Factories/ViewModelAccessoryFactory.swift
Swift
<|file_sep|>original/.travis.yml sudo: false addons: apt: sources: - avsm packages: - ocaml - ocaml-native-compilers - opam script: bash -ex .travis-ci.sh env: - OPAM_SWITCH=system - OPAM_SWITCH=3.12.1 - OPAM_SWITCH=4.01.0 - OPAM_SWITCH=4.02.2 # TODO: re-enable if possible, or just dr...
language: c sudo: false addons: apt: sources: - avsm packages: - ocaml - ocaml-native-compilers - opam script: bash -ex .travis-ci.sh env: - OPAM_SWITCH=system - OPAM_SWITCH=3.12.1 - OPAM_SWITCH=4.01.0 - OPAM_SWITCH=4.02.2 - OPAM_SWITCH=4.03.0 cache: directories: - $HOME/.opam
<|file_sep|>original/.travis.yml sudo: false addons: apt: sources: - avsm packages: - ocaml - ocaml-native-compilers - opam script: bash -ex .travis-ci.sh env: - OPAM_SWITCH=system - OPAM_SWITCH=3.12.1 - OPAM_SWITCH=4.01.0 - OPAM_SWITCH=4.02.2 # TODO: re-enable if possible, or just dr...
6d1336e2b47be2e3f9cb0540a06bcc3e5dd1cf04
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CONTRIBUTING.md # Contributor Guide ## Code Coverage Checks (local) Make sure any pull requests have adequate unit test code coverage. You can check this without waiting for travis and codecov.io to do their thing by doing this: ```bash > sbt coverage tut test ``` And then open up the file `ta...
# Contributor Guide ## Code Coverage Checks (local) Make sure any pull requests have adequate unit test code coverage. You can check this without waiting for travis and codecov.io to do their thing by doing this: ```bash > sbt coverage test ``` And then open up the file `target/scala-2.11/scoverage-report/index.ht...
<|file_sep|>original/CONTRIBUTING.md # Contributor Guide ## Code Coverage Checks (local) Make sure any pull requests have adequate unit test code coverage. You can check this without waiting for travis and codecov.io to do their thing by doing this: ```bash > sbt coverage tut test ``` And then open up the file `ta...
7ff62dee53ec7b669490b2a2c7b649a355fe92fd
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/dartbase_console_client/pubspec.yaml name: dartbase_console_client version: 0.0.1 description: A command line client for testing Dartbase Jeff author: Brian G. <mixolyde@gmail.com> #homepage: https://www.example.com environment: sdk: '>=1.0.0 <2.0.0' dependencies: args: any quiver: any re...
name: dartbase_console_client version: 0.0.1 description: A command line client for testing Dartbase Jeff author: Brian G. <mixolyde@gmail.com> #homepage: https://www.example.com environment: sdk: '>=1.0.0 <2.0.0' dependencies: args: any quiver: any redstone: any console: any dartbase_server: path: .....
<|file_sep|>original/dartbase_console_client/pubspec.yaml name: dartbase_console_client version: 0.0.1 description: A command line client for testing Dartbase Jeff author: Brian G. <mixolyde@gmail.com> #homepage: https://www.example.com environment: sdk: '>=1.0.0 <2.0.0' dependencies: args: any quiver: any re...
553d15eb98631249c45eeb8d187aff4685eb701c
dartbase_console_client/pubspec.yaml
dartbase_console_client/pubspec.yaml
YAML
<|file_sep|>example_config.py.diff original: 'REPO_NAME') updated: 'REPO_NAME', 'REPO_OWNER_ACCESS_TOKEN') <|file_sep|>original/example_config.py class Config(object): DEBUG = False CSRF_ENABLED = True GITHUB_CLIENT_ID = 'replace-me' GITHUB_SECRET ...
class Config(object): DEBUG = False CSRF_ENABLED = True GITHUB_CLIENT_ID = 'replace-me' GITHUB_SECRET = 'replace-me' HEROKU = False SECRET_KEY = 'not-a-good-value' # Details of the repo where all articles are stored. The GITHUB_CLIENT_ID # and GITHUB_SECRET should allow full-access to ...
<|file_sep|>example_config.py.diff original: 'REPO_NAME') updated: 'REPO_NAME', 'REPO_OWNER_ACCESS_TOKEN') <|file_sep|>original/example_config.py class Config(object): DEBUG = False CSRF_ENABLED = True GITHUB_CLIENT_ID = 'replace-me' GITHUB_SECRET ...
0b69f5882f251162e7898b9eadaa6874b76215d7
example_config.py
example_config.py
Python
<|file_sep|>gumbo/init.lua.diff original: local file, err = io.open(filename) updated: local file, openerr = io.open(filename) <|file_sep|>gumbo/init.lua.diff original: local text = file:read("*a") updated: local text, readerr = file:read("*a") <|file_sep|>gumbo/init.lua.diff original: r...
else gumbo = require "cgumbo" end end function gumbo.parse_file(filename, tab_stop) local file, openerr = io.open(filename) if file then local text, readerr = file:read("*a") file:close() if text then return gumbo.parse(text, tab_stop) else ...
<|file_sep|>gumbo/init.lua.diff original: local file, err = io.open(filename) updated: local file, openerr = io.open(filename) <|file_sep|>gumbo/init.lua.diff original: local text = file:read("*a") updated: local text, readerr = file:read("*a") <|file_sep|>gumbo/init.lua.diff original: r...
c44711bcf216fbf75966860304e40a7c9f946aab
gumbo/init.lua
gumbo/init.lua
Lua
<|file_sep|>original/lib/common.sh clean_npm() { status "Cleaning up node-gyp and npm artifacts" rm -rf "$build_dir/.node-gyp" rm -rf "$build_dir/.npm" } clean_cache() { info "Cleaning previous cache" rm -rf "$cache_dir/node_modules" # (for apps still on the older caching strategy) rm -rf "$cache_dir/node"...
clean_npm() { status "Cleaning up node-gyp and npm artifacts" rm -rf "$build_dir/.node-gyp" rm -rf "$build_dir/.npm" } clean_cache() { status "Cleaning previous cache" rm -rf "$cache_dir/node_modules" # (for apps still on the older caching strategy) rm -rf "$cache_dir/node" } create_cache() { status "Ca...
<|file_sep|>original/lib/common.sh clean_npm() { status "Cleaning up node-gyp and npm artifacts" rm -rf "$build_dir/.node-gyp" rm -rf "$build_dir/.npm" } clean_cache() { info "Cleaning previous cache" rm -rf "$cache_dir/node_modules" # (for apps still on the older caching strategy) rm -rf "$cache_dir/node"...
43b14544a165abe121053a451e531a87ff1d2297
lib/common.sh
lib/common.sh
Shell
<|file_sep|>original/crm_job_position/views/crm_job_position_view.xml <field name="name">Job positions</field> <field name="res_model">crm.job_position</field> <field name="view_type">form</field> <field name="view_mode">tree</field> </record> <record id="crm_job_position_tree_view" model="ir.ui.view">...
<field name="name">Job positions</field> <field name="res_model">crm.job_position</field> <field name="view_type">form</field> <field name="view_mode">tree</field> </record> <record id="crm_job_position_tree_view" model="ir.ui.view"> <field name="name">CRM job_position tree</field> <field name=...
<|file_sep|>original/crm_job_position/views/crm_job_position_view.xml <field name="name">Job positions</field> <field name="res_model">crm.job_position</field> <field name="view_type">form</field> <field name="view_mode">tree</field> </record> <record id="crm_job_position_tree_view" model="ir.ui.view">...
8bf225ad58b069cea9fb5edf51f91c68d42964ee
crm_job_position/views/crm_job_position_view.xml
crm_job_position/views/crm_job_position_view.xml
XML
<|file_sep|>original/spec/elasticsearch/motd_product_spec.rb require 'spec_helper' # Files that should be installed describe file('/etc/product') do it { should be_file } it { should contain "Base Image: #{attr[:base_name]} #{attr[:base_version]}" } end <|file_sep|>current/spec/elasticsearch/motd_product_spec.r...
require 'spec_helper' # Files that should be installed describe file('/etc/product') do it { should be_file } it { should contain "Base Image: #{property[:base_name]} #{property[:base_version]}" } end
<|file_sep|>original/spec/elasticsearch/motd_product_spec.rb require 'spec_helper' # Files that should be installed describe file('/etc/product') do it { should be_file } it { should contain "Base Image: #{attr[:base_name]} #{attr[:base_version]}" } end <|file_sep|>current/spec/elasticsearch/motd_product_spec.r...
32b1a39719cc981051e37ee853e5f6a60423cffa
spec/elasticsearch/motd_product_spec.rb
spec/elasticsearch/motd_product_spec.rb
Ruby
<|file_sep|>k8s/canary.yaml.diff original: name: webapp updated: name: canary <|file_sep|>original/k8s/canary.yaml env: - name: PRODUCTION value: 'true' - name: SENTRY_DSN valueFrom: ...
env: - name: PRODUCTION value: 'true' - name: SENTRY_DSN valueFrom: secretKeyRef: name: canary key: sentry - name: SENTRY_API_TOKEN valueFro...
<|file_sep|>k8s/canary.yaml.diff original: name: webapp updated: name: canary <|file_sep|>original/k8s/canary.yaml env: - name: PRODUCTION value: 'true' - name: SENTRY_DSN valueFrom: ...
21ec41aab79fd4edaf36d69b4e7c8a89c9fd53d0
k8s/canary.yaml
k8s/canary.yaml
YAML
<|file_sep|>original/test/test_compile.js }); exe.on('ready', function(scripts) { var filenames = Object.keys(scripts); t.equal(filenames.length, 1); var stats = fs.statSync(filenames[0]); t.ok(stats.size > 1); var pathnames = filenames.map(function(filename) { return scripts[filename];...
exe.on('ready', function(scripts) { var filenames = Object.keys(scripts); t.equal(filenames.length, 1); var stats = fs.statSync(filenames[0]); t.ok(stats.size > 1); var pathnames = filenames.map(function(filename) { return scripts[filename]; }); t.equal(pathnames.length, 1); t...
<|file_sep|>original/test/test_compile.js }); exe.on('ready', function(scripts) { var filenames = Object.keys(scripts); t.equal(filenames.length, 1); var stats = fs.statSync(filenames[0]); t.ok(stats.size > 1); var pathnames = filenames.map(function(filename) { return scripts[filename];...
a126b71e725984443088c6e900c2d157210c496c
test/test_compile.js
test/test_compile.js
JavaScript
<|file_sep|>src/test/java/jfdi/test/ui/TestSearch.java.diff original: assertEquals(1, main.getImportantListSize()); updated: assertEquals(4, main.getImportantListSize()); <|file_sep|>original/src/test/java/jfdi/test/ui/TestSearch.java main.assertResponseMessage(String.format(Constants.CMD_SUCCES...
main.assertResponseMessage(String.format(Constants.CMD_SUCCESS_SEARCH_1, "[test]")); assertEquals(4, main.getImportantListSize()); } /* * Test a simple "search" command with multiple keywords */ public void testMultipleSearchDone() { main.execute("search testing 2"); ...
<|file_sep|>src/test/java/jfdi/test/ui/TestSearch.java.diff original: assertEquals(1, main.getImportantListSize()); updated: assertEquals(4, main.getImportantListSize()); <|file_sep|>original/src/test/java/jfdi/test/ui/TestSearch.java main.assertResponseMessage(String.format(Constants.CMD_SUCCES...
3c8e778da562063012596638fbe42aeeae5fa50a
src/test/java/jfdi/test/ui/TestSearch.java
src/test/java/jfdi/test/ui/TestSearch.java
Java