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/verify_project.sh
#!/usr/bin/env bash
set -e
py.test --cov=demo_python_at tests
flake8 demo_python_at/
pydocstyle --config=.pydocstyle demo_python_at
pylint demo_python_at/
echo "Good job!"
<|file_sep|>current/verify_project.sh
#!/usr/bin/env bash
set -e
py.test --cov=demo_python_at tests
flake8... | #!/usr/bin/env bash
set -e
py.test --cov=demo_python_at tests
flake8 $(find . -iname "*.py")
pydocstyle --config=.pydocstyle demo_python_at
pylint demo_python_at/
echo "Good job!" | <|file_sep|>original/verify_project.sh
#!/usr/bin/env bash
set -e
py.test --cov=demo_python_at tests
flake8 demo_python_at/
pydocstyle --config=.pydocstyle demo_python_at
pylint demo_python_at/
echo "Good job!"
<|file_sep|>current/verify_project.sh
#!/usr/bin/env bash
set -e
py.test --cov=demo_python_at tests
flake8... | 93346ed2e2b1cc2dec2de20870e646129eb1bfa6 | verify_project.sh | verify_project.sh | Shell |
<|file_sep|>test/common.js.diff
original:
var warned = false
updated:
<|file_sep|>test/common.js.diff
original:
var clear = !!options.clear
updated:
<|file_sep|>test/common.js.diff
original:
}
if (!clear && !warned) {
warned = true
warn(
'A next major release of abstract-leveldown will make supp... | return {
test: test,
factory: factory,
setUp: options.setUp || noopTest(),
tearDown: options.tearDown || noopTest(),
bufferKeys: options.bufferKeys !== false,
createIfMissing: options.createIfMissing !== false,
errorIfExists: options.errorIfExists !== false,
snapshots: options.snapshot... | <|file_sep|>test/common.js.diff
original:
var warned = false
updated:
<|file_sep|>test/common.js.diff
original:
var clear = !!options.clear
updated:
<|file_sep|>test/common.js.diff
original:
}
if (!clear && !warned) {
warned = true
warn(
'A next major release of abstract-leveldown will make supp... | 8e963c3216b074b979e7c4cf0c8f7a7bdc730590 | test/common.js | test/common.js | JavaScript |
<|file_sep|>original/NAKPlaybackIndicatorView.podspec
s.summary = 'A view that mimics the music playback indicator in the Music.app on iOS 7.'
s.description = <<-DESC
A view that mimics the music playback indicator in the Music.app on iOS 7.
It has three vertical bars a... | s.summary = 'A view that mimics the music playback indicator in the Music.app on iOS 7.'
s.description = <<-DESC
A view that mimics the music playback indicator in the Music.app on iOS 7.
It has three vertical bars and they oscillate randomly.
DESC
... | <|file_sep|>original/NAKPlaybackIndicatorView.podspec
s.summary = 'A view that mimics the music playback indicator in the Music.app on iOS 7.'
s.description = <<-DESC
A view that mimics the music playback indicator in the Music.app on iOS 7.
It has three vertical bars a... | 7125bd23cb4987e522a49715001c342667cc0c5e | NAKPlaybackIndicatorView.podspec | NAKPlaybackIndicatorView.podspec | Ruby |
<|file_sep|>original/requirements-dev.txt
pyyaml==3.12
argcomplete==1.9.2
requests
pycodestyle==2.3.1
sphinx==1.6.5
sphinx-autobuild==0.7.1
packaging==16.8
<|file_sep|>current/requirements-dev.txt
pyyaml==3.12
argcomplete==1.9.2
requests
pycodestyle==2.3.1
sphinx==1.6.5
sphinx-autobuild==0.7.1
packaging==16.8
<|file_se... | pyyaml==3.12
argcomplete==1.9.2
requests==2.18.4
pycodestyle==2.3.1
sphinx==1.6.5
sphinx-autobuild==0.7.1
packaging==16.8 | <|file_sep|>original/requirements-dev.txt
pyyaml==3.12
argcomplete==1.9.2
requests
pycodestyle==2.3.1
sphinx==1.6.5
sphinx-autobuild==0.7.1
packaging==16.8
<|file_sep|>current/requirements-dev.txt
pyyaml==3.12
argcomplete==1.9.2
requests
pycodestyle==2.3.1
sphinx==1.6.5
sphinx-autobuild==0.7.1
packaging==16.8
<|file_se... | 2047a5e0cd2ac69d07e8833359a041911ef95798 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/README.md
# Maple
Maple is project name of game "Moemoe Nemologic" which is square picross game.
## Download Game
- https://play.google.com/store/apps/details?id=com.Kradmoa.Maple
- https://itunes.apple.com/us/app/mo-emo-e-nemolojig/id953832099?mt=8
# How to build it
## Windows
1. You must clone ... | # Maple
Maple is project name of game "Moemoe Nemologic" which is square picross game.
## Download Game
- https://play.google.com/store/apps/details?id=com.Kradmoa.Maple
# How to build it
## Windows
1. You must clone and build Bibim ( https://github.com/Halak/Bibim ) first.
2. run Bibim project's "bin/Bibim.Baaaaaab.... | <|file_sep|>original/README.md
# Maple
Maple is project name of game "Moemoe Nemologic" which is square picross game.
## Download Game
- https://play.google.com/store/apps/details?id=com.Kradmoa.Maple
- https://itunes.apple.com/us/app/mo-emo-e-nemolojig/id953832099?mt=8
# How to build it
## Windows
1. You must clone ... | 8d64a9a86d471ed86d36a0c0b71b06b0d308abb8 | README.md | README.md | Markdown |
<|file_sep|>original/LICENSE.md
Copyright (c) 2015, Simon Sigurdhsson <Sigurdhsson@gmail.com>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.... | Copyright (c) 2013-2015, Simon Sigurdhsson <sigurdhsson@gmail.com>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVI... | <|file_sep|>original/LICENSE.md
Copyright (c) 2015, Simon Sigurdhsson <Sigurdhsson@gmail.com>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.... | 4758a62903309d77c868e479985d9d38afb9765b | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>webpack/prod.config.js.diff
original:
updated:
const fs = require('fs');
<|file_sep|>webpack/prod.config.js.diff
original:
updated:
const outputPath = path.resolve(__dirname, '../jsapp/compiled/');
// ExtractTranslationKeysPlugin, for one, just fails if this directory doesn't exist
fs.mkdirSync(outputPat... | chunks: 'all'
}
}
}
},
entry: {
app: './jsapp/js/main.es6',
browsertests: path.resolve(__dirname, '../test/index.js')
},
output: {
path: outputPath,
publicPath: publicPath,
filename: '[name]-[hash].js'
},
plugins: [
new webpack.SourceMapDevToolPlugin({
... | <|file_sep|>webpack/prod.config.js.diff
original:
updated:
const fs = require('fs');
<|file_sep|>webpack/prod.config.js.diff
original:
updated:
const outputPath = path.resolve(__dirname, '../jsapp/compiled/');
// ExtractTranslationKeysPlugin, for one, just fails if this directory doesn't exist
fs.mkdirSync(outputPat... | 1e0dedef506f655205837686d316f6b2148d7aa6 | webpack/prod.config.js | webpack/prod.config.js | JavaScript |
<|file_sep|>original/examples/index.html
<|file_sep|>current/examples/index.html
<|file_sep|>updated/examples/index.html | <!DOCTYPE html>
<html>
<head>
<title>Lyndon Test!</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
$(function() {
$('#content').append('<div id="hi">Hello world!</div>')
})
</script>
</head>
<body>
... | <|file_sep|>original/examples/index.html
<|file_sep|>current/examples/index.html
<|file_sep|>updated/examples/index.html
<!DOCTYPE html>
<html>
<head>
<title>Lyndon Test!</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
... | d76ad941e72b444420edacce4b40a234cf311b08 | examples/index.html | examples/index.html | HTML |
<|file_sep|>original/travis/before_install/install_cppcheck.sh
#!/bin/sh
PREVIOUS_DIR=`pwd`
git clone -b 1.90 https://github.com/danmar/cppcheck.git /tmp/cppcheck
cd /tmp/cppcheck
mkdir build
cd build
cmake ..
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-com... | #!/bin/sh
PREVIOUS_DIR=`pwd`
git clone -b 1.90 https://github.com/danmar/cppcheck.git /tmp/cppcheck
cd /tmp/cppcheck
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" -j
sudo m... | <|file_sep|>original/travis/before_install/install_cppcheck.sh
#!/bin/sh
PREVIOUS_DIR=`pwd`
git clone -b 1.90 https://github.com/danmar/cppcheck.git /tmp/cppcheck
cd /tmp/cppcheck
mkdir build
cd build
cmake ..
make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-com... | 5a53176c53e143064b5826bda3716df6d211f1e8 | travis/before_install/install_cppcheck.sh | travis/before_install/install_cppcheck.sh | Shell |
<|file_sep|>original/builds/python3.6_ci/src/lint_turtle_files.py
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
This script takes the path to a directory, and looks for any Turtle files
(https://www.w3.org/TeamSubmission/turtle/), then uses RDFLib to check if
they're valid TTL.
It exits with code 0 if all files ... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
This script takes the path to a directory, and looks for any Turtle files
(https://www.w3.org/TeamSubmission/turtle/), then uses RDFLib to check if
they're valid TTL.
It exits with code 0 if all files are valid, 1 if not.
"""
import logging
import os
import daiquir... | <|file_sep|>original/builds/python3.6_ci/src/lint_turtle_files.py
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
This script takes the path to a directory, and looks for any Turtle files
(https://www.w3.org/TeamSubmission/turtle/), then uses RDFLib to check if
they're valid TTL.
It exits with code 0 if all files ... | c897942c8b1c3d9283ea6453bcc6616ca3d5108e | builds/python3.6_ci/src/lint_turtle_files.py | builds/python3.6_ci/src/lint_turtle_files.py | Python |
<|file_sep|>original/src/modules/selects/TagSelect/TagSelect.js
import R from 'ramda'
class TagSelect extends Component {
state = {
multi: true,
multiValue: [],
options: this.props.options
}
componentWillReceiveProps = nextProps => {
if (nextProps.edit && nextProps.input.value) {
... | import R from 'ramda'
class TagSelect extends Component {
state = {
multi: true,
multiValue: [],
options: this.props.options
}
componentWillReceiveProps = nextProps => {
if (nextProps.input.value) {
// because it could be user custom tag, we need to put in
// into l... | <|file_sep|>original/src/modules/selects/TagSelect/TagSelect.js
import R from 'ramda'
class TagSelect extends Component {
state = {
multi: true,
multiValue: [],
options: this.props.options
}
componentWillReceiveProps = nextProps => {
if (nextProps.edit && nextProps.input.value) {
... | 32da3c0e2a537952ff9ff4701bbb5ec202c83e11 | src/modules/selects/TagSelect/TagSelect.js | src/modules/selects/TagSelect/TagSelect.js | JavaScript |
<|file_sep|>src/cljs/pfrt_js/templates.cljs.diff
original:
(let [downloaded (get data "in")
uploaded (get data "out")
download-speed (get data "speed-in")
upload-speed (get data "speed-out")]
updated:
(let [{:strs [in out speed-in speed-out]} data]
<|file_sep|>original/src/cl... | dom identifier."
[host]
(str "host" (str/join (str/split host #"\."))))
(defn host-entry
[host data]
(let [{:strs [in out speed-in speed-out]} data]
(html [:tr {:id (hostname->domid host)}
[:td host]
[:td (js/filesize in)]
[:td (js/filesize out)]
[:td (str (js/... | <|file_sep|>src/cljs/pfrt_js/templates.cljs.diff
original:
(let [downloaded (get data "in")
uploaded (get data "out")
download-speed (get data "speed-in")
upload-speed (get data "speed-out")]
updated:
(let [{:strs [in out speed-in speed-out]} data]
<|file_sep|>original/src/cl... | a7a1749d7b1a07ae721712efb06fd81bbc7784da | src/cljs/pfrt_js/templates.cljs | src/cljs/pfrt_js/templates.cljs | Clojure |
<|file_sep|>spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java.diff
original:
public void testGeohashStrategy() throws IOException {
updated:
public void testWorldCitiesWithinBox() throws IOException {
<|file_sep|>original/spatial-extras-test... | GeohashSpatialPrefixGrid grid = new GeohashSpatialPrefixGrid(
ctx, maxLength );
this.strategy = new RecursiveGridStrategy( grid );
this.fieldInfo = new SimpleSpatialFieldInfo( "geohash" );
}
/**
* For now, the only difference from the Simple version is that this uses JtsSpatialContext
*/
... | <|file_sep|>spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java.diff
original:
public void testGeohashStrategy() throws IOException {
updated:
public void testWorldCitiesWithinBox() throws IOException {
<|file_sep|>original/spatial-extras-test... | 435a2760df87d569678b2c9469612e010209db3e | spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java | spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java | Java |
<|file_sep|>original/db/migrate/20090410212600_add_revisions_user_id_constraint.rb
class AddRevisionsUserIdConstraint < ActiveRecord::Migration
def self.up
execute "ALTER TABLE `revisions` ADD CONSTRAINT revisions_user_userid FOREIGN KEY (user_id) REFERENCES revisions (id)"
end
def self.down
execute "ALT... | class AddRevisionsUserIdConstraint < ActiveRecord::Migration
def self.up
execute "ALTER TABLE `revisions` ADD CONSTRAINT revisions_user_userid FOREIGN KEY (user_id) REFERENCES users (id)"
end
def self.down
execute "ALTER TABLE `revisions` DROP FOREIGN KEY revisions_user_userid"
end
end | <|file_sep|>original/db/migrate/20090410212600_add_revisions_user_id_constraint.rb
class AddRevisionsUserIdConstraint < ActiveRecord::Migration
def self.up
execute "ALTER TABLE `revisions` ADD CONSTRAINT revisions_user_userid FOREIGN KEY (user_id) REFERENCES revisions (id)"
end
def self.down
execute "ALT... | 82972eb02b1e8970c6fb369523878a4e5a6d0c73 | db/migrate/20090410212600_add_revisions_user_id_constraint.rb | db/migrate/20090410212600_add_revisions_user_id_constraint.rb | Ruby |
<|file_sep|>original/docs/source/index.rst
.. _index:
Respite
=======
About
-----
Respite makes it easy to create RESTful web applications with Django.
Installation
------------
Stable releases of Respite are distributed via the python package index.
See the :ref:`installation` page for detailed instructions.
Doc... | .. _index:
Respite
=======
About
-----
Respite conforms Django to Representational State Transfer (and, incidentally, HTTP).
Installation
------------
Stable releases of Respite are distributed via the python package index.
See the :ref:`installation` page for detailed instructions.
Documentation
-------------
O... | <|file_sep|>original/docs/source/index.rst
.. _index:
Respite
=======
About
-----
Respite makes it easy to create RESTful web applications with Django.
Installation
------------
Stable releases of Respite are distributed via the python package index.
See the :ref:`installation` page for detailed instructions.
Doc... | 48ba13798a833557b1444f634a58b79fca211f62 | docs/source/index.rst | docs/source/index.rst | reStructuredText |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '11'
- '10'
- '8'
- '6' | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '11'
- '10'
- '8'
- '6' | 23ec2aff93d661c265dc97bdfbdbf25c331f1445 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/book/stacks/stack_right.py
class Stack(object):
def __init__(self):
self._items = []
def is_empty(self):
return not bool(self._items)
def push(self, item):
self._items.append(item)
def pop(self):
return self._items.pop()
def peek(self):
... | class Stack:
def __init__(self):
self._items = []
def is_empty(self):
return not bool(self._items)
def push(self, item):
self._items.append(item)
def pop(self):
return self._items.pop()
def peek(self):
return self._items[-1]
def size(self):
r... | <|file_sep|>original/book/stacks/stack_right.py
class Stack(object):
def __init__(self):
self._items = []
def is_empty(self):
return not bool(self._items)
def push(self, item):
self._items.append(item)
def pop(self):
return self._items.pop()
def peek(self):
... | ad0a23312b197c2196e96733ce9ca66249c09f06 | book/stacks/stack_right.py | book/stacks/stack_right.py | Python |
<|file_sep|>original/worker/scripts/cpu_cores.sh
#!/usr/bin/env sh
set -e
OS="$(uname -s)"
NUM_CORES=
case "${OS}" in
Linux*) NUM_CORES=$(nproc);;
Darwin*|FreeBSD) NUM_CORES=$(sysctl -n hw.ncpu);;
*) NUM_CORES=1;;
esac
if [ -n "${MEDIASOUP_MAX_CORES}" ]; then
NUM_CORES=$((MEDIASOUP_MAX... | #!/usr/bin/env sh
set -e
OS="$(uname -s)"
NUM_CORES=
case "${OS}" in
Linux*|MINGW*) NUM_CORES=$(nproc);;
Darwin*|FreeBSD) NUM_CORES=$(sysctl -n hw.ncpu);;
*) NUM_CORES=1;;
esac
if [ -n "${MEDIASOUP_MAX_CORES}" ]; then
NUM_CORES=$((MEDIASOUP_MAX_CORES>NUM_CORES ? NUM_CORES : MEDIASOUP_MAX_CORE... | <|file_sep|>original/worker/scripts/cpu_cores.sh
#!/usr/bin/env sh
set -e
OS="$(uname -s)"
NUM_CORES=
case "${OS}" in
Linux*) NUM_CORES=$(nproc);;
Darwin*|FreeBSD) NUM_CORES=$(sysctl -n hw.ncpu);;
*) NUM_CORES=1;;
esac
if [ -n "${MEDIASOUP_MAX_CORES}" ]; then
NUM_CORES=$((MEDIASOUP_MAX... | f0b0db82e1a23c3959ba7eb3d18789750ab801fa | worker/scripts/cpu_cores.sh | worker/scripts/cpu_cores.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
- php: 7.1
env: COMPOSER_FLAGS=--prefer-lowest
<|file_sep|>original/.travis.yml
env: CODING_STANDARD=true
- php: 7.1
env: PHPSTAN=true
- php: 7.1
env: PHPUNIT_FLAGS="--coverage-clover coverage.xml"
- php: 7.2
install:
- composer... | env: COMPOSER_FLAGS=--prefer-lowest
- php: 7.1
env: CODING_STANDARD=true
- php: 7.1
env: PHPSTAN=true
- php: 7.1
env: PHPUNIT_FLAGS="--coverage-clover coverage.xml"
- php: 7.2
install:
- composer update --prefer-dist $COMPOSER_FLAGS
before_script:
- git --version
script:
... | <|file_sep|>.travis.yml.diff
original:
updated:
- php: 7.1
env: COMPOSER_FLAGS=--prefer-lowest
<|file_sep|>original/.travis.yml
env: CODING_STANDARD=true
- php: 7.1
env: PHPSTAN=true
- php: 7.1
env: PHPUNIT_FLAGS="--coverage-clover coverage.xml"
- php: 7.2
install:
- composer... | c6c9d7bb554fc800e9b17f71b2ad27a8bb53672e | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
### Functon Definition
updated:
Remember to alter all instances of `tbl_name` and `tbl_id` accordingly.
<|file_sep|>README.md.diff
original:
Remember to alter `tbl_name` and `tbl_id` accordingly.
updated:
### Create Postgres Functon Definition
<|file_sep|>original/README.md
### Fun... |
### Create Postgres Functon Definition
```plpgsql
CREATE OR REPLACE FUNCTION tbl_name_notify_trigger() RETURNS trigger AS $$
DECLARE
BEGIN
PERFORM pg_notify('watchers', TG_TABLE_NAME || ',tbl_id,' || NEW.tbl_id );
RETURN NEW;
END;
$$ LANGUAGE plpgsql;
```
### Add Functon as Trigger
```plpgsql
CREATE TRIGGER tb... | <|file_sep|>README.md.diff
original:
### Functon Definition
updated:
Remember to alter all instances of `tbl_name` and `tbl_id` accordingly.
<|file_sep|>README.md.diff
original:
Remember to alter `tbl_name` and `tbl_id` accordingly.
updated:
### Create Postgres Functon Definition
<|file_sep|>original/README.md
### Fun... | 88e77166b1adf525174f664f7178900c8020b9ae | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
# pip-compile --output-file requirements.txt requirements.in
#
boto3==1.7.65
botocore==1.5.92 # via boto3, s3transfer
certifi==2017.7.27.1 # via requests
chardet==3.0.4 # via requests
cssselect==1.0.3
docutils==0.13.1 # via botocore
idna==2.5 ... | # pip-compile --output-file requirements.txt requirements.in
#
boto3==1.7.65
botocore==1.5.92 # via boto3, s3transfer
certifi==2017.7.27.1 # via requests
chardet==3.0.4 # via requests
cssselect==1.0.3
docutils==0.13.1 # via botocore
idna==2.5 # via requests
jinja2==2... | <|file_sep|>original/requirements.txt
# pip-compile --output-file requirements.txt requirements.in
#
boto3==1.7.65
botocore==1.5.92 # via boto3, s3transfer
certifi==2017.7.27.1 # via requests
chardet==3.0.4 # via requests
cssselect==1.0.3
docutils==0.13.1 # via botocore
idna==2.5 ... | 911109bab94540eeba290246bf1dd964b775a220 | requirements.txt | requirements.txt | Text |
<|file_sep|>CONTRIBUTING.md.diff
original:
[cla]: https://www.clahub.com/agreements/MinecraftModArchive/Dendrology
updated:
[cla]: https://www.clahub.com/agreements/MinecraftModArchive/KoreSample
<|file_sep|>CONTRIBUTING.md.diff
original:
git clone git@github.com:your-username/Dendrology.git
updated:
git clone ... | gradlew idea
-or-
gradlew eclipse
Make your changes.
Push to your fork and [submit a pull request][pr].
[pr]: https://github.com/MinecraftModArchive/KoreSample/compare/
At this point, things are waiting on us. We may merge your code as is. We may suggest some changes or improvements or alternatives.
###S... | <|file_sep|>CONTRIBUTING.md.diff
original:
[cla]: https://www.clahub.com/agreements/MinecraftModArchive/Dendrology
updated:
[cla]: https://www.clahub.com/agreements/MinecraftModArchive/KoreSample
<|file_sep|>CONTRIBUTING.md.diff
original:
git clone git@github.com:your-username/Dendrology.git
updated:
git clone ... | cde5c47e19225d7d512fc3d9f5a2f5d201c53c2a | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/build.yaml
repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_naming: geronimo:geronimo-naming:jar:1.1.1
<|file_sep|>current/build.yaml
repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_naming: geronimo:geronimo-naming:jar:1.1.1
<|file_sep|>u... | repositories:
remote:
- https://repo1.maven.org/maven2
artifacts:
javax_naming: geronimo:geronimo-naming:jar:1.1.1 | <|file_sep|>original/build.yaml
repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_naming: geronimo:geronimo-naming:jar:1.1.1
<|file_sep|>current/build.yaml
repositories:
remote:
- http://repo1.maven.org/maven2
artifacts:
javax_naming: geronimo:geronimo-naming:jar:1.1.1
<|file_sep|>u... | ef521102ce49854ed430baefb48cbac1895d475a | build.yaml | build.yaml | YAML |
<|file_sep|>db/ignore_patterns/dspace6.json.diff
original:
updated:
"/search-filter\\?(.*&)?filtertype(_\\d+)?=",
<|file_sep|>original/db/ignore_patterns/dspace6.json
{
"name": "dspace6",
"patterns": [
"/discover\\?((.*&)?filtertype(_\\d+)?=){2}",
"/simple-search\\?((.*&)?(filter_type(_\\d+)?|filtertype)=){2}"... | {
"name": "dspace6",
"patterns": [
"/discover\\?((.*&)?filtertype(_\\d+)?=){2}",
"/search-filter\\?(.*&)?filtertype(_\\d+)?=",
"/simple-search\\?((.*&)?(filter_type(_\\d+)?|filtertype)=){2}",
"/simple-search\\?(?=(.*&)?(filter_type(_\\d+)?|filtertype)=)(.*&)?(author|subject|dateIssued)_page=",
"[?&]dateIssu... | <|file_sep|>db/ignore_patterns/dspace6.json.diff
original:
updated:
"/search-filter\\?(.*&)?filtertype(_\\d+)?=",
<|file_sep|>original/db/ignore_patterns/dspace6.json
{
"name": "dspace6",
"patterns": [
"/discover\\?((.*&)?filtertype(_\\d+)?=){2}",
"/simple-search\\?((.*&)?(filter_type(_\\d+)?|filtertype)=){2}"... | a84a6e93beb16a69299ef8d384b01b8dc871b3ec | db/ignore_patterns/dspace6.json | db/ignore_patterns/dspace6.json | JSON |
<|file_sep|>original/source/features/add-time-machine-links-to-comments.js
for (const comment of comments) {
const timestampEl = select('relative-time', comment);
const timestamp = timestampEl.attributes.datetime.value;
const href = `/${getRepoURL()}/tree/HEAD@{${timestamp}}`;
timestampEl.parentNode.after(
... | const comments = select.all('.timeline-comment-header:not(.rgh-timestamp-tree-link)');
for (const comment of comments) {
const timestampEl = select('relative-time', comment);
const timestamp = timestampEl.attributes.datetime.value;
const href = `/${getRepoURL()}/tree/HEAD@{${timestamp}}`;
timestampEl.parent... | <|file_sep|>original/source/features/add-time-machine-links-to-comments.js
for (const comment of comments) {
const timestampEl = select('relative-time', comment);
const timestamp = timestampEl.attributes.datetime.value;
const href = `/${getRepoURL()}/tree/HEAD@{${timestamp}}`;
timestampEl.parentNode.after(
... | 1c61cf36b267a96ff7c733e57f0b8a7db4adbece | source/features/add-time-machine-links-to-comments.js | source/features/add-time-machine-links-to-comments.js | JavaScript |
<|file_sep|>recipes/glpk/meta.yaml.diff
original:
- python [win]
updated:
<|file_sep|>original/recipes/glpk/meta.yaml
md5: c84ce7b8286ab91f2e871cd82050e2fe
build:
number: 0
requirements:
build:
- python [win]
- gmp [not win]
run:
- gmp [not win]
test:
requires:
- python
... | md5: c84ce7b8286ab91f2e871cd82050e2fe
build:
number: 0
requirements:
build:
- gmp [not win]
run:
- python [win]
- gmp [not win]
test:
requires:
- python
files:
- test.c
- setup.py
- spam.c
| <|file_sep|>recipes/glpk/meta.yaml.diff
original:
- python [win]
updated:
<|file_sep|>original/recipes/glpk/meta.yaml
md5: c84ce7b8286ab91f2e871cd82050e2fe
build:
number: 0
requirements:
build:
- python [win]
- gmp [not win]
run:
- gmp [not win]
test:
requires:
- python
... | 73bc95b628fb471e3da0e4d1b43c8a338f0c193a | recipes/glpk/meta.yaml | recipes/glpk/meta.yaml | YAML |
<|file_sep|>original/public_html/documentation/milestone-2.php
<|file_sep|>current/public_html/documentation/milestone-2.php
<|file_sep|>updated/public_html/documentation/milestone-2.php | <!DOCTYPE html>
<html lang="en">
<!--@author: Jeffrey Cooper <jcooper37@cnm.edu>
Date: 12-May-17 Time: 8:27 AM-->
<head>
<meta charset="utf-8" />
<title>PWP for Jeffrey Cooper - Milestone 2</title>
<!-- Custom CSS -->
<link rel="stylesheet" href="styles-documentation.css" type="text/css" />
</head>
<body>
... | <|file_sep|>original/public_html/documentation/milestone-2.php
<|file_sep|>current/public_html/documentation/milestone-2.php
<|file_sep|>updated/public_html/documentation/milestone-2.php
<!DOCTYPE html>
<html lang="en">
<!--@author: Jeffrey Cooper <jcooper37@cnm.edu>
Date: 12-May-17 Time: 8:27 AM-->
<head>
<meta... | b01f0de76eb72b68c2d52dabef1e188cd2f67b5a | public_html/documentation/milestone-2.php | public_html/documentation/milestone-2.php | PHP |
<|file_sep|>original/requirements.txt
django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=3.1
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.8
icalendar==4.0.9
invoke~=1.6
pillow~=8.4
reportlab==3.6.5
requests==2.27.1
# AWS
#boto3
# REST API
django-c... | django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=3.1
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.8
icalendar==4.0.9
invoke~=1.6
pillow~=9.0
reportlab==3.6.5
requests==2.27.1
# AWS
#boto3
# REST API
django-cors-headers>=3.0
django-filter==21.1
d... | <|file_sep|>original/requirements.txt
django-formtools~=2.3
django-recaptcha~=2.0.6
Django~=3.2
django-crispy-forms~=1.13
django_compressor~=3.1
django_extensions~=3.1
django-storages~=1.12
easy-thumbnails~=2.8
icalendar==4.0.9
invoke~=1.6
pillow~=8.4
reportlab==3.6.5
requests==2.27.1
# AWS
#boto3
# REST API
django-c... | 1039c9a1fbb7142dcfb11d3f8a0174dd584d34db | requirements.txt | requirements.txt | Text |
<|file_sep|>packages/er/errors-ext.yaml.diff
original:
hash: 2126337812b487730eb55ecf524f15abae8dd4bd2fc0b720369703632136756b
updated:
hash: 58b2f7a64eb0296216cca470f12976d5bd4bc60216f1cf41ab4c0dd204372d48
<|file_sep|>packages/er/errors-ext.yaml.diff
original:
updated:
monad-control: -any
<|file_sep|>packages/er/err... | changelog: ''
basic-deps:
exceptions: -any
base: ! '>=4.7 && <5'
monad-control: -any
mtl: -any
transformers: -any
errors: -any
all-versions:
- '0.1'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.2'
- '0.2.1'
- '0.4'
author: Warlock <internalmike@gmail.com>
latest: '0.4'
description-type: haddock
description: ! '`brack... | <|file_sep|>packages/er/errors-ext.yaml.diff
original:
hash: 2126337812b487730eb55ecf524f15abae8dd4bd2fc0b720369703632136756b
updated:
hash: 58b2f7a64eb0296216cca470f12976d5bd4bc60216f1cf41ab4c0dd204372d48
<|file_sep|>packages/er/errors-ext.yaml.diff
original:
updated:
monad-control: -any
<|file_sep|>packages/er/err... | 3b33006dd463ce24d4b14fb5081ba628b788b054 | packages/er/errors-ext.yaml | packages/er/errors-ext.yaml | YAML |
<|file_sep|>appveyor.yml.diff
original:
CARGO_TARGET: x86_64-pc-windows-gnu
updated:
<|file_sep|>appveyor.yml.diff
original:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rustc-nightly-${env:TARGET}.tar.gz"
- ps: Start-FileDownload "https://static.rust-lang.org/cargo-dist/cargo-nightly-${env:CARGO_... | environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-gnu
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- call "C:\Program Files (x86)\Micros... | <|file_sep|>appveyor.yml.diff
original:
CARGO_TARGET: x86_64-pc-windows-gnu
updated:
<|file_sep|>appveyor.yml.diff
original:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rustc-nightly-${env:TARGET}.tar.gz"
- ps: Start-FileDownload "https://static.rust-lang.org/cargo-dist/cargo-nightly-${env:CARGO_... | 46ec3f4e7f7642cc29775e563b48405db249b382 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/packages/schematics/src/scam/index.ts
const project = getProject(tree, options.project);
const modulePath = findModuleFromOptions(tree, {
...options,
path: options.path || buildDefaultPath(project)
});
tree.read(modulePath);
return tree;
};
export function ... |
const project = getProject(tree, options.project);
const modulePath = findModuleFromOptions(tree, {
...options,
path: options.path || buildDefaultPath(project)
});
tree.read(modulePath);
// @todo: read module content.
// @todo: merge module content in component.
// @todo:... | <|file_sep|>original/packages/schematics/src/scam/index.ts
const project = getProject(tree, options.project);
const modulePath = findModuleFromOptions(tree, {
...options,
path: options.path || buildDefaultPath(project)
});
tree.read(modulePath);
return tree;
};
export function ... | d628a4b1fe9b8b5eb3de2cd969e5810c7a9cea55 | packages/schematics/src/scam/index.ts | packages/schematics/src/scam/index.ts | TypeScript |
<|file_sep|>original/README.md
node-cgal
=========
[](https://travis-ci.org/Vannevartech/cgal)
A node.js module providing access to parts of the CGAL computational geometry library (non-SWIG).
- Prerequisite: you will need to have the CGAL lib... | node-cgal
=========
[](https://travis-ci.org/fluxio/node-cgal)
A node.js module providing access to parts of the CGAL computational geometry library (non-SWIG).
- Prerequisite: you will need to have the CGAL libraries and headers installed on y... | <|file_sep|>original/README.md
node-cgal
=========
[](https://travis-ci.org/Vannevartech/cgal)
A node.js module providing access to parts of the CGAL computational geometry library (non-SWIG).
- Prerequisite: you will need to have the CGAL lib... | 7743f9e3e361fcc4d0ad75e0b769d38f3cfd2dae | README.md | README.md | Markdown |
<|file_sep|>original/setup/install_node.sh
echo "Installing node..."
if [ ! -e ~/.nvm ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
mkdir -p ~/.nvm
fi
source ~/dotfiles/terminal/bash/load_nvm.sh
install_node_version 16.5.0
nvm alias default 16.5.0
echo "Installing npm packa... |
echo "Installing node..."
if [ ! -e ~/.nvm ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
mkdir -p ~/.nvm
fi
source ~/dotfiles/terminal/bash/load_nvm.sh
install_node_version 16.5.0
nvm alias default 16.5.0
echo "Installing npm packages..."
preload_npm_pkg_list
install_npm_... | <|file_sep|>original/setup/install_node.sh
echo "Installing node..."
if [ ! -e ~/.nvm ]; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
mkdir -p ~/.nvm
fi
source ~/dotfiles/terminal/bash/load_nvm.sh
install_node_version 16.5.0
nvm alias default 16.5.0
echo "Installing npm packa... | a2287e7405caa0b78b538178b80fa7df6df9a45c | setup/install_node.sh | setup/install_node.sh | Shell |
<|file_sep|>tests/fixtures.py.diff
original:
updated:
shot_name = uuid(8)
shot = shotgun.create('Shot', {'code': shot_name})
<|file_sep|>tests/fixtures.py.diff
original:
a = shotgun.create('Task', {'content': name})
updated:
task = shotgun.create('Task', {'content': name, 'entity': shot})
<|file_sep|>... | x = self.cached.find_one('Task', [('id', 'is', task['id'])], ['entity'])
self.assertSameEntity(shot, x['entity'])
# return through entity field
x = self.cached.find_one('Task', [('id', 'is', task['id'])], ['entity.Shot.code'])
self.assertEqual(shot_name, x['entity.Shot.code'])
# Updates
na... | <|file_sep|>tests/fixtures.py.diff
original:
updated:
shot_name = uuid(8)
shot = shotgun.create('Shot', {'code': shot_name})
<|file_sep|>tests/fixtures.py.diff
original:
a = shotgun.create('Task', {'content': name})
updated:
task = shotgun.create('Task', {'content': name, 'entity': shot})
<|file_sep|>... | c2731d22adbf2abc29d73f5759d5d9f0fa124f5f | tests/fixtures.py | tests/fixtures.py | Python |
<|file_sep|>original/composer.json
"repositories": [{
"type": "vcs",
"url": "https://github.com/romeOz/rock-base"
}],
"require": {
"php": ">=5.4.0",
"romeoz/rock-base" : "*@dev",
"romeoz/rock-helpers" : "*@dev"
},
"require-dev": {
"phpunit/phpunit": "4... | "repositories": [{
"type": "vcs",
"url": "https://github.com/romeOz/rock-base"
}],
"require": {
"php": ">=5.4.0",
"romeoz/rock-base" : "*@dev",
"romeoz/rock-helpers" : "*@dev"
},
"require-dev": {
"phpunit/phpunit": "4.4.*"
},
"autoload": {
... | <|file_sep|>original/composer.json
"repositories": [{
"type": "vcs",
"url": "https://github.com/romeOz/rock-base"
}],
"require": {
"php": ">=5.4.0",
"romeoz/rock-base" : "*@dev",
"romeoz/rock-helpers" : "*@dev"
},
"require-dev": {
"phpunit/phpunit": "4... | 067635309561d09affd80d4de032de4ab47ff982 | composer.json | composer.json | JSON |
<|file_sep|>app/AppKernel.php.diff
original:
new Snc\RedisBundle\SncRedisBundle(),
updated:
<|file_sep|>original/app/AppKernel.php
* @author Paweł Jędrzejewski <pawel@sylius.org>
*/
class AppKernel extends Kernel
{
/**
* {@inheritdoc}
*/
public function registerBundles()
{
$... | /**
* {@inheritdoc}
*/
public function registerBundles()
{
$bundles = [
new Sylius\Bundle\AdminBundle\SyliusAdminBundle(),
new Sylius\Bundle\ApiBundle\SyliusApiBundle(),
new Sylius\Bundle\ShopBundle\SyliusShopBundle(),
new Sensio\Bundle\Gener... | <|file_sep|>app/AppKernel.php.diff
original:
new Snc\RedisBundle\SncRedisBundle(),
updated:
<|file_sep|>original/app/AppKernel.php
* @author Paweł Jędrzejewski <pawel@sylius.org>
*/
class AppKernel extends Kernel
{
/**
* {@inheritdoc}
*/
public function registerBundles()
{
$... | 6a59039cc80ac64242336945dfce191524bd3349 | app/AppKernel.php | app/AppKernel.php | PHP |
<|file_sep|>composer.json.diff
original:
"version": "v0.2.0",
updated:
"version": "v0.2.1",
<|file_sep|>original/composer.json
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/AmaraLiving/php-onehydra"
}
],
"require": {
"php": ">=5.3.9",
"amara/onehydra": "~... | }
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/AmaraLiving/php-onehydra"
}
],
"require": {
"php": ">=5.3.9",
"amara/onehydra": "~0.2.0",
"symfony/framework-bundle": "~2.3|~3.0",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/doctrine-bundle": "~1.4... | <|file_sep|>composer.json.diff
original:
"version": "v0.2.0",
updated:
"version": "v0.2.1",
<|file_sep|>original/composer.json
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/AmaraLiving/php-onehydra"
}
],
"require": {
"php": ">=5.3.9",
"amara/onehydra": "~... | aa7abf9bbc644307d0befaac434455d7677a7e8e | composer.json | composer.json | JSON |
<|file_sep|>original/db/migrate/20140929204155_migrate_tos_setting.rb
class MigrateTosSetting < ActiveRecord::Migration
def up
res = execute("SELECT * FROM site_settings WHERE name = 'tos_accept_required' AND value = 't'")
if res.present? && res[0].present?
label = I18n.t("terms_of_service.signup_form_m... | class MigrateTosSetting < ActiveRecord::Migration
def up
res = execute("SELECT * FROM site_settings WHERE name = 'tos_accept_required' AND value = 't'")
if res.present? && res.cmd_tuples > 0
label = I18n.t("terms_of_service.signup_form_message")
res = execute("SELECT value FROM site_texts WHERE te... | <|file_sep|>original/db/migrate/20140929204155_migrate_tos_setting.rb
class MigrateTosSetting < ActiveRecord::Migration
def up
res = execute("SELECT * FROM site_settings WHERE name = 'tos_accept_required' AND value = 't'")
if res.present? && res[0].present?
label = I18n.t("terms_of_service.signup_form_m... | 206bf9955306c90c5377a28469a6fbe9ca8d6162 | db/migrate/20140929204155_migrate_tos_setting.rb | db/migrate/20140929204155_migrate_tos_setting.rb | Ruby |
<|file_sep|>original/_config.yml
# Harmony theme configuration. Please change accordingly.
harmony:
name: Harmony #Name of your site
description: Harmony is free responsive jekyll theme. # Little description about your site
author: # Author details
name: Gayan Virajith
email: gayanvirajith@gmail.com
... |
# Harmony theme configuration. Please change accordingly.
harmony:
name: Harmony #Name of your site
description: Harmony is free responsive jekyll theme. # Little description about your site
author: # Author details
name: Gayan Virajith
email: gayanvirajith@gmail.com
url: http://gayanvirajith.github.... | <|file_sep|>original/_config.yml
# Harmony theme configuration. Please change accordingly.
harmony:
name: Harmony #Name of your site
description: Harmony is free responsive jekyll theme. # Little description about your site
author: # Author details
name: Gayan Virajith
email: gayanvirajith@gmail.com
... | 4fdaab92697af903aa6d37b5e75b0bbcef0f686e | _config.yml | _config.yml | YAML |
<|file_sep|>2015/xml/sponsors.xml.diff
original:
updated:
<!--
<|file_sep|>original/2015/xml/sponsors.xml
<sponsor>
<src>images/sponsors/cartodb.png</src>
<title>CartoDB</title>
<url>https://www.cartodb.com/</url>
</sponsor>
<sponsor>
<src>images/sponsors/mapbox.png</src>
<title>Mapbox</title... | <title>CartoDB</title>
<url>https://www.cartodb.com/</url>
</sponsor>
<!--
<sponsor>
<src>images/sponsors/mapbox.png</src>
<title>Mapbox</title>
<url>https://www.mapbox.com/</url>
</sponsor>
<sponsor>
<src>images/sponsors/osgeo.png</src>
<title>OSGeo</title>
<url>https://www.osge... | <|file_sep|>2015/xml/sponsors.xml.diff
original:
updated:
<!--
<|file_sep|>original/2015/xml/sponsors.xml
<sponsor>
<src>images/sponsors/cartodb.png</src>
<title>CartoDB</title>
<url>https://www.cartodb.com/</url>
</sponsor>
<sponsor>
<src>images/sponsors/mapbox.png</src>
<title>Mapbox</title... | 2a0d51e43a4b7bedaeb067fc9fab974c930eb961 | 2015/xml/sponsors.xml | 2015/xml/sponsors.xml | XML |
<|file_sep|>.travis.yml.diff
original:
- '6'
updated:
- 'lts/*'
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '6'
- '8'
- '10'
sudo: false
script:
- npm test
notifications:
irc:
channels:
- chat.freenode.net#datbots
template:
- '%{repository_slug} - %{commit_subject}... | language: node_js
node_js:
- 'lts/*'
- '8'
- '10'
- 'node'
sudo: false
script:
- npm test
notifications:
irc:
channels:
- chat.freenode.net#datbots
template:
- '%{repository_slug} - %{commit_subject} - %{result} - %{build_url}'
skip_join: true
on_success: change
on_failure... | <|file_sep|>.travis.yml.diff
original:
- '6'
updated:
- 'lts/*'
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '6'
- '8'
- '10'
sudo: false
script:
- npm test
notifications:
irc:
channels:
- chat.freenode.net#datbots
template:
- '%{repository_slug} - %{commit_subject}... | b083fa8637a63ebbb5d32d737926520d4f14face | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.1
pytest==3.1.0
hypothesis==3.11.0
pony==0.7.1
sphinx_rtd_theme==0.2.4
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog=... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.2
pytest==3.1.0
hypothesis==3.11.0
pony==0.7.1
sphinx_rtd_theme==0.2.4 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.1
pytest==3.1.0
hypothesis==3.11.0
pony==0.7.1
sphinx_rtd_theme==0.2.4
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog=... | 863fa7bb3cc7139a26adcc3ad1624c9b2d17590c | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/dashboard/documentation/network-errors.md
<|file_sep|>current/dashboard/documentation/network-errors.md
<|file_sep|>updated/dashboard/documentation/network-errors.md | Sources of Network Errors
=========================
- network failure
- this is likely common on mobile/laptop platforms
- timeout
- the server doesn't respond in enough time
- the server is temporarily unavailable due to load
- the network is too slow due to long RTT
- api returns error codes
- this cou... | <|file_sep|>original/dashboard/documentation/network-errors.md
<|file_sep|>current/dashboard/documentation/network-errors.md
<|file_sep|>updated/dashboard/documentation/network-errors.md
Sources of Network Errors
=========================
- network failure
- this is likely common on mobile/laptop platforms
- timeo... | 9a6ace694579225bd7712caf3870cdfa20cc0afb | dashboard/documentation/network-errors.md | dashboard/documentation/network-errors.md | Markdown |
<|file_sep|>original/build.sbt
System.getenv("ARTIFACTORY_USERNAME"),
System.getenv("ARTIFACTORY_PASSWORD")
)
)
publishTo := {
val host = "https://flow.jfrog.io/flow"
if (isSnapshot.value) {
Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTi... | System.getenv("ARTIFACTORY_USERNAME"),
System.getenv("ARTIFACTORY_PASSWORD")
)
)
publishTo := {
val host = "https://flow.jfrog.io/flow"
if (isSnapshot.value) {
Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime)
} else {
Some("Artifa... | <|file_sep|>original/build.sbt
System.getenv("ARTIFACTORY_USERNAME"),
System.getenv("ARTIFACTORY_PASSWORD")
)
)
publishTo := {
val host = "https://flow.jfrog.io/flow"
if (isSnapshot.value) {
Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTi... | eb327829e748556fc55fca2bdb1bce1539463463 | build.sbt | build.sbt | Scala |
<|file_sep|>original/stylesheets/base/normalise.styl
html
body
padding: 0
margin: 0
body
-webkit-font-smoothing: antialiased
position: relative
img
border: 0
<|file_sep|>current/stylesheets/base/normalise.styl
html
body
padding: 0
margin: 0
body
-webkit-font-smoothing: antialiased
position: relativ... | html
body
padding: 0
margin: 0
body
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
position: relative
img
border: 0 | <|file_sep|>original/stylesheets/base/normalise.styl
html
body
padding: 0
margin: 0
body
-webkit-font-smoothing: antialiased
position: relative
img
border: 0
<|file_sep|>current/stylesheets/base/normalise.styl
html
body
padding: 0
margin: 0
body
-webkit-font-smoothing: antialiased
position: relativ... | 9d24594d660bb5fd5d35e7ef93f5613579e36141 | stylesheets/base/normalise.styl | stylesheets/base/normalise.styl | Stylus |
<|file_sep|>original/spec/internal/app/views/root/index.html.erb
<p><%= CriticalPathCss.fetch(request.path) %></p>
<|file_sep|>current/spec/internal/app/views/root/index.html.erb
<p><%= CriticalPathCss.fetch(request.path) %></p>
<|file_sep|>updated/spec/internal/app/views/root/index.html.erb | <h1>Critical Path CSS Rails Test App</h1>
<p><%= CriticalPathCss.fetch(request.path) %></p> | <|file_sep|>original/spec/internal/app/views/root/index.html.erb
<p><%= CriticalPathCss.fetch(request.path) %></p>
<|file_sep|>current/spec/internal/app/views/root/index.html.erb
<p><%= CriticalPathCss.fetch(request.path) %></p>
<|file_sep|>updated/spec/internal/app/views/root/index.html.erb
<h1>Critical Path CSS Rails... | 0682adf46db2c3c8ef1fc2ff528ffc94e83be70c | spec/internal/app/views/root/index.html.erb | spec/internal/app/views/root/index.html.erb | HTML+ERB |
<|file_sep|>original/lib/tasks/server/middleware/tests-server/package.json
{
"name": "tests-server-middleware",
"keywords": [
"ember-addon"
],
"ember-addon": {
"before": "history-support-middleware"
},
"dependencies": {
"clean-base-url": "*",
"exists-sync": "*",
"heimdalljs-logger": "*"
... | {
"name": "tests-server-middleware",
"keywords": [
"ember-addon"
],
"ember-addon": {
"before": "history-support-middleware"
},
"dependencies": {
"clean-base-url": "*",
"heimdalljs-logger": "*"
}
} | <|file_sep|>original/lib/tasks/server/middleware/tests-server/package.json
{
"name": "tests-server-middleware",
"keywords": [
"ember-addon"
],
"ember-addon": {
"before": "history-support-middleware"
},
"dependencies": {
"clean-base-url": "*",
"exists-sync": "*",
"heimdalljs-logger": "*"
... | e3ba8fcee10730c903f6a30dab1035dc70a466ed | lib/tasks/server/middleware/tests-server/package.json | lib/tasks/server/middleware/tests-server/package.json | JSON |
<|file_sep|>original/etc/requirements_blaze.txt
-e git://github.com/quantopian/datashape.git@cae16a85406ca4302ff1f985b74a3809be0a83a1#egg=datashape-dev
-e git://github.com/quantopian/odo.git@ba84238eb8dbcac4784ae7ebf62988d7e163c283#egg=odo-dev
# Keep cytoolz version in sync with toolz version in requirements.txt
cytoo... | -e git://github.com/quantopian/datashape.git@cae16a85406ca4302ff1f985b74a3809be0a83a1#egg=datashape-dev
-e git://github.com/quantopian/odo.git@ba84238eb8dbcac4784ae7ebf62988d7e163c283#egg=odo-dev
# Keep cytoolz version in sync with toolz version in requirements.txt
cytoolz==0.8.2
# Transitive dependencies of blaze:
d... | <|file_sep|>original/etc/requirements_blaze.txt
-e git://github.com/quantopian/datashape.git@cae16a85406ca4302ff1f985b74a3809be0a83a1#egg=datashape-dev
-e git://github.com/quantopian/odo.git@ba84238eb8dbcac4784ae7ebf62988d7e163c283#egg=odo-dev
# Keep cytoolz version in sync with toolz version in requirements.txt
cytoo... | df74939b37741c0d3cce21e449883f3c5281f418 | etc/requirements_blaze.txt | etc/requirements_blaze.txt | Text |
<|file_sep|>lib/loot_system/drop.rb.diff
original:
def initialize(item:, chance: 1, random_number_generator: RandomNumberGenerator.new, hours: (0..23))
updated:
def initialize(item:, chance: 1, random_number_generator: RandomNumberGenerator.new, hours: (0..23), min: 1, max: 1)
<|file_sep|>lib/loot_system/drop.r... | def successful?
(rand < chance)
end
# Performs random number generation
def rand
@random_number_generator.rand
end
private
def valid_hour?
t = Time.now
@hours === t.hour
end
def count(min, max)
(min..max).to_a.sample
end
end
end | <|file_sep|>lib/loot_system/drop.rb.diff
original:
def initialize(item:, chance: 1, random_number_generator: RandomNumberGenerator.new, hours: (0..23))
updated:
def initialize(item:, chance: 1, random_number_generator: RandomNumberGenerator.new, hours: (0..23), min: 1, max: 1)
<|file_sep|>lib/loot_system/drop.r... | 2711dde4da4b8a21e0fe50e6e0423df407c7d56d | lib/loot_system/drop.rb | lib/loot_system/drop.rb | Ruby |
<|file_sep|>src/NHibernate.Test/CfgTest/ConfigurationFixture.cs.diff
original:
updated:
<|file_sep|>src/NHibernate.Test/CfgTest/ConfigurationFixture.cs.diff
original:
updated:
string origQuerySubst = Cfg.Environment.Properties[Cfg.Environment.QuerySubstitutions] as string;
string origConnString = Cfg.Environ... | /// <summary>
/// Verify that NHibernate can read the configuration from a hibernate.cfg.xml
/// file and that the values override what is in the app.config.
/// </summary>
[Test]
public void ReadCfgXmlFromDefaultFile()
{
string origQuerySubst = Cfg.Environment.Properties[Cfg.Environment.QuerySubstitu... | <|file_sep|>src/NHibernate.Test/CfgTest/ConfigurationFixture.cs.diff
original:
updated:
<|file_sep|>src/NHibernate.Test/CfgTest/ConfigurationFixture.cs.diff
original:
updated:
string origQuerySubst = Cfg.Environment.Properties[Cfg.Environment.QuerySubstitutions] as string;
string origConnString = Cfg.Environ... | 4cb2ff87b980506afa7e4dab269029cacd8a505e | src/NHibernate.Test/CfgTest/ConfigurationFixture.cs | src/NHibernate.Test/CfgTest/ConfigurationFixture.cs | C# |
<|file_sep|>spec/support/db_cleaner.rb.diff
original:
DatabaseCleaner.strategy = :deletion
updated:
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
<|file_sep|>original/spec/support/db_cleaner.rb
config.before(:each) do
DatabaseCleaner.strategy = :transaction
end
config.before(:each, :... |
config.before(:each) do
DatabaseCleaner.strategy = :transaction
end
config.before(:each, :js) do
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end
config.before(:each, :delete) do
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
end
config.before(:each, :migrat... | <|file_sep|>spec/support/db_cleaner.rb.diff
original:
DatabaseCleaner.strategy = :deletion
updated:
DatabaseCleaner.strategy = :deletion, { cache_tables: false }
<|file_sep|>original/spec/support/db_cleaner.rb
config.before(:each) do
DatabaseCleaner.strategy = :transaction
end
config.before(:each, :... | 389019aaea34229bd3219a13352d1e321a9db215 | spec/support/db_cleaner.rb | spec/support/db_cleaner.rb | Ruby |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.1.5
bumpversion==0.5.3
wheel==0.32.3
django-environ==0.4.5
radon==3.0.0
pytz==2018.7
djangorestframework==3.9.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.1.5
bumpversion==0.5.3
wheel==0.32.3
django-environ==0.4.5
radon=... | -r requirements.txt
django==2.1.5
bumpversion==0.5.3
wheel==0.33.0
django-environ==0.4.5
radon==3.0.0
pytz==2018.7
djangorestframework==3.9.1 | <|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.1.5
bumpversion==0.5.3
wheel==0.32.3
django-environ==0.4.5
radon==3.0.0
pytz==2018.7
djangorestframework==3.9.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.1.5
bumpversion==0.5.3
wheel==0.32.3
django-environ==0.4.5
radon=... | dfcb634f9c315e0d024c397b8f43392ddf05e821 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>phonon/tests/captureapptest/capture_test_main.cpp.diff
original:
QApplication::setApplicationName("Primitive Phonon Application");
updated:
QApplication::setApplicationName("Phonon Capture Test Application");
<|file_sep|>original/phonon/tests/captureapptest/capture_test_main.cpp
* MERCHANTABILITY ... | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "capture_test.h"
int main(... | <|file_sep|>phonon/tests/captureapptest/capture_test_main.cpp.diff
original:
QApplication::setApplicationName("Primitive Phonon Application");
updated:
QApplication::setApplicationName("Phonon Capture Test Application");
<|file_sep|>original/phonon/tests/captureapptest/capture_test_main.cpp
* MERCHANTABILITY ... | 099535afdace095de488eb79b98b9c0e5157f6a1 | phonon/tests/captureapptest/capture_test_main.cpp | phonon/tests/captureapptest/capture_test_main.cpp | C++ |
<|file_sep|>original/roles/logs/tasks/main.yml
---
- name: Configure logrotate to handle our custom logs.
template: src={{ item.src }} dest=/etc/logrotate.d/{{ item.dest }} owner=root group=root mode=0644
with_items:
- src: 000-dateext-for-all.j2
dest: 000-dateext-for-all
- src: ansible-pull.logrotat... | ---
- name: Make sure central_server fingerprint is known
shell: ssh-keyscan -H {{ central_server }} > /etc/ssh/ssh_known_hosts
- name: Configure logrotate to handle our custom logs.
template: src={{ item.src }} dest=/etc/logrotate.d/{{ item.dest }} owner=root group=root mode=0644
with_items:
- src: 000-date... | <|file_sep|>original/roles/logs/tasks/main.yml
---
- name: Configure logrotate to handle our custom logs.
template: src={{ item.src }} dest=/etc/logrotate.d/{{ item.dest }} owner=root group=root mode=0644
with_items:
- src: 000-dateext-for-all.j2
dest: 000-dateext-for-all
- src: ansible-pull.logrotat... | 06308b83e6410cca50936507ae2cc161ebf24e44 | roles/logs/tasks/main.yml | roles/logs/tasks/main.yml | YAML |
<|file_sep|>original/AAChartKit/AAChartKit/AAChartKit.podspec
Pod::Spec.new do |s|
s.name = 'AAChartKit'
s.version = '2.0.0'
s.summary = 'An elegant and friendly chart library for iOS developer'
s.homepage = 'https://github.com/AAChartModel/AAChartKit'
s.license = 'MIT'
... | Pod::Spec.new do |s|
s.name = 'AAChartKit'
s.version = '2.0.1'
s.summary = 'An elegant and friendly chart library for iOS developer'
s.homepage = 'https://github.com/AAChartModel/AAChartKit'
s.license = 'MIT'
s.authors = {'An An' => '18256973864@163.com'}
s.pl... | <|file_sep|>original/AAChartKit/AAChartKit/AAChartKit.podspec
Pod::Spec.new do |s|
s.name = 'AAChartKit'
s.version = '2.0.0'
s.summary = 'An elegant and friendly chart library for iOS developer'
s.homepage = 'https://github.com/AAChartModel/AAChartKit'
s.license = 'MIT'
... | 9e05fb6d08b1b68e8180ec2b8e7edb7a5226b90a | AAChartKit/AAChartKit/AAChartKit.podspec | AAChartKit/AAChartKit/AAChartKit.podspec | Ruby |
<|file_sep|>original/gradle.properties
VERSION_NAME=5.1.3
POM_PACKAGING=aar
GROUP=com.mixpanel.android
POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/
POM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_CONNECTION=sc... | VERSION_NAME=5.1.4-SNAPSHOT
POM_PACKAGING=aar
GROUP=com.mixpanel.android
POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/
POM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_CONNECTION=scm:git:http://github.com/mixpan... | <|file_sep|>original/gradle.properties
VERSION_NAME=5.1.3
POM_PACKAGING=aar
GROUP=com.mixpanel.android
POM_DESCRIPTION=Official Mixpanel tracking library for Android http://mixpanel.com/
POM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_URL=https://github.com/mixpanel/mixpanel-android
POM_SCM_CONNECTION=sc... | 21c11d3f0ad7c52c193442d2fe4aa950d3baae3e | gradle.properties | gradle.properties | INI |
<|file_sep|>original/fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java
import org.junit.Test;
public class FizzBuzzTest {
private final FizzBuzz fizzbuzz = new FizzBuzz();
@Test
public void test() {
assertFizzBuzz("1", 1);
assertFizzBuzz("2", 2);
assertFizzBuzz("Fizz", 3);
as... |
private final FizzBuzz fizzbuzz = new FizzBuzz();
@Test
public void test() {
assertFizzBuzz("1", 1);
assertFizzBuzz("2", 2);
assertFizzBuzz("Fizz", 3);
assertFizzBuzz("4", 4);
assertFizzBuzz("Buzz", 5);
assertFizzBuzz("Fizz", 6);
assertFizzBuzz("7", 7);
assertFizzBuzz("8", 8);
... | <|file_sep|>original/fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java
import org.junit.Test;
public class FizzBuzzTest {
private final FizzBuzz fizzbuzz = new FizzBuzz();
@Test
public void test() {
assertFizzBuzz("1", 1);
assertFizzBuzz("2", 2);
assertFizzBuzz("Fizz", 3);
as... | 55b3b57033343c67d09116aeb5b0217b67d127fc | fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java | fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java | Java |
<|file_sep|>original/timezone.sh
#
# Usage: timezone.sh <timezone>
# Description: Set timezone for container
#
set -e
ZONEINFO=/usr/share/zoneinfo/$1
if [ ! -f $ZONEINFO ]
then
echo "Please specify timezone (ex. Asia/Tokyo)"
exit 1
fi
if [ -f /etc/localtime ]
then
rm /etc/localtime
fi
ln -s $ZONEINFO /... | #
# Usage: timezone.sh <timezone>
# Description: Set timezone for container
#
set -e
ZONEINFO=/usr/share/zoneinfo/$1
if [ ! -f $ZONEINFO ]
then
echo "Please specify timezone (ex. Asia/Tokyo)"
exit 1
fi
if [ -f /etc/localtime ]
then
rm /etc/localtime
fi
cp $ZONEINFO /etc/localtime | <|file_sep|>original/timezone.sh
#
# Usage: timezone.sh <timezone>
# Description: Set timezone for container
#
set -e
ZONEINFO=/usr/share/zoneinfo/$1
if [ ! -f $ZONEINFO ]
then
echo "Please specify timezone (ex. Asia/Tokyo)"
exit 1
fi
if [ -f /etc/localtime ]
then
rm /etc/localtime
fi
ln -s $ZONEINFO /... | 434087b18373b56c1187aafd689915ce7736d386 | timezone.sh | timezone.sh | Shell |
<|file_sep|>original/packages/react-proxy/modules/requestForceUpdateAll.js
/**
* Forces deep re-render of all mounted React components.
* Hat's off to Omar Skalli (@Chetane) for suggesting this approach:
* https://gist.github.com/Chetane/9a230a9fdcdca21a4e29
*/
function forceUpdateAll() {
isRequest... | * https://gist.github.com/Chetane/9a230a9fdcdca21a4e29
*/
function forceUpdateAll() {
isRequestPending = false;
var rootInstances = getRootInstances(),
rootInstance;
for (var key in rootInstances) {
if (rootInstances.hasOwnProperty(key)) {
rootInstance = rootInstances[key];
... | <|file_sep|>original/packages/react-proxy/modules/requestForceUpdateAll.js
/**
* Forces deep re-render of all mounted React components.
* Hat's off to Omar Skalli (@Chetane) for suggesting this approach:
* https://gist.github.com/Chetane/9a230a9fdcdca21a4e29
*/
function forceUpdateAll() {
isRequest... | 469dc586285709a67cd2b1ebc0470df9baba5a90 | packages/react-proxy/modules/requestForceUpdateAll.js | packages/react-proxy/modules/requestForceUpdateAll.js | JavaScript |
<|file_sep|>original/scripts/newActivity.py
<|file_sep|>current/scripts/newActivity.py
<|file_sep|>updated/scripts/newActivity.py | #!/usr/bin/env python
from datetime import datetime
from pymongo import MongoClient
import re
from subprocess import call
import sys
# minutes
window = 30
if len(sys.argv) != 2:
print 'Usage: %s <logfile>' % sys.argv[0]
sys.exit(1)
now = datetime.now()
logformat = re.compile('(\d{4}-\d\d-\d\d \d\d:\d\d:\d\... | <|file_sep|>original/scripts/newActivity.py
<|file_sep|>current/scripts/newActivity.py
<|file_sep|>updated/scripts/newActivity.py
#!/usr/bin/env python
from datetime import datetime
from pymongo import MongoClient
import re
from subprocess import call
import sys
# minutes
window = 30
if len(sys.argv) != 2:
pri... | dc15f8eb74592e0bc26aad2a2850e6a04de1492c | scripts/newActivity.py | scripts/newActivity.py | Python |
<|file_sep|>features/venues.feature.diff
original:
updated:
Given I am logged in as "Lord Nikon"
<|file_sep|>original/features/venues.feature
Feature: Venues
In order to inform attendees where a LAN is taking place
As an admin
I need to be able to create, edit and delete venues
Background:
... | Feature: Venues
In order to inform attendees where a LAN is taking place
As an admin
I need to be able to create, edit and delete venues
Background:
Given an admin with username "Lord Nikon" exists
Given I am logged in as "Lord Nikon"
Scenario: Creating a new venue for all to see
... | <|file_sep|>features/venues.feature.diff
original:
updated:
Given I am logged in as "Lord Nikon"
<|file_sep|>original/features/venues.feature
Feature: Venues
In order to inform attendees where a LAN is taking place
As an admin
I need to be able to create, edit and delete venues
Background:
... | 63e413d4d2a915b29c64a59890c50c99038fea39 | features/venues.feature | features/venues.feature | Cucumber |
<|file_sep|>test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs.diff
original:
Assert.False(sut2.HasAlphanumericVersion);
updated:
Assert.True(sut2.HasAlphanumericVersion);
<|file_sep|>original/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs
... | Assert.True(sut2.IsSemanticVersion());
Assert.Equal(sut2.AlphanumericVersion, sut1.ProductVersion);
Assert.Equal(sut2.ToString(), sut1.ProductVersion);
}
[Fact]
public void ToFileVersion_ShouldConvertFileVersionInfoToVersionResult()
{
var ... | <|file_sep|>test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs.diff
original:
Assert.False(sut2.HasAlphanumericVersion);
updated:
Assert.True(sut2.HasAlphanumericVersion);
<|file_sep|>original/test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs
... | 6754c37f41414b8b39deec59c908acd29088bbef | test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs | test/Cuemon.Extensions.Diagnostics.Tests/FileVersionInfoExtensionsTest.cs | C# |
<|file_sep|>original/app/initializers/model-fragments.js
// Import the full module to ensure monkey-patchs are applied before any store
// instances are created. Sad face for side-effects :(
import 'model-fragments';
import FragmentTransform from 'model-fragments/transforms/fragment';
import FragmentArrayTransform from... | // Import the full module to ensure monkey-patchs are applied before any store
// instances are created. Sad face for side-effects :(
import 'model-fragments';
import FragmentTransform from 'model-fragments/transforms/fragment';
import FragmentArrayTransform from 'model-fragments/transforms/fragment-array';
import Arra... | <|file_sep|>original/app/initializers/model-fragments.js
// Import the full module to ensure monkey-patchs are applied before any store
// instances are created. Sad face for side-effects :(
import 'model-fragments';
import FragmentTransform from 'model-fragments/transforms/fragment';
import FragmentArrayTransform from... | aba30b212aa3e8503aa2787252e8bcf0b4230333 | app/initializers/model-fragments.js | app/initializers/model-fragments.js | JavaScript |
<|file_sep|>original/lib/transpec/dynamic_analyzer/runtime_data.rb
end
def [](node, key = nil)
node_data = data[node_id(node)]
return nil unless node_data
return node_data unless key
node_data[key]
end
def run?(node)
self[node]
end
def prese... | end
def [](node, key = nil)
node_data = data[node_id(node)]
return nil unless node_data
return node_data unless key
node_data[key]
end
def run?(node)
!self[node].nil?
end
def present?(node, key)
node_data = self[node]
return ... | <|file_sep|>original/lib/transpec/dynamic_analyzer/runtime_data.rb
end
def [](node, key = nil)
node_data = data[node_id(node)]
return nil unless node_data
return node_data unless key
node_data[key]
end
def run?(node)
self[node]
end
def prese... | 7bc236d06e7d2e93039c41d8c744160508c8fafe | lib/transpec/dynamic_analyzer/runtime_data.rb | lib/transpec/dynamic_analyzer/runtime_data.rb | Ruby |
<|file_sep|>original/layouts/_default/single.html
{{ partial "head.html" . }}
<title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
</head>
<body class="container">
<header>
... |
{{ partial "head.html" . }}
<title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
</head>
<body class="container">
<header>
{{ partial "menu.html" . }}
</header>
... | <|file_sep|>original/layouts/_default/single.html
{{ partial "head.html" . }}
<title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
</head>
<body class="container">
<header>
... | 310bcffee0bd7988916b858016c285225dfa3c27 | layouts/_default/single.html | layouts/_default/single.html | HTML |
<|file_sep|>original/vendor/assets/stylesheets/kwicks/jquery.kwicks.css
/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.1.0
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
... | /*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.2.0
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
* http://www.opensource.org/licenses/mit-license.php
*/
/*
* This f... | <|file_sep|>original/vendor/assets/stylesheets/kwicks/jquery.kwicks.css
/*!
* Kwicks: Sexy Sliding Panels for jQuery - v2.1.0
* http://devsmash.com/projects/kwicks
*
* Copyright 2013 Jeremy Martin (jmar777)
* Contributors: Duke Speer (Duke3D), Guillermo Guerrero (gguerrero)
* Released under the MIT license
... | e95d935cfc86cf1ad6e982050f97c64b2d006bcb | vendor/assets/stylesheets/kwicks/jquery.kwicks.css | vendor/assets/stylesheets/kwicks/jquery.kwicks.css | CSS |
<|file_sep|>original/.circleci/config.yml
name: Install dependencies
command: |
apk add --no-cache \
py-pip
pip install \
docker-compose==1.20.1
- run:
name: Start container and run tests
command: |
docker-comp... | name: Install dependencies
command: |
apk add --no-cache \
py-pip
pip install \
docker-compose==1.20.1
- run:
name: Start container and run tests
command: |
docker-compose run test rake
- deploy:
... | <|file_sep|>original/.circleci/config.yml
name: Install dependencies
command: |
apk add --no-cache \
py-pip
pip install \
docker-compose==1.20.1
- run:
name: Start container and run tests
command: |
docker-comp... | 2325f72a07a5f7a6f61767bdc9d4f1dd949535a5 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/README.md
# ErrorSer
Simple hack to serialize &Error values in rust, using either serde or rustc-serialize.
Note that due to the way errors are serialized, some custom ones with side effects and the like are improperly serialized, instead giving the descriptions and causes that were true at the t... | # ErrorSer
Simple hack to serialize &Error values in rust, using either serde or rustc-serialize.
Note that due to the way errors are serialized, some custom ones with side effects and the like are improperly serialized, instead giving the descriptions and causes that were true at the time of serialization, instead o... | <|file_sep|>original/README.md
# ErrorSer
Simple hack to serialize &Error values in rust, using either serde or rustc-serialize.
Note that due to the way errors are serialized, some custom ones with side effects and the like are improperly serialized, instead giving the descriptions and causes that were true at the t... | 1104872be0157872a4329666caf94e675ba10d46 | README.md | README.md | Markdown |
<|file_sep|>original/lib/active_fulfillment/service.rb
module ActiveFulfillment
class Service
include ActiveUtils::RequiresParameters
include ActiveUtils::PostsData
cattr_accessor :logger
def initialize(options = {})
check_test_mode(options)
@options = {}
@options.update(options)... | module ActiveFulfillment
class Service
include ActiveUtils::RequiresParameters
include ActiveUtils::PostsData
class_attribute :logger
def initialize(options = {})
check_test_mode(options)
@options = {}
@options.update(options)
end
def test_mode?
false
end
... | <|file_sep|>original/lib/active_fulfillment/service.rb
module ActiveFulfillment
class Service
include ActiveUtils::RequiresParameters
include ActiveUtils::PostsData
cattr_accessor :logger
def initialize(options = {})
check_test_mode(options)
@options = {}
@options.update(options)... | f2142fadf774ce5d4a655c3592d31984995d1020 | lib/active_fulfillment/service.rb | lib/active_fulfillment/service.rb | Ruby |
<|file_sep|>original/requirements.txt
pytest==4.0.1
pytest-cookies==0.3.0
pyaml==18.11.0
testinfra==1.18.0
tox==3.5.3
<|file_sep|>current/requirements.txt
pytest==4.0.1
pytest-cookies==0.3.0
pyaml==18.11.0
testinfra==1.18.0
tox==3.5.3
<|file_sep|>updated/requirements.txt | pytest==4.3.0
pytest-cookies==0.3.0
pyaml==18.11.0
testinfra==1.18.0
tox==3.5.3 | <|file_sep|>original/requirements.txt
pytest==4.0.1
pytest-cookies==0.3.0
pyaml==18.11.0
testinfra==1.18.0
tox==3.5.3
<|file_sep|>current/requirements.txt
pytest==4.0.1
pytest-cookies==0.3.0
pyaml==18.11.0
testinfra==1.18.0
tox==3.5.3
<|file_sep|>updated/requirements.txt
pytest==4.3.0
pytest-cookies==0.3.0
pyaml==18.11... | 02eca0ce90e40d98228612330762e7dc5293fef7 | requirements.txt | requirements.txt | Text |
<|file_sep|>classes/class-scrivener.php.diff
original:
updated:
/**
* Setup singleton Scrivener instance
*
* @since 0.1.0
* @uses add_filter
* @return void
*/
<|file_sep|>classes/class-scrivener.php.diff
original:
public function filter_preview_post_link() {
updated:
/**
* Filter preview post link
... | global $post;
return admin_url( 'admin-post.php?weiverp=1&p=' . $post->ID );
}
/**
* Initialize class and return an instance of it
*
* @since 0.1.0
* @return Scrivener
*/
public function init() {
if ( ! isset( self::$_instance ) ) {
self::$_instance = new Scrivener;
}
return self::$_instance... | <|file_sep|>classes/class-scrivener.php.diff
original:
updated:
/**
* Setup singleton Scrivener instance
*
* @since 0.1.0
* @uses add_filter
* @return void
*/
<|file_sep|>classes/class-scrivener.php.diff
original:
public function filter_preview_post_link() {
updated:
/**
* Filter preview post link
... | 402cee6ecee48371b0ae3a114e7a014ff500c627 | classes/class-scrivener.php | classes/class-scrivener.php | PHP |
<|file_sep|>original/src/util/logger/create.js
const pino = require('pino')
const serializers = require('./serializers.js')
function createLogger (shardID) {
return pino({
base: {
shardID: String(shardID)
},
prettyPrint: {
translateTime: 'yyyy-mm-dd HH:MM:ss',
messageFormat: `[{shardID}... | const pino = require('pino')
const serializers = require('./serializers.js')
function createLogger (shardID) {
return pino({
base: {
shardID: String(shardID)
},
customLevels: {
owner: 35
},
prettyPrint: {
translateTime: 'yyyy-mm-dd HH:MM:ss',
messageFormat: `[{shardID}] \x... | <|file_sep|>original/src/util/logger/create.js
const pino = require('pino')
const serializers = require('./serializers.js')
function createLogger (shardID) {
return pino({
base: {
shardID: String(shardID)
},
prettyPrint: {
translateTime: 'yyyy-mm-dd HH:MM:ss',
messageFormat: `[{shardID}... | 3297012b746f0352298237c78a9d79bd64c31c48 | src/util/logger/create.js | src/util/logger/create.js | JavaScript |
<|file_sep|>original/ChasingPictures/app/src/androidTest/java/de/fu_berlin/cdv/chasingpictures/api/PictureRequestTest.java
// Register user so we have a valid access token
LoginRequestTest.registerUser(
getContext(),
"Tom",
LoginRequestTest.getUniqueEmail... |
// Register user so we have a valid access token
LoginRequestTest.registerUser(
getContext(),
"Tom",
LoginRequestTest.getUniqueEmail(),
"12345678"
);
PictureRequest request = new PictureRequest(getContext(), p);
R... | <|file_sep|>original/ChasingPictures/app/src/androidTest/java/de/fu_berlin/cdv/chasingpictures/api/PictureRequestTest.java
// Register user so we have a valid access token
LoginRequestTest.registerUser(
getContext(),
"Tom",
LoginRequestTest.getUniqueEmail... | b5243d0fceb2f76bc7b45684efa998b30fbecead | ChasingPictures/app/src/androidTest/java/de/fu_berlin/cdv/chasingpictures/api/PictureRequestTest.java | ChasingPictures/app/src/androidTest/java/de/fu_berlin/cdv/chasingpictures/api/PictureRequestTest.java | Java |
<|file_sep|>.github/workflows/flake8.yml.diff
original:
- '*.py'
- 'lint/**.py'
- 'tests/**.py'
updated:
- '**.py'
- '!docs/**'
<|file_sep|>original/.github/workflows/flake8.yml
- master
paths:
- 'setup.cfg'
- '*.py'
- 'lint/**.py'
- 'tests/**.py'
pull_request:
paths... | - master
paths:
- 'setup.cfg'
- '**.py'
- '!docs/**'
pull_request:
paths:
- 'setup.cfg'
- '**.py'
- '!docs/**'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
... | <|file_sep|>.github/workflows/flake8.yml.diff
original:
- '*.py'
- 'lint/**.py'
- 'tests/**.py'
updated:
- '**.py'
- '!docs/**'
<|file_sep|>original/.github/workflows/flake8.yml
- master
paths:
- 'setup.cfg'
- '*.py'
- 'lint/**.py'
- 'tests/**.py'
pull_request:
paths... | 5c3efd1fbaf1defa749abd03f559afb6f5b4c913 | .github/workflows/flake8.yml | .github/workflows/flake8.yml | YAML |
<|file_sep|>original/.travis.yml
- liblzo2-dev
before_install:
- pip install cython
- python setup.py sdist
install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
notifications:
webhooks:
urls:
- https... | install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
before_deploy:
- pip install sphinx sphinx_rtd_theme ipython
- cd $TRAVIS_BUILD_DIR
- echo "3.6.1" > VERSION # WIP remove me
- cd doc
- make html
- touch b... | <|file_sep|>original/.travis.yml
- liblzo2-dev
before_install:
- pip install cython
- python setup.py sdist
install:
- pip install dist/*.tar.gz
script:
- cd .. && python -m tables.tests.test_all
- pt2to3 -h
- ptrepack -h
- ptdump -h
- pttree -h
notifications:
webhooks:
urls:
- https... | 3289c80f5c617b8aa4efc34a708adcc9238c4481 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.rst
.. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://img.shields.io/badge/license-MIT-green.svg
:target: https://github.com/Lasagne/Lasagne/blob/master/LICENSE
Python-Twitch-St... | .. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://travis-ci.org/317070/python-twitch-stream.svg
:target: https://travis-ci.org/317070/python-twitch-stream
.. image:: https://img.shields.io/badge/license-MI... | <|file_sep|>original/README.rst
.. image:: https://readthedocs.org/projects/python-twitch-stream/badge/
:target: http://python-twitch-stream.readthedocs.org/en/latest/
.. image:: https://img.shields.io/badge/license-MIT-green.svg
:target: https://github.com/Lasagne/Lasagne/blob/master/LICENSE
Python-Twitch-St... | 0f60181631ff6946d395938abb8b1b4cef4547dd | README.rst | README.rst | reStructuredText |
<|file_sep|>src/Clue/Redis/React/Client.php.diff
original:
updated:
use Clue\Redis\Protocol\ParserException;
<|file_sep|>original/src/Clue/Redis/React/Client.php
class Client extends EventEmitter
{
private $stream;
private $protocol;
public function __construct(Stream $stream, ProtocolInterface $protocol)... |
class Client extends EventEmitter
{
private $stream;
private $protocol;
public function __construct(Stream $stream, ProtocolInterface $protocol)
{
$that = $this;
$stream->on('data', function($chunk) use ($protocol, $that) {
try {
$protocol->pushIncoming($chu... | <|file_sep|>src/Clue/Redis/React/Client.php.diff
original:
updated:
use Clue\Redis\Protocol\ParserException;
<|file_sep|>original/src/Clue/Redis/React/Client.php
class Client extends EventEmitter
{
private $stream;
private $protocol;
public function __construct(Stream $stream, ProtocolInterface $protocol)... | cc20de5a2798b6dcdf0ffeffb299a35995146ef7 | src/Clue/Redis/React/Client.php | src/Clue/Redis/React/Client.php | PHP |
<|file_sep|>original/install-guide/source/install-obs.rst
.. _install-obs:
Install and configure for openSUSE and SUSE Linux Enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This section describes how to install and configure the Database service
for openSUSE Leap 42.1 and SUSE Linux Enterpris... | .. _install-obs:
Install and configure for openSUSE and SUSE Linux Enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This section describes how to install and configure the Database service
for openSUSE Leap 42.2 and SUSE Linux Enterprise Server 12 SP2.
.. include:: common_prerequisites.txt
I... | <|file_sep|>original/install-guide/source/install-obs.rst
.. _install-obs:
Install and configure for openSUSE and SUSE Linux Enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This section describes how to install and configure the Database service
for openSUSE Leap 42.1 and SUSE Linux Enterpris... | 4642ed463fef5e330ee58d57ba5e8f6e659a5aa6 | install-guide/source/install-obs.rst | install-guide/source/install-obs.rst | reStructuredText |
<|file_sep|>original/client/scripts/orion/textview/textview.css
.textview {
background-color: white;
padding: 1px 2px;
}
.textviewContainer {
background-color: #eeeeee;
font-family: "Monaco","Ubuntu Mono","Courier new";
font-size: 9pt;
}
::-webkit-scrollbar-corner {
background-color: #eeeeee;
}
.textviewContent... | .textview {
background-color: white;
padding: 1px 2px;
}
.textviewContainer {
background-color: #eeeeee;
font-family: Monaco,"Ubuntu Mono", monospace;
font-size: 9pt;
}
::-webkit-scrollbar-corner {
background-color: #eeeeee;
}
.textviewContent {
} | <|file_sep|>original/client/scripts/orion/textview/textview.css
.textview {
background-color: white;
padding: 1px 2px;
}
.textviewContainer {
background-color: #eeeeee;
font-family: "Monaco","Ubuntu Mono","Courier new";
font-size: 9pt;
}
::-webkit-scrollbar-corner {
background-color: #eeeeee;
}
.textviewContent... | 4112960b3bbf538ced55743d93773e577828b57a | client/scripts/orion/textview/textview.css | client/scripts/orion/textview/textview.css | CSS |
<|file_sep|>original/app/views/catalog_admin/items/_common_form_fields.html.erb
<% @item.fields.each_with_index do |field, i| %>
<%= field_input(f, field, :autofocus => (i == 0), :style => :compact) %>
<% end %>
<hr>
<%= render_items_review(f) if catalog.requires_review? %>
<|file_sep|>current/app/views/catalog_adm... | <% @item.fields.each_with_index do |field, i| %>
<%= field_input(f, field, :autofocus => (i == 0), :style => :compact) %>
<% end %>
<hr>
<div id="item_review">
<%= render_items_review(f) if catalog.requires_review? %>
</div> | <|file_sep|>original/app/views/catalog_admin/items/_common_form_fields.html.erb
<% @item.fields.each_with_index do |field, i| %>
<%= field_input(f, field, :autofocus => (i == 0), :style => :compact) %>
<% end %>
<hr>
<%= render_items_review(f) if catalog.requires_review? %>
<|file_sep|>current/app/views/catalog_adm... | e90b3685807678f835aa73c31bb3a1f85ac2b0ae | app/views/catalog_admin/items/_common_form_fields.html.erb | app/views/catalog_admin/items/_common_form_fields.html.erb | HTML+ERB |
<|file_sep|>app/assets/javascripts/components/highlight-code.js.diff
original:
import hljs from 'highlight.js';
updated:
import { highlight } from 'highlight.js';
<|file_sep|>original/app/assets/javascripts/components/highlight-code.js
import hljs from 'highlight.js';
export default function highlightCode(text) {
tr... | import { highlight } from 'highlight.js';
export default function highlightCode(text) {
try {
const doc = new DOMParser().parseFromString(text, 'text/html');
[].forEach.call(doc.querySelectorAll('code'), (el) => {
el.classList.add('hljs');
if (el.dataset.language && !el.dataset.highlighted) {
... | <|file_sep|>app/assets/javascripts/components/highlight-code.js.diff
original:
import hljs from 'highlight.js';
updated:
import { highlight } from 'highlight.js';
<|file_sep|>original/app/assets/javascripts/components/highlight-code.js
import hljs from 'highlight.js';
export default function highlightCode(text) {
tr... | aebd49590621daf226e04775a757b9f3d04d7cab | app/assets/javascripts/components/highlight-code.js | app/assets/javascripts/components/highlight-code.js | JavaScript |
<|file_sep|>spacy/cli/converters/iob2json.py.diff
original:
import cytoolz
updated:
<|file_sep|>spacy/cli/converters/iob2json.py.diff
original:
updated:
from ...util import minibatch
<|file_sep|>original/spacy/cli/converters/iob2json.py
import cytoolz
from ...gold import iob_to_biluo
def iob2json(input_data, n_s... |
from ...gold import iob_to_biluo
from ...util import minibatch
def iob2json(input_data, n_sents=10, *args, **kwargs):
"""
Convert IOB files into JSON format for use with train cli.
"""
docs = []
for group in minibatch(docs, n_sents):
group = list(group)
first = group.pop(0)
... | <|file_sep|>spacy/cli/converters/iob2json.py.diff
original:
import cytoolz
updated:
<|file_sep|>spacy/cli/converters/iob2json.py.diff
original:
updated:
from ...util import minibatch
<|file_sep|>original/spacy/cli/converters/iob2json.py
import cytoolz
from ...gold import iob_to_biluo
def iob2json(input_data, n_s... | 0a6072621570464522cbfa6d939dffccc0fa6503 | spacy/cli/converters/iob2json.py | spacy/cli/converters/iob2json.py | Python |
<|file_sep|>index.html.diff
original:
<table background-color="blue">
<tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>
<tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>... | <!DOCTYPE html>
<html>
<head>
<title>Reverse Snake</title>
</head>
<body>
<table style="background-color: blue; border: 10px solid black">
<tbody><tr><td class="snakecell">1</td><td class="snakecell">2</td><td class="snakecell">3</td><td class="snakecell">4</td><td class="snakecell">5</td></tr>
<tr><td clas... | <|file_sep|>index.html.diff
original:
<table background-color="blue">
<tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>
<tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr>... | 4d0cf6232feb4630bc4807dea8a399231a7bb53a | index.html | index.html | HTML |
<|file_sep|>original/app/controllers/timeslots_controller.rb
render "student_appt_show"
elsif @timeslot.tutor_id == current_user.id
render "tutor_appt_show"
else
render "appt_show"
end
end
def delete
if current_user == @timeslot.tutor && @timeslot.student.nil?
@timeslot.dest... | render text: timeslot.errors.full_messages.to_s, status: 422
end
end
def show
@timeslot = Timeslot.find(params[:id])
if @timeslot.student_id == current_user.id
render "student_appt_show"
elsif @timeslot.tutor_id == current_user.id
render "tutor_appt_show"
else
render "ap... | <|file_sep|>original/app/controllers/timeslots_controller.rb
render "student_appt_show"
elsif @timeslot.tutor_id == current_user.id
render "tutor_appt_show"
else
render "appt_show"
end
end
def delete
if current_user == @timeslot.tutor && @timeslot.student.nil?
@timeslot.dest... | c53a7ed16bee0fc7f569494ac1822c148a3ec87f | app/controllers/timeslots_controller.rb | app/controllers/timeslots_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.4
- 2.5.1
gemfile:
- Gemfile
script: bundle exec rake test
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.4
- 2.5.1
gemfile:
- Gemfile
script: bundle exec rake test
sudo: fal... | language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.5
- 2.5.3
- 2.6.0
gemfile:
- Gemfile
script: bundle exec rake test
sudo: false | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.4
- 2.5.1
gemfile:
- Gemfile
script: bundle exec rake test
sudo: false
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.4
- 2.5.1
gemfile:
- Gemfile
script: bundle exec rake test
sudo: fal... | 93465355f51d3387b094eb67e8f4d0aa493a946a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Gabi
====
Gabi is a Go implementation of the [IRMA](https://www.irmacard.org) approach to the [Idemix](http://www.research.ibm.com/labs/zurich/idemix/) attribute based credential system. Check out the [IRMA](https://www.irmacard.org) website to learn more on this great alternative to tra... | [](https://godoc.org/github.com/mhe/gabi)
Gabi
====
Gabi is a Go implementation of the [IRMA](https://www.irmacard.org) approach to the [Idemix](http://www.research.ibm.com/labs/zurich/idemix/) attribute based credential system. Check out the [IRMA](https://ww... | <|file_sep|>original/README.md
Gabi
====
Gabi is a Go implementation of the [IRMA](https://www.irmacard.org) approach to the [Idemix](http://www.research.ibm.com/labs/zurich/idemix/) attribute based credential system. Check out the [IRMA](https://www.irmacard.org) website to learn more on this great alternative to tra... | af4796934b19bf3aee56efa511961a3eaae2ace0 | README.md | README.md | Markdown |
<|file_sep|>original/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx
<|file_sep|>current/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx
<|file_sep|>updated/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx | import React from 'react';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import SPELLS from 'common/SPELLS/index';
import ItemDamageDone from 'interface/ItemDamageDone';
import AverageTargetsHit from 'interface/others/AverageTargetsHit';
import Statistic from 'interface/statistics/Statistic';
import... | <|file_sep|>original/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx
<|file_sep|>current/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx
<|file_sep|>updated/src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx
import React from 'react';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/A... | 831ccc6644fe8677c816c4fc8ead386a59861fb1 | src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx | src/parser/hunter/shared/modules/talents/ChimaeraShot.tsx | TypeScript |
<|file_sep|>v2functions/http-trigger-dump-request/readme.md.diff
original:
- [Test acccess](#test-acccess)
updated:
- [Test access](#test-access)
<|file_sep|>original/v2functions/http-trigger-dump-request/readme.md
| Sample | Description | Trigger | In Bindings | Out Bindings
| ------------- | ------------- | -----... | | Sample | Description | Trigger | In Bindings | Out Bindings
| ------------- | ------------- | ------------- | ----------- | ----------- |
| [http-trigger-dump-request](v2functions/http-trigger-dump-request) | Azure Function HTTP Trigger Python Sample that returns request dump info with JSON format | HTTP | NONE | HTT... | <|file_sep|>v2functions/http-trigger-dump-request/readme.md.diff
original:
- [Test acccess](#test-acccess)
updated:
- [Test access](#test-access)
<|file_sep|>original/v2functions/http-trigger-dump-request/readme.md
| Sample | Description | Trigger | In Bindings | Out Bindings
| ------------- | ------------- | -----... | 5038336c6b266202fd38bd19e49f8f0993665574 | v2functions/http-trigger-dump-request/readme.md | v2functions/http-trigger-dump-request/readme.md | Markdown |
<|file_sep|>datagroupings/templatetags/key.py.diff
original:
if key_name in d:
return d[key_name]
updated:
if d is not None:
if key_name in d:
return d[key_name]
<|file_sep|>original/datagroupings/templatetags/key.py
def key(d, key_name):
if key_name in d:
return d[key_na... | def key(d, key_name):
if d is not None:
if key_name in d:
return d[key_name]
return ''
@register.filter(name='value')
def value(d, key_name):
if d is not None:
if key_name in d:
return d[key_name]
return ''
@register.filter(name='minval')
def minval(d, key_n... | <|file_sep|>datagroupings/templatetags/key.py.diff
original:
if key_name in d:
return d[key_name]
updated:
if d is not None:
if key_name in d:
return d[key_name]
<|file_sep|>original/datagroupings/templatetags/key.py
def key(d, key_name):
if key_name in d:
return d[key_na... | 691ccb9e99240f36ab954974e1ecbdea61c4c7b6 | datagroupings/templatetags/key.py | datagroupings/templatetags/key.py | Python |
<|file_sep|>core/mixins/_grid-shift.scss.diff
original:
updated:
<|file_sep|>original/core/mixins/_grid-shift.scss
// Shift columns and reorder them within their container.
@mixin grid-shift($shift: false) {
@include grid-is-zero-error(grid-shift, $shift);
@if $shift {
$_shift-value: calc(#{unquote(grid-cal... | // Shift columns and reorder them within their container.
@mixin grid-shift($shift: false) {
@include grid-is-zero-error(grid-shift, $shift);
@if $shift {
$_shift-value: calc(#{unquote(grid-calc($shift))} + #{grid-settings(gutter)});
#{grid-settings(default-float)}: $_shift-value;
} @else {
#{grid-se... | <|file_sep|>core/mixins/_grid-shift.scss.diff
original:
updated:
<|file_sep|>original/core/mixins/_grid-shift.scss
// Shift columns and reorder them within their container.
@mixin grid-shift($shift: false) {
@include grid-is-zero-error(grid-shift, $shift);
@if $shift {
$_shift-value: calc(#{unquote(grid-cal... | 53c16fb09bba6457ba6c9870d8942790bef5df85 | core/mixins/_grid-shift.scss | core/mixins/_grid-shift.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
cache:
directories:
- $HOME/.npm
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "0.12"
cache:
directories:
- $HOME/.npm
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- "node"
cache:
directories:
- $HOME/.npm | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
cache:
directories:
- $HOME/.npm
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "0.12"
cache:
directories:
- $HOME/.npm
<|file_sep|>updated/.travis.yml
... | 1960974528d7b9d99048106b1419df31fd324936 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==3.0.5
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==3.0.5
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>updated/requirements.... | pyaml==15.8.2
pytest-runner==2.8
pytest==3.0.6
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0 | <|file_sep|>original/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==3.0.5
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>current/requirements.txt
pyaml==15.8.2
pytest-runner==2.8
pytest==3.0.5
pytest-cov==2.2.1
semantic_version==2.5.0
requests==2.10.0
<|file_sep|>updated/requirements.... | 63e1b41fd0953cbd8c427098560ef916ab82a182 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/ember/es6_template/sprockets2.rb
begin
require 'coffee_script'
rescue LoadError => e
raise e unless e.message == 'cannot load such file -- coffee_script'
end
module Ember
module ES6Template
autoload :ES6, 'ember/es6_template/sprockets2/es6'
autoload :ES6Module, 'ember/es6_templat... | begin
require 'coffee_script'
rescue LoadError => e
raise e unless ['cannot load such file -- coffee_script', 'no such file to load -- coffee_script'].include?(e.message)
end
module Ember
module ES6Template
autoload :ES6, 'ember/es6_template/sprockets2/es6'
autoload :ES6Module, 'ember/es6_template/sprock... | <|file_sep|>original/lib/ember/es6_template/sprockets2.rb
begin
require 'coffee_script'
rescue LoadError => e
raise e unless e.message == 'cannot load such file -- coffee_script'
end
module Ember
module ES6Template
autoload :ES6, 'ember/es6_template/sprockets2/es6'
autoload :ES6Module, 'ember/es6_templat... | 24273aa3f1f63cb654b06d9bbbb3a2e730f65fbb | lib/ember/es6_template/sprockets2.rb | lib/ember/es6_template/sprockets2.rb | Ruby |
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-drmemory_win32.txt
# http://code.google.com/p/drmemory/issues/detail?id=422
HttpAuthTest.*
HttpAuthHandlerFactoryTest.*
X509CertificateTest.*
# Too many uninits and too slow. TODO(timurrrr): investigate uninits
ProxyResolverV8Test.*
# Slow
CookieMo... | # Too many uninits and too slow. TODO(timurrrr): investigate uninits
ProxyResolverV8Test.*
# Slow
CookieMonsterTest.GarbageCollectionTriggers
# Hangs only when built in release mode.
# http://crbug.com/105762
ClientSocketPoolBaseTest.DisableCleanupTimer
# Flaky, see http://crbug.com/108422
SSLClientSocketTest.Connec... | <|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-drmemory_win32.txt
# http://code.google.com/p/drmemory/issues/detail?id=422
HttpAuthTest.*
HttpAuthHandlerFactoryTest.*
X509CertificateTest.*
# Too many uninits and too slow. TODO(timurrrr): investigate uninits
ProxyResolverV8Test.*
# Slow
CookieMo... | 634b2ddf71db7014596690d4fc75c6394d827371 | tools/valgrind/gtest_exclude/net_unittests.gtest-drmemory_win32.txt | tools/valgrind/gtest_exclude/net_unittests.gtest-drmemory_win32.txt | Text |
<|file_sep|>original/lib/genomer-plugin-view/gff_record_helper.rb
[self.start,self.end,self.feature]
end
end
def to_genbank_feature_row
out = [coordinates]
attributes.each do |atr|
out << process(atr)
end
out
end
def process(attr)
key, value = attr
case key
when 'ID... | [self.start,self.end,self.feature]
end
end
def to_genbank_table_entry
delimiter = "\t"
indent = delimiter * 2
entries = table_attributes.inject([coordinates]) do |array,atr|
array << atr.unshift(indent)
end
return entries.map{|line| line * delimiter} * "\n" + "\n"
end
d... | <|file_sep|>original/lib/genomer-plugin-view/gff_record_helper.rb
[self.start,self.end,self.feature]
end
end
def to_genbank_feature_row
out = [coordinates]
attributes.each do |atr|
out << process(atr)
end
out
end
def process(attr)
key, value = attr
case key
when 'ID... | 404118e160124354b97496ac8892b8dac6f3572f | lib/genomer-plugin-view/gff_record_helper.rb | lib/genomer-plugin-view/gff_record_helper.rb | Ruby |
<|file_sep|>resources/geocoding/en/260.txt.diff
original:
# http://en.wikipedia.org/wiki/+260 [445716059]
# http://www.itu.int/oth/T02020000E8/en [2007-02-12]
updated:
# http://en.wikipedia.org/wiki/+260 [445722990]
# Choolwe Nalubamba, ZICTA, Lusaka [2011-08-20]
<|file_sep|>original/resources/geocoding/en/260.txt
# h... |
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permis... | <|file_sep|>resources/geocoding/en/260.txt.diff
original:
# http://en.wikipedia.org/wiki/+260 [445716059]
# http://www.itu.int/oth/T02020000E8/en [2007-02-12]
updated:
# http://en.wikipedia.org/wiki/+260 [445722990]
# Choolwe Nalubamba, ZICTA, Lusaka [2011-08-20]
<|file_sep|>original/resources/geocoding/en/260.txt
# h... | 7d6accc80401e16046734716fef67491a12fbb94 | resources/geocoding/en/260.txt | resources/geocoding/en/260.txt | Text |
<|file_sep|>original/setup.py
packages=find_packages(exclude=('tests',)),
use_scm_version=True,
install_requires=[],
setup_requires=['setuptools_scm'],
tests_require=[
'pytest'
],
extra_requires={
'performance': ['pandas']
},
classifiers=[
'Development Status :: 2... |
packages=find_packages(exclude=('tests',)),
use_scm_version=True,
install_requires=[],
setup_requires=['setuptools_scm'],
tests_require=[
'pytest'
],
extra_requires={
'performance': ['pandas', 'docopt', 'tabulate']
},
classifiers=[
'Development Status :: 2 - Pre-A... | <|file_sep|>original/setup.py
packages=find_packages(exclude=('tests',)),
use_scm_version=True,
install_requires=[],
setup_requires=['setuptools_scm'],
tests_require=[
'pytest'
],
extra_requires={
'performance': ['pandas']
},
classifiers=[
'Development Status :: 2... | a42ec3c9f01897d1309e1abc05e30e0ff396162e | setup.py | setup.py | Python |
<|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
install_module_from_forge_on(hosts, 'puppetlabs-stdlib', '= 4.25.1')
install_module_from_forge_on(hosts, 'puppetlabs-concat', '= 4.2.1')
install_module_from_forge_on(hosts, 'willdurand-composer', '= 1.2.6')
updated:
install_module_from_forge_on(hosts, 'puppetlab... | require 'beaker-puppet'
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'
# collection: puppet - latest, puppet6 is the current version
install_puppet_agent_on(hosts, {:puppet_collection => 'puppet' } )
install_module_on(hosts)
install_module_from_forge_on(hosts, 'puppetlabs-stdlib', '= 6.6... | <|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
install_module_from_forge_on(hosts, 'puppetlabs-stdlib', '= 4.25.1')
install_module_from_forge_on(hosts, 'puppetlabs-concat', '= 4.2.1')
install_module_from_forge_on(hosts, 'willdurand-composer', '= 1.2.6')
updated:
install_module_from_forge_on(hosts, 'puppetlab... | 7fd31b294a605cdb22c6e368ed970f0af08742d4 | spec/spec_helper_acceptance.rb | spec/spec_helper_acceptance.rb | Ruby |
<|file_sep|>original/composer.json
"description": "The GruntUseminBundle provides a Twig extension for using files processed with grunt-usemin when in production.",
"keywords": ["evolution7", "yeoman", "grunt", "usemin", "php", "symfony", "bundle"],
"homepage": "https://github.com/Evolution7/GruntUseminBund... | "description": "The GruntUseminBundle provides a Twig extension for using files processed with grunt-usemin when in production.",
"keywords": ["evolution7", "yeoman", "grunt", "usemin", "php", "symfony", "bundle"],
"homepage": "https://github.com/Evolution7/GruntUseminBundle",
"license": "MIT",
"aut... | <|file_sep|>original/composer.json
"description": "The GruntUseminBundle provides a Twig extension for using files processed with grunt-usemin when in production.",
"keywords": ["evolution7", "yeoman", "grunt", "usemin", "php", "symfony", "bundle"],
"homepage": "https://github.com/Evolution7/GruntUseminBund... | e7bda1207de3f9db40704611551483c553942745 | composer.json | composer.json | JSON |
<|file_sep|>icekit/bin/pip-install.sh.diff
original:
python -m pip install -r requirements.txt
updated:
pip install -r requirements.txt
<|file_sep|>original/icekit/bin/pip-install.sh
DIR="${1:-$PWD}"
mkdir -p "$DIR"
cd "$DIR"
if [[ -f requirements.txt ]]; then
if [[ ! -s requirements.txt.md5 ]] || ! md5sum --st... |
DIR="${1:-$PWD}"
mkdir -p "$DIR"
cd "$DIR"
if [[ -f requirements.txt ]]; then
if [[ ! -s requirements.txt.md5 ]] || ! md5sum --status -c requirements.txt.md5 > /dev/null 2>&1; then
echo "Python requirements in '$DIR' directory are out of date, 'requirements.txt' has been updated."
pip install -r requirements.tx... | <|file_sep|>icekit/bin/pip-install.sh.diff
original:
python -m pip install -r requirements.txt
updated:
pip install -r requirements.txt
<|file_sep|>original/icekit/bin/pip-install.sh
DIR="${1:-$PWD}"
mkdir -p "$DIR"
cd "$DIR"
if [[ -f requirements.txt ]]; then
if [[ ! -s requirements.txt.md5 ]] || ! md5sum --st... | 6cc4e1c42190895cee556c3e71219eb6dda1e953 | icekit/bin/pip-install.sh | icekit/bin/pip-install.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.