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|>css/style.css.diff original: background: rgba(8, 128, 192, 1); updated: background: #0880C0; <|file_sep|>css/style.css.diff original: updated: padding: 15px 0; <|file_sep|>css/style.css.diff original: padding: 0; updated: <|file_sep|>original/css/style.css } .navbar-tabs { height: 50px...
} .navbar-tabs { height: 50px; display: inline-block; list-style-type: none; padding: 15px 0; margin: 0; } .navbar-tabs li { display: inline; font-family: 'Source Sans Pro', Helvetica; font-weight: 300; font-size: 15px; padding: 15px 11px; } .navbar-tabs li:hover { background...
<|file_sep|>css/style.css.diff original: background: rgba(8, 128, 192, 1); updated: background: #0880C0; <|file_sep|>css/style.css.diff original: updated: padding: 15px 0; <|file_sep|>css/style.css.diff original: padding: 0; updated: <|file_sep|>original/css/style.css } .navbar-tabs { height: 50px...
37d73f2c8035ddd63ad8eae975ee0368c4c88ccd
css/style.css
css/style.css
CSS
<|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml.diff original: updated: function gate_hook { bash -xe $GATE_SCRIPT_DIR/devstack-vm-gate.sh && \ $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE } <|file_sep|>modules/openstack_pro...
$BASE/new/pbr/tools/integration.sh $PROJECTS $BASE } function post_test_hook { cp /home/jenkins/.pip/pip.log ./pip.log } export -f gate_hook export -f post_test_hook cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack...
<|file_sep|>modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml.diff original: updated: function gate_hook { bash -xe $GATE_SCRIPT_DIR/devstack-vm-gate.sh && \ $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE } <|file_sep|>modules/openstack_pro...
63ec3b513a42fb8a944687c3939304df5d9737a1
modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml
modules/openstack_project/files/jenkins_job_builder/config/pbr.yaml
YAML
<|file_sep|>original/README.md # Sauce Labs with DRA ### Modified Sauce Labs extension with DRA support for demo purposes. Contains extra functionality for DRA to demo submitting the Sauce job data to their analytics engine. <|file_sep|>current/README.md # Sauce Labs with DRA ### Modified Sauce Labs extension with DRA ...
# DRA Check & Deploy job ### A DRA enabled job which can make decisions on environment to ensure a successful deployment Contains extra functionality for DRA to demo submitting the deploy job data to their analytics engine. .
<|file_sep|>original/README.md # Sauce Labs with DRA ### Modified Sauce Labs extension with DRA support for demo purposes. Contains extra functionality for DRA to demo submitting the Sauce job data to their analytics engine. <|file_sep|>current/README.md # Sauce Labs with DRA ### Modified Sauce Labs extension with DRA ...
7862d6147b6a07b9b3b8ad8fb93461431b7dbc24
README.md
README.md
Markdown
<|file_sep|>original/_scripts/test.sh #!/bin/bash set -x timeout 30s bundle exec htmlproof _site --only-4xx --external_only --disable-external --check-html --check-favicon --href-ignore 'https?:\/\/kjaermaxi\.me' <|file_sep|>current/_scripts/test.sh #!/bin/bash set -x timeout 30s bundle exec htmlproof _site --only-4x...
#!/bin/bash set -x timeout 30s bundle exec htmlproofer ./_site --check-html --check-favicon --allow-hash-href --external_only --only-4xx --http-status-ignore 429
<|file_sep|>original/_scripts/test.sh #!/bin/bash set -x timeout 30s bundle exec htmlproof _site --only-4xx --external_only --disable-external --check-html --check-favicon --href-ignore 'https?:\/\/kjaermaxi\.me' <|file_sep|>current/_scripts/test.sh #!/bin/bash set -x timeout 30s bundle exec htmlproof _site --only-4x...
cf63c9b5d2f2a2ef52c3b24273dda0b8a93bd9b8
_scripts/test.sh
_scripts/test.sh
Shell
<|file_sep|>metadata/org.ligi.passandroid.txt.diff original: prebuild=sed -i '/play_services/d' build.gradle && sed -i '/android-sdk-manager/d' build.gradle updated: <|file_sep|>metadata/org.ligi.passandroid.txt.diff original: updated: prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/andr...
Auto Name:"PassAndroid" Summary:View Passbook files Description: Displays Passbook (*.pkpass) files & shows the Barcode (QR, PDF417 and AZTEC format). It can be used also when offline. . Repo Type:git Repo:https://github.com/ligi/PassAndroid Build:2.3.1,231 commit=2.3.1 gradle=NoMapsNoAnalyticsForFDroid p...
<|file_sep|>metadata/org.ligi.passandroid.txt.diff original: prebuild=sed -i '/play_services/d' build.gradle && sed -i '/android-sdk-manager/d' build.gradle updated: <|file_sep|>metadata/org.ligi.passandroid.txt.diff original: updated: prebuild=sed -i '/play_services/d' build.gradle && \ sed -i '/andr...
5ecb4853fa33ed66f4c4e9544896638e36e613ca
metadata/org.ligi.passandroid.txt
metadata/org.ligi.passandroid.txt
Text
<|file_sep|>original/addons/crm/__terp__.py assignment, resolution and notification. Tiny ERP ensures that all cases are successfly tracked by users, customers and suppliers. It can automatically send reminders, escalate the request, trigger specific methods and lots of others actions based on your enterprise own rule...
assignment, resolution and notification. Tiny ERP ensures that all cases are successfly tracked by users, customers and suppliers. It can automatically send reminders, escalate the request, trigger specific methods and lots of others actions based on your enterprise own rules. The greatest thing about this system is ...
<|file_sep|>original/addons/crm/__terp__.py assignment, resolution and notification. Tiny ERP ensures that all cases are successfly tracked by users, customers and suppliers. It can automatically send reminders, escalate the request, trigger specific methods and lots of others actions based on your enterprise own rule...
0c6930f1930dbba66ba928dab4ed195e6b6bf2cc
addons/crm/__terp__.py
addons/crm/__terp__.py
Python
<|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: attr_accessor :object updated: attr_accessor :object, :extras <|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: updated: self.extras = [] <|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: extra_cl...
if user.has_role? :admin_user can :access, :admin can :manage, AuthCore::User end can :update, user can :destroy, AuthCore::UserSession end private def anonymous can :manage, AuthCore::UserSession can :create, AuthCore::User extras.each do |extra...
<|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: attr_accessor :object updated: attr_accessor :object, :extras <|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: updated: self.extras = [] <|file_sep|>app/models/brewery/auth_core/ability.rb.diff original: extra_cl...
c6dceb743464bebe5c1a7f018187191f2f012f8e
app/models/brewery/auth_core/ability.rb
app/models/brewery/auth_core/ability.rb
Ruby
<|file_sep|>.travis.yml.diff original: - 5.6 updated: <|file_sep|>original/.travis.yml php: - 5.5 - 5.6 - 7 cache: directories: - $HOME/.composer/cache env: - SYMFONY_VERSION=~2.7 - SYMFONY_VERSION=~3.0 install: - composer require symfony/console:${SYMFONY_VERSION} --no-update - composer requ...
php: - 5.5 - 7 cache: directories: - $HOME/.composer/cache env: - SYMFONY_VERSION=2.7.* - SYMFONY_VERSION=2.8.* - SYMFONY_VERSION=3.0.* install: - composer require symfony/console:${SYMFONY_VERSION} --no-update - composer require symfony/event-dispatcher:${SYMFONY_VERSION} --no-update - compos...
<|file_sep|>.travis.yml.diff original: - 5.6 updated: <|file_sep|>original/.travis.yml php: - 5.5 - 5.6 - 7 cache: directories: - $HOME/.composer/cache env: - SYMFONY_VERSION=~2.7 - SYMFONY_VERSION=~3.0 install: - composer require symfony/console:${SYMFONY_VERSION} --no-update - composer requ...
8423da6ef5a7d9482f262752eb43aedd673481b0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/scss/_icons.scss [data-icon] { display: inline-block; font: normal normal normal #{settings(font-size-base)}/1.4; font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-fo...
font: normal normal normal #{settings(font-size-base)}/1.4; font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transfor...
<|file_sep|>original/scss/_icons.scss [data-icon] { display: inline-block; font: normal normal normal #{settings(font-size-base)}/1.4; font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-fo...
a6c9755cefe2e1161c225a356d3c255f71f750d6
scss/_icons.scss
scss/_icons.scss
SCSS
<|file_sep|>lib/html_mockup/release/finalizers/dir.rb.diff original: class Dir < Base def initialize(options = {}) @options = options end updated: class Dir < Base <|file_sep|>lib/html_mockup/release/finalizers/dir.rb.diff original: @options.update(options) updated: if options ...
module HtmlMockup::Release::Finalizers class Dir < Base # @option options :prefix Prefix to put before the version (default = "html") def call(release, options = {}) if options options = @options.dup.update(options) else options = @options end name = [(options[:pre...
<|file_sep|>lib/html_mockup/release/finalizers/dir.rb.diff original: class Dir < Base def initialize(options = {}) @options = options end updated: class Dir < Base <|file_sep|>lib/html_mockup/release/finalizers/dir.rb.diff original: @options.update(options) updated: if options ...
0f5e8d9bfad5e3aeaaf4a1153f411886cb8e5b39
lib/html_mockup/release/finalizers/dir.rb
lib/html_mockup/release/finalizers/dir.rb
Ruby
<|file_sep|>original/client/app/data/validator/Email.js <|file_sep|>current/client/app/data/validator/Email.js <|file_sep|>updated/client/app/data/validator/Email.js
Ext.define('Starter.data.validator.Email', { override: 'Ext.data.validator.Email', validate: function(value) { if (value === undefined || value === null || Ext.String.trim(value).length === 0) { return true; } var matcher = this.getMatcher(), result = matcher && matcher.test(value); return result ? result...
<|file_sep|>original/client/app/data/validator/Email.js <|file_sep|>current/client/app/data/validator/Email.js <|file_sep|>updated/client/app/data/validator/Email.js Ext.define('Starter.data.validator.Email', { override: 'Ext.data.validator.Email', validate: function(value) { if (value === undefined || value ===...
b85b349730792bfc7721d343467a831a7304e1a8
client/app/data/validator/Email.js
client/app/data/validator/Email.js
JavaScript
<|file_sep|>original/spec/controllers/blogs_controller_spec.rb <|file_sep|>current/spec/controllers/blogs_controller_spec.rb <|file_sep|>updated/spec/controllers/blogs_controller_spec.rb
require 'spec_helper' describe BlogsController do let(:user) { FactoryGirl.create :user } before :each do @request.env["devise.mapping"] = Devise.mappings[:users] sign_in user end describe "POST 'create'" do before :each do post 'create', :club_id => user.clubs.first.id end it "ret...
<|file_sep|>original/spec/controllers/blogs_controller_spec.rb <|file_sep|>current/spec/controllers/blogs_controller_spec.rb <|file_sep|>updated/spec/controllers/blogs_controller_spec.rb require 'spec_helper' describe BlogsController do let(:user) { FactoryGirl.create :user } before :each do @request.env["d...
84160208fc67f9c99a32a97e3682e9016a7bcf94
spec/controllers/blogs_controller_spec.rb
spec/controllers/blogs_controller_spec.rb
Ruby
<|file_sep|>useless_passport_validator/ulibrary.py.diff original: """Document constants""" countries = ["Mordor", "Gondor", "Lorien", "Shire"] genders = ["Male", "Female"] cities = { 'Mordor': 'Minas Morgul,Barad Dur', 'Gondor': 'Minas Tirith,Isengard,Osgiliath', 'Lorien': 'Lorien', 'Shire': 'Hobbiton,W...
global genders genders = ["Male", "Female"] global cities cities = { 'Mordor': 'Minas Morgul,Barad Dur', 'Gondor': 'Minas Tirith,Isengard,Osgiliath', 'Lorien': 'Lorien', 'Shire': 'Hobbiton,Waymeet,Frogmorton,Tuckborough' } global purpose purpose = ["Visit", "T...
<|file_sep|>useless_passport_validator/ulibrary.py.diff original: """Document constants""" countries = ["Mordor", "Gondor", "Lorien", "Shire"] genders = ["Male", "Female"] cities = { 'Mordor': 'Minas Morgul,Barad Dur', 'Gondor': 'Minas Tirith,Isengard,Osgiliath', 'Lorien': 'Lorien', 'Shire': 'Hobbiton,W...
f17a70980f1964e40a22fad5e54f4cafcdcf9d52
useless_passport_validator/ulibrary.py
useless_passport_validator/ulibrary.py
Python
<|file_sep|>original/test/Sanitizers/tsan-ignores-arc-locks.swift <|file_sep|>current/test/Sanitizers/tsan-ignores-arc-locks.swift <|file_sep|>updated/test/Sanitizers/tsan-ignores-arc-locks.swift
// RUN: %target-build-swift -sanitize=thread %s -o %t_binary // RUN: TSAN_OPTIONS=ignore_interceptors_accesses=1:halt_on_error=1 %t_binary // REQUIRES: executable_test // REQUIRES: CPU=x86_64 // REQUIRES: tsan_runtime // REQUIRES: objc_interop // Check that TSan ignores the retain count update locks in the runtime. i...
<|file_sep|>original/test/Sanitizers/tsan-ignores-arc-locks.swift <|file_sep|>current/test/Sanitizers/tsan-ignores-arc-locks.swift <|file_sep|>updated/test/Sanitizers/tsan-ignores-arc-locks.swift // RUN: %target-build-swift -sanitize=thread %s -o %t_binary // RUN: TSAN_OPTIONS=ignore_interceptors_accesses=1:halt_on_e...
d78b45a61a3c1af15e87f927cd52de2afcd7a6b0
test/Sanitizers/tsan-ignores-arc-locks.swift
test/Sanitizers/tsan-ignores-arc-locks.swift
Swift
<|file_sep|>original/api_test/upgrade_test_db.sh #!/bin/bash set -u set -o errexit cd `dirname $0`/../ echo "setting up test database" ./script/run_with_carton.sh ./script/mediawords_psql_wrapper.pl --dump-env-commands --db-label test > /tmp/test_db_$$ source /tmp/test_db_$$ echo "running pg_restore" pg_restore -...
#!/bin/bash set -u set -o errexit cd `dirname $0`/../ echo "setting up test database" ./script/run_with_carton.sh ./script/mediawords_psql_wrapper.pl --dump-env-commands --db-label test > /tmp/test_db_$$ source /tmp/test_db_$$ echo "running pg_restore" pg_restore --clean -d $PGDATABASE data/db_dumps/cc_blogs_mc_d...
<|file_sep|>original/api_test/upgrade_test_db.sh #!/bin/bash set -u set -o errexit cd `dirname $0`/../ echo "setting up test database" ./script/run_with_carton.sh ./script/mediawords_psql_wrapper.pl --dump-env-commands --db-label test > /tmp/test_db_$$ source /tmp/test_db_$$ echo "running pg_restore" pg_restore -...
6c64adff5b8ec1d50e04f8465cd3a80fbc4eca53
api_test/upgrade_test_db.sh
api_test/upgrade_test_db.sh
Shell
<|file_sep|>original/src/ATPViz/Widget/DataTable.php { $classes = array(); if(isset($this->classFields)) { foreach($this->classFields as $field) { $value = $row[$field]; $method = "get{$field}Class"; if(method_exists($this, $method)) $value = $this->$method($value); $classes[] = str_re...
{ $classes = array(); if(isset($this->classFields)) { foreach($this->classFields as $field) { $value = $row[$field]; $method = "get{$field}Class"; if(method_exists($this, $method)) $value = $this->$method($value); $class = str_replace(array("/", " "), "-", trim("{$field}-{$value}")); ...
<|file_sep|>original/src/ATPViz/Widget/DataTable.php { $classes = array(); if(isset($this->classFields)) { foreach($this->classFields as $field) { $value = $row[$field]; $method = "get{$field}Class"; if(method_exists($this, $method)) $value = $this->$method($value); $classes[] = str_re...
9e4da08475d5909b6d2ad7bfdb592994f2b5fcfa
src/ATPViz/Widget/DataTable.php
src/ATPViz/Widget/DataTable.php
PHP
<|file_sep|>original/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk <|file_sep|>current/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk <|file_sep|>updated/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk
# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk $ # # OpenPOWER HostBoot Project # # Contributors Listed Below - COPYRIGHT 2019 # [+] International Business Machines Corp. # # # Licensed under the Apache License,...
<|file_sep|>original/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk <|file_sep|>current/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk <|file_sep|>updated/src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk # IBM_PROLOG_BEGIN_TAG # This is...
2a709d7aa957a7b3d18dbfaa5c331cd716c79b69
src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk
src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_config_thermal.mk
Makefile
<|file_sep|>original/.pullreview.yml --- rules: ignore: - space_inside_closing_curly_brace_missing - space_inside_opening_curly_brace_missing - space_missing_inside_closing_curly_brace - space_missing_inside_opening_curly_brace - surrounding_space_missing_for_assign <|file_sep|>current/.pullreview...
--- rules: ignore: - space_inside_closing_curly_brace_missing - space_inside_opening_curly_brace_missing - space_missing_inside_closing_curly_brace - space_missing_inside_opening_curly_brace - surrounding_space_missing_for_assign complexity: except: - test/**/*
<|file_sep|>original/.pullreview.yml --- rules: ignore: - space_inside_closing_curly_brace_missing - space_inside_opening_curly_brace_missing - space_missing_inside_closing_curly_brace - space_missing_inside_opening_curly_brace - surrounding_space_missing_for_assign <|file_sep|>current/.pullreview...
1ca64d2e95d5a441904eff033719c13a70c79a68
.pullreview.yml
.pullreview.yml
YAML
<|file_sep|>original/debian/freeze_python_version.sh #!/bin/sh VERSION_FILE="src/leap/mx/_version.py" rm ${VERSION_FILE} echo y | python setup.py freeze_debianver # Add the number of commits after last tag to the version string add_commits=$(git describe | cut -d'-' -f2) rev=$(git describe | cut -d'-' -f3) sed -i "/ ...
#!/bin/sh VERSION_FILE="src/leap/mx/_version.py" rm ${VERSION_FILE} echo y | python setup.py freeze_debianver # Add the number of commits after last tag to the version string add_commits=$(git describe | cut -d'-' -f2) rev=$(git describe | cut -d'-' -f3) sed -i "/ \"version/s/\"$/.${add_commits}.${rev}\"/" ${VERSION_...
<|file_sep|>original/debian/freeze_python_version.sh #!/bin/sh VERSION_FILE="src/leap/mx/_version.py" rm ${VERSION_FILE} echo y | python setup.py freeze_debianver # Add the number of commits after last tag to the version string add_commits=$(git describe | cut -d'-' -f2) rev=$(git describe | cut -d'-' -f3) sed -i "/ ...
489b5614f8c9ca635b9b70330fd966f5a3371fcf
debian/freeze_python_version.sh
debian/freeze_python_version.sh
Shell
<|file_sep|>original/packages/utils-display/bower.json { "name": "suit-utils-display", "version": "0.2.1", "author": "Nicolas Gallagher", "main": "display.css", "ignore": [ ".*", "CHANGELOG.md", "package.json", "test.html" ] } <|file_sep|>current/packages/utils-di...
{ "name": "suit-utils-display", "version": "0.2.1", "author": "Nicolas Gallagher", "main": "display.css", "ignore": [ ".*", "CHANGELOG.md", "component.json", "package.json", "test.html" ] }
<|file_sep|>original/packages/utils-display/bower.json { "name": "suit-utils-display", "version": "0.2.1", "author": "Nicolas Gallagher", "main": "display.css", "ignore": [ ".*", "CHANGELOG.md", "package.json", "test.html" ] } <|file_sep|>current/packages/utils-di...
3a0a95029f1dde927d2ae0fdb2826d9c7161075c
packages/utils-display/bower.json
packages/utils-display/bower.json
JSON
<|file_sep|>original/library/Zend/Loader/Pluggable.php <|file_sep|>current/library/Zend/Loader/Pluggable.php <|file_sep|>updated/library/Zend/Loader/Pluggable.php
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<|file_sep|>original/library/Zend/Loader/Pluggable.php <|file_sep|>current/library/Zend/Loader/Pluggable.php <|file_sep|>updated/library/Zend/Loader/Pluggable.php <?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE...
66e7544d86059c9549de17a0f6fb121bf6812782
library/Zend/Loader/Pluggable.php
library/Zend/Loader/Pluggable.php
PHP
<|file_sep|>original/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css <|file_sep|>current/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css <|file_sep|>updated/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css
h1{ background: #B3B3B3; font-size: 150%; } header{ background: #666666; text-align: center; } h1{ color: #FFFFFF; } nav{ font-variant: small-caps; font-size: 150%; font-family: Arial, "Time New Roman", serif; } h2{
<|file_sep|>original/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css <|file_sep|>current/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css <|file_sep|>updated/02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css h1{ background: #B3B3B3; font-size: 150%; } header{ background: #666666; text-align: center; } h1{ c...
92e0eb2b124a434efde9f9bf40e9be4f0e97db57
02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css
02-Intro-to-CSS3/week-1/lesson/css/stylesheet.css
CSS
<|file_sep|>original/src/unBand/App.xaml.cs using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private void Application_Exit(object sender, ExitEventArgs e) {...
namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private void Application_Exit(object sender, ExitEventArgs e) { unBand.Properties.Settings.Default.Save(); } private void Applicati...
<|file_sep|>original/src/unBand/App.xaml.cs using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private void Application_Exit(object sender, ExitEventArgs e) {...
94792535512270a9bdf17e7c21e36aed9f9d7740
src/unBand/App.xaml.cs
src/unBand/App.xaml.cs
C#
<|file_sep|>original/test/test_issues/test_i225/test.sh [ -d .test-env ] || \ virtualenv --system-site-packages --always-copy .test-env # activate it source .test-env/bin/activate # Install pytest pip install pytest # Build pyang from source and install it using pip cd ../../.. rm -f dist/*.whl pip install -r requ...
[ -d .test-env ] || \ virtualenv --system-site-packages --always-copy .test-env # activate it source .test-env/bin/activate # Install pytest pip install pytest # Build pyang from source and install it using pip cd ../../.. rm -f dist/*.whl python setup.py bdist_wheel pip install -I dist/*.whl cd $current_dir trap ...
<|file_sep|>original/test/test_issues/test_i225/test.sh [ -d .test-env ] || \ virtualenv --system-site-packages --always-copy .test-env # activate it source .test-env/bin/activate # Install pytest pip install pytest # Build pyang from source and install it using pip cd ../../.. rm -f dist/*.whl pip install -r requ...
6d9aef2bc4b2f845370745185ed85c742d5dcb71
test/test_issues/test_i225/test.sh
test/test_issues/test_i225/test.sh
Shell
<|file_sep|>test/functional/quotes_controller_test.rb.diff original: updated: @quote_attributes = @quote.attributes.slice(:raw_quote, :description) <|file_sep|>test/functional/quotes_controller_test.rb.diff original: post :create, quote: @quote.attributes updated: post :create, quote: @quote_attributes...
get :show, id: @quote assert_response :success end test "should get edit" do get :edit, id: @quote assert_response :success end test "should update quote" do put :update, id: @quote, quote: @quote_attributes assert_redirected_to quote_path(assigns(:quote)) end test "should destroy...
<|file_sep|>test/functional/quotes_controller_test.rb.diff original: updated: @quote_attributes = @quote.attributes.slice(:raw_quote, :description) <|file_sep|>test/functional/quotes_controller_test.rb.diff original: post :create, quote: @quote.attributes updated: post :create, quote: @quote_attributes...
2b6a95d16f07281978b3d618100882270c6d508c
test/functional/quotes_controller_test.rb
test/functional/quotes_controller_test.rb
Ruby
<|file_sep|>original/atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/DbKvsTestSuite.java import org.junit.ClassRule; import org.junit.rules.RuleChain; import org.junit.runner.RunWith; import org.junit.runners.Suite; import com.google.common.collect.ImmutableList; @RunWith(Suite.class) @Suite.SuiteClasses({ ...
import org.junit.ClassRule; import org.junit.rules.RuleChain; import org.junit.runner.RunWith; import org.junit.runners.Suite; import com.google.common.collect.ImmutableList; @RunWith(Suite.class) @Suite.SuiteClasses({ TodoEteTest.class, TimestampManagementEteTest.class }) public class DbKvsTe...
<|file_sep|>original/atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/DbKvsTestSuite.java import org.junit.ClassRule; import org.junit.rules.RuleChain; import org.junit.runner.RunWith; import org.junit.runners.Suite; import com.google.common.collect.ImmutableList; @RunWith(Suite.class) @Suite.SuiteClasses({ ...
688df90adf38ab0e803d74fa1371a332bfc51a12
atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/DbKvsTestSuite.java
atlasdb-ete-tests/src/test/java/com/palantir/atlasdb/ete/DbKvsTestSuite.java
Java
<|file_sep|>original/install.sh echo "Usage: ./install.sh PROJECT_NAME."; exit; fi NEW_PROJECT_NAME=$1; OLD_PROJECT_NAME="MobiletteSwiftBaseProject"; echo "Start to install $NEW_PROJECT_NAME with base project."; grep -Rl "$OLD_PROJECT_NAME" * --exclude=install.sh | xargs sed -i "" "s/$OLD_PROJECT_NAME/$NEW_PROJECT_...
NEW_PROJECT_NAME=$1; OLD_PROJECT_NAME="MobiletteSwiftBaseProject"; echo "Start to install $NEW_PROJECT_NAME with base project."; grep -Rl "$OLD_PROJECT_NAME" * --exclude=install.sh | xargs sed -i "" "s/$OLD_PROJECT_NAME/$NEW_PROJECT_NAME/"; grep -Rl "${OLD_PROJECT_NAME}Tests" * --exclude=install.sh | xargs sed -i "" ...
<|file_sep|>original/install.sh echo "Usage: ./install.sh PROJECT_NAME."; exit; fi NEW_PROJECT_NAME=$1; OLD_PROJECT_NAME="MobiletteSwiftBaseProject"; echo "Start to install $NEW_PROJECT_NAME with base project."; grep -Rl "$OLD_PROJECT_NAME" * --exclude=install.sh | xargs sed -i "" "s/$OLD_PROJECT_NAME/$NEW_PROJECT_...
bc2dfd4732f24bcd7d7aa9a581d811b28a6eae23
install.sh
install.sh
Shell
<|file_sep|>original/requirements.txt appdirs==1.4.1 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==1.10.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.1.10 six==1.10.0 <|file_sep|>current/requirements.txt appdirs==1.4.1 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44...
appdirs==1.4.2 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==1.10.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.1.10 six==1.10.0
<|file_sep|>original/requirements.txt appdirs==1.4.1 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44 packaging==16.8 pbr==1.10.0 Pillow==4.0.0 pyfiglet==0.7.5 pyparsing==2.1.10 six==1.10.0 <|file_sep|>current/requirements.txt appdirs==1.4.1 asciimatics==1.7.2 funcsigs==1.0.2 future==0.16.0 olefile==0.44...
aa26798bbb813afcdd0a7fa59ab785ff3bdba86e
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/test2.json { "name": "TestA installation using DNF", "description": "TestA `Requires: (TestB | TestC)` and `Recommends: TestC`", "repository": "repos/test-1", "cases": [ { "pre_packages": [], "post_packages": ["+TestB"], "command": ["-Uvh", "/repo/TestB-*"], "type": "rpm", ...
{ "name": "TestA installation using DNF with TestB already installed", "description": "TestA `Requires: (TestB | TestC)` and `Recommends: TestC`", "repository": "repos/test-1", "cases": [ { "pre_packages": [], "post_packages": ["+TestB"], "command": ["-Uvh", "/repo/TestB-*"], "type": "rpm", "return_c...
<|file_sep|>original/tests/test2.json { "name": "TestA installation using DNF", "description": "TestA `Requires: (TestB | TestC)` and `Recommends: TestC`", "repository": "repos/test-1", "cases": [ { "pre_packages": [], "post_packages": ["+TestB"], "command": ["-Uvh", "/repo/TestB-*"], "type": "rpm", ...
0693b49fe28e6692fb58da331e0bd7ac2363f113
tests/test2.json
tests/test2.json
JSON
<|file_sep|>src/stylesheets/_footer.scss.diff original: updated: $footer-text-color: #b0c9d8; $footer-background-color: $light-blue; <|file_sep|>src/stylesheets/_footer.scss.diff original: background-color: $light-blue; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid darken($light-blue, 15%); u...
min-heigth: 120px; p { font-size: $mid-font; color: $footer-text-color; a { color: $footer-text-color; text-decoration: none; font-weight: bold; &:active, &:focus, &:hover { color: darken($footer-text-color , 15%); text-decoration: underline; ...
<|file_sep|>src/stylesheets/_footer.scss.diff original: updated: $footer-text-color: #b0c9d8; $footer-background-color: $light-blue; <|file_sep|>src/stylesheets/_footer.scss.diff original: background-color: $light-blue; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid darken($light-blue, 15%); u...
14e53434ec91786c23fe4767138f7d4a8c0fbfa6
src/stylesheets/_footer.scss
src/stylesheets/_footer.scss
SCSS
<|file_sep|>original/package.json "private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "npm run develop...
"private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "npm run development -- --watch", "watch-p...
<|file_sep|>original/package.json "private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "npm run develop...
d1f4a3f316c545314f1cbd2ea7527678ad822d9f
package.json
package.json
JSON
<|file_sep|>Umbraco.Inception/Attributes/UmbracoTabAttribute.cs.diff original: using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; updated: <|file_sep|>original/Umbraco.Inception/Attributes/UmbracoTabAttribute.cs using System; using System.Collections.Generic; using S...
using System; namespace Umbraco.Inception.Attributes { [AttributeUsage(AttributeTargets.Property)] public class UmbracoTabAttribute : Attribute { public string Name { get; set; } public int SortOrder { get; set; } public UmbracoTabAttribute(string name) { Name ...
<|file_sep|>Umbraco.Inception/Attributes/UmbracoTabAttribute.cs.diff original: using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; updated: <|file_sep|>original/Umbraco.Inception/Attributes/UmbracoTabAttribute.cs using System; using System.Collections.Generic; using S...
75687902e82e56c9029a3a208f22995cbe58c5de
Umbraco.Inception/Attributes/UmbracoTabAttribute.cs
Umbraco.Inception/Attributes/UmbracoTabAttribute.cs
C#
<|file_sep|>original/zephyr/cmake/compiler/clang/compiler_flags.cmake # Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. include("${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake") # Disable -fno-...
# Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. include("${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake") # Disable -fno-freestanding. set_compiler_property(PROPERTY hosted) check_set_compil...
<|file_sep|>original/zephyr/cmake/compiler/clang/compiler_flags.cmake # Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. include("${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake") # Disable -fno-...
604ca7e1e6b056efffb6ab05747aa0d981973ffc
zephyr/cmake/compiler/clang/compiler_flags.cmake
zephyr/cmake/compiler/clang/compiler_flags.cmake
CMake
<|file_sep|>app/views/questions/show.html.erb.diff original: updated: <li><%= link_to 'Add a comment', {controller: 'comments', action: 'new', type: 'Question', id: @question} %></li> <|file_sep|>original/app/views/questions/show.html.erb <div class="question-list"> <%= render partial: "questions/info", locals: {qu...
<div class="question-list"> <%= render partial: "questions/info", locals: {question: @question} %> <li><%= link_to 'Add a comment', {controller: 'comments', action: 'new', type: 'Question', id: @question} %></li> <ul class="comments"> <% @question.comments.each do |comment| %> <%= render partial: "comments/show...
<|file_sep|>app/views/questions/show.html.erb.diff original: updated: <li><%= link_to 'Add a comment', {controller: 'comments', action: 'new', type: 'Question', id: @question} %></li> <|file_sep|>original/app/views/questions/show.html.erb <div class="question-list"> <%= render partial: "questions/info", locals: {qu...
19bd10003f7fbdefd062d09ab02a6a932634c41d
app/views/questions/show.html.erb
app/views/questions/show.html.erb
HTML+ERB
<|file_sep|>members/C000127.yaml.diff original: selector: "#never" updated: selector: "#firstname" <|file_sep|>members/C000127.yaml.diff original: selector: "#gonna" updated: selector: "#message" <|file_sep|>members/C000127.yaml.diff original: selector: "#give" updated: s...
required: true - name: message selector: "#message" value: $MESSAGE required: true - name: subject selector: "#subject" value: $SUBJECT required: true - name: email selector: "#email" value: $EMAIL required: true - cli...
<|file_sep|>members/C000127.yaml.diff original: selector: "#never" updated: selector: "#firstname" <|file_sep|>members/C000127.yaml.diff original: selector: "#gonna" updated: selector: "#message" <|file_sep|>members/C000127.yaml.diff original: selector: "#give" updated: s...
17eeb3e15512f636c556a6f294373fd89fac5881
members/C000127.yaml
members/C000127.yaml
YAML
<|file_sep|>original/.travis.yml - 2.6 - 2.7 - 3.2 - 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...
- 2.6 - 2.7 - 3.2 - 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 ins...
<|file_sep|>original/.travis.yml - 2.6 - 2.7 - 3.2 - 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...
abb640142f32ea4ee5f21da18b3c46dc25292b06
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8 before_install: - rvm get stable install: - ./scripts/install_swiftlint.sh script: - swiftlint - ./scripts/build.sh <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode8 before_install: - rvm get stable install: - ...
language: objective-c osx_image: xcode8.3 before_install: - rvm get stable install: - ./scripts/install_swiftlint.sh script: - swiftlint - ./scripts/build.sh
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8 before_install: - rvm get stable install: - ./scripts/install_swiftlint.sh script: - swiftlint - ./scripts/build.sh <|file_sep|>current/.travis.yml language: objective-c osx_image: xcode8 before_install: - rvm get stable install: - ...
054057cea03317ec78f9d61f0efbbce9edeac54d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.idea/scopes/agpl_hfile.xml <component name="DependencyValidationManager"> <scope name="agpl-hfile" pattern="src:ohmdb.io.hfile..*" /> </component> <|file_sep|>current/.idea/scopes/agpl_hfile.xml <component name="DependencyValidationManager"> <scope name="agpl-hfile" pattern="src:ohmdb.io.hfile...
<component name="DependencyValidationManager"> <scope name="agpl-hfile" pattern="src:ohmdb.io..*" /> </component>
<|file_sep|>original/.idea/scopes/agpl_hfile.xml <component name="DependencyValidationManager"> <scope name="agpl-hfile" pattern="src:ohmdb.io.hfile..*" /> </component> <|file_sep|>current/.idea/scopes/agpl_hfile.xml <component name="DependencyValidationManager"> <scope name="agpl-hfile" pattern="src:ohmdb.io.hfile...
00d7b069a8ad6ef3f14cd635761e90458505250f
.idea/scopes/agpl_hfile.xml
.idea/scopes/agpl_hfile.xml
XML
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt --use-wheel" - "pip install coveralls --use-wheel" - "python setup.py install" script: - coverage run --source=go_contacts `which trial` go_contacts after_success: - coveralls <|file_sep|>...
language: python python: - "2.6" - "2.7" services: - riak install: - "pip install -r requirements.txt --use-wheel" - "pip install coveralls --use-wheel" - "python setup.py install" script: - coverage run --source=go_contacts `which trial` go_contacts after_success: - coveralls
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install -r requirements.txt --use-wheel" - "pip install coveralls --use-wheel" - "python setup.py install" script: - coverage run --source=go_contacts `which trial` go_contacts after_success: - coveralls <|file_sep|>...
7a6c93e51fd233dccd520638b224b8c4dcce469c
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/netsuite/records/journal_entry_line_list.rb.diff original: class JournalEntryLineList include Support::Fields updated: class JournalEntryLineList < Support::Sublist <|file_sep|>lib/netsuite/records/journal_entry_line_list.rb.diff original: fields :line updated: <|file_sep|>li...
module NetSuite module Records class JournalEntryLineList < Support::Sublist include Namespaces::TranGeneral sublist :line, JournalEntryLine alias :lines :line end end end
<|file_sep|>lib/netsuite/records/journal_entry_line_list.rb.diff original: class JournalEntryLineList include Support::Fields updated: class JournalEntryLineList < Support::Sublist <|file_sep|>lib/netsuite/records/journal_entry_line_list.rb.diff original: fields :line updated: <|file_sep|>li...
fb0a2ef2d506fc98cbcff5037c907bcc6fe2ce74
lib/netsuite/records/journal_entry_line_list.rb
lib/netsuite/records/journal_entry_line_list.rb
Ruby
<|file_sep|>original/vagrant-boot.sh apt-get update apt-get install -y ruby1.9.1 echo "installing ruby gems" gem install nanoc <|file_sep|>current/vagrant-boot.sh apt-get update apt-get install -y ruby1.9.1 echo "installing ruby gems" gem install nanoc <|file_sep|>updated/vagrant-boot.sh
apt-get update apt-get install -y ruby1.9.1 echo "installing ruby gems" gem install nanoc gem install adsf
<|file_sep|>original/vagrant-boot.sh apt-get update apt-get install -y ruby1.9.1 echo "installing ruby gems" gem install nanoc <|file_sep|>current/vagrant-boot.sh apt-get update apt-get install -y ruby1.9.1 echo "installing ruby gems" gem install nanoc <|file_sep|>updated/vagrant-boot.sh apt-get update apt-get instal...
11e91782b9e717af8cbce64f15c5bf9bce3cf066
vagrant-boot.sh
vagrant-boot.sh
Shell
<|file_sep|>src/TopicMatcher.php.diff original: for ($i = 0, $count = count($tokens); $i < $count; ++$i) { $token = $tokens[$i]; updated: foreach ($tokens as $index => $token) { <|file_sep|>original/src/TopicMatcher.php // Created by Steffen (https://github.com/kernelguy) $to...
// Created by Steffen (https://github.com/kernelguy) $tokens = explode('/', $filter); $parts = []; foreach ($tokens as $index => $token) { switch ($token) { case '+': $parts[] = '[^/#\+]*'; break; case '...
<|file_sep|>src/TopicMatcher.php.diff original: for ($i = 0, $count = count($tokens); $i < $count; ++$i) { $token = $tokens[$i]; updated: foreach ($tokens as $index => $token) { <|file_sep|>original/src/TopicMatcher.php // Created by Steffen (https://github.com/kernelguy) $to...
74155279b40ec2d2f8cc921fa1e9b730a293649b
src/TopicMatcher.php
src/TopicMatcher.php
PHP
<|file_sep|>original/src/styles/_subNav.scss display: flex; align-items: center; padding-left: 9px; padding-right: 9px; } .subNav__nav__item { display: flex; align-items: center; padding: 0 9px; height: 48px; margin-right: 2em; text-decoration: none; color: $s-color-neutral3; border-bottom: 5px ...
align-items: center; padding-left: 9px; padding-right: 9px; } .subNav__nav__item { display: flex; align-items: center; padding: 0 9px; height: 48px; margin-right: 2em; text-decoration: none; color: $s-color-neutral3; border-bottom: 5px solid transparent; border-top: 5px solid transparent; } .sub...
<|file_sep|>original/src/styles/_subNav.scss display: flex; align-items: center; padding-left: 9px; padding-right: 9px; } .subNav__nav__item { display: flex; align-items: center; padding: 0 9px; height: 48px; margin-right: 2em; text-decoration: none; color: $s-color-neutral3; border-bottom: 5px ...
cdbfa6d70658bd2ca11843e2e9238279561a275c
src/styles/_subNav.scss
src/styles/_subNav.scss
SCSS
<|file_sep|>devstack/lib/scope.sh.diff original: updated: iniset $KEYSTONE_CONF oslo_policy enforce_new_defaults true <|file_sep|>original/devstack/lib/scope.sh # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Licens...
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing...
<|file_sep|>devstack/lib/scope.sh.diff original: updated: iniset $KEYSTONE_CONF oslo_policy enforce_new_defaults true <|file_sep|>original/devstack/lib/scope.sh # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Licens...
5d2f716e4be69e31cc48e326cb024aa18c83bbe9
devstack/lib/scope.sh
devstack/lib/scope.sh
Shell
<|file_sep|>validator/Cargo.toml.diff original: version = "0.6.2" updated: version = "0.6.3" <|file_sep|>original/validator/Cargo.toml version = "0.6.2" authors = ["Vincent Prouillet <vincent@wearewizards.io>"] license = "MIT" description = "Common validation functions (email, url, length, ...) and trait" homepage = "h...
version = "0.6.3" authors = ["Vincent Prouillet <vincent@wearewizards.io>"] license = "MIT" description = "Common validation functions (email, url, length, ...) and trait" homepage = "https://github.com/Keats/validator" repository = "https://github.com/Keats/validator" keywords = ["validation", "api", "validator"] [de...
<|file_sep|>validator/Cargo.toml.diff original: version = "0.6.2" updated: version = "0.6.3" <|file_sep|>original/validator/Cargo.toml version = "0.6.2" authors = ["Vincent Prouillet <vincent@wearewizards.io>"] license = "MIT" description = "Common validation functions (email, url, length, ...) and trait" homepage = "h...
8227542bb01dffa79f7e08694291480b3df3d728
validator/Cargo.toml
validator/Cargo.toml
TOML
<|file_sep|>tests/test_unit_analyze.rb.diff original: load "././sudokuru.rb" updated: load "././app/analyze.rb" load "././app/transmute.rb" <|file_sep|>original/tests/test_unit_analyze.rb array = [["1", "1", "1"],["1", "2", "3"]] entity = "Column" analysis.check_digit_uniqueness(arra...
analysis = Analyze.new(puzzle, box_map) array = [["1", "1", "1"],["1", "2", "3"]] entity = "Column" analysis.check_digit_uniqueness(array, entity) } @error.must_include "Column 1 (111) contains duplicate values. Please fix and rerun." end it "should raise a deep analysis code error"...
<|file_sep|>tests/test_unit_analyze.rb.diff original: load "././sudokuru.rb" updated: load "././app/analyze.rb" load "././app/transmute.rb" <|file_sep|>original/tests/test_unit_analyze.rb array = [["1", "1", "1"],["1", "2", "3"]] entity = "Column" analysis.check_digit_uniqueness(arra...
8ebd3108e156e631ccd9b0dbc3e827821cac3262
tests/test_unit_analyze.rb
tests/test_unit_analyze.rb
Ruby
<|file_sep|>original/monitors/migrations/post/0004_migrate_subscriptions.py <|file_sep|>current/monitors/migrations/post/0004_migrate_subscriptions.py <|file_sep|>updated/monitors/migrations/post/0004_migrate_subscriptions.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.apps import apps def populate_subscriptions(apps): print("entering populate_subscriptions") Certificates = apps.get_model("monitors","CertificateMonitor") Subscription = apps.get_model("mon...
<|file_sep|>original/monitors/migrations/post/0004_migrate_subscriptions.py <|file_sep|>current/monitors/migrations/post/0004_migrate_subscriptions.py <|file_sep|>updated/monitors/migrations/post/0004_migrate_subscriptions.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import model...
f9f7493d89aa842fffc085758a1fe5791cd65704
monitors/migrations/post/0004_migrate_subscriptions.py
monitors/migrations/post/0004_migrate_subscriptions.py
Python
<|file_sep|>original/templates/project/manifest.rb description "Bootstrap for Sass" # Stylesheet importing bootstrap stylesheet 'styles.scss' # # Other Bootstrap assets basedir = '../../vendor/assets' # Glyphicons sprites %w(glyphicons-halflings glyphicons-halflings-white).each do |file| image "#{basedir}/images/#...
description "Bootstrap for Sass" # Stylesheet importing bootstrap stylesheet 'styles.scss' # # Other Bootstrap assets basedir = '../../vendor/assets' # Glyphicons sprites %w(glyphicons-halflings glyphicons-halflings-white).each do |file| image "#{basedir}/images/#{file}.png", :to => "#{file}.png" end # Javascript...
<|file_sep|>original/templates/project/manifest.rb description "Bootstrap for Sass" # Stylesheet importing bootstrap stylesheet 'styles.scss' # # Other Bootstrap assets basedir = '../../vendor/assets' # Glyphicons sprites %w(glyphicons-halflings glyphicons-halflings-white).each do |file| image "#{basedir}/images/#...
cc1760fb408c15a674dca8c4467cfdf2c430165c
templates/project/manifest.rb
templates/project/manifest.rb
Ruby
<|file_sep|>original/Shared/Encounter.h @property (nonatomic, assign) NSInteger numberOfTurns; /** * */ @property (nonatomic, copy) NSString *encounterTemplateName; /** * */ @property (nonatomic, assign) NSTimeInterval startDate; /** * */ @property (nonatomic, assign) EncounterState state; /** * */ @property (n...
@property (nonatomic, copy) NSString *encounterTemplateName; /** * */ @property (nonatomic, assign) NSTimeInterval startDate; /** * */ @property (nonatomic, assign) EncounterState state; /** * */ @property (nonatomic, copy) NSData *turnQueue; // -- Relationships -- /** */ @property (nonatomic, copy) NSString* ...
<|file_sep|>original/Shared/Encounter.h @property (nonatomic, assign) NSInteger numberOfTurns; /** * */ @property (nonatomic, copy) NSString *encounterTemplateName; /** * */ @property (nonatomic, assign) NSTimeInterval startDate; /** * */ @property (nonatomic, assign) EncounterState state; /** * */ @property (n...
11acdd53ab086a9622074f79ef1535c1448cbb91
Shared/Encounter.h
Shared/Encounter.h
C
<|file_sep|>tests/jenkins/requirements.txt.diff original: mozlog==3.4 updated: mozlog==3.5 <|file_sep|>original/tests/jenkins/requirements.txt # pyup: ignore file mozlog==3.4 PyPOM==1.1.1 pytest==3.0.7 pytest-metadata==1.3.0 pytest-selenium==1.9.1 pytest-xdist==1.15.0 <|file_sep|>current/tests/jenkins/requirements.txt ...
# pyup: ignore file mozlog==3.5 PyPOM==1.1.1 pytest==3.1.2 pytest-metadata==1.5.0 pytest-selenium==1.11.0 pytest-xdist==1.18.0
<|file_sep|>tests/jenkins/requirements.txt.diff original: mozlog==3.4 updated: mozlog==3.5 <|file_sep|>original/tests/jenkins/requirements.txt # pyup: ignore file mozlog==3.4 PyPOM==1.1.1 pytest==3.0.7 pytest-metadata==1.3.0 pytest-selenium==1.9.1 pytest-xdist==1.15.0 <|file_sep|>current/tests/jenkins/requirements.txt ...
2299fb5dff5788ff82f060373ebcd5b165b43956
tests/jenkins/requirements.txt
tests/jenkins/requirements.txt
Text
<|file_sep|>app/src/repository/IndicatorRepository.js.diff original: return gql`{ allIndicators{ nodes { id name description executionOrder flagActive createdDate updatedDate indicatorTypeId updated: return gql` ...
updatedDate indicatorTypeId } } ` } static update() { return gql` mutation updateIndicator($id: Int!, $indicatorPatch: IndicatorPatch!) { updateIndicatorById(input: {id: $id, indicatorPatch: $indicatorPatch}) { indicator { id }...
<|file_sep|>app/src/repository/IndicatorRepository.js.diff original: return gql`{ allIndicators{ nodes { id name description executionOrder flagActive createdDate updatedDate indicatorTypeId updated: return gql` ...
86ced42dd7db18fc30426eb9b36156612ec36901
app/src/repository/IndicatorRepository.js
app/src/repository/IndicatorRepository.js
JavaScript
<|file_sep|>original/package.json "description": "Seneca in-memory data storage plugin.", "main": "mem-store.js", "license": "MIT", "author": "Richard Rodger (http://richardrodger.com)", "contributors": [ "Richard Rodger (http://richardrodger.com)", "Nicolas Herment" ], "scripts": { "test": "l...
"description": "Seneca in-memory data storage plugin.", "main": "mem-store.js", "license": "MIT", "author": "Richard Rodger (http://richardrodger.com)", "contributors": [ "Richard Rodger (http://richardrodger.com)", "Nicolas Herment" ], "scripts": { "test": "lab test/*.test.js -r console -v -L...
<|file_sep|>original/package.json "description": "Seneca in-memory data storage plugin.", "main": "mem-store.js", "license": "MIT", "author": "Richard Rodger (http://richardrodger.com)", "contributors": [ "Richard Rodger (http://richardrodger.com)", "Nicolas Herment" ], "scripts": { "test": "l...
823822ea9b0db5ad453d5bb1bd24c24650ba7f65
package.json
package.json
JSON
<|file_sep|>spec/wavedrom_spec.rb.diff original: describe Asciidoctor::Diagram::WavedromInlineMacroProcessor, :broken_on_windows do updated: describe Asciidoctor::Diagram::WavedromInlineMacroProcessor, :broken_on_windows, :broken_on_github do <|file_sep|>spec/wavedrom_spec.rb.diff original: describe Asciidoctor::Diagra...
require_relative 'test_helper' WAVEDROM_CODE = <<-eos { signal : [ { name: "clk", wave: "p......" }, { name: "bus", wave: "x.34.5x", data: "head body tail" }, { name: "wire", wave: "0.1..0." }, ]} eos describe Asciidoctor::Diagram::WavedromInlineMacroProcessor, :broken_on_windows, :broken_on_github do inc...
<|file_sep|>spec/wavedrom_spec.rb.diff original: describe Asciidoctor::Diagram::WavedromInlineMacroProcessor, :broken_on_windows do updated: describe Asciidoctor::Diagram::WavedromInlineMacroProcessor, :broken_on_windows, :broken_on_github do <|file_sep|>spec/wavedrom_spec.rb.diff original: describe Asciidoctor::Diagra...
c8a77b157bfb6d6ae0c999ae6799027c1a85fe37
spec/wavedrom_spec.rb
spec/wavedrom_spec.rb
Ruby
<|file_sep|>original/src/configs/projects.cson title: "file-icons" paths: [ "/Users/johngardner/Labs/file-icons" ] devMode: true } { title: "Atom-FS" paths: [ "/Users/johngardner/Labs/Atom-FS" ] devMode: true } { title: "Utils" paths: [ "/Users/johngardner/Labs/Utils" ] devMode: tru...
title: "Atom-FS" paths: [ "/Users/johngardner/Labs/Atom-FS" ] devMode: true } { title: "Utils" paths: [ "/Users/johngardner/Labs/Utils" ] devMode: true } { title: "GNU Groff" paths: [ "/Users/johngardner/Mirrors/GNU-Groff" ] devMode: true } ]
<|file_sep|>original/src/configs/projects.cson title: "file-icons" paths: [ "/Users/johngardner/Labs/file-icons" ] devMode: true } { title: "Atom-FS" paths: [ "/Users/johngardner/Labs/Atom-FS" ] devMode: true } { title: "Utils" paths: [ "/Users/johngardner/Labs/Utils" ] devMode: tru...
792d5bd82faf7b383ea0c5498e08049aab92de0c
src/configs/projects.cson
src/configs/projects.cson
CoffeeScript
<|file_sep|>docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc.diff original: == Quickstart updated: == Discovery <|file_sep|>original/docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc include::intro.adoc[] The first time you use it the discovery client might be slow owing to the fact that it has to get an acc...
include::intro.adoc[] The first time you use it the discovery client might be slow owing to the fact that it has to get an access token from Cloud Foundry. == Discovery include::quickstart.adoc[] == Single Sign On NOTE: All of the OAuth2 SSO and resource server features moved to Spring Boot in version 1.3. You ca...
<|file_sep|>docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc.diff original: == Quickstart updated: == Discovery <|file_sep|>original/docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc include::intro.adoc[] The first time you use it the discovery client might be slow owing to the fact that it has to get an acc...
538ceeee7a3a583f40e6f2ad236e2a7c47993ac6
docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc
docs/src/main/asciidoc/spring-cloud-cloudfoundry.adoc
AsciiDoc
<|file_sep|>original/tests/test_io.py <|file_sep|>current/tests/test_io.py <|file_sep|>updated/tests/test_io.py
from unittest.mock import MagicMock, patch import pytest from isort import io class TestFile: def test_read(self, tmpdir): test_file_content = """# -*- encoding: ascii -*- import ☺ """ test_file = tmpdir.join("file.py") test_file.write(test_file_content) # able to read file eve...
<|file_sep|>original/tests/test_io.py <|file_sep|>current/tests/test_io.py <|file_sep|>updated/tests/test_io.py from unittest.mock import MagicMock, patch import pytest from isort import io class TestFile: def test_read(self, tmpdir): test_file_content = """# -*- encoding: ascii -*- import ☺ """ ...
6f9d02510ad861bf8ae5ad8f1ae335a4e565756d
tests/test_io.py
tests/test_io.py
Python
<|file_sep|>original/kervi/ui/web/src/app/ui-components/button/button.component.html <button *ngIf="!inline" class="btn btn-primary pull-right" title="{{(component.name | translate) }}" [style.min.width]="width" [style.height]="height" [ngClass]="{'btn-primary-hover': (value.value$ | async)}" (mousedown)="press()" (mou...
<button *ngIf="!inline" class="btn btn-primary pull-right" title="{{(title | translate) }}" [style.min.width]="width" [style.height]="height" [ngClass]="{'btn-primary-hover': (value.value$ | async)}" (mousedown)="press()" (mouseup)="release()" [attr.title]="value.name"> <i *ngIf="parameters.buttonIcon" class='fa fa...
<|file_sep|>original/kervi/ui/web/src/app/ui-components/button/button.component.html <button *ngIf="!inline" class="btn btn-primary pull-right" title="{{(component.name | translate) }}" [style.min.width]="width" [style.height]="height" [ngClass]="{'btn-primary-hover': (value.value$ | async)}" (mousedown)="press()" (mou...
2cee14eb75c939653d9145859fe0598587371669
kervi/ui/web/src/app/ui-components/button/button.component.html
kervi/ui/web/src/app/ui-components/button/button.component.html
HTML
<|file_sep|>original/Content.Benchmarks/DependencyInjectBenchmark.cs <|file_sep|>current/Content.Benchmarks/DependencyInjectBenchmark.cs <|file_sep|>updated/Content.Benchmarks/DependencyInjectBenchmark.cs
/* using BenchmarkDotNet.Attributes; using Robust.Shared.IoC; namespace Content.Benchmarks { // To actually run this benchmark you'll have to make DependencyCollection public so it's accessible. public class DependencyInjectBenchmark { [Params(InjectMode.Reflection, InjectMode.DynamicMethod)] ...
<|file_sep|>original/Content.Benchmarks/DependencyInjectBenchmark.cs <|file_sep|>current/Content.Benchmarks/DependencyInjectBenchmark.cs <|file_sep|>updated/Content.Benchmarks/DependencyInjectBenchmark.cs /* using BenchmarkDotNet.Attributes; using Robust.Shared.IoC; namespace Content.Benchmarks { // To actually ...
e570f10d6910c57152eec3bcdef499e90bc62e64
Content.Benchmarks/DependencyInjectBenchmark.cs
Content.Benchmarks/DependencyInjectBenchmark.cs
C#
<|file_sep|>original/src/js/components/AccessDeniedPage.js <div className="flex-container-col fill-height"> <div className="page-content container-scrollable inverse"> <div className="container container-fluid container-pod flex-container-col"> <AlertPanel f...
<div className="flex-container-col fill-height"> <div className="page-content container-scrollable inverse"> <div className="container container-fluid container-pod flex-container-col"> <AlertPanel footer={this.getFooter()} title="Access Denied...
<|file_sep|>original/src/js/components/AccessDeniedPage.js <div className="flex-container-col fill-height"> <div className="page-content container-scrollable inverse"> <div className="container container-fluid container-pod flex-container-col"> <AlertPanel f...
907f29725025bbfcd0e9a61ed3d0c3978ebbd80d
src/js/components/AccessDeniedPage.js
src/js/components/AccessDeniedPage.js
JavaScript
<|file_sep|>src/js/components/JobForm.js.diff original: if (this.props.edit) { updated: if (this.props.isEdit) { <|file_sep|>src/js/components/JobForm.js.diff original: updated: isEdit: false, <|file_sep|>original/src/js/components/JobForm.js // TODO: Overwrite the default behaviour until DCOS-7669 is fi...
return true; } } JobForm.defaultProps = { className: 'multiple-form row', getTriggerSubmit: function () {}, isEdit: false, onChange: function () {}, schema: {} }; JobForm.propTypes = { className: React.PropTypes.string, isEdit: React.PropTypes.bool, getTriggerSubmit: React.PropTypes.func, onCh...
<|file_sep|>src/js/components/JobForm.js.diff original: if (this.props.edit) { updated: if (this.props.isEdit) { <|file_sep|>src/js/components/JobForm.js.diff original: updated: isEdit: false, <|file_sep|>original/src/js/components/JobForm.js // TODO: Overwrite the default behaviour until DCOS-7669 is fi...
f869a6f6f9c85b285640a6aeff26b28c090eec9a
src/js/components/JobForm.js
src/js/components/JobForm.js
JavaScript
<|file_sep|>original/requirements/prod.txt # Octave interaction scipy==1.4.1 numpy==1.18.2 octave-kernel==0.31.0 ipython==7.13.0 # pyup: ignore # Octave packages sympy==1.5.1 # Database SQLAlchemy==1.3.15 Flask-SQLAlchemy==2.4.1 # App management Flask-Migrate==2.5.3 Flask-Script==2.0.6 honcho==1.0.1 -e git://github....
# Octave interaction scipy==1.4.1 numpy==1.18.2 octave-kernel==0.31.0 ipython==7.13.0 # pyup: ignore # Octave packages sympy==1.5.1 # Database SQLAlchemy==1.3.16 Flask-SQLAlchemy==2.4.1 # App management Flask-Migrate==2.5.3 Flask-Script==2.0.6 honcho==1.0.1 -e git://github.com/benwilber/honcho-export-systemd.git@27c...
<|file_sep|>original/requirements/prod.txt # Octave interaction scipy==1.4.1 numpy==1.18.2 octave-kernel==0.31.0 ipython==7.13.0 # pyup: ignore # Octave packages sympy==1.5.1 # Database SQLAlchemy==1.3.15 Flask-SQLAlchemy==2.4.1 # App management Flask-Migrate==2.5.3 Flask-Script==2.0.6 honcho==1.0.1 -e git://github....
b48a8b1adf8b2065a7e36fd3cf5fd1021c90db79
requirements/prod.txt
requirements/prod.txt
Text
<|file_sep|>original/app/views/pages/index.html.haml .container.content .body .container{:style => "padding-bottom: 200px; padding-top:200px; padding-left:50px; padding-right:50px"} .span11.well{:style => "padding-bottom: 100px; padding-top:100px; padding-left: 50px; padding-right: 50px; width:700px; bac...
.container.content .body .container{:style => "padding-bottom: 200px; padding-top:200px; padding-left:50px; padding-right:50px"} .span11.well{:style => "padding-bottom: 100px; padding-top:100px; padding-left: 50px; padding-right: 50px; width:700px; background-color:#ffffff"} %img{:src => "tt_logo...
<|file_sep|>original/app/views/pages/index.html.haml .container.content .body .container{:style => "padding-bottom: 200px; padding-top:200px; padding-left:50px; padding-right:50px"} .span11.well{:style => "padding-bottom: 100px; padding-top:100px; padding-left: 50px; padding-right: 50px; width:700px; bac...
6935a130140b620d5ce2904910773eea70e47f6e
app/views/pages/index.html.haml
app/views/pages/index.html.haml
Haml
<|file_sep|>original/lms/templates/registration/activation_invalid.html <%! from django.core.urlresolvers import reverse %> <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <section class="container activation"> <section class="message"> <h1 class="invalid">Activation ...
<%! from django.core.urlresolvers import reverse %> <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <section class="container activation"> <section class="message"> <h1 class="invalid">Activation Invalid</h1> <hr class="horizontal-divider"> <p>Something went ...
<|file_sep|>original/lms/templates/registration/activation_invalid.html <%! from django.core.urlresolvers import reverse %> <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <section class="container activation"> <section class="message"> <h1 class="invalid">Activation ...
940888da37e95a74fc580b1b03472ccb79d5bfc9
lms/templates/registration/activation_invalid.html
lms/templates/registration/activation_invalid.html
HTML
<|file_sep|>original/.travis.yml language: scala sudo: true script: - sbt test jdk: - oraclejdk8 before_script: - sudo apt-get install libaio1 - sudo /etc/init.d/mysql stop <|file_sep|>current/.travis.yml language: scala sudo: true script: - sbt test jdk: - oraclejdk8 before_script: - sudo apt-get install...
language: scala sudo: true script: - sbt test jdk: - oraclejdk8 before_script: - sudo apt-get install libaio1 - sudo /etc/init.d/mysql stop - sudo /etc/init.d/postgresql stop
<|file_sep|>original/.travis.yml language: scala sudo: true script: - sbt test jdk: - oraclejdk8 before_script: - sudo apt-get install libaio1 - sudo /etc/init.d/mysql stop <|file_sep|>current/.travis.yml language: scala sudo: true script: - sbt test jdk: - oraclejdk8 before_script: - sudo apt-get install...
30818fb797b58b2c97a16610fd1516e4dfc8a004
.travis.yml
.travis.yml
YAML
<|file_sep|>qr_code/qrcode_image.py.diff original: logger = logging.getLogger(__name__) updated: logger = logging.getLogger('django') <|file_sep|>original/qr_code/qrcode_image.py """ Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG format when the Pi...
""" Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG format when the Pillow library is not available. """ import logging from qrcode.image.svg import SvgPathImage as _SvgPathImage logger = logging.getLogger('django') try: from qrcode.image.pil im...
<|file_sep|>qr_code/qrcode_image.py.diff original: logger = logging.getLogger(__name__) updated: logger = logging.getLogger('django') <|file_sep|>original/qr_code/qrcode_image.py """ Import the required subclasses of :class:`~qrcode.image.base.BaseImage` from the qrcode library with a fallback to SVG format when the Pi...
22225a8d8c020f49bd781f94eb3e47947f672993
qr_code/qrcode_image.py
qr_code/qrcode_image.py
Python
<|file_sep|>original/requirements-dev.txt -e . Flask==0.12.2 coverage==4.4.1 flake8==3.4.1 moto==0.4.31 pytest-cov==2.5.1 pytest==3.2.2 sphinx==1.6.3 aiohttp==2.2.5 botocore==1.7.17 multidict==3.1.3 wrapt==1.10.11 dill==0.2.7.1 packaging==16.8 <|file_sep|>current/requirements-dev.txt -e . Flask==0.12.2 coverage==4.4.1 ...
-e . Flask==0.12.2 coverage==4.4.1 flake8==3.4.1 moto==0.4.31 pytest-cov==2.5.1 pytest==3.2.2 sphinx==1.6.4 aiohttp==2.2.5 botocore==1.7.17 multidict==3.1.3 wrapt==1.10.11 dill==0.2.7.1 packaging==16.8
<|file_sep|>original/requirements-dev.txt -e . Flask==0.12.2 coverage==4.4.1 flake8==3.4.1 moto==0.4.31 pytest-cov==2.5.1 pytest==3.2.2 sphinx==1.6.3 aiohttp==2.2.5 botocore==1.7.17 multidict==3.1.3 wrapt==1.10.11 dill==0.2.7.1 packaging==16.8 <|file_sep|>current/requirements-dev.txt -e . Flask==0.12.2 coverage==4.4.1 ...
ad0826a5548b38d8cd272813b8e4bd55abcb90ba
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/gh-pages/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="h...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/react/0.1...
<|file_sep|>original/gh-pages/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="h...
e4b0c126b38f312e8defd2d4bb36bac4254d297b
gh-pages/index.html
gh-pages/index.html
HTML
<|file_sep|>original/hearthstone/stringsfile.py filter(lambda row: row.strip() and not row.startswith("#"), fp), delimiter="\t" ) stripped_rows = [{k: v for k, v in row.items() if v} for row in reader] return {stripped_row.pop("TAG"): stripped_row for stripped_row in stripped_rows} def load_globalstrings(local...
filter(lambda row: row.strip() and not row.startswith("#"), fp), delimiter="\t" ) stripped_rows = [{k: v for k, v in row.items() if v} for row in reader] return {stripped_row.pop("TAG"): stripped_row for stripped_row in stripped_rows} def load_globalstrings(locale="enUS") -> StringsDict: path: str = hearthsto...
<|file_sep|>original/hearthstone/stringsfile.py filter(lambda row: row.strip() and not row.startswith("#"), fp), delimiter="\t" ) stripped_rows = [{k: v for k, v in row.items() if v} for row in reader] return {stripped_row.pop("TAG"): stripped_row for stripped_row in stripped_rows} def load_globalstrings(local...
531c9e943748c576c963b809a7f1052d611346b9
hearthstone/stringsfile.py
hearthstone/stringsfile.py
Python
<|file_sep|>original/requirements.txt Django==1.9.8 django-extensions==1.7.3 django-rest-swagger==0.3.8 django-webpack-loader==0.3.3 djangorestframework==3.5.2 djangorestframework-jwt==1.8.0 psycopg2==2.6.2 PyJWT==1.4.2 PyYAML==3.11 six==1.10.0 Werkzeug==0.11.10 <|file_sep|>current/requirements.txt Django==1.9.8 django...
Django==1.9.8 django-extensions==1.7.3 django-rest-swagger==0.3.8 django-webpack-loader==0.3.3 djangorestframework==3.5.3 djangorestframework-jwt==1.8.0 psycopg2==2.6.2 PyJWT==1.4.2 PyYAML==3.11 six==1.10.0 Werkzeug==0.11.10
<|file_sep|>original/requirements.txt Django==1.9.8 django-extensions==1.7.3 django-rest-swagger==0.3.8 django-webpack-loader==0.3.3 djangorestframework==3.5.2 djangorestframework-jwt==1.8.0 psycopg2==2.6.2 PyJWT==1.4.2 PyYAML==3.11 six==1.10.0 Werkzeug==0.11.10 <|file_sep|>current/requirements.txt Django==1.9.8 django...
16a2a78127cc0a5f9921341302a884232006174a
requirements.txt
requirements.txt
Text
<|file_sep|>db/migrate/20110705003445_counter_cache_on_post_likes.rb.diff original: updated: class Post < ActiveRecord::Base; end <|file_sep|>original/db/migrate/20110705003445_counter_cache_on_post_likes.rb class CounterCacheOnPostLikes < ActiveRecord::Migration def self.up add_column :posts, :likes_count, :i...
class CounterCacheOnPostLikes < ActiveRecord::Migration class Post < ActiveRecord::Base; end def self.up add_column :posts, :likes_count, :integer, :default => 0 execute <<SQL if Post.count > 0 UPDATE posts SET posts.likes_count = (SELECT COUNT(*) FROM likes WHERE likes.post_id = posts.id) SQL ...
<|file_sep|>db/migrate/20110705003445_counter_cache_on_post_likes.rb.diff original: updated: class Post < ActiveRecord::Base; end <|file_sep|>original/db/migrate/20110705003445_counter_cache_on_post_likes.rb class CounterCacheOnPostLikes < ActiveRecord::Migration def self.up add_column :posts, :likes_count, :i...
130914267bc6954a6735a33741e96c8d81e7f5cb
db/migrate/20110705003445_counter_cache_on_post_likes.rb
db/migrate/20110705003445_counter_cache_on_post_likes.rb
Ruby
<|file_sep|>original/config/shared/locales.json [ { "code": "en", "label": "English" }, { "code": "de", "label": "Deutsch" }, { "code": "es", "label": "español, castellano" }, { "code": "fr", "label": "français" }, { "code": "it", "label": "Italiano" }, { "code": "nb", "label": "Norsk bokmål" }, { "code":...
[ { "code": "en", "label": "English" }, { "code": "de", "label": "Deutsch" }, { "code": "es", "label": "español, castellano" }, { "code": "fr", "label": "français" }, { "code": "it", "label": "Italiano" }, { "code": "nb", "label": "Norsk bokmål" }, { "code": "pl", "label": "polski" }, { "code": "fi", "l...
<|file_sep|>original/config/shared/locales.json [ { "code": "en", "label": "English" }, { "code": "de", "label": "Deutsch" }, { "code": "es", "label": "español, castellano" }, { "code": "fr", "label": "français" }, { "code": "it", "label": "Italiano" }, { "code": "nb", "label": "Norsk bokmål" }, { "code":...
10d3eff7889e829e74fe7698982b3f0dad61ed7a
config/shared/locales.json
config/shared/locales.json
JSON
<|file_sep|>original/Hybrid/Testing/CMakeLists.txt # Commented out to avoid problems with Borland dashboards # until new tests are added to Cxx/CMakeLists.txt. #SUBDIRS(Cxx) IF (VTK_WRAP_TCL) SUBDIRS(Tcl) ENDIF (VTK_WRAP_TCL) IF (VTK_WRAP_PYTHON) SUBDIRS(Python) ENDIF (VTK_WRAP_PYTHON) IF(PYTHON_EXECUTABLE) AD...
# Commented out to avoid problems with Borland dashboards # until new tests are added to Cxx/CMakeLists.txt. SUBDIRS(Cxx) IF (VTK_WRAP_TCL) SUBDIRS(Tcl) ENDIF (VTK_WRAP_TCL) IF (VTK_WRAP_PYTHON) SUBDIRS(Python) ENDIF (VTK_WRAP_PYTHON) IF(PYTHON_EXECUTABLE) ADD_TEST(HeaderTesting-Hybrid ${PYTHON_EXECUTABLE} ...
<|file_sep|>original/Hybrid/Testing/CMakeLists.txt # Commented out to avoid problems with Borland dashboards # until new tests are added to Cxx/CMakeLists.txt. #SUBDIRS(Cxx) IF (VTK_WRAP_TCL) SUBDIRS(Tcl) ENDIF (VTK_WRAP_TCL) IF (VTK_WRAP_PYTHON) SUBDIRS(Python) ENDIF (VTK_WRAP_PYTHON) IF(PYTHON_EXECUTABLE) AD...
f8f2e1bd2a043edcec82061a5c55e093fccd8f03
Hybrid/Testing/CMakeLists.txt
Hybrid/Testing/CMakeLists.txt
Text
<|file_sep|>original/app/javascript/app/styles/themes/dropdown/multi-level-dropdown.scss margin-top: -3px; z-index: 10; } //dropdown toggle arrow wrapper styles .cw__multi-level-dropdown-styles_arrow { height: 10px; width: 10px; } //'x' button styles .cw__multi-level-dropdown-styles_clearB...
//dropdown toggle arrow wrapper styles .cw__multi-level-dropdown-styles_arrow { height: 10px; width: 10px; } //'x' button styles .cw__multi-level-dropdown-styles_clearBtn { padding-right: 10px; } //when dropdown is disabled .cw__multi-level-dropdown-styles_disabled { background-color: ...
<|file_sep|>original/app/javascript/app/styles/themes/dropdown/multi-level-dropdown.scss margin-top: -3px; z-index: 10; } //dropdown toggle arrow wrapper styles .cw__multi-level-dropdown-styles_arrow { height: 10px; width: 10px; } //'x' button styles .cw__multi-level-dropdown-styles_clearB...
41880fc37e502d154a7225e291b77032e8d2f48c
app/javascript/app/styles/themes/dropdown/multi-level-dropdown.scss
app/javascript/app/styles/themes/dropdown/multi-level-dropdown.scss
SCSS
<|file_sep|>theme/context-block-browser.tpl.php.diff original: updated: <?php if (!empty($module_blocks)): ?> <|file_sep|>original/theme/context-block-browser.tpl.php <div class='context-block-browser clear-block'> <div class='categories'><?php print theme('select', $categories) ?></div> <?php foreach ($blocks...
<div class='context-block-browser clear-block'> <div class='categories'><?php print theme('select', $categories) ?></div> <?php foreach ($blocks as $module => $module_blocks): ?> <?php if (!empty($module_blocks)): ?> <div class='category category-<?php print $module ?> clear-block'> <?php foreach ($modul...
<|file_sep|>theme/context-block-browser.tpl.php.diff original: updated: <?php if (!empty($module_blocks)): ?> <|file_sep|>original/theme/context-block-browser.tpl.php <div class='context-block-browser clear-block'> <div class='categories'><?php print theme('select', $categories) ?></div> <?php foreach ($blocks...
bbd1672662233723327f3b9fa575e81368149414
theme/context-block-browser.tpl.php
theme/context-block-browser.tpl.php
PHP
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=master)](https://travis-ci.org/x-stream/xstream) ---- # XStream _Java to XML Serialization, and back again_ ## Binaries All binary artifacts are bundled in the -bin archive. It includes the XStream jars and any other lib...
[![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=master)](https://travis-ci.org/x-stream/xstream) master [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=v_1.4.x)](https://travis-ci.org/x-stream/xstream) v-1.4.x ---- # XStream _Java to XML Serialization, and back again_ ## Binarie...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/x-stream/xstream.svg?branch=master)](https://travis-ci.org/x-stream/xstream) ---- # XStream _Java to XML Serialization, and back again_ ## Binaries All binary artifacts are bundled in the -bin archive. It includes the XStream jars and any other lib...
269e577f26548f55aa437245d760ffc0b5ce0940
README.md
README.md
Markdown
<|file_sep|>original/src/Firehose.Web/Authors/VictorSilva.cs <|file_sep|>current/src/Firehose.Web/Authors/VictorSilva.cs <|file_sep|>updated/src/Firehose.Web/Authors/VictorSilva.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class VictorSilva : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Victor"; p...
<|file_sep|>original/src/Firehose.Web/Authors/VictorSilva.cs <|file_sep|>current/src/Firehose.Web/Authors/VictorSilva.cs <|file_sep|>updated/src/Firehose.Web/Authors/VictorSilva.cs using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehos...
9756a835c039d87b137b5743a0253c6aca78646d
src/Firehose.Web/Authors/VictorSilva.cs
src/Firehose.Web/Authors/VictorSilva.cs
C#
<|file_sep|>original/src/sass/main.scss /* Sir Trevor Main Sass File */ @import 'bourbon/bourbon'; @import '_variables.scss'; @import 'base.scss'; @import 'inputs.scss'; // Block Controls @import 'block-control.scss'; // Blocks @import 'block.scss'; // Block Types @import 'blocks/text.scss'; // Format Bar @impor...
/* Sir Trevor Main Sass File */ @import 'bourbon/bourbon'; @import '_variables.scss'; @import 'base.scss'; @import 'inputs.scss'; // Block Controls @import 'block-control.scss'; // Blocks @import 'block.scss'; // Format Bar @import 'format-bar.scss';
<|file_sep|>original/src/sass/main.scss /* Sir Trevor Main Sass File */ @import 'bourbon/bourbon'; @import '_variables.scss'; @import 'base.scss'; @import 'inputs.scss'; // Block Controls @import 'block-control.scss'; // Blocks @import 'block.scss'; // Block Types @import 'blocks/text.scss'; // Format Bar @impor...
ffdcd42ee019e47b63d2a7ec17e7ae42938db6b6
src/sass/main.scss
src/sass/main.scss
SCSS
<|file_sep|>original/aero/adapters/brew.py self.adapter_command + ':' + line, '\n'.join(map( lambda k: k[0] if len(k) < 2 else k[0] + ': ' + k[1], self.info(line) )) ) for line in response.splitlines() if line]) ...
self.adapter_command + ':' + line, '\n'.join(map( lambda k: k[0] if len(k) < 2 else k[0] + ': ' + k[1], self.info(line) )) ) for line in response.splitlines() if line]) return {} def info(self, query): ...
<|file_sep|>original/aero/adapters/brew.py self.adapter_command + ':' + line, '\n'.join(map( lambda k: k[0] if len(k) < 2 else k[0] + ': ' + k[1], self.info(line) )) ) for line in response.splitlines() if line]) ...
a12a027ba027ebb23e18da38e444dc51e57a91bc
aero/adapters/brew.py
aero/adapters/brew.py
Python
<|file_sep|>doc/Machfile.edn.diff original: target "yada-manual.xml" novelty (mach.core/modified-since target (filter (mach.core/has-suffix ".adoc") (mach.core/files))) update! #$ ["asciidoctor" "-b" BACKEND SOURCE "-o" target]} updated: product "yada-manual.xml" novelty (mach.core/modifie...
{ xml {SOURCE "yada-manual.adoc" BACKEND "docbook5" product "yada-manual.xml" novelty (mach.core/modified-since product (filter (mach.core/has-suffix ".adoc") (mach.core/files))) update! #$ ["asciidoctor" "-b" BACKEND SOURCE "-o" product]} pdf {DBLATEX "dblatex" TMPDIR "target" ST...
<|file_sep|>doc/Machfile.edn.diff original: target "yada-manual.xml" novelty (mach.core/modified-since target (filter (mach.core/has-suffix ".adoc") (mach.core/files))) update! #$ ["asciidoctor" "-b" BACKEND SOURCE "-o" target]} updated: product "yada-manual.xml" novelty (mach.core/modifie...
b87428dbf40b5a0a364c68e05ac1e6d226524330
doc/Machfile.edn
doc/Machfile.edn
edn
<|file_sep|>original/config/config.exs # General application configuration config :elixir_jobs, ecto_repos: [ElixirJobs.Repo] # Configures the endpoint config :elixir_jobs, ElixirJobsWeb.Endpoint, url: [host: "localhost"], secret_key_base: "IcrUuGYFkGys3tgfqEL5aGCHiAq4/bz4UcpvXFpLZde9Z3oWv//NdWfkXWA2BLNd", re...
ecto_repos: [ElixirJobs.Repo] # Configures the endpoint config :elixir_jobs, ElixirJobsWeb.Endpoint, url: [host: "localhost"], secret_key_base: "IcrUuGYFkGys3tgfqEL5aGCHiAq4/bz4UcpvXFpLZde9Z3oWv//NdWfkXWA2BLNd", render_errors: [view: ElixirJobsWeb.ErrorView, accepts: ~w(html json)], pubsub: [name: ElixirJobs...
<|file_sep|>original/config/config.exs # General application configuration config :elixir_jobs, ecto_repos: [ElixirJobs.Repo] # Configures the endpoint config :elixir_jobs, ElixirJobsWeb.Endpoint, url: [host: "localhost"], secret_key_base: "IcrUuGYFkGys3tgfqEL5aGCHiAq4/bz4UcpvXFpLZde9Z3oWv//NdWfkXWA2BLNd", re...
841957a0d57bed89f8ade74b1b52a25758ee3abf
config/config.exs
config/config.exs
Elixir
<|file_sep|>.travis.yml.diff original: - bundle install updated: - bundle install --path vendor/bundle <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 install: - bundle install - npm install - sh -e /etc/init.d/xvfb start - webdriver-manager update script: - jekyll serve --detach - npm test env: global: ...
language: ruby rvm: - 2.1 install: - bundle install --path vendor/bundle - npm install - sh -e /etc/init.d/xvfb start - webdriver-manager update script: - bundle exec jekyll serve --detach - npm test env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true - DISPLAY=:99.0 branches: only: - gh-pages cache: director...
<|file_sep|>.travis.yml.diff original: - bundle install updated: - bundle install --path vendor/bundle <|file_sep|>original/.travis.yml language: ruby rvm: - 2.1 install: - bundle install - npm install - sh -e /etc/init.d/xvfb start - webdriver-manager update script: - jekyll serve --detach - npm test env: global: ...
8654c49beae20d14c025b8f2e959470266faaaa6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/rspec/collection_matchers.rb require 'rspec/collection_matchers/version' require 'rspec/collection_matchers/matchers' require 'rspec/collection_matchers/have' require 'rspec/collection_matchers/rails_extensions' <|file_sep|>current/lib/rspec/collection_matchers.rb require 'rspec/collection_matc...
require 'rspec/expectations' require 'rspec/collection_matchers/version' require 'rspec/collection_matchers/matchers' require 'rspec/collection_matchers/have' require 'rspec/collection_matchers/rails_extensions'
<|file_sep|>original/lib/rspec/collection_matchers.rb require 'rspec/collection_matchers/version' require 'rspec/collection_matchers/matchers' require 'rspec/collection_matchers/have' require 'rspec/collection_matchers/rails_extensions' <|file_sep|>current/lib/rspec/collection_matchers.rb require 'rspec/collection_matc...
e369c497f1fcd350a2e3ffb66a5fedc2fe7958f3
lib/rspec/collection_matchers.rb
lib/rspec/collection_matchers.rb
Ruby
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: Changes proposed in this pull request: updated: Release note for [CHANGELOG](https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md): <!-- If change is not user facing, just write "NONE" in the release-note block below. --> <|fi...
<!--- Thank you for keeping this note for the community ---> Fixes #0000 Release note for [CHANGELOG](https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md): <!-- If change is not user facing, just write "NONE" in the release-note block below. --> ```release-note ``` Output from a...
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff original: Changes proposed in this pull request: updated: Release note for [CHANGELOG](https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md): <!-- If change is not user facing, just write "NONE" in the release-note block below. --> <|fi...
7d936b37f122f24f1ab688849b985e0135d09db3
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/README.md WHAuth ====== An Authentication and Authorization system for wormhole corps/alliances within EVE Online Heavily in development at the current time. Developing in Python 3.4 Requirements can be found in requirements.txt, run the debug server with run_debug.py. <|file_sep|>current/READM...
WHAuth ====== An Authentication and Authorization system for wormhole corps/alliances within EVE Online Heavily in development at the current time. Developing in Python 3.4 Rename config.dist.py to config.py, edit the variables as required. Requirements can be found in requirements.txt, run the debug server with r...
<|file_sep|>original/README.md WHAuth ====== An Authentication and Authorization system for wormhole corps/alliances within EVE Online Heavily in development at the current time. Developing in Python 3.4 Requirements can be found in requirements.txt, run the debug server with run_debug.py. <|file_sep|>current/READM...
79f2c7ff90ce1042cb46a029d7b44ac3d7e8b409
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: dist: trusty updated: <|file_sep|>original/.travis.yml - ./build-package.sh notifications: email: on_success: never on_failure: change branches: only: - master git: depth: 10 sudo: false addons: apt: packages: - build-essential - fakeroot <...
on_success: never on_failure: change branches: only: - master git: depth: 10 sudo: false dist: trusty addons: apt: packages: - build-essential - fakeroot - git - libsecret-1-dev
<|file_sep|>.travis.yml.diff original: dist: trusty updated: <|file_sep|>original/.travis.yml - ./build-package.sh notifications: email: on_success: never on_failure: change branches: only: - master git: depth: 10 sudo: false addons: apt: packages: - build-essential - fakeroot <...
e7c220a0a74be2303df9901776c1dff1136db885
.travis.yml
.travis.yml
YAML
<|file_sep|>original/generators/client/templates/react/_tsconfig.json "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexErrors": true, "outDir": "<%= DIST...
"module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexErrors": true, "outDir": "<%= DIST_DIR %>app", "lib": ["es2015", "es2017",...
<|file_sep|>original/generators/client/templates/react/_tsconfig.json "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false, "suppressImplicitAnyIndexErrors": true, "outDir": "<%= DIST...
3859f40d0e143067c7a7082a09309c839321dba9
generators/client/templates/react/_tsconfig.json
generators/client/templates/react/_tsconfig.json
JSON
<|file_sep|>tensorflow_federated/python/program/value_reference.py.diff original: """Defines the abstract interface for classes that reference values.""" updated: """Defines abstract interfaces representing references to values. These abstract interfaces provide the capability to handle values without requiring them t...
requiring them to be materialized as Python objects. Instances of these abstract interfaces represent values of type `tff.TensorType` and can be placed on the server, elements of structures that are placed on the server, or unplaced. """ import abc from typing import Union import numpy as np from tensorflow_federate...
<|file_sep|>tensorflow_federated/python/program/value_reference.py.diff original: """Defines the abstract interface for classes that reference values.""" updated: """Defines abstract interfaces representing references to values. These abstract interfaces provide the capability to handle values without requiring them t...
5748b1a7dc4a5be3b2b9da9959eabe586347078a
tensorflow_federated/python/program/value_reference.py
tensorflow_federated/python/program/value_reference.py
Python
<|file_sep|>original/tohu/v5/extras.py <|file_sep|>current/tohu/v5/extras.py <|file_sep|>updated/tohu/v5/extras.py
from .base import TohuBaseGenerator from .primitive_generators import Constant __all__ = ['as_tohu_generator'] def as_tohu_generator(g): """ If g is a tohu generator return it unchanged, otherwise wrap it in a Constant generator. """ if isinstance(g, TohuBaseGenerator): return g else...
<|file_sep|>original/tohu/v5/extras.py <|file_sep|>current/tohu/v5/extras.py <|file_sep|>updated/tohu/v5/extras.py from .base import TohuBaseGenerator from .primitive_generators import Constant __all__ = ['as_tohu_generator'] def as_tohu_generator(g): """ If g is a tohu generator return it unchanged, o...
70cad3e6f9b2ceac0ab7082843e6902e1934afe0
tohu/v5/extras.py
tohu/v5/extras.py
Python
<|file_sep|>original/.travis.yml language: python python: - "3.4" - "3.5" - "3.6" install: - pip install tox script: - tox --skip-missing-interpreters <|file_sep|>current/.travis.yml language: python python: - "3.4" - "3.5" - "3.6" install: - pip install tox script: - tox --skip-missing-interpre...
language: python python: - "3.6" install: - pip install tox script: - tox --skip-missing-interpreters
<|file_sep|>original/.travis.yml language: python python: - "3.4" - "3.5" - "3.6" install: - pip install tox script: - tox --skip-missing-interpreters <|file_sep|>current/.travis.yml language: python python: - "3.4" - "3.5" - "3.6" install: - pip install tox script: - tox --skip-missing-interpre...
e94ec57db84aa3497ad51fcff6aa2a74ce19156e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/userlist.txt "marko" "kama" "postgres" "asdasd" "pgbouncer" "fake" <|file_sep|>current/test/userlist.txt "marko" "kama" "postgres" "asdasd" "pgbouncer" "fake" <|file_sep|>updated/test/userlist.txt
"marko" "kama" "postgres" "asdasd" ;Commented out line should be ignored. "pgbouncer" "fake"
<|file_sep|>original/test/userlist.txt "marko" "kama" "postgres" "asdasd" "pgbouncer" "fake" <|file_sep|>current/test/userlist.txt "marko" "kama" "postgres" "asdasd" "pgbouncer" "fake" <|file_sep|>updated/test/userlist.txt "marko" "kama" "postgres" "asdasd" ;Commented out line should be ignored. "pgbouncer" "fake"
f25159c98874c5a9b3d4f8972b6b0e1842bff89b
test/userlist.txt
test/userlist.txt
Text
<|file_sep|>RELEASE-PROCESS.md.diff original: 1. Get latest translations from crowdin and check for errors. 2. Update change log. 3. Bump version code and number. updated: 1. (Optional) Get latest translations, check them for errors (Lint). 2. Bump version number. 3. (Beta or Stable) Bump version name. 4. (Beta or Stab...
Release procedure ----------------- 1. (Optional) Get latest translations, check them for errors (Lint). 2. Bump version number. 3. (Beta or Stable) Bump version name. 4. (Beta or Stable) Update change log. 5. Build APK.
<|file_sep|>RELEASE-PROCESS.md.diff original: 1. Get latest translations from crowdin and check for errors. 2. Update change log. 3. Bump version code and number. updated: 1. (Optional) Get latest translations, check them for errors (Lint). 2. Bump version number. 3. (Beta or Stable) Bump version name. 4. (Beta or Stab...
0b7e109dfb1d83f541fd1fef575e2366f7ae7b37
RELEASE-PROCESS.md
RELEASE-PROCESS.md
Markdown
<|file_sep|>core/app/backbone/controllers/client_controller.coffee.diff original: view.on 'render', -> parent.remote.onModalReady() updated: view.on 'render', -> parent.remote?.onModalReady() <|file_sep|>original/core/app/backbone/controllers/client_controller.coffee newClientModal = new DiscussionMod...
newClientModal = new DiscussionModalContainer FactlinkApp.discussionModalRegion.show newClientModal view = new DiscussionView model: fact view.on 'render', -> parent.remote?.onModalReady() newClientModal.mainRegion.show view showNewFact: (params={}) -> clientModal = new DiscussionMo...
<|file_sep|>core/app/backbone/controllers/client_controller.coffee.diff original: view.on 'render', -> parent.remote.onModalReady() updated: view.on 'render', -> parent.remote?.onModalReady() <|file_sep|>original/core/app/backbone/controllers/client_controller.coffee newClientModal = new DiscussionMod...
48871e81178347c81a941102f6dacd8ec0d0e90e
core/app/backbone/controllers/client_controller.coffee
core/app/backbone/controllers/client_controller.coffee
CoffeeScript
<|file_sep|>original/public/css/custom.css border-left: .25rem solid #e5e5e5; } a:hover, a:focus { text-decoration: none; } .masthead-title { height: 50px; line-height: 50px; vertical-align: middle; } .masthead-title img { display: inline; float: left; border-radius: 50%; margin-bottom: 0; margin...
a:focus { text-decoration: none; } .masthead-title { height: 50px; line-height: 50px; vertical-align: middle; } .masthead-title img { display: inline; float: left; border-radius: 50%; margin-bottom: 0; margin-right: 1rem; } footer { margin-bottom: 2rem; }
<|file_sep|>original/public/css/custom.css border-left: .25rem solid #e5e5e5; } a:hover, a:focus { text-decoration: none; } .masthead-title { height: 50px; line-height: 50px; vertical-align: middle; } .masthead-title img { display: inline; float: left; border-radius: 50%; margin-bottom: 0; margin...
a4cd0647d04c4547e4fc83e96cb3343a0d42bff5
public/css/custom.css
public/css/custom.css
CSS
<|file_sep|>views/site/index.js.diff original: function initialize() { var mapOptions = { center: { lat: 32.7688, lng: -85.5285}, zoom: 6, disableDefaultUI:true }; updated: var map = { map: null, mapOptions: null, init: function() { this.initOptions(); this.ma...
center: { lat: 32.7688, lng: -85.5285}, zoom: 6, disableDefaultUI:true, scrollwheel: false }; }, initEvents: function() { google.maps.event.addListener(this.map, 'click', this.onClick); google.maps.event.addListener(this.map, 'mouseout', th...
<|file_sep|>views/site/index.js.diff original: function initialize() { var mapOptions = { center: { lat: 32.7688, lng: -85.5285}, zoom: 6, disableDefaultUI:true }; updated: var map = { map: null, mapOptions: null, init: function() { this.initOptions(); this.ma...
f10de1e4b4a497976d9e4169fa2c8850f351d8f5
views/site/index.js
views/site/index.js
JavaScript
<|file_sep|>original/setup.py "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Py...
"License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming L...
<|file_sep|>original/setup.py "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Py...
9f8b0fe642e7900ac1c966ad365a5fe99456d23e
setup.py
setup.py
Python
<|file_sep|>original/pom.xml <url>http://aws.amazon.com/sdkforjava</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifact...
<url>http://aws.amazon.com/sdkforjava</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifactId> <version>1.9....
<|file_sep|>original/pom.xml <url>http://aws.amazon.com/sdkforjava</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifact...
1ebc2227f0cdecf782f52bcaee5bd7376f68e789
pom.xml
pom.xml
XML
<|file_sep|>lib/arsi/arel_tree_manager.rb.diff original: updated: AREL_WHERE_SQL_ARITY_1 = ::Arel::VERSION[0].to_i < 7 # Arel 9 has no engine reader AREL_WHERE_SQL_ENGINE_ACCESSOR = ::Arel::VERSION[0].to_i < 9 <|file_sep|>lib/arsi/arel_tree_manager.rb.diff original: # Arel 9 has no engine reader ...
def where_sql(provided_engine = :none) return if @ctx.wheres.empty? selected_engine = provided_engine if selected_engine == :none selected_engine = if AREL_WHERE_SQL_ENGINE_ACCESSOR self.engine || Arel::Table.engine else Arel::Table.engine end end...
<|file_sep|>lib/arsi/arel_tree_manager.rb.diff original: updated: AREL_WHERE_SQL_ARITY_1 = ::Arel::VERSION[0].to_i < 7 # Arel 9 has no engine reader AREL_WHERE_SQL_ENGINE_ACCESSOR = ::Arel::VERSION[0].to_i < 9 <|file_sep|>lib/arsi/arel_tree_manager.rb.diff original: # Arel 9 has no engine reader ...
e3b3178ad9f4ae82154b4461f18631420ce90c69
lib/arsi/arel_tree_manager.rb
lib/arsi/arel_tree_manager.rb
Ruby
<|file_sep|>lib/broker_registrar.rb.diff original: services.each { |service| service.delete!(purge: true) } updated: services.each do |service| service_name = service.label service.delete!(purge: true) logger.info "Purged service offering #{service_name}" end <|file_sep|>lib/broker_regist...
services = broker_manager.get_services_for_broker(args[:broker_url], args[:broker_username], args[:broker_password]) services.each do |service| service_name = service.label service.delete!(purge: true) logger.info "Purged service offering #{service_name}" end broker = client.service_...
<|file_sep|>lib/broker_registrar.rb.diff original: services.each { |service| service.delete!(purge: true) } updated: services.each do |service| service_name = service.label service.delete!(purge: true) logger.info "Purged service offering #{service_name}" end <|file_sep|>lib/broker_regist...
dd5271af12a6ddb712b6b46ed4d8959807e19e11
lib/broker_registrar.rb
lib/broker_registrar.rb
Ruby
<|file_sep|>original/spec/features/add_event_spec.rb require "rails_helper" require 'factory_girl' feature "Event Creation" do scenario "User enters venue name", js: true do new_relic = create(:venue, title: 'New Relic') urban_airship = create(:venue, title: 'Urban Airship') visit "/events/new" fill...
require "rails_helper" require 'factory_girl' feature "Event Creation" do scenario "User enters venue name", js: true do new_relic = create(:venue, title: 'New Relic') urban_airship = create(:venue, title: 'Urban Airship') visit "/events/new" fill_in "Event Name", with: 'Something' fill_in "venu...
<|file_sep|>original/spec/features/add_event_spec.rb require "rails_helper" require 'factory_girl' feature "Event Creation" do scenario "User enters venue name", js: true do new_relic = create(:venue, title: 'New Relic') urban_airship = create(:venue, title: 'Urban Airship') visit "/events/new" fill...
b46ea57833185cb3f7650fed636f54b22f94a9b7
spec/features/add_event_spec.rb
spec/features/add_event_spec.rb
Ruby
<|file_sep|>original/tests/Spark/Util/ClassLoaderTest.php { function setUp() { $this->classLoader = Util\ClassLoader(); } function testClassLoaderActsAsSingleton() { $instance1 = Util\ClassLoader(); $instance2 = Util\ClassLoader(); $this->assertEquals($instance1,...
{ function setUp() { $this->classLoader = Util\ClassLoader(); } function testClassLoaderActsAsSingleton() { $instance1 = Util\ClassLoader(); $instance2 = Util\ClassLoader(); $this->assertSame($instance1, $instance2); } function testClassLoaderRegiste...
<|file_sep|>original/tests/Spark/Util/ClassLoaderTest.php { function setUp() { $this->classLoader = Util\ClassLoader(); } function testClassLoaderActsAsSingleton() { $instance1 = Util\ClassLoader(); $instance2 = Util\ClassLoader(); $this->assertEquals($instance1,...
6a8c9cea9a24f5887b4045fdb045795b662fbe43
tests/Spark/Util/ClassLoaderTest.php
tests/Spark/Util/ClassLoaderTest.php
PHP