prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/spec/acceptance/alternative_pgdata_spec.rb
<|file_sep|>current/spec/acceptance/alternative_pgdata_spec.rb
<|file_sep|>updated/spec/acceptance/alternative_pgdata_spec.rb | require 'spec_helper_acceptance'
# These tests ensure that postgres can change itself to an alternative pgdata
# location properly.
describe 'postgres::server', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
it 'on an alternative pgdata location' do
pp = <<-EOS
class { 'postgresql::server':... | <|file_sep|>original/spec/acceptance/alternative_pgdata_spec.rb
<|file_sep|>current/spec/acceptance/alternative_pgdata_spec.rb
<|file_sep|>updated/spec/acceptance/alternative_pgdata_spec.rb
require 'spec_helper_acceptance'
# These tests ensure that postgres can change itself to an alternative pgdata
# location prope... | 7828cf3f73efa566d2c3e64a658f2593232a6038 | spec/acceptance/alternative_pgdata_spec.rb | spec/acceptance/alternative_pgdata_spec.rb | Ruby |
<|file_sep|>README.md.diff
original:
updated:
[](http://badge.fury.io/js/nativescript-toast)
<|file_sep|>original/README.md
# NativeScript Toast Plugin
A NativeScript Toast Plugin for Android apps.
## Demo
How to install and use this plugin? Watch it o... | [](http://badge.fury.io/js/nativescript-toast)
# NativeScript Toast Plugin
A NativeScript Toast Plugin for Android apps.
## What is a toast?
> A toast provides simple feedback about an operation in a small popup. It only fills the amount of space requir... | <|file_sep|>README.md.diff
original:
updated:
[](http://badge.fury.io/js/nativescript-toast)
<|file_sep|>original/README.md
# NativeScript Toast Plugin
A NativeScript Toast Plugin for Android apps.
## Demo
How to install and use this plugin? Watch it o... | d4cf544ad9c5d6a54ececac6213173cfe56e16d7 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
branches:
only:
- master
node_js:
- "0.12"
- "0.10"
- "4.3"
- stable
notifications:
email:
- vesa.poikajarvi@iki.fi
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
branches:
only:
- master
node_js:
- "0.12"
- "0.10"
-... | language: node_js
branches:
only:
- master
node_js:
- "0.12"
- "0.10"
- "4.3"
- "6.9"
- stable
notifications:
email:
- vesa.poikajarvi@iki.fi
sudo: false | <|file_sep|>original/.travis.yml
language: node_js
branches:
only:
- master
node_js:
- "0.12"
- "0.10"
- "4.3"
- stable
notifications:
email:
- vesa.poikajarvi@iki.fi
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
branches:
only:
- master
node_js:
- "0.12"
- "0.10"
-... | 953a3192d1eb3120f8575977306d19bf150dc489 | .travis.yml | .travis.yml | YAML |
<|file_sep|>__tests__/read.js.diff
original:
'react-jsx': 2,
updated:
'react-jsx': 2
<|file_sep|>__tests__/read.js.diff
original:
'bsc-flags': ['-bs-super-errors'],
updated:
'bsc-flags': ['-bs-super-errors']
<|file_sep|>__tests__/read.js.diff
original:
'react-jsx': 2,
updated:
'react-jsx... | 'bs-dependencies': ['reason-react', 'bs-jest'],
reason: {
'react-jsx': 2
},
'bsc-flags': ['-bs-super-errors']
})
})
test('Read bsconfig from __dirname synchronously', () => {
const bsConfig = readBsConfigSync(__dirname)
expect(bsConfig).toEqual({
name: 'reason-scripts',
sources: ['... | <|file_sep|>__tests__/read.js.diff
original:
'react-jsx': 2,
updated:
'react-jsx': 2
<|file_sep|>__tests__/read.js.diff
original:
'bsc-flags': ['-bs-super-errors'],
updated:
'bsc-flags': ['-bs-super-errors']
<|file_sep|>__tests__/read.js.diff
original:
'react-jsx': 2,
updated:
'react-jsx... | 23453d851da79ea28755550968b1084494d0b6b9 | __tests__/read.js | __tests__/read.js | JavaScript |
<|file_sep|>original/bamova/plot_sampled_phis.py
<|file_sep|>current/bamova/plot_sampled_phis.py
<|file_sep|>updated/bamova/plot_sampled_phis.py | import sys
import numpy as np
from sklearn.neighbors.kde import KernelDensity
import matplotlib
from matplotlib import pyplot
def estimate_distribution(matrix, locus, h=0.2, n_points=100):
kde = KernelDensity(bandwidth=h)
kde.fit(matrix[:, locus])
xs = np.linspace(-1.0, 1.0, n_points)
ys = np.log(kde.score(xs))
... | <|file_sep|>original/bamova/plot_sampled_phis.py
<|file_sep|>current/bamova/plot_sampled_phis.py
<|file_sep|>updated/bamova/plot_sampled_phis.py
import sys
import numpy as np
from sklearn.neighbors.kde import KernelDensity
import matplotlib
from matplotlib import pyplot
def estimate_distribution(matrix, locus, h=0.... | 8d193a6eb59028eb2c21203bc8543d34603f86bd | bamova/plot_sampled_phis.py | bamova/plot_sampled_phis.py | Python |
<|file_sep|>original/test/test_header.rb
<|file_sep|>current/test/test_header.rb
<|file_sep|>updated/test/test_header.rb | require 'minitest/autorun'
require 'node'
require 'header'
class TestHeader < MiniTest::Test
def setup
# Initialize nodes
@header = Header.new
@node_1 = Node.new
@node_2 = Node.new
# Link to form a column
@header.link({ down: @node_1, up: @node_2 })
@node_1.link({ down: @node_2, up: @he... | <|file_sep|>original/test/test_header.rb
<|file_sep|>current/test/test_header.rb
<|file_sep|>updated/test/test_header.rb
require 'minitest/autorun'
require 'node'
require 'header'
class TestHeader < MiniTest::Test
def setup
# Initialize nodes
@header = Header.new
@node_1 = Node.new
@node_2 = Node.... | 20d1ca49e1d0a28e247f34f724ffed4b7a412186 | test/test_header.rb | test/test_header.rb | Ruby |
<|file_sep|>file-modules/src/Main.hs.diff
original:
updated:
import System.Exit (exitFailure)
<|file_sep|>original/file-modules/src/Main.hs
module Main where
import Control.Concurrent.Async (mapConcurrently)
import Control.Monad (forM_)
import Data.List.... | module Main where
import Control.Concurrent.Async (mapConcurrently)
import Control.Monad (forM_)
import Data.List.Utils (uniq)
import Development.FileModules
import System.Environment (getArgs)
import System.Exit (exitFa... | <|file_sep|>file-modules/src/Main.hs.diff
original:
updated:
import System.Exit (exitFailure)
<|file_sep|>original/file-modules/src/Main.hs
module Main where
import Control.Concurrent.Async (mapConcurrently)
import Control.Monad (forM_)
import Data.List.... | 8f0bd08d4e355aac3dabde2e4192e5cee54247a7 | file-modules/src/Main.hs | file-modules/src/Main.hs | Haskell |
<|file_sep|>original/dripBot-css.js
"margin-right": "5px"
});
$('div#dripbot-update').css({
"background-color": "#47a447",
"padding": "10px"
});
$('div#dripbot-update h1').css({
"font-weight": "800",
});
$('#save-game').css({
"background-color": "#5cb85c",
"color": "white",
"margin-left": "20px"
});
$('div#l... |
$('img#dripbot-logo').css({
"margin-bottom": "10px",
"margin-right": "5px"
});
$('div#dripbot-update').css({
"background-color": "#47a447",
"padding": "10px"
});
$('div#dripbot-update h1').css({
"font-weight": "800",
});
$('#save-game').css({
"background-color": "#5cb85c",
"color": "white",
"margin-left": "... | <|file_sep|>original/dripBot-css.js
"margin-right": "5px"
});
$('div#dripbot-update').css({
"background-color": "#47a447",
"padding": "10px"
});
$('div#dripbot-update h1').css({
"font-weight": "800",
});
$('#save-game').css({
"background-color": "#5cb85c",
"color": "white",
"margin-left": "20px"
});
$('div#l... | f07bb14d90525ed304d072ea8e8017ece05f94ef | dripBot-css.js | dripBot-css.js | JavaScript |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | A Haskell implentation of the JSON Object Signing and Encryption (JOSE) specifications and the related [JWT specification](http://tools.ietf.org/html/draft-ietf-oauth-json-web-token), as used in BrowserId and OpenID Connect. | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
A Haskell implentation of the JSON Object Signing and Encryption (JOSE) specifications and the related [JWT specification](http://tools.ietf.org/html/draft-ietf-oauth-json-web-token), as used in BrowserId and OpenID Connect. | 0a72cbd8c81ca1e041359bffe089f8aceb64a5d0 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
env:
- VERSION="master"
- VERSION="8.0"
- VERSION="7.0"
- VERSION="6.1"
# - VERSION="6.0" # Test script not ready for v6.0
install:
#- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- cp -r ../maintainer-quality-tools/ $HOME ... |
env:
- VERSION="master"
- VERSION="8.0"
- VERSION="7.0"
- VERSION="6.1"
# - VERSION="6.0" # Test script not ready for v6.0
install:
#- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- cp -r ../maintainer-quality-tools/ $HOME # for maintainer-quality-tools ... | <|file_sep|>original/.travis.yml
env:
- VERSION="master"
- VERSION="8.0"
- VERSION="7.0"
- VERSION="6.1"
# - VERSION="6.0" # Test script not ready for v6.0
install:
#- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
- cp -r ../maintainer-quality-tools/ $HOME ... | 38bc480a8619b6bda1ed6d0481599735bf7af5d8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Serializer/Handler/DateHandler.php
$date->setTimezone(new \DateTimeZone('Europe/Berlin'));
return parent::serializeDateTime($visitor, $date, $type, $context);
}
/**
* {@inheritdoc}
*/
public function deserializeDateTimeFromJson(JsonDeserializationVisitor ... | $date->setTimezone(new \DateTimeZone('Europe/Berlin'));
return parent::serializeDateTime($visitor, $date, $type, $context);
}
/**
* {@inheritdoc}
*/
public function deserializeDateTimeFromJson(JsonDeserializationVisitor $visitor, $data, array $type)
{
// Handle empty ... | <|file_sep|>original/src/Serializer/Handler/DateHandler.php
$date->setTimezone(new \DateTimeZone('Europe/Berlin'));
return parent::serializeDateTime($visitor, $date, $type, $context);
}
/**
* {@inheritdoc}
*/
public function deserializeDateTimeFromJson(JsonDeserializationVisitor ... | e68fb23e677850b76fe2ce9dedafd94ebed020b3 | src/Serializer/Handler/DateHandler.php | src/Serializer/Handler/DateHandler.php | PHP |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.1
<|file_sep|>updated/requirements_dev.txt | bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.2 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.1
<|file_sep|>updated/requirements_dev.txt
bumpversion==0.5.3
wheel==0.30.0
Sphinx==1.7.2 | 60712b49de1656ba3089724ab484c7d794d0d92f | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/puppet-lint-duplicate_class_parameters-check.gemspec
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint duplicate class parameters check'
spec.description = <<-EOF
A puppet-lint extension that ensures cl... | 'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint duplicate class parameters check'
spec.description = <<-EOF
A puppet-lint extension that ensures class parameter names
are unique.
EOF
spec.add_dependency ... | <|file_sep|>original/puppet-lint-duplicate_class_parameters-check.gemspec
'README.md',
'LICENSE',
'lib/**/*',
'spec/**/*',
]
spec.test_files = Dir['spec/**/*']
spec.summary = 'puppet-lint duplicate class parameters check'
spec.description = <<-EOF
A puppet-lint extension that ensures cl... | 2a4bbb8fe92ee1e5fce1003b3810376a0e117083 | puppet-lint-duplicate_class_parameters-check.gemspec | puppet-lint-duplicate_class_parameters-check.gemspec | Ruby |
<|file_sep|>index.js.diff
original:
return function(total, free, status)
updated:
return function(error, total, free, status)
<|file_sep|>index.js.diff
original:
var perc = 1.0 - (free / total);
if (!smallest || smallest < perc)
{
smallest = perc;
smallestDev = dev;
}
updated:
if (!error) {
var pe... | {
if (!error) {
var perc = 1.0 - (free / total);
if (!smallest || smallest < perc)
{
smallest = perc;
smallestDev = dev;
}
if (!--c)
{
console.log('DISKUSE_SUMMARY %d', smallest);
}
} else {
--c;
}
}
}
function poll()
{ | <|file_sep|>index.js.diff
original:
return function(total, free, status)
updated:
return function(error, total, free, status)
<|file_sep|>index.js.diff
original:
var perc = 1.0 - (free / total);
if (!smallest || smallest < perc)
{
smallest = perc;
smallestDev = dev;
}
updated:
if (!error) {
var pe... | 457968ce2fb77e9e626ad0a85ec75151a08a31e8 | index.js | index.js | JavaScript |
<|file_sep|>app/mailers/bhsi_applications_mailer.rb.diff
original:
default :from => ApplicationHelper::CIW_BHSI_SUBM_EMAIL
default :subject => 'BHSI Application Form Submission'
updated:
default from: "test@example.com"
default subject: 'BHSI Application Form Submission'
<|file_sep|>app/mailers/bhsi_a... | class BhsiApplicationsMailer < ActionMailer::Base
default from: "test@example.com"
default subject: 'BHSI Application Form Submission'
def send_form(bhsi)
@bhsi = bhsi
attachments[bhsi.pdf_file_name] = open(bhsi.pdf.url).read
attachments[bhsi.previous_budget_file_name] = open(bh... | <|file_sep|>app/mailers/bhsi_applications_mailer.rb.diff
original:
default :from => ApplicationHelper::CIW_BHSI_SUBM_EMAIL
default :subject => 'BHSI Application Form Submission'
updated:
default from: "test@example.com"
default subject: 'BHSI Application Form Submission'
<|file_sep|>app/mailers/bhsi_a... | 6ba25ff3f88f9ed097aa3b411a0651ced1216563 | app/mailers/bhsi_applications_mailer.rb | app/mailers/bhsi_applications_mailer.rb | Ruby |
<|file_sep|>original/cli/src/utils/fs.js
Promise.promisifyAll(childProcess)
const log = logger({
component: 'FS'
})
// Hides a directory on Windows.
// Errors are logged, not thrown.
export async function hideOnWindows (path: string): Promise<void> {
try {
await childProcess.execAsync(`attrib +h "${path}"`)
... |
Promise.promisifyAll(childProcess)
const log = logger({
component: 'FS'
})
// Hides a directory on Windows.
// Errors are logged, not thrown.
export async function hideOnWindows (path: string): Promise<void> {
if (process.platform !== 'win32') return
try {
await childProcess.execAsync(`attrib +h "${path}"`... | <|file_sep|>original/cli/src/utils/fs.js
Promise.promisifyAll(childProcess)
const log = logger({
component: 'FS'
})
// Hides a directory on Windows.
// Errors are logged, not thrown.
export async function hideOnWindows (path: string): Promise<void> {
try {
await childProcess.execAsync(`attrib +h "${path}"`)
... | f6ad51415098d625893243fbb9bc4dea65127124 | cli/src/utils/fs.js | cli/src/utils/fs.js | JavaScript |
<|file_sep|>graphical_tests/test_partition.py.diff
original:
updated:
import matplotlib
matplotlib.use('Agg')
<|file_sep|>original/graphical_tests/test_partition.py
"""
Draw a solid circle off center in a blank image.
Use the same array as both the image and the mask.
The tiles should subdivide along the curved edge t... | """
Draw a solid circle off center in a blank image.
Use the same array as both the image and the mask.
The tiles should subdivide along the curved edge to trace out a smooth circle.
"""
from skimage import draw
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import photomosai... | <|file_sep|>graphical_tests/test_partition.py.diff
original:
updated:
import matplotlib
matplotlib.use('Agg')
<|file_sep|>original/graphical_tests/test_partition.py
"""
Draw a solid circle off center in a blank image.
Use the same array as both the image and the mask.
The tiles should subdivide along the curved edge t... | 7f1ddec9e170941e3a5159236ede817c2d569f38 | graphical_tests/test_partition.py | graphical_tests/test_partition.py | Python |
<|file_sep|>original/composer.json
{
"name": "cakephp/app",
"description": "CakePHP skeleton app",
"homepage": "http://cakephp.org",
"type": "project",
"license": "MIT",
"require": {
"cakephp/cakephp": "3.0.*-dev",
"php": ">=5.4"
},
"suggest": {
"phpunit/phpunit":... | {
"name": "cakephp/app",
"description": "CakePHP skeleton app",
"homepage": "http://cakephp.org",
"type": "project",
"license": "MIT",
"require": {
"cakephp/cakephp": "3.0.*-dev",
"php": ">=5.4"
},
"require-dev": {
"d11wtq/boris": "1.0.6"
},
"suggest": {
... | <|file_sep|>original/composer.json
{
"name": "cakephp/app",
"description": "CakePHP skeleton app",
"homepage": "http://cakephp.org",
"type": "project",
"license": "MIT",
"require": {
"cakephp/cakephp": "3.0.*-dev",
"php": ">=5.4"
},
"suggest": {
"phpunit/phpunit":... | 71b651c2e37316dcd9d7d433968b32ed48d2ba5d | composer.json | composer.json | JSON |
<|file_sep|>original/requirements.txt
coverage==4.3.4
dj-database-url==0.4.2
Django==1.10.6
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.0.1
django-guardian==1.4.6
django-model-utils==2.6.1
djangorestframework==3.6.2
djangorestframework-jwt==1.8.0
djoser==0.5.4
gunicorn==19.7.0
psycopg2==2.... | coverage==4.3.4
dj-database-url==0.4.2
Django==1.10.6
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.0.4
django-guardian==1.4.6
django-model-utils==2.6.1
djangorestframework==3.6.2
djangorestframework-jwt==1.8.0
djoser==0.5.4
gunicorn==19.7.0
psycopg2==2.7
PyJWT==1.4.2
pytz==2016.10
requests=... | <|file_sep|>original/requirements.txt
coverage==4.3.4
dj-database-url==0.4.2
Django==1.10.6
django-cors-middleware==1.3.1
django-crispy-forms==1.6.1
django-filter==1.0.1
django-guardian==1.4.6
django-model-utils==2.6.1
djangorestframework==3.6.2
djangorestframework-jwt==1.8.0
djoser==0.5.4
gunicorn==19.7.0
psycopg2==2.... | 1f90dcf4494eb6573a92cadc4e2bd71f1b616a86 | requirements.txt | requirements.txt | Text |
<|file_sep|>templates/header.php.diff
original:
updated:
<div class="container-full">
<a class="navbar-brand" href="<?= esc_url(home_url('/')); ?>">Hamilton Wellness Resources</a>
<|file_sep|>original/templates/header.php
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu(['theme_lo... | <div class="container-full">
<a class="navbar-brand" href="<?= esc_url(home_url('/')); ?>">Hamilton Wellness Resources</a>
<nav role="navigation">
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu(['theme_location' => 'primary_navigation', 'menu_class' => 'nav-collapse']);
... | <|file_sep|>templates/header.php.diff
original:
updated:
<div class="container-full">
<a class="navbar-brand" href="<?= esc_url(home_url('/')); ?>">Hamilton Wellness Resources</a>
<|file_sep|>original/templates/header.php
<?php
if (has_nav_menu('primary_navigation')) :
wp_nav_menu(['theme_lo... | 9c0a8a002a581daac9d797ea15bd57b51ff591bb | templates/header.php | templates/header.php | PHP |
<|file_sep|>original/app/controllers/travel_advice_controller.rb
respond_to do |format|
format.html { render "country" }
end
rescue RecordNotFound
set_expiry(10.minutes)
error 404
end
private
def fetch_artefact_and_publication_for_country(country)
params[:slug] = "travel-advice/"... |
respond_to do |format|
format.html { render "country" }
end
rescue RecordNotFound
set_expiry(10.minutes)
error 404
end
private
def fetch_artefact_and_publication_for_country(country)
params[:slug] = "travel-advice/" + country
artefact = fetch_artefact
publication = P... | <|file_sep|>original/app/controllers/travel_advice_controller.rb
respond_to do |format|
format.html { render "country" }
end
rescue RecordNotFound
set_expiry(10.minutes)
error 404
end
private
def fetch_artefact_and_publication_for_country(country)
params[:slug] = "travel-advice/"... | d6f68ff298deb41465b36b5eae7f4691bc99aa2d | app/controllers/travel_advice_controller.rb | app/controllers/travel_advice_controller.rb | Ruby |
<|file_sep|>original/tests/compile-fail/chdir_invalid_path.rs
<|file_sep|>current/tests/compile-fail/chdir_invalid_path.rs
<|file_sep|>updated/tests/compile-fail/chdir_invalid_path.rs | // compile-flags: -Zmiri-disable-isolation
extern {
pub fn chdir(dir: *const u8) -> i32;
}
fn main() {
let path = vec![0xc3u8, 0x28, 0];
// test that `chdir` errors with invalid utf-8 path
unsafe { chdir(path.as_ptr()) }; //~ ERROR is not a valid utf-8 string
} | <|file_sep|>original/tests/compile-fail/chdir_invalid_path.rs
<|file_sep|>current/tests/compile-fail/chdir_invalid_path.rs
<|file_sep|>updated/tests/compile-fail/chdir_invalid_path.rs
// compile-flags: -Zmiri-disable-isolation
extern {
pub fn chdir(dir: *const u8) -> i32;
}
fn main() {
let path = vec![0xc3u... | 145a5826d5cc02b15723bb9acb6739abdac28409 | tests/compile-fail/chdir_invalid_path.rs | tests/compile-fail/chdir_invalid_path.rs | Rust |
<|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
mysqlclient==1.3.13
psycopg2-binary==2.7.6.1
sqlalchemy==1.2.14
tornado==4.5.3
<|file_sep|>current/requirements.txt
#
# This file is autogenerated by ... | #
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
mysqlclient==1.3.13
psycopg2-binary==2.7.6.1
sqlalchemy==1.2.14
tornado==5.1.1 | <|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
mysqlclient==1.3.13
psycopg2-binary==2.7.6.1
sqlalchemy==1.2.14
tornado==4.5.3
<|file_sep|>current/requirements.txt
#
# This file is autogenerated by ... | 436b27b12e4e6734ae24316955997da6c67a1b96 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/private_gem.gemspec
spec.name = 'private_gem'
spec.version = PrivateGem::VERSION
spec.authors = ['Mick Staugaard']
spec.email = ['mick@staugaard.com']
spec.summary = 'Tries to help you make sure your private gems stay private'
spec.homepage = 'htt... | spec.version = PrivateGem::VERSION
spec.authors = ['Mick Staugaard']
spec.email = ['mick@staugaard.com']
spec.summary = 'Tries to help you make sure your private gems stay private'
spec.homepage = 'https://github.com/zendesk/private_gem'
spec.license = 'Apache License Ve... | <|file_sep|>original/private_gem.gemspec
spec.name = 'private_gem'
spec.version = PrivateGem::VERSION
spec.authors = ['Mick Staugaard']
spec.email = ['mick@staugaard.com']
spec.summary = 'Tries to help you make sure your private gems stay private'
spec.homepage = 'htt... | e4498f1b8722a4f9e95aa97304e854714e52004f | private_gem.gemspec | private_gem.gemspec | Ruby |
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
coverage>=3.6 # Apache-2.0
fixtures>=1.3.1 #... | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
coverage>=3.6 # Apache-2.0
fixtures>=1.3.1 # Apache-2.0/BSD
mock>=1.2 # BSD
python-subu... | <|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
coverage>=3.6 # Apache-2.0
fixtures>=1.3.1 #... | 143c18d3cabe2e752af241f0689d309b15cee731 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/app/models/charge_booking_template.rb
class ChargeBookingTemplate < BookingTemplate
# Charge Rates
def charge_rate(date = nil)
ChargeRate.current(charge_rate_code, date)
end
def amount(date)
return 0.0 unless charge_rate(date)
charge_rate(date).rate / 100
end
def ... | class ChargeBookingTemplate < BookingTemplate
# Charge Rates
def charge_rate(date = nil)
ChargeRate.current(charge_rate_code, date)
end
def amount(date = nil)
return 0.0 unless charge_rate(date)
charge_rate(date).rate / 100
end
def booking_parameters(params = {})
# Prepare paramet... | <|file_sep|>original/app/models/charge_booking_template.rb
class ChargeBookingTemplate < BookingTemplate
# Charge Rates
def charge_rate(date = nil)
ChargeRate.current(charge_rate_code, date)
end
def amount(date)
return 0.0 unless charge_rate(date)
charge_rate(date).rate / 100
end
def ... | 7f89dfdeb3d7a1d2308e8c91b243006250e0aa87 | app/models/charge_booking_template.rb | app/models/charge_booking_template.rb | Ruby |
<|file_sep|>original/behaviors/WidgetBehavior.php
<|file_sep|>current/behaviors/WidgetBehavior.php
<|file_sep|>updated/behaviors/WidgetBehavior.php | <?php
/**
* WidgetBehavior class file.
* @author Christoffer Niska <christoffer.niska@gmail.com>
* @copyright Copyright © Christoffer Niska 2013-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package crisu83.yii-extension.behaviors
*/
namespace crisu83\yii_extension\behavi... | <|file_sep|>original/behaviors/WidgetBehavior.php
<|file_sep|>current/behaviors/WidgetBehavior.php
<|file_sep|>updated/behaviors/WidgetBehavior.php
<?php
/**
* WidgetBehavior class file.
* @author Christoffer Niska <christoffer.niska@gmail.com>
* @copyright Copyright © Christoffer Niska 2013-
* @license http... | f98d5f2799dc21ad2cdf2625944683fb96aeb752 | behaviors/WidgetBehavior.php | behaviors/WidgetBehavior.php | PHP |
<|file_sep|>original/mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java
<|file_sep|>current/mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java
<|file_sep|>updated/mb-solrquerywriter/src/main/java/org/musicbrainz/... | /* Copyright (c) 2018 Sambhav Kothari
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | <|file_sep|>original/mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java
<|file_sep|>current/mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java
<|file_sep|>updated/mb-solrquerywriter/src/main/java/org/musicbrainz/... | dcac52a2cff2f773f46d3d51629a094d583a034d | mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java | mb-solrquerywriter/src/main/java/org/musicbrainz/search/solrwriter/moxy/StringSecondaryTypeAdapter.java | Java |
<|file_sep|>appveyor.yml.diff
original:
image: Visual Studio 2017
updated:
image: Visual Studio 2019
<|file_sep|>appveyor.yml.diff
original:
PYTHON: C:\Python36-x64
updated:
PYTHON: C:\Python37-x64
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
<|file_sep|>original/appveyor.yml
image... |
image: Visual Studio 2019
configuration:
- Release
environment:
PYTHON: C:\Python37-x64
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
install:
- cmd: |
curl -LO https://aka.ms/vs/16/release/vs_community.exe
vs_community.exe modify --installPath "%VSINSTALLDIR%" --add M... | <|file_sep|>appveyor.yml.diff
original:
image: Visual Studio 2017
updated:
image: Visual Studio 2019
<|file_sep|>appveyor.yml.diff
original:
PYTHON: C:\Python36-x64
updated:
PYTHON: C:\Python37-x64
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
<|file_sep|>original/appveyor.yml
image... | a6005f1e69d0ad04406bf0705f21fae17707ec57 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
script:
- bundle exec rspec
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- truffleruby
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
script:
- bundle exec rspec
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- tru... | sudo: false
language: ruby
script:
- bundle exec rspec
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- truffleruby | <|file_sep|>original/.travis.yml
sudo: false
language: ruby
script:
- bundle exec rspec
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- truffleruby
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
script:
- bundle exec rspec
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- tru... | e99565a7b64a3de0f6819a385295cb2530da1666 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/backbone.tableview.css
div.tableview-info {
padding-top: 8px;
}
div.tableview-pagination {
float: right;
margin: 0;
}
.tableview-table {
margin-top: 2em;
}
.tableview-table th, .tableview-table td {
text-align: center;
}
.tableview-filterbox {
padding-right: 10px;
}
<|f... | div.tableview-info {
padding-top: 8px;
}
div.tableview-pagination {
float: right;
margin: 0;
}
.tableview-table {
margin-top: 1em;
}
.tableview-table th, .tableview-table td {
text-align: center;
}
.tableview-filterbox {
padding-right: 10px;
}
| <|file_sep|>original/backbone.tableview.css
div.tableview-info {
padding-top: 8px;
}
div.tableview-pagination {
float: right;
margin: 0;
}
.tableview-table {
margin-top: 2em;
}
.tableview-table th, .tableview-table td {
text-align: center;
}
.tableview-filterbox {
padding-right: 10px;
}
<|f... | 8e00618f9cab43853ce8826370aac5bd9dc69c94 | backbone.tableview.css | backbone.tableview.css | CSS |
<|file_sep|>original/lib/pyfrc/tests/__init__.py
'''
These generic test modules can be applied to :class:`wpilib.iterativerobot.IterativeRobot`
and :class:`wpilib.samplerobot.SampleRobot` based robots.
'''
# import basic tests
from .basic import (
test_autonomous,
test_disabled,
test_operator_contr... | '''
These generic test modules can be applied to :class:`wpilib.iterativerobot.IterativeRobot`
and :class:`wpilib.samplerobot.SampleRobot` based robots.
'''
# import basic tests
from .basic import (
test_autonomous,
test_disabled,
test_operator_control,
test_practice
)
# Other test types
from ... | <|file_sep|>original/lib/pyfrc/tests/__init__.py
'''
These generic test modules can be applied to :class:`wpilib.iterativerobot.IterativeRobot`
and :class:`wpilib.samplerobot.SampleRobot` based robots.
'''
# import basic tests
from .basic import (
test_autonomous,
test_disabled,
test_operator_contr... | bfe779aa65abaff7430b1870a1023b0d5b2e02f8 | lib/pyfrc/tests/__init__.py | lib/pyfrc/tests/__init__.py | Python |
<|file_sep|>package.json.diff
original:
updated:
"repository": "davidrayoussef/full-screen-gif-slider",
"homepage": "https://github.com/davidrayoussef/full-screen-gif-slider",
<|file_sep|>original/package.json
{
"name": "full-screen-gif-slider",
"version": "1.0.0",
"description": "A slider for animated gifs ... | "name": "full-screen-gif-slider",
"version": "1.0.0",
"description": "A slider for animated gifs that stretches full screen.",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"author": "David Ra Youssef <davidradeveloper@gmail.com>",
"repository": "davidrayoussef/full-screen-gif-slide... | <|file_sep|>package.json.diff
original:
updated:
"repository": "davidrayoussef/full-screen-gif-slider",
"homepage": "https://github.com/davidrayoussef/full-screen-gif-slider",
<|file_sep|>original/package.json
{
"name": "full-screen-gif-slider",
"version": "1.0.0",
"description": "A slider for animated gifs ... | 2386b146f628240b1afa8c4b9ec88f62ea89bc98 | package.json | package.json | JSON |
<|file_sep|>original/travis/travis_run_build.sh
#!/usr/bin/env sh
# Build and check the package --as-cran
echo "Building with R CMD build"
R CMD build .
export PKG_TARBALL=$(Rscript -e 'pkg <- devtools::as.package("."); cat(paste0(pkg$package, "_", pkg$version, ".tar.gz"));')
# Check the package
echo "Testing with: R... | #!/usr/bin/env sh
# Build and check the package --as-cran
echo "Building with R CMD build"
R CMD build .
export PKG_TARBALL=$(Rscript -e 'pkg <- devtools::as.package("."); cat(paste0(pkg$package, "_", pkg$version, ".tar.gz"));')
# Check the package
echo "Testing with: R CMD check ${PKG_TARBALL} --as-cran"
R CMD check... | <|file_sep|>original/travis/travis_run_build.sh
#!/usr/bin/env sh
# Build and check the package --as-cran
echo "Building with R CMD build"
R CMD build .
export PKG_TARBALL=$(Rscript -e 'pkg <- devtools::as.package("."); cat(paste0(pkg$package, "_", pkg$version, ".tar.gz"));')
# Check the package
echo "Testing with: R... | 126831d26c8cee5e99fd4aed150e96ad3bb3d4f3 | travis/travis_run_build.sh | travis/travis_run_build.sh | Shell |
<|file_sep|>original/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.8.1
<|file_sep|>current/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.8.1
<|file_sep|>updated/requirements.txt | docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.7.0
tox==2.8.1 | <|file_sep|>original/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.8.1
<|file_sep|>current/requirements.txt
docker==2.5.1
molecule==1.25.0
pytest==3.2.2
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.8.1
<|file_sep|>updated/requirements.txt
docker==2.5.1
mo... | 54beebaa9ac107567066acacdef1ebee56fd8585 | requirements.txt | requirements.txt | Text |
<|file_sep|>packages/ng/ngx-export.yaml.diff
original:
hash: bf0555c18a20a35d43c8fa0545beea0735dbdaf3cdbc8c64ee4c1b7a1c49ee5d
updated:
hash: 8c60702c006ac7c868c46c932373c7390d1f83d6083e516db39ccb68dcee6390
<|file_sep|>packages/ng/ngx-export.yaml.diff
original:
updated:
- '0.2.2.0'
<|file_sep|>original/packages/ng/ngx-... | synopsis: Helper module for Nginx haskell module
changelog: ''
basic-deps:
bytestring: ! '>=0.10.0.0'
unix: -any
base: ! '>=4.7 && <5'
async: ! '>=2.0'
template-haskell: -any
all-versions:
- '0.1.0.0'
- '0.1.1.0'
- '0.2.0.0'
- '0.2.1.0'
- '0.2.2.0'
author: Alexey Radkov <alexey.radkov@gmail.com>
latest: '0.2.... | <|file_sep|>packages/ng/ngx-export.yaml.diff
original:
hash: bf0555c18a20a35d43c8fa0545beea0735dbdaf3cdbc8c64ee4c1b7a1c49ee5d
updated:
hash: 8c60702c006ac7c868c46c932373c7390d1f83d6083e516db39ccb68dcee6390
<|file_sep|>packages/ng/ngx-export.yaml.diff
original:
updated:
- '0.2.2.0'
<|file_sep|>original/packages/ng/ngx-... | c472a5b751814b9be68e8fd1f3e0f44482d3d691 | packages/ng/ngx-export.yaml | packages/ng/ngx-export.yaml | YAML |
<|file_sep|>original/app/resources/views/components/readme.twig
<div id="readme" class="rounded-lg overflow-hidden shadow-md my-8">
<header class="flex items-center bg-blue-600 px-4 py-3 text-white">
<i class="fas fa-book fa-lg pr-3"></i> README.md
</header>
<article class="bg-gray-100 rounded-b-lg... | <div id="readme" class="rounded-lg overflow-hidden shadow-md my-8">
<header class="flex items-center bg-blue-600 px-4 py-3 text-white">
<i class="fas fa-book fa-lg pr-3"></i> README.md
</header>
<article class="bg-gray-100 rounded-b-lg px-4 py-8 sm:px-6 md:px-8 lg:px-12 {{ readme.getExtension == 'm... | <|file_sep|>original/app/resources/views/components/readme.twig
<div id="readme" class="rounded-lg overflow-hidden shadow-md my-8">
<header class="flex items-center bg-blue-600 px-4 py-3 text-white">
<i class="fas fa-book fa-lg pr-3"></i> README.md
</header>
<article class="bg-gray-100 rounded-b-lg... | 0fd31e85e5e9f8891054c1afa6c1206b56e328b4 | app/resources/views/components/readme.twig | app/resources/views/components/readme.twig | Twig |
<|file_sep|>original/sockjs/cyclone/proto.py
import simplejson
json_encode = lambda data: simplejson.dumps(data, separators=(',', ':'))
json_decode = lambda data: simplejson.loads(data)
JSONDecodeError = ValueError
# Protocol handlers
CONNECT = 'o'
DISCONNECT = 'c'
MESSAGE = 'm'
HEARTBEAT = 'h'
# Various protocol h... | try:
import simplejson
except ImportError:
import json as simplejson
json_encode = lambda data: simplejson.dumps(data, separators=(',', ':'))
json_decode = lambda data: simplejson.loads(data)
JSONDecodeError = ValueError
# Protocol handlers
CONNECT = 'o'
DISCONNECT = 'c'
MESSAGE = 'm'
HEARTBEAT = 'h'
# Vari... | <|file_sep|>original/sockjs/cyclone/proto.py
import simplejson
json_encode = lambda data: simplejson.dumps(data, separators=(',', ':'))
json_decode = lambda data: simplejson.loads(data)
JSONDecodeError = ValueError
# Protocol handlers
CONNECT = 'o'
DISCONNECT = 'c'
MESSAGE = 'm'
HEARTBEAT = 'h'
# Various protocol h... | 46328b5baaf25b04703ca04fd376f3f79a26a00f | sockjs/cyclone/proto.py | sockjs/cyclone/proto.py | Python |
<|file_sep|>original/setup.py
packages=['rubra'],
package_data={'rubra': ['examples/*.py']},
entry_points={
'console_scripts': ['rubra = rubra.rubra:main']
},
url='https://github.com/bjpop/rubra',
license='LICENSE.txt',
description='Rubra is a pipeline system for bioinformatics workf... | packages=['rubra'],
package_data={'rubra': ['examples/*.py']},
entry_points={
'console_scripts': ['rubra = rubra.rubra:main']
},
url='https://github.com/bjpop/rubra',
license='LICENSE.txt',
description='Rubra is a pipeline system for bioinformatics workflows\
with support for ru... | <|file_sep|>original/setup.py
packages=['rubra'],
package_data={'rubra': ['examples/*.py']},
entry_points={
'console_scripts': ['rubra = rubra.rubra:main']
},
url='https://github.com/bjpop/rubra',
license='LICENSE.txt',
description='Rubra is a pipeline system for bioinformatics workf... | 82905bbbd7077d201363b96ffbbc78c099095764 | setup.py | setup.py | Python |
<|file_sep|>pyvarnish/remote.py.diff
original:
self.conf = self.config()
updated:
self.conf = {
'hostname': server,
'port': 22,
# If these are None, Paramiko will figure out the correct values.
'user': None,
'identityfile': None,
}
... | sys.exit(1)
conf = sshconfig.lookup(self.server)
if 'port' in conf:
conf['port'] = int(conf['port'])
return conf
def runcmd(self, cmd):
try:
client = SSHClient()
client.load_system_host_keys()
client.set_missing_ho... | <|file_sep|>pyvarnish/remote.py.diff
original:
self.conf = self.config()
updated:
self.conf = {
'hostname': server,
'port': 22,
# If these are None, Paramiko will figure out the correct values.
'user': None,
'identityfile': None,
}
... | 296005cae2af44e7e14a7e7ee9a99a2deab8c924 | pyvarnish/remote.py | pyvarnish/remote.py | Python |
<|file_sep|>css/circle.less.diff
original:
@import "vendor/bootstrap/bootstrap";
updated:
@import "../vendor/bootstrap/less/bootstrap";
<|file_sep|>css/circle.less.diff
original:
// Variables
@imgPath: "../../img";
updated:
// Circle colors
// -------------------------
<|file_sep|>original/css/circle.less
@import "ven... | @import "../vendor/bootstrap/less/bootstrap";
// Circle colors
// -------------------------
@blueDarker: #1b4f8a;
@blueDark: #366aa4;
@blue: #586e8a;
@blueLight: #d7dce3;
@blueLighter: #eff2f6;
// Typography
// -------------------------
@sansFontFamily: ... | <|file_sep|>css/circle.less.diff
original:
@import "vendor/bootstrap/bootstrap";
updated:
@import "../vendor/bootstrap/less/bootstrap";
<|file_sep|>css/circle.less.diff
original:
// Variables
@imgPath: "../../img";
updated:
// Circle colors
// -------------------------
<|file_sep|>original/css/circle.less
@import "ven... | 1473b28f25aaa8de7d2df6e5328f8878d632e7e7 | css/circle.less | css/circle.less | Less |
<|file_sep|>original/app/components/sortable-items.js
import Ember from 'ember';
import SortableItems from 'sortable-items/components/sortable-items';
export default SortableItems;
<|file_sep|>current/app/components/sortable-items.js
import Ember from 'ember';
import SortableItems from 'sortable-items/components/sorta... | import Ember from 'ember';
import SortableItems from 'ember-cli-sortable/components/sortable-items';
export default SortableItems; | <|file_sep|>original/app/components/sortable-items.js
import Ember from 'ember';
import SortableItems from 'sortable-items/components/sortable-items';
export default SortableItems;
<|file_sep|>current/app/components/sortable-items.js
import Ember from 'ember';
import SortableItems from 'sortable-items/components/sorta... | 0591ffecc36e9b5daebb284de7b74737749c3040 | app/components/sortable-items.js | app/components/sortable-items.js | JavaScript |
<|file_sep|>original/tests/virshGlobal.yaml
<|file_sep|>current/tests/virshGlobal.yaml
<|file_sep|>updated/tests/virshGlobal.yaml | sut:
virshurl: ""
# could be qemu+ssh://ip/system
ip: 40domain.com
vmname: "fostest"
vdom: "root"
user: "admin"
# Password is mandatory for vish console access
passwd: ""
porta: "port1"
portb: "port2"
# ssl off for eva
ssl: "yes"
verify: False
api-key: "9fq6d61gg7fsk5dft0xx9sm4sphzyk"
clie... | <|file_sep|>original/tests/virshGlobal.yaml
<|file_sep|>current/tests/virshGlobal.yaml
<|file_sep|>updated/tests/virshGlobal.yaml
sut:
virshurl: ""
# could be qemu+ssh://ip/system
ip: 40domain.com
vmname: "fostest"
vdom: "root"
user: "admin"
# Password is mandatory for vish console access
passwd: ""
... | ed6631c708723db8fd433a4ac0897cf334504933 | tests/virshGlobal.yaml | tests/virshGlobal.yaml | YAML |
<|file_sep|>original/cluster/manifests/roles/cdp-deployer-binding.yaml
<|file_sep|>current/cluster/manifests/roles/cdp-deployer-binding.yaml
<|file_sep|>updated/cluster/manifests/roles/cdp-deployer-binding.yaml | kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cdp-deployer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: edit
subjects:
- kind: ServiceAccount
name: cdp
namespace: default | <|file_sep|>original/cluster/manifests/roles/cdp-deployer-binding.yaml
<|file_sep|>current/cluster/manifests/roles/cdp-deployer-binding.yaml
<|file_sep|>updated/cluster/manifests/roles/cdp-deployer-binding.yaml
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cdp-deployer
roleRef:
... | c52f4ab0a055d055dc61f0f4306142c895967f45 | cluster/manifests/roles/cdp-deployer-binding.yaml | cluster/manifests/roles/cdp-deployer-binding.yaml | YAML |
<|file_sep|>original/app/views/cfp/proposals/_proposal.html.haml
= content_tag_for :tr, proposal, :class => "row" do
%td= proposal.title
- if proposal.can_be_seen_by?(current_user)
%td= link_to t('actions.show'), proposal_path(proposal)
- if proposal.can_be_edited_by?(current_user)
%td
= link_to t('... | = content_tag_for :tr, proposal, :class => "row" do
%td= proposal.title
- if proposal.can_be_seen_by?(current_user)
%td= link_to t('actions.show'), proposal_path(proposal)
- if proposal.can_be_edited_by?(current_user)
%td
= link_to t('actions.edit'), edit_proposal_path(proposal)
%td
= link... | <|file_sep|>original/app/views/cfp/proposals/_proposal.html.haml
= content_tag_for :tr, proposal, :class => "row" do
%td= proposal.title
- if proposal.can_be_seen_by?(current_user)
%td= link_to t('actions.show'), proposal_path(proposal)
- if proposal.can_be_edited_by?(current_user)
%td
= link_to t('... | 079635e15ce3609aaeab3165e1b67f982f12d834 | app/views/cfp/proposals/_proposal.html.haml | app/views/cfp/proposals/_proposal.html.haml | Haml |
<|file_sep|>gulpfile.js.diff
original:
var browserify = require('browserify')
updated:
<|file_sep|>gulpfile.js.diff
original:
var concat = require('gulp-concat')
updated:
var rename = require('gulp-rename')
var browserify = require('browserify')
var buffer = require('vinyl-buffer')
var uglify = require('gulp-uglify')
... | gulp.task('build', function () {
return browserify('./src/opbeat.js', {
standalone: 'Opbeat'
}).bundle()
.pipe(source('opbeat.js'))
.pipe(gulp.dest('./dist'))
})
// Development mode
gulp.task('watch', [], function (cb) {
gulp.run(
'build',
'server'
)
// Watch JS files
gulp.watch(['libs... | <|file_sep|>gulpfile.js.diff
original:
var browserify = require('browserify')
updated:
<|file_sep|>gulpfile.js.diff
original:
var concat = require('gulp-concat')
updated:
var rename = require('gulp-rename')
var browserify = require('browserify')
var buffer = require('vinyl-buffer')
var uglify = require('gulp-uglify')
... | c67221a0661795471bc5c650292d3e6321e623a8 | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>test/MustachePragmaUnescapedTest.php.diff
original:
updated:
$this->assertEquals('Bear > Shark', $m->render('{{title}}'));
<|file_sep|>original/test/MustachePragmaUnescapedTest.php
<?php
require_once '../Mustache.php';
require_once 'PHPUnit/Framework.php';
class MustachePragmaUnescapedTest extends P... | <?php
require_once '../Mustache.php';
require_once 'PHPUnit/Framework.php';
class MustachePragmaUnescapedTest extends PHPUnit_Framework_TestCase {
public function testPragmaUnescaped() {
$m = new Mustache(null, array('title' => 'Bear > Shark'));
$this->assertEquals('Bear > Shark', $m->render('{{%UNESCAPED}}{... | <|file_sep|>test/MustachePragmaUnescapedTest.php.diff
original:
updated:
$this->assertEquals('Bear > Shark', $m->render('{{title}}'));
<|file_sep|>original/test/MustachePragmaUnescapedTest.php
<?php
require_once '../Mustache.php';
require_once 'PHPUnit/Framework.php';
class MustachePragmaUnescapedTest extends P... | 96c42105ec3222858fd083299736ba7f6a1d3ada | test/MustachePragmaUnescapedTest.php | test/MustachePragmaUnescapedTest.php | PHP |
<|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
import unittest
updated:
<|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
updated:
from ctypes.util import find_library
import unittest
<|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
updated:
@unittest.skipUnless(platform.system() in {"Linux", "... | self.system = platform.system()
def test_bad_library(self):
with self.assertRaises(Exception) as context:
dylib.load_library_permanently("zzzasdkf;jasd;l")
if self.system == "Linux":
self.assertTrue('zzzasdkf;jasd;l: cannot open shared object file: No such file or d... | <|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
import unittest
updated:
<|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
updated:
from ctypes.util import find_library
import unittest
<|file_sep|>llvmlite/tests/test_dylib.py.diff
original:
updated:
@unittest.skipUnless(platform.system() in {"Linux", "... | 2f635e890414f777fbe3ddde1aea74ab13558313 | llvmlite/tests/test_dylib.py | llvmlite/tests/test_dylib.py | Python |
<|file_sep|>routes/index.js.diff
original:
updated:
const MAX_RETURN_ROWS_NEW = 200;
const MAX_RETURN_ROWS_UPDATED = 200;
<|file_sep|>routes/index.js.diff
original:
}).slice(0, 100);;
updated:
}).slice(0, MAX_RETURN_ROWS_NEW);;
<|file_sep|>original/routes/index.js
/* GET home page. */
router.get('/', (req, res, ne... | const MAX_RETURN_ROWS_UPDATED = 200;
/* GET home page. */
router.get('/', (req, res, next) => {
const repos = storageHandler.getStorageItem(REPO_KEY).sort((a, b) => {
return new Date(b.created_at) - new Date(a.created_at);
}).slice(0, MAX_RETURN_ROWS_NEW);;
const updatedRepos = storageHandler.getStorageItem... | <|file_sep|>routes/index.js.diff
original:
updated:
const MAX_RETURN_ROWS_NEW = 200;
const MAX_RETURN_ROWS_UPDATED = 200;
<|file_sep|>routes/index.js.diff
original:
}).slice(0, 100);;
updated:
}).slice(0, MAX_RETURN_ROWS_NEW);;
<|file_sep|>original/routes/index.js
/* GET home page. */
router.get('/', (req, res, ne... | 575d4eb43592b97e871d3039543aeb1df15910a8 | routes/index.js | routes/index.js | JavaScript |
<|file_sep|>original/lib/condition/condition_format.rb
require_relative "../format/format"
class ConditionFormat < Condition
def initialize(format_name)
@format_name = format_name.downcase
@format_name = "commander" if @format_name == "edh"
end
def search(db)
@format = Format[@format_name].new(db.re... | require_relative "../format/format"
class ConditionFormat < Condition
def initialize(format_name)
@format_name = format_name.downcase
@format_name = "commander" if @format_name == "edh"
end
def search(db)
@format = Format[@format_name].new(db.resolve_time(@time))
# This is just performance hack ... | <|file_sep|>original/lib/condition/condition_format.rb
require_relative "../format/format"
class ConditionFormat < Condition
def initialize(format_name)
@format_name = format_name.downcase
@format_name = "commander" if @format_name == "edh"
end
def search(db)
@format = Format[@format_name].new(db.re... | e761d2cfe471067f73d3395d3e6c00c5debcc805 | lib/condition/condition_format.rb | lib/condition/condition_format.rb | Ruby |
<|file_sep|>original/doc/CODING_STYLE.md
The coding style for Rust code follows the (Rust Style Guide)[https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md], with the following exceptions:
- Each indentation level is 2 spaces.
<|file_sep|>current/doc/CODING_STYLE.md
The coding style for Rust code foll... | The coding style for Rust code follows the (Rust Style Guide)[https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md], with the following exceptions:
- Each indentation level is 2 spaces.
Assertions
------------
Assertions should never be reachable by any sequence of API calls.
Assertions should never... | <|file_sep|>original/doc/CODING_STYLE.md
The coding style for Rust code follows the (Rust Style Guide)[https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md], with the following exceptions:
- Each indentation level is 2 spaces.
<|file_sep|>current/doc/CODING_STYLE.md
The coding style for Rust code foll... | 151507c2b5dcac38910c7c4b363e9347a9f30cb3 | doc/CODING_STYLE.md | doc/CODING_STYLE.md | Markdown |
<|file_sep|>original/README.md
Solutions will be posted as I write them, but you can use this project to make your own.
Save your input to `input/01.txt`, `input/02.txt`, etc. Then, write your solution and tests for each
day in the corresponding `.clj` files.
## Development
### Build Environment
Leiningen 2.7.1 on... |
Solutions will be posted as I write them, but you can use this project to make your own.
Save your input to `input/01.txt`, `input/02.txt`, etc. Then, write your solution and tests for each
day in the corresponding `.clj` files.
## Development
### Build Environment
Leiningen 2.7.1 on Java 1.8.0_66 OpenJDK 64-Bit S... | <|file_sep|>original/README.md
Solutions will be posted as I write them, but you can use this project to make your own.
Save your input to `input/01.txt`, `input/02.txt`, etc. Then, write your solution and tests for each
day in the corresponding `.clj` files.
## Development
### Build Environment
Leiningen 2.7.1 on... | 39a5cedabf527c606dabd4bcf693719939fcd264 | README.md | README.md | Markdown |
<|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.1
terminaltables==3.1.0
uvloop==0.10.1
<|file_sep|>current/r... | -e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.2
terminaltables==3.1.0
uvloop==0.10.1 | <|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.8
aiohttp==3.3.2
attrs==18.1.0
docutils==0.14
flake8-bugbear==18.2.0
flake8-mypy==17.8.0
flake8-quotes==1.0.0
flake8==3.5.0
ipdb==0.11
mypy==0.610
pytest-cov==2.5.1
pytest-sugar==0.9.1
pytest==3.6.1
terminaltables==3.1.0
uvloop==0.10.1
<|file_sep|>current/r... | 7ae8f3d0b55c72814c700fd1aea7a518b09e5402 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
- "6"
install:
- yarn
script:
- yarn run ci
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
- "6"
install:
- yarn
script:
- yarn run ci
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "8"
- "7"
- "6"
install:
- yarn
script:
- yarn run ci | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
- "6"
install:
- yarn
script:
- yarn run ci
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
- "6"
install:
- yarn
script:
- yarn run ci
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "8"
- "7"
- "6"
in... | 9e45e555b4921587acae91c02a6b6f69bf49b4d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/dev.txt
python_http_client==3.1.0
# install all base requirements
-r requirements.txt
invoke==1.2.0
pre-commit==1.14.4
<|file_sep|>current/dev.txt
python_http_client==3.1.0
# install all base requirements
-r requirements.txt
invoke==1.2.0
pre-commit==1.14.4
<|file_sep|>updated/dev.txt | python_http_client==3.1.0
# install all base requirements
-r requirements.txt
invoke==1.2.0
pre-commit==1.15.0 | <|file_sep|>original/dev.txt
python_http_client==3.1.0
# install all base requirements
-r requirements.txt
invoke==1.2.0
pre-commit==1.14.4
<|file_sep|>current/dev.txt
python_http_client==3.1.0
# install all base requirements
-r requirements.txt
invoke==1.2.0
pre-commit==1.14.4
<|file_sep|>updated/dev.txt
python_http... | a41cef223a43c61e5c62a2fb444fa317d85fdcc5 | dev.txt | dev.txt | Text |
<|file_sep|>original/config/settings.sh
#!/bin/sh
# Jobserver
export jobserver="localhost:8090"
# APP NAME
export APP="LuciusAPI"
# CLASSPATH
export CP="com.dataintuitive.luciusapi"
# Version
export APP_VERSION="3.1.0"
# Location
# export APP_PATH="/home/toni/code/compass/LuciusAPI"
export APP_PATH="$LUCIUSAPIPATH... | #!/bin/sh
# Jobserver
export jobserver="localhost:8090"
# APP NAME
export APP="LuciusAPI"
# CLASSPATH
export CP="com.dataintuitive.luciusapi"
# Version
export APP_VERSION="3.1.0"
# Location
# export APP_PATH="/home/toni/code/compass/LuciusAPI"
export APP_PATH="$LUCIUSAPI_APP_PATH"
# The config file to be used for... | <|file_sep|>original/config/settings.sh
#!/bin/sh
# Jobserver
export jobserver="localhost:8090"
# APP NAME
export APP="LuciusAPI"
# CLASSPATH
export CP="com.dataintuitive.luciusapi"
# Version
export APP_VERSION="3.1.0"
# Location
# export APP_PATH="/home/toni/code/compass/LuciusAPI"
export APP_PATH="$LUCIUSAPIPATH... | b6263e13621a4933c23e56e3294c57359aad40b8 | config/settings.sh | config/settings.sh | Shell |
<|file_sep|>original/_includes/usairb.html
{% assign posts = site.categories['usairb'] %}
> This is a development log of [`usairb`](https://github.com/fnune/usairb), a
project I'm building to learn embedded Linux. The goal is to transform any
embedded Linux device with access to the Internet into a multiplexing
... | {% assign posts = site.categories['usairb'] %}
> This is a development log of [`usairb`](https://github.com/fnune/usairb), a
project I'm building to learn embedded Linux. The goal is to transform any
embedded Linux device with access to the Internet into a multiplexing
transmitter for USB hubs.
{% if posts.si... | <|file_sep|>original/_includes/usairb.html
{% assign posts = site.categories['usairb'] %}
> This is a development log of [`usairb`](https://github.com/fnune/usairb), a
project I'm building to learn embedded Linux. The goal is to transform any
embedded Linux device with access to the Internet into a multiplexing
... | 328f7aae6772edb8bf4c3c5c4904a2dc80790f9f | _includes/usairb.html | _includes/usairb.html | HTML |
<|file_sep|>app/views/public/files/_list.blade.php.diff
original:
<div class="row">
@foreach($files as $file)
<div class="col-sm-3 col-md-2 col-xs-4">
<a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery">
<img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 31... | @if(count($files))
@foreach(array_chunk($files->all(), 4) as $row)
<div class="row">
@foreach($row as $file)
<div class="col-xs-3">
<a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery">
<img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 310, 310) }}" ... | <|file_sep|>app/views/public/files/_list.blade.php.diff
original:
<div class="row">
@foreach($files as $file)
<div class="col-sm-3 col-md-2 col-xs-4">
<a href="{{ '/'.$file->path.'/'.$file->filename }}" class="thumbnail fancybox" rel="gallery">
<img src="{{ Croppa::url('/'.$file->path.'/'.$file->filename, 31... | ca89111eebd62fb8bf80fcb8308ecd83088af41e | app/views/public/files/_list.blade.php | app/views/public/files/_list.blade.php | PHP |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.4.1
django-coverage-plugin==1.5.0
Sphinx==1.6.1
django-extensions==1.7.9
Werkzeug==0.12.2
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
pytest-django==3.... | # Local development dependencies go here
-r base.txt
coverage==4.5.1
django-coverage-plugin==1.5.0
Sphinx==1.6.1
django-extensions==1.7.9
Werkzeug==0.12.2
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
pytest-django==3.1.2
pytest-sugar==0.8.0 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.4.1
django-coverage-plugin==1.5.0
Sphinx==1.6.1
django-extensions==1.7.9
Werkzeug==0.12.2
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.3
pytest-django==3.... | b36d6870d8bb0f8ecea53b68436638bfeddae317 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
- hhvm-nightly
script:
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
before_script:
- composer self-update
- composer update --prefer-source
after_script:
- wget h... | language: php
php:
- 5.5
- 5.6
- 7
- hhvm
- hhvm-nightly
script:
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
before_script:
- composer self-update
- composer update --prefer-source
after_script:
- wget https://scrutinizer-ci.com/o... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- hhvm
- hhvm-nightly
script:
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./tests/
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
before_script:
- composer self-update
- composer update --prefer-source
after_script:
- wget h... | e92859bfaa413ab41cf89bb4844fbcded418be9e | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/libharu/meta.yaml.diff
original:
url: https://github.com/libharu/libharu/archive/master.zip
sha256: 3cc03c5fc0953621e88637a8a004d1ed4c61d050502a0429caab263919b10834
updated:
url: https://github.com/libharu/libharu/archive/RELEASE_{{ version.replace('.', '_') }}.tar.gz
sha256: 8f9e68cc5d5f7d5... | commands:
- test -f $PREFIX/include/hpdf.h # [unix]
- if not exist %LIBRARY_INC%\\include\\hpdf.h exit 1 # [win]
about:
home: http://libharu.org/
license: Zlib
license_family: OTHER
license_file: LICENSE.txt
summary: Simple, fast, extensible JSON encoder/decoder for Python
description: |
l... | <|file_sep|>recipes/libharu/meta.yaml.diff
original:
url: https://github.com/libharu/libharu/archive/master.zip
sha256: 3cc03c5fc0953621e88637a8a004d1ed4c61d050502a0429caab263919b10834
updated:
url: https://github.com/libharu/libharu/archive/RELEASE_{{ version.replace('.', '_') }}.tar.gz
sha256: 8f9e68cc5d5f7d5... | a6fbd935ab03b7ed0e0ed6d954dc984a556020c1 | recipes/libharu/meta.yaml | recipes/libharu/meta.yaml | YAML |
<|file_sep|>original/gram/rsl_assist/source/globus_rsl_assist.h
/******************************************************************************
globus_rsl_assist.h
Description:
This header contains the interface prototypes for the rsl_assist library.
CVS Information:
$Source$
$Date$
$Revision$
... | /*
* globus_rsl_assist.h
*
* Description:
*
* This header contains the interface prototypes for the rsl_assist library.
*
* CVS Information:
*
* $Source$
* $Date$
* $Revision$
* $Author$
******************************************************************************/
#ifndef _GLOBUS_RSL_ASSIST_INCLUDE_G... | <|file_sep|>original/gram/rsl_assist/source/globus_rsl_assist.h
/******************************************************************************
globus_rsl_assist.h
Description:
This header contains the interface prototypes for the rsl_assist library.
CVS Information:
$Source$
$Date$
$Revision$
... | 64dfbcfad0d2b4820c53110f9622ab6ca726a123 | gram/rsl_assist/source/globus_rsl_assist.h | gram/rsl_assist/source/globus_rsl_assist.h | C |
<|file_sep|>original/poor-mans-docker-compose.sh
<|file_sep|>current/poor-mans-docker-compose.sh
<|file_sep|>updated/poor-mans-docker-compose.sh | #!/bin/bash
docker build -t microservices/frontend ./frontend/
docker kill frontend rabbitmq
docker rm frontend rabbitmq
docker run -d -p 5672:5672 --name=rabbitmq rabbitmq
docker run -d -p 80:3000 --link rabbitmq --name=frontend microservices/frontend | <|file_sep|>original/poor-mans-docker-compose.sh
<|file_sep|>current/poor-mans-docker-compose.sh
<|file_sep|>updated/poor-mans-docker-compose.sh
#!/bin/bash
docker build -t microservices/frontend ./frontend/
docker kill frontend rabbitmq
docker rm frontend rabbitmq
docker run -d -p 5672:5672 --name=rabbitmq rabbit... | a286ffaf9c096c8e3686e78ffe7ca2eb78b9441d | poor-mans-docker-compose.sh | poor-mans-docker-compose.sh | Shell |
<|file_sep|>original/docker/postgresql/db/data.sql
CREATE TABLE "pogues" (id VARCHAR PRIMARY KEY, data jsonb);
-- Initialize ddi root ids
CREATE TABLE "ddi_group" (id VARCHAR PRIMARY KEY);
INSERT INTO "ddi_group" VALUES ('41c2eca1-8b18-4932-809c-9330ca00fef3');
<|file_sep|>current/docker/postgresql/db/data.sql
CREATE T... | CREATE TABLE "pogues" (id VARCHAR PRIMARY KEY, data jsonb);
-- Initialize ddi root ids
CREATE TABLE "ddi_group" (id VARCHAR PRIMARY KEY);
INSERT INTO "ddi_group" VALUES ('5696739a-751c-4603-a0bc-e4c05bd41c83'); | <|file_sep|>original/docker/postgresql/db/data.sql
CREATE TABLE "pogues" (id VARCHAR PRIMARY KEY, data jsonb);
-- Initialize ddi root ids
CREATE TABLE "ddi_group" (id VARCHAR PRIMARY KEY);
INSERT INTO "ddi_group" VALUES ('41c2eca1-8b18-4932-809c-9330ca00fef3');
<|file_sep|>current/docker/postgresql/db/data.sql
CREATE T... | 306c744c9f50a9cfe444d7821d2b86a410a3c05f | docker/postgresql/db/data.sql | docker/postgresql/db/data.sql | SQL |
<|file_sep|>original/mono.json
{
"source": "github",
"owner": "jillix",
"name": "crud-links",
"dependencies": [
"/links.js",
"/clone.js",
"github/jillix/events/v0.1.7"
]
}
<|file_sep|>current/mono.json
{
"source": "github",
"owner": "jillix",
"name": "crud-links"... | {
"source": "github",
"owner": "jillix",
"name": "crud-links",
"dependencies": [
"/links.js",
"/clone.js",
"github/jillix/events/v0.1.8"
]
}
| <|file_sep|>original/mono.json
{
"source": "github",
"owner": "jillix",
"name": "crud-links",
"dependencies": [
"/links.js",
"/clone.js",
"github/jillix/events/v0.1.7"
]
}
<|file_sep|>current/mono.json
{
"source": "github",
"owner": "jillix",
"name": "crud-links"... | ef6f166c0eb4f1eb69009e6b3a1bfdc164d91bb1 | mono.json | mono.json | JSON |
<|file_sep|>original/app/views/layouts/admin/_sidebar.html.haml
<|file_sep|>current/app/views/layouts/admin/_sidebar.html.haml
<|file_sep|>updated/app/views/layouts/admin/_sidebar.html.haml | .container-fluid
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
= link_to 'Ideas', admin_ideas_path | <|file_sep|>original/app/views/layouts/admin/_sidebar.html.haml
<|file_sep|>current/app/views/layouts/admin/_sidebar.html.haml
<|file_sep|>updated/app/views/layouts/admin/_sidebar.html.haml
.container-fluid
.row
.col-lg-12.col-md-12.col-sm-12.col-xs-12
= link_to 'Ideas', admin_ideas_path | 3a311c048c78dd106c498a8d8492cb45d7313b1f | app/views/layouts/admin/_sidebar.html.haml | app/views/layouts/admin/_sidebar.html.haml | Haml |
<|file_sep|>original/tests/cli/fsm/fsm_test.py
# Copyright 2015 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | # Copyright 2015 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | <|file_sep|>original/tests/cli/fsm/fsm_test.py
# Copyright 2015 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 9d93a7a5d474a8725125077ae888f2d586955489 | tests/cli/fsm/fsm_test.py | tests/cli/fsm/fsm_test.py | Python |
<|file_sep|>original/README.md
# hand-augmented-reality
<|file_sep|>current/README.md
# hand-augmented-reality
<|file_sep|>updated/README.md | # hand-augmented-reality
Recognizing and tracking a hand on camera.
Constucting normal vector for palm.
Computer vision part of the project is done in OpenCV. | <|file_sep|>original/README.md
# hand-augmented-reality
<|file_sep|>current/README.md
# hand-augmented-reality
<|file_sep|>updated/README.md
# hand-augmented-reality
Recognizing and tracking a hand on camera.
Constucting normal vector for palm.
Computer vision part of the project is done in OpenCV. | 06df463c7a7bbaba0d81afd9d422938ee91e8af8 | README.md | README.md | Markdown |
<|file_sep|>original/14.04/prebuilt/Dockerfile
<|file_sep|>current/14.04/prebuilt/Dockerfile
<|file_sep|>updated/14.04/prebuilt/Dockerfile | # Run an Apple Swift build with the Ubuntu 14.04 buildbot preset using a
# using a codebase provided in a Volume.
# NOTE: This container is bre-built with a full ${BUILD} directory to save build
# time on initial builds.
# Todo: Custom build preset to avoid running tests?
FROM eosrei/swift-dev-buildbot:14.04
# Store... | <|file_sep|>original/14.04/prebuilt/Dockerfile
<|file_sep|>current/14.04/prebuilt/Dockerfile
<|file_sep|>updated/14.04/prebuilt/Dockerfile
# Run an Apple Swift build with the Ubuntu 14.04 buildbot preset using a
# using a codebase provided in a Volume.
# NOTE: This container is bre-built with a full ${BUILD} director... | 410be1f212c1752394aa1366b539ab0df63141ad | 14.04/prebuilt/Dockerfile | 14.04/prebuilt/Dockerfile | unknown |
<|file_sep|>shell/misc/convert-old-documents.sh.diff
original:
for old_extension in "${!extensions[@]}"; do
for old_filepath in `find . | grep -i ".$old_extension$"`; do
updated:
for old_lowercase_extension in "${!extensions[@]}"; do
find . | grep -i ".$old_lowercase_extension$" | while read old_filepath; do
<|... | current_directory=`pwd`
file_directory=`dirname "$old_filepath"`
old_actual_extension="${old_filepath##*.}"
new_extension=${extensions[$old_lowercase_extension]}
old_filename=`basename "$old_filepath"`
new_filename="${old_filename%.$old_actual_extension}.$new_extension"
... | <|file_sep|>shell/misc/convert-old-documents.sh.diff
original:
for old_extension in "${!extensions[@]}"; do
for old_filepath in `find . | grep -i ".$old_extension$"`; do
updated:
for old_lowercase_extension in "${!extensions[@]}"; do
find . | grep -i ".$old_lowercase_extension$" | while read old_filepath; do
<|... | ec9486fd8597d6291c0cd5b3d28f8e0b3fc2cbc9 | shell/misc/convert-old-documents.sh | shell/misc/convert-old-documents.sh | Shell |
<|file_sep|>app/models/player.rb.diff
original:
updated:
belongs_to :member
<|file_sep|>original/app/models/player.rb
class Player < ApplicationRecord
include FriendlyId
mount_uploader :avatar, AvatarUploader unless Rails.env.test?
has_one :address, through: :member
has_one :contact, through: :member
bel... | class Player < ApplicationRecord
include FriendlyId
mount_uploader :avatar, AvatarUploader unless Rails.env.test?
belongs_to :member
has_one :address, through: :member
has_one :contact, through: :member
has_many :attendances, dependent: :destroy
has_and_belongs_to_many :teams
validates :nickname, pr... | <|file_sep|>app/models/player.rb.diff
original:
updated:
belongs_to :member
<|file_sep|>original/app/models/player.rb
class Player < ApplicationRecord
include FriendlyId
mount_uploader :avatar, AvatarUploader unless Rails.env.test?
has_one :address, through: :member
has_one :contact, through: :member
bel... | 9f990d64ab2518d42dfbe7f6194f2374a3e29599 | app/models/player.rb | app/models/player.rb | Ruby |
<|file_sep|>ci/images/get-jdk-url.sh.diff
original:
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
updated:
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b... | #!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.14_... | <|file_sep|>ci/images/get-jdk-url.sh.diff
original:
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
updated:
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b... | bd6d697395efceab68521e598964dca78995a60d | ci/images/get-jdk-url.sh | ci/images/get-jdk-url.sh | Shell |
<|file_sep|>original/test-reproducible.sh
echo
echo Testing reproducible build
echo
clean(){
rm -r build || true
rm -r release-*.zip || true
}
hash(){
find build -name \*.js -execdir shasum -a 512 \{\} +
}
echo Running first build
clean
gulp release
hash > /tmp/myliveenh-expected
echo Expected hash
cat /tmp/myli... |
echo
echo Testing reproducible build
echo
clean(){
rm -r build || true
rm -r release-*.zip || true
}
hash(){
shasum -a 512 `find build -name \*.js | sort`
}
echo Running first build
clean
gulp release
hash > /tmp/myliveenh-expected
echo Expected hash
cat /tmp/myliveenh-expected
| <|file_sep|>original/test-reproducible.sh
echo
echo Testing reproducible build
echo
clean(){
rm -r build || true
rm -r release-*.zip || true
}
hash(){
find build -name \*.js -execdir shasum -a 512 \{\} +
}
echo Running first build
clean
gulp release
hash > /tmp/myliveenh-expected
echo Expected hash
cat /tmp/myli... | d7e00955c33c3e00836639a58747dc79966a0c43 | test-reproducible.sh | test-reproducible.sh | Shell |
<|file_sep|>assets/main.html.diff
original:
updated:
{{{ content }}}
<|file_sep|>original/assets/main.html
</head>
<body>
<div id="altboiler_boilerPlateLoader">
<style type="text/css">
{{{ styles }}}
</style>
<script type="text/javascript">
{{{ script }}}
altboiler.loader.onLoad(alt... | </head>
<body>
<div id="altboiler_boilerPlateLoader">
<style type="text/css">
{{{ styles }}}
</style>
{{{ content }}}
<script type="text/javascript">
{{{ script }}}
altboiler.loader.onLoad(altboiler.loader.removerById('altboiler_boilerPlateLoader'))
altboiler.loader.onLoad(altb... | <|file_sep|>assets/main.html.diff
original:
updated:
{{{ content }}}
<|file_sep|>original/assets/main.html
</head>
<body>
<div id="altboiler_boilerPlateLoader">
<style type="text/css">
{{{ styles }}}
</style>
<script type="text/javascript">
{{{ script }}}
altboiler.loader.onLoad(alt... | 9a8858902b5066df63817850ce8219148c75306f | assets/main.html | assets/main.html | HTML |
<|file_sep|>src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py.diff
original:
import SMESH
updated:
from meshpy import *
<|file_sep|>original/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
import SMESH
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
aMeshGen = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH... | from meshpy import *
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
aFilterMgr = smesh.CreateFilterManager()
aFilter = aFilterMgr.CreateFilter()
aLyingOnGeom = aFilterMgr.CreateLyingOnGeom()
aLyingOnGeom.SetGeom(theShape)
aLyingOnGeom.SetElementType(theElemType)
aFilte... | <|file_sep|>src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py.diff
original:
import SMESH
updated:
from meshpy import *
<|file_sep|>original/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
import SMESH
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
aMeshGen = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH... | b85751e356c091d2dffe8366a94fbb42bfcad34e | src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py | src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py | Python |
<|file_sep|>original/py/island-perimeter.py
<|file_sep|>current/py/island-perimeter.py
<|file_sep|>updated/py/island-perimeter.py | class Solution(object):
def islandPerimeter(self, grid):
"""
:type grid: List[List[int]]
:rtype: int
"""
r = len(grid)
c = len(grid[0])
perimeter = 0
for i in xrange(r):
for j in xrange(c):
if grid[i][j] == 1:
... | <|file_sep|>original/py/island-perimeter.py
<|file_sep|>current/py/island-perimeter.py
<|file_sep|>updated/py/island-perimeter.py
class Solution(object):
def islandPerimeter(self, grid):
"""
:type grid: List[List[int]]
:rtype: int
"""
r = len(grid)
c = len(grid[0])
... | aca1f53bc42915e8994c76607c86f486fb314a7a | py/island-perimeter.py | py/island-perimeter.py | Python |
<|file_sep|>original/js/foam/ui/XMLView.js
* limitations under the License.
*/
CLASS({
package: 'foam.ui',
name: 'XMLView',
extendsModel: 'foam.ui.TextAreaView',
label: 'XML View',
properties: [
{ name: 'displayWidth', defaultValue: 100 },
{ name: 'displayHeight', defaultValue: 100 }
],
meth... | * limitations under the License.
*/
CLASS({
package: 'foam.ui',
name: 'XMLView',
extendsModel: 'foam.ui.TextAreaView',
label: 'XML View',
properties: [
[ 'displayWidth', 100 ],
[ 'displayHeight', 100 ]
],
methods: {
textToValue: function(text) {
return this.val_; // Temporary hack ... | <|file_sep|>original/js/foam/ui/XMLView.js
* limitations under the License.
*/
CLASS({
package: 'foam.ui',
name: 'XMLView',
extendsModel: 'foam.ui.TextAreaView',
label: 'XML View',
properties: [
{ name: 'displayWidth', defaultValue: 100 },
{ name: 'displayHeight', defaultValue: 100 }
],
meth... | ac0ba9bf6e24cfdafec1d068b2bdd71b00b1d61c | js/foam/ui/XMLView.js | js/foam/ui/XMLView.js | JavaScript |
<|file_sep|>original/docker-compose.yml
version: '2.4'
services:
mariadb:
build: src/main/docker/mariadb
ports:
- '3308:3306'
<|file_sep|>current/docker-compose.yml
version: '2.4'
services:
mariadb:
build: src/main/docker/mariadb
ports:
- '3308:3306'
<|file_sep|>updated/docker-compose.ym... | version: '2.4'
services:
mariadb:
build: src/main/docker/mariadb
ports:
- '3308:3306'
mailhog:
image: mailhog/mailhog:v1.0.0
ports:
- '1025:1025'
- '8025:8025' | <|file_sep|>original/docker-compose.yml
version: '2.4'
services:
mariadb:
build: src/main/docker/mariadb
ports:
- '3308:3306'
<|file_sep|>current/docker-compose.yml
version: '2.4'
services:
mariadb:
build: src/main/docker/mariadb
ports:
- '3308:3306'
<|file_sep|>updated/docker-compose.ym... | 54a48894fe66a333824d3dae9d6763b647b01fb3 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/python35/requirements.txt
# Required packages for synapse
tornado==4.5.1
cryptography==2.0.2
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.... | # Required packages for synapse
tornado==4.5.1
cryptography==2.0.3
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.9
nose==1.3.7 | <|file_sep|>original/python35/requirements.txt
# Required packages for synapse
tornado==4.5.1
cryptography==2.0.2
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.... | d64ea910ca134d5c42acc6e9d4655fd46e978733 | python35/requirements.txt | python35/requirements.txt | Text |
<|file_sep|>original/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php
<|file_sep|>current/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php
<|file_sep|>updated/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php | <?php
/**
* This file is part of the Clastic package.
*
* (c) Dries De Peuter <dries@nousefreak.be>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Clastic\FrontBundle\EventListener;
use Clastic\CoreBundle\Module\ModuleMan... | <|file_sep|>original/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php
<|file_sep|>current/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php
<|file_sep|>updated/src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php
<?php
/**
* This file is part of the Clastic pack... | cee4ae2783d3a3700a8e082e1c938734ac89079c | src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php | src/Clastic/FrontBundle/EventListener/NodeDetailTemplateListener.php | PHP |
<|file_sep|>original/spec/run-all.sh
<|file_sep|>current/spec/run-all.sh
<|file_sep|>updated/spec/run-all.sh | #! /bin/bash
set -e
for required_variable in \
GOOGLE_CLOUD_PROJECT \
GOOGLE_APPLICATION_CREDENTIALS \
GOOGLE_CLOUD_STORAGE_BUCKET \
ALTERNATE_GOOGLE_CLOUD_STORAGE_BUCKET \
TRANSLATE_API_KEY \
; do
if [[ -z "${!required_variable}" ... | <|file_sep|>original/spec/run-all.sh
<|file_sep|>current/spec/run-all.sh
<|file_sep|>updated/spec/run-all.sh
#! /bin/bash
set -e
for required_variable in \
GOOGLE_CLOUD_PROJECT \
GOOGLE_APPLICATION_CREDENTIALS \
GOOGLE_CLOUD_STORAGE_BUCKET \
ALTERNATE_G... | 77b2d61b0f27c3466ff5c38ef2b27b47e99d6914 | spec/run-all.sh | spec/run-all.sh | Shell |
<|file_sep|>original/cruise_config.rb
Project.configure do |project|
project.email_notifier.emails = ["scott@butlerpress.com"]
project.build_command = "./script/cruise_build.rb #{project.name}"
end
<|file_sep|>current/cruise_config.rb
Project.configure do |project|
project.email_notifier.emails = ["scott@butlerpr... | Project.configure do |project|
project.email_notifier.emails = ["scott@butlerpress.com", "al.pendergrass@gmail.com"]
project.build_command = "./script/cruise_build.rb #{project.name}"
end | <|file_sep|>original/cruise_config.rb
Project.configure do |project|
project.email_notifier.emails = ["scott@butlerpress.com"]
project.build_command = "./script/cruise_build.rb #{project.name}"
end
<|file_sep|>current/cruise_config.rb
Project.configure do |project|
project.email_notifier.emails = ["scott@butlerpr... | 9ea00338679ab70173e15df40a395cc508c77990 | cruise_config.rb | cruise_config.rb | Ruby |
<|file_sep|>original/lib/merb_activerecord.rb
class Merb::Orms::ActiveRecord::Connect < Merb::BootLoader
after BeforeAppLoads
def self.run
Merb::Orms::ActiveRecord.connect
if Merb::Config.session_stores.include?(:activerecord)
Merb.logger.debug "Using ActiveRecord sessions"
requi... | class Merb::Orms::ActiveRecord::Connect < Merb::BootLoader
after BeforeAppLoads
def self.run
Merb::Orms::ActiveRecord.connect
if Merb::Config.session_stores.include?(:activerecord)
Merb.logger.debug "Using ActiveRecord sessions"
require File.join(File.dirname(__FILE__) / "merb" /... | <|file_sep|>original/lib/merb_activerecord.rb
class Merb::Orms::ActiveRecord::Connect < Merb::BootLoader
after BeforeAppLoads
def self.run
Merb::Orms::ActiveRecord.connect
if Merb::Config.session_stores.include?(:activerecord)
Merb.logger.debug "Using ActiveRecord sessions"
requi... | a11c00175105c20a191ff58dc06322e4c8e62765 | lib/merb_activerecord.rb | lib/merb_activerecord.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
- master
- /^\d+\.\d+\.\d+$/
updated:
- master
- /^\d+\.\d+\.\d+$/
<|file_sep|>.travis.yml.diff
original:
updated:
- tagci="ci"
<|file_sep|>.travis.yml.diff
original:
- docker build -t $image:$tag... |
jobs:
include:
- stage: Build
script:
- docker build -t $image:$tagci .
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
- docker push $image:$tagci
- stage: Test
script:
- docker run --rm -t $image:$tagci /entrypoint.sh build-base
- stage: Publish
... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
- master
- /^\d+\.\d+\.\d+$/
updated:
- master
- /^\d+\.\d+\.\d+$/
<|file_sep|>.travis.yml.diff
original:
updated:
- tagci="ci"
<|file_sep|>.travis.yml.diff
original:
- docker build -t $image:$tag... | 9f567a49a5d002125c1cf25576e2dc3ad4a9707b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md
<|file_sep|>current/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md
<|file_sep|>updated/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md | ---
title: Cake Issues Recipes v1.1.0 released
category: Release Notes
---
Version 1.1.0 of Cake Issues recipes have been released adding support to customize report generation.
<!--excerpt-->
This post shows the highlights included in this release.
For update instructions skip to [Updating from previous versions](#... | <|file_sep|>original/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md
<|file_sep|>current/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md
<|file_sep|>updated/input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md
---
title: Cake Issues Recipes v1.1.0 released
category: Release Notes
---
V... | 9522fb92311e01bc867486375922658b38fed423 | input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md | input/news/2021-08-11-cake-issues-recipe-v1.1.0-released.md | Markdown |
<|file_sep|>original/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_script: composer install
script: phpunit --bootstrap tests/bootstrap.php --coverage-text tests
services:
- couchdb
<|file_sep|>current/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_script: composer install
script: phpunit --boo... | language: php
php:
- "5.3"
- "5.4"
before_script: composer install --dev
script: phpunit --bootstrap tests/bootstrap.php --coverage-text tests
services:
- couchdb | <|file_sep|>original/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_script: composer install
script: phpunit --bootstrap tests/bootstrap.php --coverage-text tests
services:
- couchdb
<|file_sep|>current/.travis.yml
language: php
php:
- "5.3"
- "5.4"
before_script: composer install
script: phpunit --boo... | f9bf48bcc2cd3dc3daa9a51b7ade4fc67492eec1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/runcommands/completion/fish/runcommands.fish
complete \
--no-files \
-c run -c runcommand -c runcommands \
-a '(runcommands-complete -- \
(commandline) \
(commandline --current-token) \
(commandline --cursor) \
fish)'
<|file_sep|>curre... | complete \
--no-files \
-c run -c runcommand -c runcommands -c commands.py \
-a '(runcommands-complete -- \
(commandline) \
(commandline --current-token) \
(commandline --cursor) \
fish)' | <|file_sep|>original/runcommands/completion/fish/runcommands.fish
complete \
--no-files \
-c run -c runcommand -c runcommands \
-a '(runcommands-complete -- \
(commandline) \
(commandline --current-token) \
(commandline --cursor) \
fish)'
<|file_sep|>curre... | 016ac47ce95235d7ac002f059cf8881b8e354263 | runcommands/completion/fish/runcommands.fish | runcommands/completion/fish/runcommands.fish | fish |
<|file_sep|>moksha/widgets/iframe.py.diff
original:
params = ['id', 'url']
updated:
params = ['id', 'url', 'title', 'height', 'width']
<|file_sep|>moksha/widgets/iframe.py.diff
original:
<iframe id="${id}" src="${url}" width="100%" height="100%">
updated:
<h1>${title}</h1>
<iframe id="${id}" s... | :mod:`moksha.widgets.iframe` - An IFrame Widget
===============================================
.. moduleauthor:: Luke Macken <lmacken@redhat.com>
"""
from tw.api import Widget
class IFrameWidget(Widget):
params = ['id', 'url', 'title', 'height', 'width']
template = """
<h1>${title}</h1>
<iframe ... | <|file_sep|>moksha/widgets/iframe.py.diff
original:
params = ['id', 'url']
updated:
params = ['id', 'url', 'title', 'height', 'width']
<|file_sep|>moksha/widgets/iframe.py.diff
original:
<iframe id="${id}" src="${url}" width="100%" height="100%">
updated:
<h1>${title}</h1>
<iframe id="${id}" s... | 6191a5afd390cbd7e892e73af959d8d4cd68f52b | moksha/widgets/iframe.py | moksha/widgets/iframe.py | Python |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
<|file_sep|>current/.travis.yml
language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.8
- tip
script: go test -v
sudo: false | <|file_sep|>original/.travis.yml
language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
<|file_sep|>current/.travis.yml
language: go
go:
- 1.7
- tip
script: go test -v
sudo: false
<|file_sep|>updated/.travis.yml
language: go
go:
- 1.8
- tip
script: go test -v
sudo: false | ef444a6b9689d91fbe063ccd41aa7090f01daf6c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/circle.yml
machine:
timezone:
Europe/Paris
services:
- docker
dependencies:
pre:
cache_directories:
- "~/docker"
override:
- if [[ -e ~/docker/compose-images.tar ]]; then docker load --input ~/docker/compose-images.tar; fi
- docker-compose -f docker-compose.stage.yml p... | machine:
timezone:
Europe/Paris
services:
- docker
dependencies:
pre:
cache_directories:
- "~/docker"
override:
- if [[ -e ~/docker/compose-images.tar ]]; then docker load --input ~/docker/compose-images.tar; fi
- docker-compose -f docker-compose.yml -f docker-compose.stage.yml pull
- ... | <|file_sep|>original/circle.yml
machine:
timezone:
Europe/Paris
services:
- docker
dependencies:
pre:
cache_directories:
- "~/docker"
override:
- if [[ -e ~/docker/compose-images.tar ]]; then docker load --input ~/docker/compose-images.tar; fi
- docker-compose -f docker-compose.stage.yml p... | 524a87f73bacf47ac6d99bd63238fbaacf419402 | circle.yml | circle.yml | YAML |
<|file_sep|>original/package.json
"node": "*"
},
"bin": {
"stylus": "./bin/stylus"
},
"scripts": {
"prepublish": "npm prune",
"test": "make test"
},
"dependencies": {
"css-parse": "1.7.x",
"mkdirp": "0.3.x",
"debug": "*",
"sax": "0.5.x",
"glob": "3.2.x"
},
"devDepende... | },
"bin": {
"stylus": "./bin/stylus"
},
"scripts": {
"prepublish": "npm prune",
"test": "make test"
},
"dependencies": {
"css-parse": "1.7.x",
"mkdirp": "0.3.x",
"debug": "*",
"sax": "0.5.x",
"glob": "3.2.x"
},
"devDependencies": {
"should": "*",
"mocha": "*",
... | <|file_sep|>original/package.json
"node": "*"
},
"bin": {
"stylus": "./bin/stylus"
},
"scripts": {
"prepublish": "npm prune",
"test": "make test"
},
"dependencies": {
"css-parse": "1.7.x",
"mkdirp": "0.3.x",
"debug": "*",
"sax": "0.5.x",
"glob": "3.2.x"
},
"devDepende... | a273f5399cf5063d4978b0238e3ed3f04b53b584 | package.json | package.json | JSON |
<|file_sep|>original/core/client/utils/word-count.js
export default function (s) {
s = s.replace(/(^\s*)|(\s*$)/gi, ''); // exclude start and end white-space
s = s.replace(/[ ]{2,}/gi, ' '); // 2 or more space to 1
s = s.replace(/\n /, '\n'); // exclude newline with a start spacing
return s.split(' ').... | export default function (s) {
s = s.replace(/(^\s*)|(\s*$)/gi, ''); // exclude start and end white-space
s = s.replace(/[ ]{2,}/gi, ' '); // 2 or more space to 1
s = s.replace(/\n /gi, '\n'); // exclude newline with a start spacing
s = s.replace(/\n+/gi, '\n');
return s.split(/ |\n/).length;
} | <|file_sep|>original/core/client/utils/word-count.js
export default function (s) {
s = s.replace(/(^\s*)|(\s*$)/gi, ''); // exclude start and end white-space
s = s.replace(/[ ]{2,}/gi, ' '); // 2 or more space to 1
s = s.replace(/\n /, '\n'); // exclude newline with a start spacing
return s.split(' ').... | 8b3e2c636fbdf357b66ceef2191ab9abdd19b8df | core/client/utils/word-count.js | core/client/utils/word-count.js | JavaScript |
<|file_sep|>original/tests/end_to_end.sh
set -e
# Create temp repo
pushd $(mktemp -d)
temp_repo=$(pwd)
git init
echo "A" > a.txt
git add *
git commit -am "First commit"
popd
# tests workspace
pushd $(mktemp -d)
gitorg init
gitorg add local:$temp_repo
gitorg add web:https://github.com/mariocj89/dothub.git
gitorg add ... | set -e
set -x
# Create temp repo
pushd $(mktemp -d)
temp_repo=$(pwd)
git init
echo "A" > a.txt
git add *
git commit -am "First commit"
popd
# tests workspace
pushd $(mktemp -d)
gitorg init
gitorg add local:$temp_repo
gitorg add web:https://github.com/mariocj89/dothub.git
gitorg add github:dothub-sandbox
gitorg add g... | <|file_sep|>original/tests/end_to_end.sh
set -e
# Create temp repo
pushd $(mktemp -d)
temp_repo=$(pwd)
git init
echo "A" > a.txt
git add *
git commit -am "First commit"
popd
# tests workspace
pushd $(mktemp -d)
gitorg init
gitorg add local:$temp_repo
gitorg add web:https://github.com/mariocj89/dothub.git
gitorg add ... | c16ea94c95c86914fc6789ea61c6e58594f3ca33 | tests/end_to_end.sh | tests/end_to_end.sh | Shell |
<|file_sep|>original/src/Classes/QueryableInterface.php
*/
public function find($name, $fields = []);
/**
* Get all of the records from AD.
*
* @param array $fields
* @param bool|true $sorted
* @param string $sortBy
*
* @return array|bool
*/
public functi... | */
public function find($name, $fields = []);
/**
* Get all of the records from AD.
*
* @param array $fields
* @param bool|true $sorted
* @param string $sortBy
*
* @return array|bool
*/
public function all($fields = [], $sorted = true, $sortBy = 'cn');
... | <|file_sep|>original/src/Classes/QueryableInterface.php
*/
public function find($name, $fields = []);
/**
* Get all of the records from AD.
*
* @param array $fields
* @param bool|true $sorted
* @param string $sortBy
*
* @return array|bool
*/
public functi... | 2b5d09ac7fdc7596725e142edf41fef4d3d279b8 | src/Classes/QueryableInterface.php | src/Classes/QueryableInterface.php | PHP |
<|file_sep|>logconfig.xml.diff
original:
<appender name="RollInfo" class="org.apache.log4j.rolling.RollingFileAppender">
updated:
<appender name="RollInfo" class="org.apache.log4j.DailyRollingFileAppender">
<|file_sep|>logconfig.xml.diff
original:
<rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingP... | <param name="File" value="/var/log/driveshaft/info.log"/>
<param name="DatePattern" value="'-'%d{yyyyMMdd}"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d] [%t] [%p] [%t] [%c] %m%n"/>
</layout>
</appender>
<appender name="RollError" class="org.apa... | <|file_sep|>logconfig.xml.diff
original:
<appender name="RollInfo" class="org.apache.log4j.rolling.RollingFileAppender">
updated:
<appender name="RollInfo" class="org.apache.log4j.DailyRollingFileAppender">
<|file_sep|>logconfig.xml.diff
original:
<rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingP... | afac1ad382b99866c3b814c3493825aee6b5ad40 | logconfig.xml | logconfig.xml | XML |
<|file_sep|>original/.eslintrc.yml
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/BigstickCarpet/eslint-config-modular
extends:
- modular/best-practices
- modular/style
- modular/es6
- modular/node
<|file_sep|>current/.eslintrc.yml
# ESLint config
# http://eslint.org/docs/... | # ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/BigstickCarpet/eslint-config-modular
root: true
extends:
- modular/best-practices
- modular/style
- modular/es6
- modular/node | <|file_sep|>original/.eslintrc.yml
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/BigstickCarpet/eslint-config-modular
extends:
- modular/best-practices
- modular/style
- modular/es6
- modular/node
<|file_sep|>current/.eslintrc.yml
# ESLint config
# http://eslint.org/docs/... | ec0080912f68a699fe51b95f902509e26adc7c85 | .eslintrc.yml | .eslintrc.yml | YAML |
<|file_sep|>original/Client/WeaponMount.cs
public float OffsetMag;
public MountSize Size;
public static WeaponMount FromLua(IntPtr L, int tableidx) {
LuaAPI.luaL_checktype(L, tableidx, LuaAPI.LUA_TTABLE);
WeaponMount ret = new WeaponMount();
LuaAPI.lua_getfi... | public float OffsetMag;
public MountSize Size;
public static WeaponMount FromLua(IntPtr L, int tableidx) {
LuaAPI.luaL_checktype(L, tableidx, LuaAPI.LUA_TTABLE);
WeaponMount ret = new WeaponMount();
LuaAPI.lua_getfield(L, tableidx, "position");
L... | <|file_sep|>original/Client/WeaponMount.cs
public float OffsetMag;
public MountSize Size;
public static WeaponMount FromLua(IntPtr L, int tableidx) {
LuaAPI.luaL_checktype(L, tableidx, LuaAPI.LUA_TTABLE);
WeaponMount ret = new WeaponMount();
LuaAPI.lua_getfi... | 04974714bc392db74873a2711a376159bc98d5db | Client/WeaponMount.cs | Client/WeaponMount.cs | C# |
<|file_sep|>vendor/plugins/vacancies/app/models/vacancy.rb.diff
original:
validates_presence_of :job_title
validates_uniqueness_of :job_title
updated:
<|file_sep|>original/vendor/plugins/vacancies/app/models/vacancy.rb
class Vacancy < ActiveRecord::Base
acts_as_indexed :fields => [:job_title, :reference, :star... | class Vacancy < ActiveRecord::Base
acts_as_indexed :fields => [:job_title, :reference, :starting_salary, :past_probation, :closing_date, :description]
belongs_to :file_download, :class_name => 'Resource'
end | <|file_sep|>vendor/plugins/vacancies/app/models/vacancy.rb.diff
original:
validates_presence_of :job_title
validates_uniqueness_of :job_title
updated:
<|file_sep|>original/vendor/plugins/vacancies/app/models/vacancy.rb
class Vacancy < ActiveRecord::Base
acts_as_indexed :fields => [:job_title, :reference, :star... | 1c763546706ef59ee01b09490ccfdf36d62a5f63 | vendor/plugins/vacancies/app/models/vacancy.rb | vendor/plugins/vacancies/app/models/vacancy.rb | Ruby |
<|file_sep|>original/README.md
# zend-filter
The `Zend\Filter` component provides a set of commonly needed data filters. It
also provides a simple filter chaining mechanism by which multiple filters may
be applied to a single datum in a user-defined order.
- File issues at https://github.com/zendframework/zend-filte... | # zend-filter
[](https://secure.travis-ci.org/zendframework/zend-filter)
[](https://coveralls.io/r/zendframework/zend-filter)
The `Ze... | <|file_sep|>original/README.md
# zend-filter
The `Zend\Filter` component provides a set of commonly needed data filters. It
also provides a simple filter chaining mechanism by which multiple filters may
be applied to a single datum in a user-defined order.
- File issues at https://github.com/zendframework/zend-filte... | 8075ec071f17cf39d84722741b13edfb88b54e2d | README.md | README.md | Markdown |
<|file_sep|>original/docker/devstack_common_ansible_overrides.yml
# These variables are loaded into most devstack images via their Dockerfile
EDXAPP_LMS_BASE: 'edx.devstack.lms:18000'
EDXAPP_LMS_ROOT_URL: 'http://{{ EDXAPP_LMS_BASE }}'
EDXAPP_LMS_PUBLIC_ROOT_URL: 'http://localhost:18000'
COMMON_OAUTH_BASE_URL: '{{ E... |
# These variables are loaded into most devstack images via their Dockerfile
EDXAPP_LMS_BASE: 'edx.devstack.lms:18000'
EDXAPP_LMS_ROOT_URL: 'http://{{ EDXAPP_LMS_BASE }}'
EDXAPP_LMS_PUBLIC_ROOT_URL: 'http://localhost:18000'
COMMON_OAUTH_BASE_URL: '{{ EDXAPP_LMS_PUBLIC_ROOT_URL }}'
COMMON_OAUTH_URL_ROOT: '{{ EDXAPP_LM... | <|file_sep|>original/docker/devstack_common_ansible_overrides.yml
# These variables are loaded into most devstack images via their Dockerfile
EDXAPP_LMS_BASE: 'edx.devstack.lms:18000'
EDXAPP_LMS_ROOT_URL: 'http://{{ EDXAPP_LMS_BASE }}'
EDXAPP_LMS_PUBLIC_ROOT_URL: 'http://localhost:18000'
COMMON_OAUTH_BASE_URL: '{{ E... | 7444038f3680b122228a48c12c3309791baea233 | docker/devstack_common_ansible_overrides.yml | docker/devstack_common_ansible_overrides.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.