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/db/migrations/20100820_create_db.rb
Sequel.migration do
down do
drop_table :tokens, :tweets
end
up do
unless table_exists?(:tokens)
create_table :tokens do
varchar :token, :null => false, :size => 255
varchar :type, :null => false, :size => 255
bigint ... | Sequel.migration do
down do
drop_table :tokens, :tweets
end
up do
unless table_exists?(:tokens)
create_table :tokens do
varchar :token, :null => false, :size => 200
varchar :type, :null => false, :size => 100
bigint :count, :null => false, :default => 0
primary_ke... | <|file_sep|>original/db/migrations/20100820_create_db.rb
Sequel.migration do
down do
drop_table :tokens, :tweets
end
up do
unless table_exists?(:tokens)
create_table :tokens do
varchar :token, :null => false, :size => 255
varchar :type, :null => false, :size => 255
bigint ... | eb93f7f7255d088849067fff15382fe73f245de2 | db/migrations/20100820_create_db.rb | db/migrations/20100820_create_db.rb | Ruby |
<|file_sep|>original/recipes/openmeeg/bld.bat
set CMAKE_CONFIG=Release
mkdir build_%CMAKE_CONFIG%
pushd build_%CMAKE_CONFIG%
cmake -G "NMake Makefiles" ^
-DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^
-DBLA_VENDOR:STRING=OpenBLAS ^
-DENABLE_PYTHON:BOOL=O... | set CMAKE_CONFIG=Release
mkdir build_%CMAKE_CONFIG%
pushd build_%CMAKE_CONFIG%
cmake -G "NMake Makefiles" ^
-DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^
-DBLA_VENDOR:STRING=OpenBLAS ^
-DENABLE_PYTHON:BOOL=ON ^
-DCMAKE_INSTA... | <|file_sep|>original/recipes/openmeeg/bld.bat
set CMAKE_CONFIG=Release
mkdir build_%CMAKE_CONFIG%
pushd build_%CMAKE_CONFIG%
cmake -G "NMake Makefiles" ^
-DCMAKE_BUILD_TYPE:STRING=%CMAKE_CONFIG% ^
-DBLA_VENDOR:STRING=OpenBLAS ^
-DENABLE_PYTHON:BOOL=O... | ed793b875b9a38c96bf59301d29a415018643036 | recipes/openmeeg/bld.bat | recipes/openmeeg/bld.bat | Batchfile |
<|file_sep|>bin/fzf/act_mirror_repo.sh.diff
original:
ITEM_PATH="$ROOT/$ITEM"
updated:
MIRROR="$ROOT/$ITEM"
<|file_sep|>original/bin/fzf/act_mirror_repo.sh
#!/bin/bash
ITEM="$1"
ROOT="$HOME/repo/out"
ITEM_PATH="$ROOT/$ITEM"
git clone $ITEM_PATH
<|file_sep|>current/bin/fzf/act_mirror_repo.sh
#!/bin/bash
ITEM="$1"
ROO... | #!/bin/bash
ITEM="$1"
ROOT="$HOME/repo/out"
MIRROR="$ROOT/$ITEM"
ITEM_TAIL=$(echo "$ITEM" | tr "/" "\n" | tail -n 1)
git clone $MIRROR
ORIGIN=$(cd $MIRROR && git remote get-url origin)
$(cd $ITEM_TAIL && git remote set-url origin "$ORIGIN")
$(cd $ITEM_TAIL && git remote add mirror "$MIRROR") | <|file_sep|>bin/fzf/act_mirror_repo.sh.diff
original:
ITEM_PATH="$ROOT/$ITEM"
updated:
MIRROR="$ROOT/$ITEM"
<|file_sep|>original/bin/fzf/act_mirror_repo.sh
#!/bin/bash
ITEM="$1"
ROOT="$HOME/repo/out"
ITEM_PATH="$ROOT/$ITEM"
git clone $ITEM_PATH
<|file_sep|>current/bin/fzf/act_mirror_repo.sh
#!/bin/bash
ITEM="$1"
ROO... | dd7e317a580df499bd5dafbb530f2bf459306e76 | bin/fzf/act_mirror_repo.sh | bin/fzf/act_mirror_repo.sh | Shell |
<|file_sep|>main.py.diff
original:
import time
import os
updated:
from time import ctime
<|file_sep|>main.py.diff
original:
updated:
from tweepy.utils import import_simplejson
json = import_simplejson()
<|file_sep|>main.py.diff
original:
def __init__(self, api, start_time, time_limit=60):
self.time = start... |
def on_error(self, error):
print("Returned error code %s" % error)
return False
def on_status(self, status):
if status.user.id == self.followed_user:
print("Tweeting at %s" % ctime())
if __name__ == "__main__":
auth = OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
... | <|file_sep|>main.py.diff
original:
import time
import os
updated:
from time import ctime
<|file_sep|>main.py.diff
original:
updated:
from tweepy.utils import import_simplejson
json = import_simplejson()
<|file_sep|>main.py.diff
original:
def __init__(self, api, start_time, time_limit=60):
self.time = start... | 7dd8e3339d5e29f5be4e84f949ac607c9ebddb97 | main.py | main.py | Python |
<|file_sep|>original/requirements.txt
PyYAML==3.11
Twisted==14.0.2
argparse==1.2.2
enum34==1.0.4
pytimeparse>=1.1.0
cobe==2.1.1
<|file_sep|>current/requirements.txt
PyYAML==3.11
Twisted==14.0.2
argparse==1.2.2
enum34==1.0.4
pytimeparse>=1.1.0
cobe==2.1.1
<|file_sep|>updated/requirements.txt | PyYAML==3.11
Twisted==15.0.0
enum34==1.0.4
pytimeparse>=1.1.0
cobe==2.1.1 | <|file_sep|>original/requirements.txt
PyYAML==3.11
Twisted==14.0.2
argparse==1.2.2
enum34==1.0.4
pytimeparse>=1.1.0
cobe==2.1.1
<|file_sep|>current/requirements.txt
PyYAML==3.11
Twisted==14.0.2
argparse==1.2.2
enum34==1.0.4
pytimeparse>=1.1.0
cobe==2.1.1
<|file_sep|>updated/requirements.txt
PyYAML==3.11
Twisted==15.0.0... | e6927549fa00d4cc7c4d8d85ebeafbe56a89113e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/res/layout/row_gist.xml
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:paddingTop="8dp"
android:paddingBottom="8dp" >
<TextView
android:id="... | android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:paddingTop="8dp"
android:paddingBottom="8dp" >
<TextView
android:id="@+id/tv_title"
android:layout_width="... | <|file_sep|>original/res/layout/row_gist.xml
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:paddingTop="8dp"
android:paddingBottom="8dp" >
<TextView
android:id="... | f368709b8a85190ec465d32cefb9228f7587d388 | res/layout/row_gist.xml | res/layout/row_gist.xml | XML |
<|file_sep|>original/app/routes/participate/survey/index.js
export default Ember.Route.extend({
setupController(controller, session) {
this._super(controller, session);
controller.set('experiment', this.controllerFor('participate.survey').get('experiment'));
controller.set('session', session);
control... | export default Ember.Route.extend({
setupController(controller, session) {
this._super(controller, session);
controller.set('experiment', this.controllerFor('participate.survey').get('experiment'));
controller.set('session', session);
controller.set('pastSessions', []);
},
actions: {
willTrans... | <|file_sep|>original/app/routes/participate/survey/index.js
export default Ember.Route.extend({
setupController(controller, session) {
this._super(controller, session);
controller.set('experiment', this.controllerFor('participate.survey').get('experiment'));
controller.set('session', session);
control... | 4c6be26db2a40bdc395c93de3ee4c8b6f47e959f | app/routes/participate/survey/index.js | app/routes/participate/survey/index.js | JavaScript |
<|file_sep|>original/doc/commit_guidelines.md
sweet new API methods
## Good
Refactor subsystem X for readability
Update getting started documentation
Remove deprecated methods
Release version 1.0.0
# Pull request titles
For pull request titles we should use the same rules as for the subject line of a commit, but w... | sweet new API methods
## Good
Refactor subsystem X for readability
Update getting started documentation
Remove deprecated methods
Release version 1.0.0
# Pull request titles
For pull request titles we should use the same rules as for the subject line of a commit, but we need to prefix the issue id (or QUICK-FIX or... | <|file_sep|>original/doc/commit_guidelines.md
sweet new API methods
## Good
Refactor subsystem X for readability
Update getting started documentation
Remove deprecated methods
Release version 1.0.0
# Pull request titles
For pull request titles we should use the same rules as for the subject line of a commit, but w... | 0b4e224bd8a8fbbb990cafa5b3167d629c69fab4 | doc/commit_guidelines.md | doc/commit_guidelines.md | Markdown |
<|file_sep|>pkgs/desktops/gnustep/base/default.nix.diff
original:
, libffi
updated:
, libffi, libbfd
<|file_sep|>original/pkgs/desktops/gnustep/base/default.nix
name = "gnustep-base-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz";
sha256 = "17mnilg... | name = "gnustep-base-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz";
sha256 = "17mnilg28by74wc08nkwp6gi06x3j2nrcf05wg64nrw5ljffp2zj";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [
aspell audiofile
cups
gmp gnutl... | <|file_sep|>pkgs/desktops/gnustep/base/default.nix.diff
original:
, libffi
updated:
, libffi, libbfd
<|file_sep|>original/pkgs/desktops/gnustep/base/default.nix
name = "gnustep-base-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz";
sha256 = "17mnilg... | 8f525e762157f21914052869bbd5f025fd79d0c6 | pkgs/desktops/gnustep/base/default.nix | pkgs/desktops/gnustep/base/default.nix | Nix |
<|file_sep|>original/bower.json
"name": "Leonardo Zizzamia",
"homepage": "https://twitter.com/Zizzamia"
}
],
"description": "A lightweight, flexible, and tasty collection of reusable UI components for AngularJS.",
"devDependencies": {
"angular": "^1.4.1",
"angular-route": "^1.4.1",
"an... | "name": "Leonardo Zizzamia",
"homepage": "https://twitter.com/Zizzamia"
}
],
"description": "A lightweight, flexible, and tasty collection of reusable UI components for AngularJS.",
"devDependencies": {
"angular": "^1.4.1",
"angular-route": "^1.4.1",
"angular-mocks": "^1.4.1",
"boo... | <|file_sep|>original/bower.json
"name": "Leonardo Zizzamia",
"homepage": "https://twitter.com/Zizzamia"
}
],
"description": "A lightweight, flexible, and tasty collection of reusable UI components for AngularJS.",
"devDependencies": {
"angular": "^1.4.1",
"angular-route": "^1.4.1",
"an... | 2b8656c6bc0fc893d31f86b3cdda65ba153a020d | bower.json | bower.json | JSON |
<|file_sep|>original/Cargo.toml
# Copyright (C) 2015 Ahmed Charles - acharles@outlook.com
# Distributed under the MIT License.
# (See accompanying file LICENSE.txt or copy at
# http://opensource.org/licenses/MIT)
[package]
name = "lua-rs"
version = "0.0.2"
authors = ["Ahmed Charles <acharles@outlook.com>"... | # Copyright (C) 2015 Ahmed Charles - acharles@outlook.com
# Distributed under the MIT License.
# (See accompanying file LICENSE.txt or copy at
# http://opensource.org/licenses/MIT)
[package]
name = "lua-rs"
version = "0.0.3"
authors = ["Ahmed Charles <acharles@outlook.com>"]
description = "Lua port writte... | <|file_sep|>original/Cargo.toml
# Copyright (C) 2015 Ahmed Charles - acharles@outlook.com
# Distributed under the MIT License.
# (See accompanying file LICENSE.txt or copy at
# http://opensource.org/licenses/MIT)
[package]
name = "lua-rs"
version = "0.0.2"
authors = ["Ahmed Charles <acharles@outlook.com>"... | dfea864bac3db779336ed748668f8eed685099a7 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/src/app/home/home.scss
margin-left: rem(10);
margin-right: rem(10);
ul {
// @include span-columns(12);
}
.project-card {
// @include span-columns(6);
// @include omega(4n);
// display: inline-block;
// margin-right: 0;
}
.project-title {
text-align: center;
... |
ul {
// @include span-columns(12);
}
.project-card {
// @include span-columns(6);
// @include omega(4n);
// display: inline-block;
// margin-right: 0;
}
.project-title {
text-align: center;
}
}
.contact {
margin-top: 4rem;
margin-bottom: 4rem;
text-align: center;
} | <|file_sep|>original/src/app/home/home.scss
margin-left: rem(10);
margin-right: rem(10);
ul {
// @include span-columns(12);
}
.project-card {
// @include span-columns(6);
// @include omega(4n);
// display: inline-block;
// margin-right: 0;
}
.project-title {
text-align: center;
... | 097fb0388c83f050198a7ab4c4ea75dea349b879 | src/app/home/home.scss | src/app/home/home.scss | SCSS |
<|file_sep|>original/README.md
# zend-json
`Zend\Json` provides convenience methods for serializing native PHP to JSON and
decoding JSON to native PHP. For more information on JSON, visit the JSON
[project site](http://www.json.org/).
- File issues at https://github.com/zendframework/zend-json/issues
- Documentation... | # zend-json
[](https://secure.travis-ci.org/zendframework/zend-json)
[](https://coveralls.io/r/zendframework/zend-json)
`Zend\Json` provi... | <|file_sep|>original/README.md
# zend-json
`Zend\Json` provides convenience methods for serializing native PHP to JSON and
decoding JSON to native PHP. For more information on JSON, visit the JSON
[project site](http://www.json.org/).
- File issues at https://github.com/zendframework/zend-json/issues
- Documentation... | 321917bb3c9f09bb5a1a1103ecd2f7f9e51eac43 | README.md | README.md | Markdown |
<|file_sep|>original/code_test.Dockerfile
FROM python:3.7-slim
WORKDIR /root
COPY ./requirements.txt /root/requirements.txt
# TODO: copy in permanent code run stuff?
# TODO remove requirements.txt?
# ENTRYPOINT ["bash"]
CMD ["tail", "-f", "/dev/null"]
<|file_sep|>current/code_test.Dockerfile
FROM python:3.7-sli... | FROM python:3.7-slim
WORKDIR /root
COPY ./requirements.txt /root/requirements.txt
# TODO: copy in permanent code run stuff?
ENV PYTHONIOENCODING=utf-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
# TODO remove requirements.txt?
# ENTRYPOINT ["bash"]
CMD ["tail", "-f", "/dev/null"] | <|file_sep|>original/code_test.Dockerfile
FROM python:3.7-slim
WORKDIR /root
COPY ./requirements.txt /root/requirements.txt
# TODO: copy in permanent code run stuff?
# TODO remove requirements.txt?
# ENTRYPOINT ["bash"]
CMD ["tail", "-f", "/dev/null"]
<|file_sep|>current/code_test.Dockerfile
FROM python:3.7-sli... | 7f19b5b2cecdd4e94465a7699f0fbb6447a4273a | code_test.Dockerfile | code_test.Dockerfile | unknown |
<|file_sep|>fs/fs/src/fs_mkdir.c.diff
original:
updated:
struct fs_ops *fops_from_filename(const char *);
<|file_sep|>fs/fs/src/fs_mkdir.c.diff
original:
struct fs_ops *fops = safe_fs_ops_for("fatfs");
updated:
struct fs_ops *fops = fops_from_filename(from);
<|file_sep|>original/fs/fs/src/fs_mkdir.c
* specif... | */
#include <fs/fs.h>
#include <fs/fs_if.h>
#include "fs_priv.h"
struct fs_ops *fops_from_filename(const char *);
int
fs_rename(const char *from, const char *to)
{
struct fs_ops *fops = fops_from_filename(from);
return fops->f_rename(from, to);
}
int
fs_mkdir(const char *path)
{
struct fs_ops *fops = f... | <|file_sep|>fs/fs/src/fs_mkdir.c.diff
original:
updated:
struct fs_ops *fops_from_filename(const char *);
<|file_sep|>fs/fs/src/fs_mkdir.c.diff
original:
struct fs_ops *fops = safe_fs_ops_for("fatfs");
updated:
struct fs_ops *fops = fops_from_filename(from);
<|file_sep|>original/fs/fs/src/fs_mkdir.c
* specif... | 4326070fe4b5f9f92c6dca263b9cfb53236537c8 | fs/fs/src/fs_mkdir.c | fs/fs/src/fs_mkdir.c | C |
<|file_sep|>original/setup.py
long_description=long_description,
author='Agustin Barto',
author_email='abarto@gmail.com',
url='https://github.com/abarto/django_uncertainty',
license='BSD',
install_requires=[],
tests_require=['Django>=1.10'],
test_suite='uncertainty.tests.... | description='A Django middleware to generate predictable errors on sites',
long_description=long_description,
author='Agustin Barto',
author_email='abarto@gmail.com',
url='https://github.com/abarto/django_uncertainty',
license='BSD',
install_requires=[],
tests_require=['D... | <|file_sep|>original/setup.py
long_description=long_description,
author='Agustin Barto',
author_email='abarto@gmail.com',
url='https://github.com/abarto/django_uncertainty',
license='BSD',
install_requires=[],
tests_require=['Django>=1.10'],
test_suite='uncertainty.tests.... | 7a80fd081c6d8ece2b199f4a7915dc59d1805437 | setup.py | setup.py | Python |
<|file_sep|>src/models/User.js.diff
original:
updated:
this.id = params.id;
<|file_sep|>original/src/models/User.js
export default class User {
constructor(params) {
this.email = params.email;
this.name = params.name;
this.gravatar = params.gravatar;
this.status = params.activity_status;
this... | export default class User {
constructor(params) {
this.id = params.id;
this.email = params.email;
this.name = params.name;
this.gravatar = params.gravatar;
this.status = params.activity_status;
this.slackUserName = params.slack_user_name;
this.activities = {
duration: params.duration... | <|file_sep|>src/models/User.js.diff
original:
updated:
this.id = params.id;
<|file_sep|>original/src/models/User.js
export default class User {
constructor(params) {
this.email = params.email;
this.name = params.name;
this.gravatar = params.gravatar;
this.status = params.activity_status;
this... | 9b443d13a1b4226e0f8085edd918f0d638177333 | src/models/User.js | src/models/User.js | JavaScript |
<|file_sep|>original/ob_pipelines/apps/samtools/sort-coord-definition.json
{
"jobDefinitionName": "samtools-sort-by-coord",
"type": "container",
"containerProperties": {
"image": "outlierbio/samtools",
"vcpus": 8,
"memory": 50000,
"command": [
"sort",
... | {
"jobDefinitionName": "samtools-sort-by-coord",
"type": "container",
"containerProperties": {
"image": "outlierbio/samtools",
"vcpus": 8,
"memory": 50000,
"command": [
"samtools",
"sort",
"-m", "8G",
"-o", "Ref::output",
... | <|file_sep|>original/ob_pipelines/apps/samtools/sort-coord-definition.json
{
"jobDefinitionName": "samtools-sort-by-coord",
"type": "container",
"containerProperties": {
"image": "outlierbio/samtools",
"vcpus": 8,
"memory": 50000,
"command": [
"sort",
... | b06dd818b4f012710bf5e6ff3649f13235a21d58 | ob_pipelines/apps/samtools/sort-coord-definition.json | ob_pipelines/apps/samtools/sort-coord-definition.json | JSON |
<|file_sep|>original/1.8/library/logger/fixtures/common.rb
require 'logger'
module LoggerSpecs
def self.strip_date(str)
str[37..-1].lstrip
end
class TestApp < Logger::Application
def initialize(appname, log_file=nil)
super(appname)
self.set_log(log_file) if log_file
end
def run
... | require 'logger'
module LoggerSpecs
def self.strip_date(str)
str[38..-1].lstrip
end
class TestApp < Logger::Application
def initialize(appname, log_file=nil)
super(appname)
self.set_log(log_file) if log_file
end
def run
log(WARN, "Test log message")
end
end
end | <|file_sep|>original/1.8/library/logger/fixtures/common.rb
require 'logger'
module LoggerSpecs
def self.strip_date(str)
str[37..-1].lstrip
end
class TestApp < Logger::Application
def initialize(appname, log_file=nil)
super(appname)
self.set_log(log_file) if log_file
end
def run
... | 7e2738f9ab28114f8277983c6251ef29df83743e | 1.8/library/logger/fixtures/common.rb | 1.8/library/logger/fixtures/common.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- /.*/
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-ch... | language: node_js
sudo: required
dist: trusty
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- /.*/
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages... | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- /.*/
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-ch... | 421b742b259f28e6110a90e26a5828d4411b85bd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/data/automated/run_info-variantcall.yaml
- analysis: SNP calling
algorithm:
#aligner: bwa
aligner: novoalign
variantcaller: [gatk, samtools]
#variantcaller: gatk-haplotype
#variantcaller: freebayes
#variantcaller: cortex
#sv_detection: hydra
... | - analysis: SNP calling
algorithm:
#aligner: bwa
aligner: novoalign
variantcaller: [gatk, samtools]
#variantcaller: gatk-haplotype
#variantcaller: freebayes
#variantcaller: cortex
#sv_detection: hydra
# ensemble:
# format-filters: [DP < 4]
# classifi... | <|file_sep|>original/tests/data/automated/run_info-variantcall.yaml
- analysis: SNP calling
algorithm:
#aligner: bwa
aligner: novoalign
variantcaller: [gatk, samtools]
#variantcaller: gatk-haplotype
#variantcaller: freebayes
#variantcaller: cortex
#sv_detection: hydra
... | e1d64e1023db60662b2829472e48f3d26134fa2c | tests/data/automated/run_info-variantcall.yaml | tests/data/automated/run_info-variantcall.yaml | YAML |
<|file_sep|>original/packages/pa/packed-multikey-map.yaml
<|file_sep|>current/packages/pa/packed-multikey-map.yaml
<|file_sep|>updated/packages/pa/packed-multikey-map.yaml | homepage: https://github.com/leftaroundabout/packed-multikey-map
changelog-type: markdown
hash: 26fd190cfde12ee8be41751a611746fc7b70b9b8c8c32a0af22def4d1ec1c115
test-bench-deps:
base: ! '>=4 && <5'
packed-multikey-map: -any
tasty-quickcheck: -any
tasty-hunit: -any
tasty: ! '>=0.7'
maintainer: (@) jsagemue $ u... | <|file_sep|>original/packages/pa/packed-multikey-map.yaml
<|file_sep|>current/packages/pa/packed-multikey-map.yaml
<|file_sep|>updated/packages/pa/packed-multikey-map.yaml
homepage: https://github.com/leftaroundabout/packed-multikey-map
changelog-type: markdown
hash: 26fd190cfde12ee8be41751a611746fc7b70b9b8c8c32a0af2... | 36ca246957d8ebec86b97963460a3a88d8e6fd3a | packages/pa/packed-multikey-map.yaml | packages/pa/packed-multikey-map.yaml | YAML |
<|file_sep|>original/gradle.properties
gaeVersion=1.9.64
springBootVersion=2.1.0.M1
version=5.1.0.BUILD-SNAPSHOT
<|file_sep|>current/gradle.properties
gaeVersion=1.9.64
springBootVersion=2.1.0.M1
version=5.1.0.BUILD-SNAPSHOT
<|file_sep|>updated/gradle.properties | gaeVersion=1.9.64
springBootVersion=2.1.0.M2
version=5.1.0.BUILD-SNAPSHOT | <|file_sep|>original/gradle.properties
gaeVersion=1.9.64
springBootVersion=2.1.0.M1
version=5.1.0.BUILD-SNAPSHOT
<|file_sep|>current/gradle.properties
gaeVersion=1.9.64
springBootVersion=2.1.0.M1
version=5.1.0.BUILD-SNAPSHOT
<|file_sep|>updated/gradle.properties
gaeVersion=1.9.64
springBootVersion=2.1.0.M2
version=5.1.... | 7c14c6e48fdb370af5e0e5f3e8e72d6a36c76087 | gradle.properties | gradle.properties | INI |
<|file_sep|>examples/system/ulp_adc/example_test.py.diff
original:
measurements = int(dut.expect(re.compile(r'ULP did (\d+) measurements'), timeout=5)[0], 10)
updated:
measurements_str = dut.expect(re.compile(r'ULP did (\d+) measurements'), timeout=5)[0]
assert measurements_str is not None
... |
dut.expect_all('Not ULP wakeup',
'Entering deep sleep',
timeout=30)
for _ in range(5):
dut.expect('Deep sleep wakeup', timeout=60)
measurements_str = dut.expect(re.compile(r'ULP did (\d+) measurements'), timeout=5)[0]
assert measurements_str is not... | <|file_sep|>examples/system/ulp_adc/example_test.py.diff
original:
measurements = int(dut.expect(re.compile(r'ULP did (\d+) measurements'), timeout=5)[0], 10)
updated:
measurements_str = dut.expect(re.compile(r'ULP did (\d+) measurements'), timeout=5)[0]
assert measurements_str is not None
... | 6358f3fb8a3ece53adeb71f9b59f96a5a3a9ca70 | examples/system/ulp_adc/example_test.py | examples/system/ulp_adc/example_test.py | Python |
<|file_sep|>website/templates/setup/intellij.html.diff
original:
The <a href="https://www.jetbrains.com/idea/">Jetbrains IntelliJ IDEA</a> editor is compatible with lombok.
updated:
The <a href="https://www.jetbrains.com/idea/">Jetbrains IntelliJ IDEA</a> editor is compatible with lombok without a plugin as of ve... | <#import "_setup.html" as s>
<@s.scaffold title="IntelliJ IDEA">
<@s.introduction>
<p>
The <a href="https://www.jetbrains.com/idea/">Jetbrains IntelliJ IDEA</a> editor is compatible with lombok without a plugin as of version 2020.3.
</p><p>
For versions prior to 2020.3, you can add the <a href="https://plug... | <|file_sep|>website/templates/setup/intellij.html.diff
original:
The <a href="https://www.jetbrains.com/idea/">Jetbrains IntelliJ IDEA</a> editor is compatible with lombok.
updated:
The <a href="https://www.jetbrains.com/idea/">Jetbrains IntelliJ IDEA</a> editor is compatible with lombok without a plugin as of ve... | 55c7eb32d3a2c1c65b7ae2c5ddaf9c683cbd5eb5 | website/templates/setup/intellij.html | website/templates/setup/intellij.html | HTML |
<|file_sep|>original/lib/serverkit/command.rb
raise Errors::MissingActionNameArgumentError
when "apply"
apply
when "diff"
diff
when "inspect"
_inspect
when "validate"
validate
else
raise Errors::UnknownActionNameError
end
rescue Err... | raise Errors::MissingActionNameArgumentError
when "apply"
apply
when "diff"
diff
when "inspect"
_inspect
when "validate"
validate
else
raise Errors::UnknownActionNameError, action_name
end
rescue Errors::Base, Slop::MissingArgumentE... | <|file_sep|>original/lib/serverkit/command.rb
raise Errors::MissingActionNameArgumentError
when "apply"
apply
when "diff"
diff
when "inspect"
_inspect
when "validate"
validate
else
raise Errors::UnknownActionNameError
end
rescue Err... | 93dc678645ed7dcff1746456ea7b2ebc11cc5ad5 | lib/serverkit/command.rb | lib/serverkit/command.rb | Ruby |
<|file_sep|>original/procwait.1.mk
.SH SYNOPSIS
\fBprocwait\fP [\fIOPTIONS\fP] \fIPID\fP...
.SH DESCRIPTION
\fBprocwait\fP allows to wait until a process or (processes) identified by PID
is terminated.
.SH OPTIONS
.TP
\fB-h\fP, \fB--help\fP
Shows brief help and exits.
.TP
\fB-q\fP, \fB--quiet\fP
Only print essential ou... | .SH SYNOPSIS
\fBprocwait\fP [\fIOPTIONS\fP] \fIPID\fP...
.SH DESCRIPTION
\fBprocwait\fP allows to wait until a process or (processes) identified by PID
is terminated.
.SH OPTIONS
.TP
\fB-h\fP, \fB--help\fP
Shows brief help and exits.
.TP
\fB-n \fINAME\fP, \fB--name \fINAME\fP
Parse PID from process NAME.
.TP
\fB-q\fP, ... | <|file_sep|>original/procwait.1.mk
.SH SYNOPSIS
\fBprocwait\fP [\fIOPTIONS\fP] \fIPID\fP...
.SH DESCRIPTION
\fBprocwait\fP allows to wait until a process or (processes) identified by PID
is terminated.
.SH OPTIONS
.TP
\fB-h\fP, \fB--help\fP
Shows brief help and exits.
.TP
\fB-q\fP, \fB--quiet\fP
Only print essential ou... | c2139a7c68c8a70e6e44844a035f5bcc4b0b4b1d | procwait.1.mk | procwait.1.mk | Makefile |
<|file_sep|>original/packages/nm/nmis-parser.yaml
<|file_sep|>current/packages/nm/nmis-parser.yaml
<|file_sep|>updated/packages/nm/nmis-parser.yaml | homepage: https://github.com/v0d1ch/nmis-parser#readme
changelog-type: ''
hash: 766b6152364f78fa58d4f547dc75d5a0139ae18b11e07d8226f69c4b2282a4eb
test-bench-deps:
base: -any
Nmis: -any
maintainer: brutallesale@gmail.com
synopsis: NMIS file parser
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
megaparsec: -any
... | <|file_sep|>original/packages/nm/nmis-parser.yaml
<|file_sep|>current/packages/nm/nmis-parser.yaml
<|file_sep|>updated/packages/nm/nmis-parser.yaml
homepage: https://github.com/v0d1ch/nmis-parser#readme
changelog-type: ''
hash: 766b6152364f78fa58d4f547dc75d5a0139ae18b11e07d8226f69c4b2282a4eb
test-bench-deps:
base: ... | 730ac9e4d898afcdda653542bea425d8efc69ab4 | packages/nm/nmis-parser.yaml | packages/nm/nmis-parser.yaml | YAML |
<|file_sep|>tests/spec/QueueTwoStacksSpec.js.diff
original:
})
updated:
});
<|file_sep|>tests/spec/QueueTwoStacksSpec.js.diff
original:
})
})
describe("when queue is empty", function() {
it("throws an error", function() {
updated:
});
it("throws an error when queue is empty", function() {
<|file... | Queue.enqueue(5);
const expected = [2,3,4,5];
expect(Queue.inStack).toEqual(expected);
})
});
describe("dequeue()", function () {
it("removes an element from head", function () {
Queue.dequeue();
const expected = [3,4,5];
expect(Queue.inStack).toEqual(expected);
});
... | <|file_sep|>tests/spec/QueueTwoStacksSpec.js.diff
original:
})
updated:
});
<|file_sep|>tests/spec/QueueTwoStacksSpec.js.diff
original:
})
})
describe("when queue is empty", function() {
it("throws an error", function() {
updated:
});
it("throws an error when queue is empty", function() {
<|file... | 276492033ce2a3048b453d75c0e361bf4ebfd5d7 | tests/spec/QueueTwoStacksSpec.js | tests/spec/QueueTwoStacksSpec.js | JavaScript |
<|file_sep|>original/src/base-config.js
*
*/
module.exports = {
extends: 'airbnb-base',
env: {
jest: true,
},
rules: {
'no-underscore-dangle': ['off'],
'global-require': ['off'],
'no-use-before-define': ['warn'],
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'imp... | jest: true,
},
rules: {
'no-underscore-dangle': ['off'],
'global-require': ['off'],
'no-use-before-define': ['warn'],
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'import/prefer-default-export': ['off'],
'import/imports-first': ['off'],
'import/no-extraneous-de... | <|file_sep|>original/src/base-config.js
*
*/
module.exports = {
extends: 'airbnb-base',
env: {
jest: true,
},
rules: {
'no-underscore-dangle': ['off'],
'global-require': ['off'],
'no-use-before-define': ['warn'],
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'imp... | 6216f875537746f54825a1da5d3cdd1a25f316e4 | src/base-config.js | src/base-config.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
gemfile:
- Gemfile
sudo: false
cache: bundler
before_script: "bundle update"
script: "bundle exec rake test"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
gemfile:
- Gemfile
sudo: ... | language: ruby
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
gemfile:
- Gemfile
sudo: false
cache: bundler
before_script: "bundle update"
script: "bundle exec rake test" | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
gemfile:
- Gemfile
sudo: false
cache: bundler
before_script: "bundle update"
script: "bundle exec rake test"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3
gemfile:
- Gemfile
sudo: ... | c9ec8216324c2c44b4d1abf84bfa8079d7a388c3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/server.js
// setup template engine
nunjucks.configure('./', {
autoescape: true,
express: app
});
app.set('view engine', 'nunjucks');
// routes
app.get('/', (req, res) => {
// hard-coded for sanity testing
nextBusArrivals('MTA NYCT_B63', 308209)
.then((arrivals) => {
res.ren... | app.set('port', process.env.PORT || 4444);
// setup template engine
nunjucks.configure('./', {
autoescape: true,
express: app
});
app.set('view engine', 'nunjucks');
// routes
app.get('/', (req, res) => {
nextBusArrivals(req.query.route, req.query.stop)
.then((arrivals) => {
res.render('index.htm... | <|file_sep|>original/server.js
// setup template engine
nunjucks.configure('./', {
autoescape: true,
express: app
});
app.set('view engine', 'nunjucks');
// routes
app.get('/', (req, res) => {
// hard-coded for sanity testing
nextBusArrivals('MTA NYCT_B63', 308209)
.then((arrivals) => {
res.ren... | 6d301bc73d3edcc9b3cf84f3030a446665c1bb0f | server.js | server.js | JavaScript |
<|file_sep|>regtests/files/permissions/simple-policy.xml.diff
original:
<all-permission>
updated:
<grant-permission>
<|file_sep|>original/regtests/files/permissions/simple-policy.xml
<security-role>
<role-name>admin</role-name>
</security-role>
<role-permission>
<name>admin</name>
<role>admin... | <security-role>
<role-name>admin</role-name>
</security-role>
<role-permission>
<name>admin</name>
<role>admin</role>
<role>manager</role>
</role-permission>
<grant-permission>
<name>anonymous</name>
</grant-permission>
<auth-permission>
<name>logged-user</name>
</auth-permi... | <|file_sep|>regtests/files/permissions/simple-policy.xml.diff
original:
<all-permission>
updated:
<grant-permission>
<|file_sep|>original/regtests/files/permissions/simple-policy.xml
<security-role>
<role-name>admin</role-name>
</security-role>
<role-permission>
<name>admin</name>
<role>admin... | 8090e0a1a950194737151114bac2cdd8f9e38a6a | regtests/files/permissions/simple-policy.xml | regtests/files/permissions/simple-policy.xml | XML |
<|file_sep|>roles/run-tempest/README.rst.diff
original:
updated:
<|file_sep|>original/roles/run-tempest/README.rst
.. zuul:rolevar:: devstack_base_dir
:default: /opt/stack
The devstack base directory.
.. zuul:rolevar:: tempest_concurrency
:default: 0
The number of parallel test processes.
.. zuul:role... | The number of parallel test processes.
.. zuul:rolevar:: tempest_test_regex
:default: ''
A regular expression used to select the tests.
It works only when used with some specific tox environments
('all', 'all-plugin'.)
Multi-line and commented regexs can be achieved by doing this:
::
... | <|file_sep|>roles/run-tempest/README.rst.diff
original:
updated:
<|file_sep|>original/roles/run-tempest/README.rst
.. zuul:rolevar:: devstack_base_dir
:default: /opt/stack
The devstack base directory.
.. zuul:rolevar:: tempest_concurrency
:default: 0
The number of parallel test processes.
.. zuul:role... | 515edd403543aacb2edc0698c12f6dfd6820141a | roles/run-tempest/README.rst | roles/run-tempest/README.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
rvm:
- 2.0
- 2.1
- 2.2
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
rvm:
- 2.0
- 2... | language: ruby
sudo: false
env:
- "RAILS_VERSION=4.0.0"
- "RAILS_VERSION=4.1.0"
- "RAILS_VERSION=4.2.0"
rvm:
- 2.0
- 2.1
- 2.2 | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
rvm:
- 2.0
- 2.1
- 2.2
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
env:
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
rvm:
- 2.0
- 2... | ae1d951da012995579fe03b3a5ee16e8a74fb72b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/k8sT/manifests/1.17/external_endpoint.yaml
<|file_sep|>current/test/k8sT/manifests/1.17/external_endpoint.yaml
<|file_sep|>updated/test/k8sT/manifests/1.17/external_endpoint.yaml | apiVersion: v1
kind: Endpoints
metadata:
name: external-service
namespace: default
subsets:
- addresses:
- ip: 198.49.23.144
ports:
- port: 80
protocol: TCP | <|file_sep|>original/test/k8sT/manifests/1.17/external_endpoint.yaml
<|file_sep|>current/test/k8sT/manifests/1.17/external_endpoint.yaml
<|file_sep|>updated/test/k8sT/manifests/1.17/external_endpoint.yaml
apiVersion: v1
kind: Endpoints
metadata:
name: external-service
namespace: default
subsets:
- addresses:
- ... | 6b8e99432f17bc345668f404ed7fd067cba71292 | test/k8sT/manifests/1.17/external_endpoint.yaml | test/k8sT/manifests/1.17/external_endpoint.yaml | YAML |
<|file_sep|>testHelpers/setup.js.diff
original:
console.log('=============== JEST SETUP ================')
updated:
<|file_sep|>original/testHelpers/setup.js
jest.setTimeout(90000)
console.log('=============== JEST SETUP ================')
const retries = process.env.TEST_RETRIES != null ? parseInt(process.env.TEST_R... | jest.setTimeout(90000)
const retries = process.env.TEST_RETRIES != null ? parseInt(process.env.TEST_RETRIES, 10) : 0
jest.retryTimes(retries)
require('jest-extended')
const glob = require('glob')
const path = require('path')
// Protocol files are imported on demand depending on the APIs supported by Kafka,
// but th... | <|file_sep|>testHelpers/setup.js.diff
original:
console.log('=============== JEST SETUP ================')
updated:
<|file_sep|>original/testHelpers/setup.js
jest.setTimeout(90000)
console.log('=============== JEST SETUP ================')
const retries = process.env.TEST_RETRIES != null ? parseInt(process.env.TEST_R... | 29817787466de3676f6272202df62c32642eb9e4 | testHelpers/setup.js | testHelpers/setup.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
php:
- "7.0"
- "5.6"
- "5.5"
sudo: false
install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require --no-progress "fxp/composer-asset-plugin:^1.1"
- travis_retry composer install --prefer-source --no-interaction... | language: php
php:
- "7.0"
- "5.6"
- "5.5"
sudo: false
install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require --no-progress "fxp/composer-asset-plugin:^1.1"
- travis_retry composer install --prefer-source --no-interaction --no-progress
script:
- 'if ... | <|file_sep|>original/.travis.yml
language: php
php:
- "7.0"
- "5.6"
- "5.5"
sudo: false
install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require --no-progress "fxp/composer-asset-plugin:^1.1"
- travis_retry composer install --prefer-source --no-interaction... | 8be84cbf1048287721dbdf6a057d5be7b812ad96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.4
sphinxcontrib-httpdomain==1.5.0
pygments==2.2.0
# Linting
flake8==2.5.4
# Unit testing
pytest==2.9.1
mock==2.0.0
webtest==2.0.20
pytest-cov==2.2.1
coveralls==1.1
<|file_sep|>current/requireme... | # Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.4
sphinxcontrib-httpdomain==1.5.0
pygments==2.2.0
# Linting
flake8==3.4.1
# Unit testing
pytest==2.9.1
mock==2.0.0
webtest==2.0.20
pytest-cov==2.2.1
coveralls==1.1 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Documentation
Sphinx==1.6.4
sphinxcontrib-httpdomain==1.5.0
pygments==2.2.0
# Linting
flake8==2.5.4
# Unit testing
pytest==2.9.1
mock==2.0.0
webtest==2.0.20
pytest-cov==2.2.1
coveralls==1.1
<|file_sep|>current/requireme... | 8ca287f8544e2d116b6fe127da675d21f0c7bb82 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/lib/Target/MSP430/MSP430MCAsmInfo.cpp
//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
/... | //===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | <|file_sep|>original/lib/Target/MSP430/MSP430MCAsmInfo.cpp
//===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
/... | 5c192fbe450d0a541a40cbbf4746b6957015dc89 | lib/Target/MSP430/MSP430MCAsmInfo.cpp | lib/Target/MSP430/MSP430MCAsmInfo.cpp | C++ |
<|file_sep|>original/.drone.yml
environment:
- CONDA_BLD_PATH=/root/conda-bld
- ANACONDA_TOKEN=$$ANACONDA_TOKEN
commands:
- sed -i '$ d' environment.yml
- conda env create --quiet -f environment.yml
- bin/render_notebooks.sh
- bin/prepare_deploy.sh
- mkdir $CONDA_BLD_PATH
- conda bui... | environment:
- CONDA_BLD_PATH=/root/conda-bld
- ANACONDA_TOKEN=$$ANACONDA_TOKEN
commands:
- sed -i '$ d' environment.yml
- conda env create --quiet -f environment.yml
- bin/render_notebooks.sh
- bin/prepare_deploy.sh
- mkdir $CONDA_BLD_PATH
- conda build --python 27 --python 34 --pyt... | <|file_sep|>original/.drone.yml
environment:
- CONDA_BLD_PATH=/root/conda-bld
- ANACONDA_TOKEN=$$ANACONDA_TOKEN
commands:
- sed -i '$ d' environment.yml
- conda env create --quiet -f environment.yml
- bin/render_notebooks.sh
- bin/prepare_deploy.sh
- mkdir $CONDA_BLD_PATH
- conda bui... | 209163dde88822f5cc37637c7c090631872247af | .drone.yml | .drone.yml | YAML |
<|file_sep|>original/profiles/base/features/asset-pipeline/feature.yml
description: Adds Asset Pipeline to a Grails project
build:
plugins:
- asset-pipeline
dependencies:
build:
- 'com.bertramlabs.plugins:asset-pipeline-gradle:2.5.0'
runtime:
- "org.grails.plugins:asset-pipeline"
<|f... | description: Adds Asset Pipeline to a Grails project
build:
plugins:
- asset-pipeline
dependencies:
build:
- 'com.bertramlabs.plugins:asset-pipeline-gradle:2.7.4'
runtime:
- "org.grails.plugins:asset-pipeline" | <|file_sep|>original/profiles/base/features/asset-pipeline/feature.yml
description: Adds Asset Pipeline to a Grails project
build:
plugins:
- asset-pipeline
dependencies:
build:
- 'com.bertramlabs.plugins:asset-pipeline-gradle:2.5.0'
runtime:
- "org.grails.plugins:asset-pipeline"
<|f... | 1b0147138d5ab9221a47f7b463272d10a318508c | profiles/base/features/asset-pipeline/feature.yml | profiles/base/features/asset-pipeline/feature.yml | YAML |
<|file_sep|>DataAccess/Meets.js.diff
original:
updated:
const entities = require("entities");
<|file_sep|>DataAccess/Meets.js.diff
original:
Object.keys(obj).forEach(k=>this[k]=obj[k]);
updated:
Object.keys(obj).forEach(k=>this[k]=entities.decodeHTML(obj[k]));
<|file_sep|>DataAccess/Meets.js.diff
original:
... | }
}
Meet.fromObjArray = function(objArray){
return objArray.map(o=>new Meet(o));
};
function getAllMeets(){
return MySql.query(`SELECT * FROM wp_posts WHERE post_type = 'meet'`)
.then(results=>Meet.fromObjArray(results.results));
}
function getUpcomingMeets(){
return MySql.query(`
SELECT CAST(meta_va... | <|file_sep|>DataAccess/Meets.js.diff
original:
updated:
const entities = require("entities");
<|file_sep|>DataAccess/Meets.js.diff
original:
Object.keys(obj).forEach(k=>this[k]=obj[k]);
updated:
Object.keys(obj).forEach(k=>this[k]=entities.decodeHTML(obj[k]));
<|file_sep|>DataAccess/Meets.js.diff
original:
... | cf1b6a0f7df449b834d1fecca64a774a6f768593 | DataAccess/Meets.js | DataAccess/Meets.js | JavaScript |
<|file_sep|>original/tests/__init__.py
This is meant as a side effect for unittest.mock.Mock
"""
if re.match(r'https?:', url):
# Looks like a URL
filename = re.sub(r'^.*/([^/]+)$', '\\1', url)
path = resolve_path('files/' + filename)
else:
# Assume it's a file
pa... |
This is meant as a side effect for unittest.mock.Mock
"""
if re.match(r'https?:', url):
# Looks like a URL
filename = re.sub(r'^.*/([^/]+)$', '\\1', url)
path = resolve_path('files/' + filename)
else:
# Assume it's a file
path = url
return (open(path, 'rb'), ... | <|file_sep|>original/tests/__init__.py
This is meant as a side effect for unittest.mock.Mock
"""
if re.match(r'https?:', url):
# Looks like a URL
filename = re.sub(r'^.*/([^/]+)$', '\\1', url)
path = resolve_path('files/' + filename)
else:
# Assume it's a file
pa... | b0fd7fc1866cd85e9d68d5716d8f5aeaff1218c1 | tests/__init__.py | tests/__init__.py | Python |
<|file_sep|>original/xero/api.py
from .manager import Manager
class Xero(object):
"""An ORM-like interface to the Xero API"""
OBJECT_LIST = (u'Contacts', u'Accounts', u'CreditNotes',
u'Currencies', u'Invoices', u'Items', u'Organisation',
u'Payments', u'TaxRates', u'Track... | from .manager import Manager
class Xero(object):
"""An ORM-like interface to the Xero API"""
OBJECT_LIST = (u'Contacts', u'Accounts', u'CreditNotes',
u'Currencies', u'Invoices', u'Items', u'Organisation',
u'Payments', u'TaxRates', u'TrackingCategories', u'ManualJournals'... | <|file_sep|>original/xero/api.py
from .manager import Manager
class Xero(object):
"""An ORM-like interface to the Xero API"""
OBJECT_LIST = (u'Contacts', u'Accounts', u'CreditNotes',
u'Currencies', u'Invoices', u'Items', u'Organisation',
u'Payments', u'TaxRates', u'Track... | 89d8ee0b91c9fd579dcf965e9e07f18954625c72 | xero/api.py | xero/api.py | Python |
<|file_sep|>original/README.md
dict-utils is a set of utilities and accessory methods usable
with Python dicts.
## Examples
1. Search for a value in a dictionary, passing a key:
```python
from dict_utils import dict_utils
dict_1 = dict_1 = {'first_level': {'second_level': {'name': 'Joe', 'Age': 30}}}
... | dict-utils is a set of utilities and accessory methods usable
with Python dicts.
## Examples
1. Search for a value in a dictionary, passing a key:
```python
from dict_utils import dict_utils
dict_1 = {'first_level': {'second_level': {'name': 'Joe', 'Age': 30}}}
found_value = dict_utils.dict_search_v... | <|file_sep|>original/README.md
dict-utils is a set of utilities and accessory methods usable
with Python dicts.
## Examples
1. Search for a value in a dictionary, passing a key:
```python
from dict_utils import dict_utils
dict_1 = dict_1 = {'first_level': {'second_level': {'name': 'Joe', 'Age': 30}}}
... | 38a3d85bfdb534b2636e4f7c7667bc3f09061b1c | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/enrollment_semesters_controller.rb
class EnrollmentSemestersController < ApplicationController
def edit
@semester = EnrollmentSemester.find(params[:id])
end
def update
@semester = EnrollmentSemester.find(params[:id])
if @semester.update(enrollment_semester_param... | class EnrollmentSemestersController < ApplicationController
load_and_authorize_resource
def edit
@semester = EnrollmentSemester.find(params[:id])
end
def update
@semester = EnrollmentSemester.find(params[:id])
if @semester.update(enrollment_semester_params)
redirect_to dashboard_index_path... | <|file_sep|>original/app/controllers/enrollment_semesters_controller.rb
class EnrollmentSemestersController < ApplicationController
def edit
@semester = EnrollmentSemester.find(params[:id])
end
def update
@semester = EnrollmentSemester.find(params[:id])
if @semester.update(enrollment_semester_param... | d928c35f3bc33ccc3bea3d1b89816cca986a992a | app/controllers/enrollment_semesters_controller.rb | app/controllers/enrollment_semesters_controller.rb | Ruby |
<|file_sep|>original/metadata/za.co.lukestonehm.logicaldefence.txt
View a list of logical fallacies.
.
Repo Type:git
Repo:https://github.com/LukeStonehm/LogicalDefence
Build:1.0.1,2
commit=b375b6d11e3fae55cad0fd0761ec261cc5b9e576
subdir=app
gradle=yes
Build:1.0.2,3
commit=727db678d9c3f4459c2f94d4fdc7... |
Build:1.0.1,2
commit=b375b6d11e3fae55cad0fd0761ec261cc5b9e576
subdir=app
gradle=yes
Build:1.0.2,3
commit=727db678d9c3f4459c2f94d4fdc7064031ea1714
subdir=app
gradle=yes
Build:1.0.3,4
commit=c732d52560b525aaa9f50f621a117a8ea909c534
subdir=app
gradle=yes
Auto Update Mode:None
Update... | <|file_sep|>original/metadata/za.co.lukestonehm.logicaldefence.txt
View a list of logical fallacies.
.
Repo Type:git
Repo:https://github.com/LukeStonehm/LogicalDefence
Build:1.0.1,2
commit=b375b6d11e3fae55cad0fd0761ec261cc5b9e576
subdir=app
gradle=yes
Build:1.0.2,3
commit=727db678d9c3f4459c2f94d4fdc7... | db3053e6b43cc4fa31bb4e9df4af1cc4f463ba0d | metadata/za.co.lukestonehm.logicaldefence.txt | metadata/za.co.lukestonehm.logicaldefence.txt | Text |
<|file_sep|>original/commands/reload.js
exports.names = ['reload'];
exports.hidden = true;
exports.enabled = true;
exports.cdAll = 60;
exports.cdUser = 60;
exports.cdStaff = 60;
exports.minRole = PERMISSIONS.MANAGER;
exports.handler = function (data) {
config = require(dpath.resolve(__dirname, 'config.json'));
... | exports.names = ['reload'];
exports.hidden = true;
exports.enabled = true;
exports.cdAll = 60;
exports.cdUser = 60;
exports.cdStaff = 60;
exports.minRole = PERMISSIONS.MANAGER;
exports.handler = function (data) {
config = require(dpath.resolve(__dirname, '../config.json'));
loadEvents(bot);
loadCommands(b... | <|file_sep|>original/commands/reload.js
exports.names = ['reload'];
exports.hidden = true;
exports.enabled = true;
exports.cdAll = 60;
exports.cdUser = 60;
exports.cdStaff = 60;
exports.minRole = PERMISSIONS.MANAGER;
exports.handler = function (data) {
config = require(dpath.resolve(__dirname, 'config.json'));
... | 39fb50297b3468767cd2f9d20af05ac77cfa128f | commands/reload.js | commands/reload.js | JavaScript |
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.5
before_install:
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -c -covermode=count -coverpkg=github.com/cweill/gotests,github.com/cweill/gotest... | language: go
sudo: false
go:
- 1.5
- 1.6
before_install:
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -c -covermode=count -coverpkg=github.com/cweill/gotests,github.com/cweill/gotests/internal/input,github.c... | <|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.5
before_install:
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test -c -covermode=count -coverpkg=github.com/cweill/gotests,github.com/cweill/gotest... | c6dccd6442c1af25e196be5756f55c909e4c61fb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/_book.yaml
- title: "Input circuit file format"
path: /qsim/input_format
- title: "Template naming"
path: /qsim/type_reference
- title: "Build with Bazel"
path: /qsim/bazel
- title: "Testing qsim"
path: /qsim/testing
- title: "Docke... | path: /qsim/type_reference
- title: "Build with Bazel"
path: /qsim/bazel
- title: "Testing qsim"
path: /qsim/testing
- title: "Docker"
path: /qsim/docker
- title: "Release process"
path: /qsim/release-qsimcirq
- heading: "Tutorials"
- title: "... | <|file_sep|>original/docs/_book.yaml
- title: "Input circuit file format"
path: /qsim/input_format
- title: "Template naming"
path: /qsim/type_reference
- title: "Build with Bazel"
path: /qsim/bazel
- title: "Testing qsim"
path: /qsim/testing
- title: "Docke... | 804d57f7467cc9b96219eb523e8ca7dec79279e7 | docs/_book.yaml | docs/_book.yaml | YAML |
<|file_sep|>original/test/cando_test.rb
require_relative 'test_helper'
class CandoTest < Test::Unit::TestCase
def self.shutdown
Controller.filters.clear
end
setup do
@before = Controller.filters.size
end
test 'authorize' do
Cando .authorize(Controller) { |auth| auth.for_owner :create }
... | Controller.filters.clear
end
setup do
@before = Controller.filters.size
end
test 'authorize' do
Cando .authorize(Controller) { |auth| auth.for_owner :create }
.authorize(Controller) { |auth| auth.for_client :index }
assert @before < Controller.filters.size
end
test 'extend' do
... | <|file_sep|>original/test/cando_test.rb
require_relative 'test_helper'
class CandoTest < Test::Unit::TestCase
def self.shutdown
Controller.filters.clear
end
setup do
@before = Controller.filters.size
end
test 'authorize' do
Cando .authorize(Controller) { |auth| auth.for_owner :create }
... | 9beee14edaa92e749175cd8523e123251b76cab6 | test/cando_test.rb | test/cando_test.rb | Ruby |
<|file_sep|>original/src/main/java/erjang/m/zlib/Native.java
<|file_sep|>current/src/main/java/erjang/m/zlib/Native.java
<|file_sep|>updated/src/main/java/erjang/m/zlib/Native.java | /** -*- tab-width: 4 -*-
* This file is part of Erjang - A JVM-based Erlang VM
*
* Copyright (c) 2010 by Trifork
*
* 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.ap... | <|file_sep|>original/src/main/java/erjang/m/zlib/Native.java
<|file_sep|>current/src/main/java/erjang/m/zlib/Native.java
<|file_sep|>updated/src/main/java/erjang/m/zlib/Native.java
/** -*- tab-width: 4 -*-
* This file is part of Erjang - A JVM-based Erlang VM
*
* Copyright (c) 2010 by Trifork
*
* Licensed under ... | 29a5d040f97aff53f3e5c06895104dcf7261104f | src/main/java/erjang/m/zlib/Native.java | src/main/java/erjang/m/zlib/Native.java | Java |
<|file_sep|>haas/utils.py.diff
original:
updated:
import importlib
import logging
<|file_sep|>haas/utils.py.diff
original:
import logging
import sys
updated:
<|file_sep|>original/haas/utils.py
def configure_logging(level):
actual_level = LEVELS.get(level, logging.WARNING)
format_ = '%(asctime)s %(levelname)... |
def configure_logging(level):
actual_level = LEVELS.get(level, logging.WARNING)
format_ = '%(asctime)s %(levelname)-8.8s [%(name)s:%(lineno)s] %(message)s'
formatter = logging.Formatter(format_)
handler = logging.StreamHandler()
handler.setFormatter(formatter)
handler.setLevel(actual_level)
... | <|file_sep|>haas/utils.py.diff
original:
updated:
import importlib
import logging
<|file_sep|>haas/utils.py.diff
original:
import logging
import sys
updated:
<|file_sep|>original/haas/utils.py
def configure_logging(level):
actual_level = LEVELS.get(level, logging.WARNING)
format_ = '%(asctime)s %(levelname)... | 1c40e03b487ae3dcef9a683de960f9895936d370 | haas/utils.py | haas/utils.py | Python |
<|file_sep|>app/assets/javascripts/searchify/searchify.js.diff
original:
change: function (event, ui) {
if ( $(this).data('value') != $(this).prev().val() ) {
$(this).val('');
$(this).prev().val('');
}
... |
window.location.href = select_url;
} else {
$(this).prev().val(ui.item.id);
$(this).data('value', ui.item.id)
$(this).blur();
$(this).focus();
}
... | <|file_sep|>app/assets/javascripts/searchify/searchify.js.diff
original:
change: function (event, ui) {
if ( $(this).data('value') != $(this).prev().val() ) {
$(this).val('');
$(this).prev().val('');
}
... | ba815bf78ed79b98c3b447c1d4460ea14dc89a57 | app/assets/javascripts/searchify/searchify.js | app/assets/javascripts/searchify/searchify.js | JavaScript |
<|file_sep|>original/server/h2push.js
const h2pushJSON = path => `<${path}>; rel=preload; as=json`;
router.get("/dz/:dz", (ctx, next) => {
const dz = dropzones[ctx.params.dz.toUpperCase()];
ctx.set(
"Link",
[
`/api/observations/${dz.fmisid}/fi-1-1-windgust`,
`/api/obser... | const dropzones = require("../dropzones");
const h2pushJSON = path => `<${path}>; rel=preload; as=json`;
router.get("/dz/:dz", (ctx, next) => {
const dz = dropzones[ctx.params.dz.toUpperCase()];
[
`/api/observations/${dz.fmisid}/fi-1-1-windgust`,
`/api/observations/${dz.fmisid}/fi-1-1-windspe... | <|file_sep|>original/server/h2push.js
const h2pushJSON = path => `<${path}>; rel=preload; as=json`;
router.get("/dz/:dz", (ctx, next) => {
const dz = dropzones[ctx.params.dz.toUpperCase()];
ctx.set(
"Link",
[
`/api/observations/${dz.fmisid}/fi-1-1-windgust`,
`/api/obser... | 8576382862320059c42a8b6d5efec84f5eed6f8c | server/h2push.js | server/h2push.js | JavaScript |
<|file_sep|>original/jekyll-relative-links.gemspec
require "jekyll-relative-links/version"
Gem::Specification.new do |s|
s.name = "jekyll-relative-links"
s.version = JekyllRelativeLinks::VERSION
s.authors = ["Ben Balter"]
s.email = ["ben.balter@github.com"]
s.homepage = "htt... | require "jekyll-relative-links/version"
Gem::Specification.new do |s|
s.name = "jekyll-relative-links"
s.version = JekyllRelativeLinks::VERSION
s.authors = ["Ben Balter"]
s.email = ["ben.balter@github.com"]
s.homepage = "https://github.com/benbalter/jekyll-relative-links"
... | <|file_sep|>original/jekyll-relative-links.gemspec
require "jekyll-relative-links/version"
Gem::Specification.new do |s|
s.name = "jekyll-relative-links"
s.version = JekyllRelativeLinks::VERSION
s.authors = ["Ben Balter"]
s.email = ["ben.balter@github.com"]
s.homepage = "htt... | 118bd0bc169150d388d019087164b0eb9d28e59e | jekyll-relative-links.gemspec | jekyll-relative-links.gemspec | Ruby |
<|file_sep|>original/package.json
"keywords": [
"webidl",
"web",
"types"
],
"files": [
"lib/"
],
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
"license": "BSD-2-Clause",
"devDependencies": {
"mocha": "^1.21.4",
"mocha-traceur": "^2.0.0",
"traceur": "^0.0.66... | "keywords": [
"webidl",
"web",
"types"
],
"files": [
"lib/"
],
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
"license": "BSD-2-Clause",
"devDependencies": {
"mocha": "^1.21.4",
"mocha-traceur": "^2.0.0",
"traceur": "^0.0.79"
},
"browserify": {
"tran... | <|file_sep|>original/package.json
"keywords": [
"webidl",
"web",
"types"
],
"files": [
"lib/"
],
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",
"license": "BSD-2-Clause",
"devDependencies": {
"mocha": "^1.21.4",
"mocha-traceur": "^2.0.0",
"traceur": "^0.0.66... | 0e9cb9f0c824d1cbf24b9139bc831c0a7cfb7231 | package.json | package.json | JSON |
<|file_sep|>original/lib/refinery/multisites/authorisation_manager_decorator.rb
module RefineryAuthenticationDeviseAuthorisationManagerDecorator
# The user needs the 'refinery' role to access the admin.
def authenticate!
current_account = Refinery::Multisites::Account.find_by(subdomain: Apartment::Tenant.curre... | module RefineryAuthenticationDeviseAuthorisationManagerDecorator
# The user needs the 'refinery' role to access the admin.
def authenticate!
current_account = Refinery::Multisites::Account.find_by(subdomain: Apartment::Tenant.current)
unless adapter.current_user.has_role?(:superuser) ||
( adapter.c... | <|file_sep|>original/lib/refinery/multisites/authorisation_manager_decorator.rb
module RefineryAuthenticationDeviseAuthorisationManagerDecorator
# The user needs the 'refinery' role to access the admin.
def authenticate!
current_account = Refinery::Multisites::Account.find_by(subdomain: Apartment::Tenant.curre... | 6290b71cc79fbda4311649aa0ebed829a25b29d2 | lib/refinery/multisites/authorisation_manager_decorator.rb | lib/refinery/multisites/authorisation_manager_decorator.rb | Ruby |
<|file_sep|>haxelib.json.diff
original:
"releasenote": "Initial Release",
"version": "1.0.0-beta.1",
updated:
"releasenote": "Initial Release. For early adopters only at this point, things subject to change.",
"version": "1.0.0-alpha.1",
<|file_sep|>original/haxelib.json
{
"name": "ufront",
"license": "MIT"... | {
"name": "ufront",
"license": "MIT",
"classPath": "src",
"tags": ["ufront","web","cli","shell","interactive","neko"],
"description": "A command line tool to help you manage your ufront project.",
"contributors": ["jason"],
"releasenote": "Initial Release. For early adopters only at this point, things sub... | <|file_sep|>haxelib.json.diff
original:
"releasenote": "Initial Release",
"version": "1.0.0-beta.1",
updated:
"releasenote": "Initial Release. For early adopters only at this point, things subject to change.",
"version": "1.0.0-alpha.1",
<|file_sep|>original/haxelib.json
{
"name": "ufront",
"license": "MIT"... | 8538da9e9da7f69ca1dbd0580958b60bf04764b6 | haxelib.json | haxelib.json | JSON |
<|file_sep|>deploytools/saltstack/packetbeat/init.sls.diff
original:
{% if grains['os'] == 'RedHat' %}
updated:
{% if grains['os_family'] == 'RedHat' %}
<|file_sep|>original/deploytools/saltstack/packetbeat/init.sls
packetbeat-deps:
pkg:
- latest
- names:
{% if grains['os'] == 'RedHat' %}
- libpcap
... | packetbeat-deps:
pkg:
- latest
- names:
{% if grains['os_family'] == 'RedHat' %}
- libpcap
- daemonize
{% elif grains['os_family'] == 'Ubuntu' %}
- libpcap0.8
{% endif %}
- require_in: packetbeat
packetbeat:
pkg:
- installed
- sources:
{% if grains['os_family'] == 'RedHat' %}
... | <|file_sep|>deploytools/saltstack/packetbeat/init.sls.diff
original:
{% if grains['os'] == 'RedHat' %}
updated:
{% if grains['os_family'] == 'RedHat' %}
<|file_sep|>original/deploytools/saltstack/packetbeat/init.sls
packetbeat-deps:
pkg:
- latest
- names:
{% if grains['os'] == 'RedHat' %}
- libpcap
... | 5073c72a539b705e8185127f27ebf7a93aacdf8d | deploytools/saltstack/packetbeat/init.sls | deploytools/saltstack/packetbeat/init.sls | SaltStack |
<|file_sep|>original/requirements.txt
# Core packages
django-dotenv==1.4.1 # Read environment variables from .env
django-getenv==1.3.2 # Get environment variables
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past ... | # Core packages
django-dotenv==1.4.1 # Read environment variables from .env
django-getenv==1.3.2 # Get environment variables
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past security update
cssmin==0.2.0 #... | <|file_sep|>original/requirements.txt
# Core packages
django-dotenv==1.4.1 # Read environment variables from .env
django-getenv==1.3.2 # Get environment variables
Flask==0.12.2 # Web microframework
Flask-Assets==0.12 # Merge and minify CSS and JS assets
Jinja2>=2.8.1 # Templating for Flask; pinned past ... | 4249e82601b27d383b15bd16296975223f0c3793 | requirements.txt | requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
language: bash
updated:
language: php
<|file_sep|>.travis.yml.diff
original:
updated:
dist: precise
group: stable
<|file_sep|>.travis.yml.diff
original:
updated:
- debug_vm
<|file_sep|>original/.travis.yml
language: bash
sudo: false
install:
- "echo installing..."
s... | language: php
sudo: false
dist: precise
group: stable
install:
- "echo installing..."
- debug_vm
script:
- echo script
after_failure:
- echo after failure | <|file_sep|>.travis.yml.diff
original:
language: bash
updated:
language: php
<|file_sep|>.travis.yml.diff
original:
updated:
dist: precise
group: stable
<|file_sep|>.travis.yml.diff
original:
updated:
- debug_vm
<|file_sep|>original/.travis.yml
language: bash
sudo: false
install:
- "echo installing..."
s... | 3cc4f686f5a537a2df3dcd60a60dfe4602a133a8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/locales/it/notes.properties
forgetEmail=Dimentica questa email
syncNotReady2=Siamo spiacenti, Sync non è ancora supportato, ma consideriamo il tuo clic un incentivo a renderlo disponibile quanto prima.
syncNotes=Sincronizza le tue note
syncProgress=Sincronizzazione modifiche…
# LOCALIZATION NOTE (... | # LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
disableSync=Disattiva sincronizzazione
# LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this
# structure doesn't work for your locale, you can translate this as "Last sync:
# {date}".
syncComplet... | <|file_sep|>original/locales/it/notes.properties
forgetEmail=Dimentica questa email
syncNotReady2=Siamo spiacenti, Sync non è ancora supportato, ma consideriamo il tuo clic un incentivo a renderlo disponibile quanto prima.
syncNotes=Sincronizza le tue note
syncProgress=Sincronizzazione modifiche…
# LOCALIZATION NOTE (... | f47e271a664df9c4f8c3e7025e9cee2492894939 | locales/it/notes.properties | locales/it/notes.properties | INI |
<|file_sep|>original/develop_requirements.txt
ansible==2.6.4
pip==18.0
wheel==0.31.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
coverage==4.5.1
Sphinx==1.8.0
twine==1.11.0
rstcheck==3.3
pycodestyle==2.4.0
pylint==2.1.1
<|file_sep|>current/develop_requirements.txt
ansible==2.6.4
pip==18.0
wheel==0.31.1
watchdog==0.9.0
fl... | ansible==2.6.4
pip==18.0
wheel==0.31.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
coverage==4.5.1
Sphinx==1.8.0
twine==1.12.0
rstcheck==3.3
pycodestyle==2.4.0
pylint==2.1.1
| <|file_sep|>original/develop_requirements.txt
ansible==2.6.4
pip==18.0
wheel==0.31.1
watchdog==0.9.0
flake8==3.5.0
tox==3.4.0
coverage==4.5.1
Sphinx==1.8.0
twine==1.11.0
rstcheck==3.3
pycodestyle==2.4.0
pylint==2.1.1
<|file_sep|>current/develop_requirements.txt
ansible==2.6.4
pip==18.0
wheel==0.31.1
watchdog==0.9.0
fl... | ed2bcb10eca12e46be1ea0ba6edfd1c31b70db31 | develop_requirements.txt | develop_requirements.txt | Text |
<|file_sep|>server/api/cuisine_colors.js.diff
original:
const axios = require('axios');
updated:
<|file_sep|>server/api/cuisine_colors.js.diff
original:
updated:
const axios = require('axios');
const storage = require('node-persist');
<|file_sep|>server/api/cuisine_colors.js.diff
original:
imageSearch = new GoogleI... | const vision = new Vision({
keyFilename: './server/api/_keys/varsncrafts-cuisine-8877256aaf7e.json'
});
const request = {
source: {
imageUri: image_url
}
};
vision.imageProperties(request)
.then((results) => {
const properties = results[0].imagePropertiesAnnotation;
const co... | <|file_sep|>server/api/cuisine_colors.js.diff
original:
const axios = require('axios');
updated:
<|file_sep|>server/api/cuisine_colors.js.diff
original:
updated:
const axios = require('axios');
const storage = require('node-persist');
<|file_sep|>server/api/cuisine_colors.js.diff
original:
imageSearch = new GoogleI... | b446e78c38546ab6ff12f68a75a8e461892cec77 | server/api/cuisine_colors.js | server/api/cuisine_colors.js | JavaScript |
<|file_sep|>original/SSFadingScrollView.podspec
Pod::Spec.new do |s|
s.name = "SSFadingScrollView"
s.version = "1.0"
s.summary = "A UIScrollView subclass that fades the top and/or bottom of a scroll view to transparent"
s.homepage = "https://github.com/stephsharp/SSFadingScrollView/"
s.l... | Pod::Spec.new do |s|
s.name = "SSFadingScrollView"
s.version = "1.0.1"
s.summary = "A UIScrollView subclass that fades the top and/or bottom of a scroll view to transparent"
s.homepage = "https://github.com/stephsharp/SSFadingScrollView/"
s.license = { :type => "MIT", :file => "LICE... | <|file_sep|>original/SSFadingScrollView.podspec
Pod::Spec.new do |s|
s.name = "SSFadingScrollView"
s.version = "1.0"
s.summary = "A UIScrollView subclass that fades the top and/or bottom of a scroll view to transparent"
s.homepage = "https://github.com/stephsharp/SSFadingScrollView/"
s.l... | fd79faea880462fe41ff40e8a39d0e3ec796ce62 | SSFadingScrollView.podspec | SSFadingScrollView.podspec | Ruby |
<|file_sep|>original/.travis.yml
sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-Trunk
matrix:
allow_failures:
- env: ST=Squeak-Trunk
# Boilerplate ... should be no reason to edit the install section
install:
- e... | sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-4.6
# Boilerplate ... should be no reason to edit the install section
install:
- export PROJECT_HOME="$(pwd)"
- cd $HOME
- wget -q -O builderCI.zip https://github.co... | <|file_sep|>original/.travis.yml
sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-Trunk
matrix:
allow_failures:
- env: ST=Squeak-Trunk
# Boilerplate ... should be no reason to edit the install section
install:
- e... | 14eb757bdf00967b5e33503b34748c53fd633d17 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/models/course/assessment/question/forum_response.rb.diff
original:
validates :has_text_response, presence: true
validates :max_posts, presence: true, numericality: { only_integer: true }, in: (1..max_posts_allowed).to_a
updated:
validates :max_posts, presence: true, numericality: { only_integer: t... | # frozen_string_literal: true
class Course::Assessment::Question::ForumResponse < ApplicationRecord
acts_as :question, class_name: Course::Assessment::Question.name
validates :max_posts, presence: true, numericality: { only_integer: true }
validate :allowable_max_post_count
def question_type
I18n.t('cours... | <|file_sep|>app/models/course/assessment/question/forum_response.rb.diff
original:
validates :has_text_response, presence: true
validates :max_posts, presence: true, numericality: { only_integer: true }, in: (1..max_posts_allowed).to_a
updated:
validates :max_posts, presence: true, numericality: { only_integer: t... | 1a066c9c259087478b871f93cbfff5d8488a469e | app/models/course/assessment/question/forum_response.rb | app/models/course/assessment/question/forum_response.rb | Ruby |
<|file_sep|>original/migrations/20141007112548-uniqueromvariants.js
<|file_sep|>current/migrations/20141007112548-uniqueromvariants.js
<|file_sep|>updated/migrations/20141007112548-uniqueromvariants.js | module.exports = {
up: function(migration, DataTypes, done) {
migration.removeIndex('Incrementals', 'Incrementals_UniqueFilePerDirectory');
migration.addIndex(
'Incrementals',
[ 'RomVariantId', 'filename' ],
{
indexName: 'Incrementals_UniqueFilePerRomVariant',
indicesType: 'UNIQUE',
}
);
... | <|file_sep|>original/migrations/20141007112548-uniqueromvariants.js
<|file_sep|>current/migrations/20141007112548-uniqueromvariants.js
<|file_sep|>updated/migrations/20141007112548-uniqueromvariants.js
module.exports = {
up: function(migration, DataTypes, done) {
migration.removeIndex('Incrementals', 'Incrementals... | ec3dc4a2824e31bcb526d7873045efaa638b7f5f | migrations/20141007112548-uniqueromvariants.js | migrations/20141007112548-uniqueromvariants.js | JavaScript |
<|file_sep|>original/composer.json
"autoload": {
"psr-4": {
"Skysplit\\Laravel\\Translation\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/app/Providers/AppTestProvider.php"
]
},
"require": {
"ext-intl": "*",
"illuminate/su... | "autoload": {
"psr-4": {
"Skysplit\\Laravel\\Translation\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/app/Providers/AppTestProvider.php"
]
},
"require": {
"ext-intl": "*",
"illuminate/support": "^5.2",
"illuminate... | <|file_sep|>original/composer.json
"autoload": {
"psr-4": {
"Skysplit\\Laravel\\Translation\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/app/Providers/AppTestProvider.php"
]
},
"require": {
"ext-intl": "*",
"illuminate/su... | 7a3dbe69d1acbfb3203528382becd129971f034b | composer.json | composer.json | JSON |
<|file_sep|>original/kuulemma/static/app/assets/styles/auth.less
.login-page {
h1 {
.klm-heading-medium;
}
button {
text-transform: uppercase;
}
form input {
border: 1px solid @gray-dark;
height: 40px;
font-size: @font-size-base;
}
.form-actions {
.make-column(10, 10, 10);
.... | .login-page {
h1 {
.klm-heading-medium;
margin-bottom: @layout-margin-small;
@media (min-width: @screen-sm-min) {
margin-bottom: @layout-margin-medium;
}
}
button {
text-transform: uppercase;
}
form input {
border: 1px solid @gray-dark;
height: 40px;
font-size: @font-s... | <|file_sep|>original/kuulemma/static/app/assets/styles/auth.less
.login-page {
h1 {
.klm-heading-medium;
}
button {
text-transform: uppercase;
}
form input {
border: 1px solid @gray-dark;
height: 40px;
font-size: @font-size-base;
}
.form-actions {
.make-column(10, 10, 10);
.... | 370da4759dd8d1a67852a96d00cfcbb64f44062a | kuulemma/static/app/assets/styles/auth.less | kuulemma/static/app/assets/styles/auth.less | Less |
<|file_sep|>lib/rspec/rake/example_group.rb.diff
original:
metadata[:tasks_path] ||= File.join('..', 'lib', 'tasks')
updated:
metadata[:tasks_path] ||= File.join('lib', 'tasks')
<|file_sep|>original/lib/rspec/rake/example_group.rb
metadata[:tasks_path] ||= File.join('..', 'lib', 'tasks')
... | metadata[:tasks_path] ||= File.join('lib', 'tasks')
metadata[:rakefile] ||= nil
subject(:task) { Rake.application[self.class.top_level_description] }
before(:each) do
metadata = self.class.metadata
task_name = self.class.top_level_description
rakefile = ... | <|file_sep|>lib/rspec/rake/example_group.rb.diff
original:
metadata[:tasks_path] ||= File.join('..', 'lib', 'tasks')
updated:
metadata[:tasks_path] ||= File.join('lib', 'tasks')
<|file_sep|>original/lib/rspec/rake/example_group.rb
metadata[:tasks_path] ||= File.join('..', 'lib', 'tasks')
... | 7a5ba3f5717fff586e6a0e9b52b1c7a26ee4b65b | lib/rspec/rake/example_group.rb | lib/rspec/rake/example_group.rb | Ruby |
<|file_sep|>src/background-script/quick-and-dirty-migrations.ts.diff
original:
updated:
import normalize from 'src/util/encode-url-for-id'
<|file_sep|>original/src/background-script/quick-and-dirty-migrations.ts
import Dexie from 'dexie'
export interface Migrations {
[storageKey: string]: (db: Dexie) => Promise<v... | import Dexie from 'dexie'
import normalize from 'src/util/encode-url-for-id'
export interface Migrations {
[storageKey: string]: (db: Dexie) => Promise<void>
}
export const migrations: Migrations = {
/**
* If pageUrl is undefined, then re-derive it from url field.
*/
'annots-undefined-pageUrl-fi... | <|file_sep|>src/background-script/quick-and-dirty-migrations.ts.diff
original:
updated:
import normalize from 'src/util/encode-url-for-id'
<|file_sep|>original/src/background-script/quick-and-dirty-migrations.ts
import Dexie from 'dexie'
export interface Migrations {
[storageKey: string]: (db: Dexie) => Promise<v... | 0f358e1f21a623ae7423fab7af955f1b2bf47336 | src/background-script/quick-and-dirty-migrations.ts | src/background-script/quick-and-dirty-migrations.ts | TypeScript |
<|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- brew update
- brew install carthage
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7
script:
- xcodebuild test -scheme Result-iOS -sdk iphonesimulator
- xcodebuild test -scheme Result-Mac
notifications:
email: false... | language: objective-c
osx_image: xcode7
before_install:
- brew update
- brew install carthage
script:
- xcodebuild test -scheme Result-iOS -sdk iphonesimulator
- xcodebuild test -scheme Result-Mac
- carthage build --no-skip-current
notifications:
email: false
| <|file_sep|>.travis.yml.diff
original:
updated:
before_install:
- brew update
- brew install carthage
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7
script:
- xcodebuild test -scheme Result-iOS -sdk iphonesimulator
- xcodebuild test -scheme Result-Mac
notifications:
email: false... | 0f2e5c03bcb3c4009e64b18e134bd6277996600d | .travis.yml | .travis.yml | YAML |
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
| Driver | Xdebug / PHPDBG
updated:
| Driver | PCOV / Xdebug / PHPDBG
| PCOV version (if used) | x.y.z
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
| Q | A
| --------------------------| --------------... | | Q | A
| --------------------------| ---------------
| php-code-coverage version | x.y.z
| PHP version | x.y.z
| Driver | PCOV / Xdebug / PHPDBG
| PCOV version (if used) | x.y.z
| Xdebug version (if used) | x.y.z
| Installation Method | Composer / PHPU... | <|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
| Driver | Xdebug / PHPDBG
updated:
| Driver | PCOV / Xdebug / PHPDBG
| PCOV version (if used) | x.y.z
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
| Q | A
| --------------------------| --------------... | 9f4335cf4951de192c6aa763b19638bdc41a1290 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java
<|file_sep|>current/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java
<|file_sep|>updated/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java | package org.bouncycastle.crypto.prng;
/**
* Takes bytes generated by an underling RandomGenerator and reverses the order in
* each small window (of configurable size).
* <p>
* Access to internals is synchronized so a single one of these can be shared.
* </p>
*/
public class ReversedWindowGenerator
implements... | <|file_sep|>original/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java
<|file_sep|>current/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java
<|file_sep|>updated/src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java
package org.bouncycastle.crypto.prng;
/**
* Takes bytes generated by ... | c2b2bed61f4bddeb24b084ddf979baa25e6e3b15 | src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java | src/org/bouncycastle/crypto/prng/ReversedWindowGenerator.java | Java |
<|file_sep|>original/algorithms/strings/GemStones.scala
<|file_sep|>current/algorithms/strings/GemStones.scala
<|file_sep|>updated/algorithms/strings/GemStones.scala | object Solution {
def main(args: Array[String]) {
val strings = (1 to readInt).map(x => readLine.toSet))
val intersect = strings.reduceLeft { _ & _ }
println(intersect.size)
}
} | <|file_sep|>original/algorithms/strings/GemStones.scala
<|file_sep|>current/algorithms/strings/GemStones.scala
<|file_sep|>updated/algorithms/strings/GemStones.scala
object Solution {
def main(args: Array[String]) {
val strings = (1 to readInt).map(x => readLine.toSet))
val intersect = strings.reduceLeft {... | 38625d18037649342fc6ea00d2851c79a0ce5fa7 | algorithms/strings/GemStones.scala | algorithms/strings/GemStones.scala | Scala |
<|file_sep|>original/spec/lib/nfedobrasil_spec.rb
describe '#client' do
subject { NfedoBrasil.client({ssl_plcs_file: File.dirname(__FILE__) + '/../support/certificate.p12', ssl_plcs_password: 'nughee1O'}) }
it 'returns a Savon client' do
expect(subject).to be_a Savon::Client
expect(subject.global... | describe '#client' do
subject { NfedoBrasil.client({ssl_plcs_file: File.dirname(__FILE__) + '/../support/certificate.p12', ssl_plcs_password: 'nughee1O'}) }
it 'returns a Savon client' do
expect(subject).to be_a Savon::Client
expect(subject.globals[:wsdl]).to match(/https:\/\/ws-nfeplace/)
en... | <|file_sep|>original/spec/lib/nfedobrasil_spec.rb
describe '#client' do
subject { NfedoBrasil.client({ssl_plcs_file: File.dirname(__FILE__) + '/../support/certificate.p12', ssl_plcs_password: 'nughee1O'}) }
it 'returns a Savon client' do
expect(subject).to be_a Savon::Client
expect(subject.global... | ea3db2bf36793f85c3e5cd08636d486f24468da2 | spec/lib/nfedobrasil_spec.rb | spec/lib/nfedobrasil_spec.rb | Ruby |
<|file_sep|>original/x86test/Cargo.toml
repository = "https://github.com/gz/rust-x86"
documentation = "https://docs.rs/x86test"
readme = "README.md"
keywords = ["vm", "os", "amd64", "kvm", "x86-64"]
license = "MIT OR Apache-2.0"
edition = '2018'
description = """
Custom test runner for bare-metal x86 tests.
"""
[de... |
repository = "https://github.com/gz/rust-x86"
documentation = "https://docs.rs/x86test"
readme = "README.md"
keywords = ["vm", "os", "amd64", "kvm", "x86-64"]
license = "MIT OR Apache-2.0"
edition = '2018'
description = """
Custom test runner for bare-metal x86 tests.
"""
[dependencies]
x86test-macro = { path = "x8... | <|file_sep|>original/x86test/Cargo.toml
repository = "https://github.com/gz/rust-x86"
documentation = "https://docs.rs/x86test"
readme = "README.md"
keywords = ["vm", "os", "amd64", "kvm", "x86-64"]
license = "MIT OR Apache-2.0"
edition = '2018'
description = """
Custom test runner for bare-metal x86 tests.
"""
[de... | ed170b806edc571e59003921d391f344d20c780a | x86test/Cargo.toml | x86test/Cargo.toml | TOML |
<|file_sep|>original/README.md
# Fantastic
<|file_sep|>current/README.md
# Fantastic
<|file_sep|>updated/README.md | #nomadr-api
nomadr-api is the back-end server side API that serves the client-side Chrome Extension app, 'nomadr'.
This API uses the express.js framework.
The following routes are currently available:
GET - Return all users
http://nomadr-api.herokuapp.com/api/users
GET - Return one user, finding by id:
http://noma... | <|file_sep|>original/README.md
# Fantastic
<|file_sep|>current/README.md
# Fantastic
<|file_sep|>updated/README.md
#nomadr-api
nomadr-api is the back-end server side API that serves the client-side Chrome Extension app, 'nomadr'.
This API uses the express.js framework.
The following routes are currently available:
... | 2a93ffb1aaf567494e80f486758408ad59c8d311 | README.md | README.md | Markdown |
<|file_sep|>original/planetstack/core/models/__init__.py
from .user import User, UserDashboardView
from .serviceclass import ServiceClass
from .slice import Slice, SliceDeployments
from .site import SitePrivilege, SiteDeployments
from .userdeployments import UserDeployments
from .image import Image, ImageDeployments
fr... | from .user import User, UserDashboardView
from .serviceclass import ServiceClass
from .slice import Slice, SliceDeployments
from .site import SitePrivilege, SiteDeployments
from .userdeployments import UserDeployments
from .image import Image, ImageDeployments
from .node import Node
from .serviceresource import Service... | <|file_sep|>original/planetstack/core/models/__init__.py
from .user import User, UserDashboardView
from .serviceclass import ServiceClass
from .slice import Slice, SliceDeployments
from .site import SitePrivilege, SiteDeployments
from .userdeployments import UserDeployments
from .image import Image, ImageDeployments
fr... | 48426b63bd4123ed6f63a38f3e4e2b401cd5c188 | planetstack/core/models/__init__.py | planetstack/core/models/__init__.py | Python |
<|file_sep|>original/.travis.yml
script:
- mvn dependency:copy-dependencies
- ant -f src/main/java/com/google/security/zynamics/build.xml build-binnavi-fat-jar
<|file_sep|>current/.travis.yml
script:
- mvn dependency:copy-dependencies
- ant -f src/main/java/com/google/security/zynamics/build.xml build-binnavi... | script:
- mvn dependency:copy-dependencies
- ant build-binnavi-fat-jar | <|file_sep|>original/.travis.yml
script:
- mvn dependency:copy-dependencies
- ant -f src/main/java/com/google/security/zynamics/build.xml build-binnavi-fat-jar
<|file_sep|>current/.travis.yml
script:
- mvn dependency:copy-dependencies
- ant -f src/main/java/com/google/security/zynamics/build.xml build-binnavi... | ac2cda48e3121aef780d6eabf6610761c9777b33 | .travis.yml | .travis.yml | YAML |
<|file_sep|>circle.yml.diff
original:
updated:
CLIENT_SECRET: client_secret
CLIENT_ID: client_id
<|file_sep|>original/circle.yml
DB_USERNAME: root
DB_PASSWORD: ""
DEBUG: true
OAUTH_ENABLED: true
hosts:
test.phalconbaseproject.com: 127.0.0.1
post:
- touch .env.test
test:
override:... | CLIENT_SECRET: client_secret
CLIENT_ID: client_id
hosts:
test.phalconbaseproject.com: 127.0.0.1
post:
- touch .env.test
test:
override:
- ant build
dependencies:
override:
- LC_ALL=C.UTF-8 sudo add-apt-repository -y ppa:ondrej/php; sudo apt-get update; sudo apt-get install -y php5.6
... | <|file_sep|>circle.yml.diff
original:
updated:
CLIENT_SECRET: client_secret
CLIENT_ID: client_id
<|file_sep|>original/circle.yml
DB_USERNAME: root
DB_PASSWORD: ""
DEBUG: true
OAUTH_ENABLED: true
hosts:
test.phalconbaseproject.com: 127.0.0.1
post:
- touch .env.test
test:
override:... | 0cf203b98d3bd36783c9dec48a0590042196277d | circle.yml | circle.yml | YAML |
<|file_sep|>original/lib/tasks/encrypted_test_file_names.rake
when 'spinach'
KnapsackPro::Adapters::SpinachAdapter
else
raise('Provide adapter name like rspec, minitest, test_unit, cucumber, spinach')
end
test_f... | when 'spinach'
KnapsackPro::Adapters::SpinachAdapter
else
raise('Provide adapter name like rspec, minitest, test_unit, cucumber, spinach')
end
test_file_pattern = KnapsackPro::TestFilePattern.call(adapter_class)... | <|file_sep|>original/lib/tasks/encrypted_test_file_names.rake
when 'spinach'
KnapsackPro::Adapters::SpinachAdapter
else
raise('Provide adapter name like rspec, minitest, test_unit, cucumber, spinach')
end
test_f... | ca3aaad2ff089bb2e3f915afd5c0e8e408df74dc | lib/tasks/encrypted_test_file_names.rake | lib/tasks/encrypted_test_file_names.rake | Ruby |
<|file_sep|>.travis.yml.diff
original:
- chef-stable-trusty
updated:
- chef-current-trusty
<|file_sep|>.travis.yml.diff
original:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodc... | env:
matrix:
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)"
- chef --version
- cooksty... | <|file_sep|>.travis.yml.diff
original:
- chef-stable-trusty
updated:
- chef-current-trusty
<|file_sep|>.travis.yml.diff
original:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef --version
- /opt/chefdk/embedded/bin/cookstyle --version
- /opt/chefdk/embedded/bin/foodc... | 6f44b9c4f3b968e7e47ea8137dee358ca37b5f10 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Cargo.toml
version = "0.6.21"
authors = ["Stephan Hügel <urschrei@gmail.com>"]
license = "MIT"
keywords = ["OSGB36", "BNG", "Geo", "ETRS89", "OSTN02", "OSTN15"]
repository = "https://github.com/urschrei/lonlat_bng"
documentation = "https://urschrei.github.io/lonlat_bng/"
readme = "README.md"
editio... | version = "0.6.21"
authors = ["Stephan Hügel <urschrei@gmail.com>"]
license = "MIT"
keywords = ["OSGB36", "BNG", "Geo", "ETRS89", "OSTN02", "OSTN15"]
repository = "https://github.com/urschrei/lonlat_bng"
documentation = "https://urschrei.github.io/lonlat_bng/"
readme = "README.md"
edition = "2018"
[build-dependencies]... | <|file_sep|>original/Cargo.toml
version = "0.6.21"
authors = ["Stephan Hügel <urschrei@gmail.com>"]
license = "MIT"
keywords = ["OSGB36", "BNG", "Geo", "ETRS89", "OSTN02", "OSTN15"]
repository = "https://github.com/urschrei/lonlat_bng"
documentation = "https://urschrei.github.io/lonlat_bng/"
readme = "README.md"
editio... | b090ef5af64c4cc0833fdff57ccb42ddcf82ed65 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>basis/debugger/threads/threads.factor.diff
original:
] "" make swap write-object ":" print nl ;
updated:
] "" make swap write-object ":" print ;
<|file_sep|>original/basis/debugger/threads/threads.factor
IN: debugger.threads
: error-in-thread. ( thread -- )
"Error in thread " write
[
... | "Error in thread " write
[
dup id>> #
" (" % dup name>> %
", " % dup quot>> unparse-short % ")" %
] "" make swap write-object ":" print ;
M: thread error-in-thread ( error thread -- )
initial-thread get-global eq? [
die drop
] [
global [
error-thr... | <|file_sep|>basis/debugger/threads/threads.factor.diff
original:
] "" make swap write-object ":" print nl ;
updated:
] "" make swap write-object ":" print ;
<|file_sep|>original/basis/debugger/threads/threads.factor
IN: debugger.threads
: error-in-thread. ( thread -- )
"Error in thread " write
[
... | 15391abdd7d33b39f78bac1d873c7a77952c534e | basis/debugger/threads/threads.factor | basis/debugger/threads/threads.factor | Factor |
<|file_sep|>matrix-sdk/src/main/res/layout/fragment_matrix_message_list_fragment.xml.diff
original:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
... | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:background="#248801">
<org.matrix.androidsdk.view.AutoScrollDownListView
android:id="@+id/lis... | <|file_sep|>matrix-sdk/src/main/res/layout/fragment_matrix_message_list_fragment.xml.diff
original:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
... | 6be06a3d7cb1a5f6ca139d50d731637ab236b429 | matrix-sdk/src/main/res/layout/fragment_matrix_message_list_fragment.xml | matrix-sdk/src/main/res/layout/fragment_matrix_message_list_fragment.xml | XML |
<|file_sep|>original/server.js
version: false
}
}));
app.use(hotMiddleware(compiler));
// Support for pushState URLs
app.get('*', function(req, res, next) {
var ext = path.extname(req.url);
if ((ext === '' || ext === '.html') && req.url !== '/') {
req.pipe(request(req.protocol + ... | version: false
}
}));
app.use(hotMiddleware(compiler));
// Support for pushState URLs
app.get('*', function(req, res, next) {
var ext = path.extname(req.url);
if ((ext === '' || ext === '.html') && req.url !== '/') {
req.pipe(request(req.protocol + '://' + req.hostname + ':' + co... | <|file_sep|>original/server.js
version: false
}
}));
app.use(hotMiddleware(compiler));
// Support for pushState URLs
app.get('*', function(req, res, next) {
var ext = path.extname(req.url);
if ((ext === '' || ext === '.html') && req.url !== '/') {
req.pipe(request(req.protocol + ... | 775d97f1454e4200eb2a85173c0303c3c4750f1c | server.js | server.js | JavaScript |
<|file_sep|>source/scripts/setup-plugins.ts.diff
original:
updated:
const log = console.log
<|file_sep|>source/scripts/setup-plugins.ts.diff
original:
console.log("Installing: " + plugins) // tslint:disable-line
// Install them with yarn
child_process.execSync("yarn add " + plugins)
updated:
log("Inst... |
const installation = await db.getInstallation(0)
if (!installation) {
return
}
// Look for plugins
if (installation.settings.plugins && installation.settings.plugins.length !== 0) {
const plugins = installation.settings.plugins.join(" ")
log("Installing: " + plugins)
const ls = child_process... | <|file_sep|>source/scripts/setup-plugins.ts.diff
original:
updated:
const log = console.log
<|file_sep|>source/scripts/setup-plugins.ts.diff
original:
console.log("Installing: " + plugins) // tslint:disable-line
// Install them with yarn
child_process.execSync("yarn add " + plugins)
updated:
log("Inst... | db8eb08bd4afdd55685fb1465b8b47b1680e7389 | source/scripts/setup-plugins.ts | source/scripts/setup-plugins.ts | TypeScript |
<|file_sep|>taste_of_home/db/seeds.rb.diff
original:
<<<<<<< HEAD
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
=======
>>>>>>> master
updated:
<|fi... | Tag.delete_all
users = 20.times.map do
User.create!( :username => Faker::Internet.user_name,
:email => Faker::Internet.email,
:password => "password",
)
end
Tag.create!(description: 'British')
Tag.create!(description: 'Senegal')
Tag.create!(description: 'candy')
Tag.create!(des... | <|file_sep|>taste_of_home/db/seeds.rb.diff
original:
<<<<<<< HEAD
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
=======
>>>>>>> master
updated:
<|fi... | 7b90a63a881f7b75a5dd4e041e72a6bd467a9559 | taste_of_home/db/seeds.rb | taste_of_home/db/seeds.rb | Ruby |
<|file_sep|>original/ubuntu-desktop-gnome-rdp/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy Ubuntu Gnome Desktop and Remote Desktop Support",
"description": "This template deploys an Ubuntu Server VM, then uses the Linux... | {
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy Ubuntu Gnome Desktop and Remote Desktop Support",
"description": "This template deploys an Ubuntu Server VM, then uses the Linux CustomScript extension to install the Ubuntu Gnome Desktop ... | <|file_sep|>original/ubuntu-desktop-gnome-rdp/metadata.json
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy Ubuntu Gnome Desktop and Remote Desktop Support",
"description": "This template deploys an Ubuntu Server VM, then uses the Linux... | b2960c791cf96042593d6b2350e1e3d932aacd27 | ubuntu-desktop-gnome-rdp/metadata.json | ubuntu-desktop-gnome-rdp/metadata.json | JSON |
<|file_sep|>original/methane.gemspec
gem.summary = %q{Because we need a decent open source Campfire client.}
gem.homepage = "https://github.com/stas/methane"
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = g... | gem.homepage = "https://github.com/stas/methane"
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "methane"
gem.require_paths = ["lib"]
gem.version... | <|file_sep|>original/methane.gemspec
gem.summary = %q{Because we need a decent open source Campfire client.}
gem.homepage = "https://github.com/stas/methane"
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = g... | 77376f6dfe7f863b3de066c3897b9daedb9a4823 | methane.gemspec | methane.gemspec | Ruby |
<|file_sep|>Package.swift.diff
original:
updated:
dependencies: [
.package(url: "https://github.com/AccioSupport/Motion.git", .branch("development")),
],
<|file_sep|>original/Package.swift
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Material",
// platform... | // swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Material",
// platforms: [.iOS("8.0")],
products: [
.library(name: "Material", targets: ["Material"])
],
dependencies: [
.package(url: "https://github.com/AccioSupport/Motion.git", .branch("developmen... | <|file_sep|>Package.swift.diff
original:
updated:
dependencies: [
.package(url: "https://github.com/AccioSupport/Motion.git", .branch("development")),
],
<|file_sep|>original/Package.swift
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Material",
// platform... | 6911cc4b565e1816e9db63f52fc2d9d31587c13b | Package.swift | Package.swift | Swift |
<|file_sep|>original/app/views/posts/show.html.erb
| <%= link_to 'Edit', edit_post_path(@post) %>
<% end %>
<% if policy(@post).destroy? %>
| <%= link_to 'Destroy', post_path(@post), method: :delete, data: { confirm: 'Are you sure?' } %>
<% end %>
</p>
<div class="body">
<%= raw @post.b... | | <%= link_to 'Edit', edit_post_path(@post) %>
<% end %>
<% if policy(@post).destroy? %>
| <%= link_to 'Destroy', post_path(@post), method: :delete, data: { confirm: 'Are you sure?' } %>
<% end %>
</p>
<div class="body">
<%= raw @post.body_html %>
<% if @post.external_post? %>
... | <|file_sep|>original/app/views/posts/show.html.erb
| <%= link_to 'Edit', edit_post_path(@post) %>
<% end %>
<% if policy(@post).destroy? %>
| <%= link_to 'Destroy', post_path(@post), method: :delete, data: { confirm: 'Are you sure?' } %>
<% end %>
</p>
<div class="body">
<%= raw @post.b... | 0d9a588a6ea12ebd18448da99b4904c6bcf88539 | app/views/posts/show.html.erb | app/views/posts/show.html.erb | HTML+ERB |
<|file_sep|>README.textile.diff
original:
updated:
h1. Welcome to Rouge
<|file_sep|>README.textile.diff
original:
updated:
h1. Usage
Rouge makes your JavaScript look and feel more like Ruby while preserving sound
JavaScript style.
Stop writing:
<pre><code>var array = ['a', 'b', 'c', 'd', 'e'];
for (var s in array... | Rouge makes your JavaScript look and feel more like Ruby while preserving sound
JavaScript style.
Stop writing:
<pre><code>var array = ['a', 'b', 'c', 'd', 'e'];
for (var s in array) {
alert(s);
}</code></pre>
when instead you can write:
<pre><code>var array = ['a', 'b', 'c', 'd', 'e'];
array.each(function(s) {
... | <|file_sep|>README.textile.diff
original:
updated:
h1. Welcome to Rouge
<|file_sep|>README.textile.diff
original:
updated:
h1. Usage
Rouge makes your JavaScript look and feel more like Ruby while preserving sound
JavaScript style.
Stop writing:
<pre><code>var array = ['a', 'b', 'c', 'd', 'e'];
for (var s in array... | 7796a85bfb081b4ff55d845c5965a69260217f24 | README.textile | README.textile | Textile |
<|file_sep|>.travis.yml.diff
original:
updated:
- 1.9
<|file_sep|>original/.travis.yml
language: go
go:
- 1.8.3
- 1.7.6
sudo: false
script:
- go vet ./...
- go test ./...
<|file_sep|>current/.travis.yml
language: go
go:
- 1.9
- 1.8.3
- 1.7.6
sudo: false
script:
- go vet ./...
- go test ./...
... | language: go
go:
- 1.9
- 1.8.3
sudo: false
script:
- go vet ./...
- go test ./... | <|file_sep|>.travis.yml.diff
original:
updated:
- 1.9
<|file_sep|>original/.travis.yml
language: go
go:
- 1.8.3
- 1.7.6
sudo: false
script:
- go vet ./...
- go test ./...
<|file_sep|>current/.travis.yml
language: go
go:
- 1.9
- 1.8.3
- 1.7.6
sudo: false
script:
- go vet ./...
- go test ./...
... | 07cd9e335ea9995b6ddaad73b51ec7fafd80011c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
title: 'Nathan Kleyn'
tagline: 'The musings of a programming fanatic'
description: 'Ruby, Haskell, Rust, and JS tinkerer. Find me on Twitter as <a href="https://twitter.com/nathankleyn" tar... | # Dependencies
highlighter: rouge
# Permalinks
permalink: pretty
# Setup
title: 'Nathan Kleyn'
tagline: 'The musings of a programming fanatic'
description: 'Ruby, Haskell, Rust, and JS tinkerer. Find me on Twitter as <a href="https://twitter.com/nathankleyn" target="_blank">@nathankleyn</a>.'
url: http://nathankleyn.... | <|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
title: 'Nathan Kleyn'
tagline: 'The musings of a programming fanatic'
description: 'Ruby, Haskell, Rust, and JS tinkerer. Find me on Twitter as <a href="https://twitter.com/nathankleyn" tar... | ae889e83a55fdf5f145476c769055fddd881bfa7 | _config.yml | _config.yml | YAML |
<|file_sep|>original/app/helpers/pg_hero/home_helper.rb
else
@database.quote_ident(ident)
end
end
def pghero_js_var(name, value)
"var #{name} = #{json_escape(value.to_json(root: false))};".html_safe
end
def pghero_remove_index(query)
if query[:columns]
columns =... | else
@database.quote_ident(ident)
end
end
def pghero_js_var(name, value)
"var #{name} = #{json_escape(value.to_json(root: false))};".html_safe
end
def pghero_remove_index(query)
if query[:columns]
columns = query[:columns].map(&:to_sym)
columns = columns... | <|file_sep|>original/app/helpers/pg_hero/home_helper.rb
else
@database.quote_ident(ident)
end
end
def pghero_js_var(name, value)
"var #{name} = #{json_escape(value.to_json(root: false))};".html_safe
end
def pghero_remove_index(query)
if query[:columns]
columns =... | a939e66a742014637a2e55e7daa9ef24040439c6 | app/helpers/pg_hero/home_helper.rb | app/helpers/pg_hero/home_helper.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.