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/retz-inttest/src/test/resources/post_run.sh # limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out <|file_sep|>current/retz-inttest/src/test/resources/post_run.sh # limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out <|file_sep|>updated/retz-inttest/src/test/resources/post_run.sh
# limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER sh -c "/spawn_mesos_agent.sh && sleep 1" docker exec -it $RETZ_CONTAINER sh -c "/spawn_retz_server.sh && sleep 1" docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out
<|file_sep|>original/retz-inttest/src/test/resources/post_run.sh # limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out <|file_sep|>current/retz-inttest/src/test/resources/post_run.sh # limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER /spawn_mesos_agent.sh docker exec -it $RETZ_CONTAINER /spawn_retz_server.sh docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out <|file_sep|>updated/retz-inttest/src/test/resources/post_run.sh # limitations under the License. # set -e set -x RETZ_CONTAINER=$1 CURRENT=$(cd $(dirname $0) && pwd) docker exec -it $RETZ_CONTAINER sh -c "/spawn_mesos_agent.sh && sleep 1" docker exec -it $RETZ_CONTAINER sh -c "/spawn_retz_server.sh && sleep 1" docker exec -it $RETZ_CONTAINER ps awxx | egrep -E '(mesos-slave|mesos-master|retz)' ${CURRENT}/retz-client load-app -F file:///spawn_retz_server.sh -A echo ${CURRENT}/retz-client list-app ${CURRENT}/retz-client run -A echo -cmd 'echo HOGEEEEEEEEEEEEEEEEEE' -R ./out
f76743a704be30c1246a52ce7dc6b0d20fe7df4f
retz-inttest/src/test/resources/post_run.sh
retz-inttest/src/test/resources/post_run.sh
Shell
<|file_sep|>original/setup.cfg [bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [bdist_wheel] universal = 1 <|file_sep|>current/setup.cfg [bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [bdist_wheel] universal = 1 <|file_sep|>updated/setup.cfg
[bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [metadata] license_file = LICENSE [bdist_wheel] universal = 1
<|file_sep|>original/setup.cfg [bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [bdist_wheel] universal = 1 <|file_sep|>current/setup.cfg [bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [bdist_wheel] universal = 1 <|file_sep|>updated/setup.cfg [bumpversion] current_version = 1.0.0 commit = True tag = True [bumpversion:file:stix2elevator/version.py] [metadata] license_file = LICENSE [bdist_wheel] universal = 1
f3f8326f0d3a952acc5876f737ed9d7bf0f258ff
setup.cfg
setup.cfg
INI
<|file_sep|>docs/index.md.diff original: Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework updated: Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. <|file_sep|>original/docs/index.md Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) <|file_sep|>current/docs/index.md Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) <|file_sep|>updated/docs/index.md
Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) [django-website]: https://www.djangoproject.com/
<|file_sep|>docs/index.md.diff original: Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework updated: Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. <|file_sep|>original/docs/index.md Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at LuizaLabs to develop projects using the Django Framework This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) <|file_sep|>current/docs/index.md Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) <|file_sep|>updated/docs/index.md Welcome to Django Toolkit ========================= Django Toolkit is the set of useful tools we use at Luizalabs to develop projects using the [Django web framework][django-website]. This package includes the utility modules: * [logs](logs) * [middlewares](middlewares) * [shortcuts](shortcuts) [django-website]: https://www.djangoproject.com/
83b8f09731705bb13d745c282845c5c2c0963159
docs/index.md
docs/index.md
Markdown
<|file_sep|>original/package.json { "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT", "bugs": { <|file_sep|>current/package.json { "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT", "bugs": { <|file_sep|>updated/package.json
{ "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha", "coverage": "istanbul cover _mocha -- -R spec" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT",
<|file_sep|>original/package.json { "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT", "bugs": { <|file_sep|>current/package.json { "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT", "bugs": { <|file_sep|>updated/package.json { "name": "jitters", "version": "1.0.0", "description": "Coffee database API", "main": "index.js", "scripts": { "start": "node index.js", "dev": "nodemon index.js", "test": "mocha", "coverage": "istanbul cover _mocha -- -R spec" }, "repository": { "type": "git", "url": "git+https://github.com/Jitters-API/jitters.git" }, "keywords": [ "api", "coffee" ], "author": "The Jitters Team", "license": "MIT",
e754820b4e127d26321794b24a6fa81a8d066cbe
package.json
package.json
JSON
<|file_sep|>original/courses/paa/projects/papini-bani/README.md # Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true <|file_sep|>current/courses/paa/projects/papini-bani/README.md # Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true <|file_sep|>updated/courses/paa/projects/papini-bani/README.md
# Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true
<|file_sep|>original/courses/paa/projects/papini-bani/README.md # Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true <|file_sep|>current/courses/paa/projects/papini-bani/README.md # Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true <|file_sep|>updated/courses/paa/projects/papini-bani/README.md # Papini and Bani project This is the folder that contains project ideas and proposal for students Papini and Bani, in order to pass their PAA exam. The proposal can be read [here]. Their work is versioned at [GitHub], where there's a work-in-progress [notebook]. Event log: - **December 2015, 22**: make a proposal for the project: a study of the average number of checks in the standard Quicksort implementation, with the pivot is the right-most element. Also, a little discussion happen about difficulties and ideas. [here]:http://nbviewer.jupyter.org/github/massimo-nocentini/PhD/blob/master/courses/paa/projects/papini-bani/Papini%20and%20Bani%27s%20PAA%20Project%20proposal.ipynb?flush_cache=true [GitHub]:https://github.com/oddlord/progetto-paa [notebook]:http://nbviewer.jupyter.org/github/oddlord/progetto-paa/blob/master/Progetto%20PAA.ipynb?flush_cache=true
ca39f768670184671f1eeb82667cb10be49b335b
courses/paa/projects/papini-bani/README.md
courses/paa/projects/papini-bani/README.md
Markdown
<|file_sep|>SwiftyJSONModel/JSONTypes.swift.diff original: updated: extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } <|file_sep|>original/SwiftyJSONModel/JSONTypes.swift // // JSONTypes.swift // SwiftyJSONModel // // Created by Oleksii on 18/09/16. // Copyright © 2016 Oleksii Dykan. All rights reserved. // import Foundation import SwiftyJSON public protocol JSONInitializable { init(json: JSON) throws } public protocol JSONRepresantable { var jsonValue: JSON { get } } <|file_sep|>current/SwiftyJSONModel/JSONTypes.swift // SwiftyJSONModel // // Created by Oleksii on 18/09/16. // Copyright © 2016 Oleksii Dykan. All rights reserved. // import Foundation import SwiftyJSON public protocol JSONInitializable { init(json: JSON) throws } public protocol JSONRepresantable { var jsonValue: JSON { get } } extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } <|file_sep|>updated/SwiftyJSONModel/JSONTypes.swift
} public protocol JSONRepresantable { var jsonValue: JSON { get } } extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Bool: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Int: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Double: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } }
<|file_sep|>SwiftyJSONModel/JSONTypes.swift.diff original: updated: extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } <|file_sep|>original/SwiftyJSONModel/JSONTypes.swift // // JSONTypes.swift // SwiftyJSONModel // // Created by Oleksii on 18/09/16. // Copyright © 2016 Oleksii Dykan. All rights reserved. // import Foundation import SwiftyJSON public protocol JSONInitializable { init(json: JSON) throws } public protocol JSONRepresantable { var jsonValue: JSON { get } } <|file_sep|>current/SwiftyJSONModel/JSONTypes.swift // SwiftyJSONModel // // Created by Oleksii on 18/09/16. // Copyright © 2016 Oleksii Dykan. All rights reserved. // import Foundation import SwiftyJSON public protocol JSONInitializable { init(json: JSON) throws } public protocol JSONRepresantable { var jsonValue: JSON { get } } extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } <|file_sep|>updated/SwiftyJSONModel/JSONTypes.swift } public protocol JSONRepresantable { var jsonValue: JSON { get } } extension String: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Bool: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Int: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } } extension Double: JSONRepresantable { public var jsonValue: JSON { return JSON(self) } }
c5354a23e1cc3e4abc594298a5252a54044d5330
SwiftyJSONModel/JSONTypes.swift
SwiftyJSONModel/JSONTypes.swift
Swift
<|file_sep|>original/.travis.yml cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python: - "3.6" <|file_sep|>current/.travis.yml cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python: - "3.6" <|file_sep|>updated/.travis.yml
cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" - "3.8" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python:
<|file_sep|>original/.travis.yml cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python: - "3.6" <|file_sep|>current/.travis.yml cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python: - "3.6" <|file_sep|>updated/.travis.yml cache: pip env: - PYTHONHASHSEED=0 install: - make travis-setup python: - "2.7" - "3.5" - "3.6" - "3.7" - "3.8" # PyPy versions - "pypy2" - "pypy3" script: - make ci jobs: include: - stage: coverage python:
2f5252451b433070435457bb376374c4d22623c4
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/mongo_mapper/bson_id.rb.diff original: BSON::ObjectId self updated: BSON::ObjectID self <|file_sep|>original/lib/mongo_mapper/bson_id.rb class String def to_id BSON::ObjectId self end end class BSON::ObjectId def to_id self end end <|file_sep|>current/lib/mongo_mapper/bson_id.rb class String def to_id BSON::ObjectID self end end class BSON::ObjectId def to_id self end end <|file_sep|>updated/lib/mongo_mapper/bson_id.rb
class String def to_id BSON::ObjectID self end end class BSON::ObjectID def to_id self end end
<|file_sep|>lib/mongo_mapper/bson_id.rb.diff original: BSON::ObjectId self updated: BSON::ObjectID self <|file_sep|>original/lib/mongo_mapper/bson_id.rb class String def to_id BSON::ObjectId self end end class BSON::ObjectId def to_id self end end <|file_sep|>current/lib/mongo_mapper/bson_id.rb class String def to_id BSON::ObjectID self end end class BSON::ObjectId def to_id self end end <|file_sep|>updated/lib/mongo_mapper/bson_id.rb class String def to_id BSON::ObjectID self end end class BSON::ObjectID def to_id self end end
f76c4bd39027cc3671a4ac3a9d93626d2177bc00
lib/mongo_mapper/bson_id.rb
lib/mongo_mapper/bson_id.rb
Ruby
<|file_sep|>original/src/solarized-css/partials/elements.styl background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em code background-color: $hl padding: 2px a color: $blue a:visited color: $orange <|file_sep|>current/src/solarized-css/partials/elements.styl background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em code background-color: $hl padding: 2px a color: $blue a:visited color: $orange <|file_sep|>updated/src/solarized-css/partials/elements.styl
background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em text-align: justify code background-color: $hl padding: 2px a color: $blue a:visited color: $orange
<|file_sep|>original/src/solarized-css/partials/elements.styl background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em code background-color: $hl padding: 2px a color: $blue a:visited color: $orange <|file_sep|>current/src/solarized-css/partials/elements.styl background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em code background-color: $hl padding: 2px a color: $blue a:visited color: $orange <|file_sep|>updated/src/solarized-css/partials/elements.styl background-color: $hl color: $fg margin: 1em body background-color: $bg margin: 0 auto max-width: 23cm border: 1pt solid $comment padding: 1em text-align: justify code background-color: $hl padding: 2px a color: $blue a:visited color: $orange
75072bdad2508d07c37d4a6137f19b5a2ef861fc
src/solarized-css/partials/elements.styl
src/solarized-css/partials/elements.styl
Stylus
<|file_sep|>test/runtests.sh.diff original: ../test/test_http.py" updated: ../test/test_http.py \ ../test/test_commands.py" <|file_sep|>original/test/runtests.sh source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up # <|file_sep|>current/test/runtests.sh # source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up <|file_sep|>updated/test/runtests.sh
# source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko requests # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up
<|file_sep|>test/runtests.sh.diff original: ../test/test_http.py" updated: ../test/test_http.py \ ../test/test_commands.py" <|file_sep|>original/test/runtests.sh source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up # <|file_sep|>current/test/runtests.sh # source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up <|file_sep|>updated/test/runtests.sh # source /usr/local/bin/virtualenvwrapper.sh # Make a virtual environment to install new pips # mkvirtualenv CVtests # Upgrade pip and install pips # pip install --upgrade pip pip install testinfra paramiko requests # Bring up VM ready to run tests and save ssh key for testinfra # (cd ${DIRNAME}/../vagrant && vagrant up wicksycv --provision && vagrant ssh-config wicksycv > wicksycv-sshkey) # Run tests # (cd ${DIRNAME}/../vagrant && testinfra -v --hosts=wicksycv --ssh-config=./wicksycv-sshkey ${tests}) # Exit from the virtual environment and clean it up
94a9cb7712d1ee3183d1208ebd8239c7768bff4b
test/runtests.sh
test/runtests.sh
Shell
<|file_sep|>original/foodr-backend/db/migrate/20170729002122_create_ingredients.rb class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.string :type t.string :img_url t.timestamps end end end <|file_sep|>current/foodr-backend/db/migrate/20170729002122_create_ingredients.rb class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.string :type t.string :img_url t.timestamps end end end <|file_sep|>updated/foodr-backend/db/migrate/20170729002122_create_ingredients.rb
class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.boolean :is_natural t.string :img_url t.timestamps end end end
<|file_sep|>original/foodr-backend/db/migrate/20170729002122_create_ingredients.rb class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.string :type t.string :img_url t.timestamps end end end <|file_sep|>current/foodr-backend/db/migrate/20170729002122_create_ingredients.rb class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.string :type t.string :img_url t.timestamps end end end <|file_sep|>updated/foodr-backend/db/migrate/20170729002122_create_ingredients.rb class CreateIngredients < ActiveRecord::Migration[5.1] def change create_table :ingredients do |t| t.string :name t.text :description t.boolean :is_natural t.string :img_url t.timestamps end end end
e423a6558d6ed7d23a32323ffa0154afeade4234
foodr-backend/db/migrate/20170729002122_create_ingredients.rb
foodr-backend/db/migrate/20170729002122_create_ingredients.rb
Ruby
<|file_sep|>phased/__init__.py.diff original: updated: from django.utils.hashcompat import sha_constructor <|file_sep|>original/phased/__init__.py from django.conf import settings def generate_secret_delimiter(): try: from hashlib import sha1 except ImportError: from sha import sha as sha1 return sha1(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter()) <|file_sep|>current/phased/__init__.py from django.conf import settings from django.utils.hashcompat import sha_constructor def generate_secret_delimiter(): try: from hashlib import sha1 except ImportError: from sha import sha as sha1 return sha1(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter()) <|file_sep|>updated/phased/__init__.py
from django.conf import settings from django.utils.hashcompat import sha_constructor def generate_secret_delimiter(): return sha_constructor(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter())
<|file_sep|>phased/__init__.py.diff original: updated: from django.utils.hashcompat import sha_constructor <|file_sep|>original/phased/__init__.py from django.conf import settings def generate_secret_delimiter(): try: from hashlib import sha1 except ImportError: from sha import sha as sha1 return sha1(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter()) <|file_sep|>current/phased/__init__.py from django.conf import settings from django.utils.hashcompat import sha_constructor def generate_secret_delimiter(): try: from hashlib import sha1 except ImportError: from sha import sha as sha1 return sha1(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter()) <|file_sep|>updated/phased/__init__.py from django.conf import settings from django.utils.hashcompat import sha_constructor def generate_secret_delimiter(): return sha_constructor(getattr(settings, 'SECRET_KEY', '')).hexdigest() LITERAL_DELIMITER = getattr(settings, 'LITERAL_DELIMITER', generate_secret_delimiter())
029a159fe3f920d59e0168af72177b343daa4256
phased/__init__.py
phased/__init__.py
Python
<|file_sep|>original/features/product/viewing_products/viewing_products_form_specific_taxon.feature <|file_sep|>current/features/product/viewing_products/viewing_products_form_specific_taxon.feature <|file_sep|>updated/features/product/viewing_products/viewing_products_form_specific_taxon.feature
@viewing_products Feature: Viewing products from a specific taxon In order to see products from a specific taxon As a Visitor I want to be able to view products from a selected taxon Background: Given the store has currency "Euro" And the store operates on a channel named "Poland" And this channel has currency "Euro" And this channel host is "localhost" And the store operates on another channel named "France" And this channel has currency "Euro" And this channel host is "localhost" And the store classifies its products as "T-Shirts" and "Funny" And the store has a product "T-Shirt Banana" available in "Poland" channel And this product belongs to "T-Shirts" And this product belongs to "Funny" And the store has a product "Plastic Tomato" available in "Poland" channel And this product belongs to "Funny" And the store has a product "T-Shirt Batman" available in "France" channel
<|file_sep|>original/features/product/viewing_products/viewing_products_form_specific_taxon.feature <|file_sep|>current/features/product/viewing_products/viewing_products_form_specific_taxon.feature <|file_sep|>updated/features/product/viewing_products/viewing_products_form_specific_taxon.feature @viewing_products Feature: Viewing products from a specific taxon In order to see products from a specific taxon As a Visitor I want to be able to view products from a selected taxon Background: Given the store has currency "Euro" And the store operates on a channel named "Poland" And this channel has currency "Euro" And this channel host is "localhost" And the store operates on another channel named "France" And this channel has currency "Euro" And this channel host is "localhost" And the store classifies its products as "T-Shirts" and "Funny" And the store has a product "T-Shirt Banana" available in "Poland" channel And this product belongs to "T-Shirts" And this product belongs to "Funny" And the store has a product "Plastic Tomato" available in "Poland" channel And this product belongs to "Funny" And the store has a product "T-Shirt Batman" available in "France" channel
9eb579530a45b8af5a76d47d7066c81b4a409061
features/product/viewing_products/viewing_products_form_specific_taxon.feature
features/product/viewing_products/viewing_products_form_specific_taxon.feature
Cucumber
<|file_sep|>original/functions.php $includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); } <|file_sep|>current/functions.php $includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); } <|file_sep|>updated/functions.php
$includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt.php', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); }
<|file_sep|>original/functions.php $includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); } <|file_sep|>current/functions.php $includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); } <|file_sep|>updated/functions.php $includes = array( 'checks.php', // Set up options 'styles.php', // Enqueue our styles 'scripts.php', // Enqueue our scripts 'sidebars.php', // Set up our sidebar 'agi-excerpt.php', // Special excerpt so that includes a read more button 'agi-options-page.php', // Create our options page - Settings => AGI Options 'do-shortcode-widget.php', // Create a widget to do a single shortcode 'menus.php', // Set up our menus 'paging-nav.php', // Set up our paging nav 'theme-features.php', // Set up our theme features 'testimonials-cpt.php', // Set up our Testimonials Custom Post Type 'wp_bootstrap_navwalker.php', // Set up our Custom Walker for Bootstrap 3.x for wp_nav_menu() 'prevent-image-size-attr.php' // Prevent WP from adding Height and Width to images ); $prefix = 'inc/'; foreach($includes as $include) { require_once($prefix . $include); }
9f1e3cfba97c21da5e519b6d7d17e52cce1c7da8
functions.php
functions.php
PHP
<|file_sep|>original/docker/notes.md <|file_sep|>current/docker/notes.md <|file_sep|>updated/docker/notes.md
# Notes on Docker. ## Useful links: [docker docs storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/) [storage driver deep dive](https://integratedcode.us/2016/08/30/storage-drivers-in-docker-a-deep-dive/)
<|file_sep|>original/docker/notes.md <|file_sep|>current/docker/notes.md <|file_sep|>updated/docker/notes.md # Notes on Docker. ## Useful links: [docker docs storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/) [storage driver deep dive](https://integratedcode.us/2016/08/30/storage-drivers-in-docker-a-deep-dive/)
170d18ad07711cac5604e3940d6750be8cf14410
docker/notes.md
docker/notes.md
Markdown
<|file_sep|>original/.codecov.yml coverage: status: project: default: target: 75% threshold: null base: auto comment: false <|file_sep|>current/.codecov.yml coverage: status: project: default: target: 75% threshold: null base: auto comment: false <|file_sep|>updated/.codecov.yml
coverage: status: project: default: target: auto threshold: null base: auto comment: false
<|file_sep|>original/.codecov.yml coverage: status: project: default: target: 75% threshold: null base: auto comment: false <|file_sep|>current/.codecov.yml coverage: status: project: default: target: 75% threshold: null base: auto comment: false <|file_sep|>updated/.codecov.yml coverage: status: project: default: target: auto threshold: null base: auto comment: false
b0351e224ffc29ee49ad74d41fb8ca122bfb7d1e
.codecov.yml
.codecov.yml
YAML
<|file_sep|>original/moksha/widgetbrowser/setup.cfg [aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage [egg_info] tag_build = dev tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true <|file_sep|>current/moksha/widgetbrowser/setup.cfg [aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage [egg_info] tag_build = dev tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true <|file_sep|>updated/moksha/widgetbrowser/setup.cfg
[aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage #[egg_info] #tag_build = dev #tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true
<|file_sep|>original/moksha/widgetbrowser/setup.cfg [aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage [egg_info] tag_build = dev tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true <|file_sep|>current/moksha/widgetbrowser/setup.cfg [aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage [egg_info] tag_build = dev tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true <|file_sep|>updated/moksha/widgetbrowser/setup.cfg [aliases] release = egg_info -RDb "" sdist bdist_egg register upload test = nosetests cover = nosetests --with-coverage #[egg_info] #tag_build = dev #tag_date = true [nosetests] with-coverage = false cover-package = widgetbrowser doctest-extension = .txt with-doctest = true
9f176f9eddd588d031ca7d7903c58c29a6142f8e
moksha/widgetbrowser/setup.cfg
moksha/widgetbrowser/setup.cfg
INI
<|file_sep|>original/package.json ], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test": "eslint ." }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0", "eslint-plugin-react": "^6.9.0", "prettier": "^0.15.0" <|file_sep|>current/package.json ], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test": "eslint ." }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0", "eslint-plugin-react": "^6.9.0", "prettier": "^0.15.0" <|file_sep|>updated/package.json
], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test-cli-sanity": "eslint --print-config .eslintrc.js | ./cli.js", "test-lint": "eslint .", "test": "npm run test-lint && npm run test-cli-sanity" }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0",
<|file_sep|>original/package.json ], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test": "eslint ." }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0", "eslint-plugin-react": "^6.9.0", "prettier": "^0.15.0" <|file_sep|>current/package.json ], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test": "eslint ." }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0", "eslint-plugin-react": "^6.9.0", "prettier": "^0.15.0" <|file_sep|>updated/package.json ], "bin": { "eslint-config-prettier-check": "cli.js" }, "keywords": [ "eslint", "eslintconfig", "prettier" ], "scripts": { "test-cli-sanity": "eslint --print-config .eslintrc.js | ./cli.js", "test-lint": "eslint .", "test": "npm run test-lint && npm run test-cli-sanity" }, "dependencies": { "get-stdin": "^5.0.1" }, "devDependencies": { "eslint": ">=3.14.1", "eslint-config-google": "^0.7.1", "eslint-plugin-prettier": "^2.0.0",
3685af3b7520bff21fd4eecab2047b7f73605a49
package.json
package.json
JSON
<|file_sep|>original/ulib/fs/io.fs module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) = let x = fd.ReadLine() in if x=null <|file_sep|>current/ulib/fs/io.fs module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) = let x = fd.ReadLine() in if x=null <|file_sep|>updated/ulib/fs/io.fs
module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_uint32 x = Printf.printf "%.04x" x let print_uint64 x = Printf.printf "%.08x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) =
<|file_sep|>original/ulib/fs/io.fs module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) = let x = fd.ReadLine() in if x=null <|file_sep|>current/ulib/fs/io.fs module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) = let x = fd.ReadLine() in if x=null <|file_sep|>updated/ulib/fs/io.fs module FStar.IO exception EOF open System open System.IO type fd_read = TextReader type fd_write = TextWriter let print_newline _ = Printf.printf "\n" let print_string x = Printf.printf "%s" x let print_uint8 x = Printf.printf "%.02x" x let print_uint32 x = Printf.printf "%.04x" x let print_uint64 x = Printf.printf "%.08x" x let print_any x = Printf.printf "%A" x let input_line () = System.Console.ReadLine() let input_int () = Int32.Parse(System.Console.ReadLine()) let input_float () = Single.Parse(System.Console.ReadLine(), System.Globalization.CultureInfo.InvariantCulture); let open_read_file (x:string) = new StreamReader(x) let open_write_file (x:string) = File.CreateText(x) let close_read_file (x:fd_read) = x.Close() let close_write_file (x:fd_write) = x.Close() let read_line (fd:fd_read) =
2061be164926fbf019e27d2dceab8e9d5a5b9cbd
ulib/fs/io.fs
ulib/fs/io.fs
F#
<|file_sep|>original/.github/workflows/ci.yml runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup deno uses: denolib/setup-deno@v2 with: deno-version: v1.16.0 - name: Build gh-pages run: | deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public <|file_sep|>current/.github/workflows/ci.yml runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup deno uses: denolib/setup-deno@v2 with: deno-version: v1.16.0 - name: Build gh-pages run: | deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public <|file_sep|>updated/.github/workflows/ci.yml
deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public - name: Get tag version if: startsWith(github.ref, 'refs/tags/') id: get_tag_version run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//} - uses: actions/setup-node@v2 with: node-version: '16.x' registry-url: 'https://registry.npmjs.org'
<|file_sep|>original/.github/workflows/ci.yml runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup deno uses: denolib/setup-deno@v2 with: deno-version: v1.16.0 - name: Build gh-pages run: | deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public <|file_sep|>current/.github/workflows/ci.yml runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Setup deno uses: denolib/setup-deno@v2 with: deno-version: v1.16.0 - name: Build gh-pages run: | deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public <|file_sep|>updated/.github/workflows/ci.yml deno --version deno install -qAn vr https://deno.land/x/velociraptor@1.3.0/cli.ts vr install:gustwind vr build:site - name: Deploy gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public - name: Get tag version if: startsWith(github.ref, 'refs/tags/') id: get_tag_version run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//} - uses: actions/setup-node@v2 with: node-version: '16.x' registry-url: 'https://registry.npmjs.org'
18b1f199d359c13418a8d7568a217b522e418db4
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff original: my_exports[entry.name] = true; updated: my_exports[entry.name] = entry.kind; <|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff original: if (my_exports.foo === undefined) updated: if (my_exports.foo != "function") <|file_sep|>original/src/test/run-make/wasm-export-all-symbols/verify.js for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = true; } if (my_exports.foo === undefined) throw new Error("`foo` wasn't defined"); if (my_exports.FOO === undefined) throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); } <|file_sep|>current/src/test/run-make/wasm-export-all-symbols/verify.js for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = entry.kind; } if (my_exports.foo != "function") throw new Error("`foo` wasn't defined"); if (my_exports.FOO === undefined) throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); } <|file_sep|>updated/src/test/run-make/wasm-export-all-symbols/verify.js
for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = entry.kind; } if (my_exports.foo != "function") throw new Error("`foo` wasn't defined"); if (my_exports.FOO != "global") throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); }
<|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff original: my_exports[entry.name] = true; updated: my_exports[entry.name] = entry.kind; <|file_sep|>src/test/run-make/wasm-export-all-symbols/verify.js.diff original: if (my_exports.foo === undefined) updated: if (my_exports.foo != "function") <|file_sep|>original/src/test/run-make/wasm-export-all-symbols/verify.js for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = true; } if (my_exports.foo === undefined) throw new Error("`foo` wasn't defined"); if (my_exports.FOO === undefined) throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); } <|file_sep|>current/src/test/run-make/wasm-export-all-symbols/verify.js for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = entry.kind; } if (my_exports.foo != "function") throw new Error("`foo` wasn't defined"); if (my_exports.FOO === undefined) throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); } <|file_sep|>updated/src/test/run-make/wasm-export-all-symbols/verify.js for (const entry of list) { if (entry.kind == 'function'){ nexports += 1; } my_exports[entry.name] = entry.kind; } if (my_exports.foo != "function") throw new Error("`foo` wasn't defined"); if (my_exports.FOO != "global") throw new Error("`FOO` wasn't defined"); if (my_exports.main === undefined) { if (nexports != 1) throw new Error("should only have one function export"); } else { if (nexports != 2) throw new Error("should only have two function exports"); }
f1fb384cd62dc13d0b4647c9f988f6f46cbf4b6f
src/test/run-make/wasm-export-all-symbols/verify.js
src/test/run-make/wasm-export-all-symbols/verify.js
JavaScript
<|file_sep|>original/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [ <|file_sep|>current/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [ <|file_sep|>updated/Casks/razer-synapse.rb
cask :v1 => 'razer-synapse' do version '1.45' sha256 '4b4368bf5f90cb94667a60a120d49b9073329ba6d9efcd4f5108cf709bfe8115' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [
<|file_sep|>original/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [ <|file_sep|>current/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.44' sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [ <|file_sep|>updated/Casks/razer-synapse.rb cask :v1 => 'razer-synapse' do version '1.45' sha256 '4b4368bf5f90cb94667a60a120d49b9073329ba6d9efcd4f5108cf709bfe8115' # amazonaws.com is the official download host per the vendor homepage url "https://razerdrivers.s3.amazonaws.com/drivers/Synapse2/mac/Razer_Synapse_Mac_Driver_v#{version}.dmg" name 'Razer Synapse' homepage 'http://www.razerzone.com/synapse/' license :gratis pkg 'Razer Synapse.pkg' depends_on :macos => '>= :lion' uninstall :script => '/Applications/Utilities/Uninstall Razer Synapse.app/Contents/MacOS/Uninstall Razer Synapse', :pkgutil => 'com.razerzone.*', :quit => [ 'com.razerzone.RzUpdater', 'com.razerzone.rzdeviceengine' ], :launchctl => [
89033d13a83810be95d3da3321067c1b35ffd1ad
Casks/razer-synapse.rb
Casks/razer-synapse.rb
Ruby
<|file_sep|>usr.sbin/ctm/ctm/Makefile.diff original: # $Id$ updated: # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ <|file_sep|>original/usr.sbin/ctm/ctm/Makefile # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id$ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk> <|file_sep|>current/usr.sbin/ctm/ctm/Makefile # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk> <|file_sep|>updated/usr.sbin/ctm/ctm/Makefile
# # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall BINDIR= /usr/sbin .include <bsd.prog.mk>
<|file_sep|>usr.sbin/ctm/ctm/Makefile.diff original: # $Id$ updated: # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ <|file_sep|>original/usr.sbin/ctm/ctm/Makefile # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id$ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk> <|file_sep|>current/usr.sbin/ctm/ctm/Makefile # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk> <|file_sep|>updated/usr.sbin/ctm/ctm/Makefile # # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # <phk@login.dknet.dk> wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp # ---------------------------------------------------------------------------- # # $Id: Makefile,v 1.3 1994/09/21 04:38:26 phk Exp $ # PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall BINDIR= /usr/sbin .include <bsd.prog.mk>
82651822bc230361c929a5a06142eeb38dbfb98f
usr.sbin/ctm/ctm/Makefile
usr.sbin/ctm/ctm/Makefile
unknown
<|file_sep|>original/app/templates/views/api/callbacks/delivery-status-callback.html <div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token, <|file_sep|>current/app/templates/views/api/callbacks/delivery-status-callback.html <div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token, <|file_sep|>updated/app/templates/views/api/callbacks/delivery-status-callback.html
<div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">API documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token,
<|file_sep|>original/app/templates/views/api/callbacks/delivery-status-callback.html <div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token, <|file_sep|>current/app/templates/views/api/callbacks/delivery-status-callback.html <div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token, <|file_sep|>updated/app/templates/views/api/callbacks/delivery-status-callback.html <div class="grid-row"> <div class="column-five-sixths"> {{ page_header( 'Callbacks for delivery receipts', back_link=url_for(back_link, service_id=current_service.id) ) }} <p> When you send an email or text message, we can tell you if Notify was able to deliver it. Read the Callbacks section of the <a href="{{ url_for('main.documentation') }}">API documentation</a> for more information. </p> {% call form_wrapper() %} {{ textbox( form.url, width='1-1', hint='Must start with https://' ) }} {{ textbox( form.bearer_token,
9e79f5bd750d751e928e60d0f4dfe13758fbcc5f
app/templates/views/api/callbacks/delivery-status-callback.html
app/templates/views/api/callbacks/delivery-status-callback.html
HTML
<|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: class LandExploredNotification extends Notification updated: class LandExploredNotification extends Notification implements ShouldQueue <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: use Queueable; /** @var array */ <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: /** * LandExploredNotification constructor. * * @param array $data */ <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: /** * Get the notification's delivery channels. * * @param Dominion $dominion * @return array */ <|file_sep|>original/src/Notifications/Dominion/LandExploredNotification.php $this->data = $data; } public function via(Dominion $dominion): array { return ['database']; } public function toArray(Dominion $dominion): array { $acres = array_sum($this->data); return [ 'message' => sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ), ]; } } <|file_sep|>current/src/Notifications/Dominion/LandExploredNotification.php ->line('Hello ' . $dominion->user->display_name . '!') ->line($this->getMessage()) ->action('View exploration page', route('dominion.explore')) ->line('You are receiving this email because you have turned on email notifications for completing land exploration.') ->line('To unsubscribe, please update your notification settings at: ' . route('settings')) ->salutation('-OpenDominion'); } protected function getMessage(): string { $acres = array_sum($this->data); return [ 'message' => sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ), ]; } } <|file_sep|>updated/src/Notifications/Dominion/LandExploredNotification.php
->subject('[OD] Land Exploration Completed') ->greeting('Land Exploration Completed') ->line('Hello ' . $dominion->user->display_name . '!') ->line($this->getMessage()) ->action('View exploration page', route('dominion.explore')) ->line('You are receiving this email because you have turned on email notifications for completing land exploration.') ->line('To unsubscribe, please update your notification settings at: ' . route('settings')) ->salutation('-OpenDominion'); } protected function getMessage(): string { $acres = array_sum($this->data); return sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ); } }
<|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: class LandExploredNotification extends Notification updated: class LandExploredNotification extends Notification implements ShouldQueue <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: use Queueable; /** @var array */ <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: /** * LandExploredNotification constructor. * * @param array $data */ <|file_sep|>src/Notifications/Dominion/LandExploredNotification.php.diff original: updated: /** * Get the notification's delivery channels. * * @param Dominion $dominion * @return array */ <|file_sep|>original/src/Notifications/Dominion/LandExploredNotification.php $this->data = $data; } public function via(Dominion $dominion): array { return ['database']; } public function toArray(Dominion $dominion): array { $acres = array_sum($this->data); return [ 'message' => sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ), ]; } } <|file_sep|>current/src/Notifications/Dominion/LandExploredNotification.php ->line('Hello ' . $dominion->user->display_name . '!') ->line($this->getMessage()) ->action('View exploration page', route('dominion.explore')) ->line('You are receiving this email because you have turned on email notifications for completing land exploration.') ->line('To unsubscribe, please update your notification settings at: ' . route('settings')) ->salutation('-OpenDominion'); } protected function getMessage(): string { $acres = array_sum($this->data); return [ 'message' => sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ), ]; } } <|file_sep|>updated/src/Notifications/Dominion/LandExploredNotification.php ->subject('[OD] Land Exploration Completed') ->greeting('Land Exploration Completed') ->line('Hello ' . $dominion->user->display_name . '!') ->line($this->getMessage()) ->action('View exploration page', route('dominion.explore')) ->line('You are receiving this email because you have turned on email notifications for completing land exploration.') ->line('To unsubscribe, please update your notification settings at: ' . route('settings')) ->salutation('-OpenDominion'); } protected function getMessage(): string { $acres = array_sum($this->data); return sprintf( 'Exploration of %s %s of land completed.', number_format($acres), str_plural('acre', $acres) ); } }
d9c77f398de19327276700b8739d3c871443b723
src/Notifications/Dominion/LandExploredNotification.php
src/Notifications/Dominion/LandExploredNotification.php
PHP
<|file_sep|>original/lib/tasks/2017_08_01_clean_assign_to.rake <|file_sep|>current/lib/tasks/2017_08_01_clean_assign_to.rake <|file_sep|>updated/lib/tasks/2017_08_01_clean_assign_to.rake
namespace :'2017_08_01_clean_assign_to' do task clean: :environment do duplicates = AssignTo.group(:gestionnaire_id, :procedure_id).count.select{ |_gestionnaire_id_procedure_id, count| count > 1 }.keys duplicate_ids = duplicates.map { |gestionnaire_id, procedure_id| AssignTo.where(gestionnaire_id: gestionnaire_id, procedure_id: procedure_id).pluck(:id) } duplicate_ids.each do |ids| ids.pop AssignTo.where(id: ids).destroy_all end end end
<|file_sep|>original/lib/tasks/2017_08_01_clean_assign_to.rake <|file_sep|>current/lib/tasks/2017_08_01_clean_assign_to.rake <|file_sep|>updated/lib/tasks/2017_08_01_clean_assign_to.rake namespace :'2017_08_01_clean_assign_to' do task clean: :environment do duplicates = AssignTo.group(:gestionnaire_id, :procedure_id).count.select{ |_gestionnaire_id_procedure_id, count| count > 1 }.keys duplicate_ids = duplicates.map { |gestionnaire_id, procedure_id| AssignTo.where(gestionnaire_id: gestionnaire_id, procedure_id: procedure_id).pluck(:id) } duplicate_ids.each do |ids| ids.pop AssignTo.where(id: ids).destroy_all end end end
7fdcc91e0c4dcaa440d2ef11c34e28051dcc9911
lib/tasks/2017_08_01_clean_assign_to.rake
lib/tasks/2017_08_01_clean_assign_to.rake
Ruby
<|file_sep|>original/dimples.gemspec Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'LICENSE' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7' <|file_sep|>current/dimples.gemspec Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'LICENSE' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7' <|file_sep|>updated/dimples.gemspec
Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'MIT' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7'
<|file_sep|>original/dimples.gemspec Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'LICENSE' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7' <|file_sep|>current/dimples.gemspec Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'LICENSE' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7' <|file_sep|>updated/dimples.gemspec Gem::Specification.new do |s| s.name = 'dimples' s.version = Dimples::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Daniel Bogan'] s.email = ['d+dimples@waferbaby.com'] s.homepage = 'http://github.com/waferbaby/dimples' s.summary = 'A basic static site generator' s.description = 'A very, very, very simple gem for building static websites.' s.license = 'MIT' s.files = Dir.glob('lib/**/*') s.require_path = 'lib' s.add_dependency 'tilt', '~> 2.0' s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'minitest', '~> 5.8' s.add_development_dependency 'redcarpet', '~> 3.3' s.add_development_dependency 'erubis', '~> 2.7'
bb84025e96d6b9b43e180b08b300a2b40d9a694e
dimples.gemspec
dimples.gemspec
Ruby
<|file_sep|>original/Documentation/devicetree/bindings/mips/ath79-soc.txt <|file_sep|>current/Documentation/devicetree/bindings/mips/ath79-soc.txt <|file_sep|>updated/Documentation/devicetree/bindings/mips/ath79-soc.txt
Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC Each device tree must specify a compatible value for the AR SoC it uses in the compatible property of the root node. The compatible value must be one of the following values: - qca,ar7130 - qca,ar7141 - qca,ar7161 - qca,ar7240 - qca,ar7241 - qca,ar7242 - qca,ar9130 - qca,ar9132 - qca,ar9330 - qca,ar9331 - qca,ar9341 - qca,ar9342 - qca,ar9344 - qca,qca9556 - qca,qca9558
<|file_sep|>original/Documentation/devicetree/bindings/mips/ath79-soc.txt <|file_sep|>current/Documentation/devicetree/bindings/mips/ath79-soc.txt <|file_sep|>updated/Documentation/devicetree/bindings/mips/ath79-soc.txt Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC Each device tree must specify a compatible value for the AR SoC it uses in the compatible property of the root node. The compatible value must be one of the following values: - qca,ar7130 - qca,ar7141 - qca,ar7161 - qca,ar7240 - qca,ar7241 - qca,ar7242 - qca,ar9130 - qca,ar9132 - qca,ar9330 - qca,ar9331 - qca,ar9341 - qca,ar9342 - qca,ar9344 - qca,qca9556 - qca,qca9558
fe41b466f9f4c45b3368dee4a50d7c77ae7f37f9
Documentation/devicetree/bindings/mips/ath79-soc.txt
Documentation/devicetree/bindings/mips/ath79-soc.txt
Text
<|file_sep|>src/test/groovy/com/demo/ControllerFunctionalTest.groovy.diff original: def client = new RESTClient("http://localhost:8080/") updated: def host = getHost(); def client = new RESTClient("http://${host}:8080/") <|file_sep|>original/src/test/groovy/com/demo/ControllerFunctionalTest.groovy class ControllerFunctionalTest extends Specification { @Unroll def "Should return 200 & some json"() { setup: def client = new RESTClient("http://localhost:8080/") when: def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } } <|file_sep|>current/src/test/groovy/com/demo/ControllerFunctionalTest.groovy class ControllerFunctionalTest extends Specification { @Unroll def "Should return 200 & some json"() { setup: def host = getHost(); def client = new RESTClient("http://${host}:8080/") when: def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } } <|file_sep|>updated/src/test/groovy/com/demo/ControllerFunctionalTest.groovy
def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } private String getHost(String host) { if (System.getProperty('HOST') == null) { host = "localhost"; } else { host = System.getProperty('HOST') } host } }
<|file_sep|>src/test/groovy/com/demo/ControllerFunctionalTest.groovy.diff original: def client = new RESTClient("http://localhost:8080/") updated: def host = getHost(); def client = new RESTClient("http://${host}:8080/") <|file_sep|>original/src/test/groovy/com/demo/ControllerFunctionalTest.groovy class ControllerFunctionalTest extends Specification { @Unroll def "Should return 200 & some json"() { setup: def client = new RESTClient("http://localhost:8080/") when: def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } } <|file_sep|>current/src/test/groovy/com/demo/ControllerFunctionalTest.groovy class ControllerFunctionalTest extends Specification { @Unroll def "Should return 200 & some json"() { setup: def host = getHost(); def client = new RESTClient("http://${host}:8080/") when: def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } } <|file_sep|>updated/src/test/groovy/com/demo/ControllerFunctionalTest.groovy def resp = client.get(path: '/items') then: resp.data.size > 0 resp.data[0].name == "a" resp.data[1].name == "b" resp.status == 200 resp.contentType == "application/json" } private String getHost(String host) { if (System.getProperty('HOST') == null) { host = "localhost"; } else { host = System.getProperty('HOST') } host } }
6f20d40bc6c7a304d820f11bd37184cc041f0d07
src/test/groovy/com/demo/ControllerFunctionalTest.groovy
src/test/groovy/com/demo/ControllerFunctionalTest.groovy
Groovy
<|file_sep|>original/test/helpers/auth_helper.rb module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) user.extend_authentication_token(true) user.auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first) # Passed in an id instead of a user model? Find the user model from User.find user = User.find(user) if user.is_a? Integer <|file_sep|>current/test/helpers/auth_helper.rb module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) user.extend_authentication_token(true) user.auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first) # Passed in an id instead of a user model? Find the user model from User.find user = User.find(user) if user.is_a? Integer <|file_sep|>updated/test/helpers/auth_helper.rb
module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) token = user.valid_auth_tokens().first return token.auth_token unless token.nil? return user.generate_authentication_token!().auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first)
<|file_sep|>original/test/helpers/auth_helper.rb module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) user.extend_authentication_token(true) user.auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first) # Passed in an id instead of a user model? Find the user model from User.find user = User.find(user) if user.is_a? Integer <|file_sep|>current/test/helpers/auth_helper.rb module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) user.extend_authentication_token(true) user.auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first) # Passed in an id instead of a user model? Find the user model from User.find user = User.find(user) if user.is_a? Integer <|file_sep|>updated/test/helpers/auth_helper.rb module TestHelpers # # Authentication test helper # module AuthHelper # # Gets an auth token for the provided user # def auth_token(user = User.first) token = user.valid_auth_tokens().first return token.auth_token unless token.nil? return user.generate_authentication_token!().auth_token end # # Adds an authentication token to the hash data or string URL # This prevents us from having to keep adding the :auth_token # key to any GET/POST/PUT etc. data that is needed # def add_auth_token(data, user = User.first)
add56ccbfee17074d664c4741b363e46c64fb076
test/helpers/auth_helper.rb
test/helpers/auth_helper.rb
Ruby
<|file_sep|>original/README.md # DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` <|file_sep|>current/README.md # DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` <|file_sep|>updated/README.md
# DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` ### Run
<|file_sep|>original/README.md # DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` <|file_sep|>current/README.md # DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` <|file_sep|>updated/README.md # DNS config for NSQD Dynamically configure `nsqd` or `nsqadmin` with IP addresses from DNS A-record. Read more about [NSQD dynamic service discovery with DNS records](http://www.hward.com/nsqd-service-discovery-with-dns-records/). ### Set up 1. Create a private zone in AWS Route 53 2. Create a Record Set with an address 3. Add an A record w/ a list of IP's for `nsqlookupd` Note: Step 3 should be automated. When `nsqlookupd` boots the IP should be automatcially added to the above A record. ### Command Line Options ``` -config-http-address=: <addr>:<port> of the HTTP config endpoint -lookupd-dns-address=: <addr> of DNS A record that provides nsqlookupd IP Addresses -lookupd-tcp-port=4160: <port> of nsqlookupd TCP address ``` ### Run
b4584d7a901e9eb3c144f7d8b9f407f8728a3d20
README.md
README.md
Markdown
<|file_sep|>web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp.diff original: String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName; updated: String objectKey = "object." + propertyName; String propertyLabel = propertyName; <|file_sep|>original/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp <%@ page import="woko.Woko" %> <%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=owningClassAsKey%>"/> </span> </span> <|file_sep|>current/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp <%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String objectKey = "object." + propertyName; String propertyLabel = propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=owningClassAsKey%>"/> </span> </span> <|file_sep|>updated/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp
<%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String objectKey = "object." + propertyName; String propertyLabel = propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=objectKey%>"><%=propertyLabel%></s:label> </span> </span>
<|file_sep|>web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp.diff original: String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName; updated: String objectKey = "object." + propertyName; String propertyLabel = propertyName; <|file_sep|>original/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp <%@ page import="woko.Woko" %> <%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String owningClassAsKey = owningObject.getClass().getSimpleName() + "." + propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=owningClassAsKey%>"/> </span> </span> <|file_sep|>current/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp <%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String objectKey = "object." + propertyName; String propertyLabel = propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=owningClassAsKey%>"/> </span> </span> <|file_sep|>updated/web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp <%@ page import="woko.persistence.ObjectStore" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %> <% RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute("renderPropertyName"); WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext(); Woko woko = fctx.getWoko(); ObjectStore os = woko.getObjectStore(); String propertyName = renderPropertyName.getPropertyName(); Object owningObject = fctx.getTargetObject(); String objectKey = "object." + propertyName; String propertyLabel = propertyName; String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName)); %> <span class="wokoPropertyName"> <span class="<%=propertyName%> <%=propertyClassName%>"> <s:label for="<%=objectKey%>"><%=propertyLabel%></s:label> </span> </span>
bfe425cfe60f5b7511376c41612ea09a47d6f4b9
web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp
web/src/main/webapp/WEB-INF/woko/jsp/all/renderPropertyName.jsp
Java Server Pages
<|file_sep|>original/metadata.rb name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 supports 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery' <|file_sep|>current/metadata.rb name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 supports 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery' <|file_sep|>updated/metadata.rb
name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 depends 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery'
<|file_sep|>original/metadata.rb name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 supports 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery' <|file_sep|>current/metadata.rb name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 supports 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery' <|file_sep|>updated/metadata.rb name 'glassfish' maintainer 'Peter Donald' maintainer_email 'peter@realityforge.org' license 'Apache 2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.7.5' supports 'ubuntu' # Compat resource is required for 12.5+ as resource API changed between 12.4 and 12.5 depends 'compat_resource' depends 'java' depends 'authbind' depends 'archive' depends 'cutlery'
31e998df008f064d8190109e644928e5ddaf3329
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py32, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt <|file_sep|>current/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py32, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt <|file_sep|>updated/tox.ini
# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py32, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt <|file_sep|>current/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py32, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt <|file_sep|>updated/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] skipsdist = True envlist = py27, py33, py34 [testenv] commands = nosetests deps = -rrequirements/package.txt -rrequirements/test.txt [testenv:py34] commands = ./nose_coveralls_flake.sh deps = -rrequirements/package.txt -rrequirements/test.txt
4081c1238722166445f58ae57e939207f8a6fb83
tox.ini
tox.ini
INI
<|file_sep|>lib/facter/iis_version.rb.diff original: Facter.add(:iis_version) do updated: Facter.add(:iis_version4) do <|file_sep|>original/lib/facter/iis_version.rb Facter.add(:iis_version) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8,3] end rescue Win32::Registry::Error end version end end <|file_sep|>current/lib/facter/iis_version.rb Facter.add(:iis_version4) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8,3] end rescue Win32::Registry::Error end version end end <|file_sep|>updated/lib/facter/iis_version.rb
Facter.add(:iis_version4) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8..-1] end rescue Win32::Registry::Error end version end end
<|file_sep|>lib/facter/iis_version.rb.diff original: Facter.add(:iis_version) do updated: Facter.add(:iis_version4) do <|file_sep|>original/lib/facter/iis_version.rb Facter.add(:iis_version) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8,3] end rescue Win32::Registry::Error end version end end <|file_sep|>current/lib/facter/iis_version.rb Facter.add(:iis_version4) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8,3] end rescue Win32::Registry::Error end version end end <|file_sep|>updated/lib/facter/iis_version.rb Facter.add(:iis_version4) do confine :kernel => :windows setcode do version = nil require 'win32/registry' begin Win32::Registry::HKEY_LOCAL_MACHINE.open('SOFTWARE\Microsoft\InetStp') do |reg| version = reg['VersionString'] version = version[8..-1] end rescue Win32::Registry::Error end version end end
2678f326780f1386e2ba387e5dd1bd3b07aab00b
lib/facter/iis_version.rb
lib/facter/iis_version.rb
Ruby
<|file_sep|>src/test/java/appstore/TestThisWillFailAbunch.java.diff original: doSomething(); updated: assertTrue("I expected this to pass!", true); <|file_sep|>original/src/test/java/appstore/TestThisWillFailAbunch.java assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { doSomething(); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true); <|file_sep|>current/src/test/java/appstore/TestThisWillFailAbunch.java assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { doSomething(); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true); <|file_sep|>updated/src/test/java/appstore/TestThisWillFailAbunch.java
assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true);
<|file_sep|>src/test/java/appstore/TestThisWillFailAbunch.java.diff original: doSomething(); updated: assertTrue("I expected this to pass!", true); <|file_sep|>original/src/test/java/appstore/TestThisWillFailAbunch.java assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { doSomething(); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true); <|file_sep|>current/src/test/java/appstore/TestThisWillFailAbunch.java assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { doSomething(); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true); <|file_sep|>updated/src/test/java/appstore/TestThisWillFailAbunch.java assertTrue("I expected this to pass!", true); } @Test public void aNotherNewFailingTest4() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest5() { assertTrue("I expected this to pass!", true); } @Test public void aFailingTest6() { assertTrue("I expected this to pass!", false); } @Test public void aPassingTest3() { assertTrue("Success!", true);
34cb26b961b88efd40065c9653d566273fb99fe0
src/test/java/appstore/TestThisWillFailAbunch.java
src/test/java/appstore/TestThisWillFailAbunch.java
Java
<|file_sep|>original/.github/workflows/continuous-integration.yml jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.19.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }} <|file_sep|>current/.github/workflows/continuous-integration.yml jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.19.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }} <|file_sep|>updated/.github/workflows/continuous-integration.yml
jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.20.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }}
<|file_sep|>original/.github/workflows/continuous-integration.yml jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.19.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }} <|file_sep|>current/.github/workflows/continuous-integration.yml jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.19.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }} <|file_sep|>updated/.github/workflows/continuous-integration.yml jobs: matrix: name: Generate job matrix runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} steps: - name: Gather CI configuration id: matrix uses: laminas/laminas-ci-matrix-action@1.20.0 qa: name: QA Checks needs: [ matrix ] runs-on: ${{ matrix.operatingSystem }} strategy: fail-fast: false matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }} steps: - name: ${{ matrix.name }}
1fb916fb9b21cf1409d0dbaac7eed8e593207821
.github/workflows/continuous-integration.yml
.github/workflows/continuous-integration.yml
YAML
<|file_sep|>original/bokeh/models/widgets/panels.py """ Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..actions import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``. <|file_sep|>current/bokeh/models/widgets/panels.py """ Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..actions import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``. <|file_sep|>updated/bokeh/models/widgets/panels.py
""" Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..callbacks import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``.
<|file_sep|>original/bokeh/models/widgets/panels.py """ Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..actions import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``. <|file_sep|>current/bokeh/models/widgets/panels.py """ Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..actions import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``. <|file_sep|>updated/bokeh/models/widgets/panels.py """ Various kinds of panel widgets. """ from __future__ import absolute_import from ...properties import Bool, Int, String, Instance, List from ..widget import Widget from ..callbacks import Callback class Panel(Widget): """ A single-widget container with title bar and controls. """ title = String(help=""" An optional text title of the panel. """) child = Instance(Widget, help=""" The child widget. If you need more children, use a layout widget, e.g. ``HBox`` or ``VBox``.
0a73784ca3995b42b77d9a4cb3e6903154ef8914
bokeh/models/widgets/panels.py
bokeh/models/widgets/panels.py
Python
<|file_sep|>original/vagrant/prompt_example.rb <|file_sep|>current/vagrant/prompt_example.rb <|file_sep|>updated/vagrant/prompt_example.rb
Vagrant.configure('2') do |config| # Use %q to avoid nested here-doc issue with vim-ruby syntax highlighting. config.vm.provision :shell, :inline => %q! cat <<BASHRC > /home/vagrant/.bashrc.local # prompt PS1='\[\033[00;01m \u@\h:\w \033[00m\]\n\$ ' BASHRC line="source /home/vagrant/.bashrc.local" file="/home/vagrant/.bashrc" grep -qFx "$line" "$file" || echo "$line" >> "$file" ! end
<|file_sep|>original/vagrant/prompt_example.rb <|file_sep|>current/vagrant/prompt_example.rb <|file_sep|>updated/vagrant/prompt_example.rb Vagrant.configure('2') do |config| # Use %q to avoid nested here-doc issue with vim-ruby syntax highlighting. config.vm.provision :shell, :inline => %q! cat <<BASHRC > /home/vagrant/.bashrc.local # prompt PS1='\[\033[00;01m \u@\h:\w \033[00m\]\n\$ ' BASHRC line="source /home/vagrant/.bashrc.local" file="/home/vagrant/.bashrc" grep -qFx "$line" "$file" || echo "$line" >> "$file" ! end
28de8997d85f7ccc3dac2c556504a5544c71ea08
vagrant/prompt_example.rb
vagrant/prompt_example.rb
Ruby
<|file_sep|>original/changelog.txt <|file_sep|>current/changelog.txt <|file_sep|>updated/changelog.txt
Hibernate Validator Changelog ============================= 3.0.0.GA (19-03-2007) --------------------- Initial release as a standalone product (see Hibernate Annotations changelog for previous informations) ** Bug * [HV-2] - Deprecate String support for both @Past and @Future validating Strings * [HV-3] - @Email fail on empty strings * [HV-7] - Two level @Valid annotation doesn't work ** Improvement * [HV-5] - Multiple validators of the same type per element (John Gilbert) ** New Feature * [HV-1] - Make ClassValidator independent of Hibernate Annotations * [HV-6] - @EAN * [HV-8] - Make Validator support pure JavaPersistence players
<|file_sep|>original/changelog.txt <|file_sep|>current/changelog.txt <|file_sep|>updated/changelog.txt Hibernate Validator Changelog ============================= 3.0.0.GA (19-03-2007) --------------------- Initial release as a standalone product (see Hibernate Annotations changelog for previous informations) ** Bug * [HV-2] - Deprecate String support for both @Past and @Future validating Strings * [HV-3] - @Email fail on empty strings * [HV-7] - Two level @Valid annotation doesn't work ** Improvement * [HV-5] - Multiple validators of the same type per element (John Gilbert) ** New Feature * [HV-1] - Make ClassValidator independent of Hibernate Annotations * [HV-6] - @EAN * [HV-8] - Make Validator support pure JavaPersistence players
582262f450919cabf862755a1c03572f367cc8fb
changelog.txt
changelog.txt
Text
<|file_sep|>dev/python/README.md.diff original: #### easy_install updated: #### pip & easy_install <|file_sep|>original/dev/python/README.md # Python #### easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) <|file_sep|>current/dev/python/README.md # Python #### pip & easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) <|file_sep|>updated/dev/python/README.md
# Python #### pip & easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) * [Install pip, setuptools, and wheel](https://packaging.python.org/installing/#install-pip-setuptools-and-wheel)
<|file_sep|>dev/python/README.md.diff original: #### easy_install updated: #### pip & easy_install <|file_sep|>original/dev/python/README.md # Python #### easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) <|file_sep|>current/dev/python/README.md # Python #### pip & easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) <|file_sep|>updated/dev/python/README.md # Python #### pip & easy_install * [python - easy_install的安装和使用](http://www.cnblogs.com/huangjacky/archive/2012/03/28/2421866.html) * [Install pip, setuptools, and wheel](https://packaging.python.org/installing/#install-pip-setuptools-and-wheel)
4d358806ecd54346ce7ce46cb0717cd8b3f3bed4
dev/python/README.md
dev/python/README.md
Markdown
<|file_sep|>original/routes/updateUserProfile.js const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referrer && req.headers.referrer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile') <|file_sep|>current/routes/updateUserProfile.js const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referrer && req.headers.referrer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile') <|file_sep|>updated/routes/updateUserProfile.js
const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referer && req.headers.referer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile')
<|file_sep|>original/routes/updateUserProfile.js const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referrer && req.headers.referrer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile') <|file_sep|>current/routes/updateUserProfile.js const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referrer && req.headers.referrer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile') <|file_sep|>updated/routes/updateUserProfile.js const challenges = cache.challenges module.exports = function updateUserProfile () { return (req, res, next) => { const loggedInUser = insecurity.authenticatedUsers.get(req.cookies.token) if (loggedInUser) { models.User.findByPk(loggedInUser.data.id).then(user => { utils.solveIf(challenges.csrfChallenge, () => { return ((req.headers.origin && req.headers.origin.includes('://htmledit.squarefree.com')) || (req.headers.referer && req.headers.referer.includes('://htmledit.squarefree.com'))) && req.body.username !== user.username }) return user.update({ username: req.body.username }) }).catch(error => { next(error) }) } else { next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)) } res.location(process.env.BASE_PATH + '/profile')
3cebd82a19df42814f79725c8ab168ca50ff2b2e
routes/updateUserProfile.js
routes/updateUserProfile.js
JavaScript
<|file_sep|>original/common.sh #!/bin/sh app=$1 total_number=3 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; } <|file_sep|>current/common.sh #!/bin/sh app=$1 total_number=3 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; } <|file_sep|>updated/common.sh
#!/bin/sh app=$1 total_number=5 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; }
<|file_sep|>original/common.sh #!/bin/sh app=$1 total_number=3 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; } <|file_sep|>current/common.sh #!/bin/sh app=$1 total_number=3 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; } <|file_sep|>updated/common.sh #!/bin/sh app=$1 total_number=5 link_name () { echo "$app-$1-$2"; } link_path () { echo "$path/$(link_name $1 $2)"; }
f2bdfd3c304f092027ae6b607f3512c6e6f83e97
common.sh
common.sh
Shell
<|file_sep|>original/README.md # spring-examples [![Build Status](https://travis-ci.org/mmazurkevich/sping-examples.svg?branch=master)](https://travis-ci.org/mmazurkevich/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product. <|file_sep|>current/README.md # spring-examples [![Build Status](https://travis-ci.org/mmazurkevich/sping-examples.svg?branch=master)](https://travis-ci.org/mmazurkevich/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product. <|file_sep|>updated/README.md
# spring-examples [![Build Status](https://travis-ci.org/yhaller/sping-examples.svg?branch=master)](https://travis-ci.org/yhaller/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product.
<|file_sep|>original/README.md # spring-examples [![Build Status](https://travis-ci.org/mmazurkevich/sping-examples.svg?branch=master)](https://travis-ci.org/mmazurkevich/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product. <|file_sep|>current/README.md # spring-examples [![Build Status](https://travis-ci.org/mmazurkevich/sping-examples.svg?branch=master)](https://travis-ci.org/mmazurkevich/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product. <|file_sep|>updated/README.md # spring-examples [![Build Status](https://travis-ci.org/yhaller/sping-examples.svg?branch=master)](https://travis-ci.org/yhaller/sping-examples) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5db29a2bc8d846b3a9b6dc4a50a19bc4)](https://www.codacy.com/app/mmazurkevich/sping-examples?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=mmazurkevich/sping-examples&amp;utm_campaign=Badge_Grade) This repository contains examples projects for the different Spring modules to showcase the API and how to use the features provided by the product.
beb8d089bc5ed8169c91534e08b4ce0a5da71c56
README.md
README.md
Markdown
<|file_sep|>original/zsh/plugins/whastings/whastings.plugin.zsh # SHORTCUTS: git_status() { \print; zle accept-line; gsts; zle accept-line } zle -N git_status bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add <|file_sep|>current/zsh/plugins/whastings/whastings.plugin.zsh # SHORTCUTS: git_status() { \print; zle accept-line; gsts; zle accept-line } zle -N git_status bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add <|file_sep|>updated/zsh/plugins/whastings/whastings.plugin.zsh
bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add # Enable history search via arrow keys. autoload -U up-line-or-beginning-search autoload -U down-line-or-beginning-search zle -N up-line-or-beginning-search zle -N down-line-or-beginning-search bindkey "^[[A" up-line-or-beginning-search # Up bindkey "^[[B" down-line-or-beginning-search # Down
<|file_sep|>original/zsh/plugins/whastings/whastings.plugin.zsh # SHORTCUTS: git_status() { \print; zle accept-line; gsts; zle accept-line } zle -N git_status bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add <|file_sep|>current/zsh/plugins/whastings/whastings.plugin.zsh # SHORTCUTS: git_status() { \print; zle accept-line; gsts; zle accept-line } zle -N git_status bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add <|file_sep|>updated/zsh/plugins/whastings/whastings.plugin.zsh bindkey '^s' git_status git_diff() { \print; zle accept-line; git diff; zle accept-line } zle -N git_diff bindkey '^f' git_diff git_diff_cached() { \print; zle accept-line; git diff --cached; zle accept-line } zle -N git_diff_cached bindkey '^g' git_diff_cached git_add() { \print; zle accept-line; ga; zle accept-line } zle -N git_add bindkey '^p' git_add # Enable history search via arrow keys. autoload -U up-line-or-beginning-search autoload -U down-line-or-beginning-search zle -N up-line-or-beginning-search zle -N down-line-or-beginning-search bindkey "^[[A" up-line-or-beginning-search # Up bindkey "^[[B" down-line-or-beginning-search # Down
7da73f113014255d6d22ced173252d6bfcb32875
zsh/plugins/whastings/whastings.plugin.zsh
zsh/plugins/whastings/whastings.plugin.zsh
Shell
<|file_sep|>public/js/router.js.diff original: var views = { CreateItemPageView: CreateItemPageView, ShowItemPageView: ShowItemPageView, SearchFormPageView: SearchFormPageView, SearchResultsPageView: SearchResultsPageView, }, Router = Backbone.Router.extend({ updated: var Router = Backbone.Router.extend({ <|file_sep|>public/js/router.js.diff original: '': 'CreateItemPageView', 'item/:itemId': 'ShowItemPageView', 'search_form': 'SearchFormPageView', 'search?*query': 'SearchResultsPageView', 'search': 'SearchResultsPageView' updated: '' : CreateItemPageView, 'item/:itemId' : ShowItemPageView, 'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView <|file_sep|>public/js/router.js.diff original: Backbone.history.on('route', function(router, viewName, params){ updated: Backbone.history.on('route', function(router, viewClass, params){ <|file_sep|>original/public/js/router.js SearchResultsPageView: SearchResultsPageView, }, Router = Backbone.Router.extend({ routes: { '': 'CreateItemPageView', 'item/:itemId': 'ShowItemPageView', 'search_form': 'SearchFormPageView', 'search?*query': 'SearchResultsPageView', 'search': 'SearchResultsPageView' }, initialize: function(){ Backbone.history.on('route', function(router, viewName, params){ if(this.view){ this.view.close(); } this.view = new views[viewName]({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined <|file_sep|>current/public/js/router.js 'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView }, initialize: function(){ Backbone.history.on('route', function(router, viewClass, params){ if(this.view){ this.view.close(); } this.view = new views[viewName]({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined $(document).delegate('a', 'click', function(e){ var route = e.target.getAttribute('href').replace(/^\//, ''); Backbone.history.navigate(route, {trigger: true}); return false; }); <|file_sep|>updated/public/js/router.js
'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView }, initialize: function(){ Backbone.history.on('route', function(router, viewClass, params){ if(this.view){ this.view.close(); } this.view = new viewClass({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined $(document).delegate('a', 'click', function(e){ var route = e.target.getAttribute('href').replace(/^\//, ''); Backbone.history.navigate(route, {trigger: true}); return false; });
<|file_sep|>public/js/router.js.diff original: var views = { CreateItemPageView: CreateItemPageView, ShowItemPageView: ShowItemPageView, SearchFormPageView: SearchFormPageView, SearchResultsPageView: SearchResultsPageView, }, Router = Backbone.Router.extend({ updated: var Router = Backbone.Router.extend({ <|file_sep|>public/js/router.js.diff original: '': 'CreateItemPageView', 'item/:itemId': 'ShowItemPageView', 'search_form': 'SearchFormPageView', 'search?*query': 'SearchResultsPageView', 'search': 'SearchResultsPageView' updated: '' : CreateItemPageView, 'item/:itemId' : ShowItemPageView, 'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView <|file_sep|>public/js/router.js.diff original: Backbone.history.on('route', function(router, viewName, params){ updated: Backbone.history.on('route', function(router, viewClass, params){ <|file_sep|>original/public/js/router.js SearchResultsPageView: SearchResultsPageView, }, Router = Backbone.Router.extend({ routes: { '': 'CreateItemPageView', 'item/:itemId': 'ShowItemPageView', 'search_form': 'SearchFormPageView', 'search?*query': 'SearchResultsPageView', 'search': 'SearchResultsPageView' }, initialize: function(){ Backbone.history.on('route', function(router, viewName, params){ if(this.view){ this.view.close(); } this.view = new views[viewName]({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined <|file_sep|>current/public/js/router.js 'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView }, initialize: function(){ Backbone.history.on('route', function(router, viewClass, params){ if(this.view){ this.view.close(); } this.view = new views[viewName]({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined $(document).delegate('a', 'click', function(e){ var route = e.target.getAttribute('href').replace(/^\//, ''); Backbone.history.navigate(route, {trigger: true}); return false; }); <|file_sep|>updated/public/js/router.js 'search_form' : SearchFormPageView, 'search?*query' : SearchResultsPageView, 'search' : SearchResultsPageView }, initialize: function(){ Backbone.history.on('route', function(router, viewClass, params){ if(this.view){ this.view.close(); } this.view = new viewClass({params: params}); $('#container').html(this.view.el); }, this); // Internally handle anchor clicks if route is defined $(document).delegate('a', 'click', function(e){ var route = e.target.getAttribute('href').replace(/^\//, ''); Backbone.history.navigate(route, {trigger: true}); return false; });
3b49ac39358b49bdce94f58e587ccb828ab63cdf
public/js/router.js
public/js/router.js
JavaScript
<|file_sep|>original/.gitlab-ci.yml test: script: - apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py <|file_sep|>current/.gitlab-ci.yml test: script: - apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py <|file_sep|>updated/.gitlab-ci.yml
- apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py - "# Test with python 3" - virtualenv --system-site-packages --python=/usr/bin/python3 venv3 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv3/bin/pip install nose - venv3/bin/pip install pyyaml - venv3/bin/pip install jinja2 - venv3/bin/nosetests test/executive_smach_tutorials.py
<|file_sep|>original/.gitlab-ci.yml test: script: - apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py <|file_sep|>current/.gitlab-ci.yml test: script: - apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py <|file_sep|>updated/.gitlab-ci.yml - apt-get update -qy - apt-get install -y python-dev python-pip - pip install virtualenv - "# Test with python 2" - virtualenv --system-site-packages --python=/usr/bin/python2 venv2 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv2/bin/pip install nose - venv2/bin/pip install pyyaml - venv2/bin/pip install jinja2 - venv2/bin/nosetests test/executive_smach_tutorials.py - "# Test with python 3" - virtualenv --system-site-packages --python=/usr/bin/python3 venv3 # NOTE: Installing these packages by hand is a # temporary solution. # TODO: Try setting up a runner with a ROS image. - venv3/bin/pip install nose - venv3/bin/pip install pyyaml - venv3/bin/pip install jinja2 - venv3/bin/nosetests test/executive_smach_tutorials.py
20d46589bdce101e0965beb23b23b26f8d93c09f
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/.cyclid.json <|file_sep|>current/.cyclid.json <|file_sep|>updated/.cyclid.json
{ "name" : "Cyclid-client", "environment" : { "os" : "ubuntu_trusty", "packages" : [ "ruby2.0", "ruby2.0-dev" ] }, "stages" : [ { "name" : "bundle-install", "steps" : [ { "action" : "command", "cmd" : "sudo gem2.0 install bundler --no-ri --no-doc" }, { "action" : "command", "cmd" : "bundle install --path vendor/bundle", "path" : "%{workspace}/Cyclid-client"
<|file_sep|>original/.cyclid.json <|file_sep|>current/.cyclid.json <|file_sep|>updated/.cyclid.json { "name" : "Cyclid-client", "environment" : { "os" : "ubuntu_trusty", "packages" : [ "ruby2.0", "ruby2.0-dev" ] }, "stages" : [ { "name" : "bundle-install", "steps" : [ { "action" : "command", "cmd" : "sudo gem2.0 install bundler --no-ri --no-doc" }, { "action" : "command", "cmd" : "bundle install --path vendor/bundle", "path" : "%{workspace}/Cyclid-client"
802e3406e43ea297c903d7ba8625d2c7e4033fd8
.cyclid.json
.cyclid.json
JSON
<|file_sep|>original/lib/package/plugins/serviceCalloutResponseName.js var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Resopnse variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy <|file_sep|>current/lib/package/plugins/serviceCalloutResponseName.js var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Resopnse variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy <|file_sep|>updated/lib/package/plugins/serviceCalloutResponseName.js
var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Response variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy
<|file_sep|>original/lib/package/plugins/serviceCalloutResponseName.js var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Resopnse variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy <|file_sep|>current/lib/package/plugins/serviceCalloutResponseName.js var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Resopnse variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy <|file_sep|>updated/lib/package/plugins/serviceCalloutResponseName.js var onPolicy = function(policy,cb) { var hadWarning = false; if ( policy.getType() === "ServiceCallout" && myUtil.selectTagValue(policy, "/ServiceCallout/Response") === "response" ) { hadWarning = true; policy.addMessage({ plugin, message: 'Policy has a Response variable named "response", this may lead to unexpected side effects. Rename the Response variable.' }); } if (typeof(cb) == 'function') { cb(null, hadWarning); } }; module.exports = { plugin, onPolicy
1bc1a5cc39570cff0713f748505d3973fb9ec534
lib/package/plugins/serviceCalloutResponseName.js
lib/package/plugins/serviceCalloutResponseName.js
JavaScript
<|file_sep|>original/README.md # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ``` <|file_sep|>current/README.md # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ``` <|file_sep|>updated/README.md
[![Build Status](https://travis-ci.org/it7-solutions/jquery.it7InputRules.svg?branch=master)](https://travis-ci.org/it7-solutions/jquery.it7InputRules) # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ```
<|file_sep|>original/README.md # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ``` <|file_sep|>current/README.md # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ``` <|file_sep|>updated/README.md [![Build Status](https://travis-ci.org/it7-solutions/jquery.it7InputRules.svg?branch=master)](https://travis-ci.org/it7-solutions/jquery.it7InputRules) # jquery.it7InputRules Plug-in for filtering and transforming text entered in the input field. ## Limitation * Тext inserted using the browser autocomplete - not filtered. * In IE8 - The text is inserted in the INPUT - not filtered. * Ctrl+Z disabled. ## Usage Except loading js-file you need to specify the class *it7InputRulesListen* and rules for transformation and filtering in the tag attribute *data-it7-input-rules*: ```html <script type="text/javascript" src="validationRulesForInputRules.js"> <input name="targetField" class="it7InputRulesListen" data-it7-input-rules="{"uppercase":true,"alphaNumber":true}" /> ```
19401f224a27ab4ca09140b50004cdaaf73bbfd8
README.md
README.md
Markdown
<|file_sep|>src/Lidsys/Football/Controller/views/football/team-standings.html.diff original: updated: <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <|file_sep|>original/src/Lidsys/Football/Controller/views/football/team-standings.html <div class="row"> <div class="small-12 columns"> <h1>Standings</h1> <lds-football-week-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-week-selector> <lds-football-division-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-division-selector> <table class="small-12" style="margin: 0 auto; "> <tr ng-repeat="standing in standings"> <td>{{standing.team.abbreviation}}</td> <td>{{standing.win_count}}</td> <td>{{standing.loss_count}}</td> <td>{{standing.tie_count}}</td> </tr> </table> </div> </div> <|file_sep|>current/src/Lidsys/Football/Controller/views/football/team-standings.html <div class="small-12 columns"> <h1>Standings</h1> <lds-football-week-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-week-selector> <lds-football-division-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-division-selector> <table class="small-12" style="margin: 0 auto; "> <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <tr ng-repeat="standing in standings"> <td>{{standing.team.abbreviation}}</td> <td>{{standing.win_count}}</td> <td>{{standing.loss_count}}</td> <td>{{standing.tie_count}}</td> </tr> </table> </div> </div> <|file_sep|>updated/src/Lidsys/Football/Controller/views/football/team-standings.html
<table class="small-12" style="margin: 0 auto; "> <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <tr ng-repeat="standing in standings"> <td style=" background-color: {{standing.team.border_color}}; width: 4%; ">&nbsp;</td> <td style=" color: {{standing.team.font_color}}; background-color: {{standing.team.background_color}}; width: 40%; "> {{standing.team.location}} {{standing.team.mascot}} </td> <td class="text-center">{{standing.win_count}}</td>
<|file_sep|>src/Lidsys/Football/Controller/views/football/team-standings.html.diff original: updated: <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <|file_sep|>original/src/Lidsys/Football/Controller/views/football/team-standings.html <div class="row"> <div class="small-12 columns"> <h1>Standings</h1> <lds-football-week-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-week-selector> <lds-football-division-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-division-selector> <table class="small-12" style="margin: 0 auto; "> <tr ng-repeat="standing in standings"> <td>{{standing.team.abbreviation}}</td> <td>{{standing.win_count}}</td> <td>{{standing.loss_count}}</td> <td>{{standing.tie_count}}</td> </tr> </table> </div> </div> <|file_sep|>current/src/Lidsys/Football/Controller/views/football/team-standings.html <div class="small-12 columns"> <h1>Standings</h1> <lds-football-week-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-week-selector> <lds-football-division-selector ng-model="week_selector" ng-change="changeWeek(event)"></lds-football-division-selector> <table class="small-12" style="margin: 0 auto; "> <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <tr ng-repeat="standing in standings"> <td>{{standing.team.abbreviation}}</td> <td>{{standing.win_count}}</td> <td>{{standing.loss_count}}</td> <td>{{standing.tie_count}}</td> </tr> </table> </div> </div> <|file_sep|>updated/src/Lidsys/Football/Controller/views/football/team-standings.html <table class="small-12" style="margin: 0 auto; "> <tr> <th></th> <th>Team</th> <th>Wins</th> <th>Losses</th> <th>Ties</th> </tr> <tr ng-repeat="standing in standings"> <td style=" background-color: {{standing.team.border_color}}; width: 4%; ">&nbsp;</td> <td style=" color: {{standing.team.font_color}}; background-color: {{standing.team.background_color}}; width: 40%; "> {{standing.team.location}} {{standing.team.mascot}} </td> <td class="text-center">{{standing.win_count}}</td>
8d50f33346dd652e0a6eacaf20f4cfd1632f3d01
src/Lidsys/Football/Controller/views/football/team-standings.html
src/Lidsys/Football/Controller/views/football/team-standings.html
HTML
<|file_sep|>original/ansible/roles/node-app/tasks/main.yml - name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: "NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}" args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted <|file_sep|>current/ansible/roles/node-app/tasks/main.yml - name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: "NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}" args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted <|file_sep|>updated/ansible/roles/node-app/tasks/main.yml
- name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: 'NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}' args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted
<|file_sep|>original/ansible/roles/node-app/tasks/main.yml - name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: "NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}" args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted <|file_sep|>current/ansible/roles/node-app/tasks/main.yml - name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: "NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}" args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted <|file_sep|>updated/ansible/roles/node-app/tasks/main.yml - name: install pslist apt: name=pslist - name: upload init script template: src=init.j2 dest="/etc/init.d/{{ app_name }}" mode=0755 - name: install npm dependencies become_user: "{{ app_user }}" command: npm install --production args: chdir: "{{ app_path }}" - name: run additional setup command become_user: "{{ app_user }}" command: 'NODE_ENV=production {{ env_vars | join(" ") }} {{ setup_command }}' args: chdir: "{{ app_path }}" when: setup_command != "" - name: re/start app service: name="{{ app_name }}" enabled=yes state=restarted
e472a2adf1b2158785230d791d8fc5da46d52ab9
ansible/roles/node-app/tasks/main.yml
ansible/roles/node-app/tasks/main.yml
YAML
<|file_sep|>original/requirements/ci.txt pytest==3.3.2 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt <|file_sep|>current/requirements/ci.txt pytest==3.3.2 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt <|file_sep|>updated/requirements/ci.txt
pytest==3.4.0 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt
<|file_sep|>original/requirements/ci.txt pytest==3.3.2 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt <|file_sep|>current/requirements/ci.txt pytest==3.3.2 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt <|file_sep|>updated/requirements/ci.txt pytest==3.4.0 pytest-cov==2.5.1 python-logstash==0.4.6 pytest-asyncio==0.8.0 pytest-mock==1.6.3 -r prod.txt
085ab011d56be2601d648974ffe250b72de04f4f
requirements/ci.txt
requirements/ci.txt
Text
<|file_sep|>docs/installation.md.diff original: ```python updated: ``` <|file_sep|>original/docs/installation.md ... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ```python $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ... <|file_sep|>current/docs/installation.md ... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ```python $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ... <|file_sep|>updated/docs/installation.md
... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ``` $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ...
<|file_sep|>docs/installation.md.diff original: ```python updated: ``` <|file_sep|>original/docs/installation.md ... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ```python $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ... <|file_sep|>current/docs/installation.md ... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ```python $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ... <|file_sep|>updated/docs/installation.md ... "pinax.messages" ... ) ``` ### Run Migrations * Run Django migrations to create `pinax-messages` database tables: ``` $ python manage.py migrate ``` ### Hook Up URLs Add `pinax.messages.urls` to your project urlpatterns: ```python urlpatterns = [ ...
51ac36ae57e5bb245fcf0c5d263360f858dde40b
docs/installation.md
docs/installation.md
Markdown
<|file_sep|>original/libstd/build.sh #!/bin/bash if [ -z "`which xmbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi <|file_sep|>current/libstd/build.sh #!/bin/bash if [ -z "`which xmbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi <|file_sep|>updated/libstd/build.sh
#!/bin/bash if [ -z "`which mbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi
<|file_sep|>original/libstd/build.sh #!/bin/bash if [ -z "`which xmbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi <|file_sep|>current/libstd/build.sh #!/bin/bash if [ -z "`which xmbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi <|file_sep|>updated/libstd/build.sh #!/bin/bash if [ -z "`which mbld`" ]; then ../myrbuild/myrbuild -I. -C$MYR_MC -M$MYR_MUSE $@ else mbld $@ fi
e9c151989b3e9d75957e87d85d426581ec91515f
libstd/build.sh
libstd/build.sh
Shell
<|file_sep|>django/core/checks/compatibility/django_1_7_0.py.diff original: hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES." updated: hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " <|file_sep|>original/django/core/checks/compatibility/django_1_7_0.py warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES." "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults." "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return [] <|file_sep|>current/django/core/checks/compatibility/django_1_7_0.py warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults." "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return [] <|file_sep|>updated/django/core/checks/compatibility/django_1_7_0.py
warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. " "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return []
<|file_sep|>django/core/checks/compatibility/django_1_7_0.py.diff original: hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES." updated: hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " <|file_sep|>original/django/core/checks/compatibility/django_1_7_0.py warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES." "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults." "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return [] <|file_sep|>current/django/core/checks/compatibility/django_1_7_0.py warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults." "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return [] <|file_sep|>updated/django/core/checks/compatibility/django_1_7_0.py warns them about the global default changes. """ from django.conf import settings # MIDDLEWARE_CLASSES is overridden by default by startproject. If users # have removed this override then we'll warn them about the default changes. if not settings.is_overridden('MIDDLEWARE_CLASSES'): return [ Warning( "MIDDLEWARE_CLASSES is not set.", hint=("Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. " "django.contrib.sessions.middleware.SessionMiddleware, " "django.contrib.auth.middleware.AuthenticationMiddleware, and " "django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. " "If your project needs these middleware then you should configure this setting."), obj=None, id='1_7.W001', ) ] else: return []
4c39c270af91ddbc213e077fc06b4bf67c7c6e99
django/core/checks/compatibility/django_1_7_0.py
django/core/checks/compatibility/django_1_7_0.py
Python
<|file_sep|>original/web/js/reducers.js // Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/es/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api, <|file_sep|>current/web/js/reducers.js // Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/es/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api, <|file_sep|>updated/web/js/reducers.js
// Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/lib/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api,
<|file_sep|>original/web/js/reducers.js // Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/es/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api, <|file_sep|>current/web/js/reducers.js // Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/es/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api, <|file_sep|>updated/web/js/reducers.js // Copyright © 2015-2017 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 /* @flow */ import combineReducers from "redux/lib/combineReducers"; import type {ApiState} from "./apiReducer"; import api from "./apiReducer"; import type {ConfigState} from "./configReducer"; import config from "./configReducer"; import {reducer as form} from "redux-form"; export type State = { api: ApiState, config: ConfigState, form: any } export default combineReducers({ api,
16c1e7f7fd59789d20ebe4d00675e8ebcd356dab
web/js/reducers.js
web/js/reducers.js
JavaScript
<|file_sep|>benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java.diff original: updated: import static com.google.common.base.Strings.emptyToNull; <|file_sep|>original/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = System.getProperty("cacheBenchFwk.cache.run"); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } } <|file_sep|>current/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = System.getProperty("cacheBenchFwk.cache.run"); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } } <|file_sep|>updated/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java
import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = emptyToNull(System.getProperty("cacheBenchFwk.cache.run")); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } }
<|file_sep|>benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java.diff original: updated: import static com.google.common.base.Strings.emptyToNull; <|file_sep|>original/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = System.getProperty("cacheBenchFwk.cache.run"); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } } <|file_sep|>current/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = System.getProperty("cacheBenchFwk.cache.run"); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } } <|file_sep|>updated/benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java import org.cachebench.reportgenerators.CsvStatisticReportGenerator; import java.io.File; /** * An extension of the report generator to simplify the file name. * * @author bmanes@google.com (Ben Manes) */ public final class CustomCsvStatisticReportGenerator extends CsvStatisticReportGenerator { @Override public void setOutputFile(String fileName) { if ("-generic-".equals(fileName)) { String type = System.getProperty("cacheBenchFwk.cache.type"); String run = emptyToNull(System.getProperty("cacheBenchFwk.cache.run")); this.output = new File(type + (run == null ? "" : "-" + run) + ".csv"); } else { super.setOutputFile(fileName); } } }
c37d7fd0d2f9bcc5ecb876975d81228a7fcbe0e5
benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java
benchmark/src/java/org/cachebench/CustomCsvStatisticReportGenerator.java
Java
<|file_sep|>original/backend/app/views/spree/admin/promotion_categories/_form.html.erb <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='alpha six columns'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div> <|file_sep|>current/backend/app/views/spree/admin/promotion_categories/_form.html.erb <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='alpha six columns'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div> <|file_sep|>updated/backend/app/views/spree/admin/promotion_categories/_form.html.erb
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='col-xs-4'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div>
<|file_sep|>original/backend/app/views/spree/admin/promotion_categories/_form.html.erb <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='alpha six columns'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div> <|file_sep|>current/backend/app/views/spree/admin/promotion_categories/_form.html.erb <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='alpha six columns'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div> <|file_sep|>updated/backend/app/views/spree/admin/promotion_categories/_form.html.erb <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @promotion } %> <div class='row'> <div class='col-xs-4'> <%= f.field_container :name do %> <%= f.label :name %> <%= f.text_field :name, :class => 'fullwidth' %> <% end %> <%= f.field_container :code do %> <%= f.label :code %> <%= f.text_field :code, :class => 'fullwidth' %> <% end %> </div> </div>
2dd4a0bec817abeab78ed92f63d40f6fb5b1b46a
backend/app/views/spree/admin/promotion_categories/_form.html.erb
backend/app/views/spree/admin/promotion_categories/_form.html.erb
HTML+ERB
<|file_sep|>original/README.md # Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) <|file_sep|>current/README.md # Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) <|file_sep|>updated/README.md
# Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) # Development Steps for setting up your development environment: 1. Install localtunnel locally so that whatever you run on your local server can be made publicly accessible Run `gem install localtunnel' Run `localtunnel 5000` and `foreman start` to confirm that localtunnel works correctly on port 5000 Ctrl+C to kill localtunnel 2. Register a new application with GitHub Visit your GitHub account page and click Applications on the left menu Click Register New Application Name your new application Hound Development
<|file_sep|>original/README.md # Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) <|file_sep|>current/README.md # Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) <|file_sep|>updated/README.md # Hound Hound is a syntax verifying service. For more syntax information refer to [thoughbot's guides](https://github.com/thoughtbot/guides) # Development Steps for setting up your development environment: 1. Install localtunnel locally so that whatever you run on your local server can be made publicly accessible Run `gem install localtunnel' Run `localtunnel 5000` and `foreman start` to confirm that localtunnel works correctly on port 5000 Ctrl+C to kill localtunnel 2. Register a new application with GitHub Visit your GitHub account page and click Applications on the left menu Click Register New Application Name your new application Hound Development
19970f1f91e69d7c1665435418738894d20a5e4c
README.md
README.md
Markdown
<|file_sep|>original/roles/neovim/tasks/main.yml regexp: "^{{ item.key }}=" line: "{{ item.key }}={{ item.val }}" create: yes mode: 644 owner: root group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim <|file_sep|>current/roles/neovim/tasks/main.yml regexp: "^{{ item.key }}=" line: "{{ item.key }}={{ item.val }}" create: yes mode: 644 owner: root group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim <|file_sep|>updated/roles/neovim/tasks/main.yml
group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Create autoload directory for vim-plug file: path: "~/.local/share/nvim/site/autoload" state: directory - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim
<|file_sep|>original/roles/neovim/tasks/main.yml regexp: "^{{ item.key }}=" line: "{{ item.key }}={{ item.val }}" create: yes mode: 644 owner: root group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim <|file_sep|>current/roles/neovim/tasks/main.yml regexp: "^{{ item.key }}=" line: "{{ item.key }}={{ item.val }}" create: yes mode: 644 owner: root group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim <|file_sep|>updated/roles/neovim/tasks/main.yml group: root when: ansible_os_family != "NixOS" with_items: - { "key": "EDITOR", "val": "nvim" } - { "key": "VISUAL", "val": "nvim" } - name: Symlink neovim config directory file: src: "{{ role_path }}/files" dest: "~/.config/nvim" state: link - name: Create autoload directory for vim-plug file: path: "~/.local/share/nvim/site/autoload" state: directory - name: Install vim-plug plugin manager get_url: url: https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim dest: ~/.local/share/nvim/site/autoload/plug.vim
2d0d9302a269160cb3fe80b44b231848fc5cf020
roles/neovim/tasks/main.yml
roles/neovim/tasks/main.yml
YAML
<|file_sep|>server.js.diff original: var channel = slack.getChannelGroupOrDMByID(message.channel); updated: var channel = slack.getChannelGroupOrDMByID(message.channel); <|file_sep|>original/server.js var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); if (message.type === 'message' && channel.name === 'bottesting') { console.log(channel.name + ' ' + user.name + ':' + message.text); channel.send('Hey there'); } }); slack.login(); <|file_sep|>current/server.js var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); if (message.type === 'message' && channel.name === 'bottesting') { console.log(channel.name + ' ' + user.name + ':' + message.text); channel.send('Hey there'); } }); slack.login(); <|file_sep|>updated/server.js
var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); // if (message.type === 'message' // && channel.name === 'bottesting') { // console.log(channel.name + ' ' + user.name + ':' + message.text); // channel.send('Hey there'); // } var regex = /([0-9]{1,2}):([0-9]{2})(am|pm)?/gi; var match = regex.exec(message); console.log(match);
<|file_sep|>server.js.diff original: var channel = slack.getChannelGroupOrDMByID(message.channel); updated: var channel = slack.getChannelGroupOrDMByID(message.channel); <|file_sep|>original/server.js var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); if (message.type === 'message' && channel.name === 'bottesting') { console.log(channel.name + ' ' + user.name + ':' + message.text); channel.send('Hey there'); } }); slack.login(); <|file_sep|>current/server.js var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); if (message.type === 'message' && channel.name === 'bottesting') { console.log(channel.name + ' ' + user.name + ':' + message.text); channel.send('Hey there'); } }); slack.login(); <|file_sep|>updated/server.js var config = require('./config.js'); var Slack = require('slack-client'); var token = config.slackApiKey; var slack = new Slack(token, true, true); slack.on('message', function(message) { var user = slack.getUserByID(message.user); var channel = slack.getChannelGroupOrDMByID(message.channel); // if (message.type === 'message' // && channel.name === 'bottesting') { // console.log(channel.name + ' ' + user.name + ':' + message.text); // channel.send('Hey there'); // } var regex = /([0-9]{1,2}):([0-9]{2})(am|pm)?/gi; var match = regex.exec(message); console.log(match);
23991aaef3ec1d9be8de478d799acb100b9501d1
server.js
server.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4.2' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
cb9272db6da155f54525a9baee0c6b2d60028d1c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/InternalRequest.php public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public $debug; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } } <|file_sep|>current/lib/InternalRequest.php public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public $debug; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } } <|file_sep|>updated/lib/InternalRequest.php
public $trace; public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } }
<|file_sep|>original/lib/InternalRequest.php public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public $debug; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } } <|file_sep|>current/lib/InternalRequest.php public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public $debug; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } } <|file_sep|>updated/lib/InternalRequest.php public $trace; public $protocol; public $method; public $headers; public $body; public $uri; public $uriRaw; public $uriHost; public $uriPort; public $uriPath; public $uriQuery; public $cookies; public $remaining; public $time; public $locals; public function generateCookies() { $cookies = $this->headers["COOKIE"] ?? [""]; $this->cookies = array_merge(...array_map('\Aerys\parseCookie', $cookies)); } }
3f461660ded6e27b011f7f577ac18441e6e1a14e
lib/InternalRequest.php
lib/InternalRequest.php
PHP
<|file_sep|>original/src/Behavior/RenderError.php { public function renderNotFound(Response $response, $message) { Assertion::string($message); $response->setStatusCode(404); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } } <|file_sep|>current/src/Behavior/RenderError.php { public function renderNotFound(Response $response, $message) { Assertion::string($message); $response->setStatusCode(404); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } } <|file_sep|>updated/src/Behavior/RenderError.php
return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderValidationError(Response $response, array $errors) { $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['errors' => $errors])); return $response; } }
<|file_sep|>original/src/Behavior/RenderError.php { public function renderNotFound(Response $response, $message) { Assertion::string($message); $response->setStatusCode(404); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } } <|file_sep|>current/src/Behavior/RenderError.php { public function renderNotFound(Response $response, $message) { Assertion::string($message); $response->setStatusCode(404); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } } <|file_sep|>updated/src/Behavior/RenderError.php return $response; } public function renderBadRequest(Response $response, $message) { Assertion::string($message); $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['message' => $message])); return $response; } public function renderValidationError(Response $response, array $errors) { $response->setStatusCode(400); $response->setResult(ResourceFactory::result(['errors' => $errors])); return $response; } }
be3f55bee8949f4115008376a5ac57412a42977f
src/Behavior/RenderError.php
src/Behavior/RenderError.php
PHP
<|file_sep|>original/app/routes/quotes/components/QuoteList.js return ( <ul> {quotes.map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul> ); } <|file_sep|>current/app/routes/quotes/components/QuoteList.js return ( <ul> {quotes.map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul> ); } <|file_sep|>updated/app/routes/quotes/components/QuoteList.js
return ( <ul> {quotes .filter(Boolean) .map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul>
<|file_sep|>original/app/routes/quotes/components/QuoteList.js return ( <ul> {quotes.map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul> ); } <|file_sep|>current/app/routes/quotes/components/QuoteList.js return ( <ul> {quotes.map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul> ); } <|file_sep|>updated/app/routes/quotes/components/QuoteList.js return ( <ul> {quotes .filter(Boolean) .map(quote => ( <Quote actionGrant={actionGrant} approve={approve} unapprove={unapprove} deleteQuote={deleteQuote} quote={quote} key={quote.id} setDisplayAdmin={this.setDisplayAdmin} displayAdmin={quote.id === this.state.displayAdminId} currentUser={currentUser} loggedIn={loggedIn} comments={comments} /> ))} </ul>
61edab4f12e26652f6d53f3456b0b1c75de8faa4
app/routes/quotes/components/QuoteList.js
app/routes/quotes/components/QuoteList.js
JavaScript
<|file_sep|>style.css.diff original: updated: text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; <|file_sep|>original/style.css margin: 0 auto; } #sites li { display: inline-block; padding: 0 10px; font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } <|file_sep|>current/style.css display: inline-block; padding: 0 10px; font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } <|file_sep|>updated/style.css
font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } #sites li:hover { text-shadow: 2px 20px 10px rgba(0, 0, 0, 0.2); }
<|file_sep|>style.css.diff original: updated: text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; <|file_sep|>original/style.css margin: 0 auto; } #sites li { display: inline-block; padding: 0 10px; font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } <|file_sep|>current/style.css display: inline-block; padding: 0 10px; font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } <|file_sep|>updated/style.css font-size: 100px; font-family: "Futura", sans-serif; line-height: 100px; text-shadow: 2px 10px 10px rgba(0, 0, 0, 0.2); -webkit-transition: text-shadow 0.1s linear; } #sites li:first-child { padding-left: 0; } #sites li:last-child { padding-right: 0; } #sites li:hover { text-shadow: 2px 20px 10px rgba(0, 0, 0, 0.2); }
9d4a6db841312f023e288dba39dc9f56660ee059
style.css
style.css
CSS
<|file_sep|>security/citadel/values.yaml.diff original: security: enabled: true replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL updated: enabled: true replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL <|file_sep|>security/citadel/values.yaml.diff original: # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system updated: # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system <|file_sep|>security/citadel/values.yaml.diff original: istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc updated: istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc <|file_sep|>security/citadel/values.yaml.diff original: istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc updated: istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc <|file_sep|>security/citadel/values.yaml.diff original: istio-galley-service-account.istio-master: istio-galley.istio-master.svc updated: istio-galley-service-account.istio-master: istio-galley.istio-master.svc <|file_sep|>original/security/citadel/values.yaml replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc <|file_sep|>current/security/citadel/values.yaml image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc <|file_sep|>updated/security/citadel/values.yaml
image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc
<|file_sep|>security/citadel/values.yaml.diff original: security: enabled: true replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL updated: enabled: true replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL <|file_sep|>security/citadel/values.yaml.diff original: # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system updated: # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system <|file_sep|>security/citadel/values.yaml.diff original: istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc updated: istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc <|file_sep|>security/citadel/values.yaml.diff original: istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc updated: istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc <|file_sep|>security/citadel/values.yaml.diff original: istio-galley-service-account.istio-master: istio-galley.istio-master.svc updated: istio-galley-service-account.istio-master: istio-galley.istio-master.svc <|file_sep|>original/security/citadel/values.yaml replicaCount: 1 image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc <|file_sep|>current/security/citadel/values.yaml image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc <|file_sep|>updated/security/citadel/values.yaml image: citadel selfSigned: true # indicate if self-signed CA is used. trustDomain: cluster.local # indicate the domain used in SPIFFE identity URL # Galley, pilot in each 'profile' must have a DNS cert. dnsCerts: #istio-pilot-service-account.istio-control: istio-pilot-service-account.istio-control #istio-pilot-service-account.istio-pilot11: istio-pilot-service-account.istio-system istio-sidecar-injector-service-account.istio-remote: istio-sidecar-injector.istio-remote.svc istio-sidecar-injector-service-account.istio-pilot11: istio-sidecar-injector.istio-pilot11.svc istio-sidecar-injector-service-account.istio-control: istio-sidecar-injector.istio-control.svc istio-sidecar-injector-service-account.istio-master: istio-sidecar-injector.istio-master.svc istio-galley-service-account.istio-pilot11: istio-galley.istio-pilot11.svc istio-galley-service-account.istio-control: istio-galley.istio-control.svc istio-galley-service-account.istio-master: istio-galley.istio-master.svc istio-galley-service-account.istio-config: istio-galley.istio-config.svc
8173c9740d26a67d92f571de6a9162c302b13298
security/citadel/values.yaml
security/citadel/values.yaml
YAML
<|file_sep|>original/scientist.gemspec $: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@github.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end <|file_sep|>current/scientist.gemspec $: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@github.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end <|file_sep|>updated/scientist.gemspec
$: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@rickbradley.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end
<|file_sep|>original/scientist.gemspec $: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@github.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end <|file_sep|>current/scientist.gemspec $: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@github.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end <|file_sep|>updated/scientist.gemspec $: << "lib" and require "scientist/version" Gem::Specification.new do |gem| gem.name = "scientist" gem.description = "A Ruby library for carefully refactoring critical paths" gem.version = Scientist::VERSION gem.authors = ["GitHub Open Source", "John Barnette", "Rick Bradley"] gem.email = ["opensource+scientist@github.com", "jbarnette@github.com", "rick@rickbradley.com"] gem.summary = "Carefully test, measure, and track refactored code." gem.homepage = "https://github.com/github/scientist" gem.license = "MIT" gem.files = `git ls-files`.split($/) gem.executables = [] gem.test_files = gem.files.grep(/^test/) gem.require_paths = ["lib"] gem.add_development_dependency "minitest", "~> 5.2" end
2e64248536ddf0b78a1cdbd7dfdcc83b7b7cff4b
scientist.gemspec
scientist.gemspec
Ruby
<|file_sep|>original/.travis.yml sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 <|file_sep|>current/.travis.yml sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 <|file_sep|>updated/.travis.yml
sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: email: - cukes-devs@googlegroups.com webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
<|file_sep|>original/.travis.yml sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 <|file_sep|>current/.travis.yml sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4 <|file_sep|>updated/.travis.yml sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 - jruby-1.7.12 # whitelist branches: only: - master - v1.3.x-bugfix notifications: email: - cukes-devs@googlegroups.com webhooks: urls: # gitter - https://webhooks.gitter.im/e/dc010332f9d40fcc21c4
eec913a517bf6bd0981f381df801b3624f418f2b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doc/what-is-a-model.txt <|file_sep|>current/doc/what-is-a-model.txt <|file_sep|>updated/doc/what-is-a-model.txt
This document explains the definition of a mathematical model supposed to be recognized by Flint. A model has an arbitrary number of variables, each of which belongs to one of two groups: independent and dependent ones. A variable has its name and the set of its possible values, called its domain. Note that the domain determines its dimension. A given model is defined by a set of equations constraining the values of dependent variables in terms of all of variables. Equations can have parameters, which are like variables, but do not come together with any equations defining them. Although equations in a model can be of any form in principle, typical classes of them are: - algebraic equations, - difference equations, - ordinary differential equations, - delay differential equations, and - stochastic differential equations.
<|file_sep|>original/doc/what-is-a-model.txt <|file_sep|>current/doc/what-is-a-model.txt <|file_sep|>updated/doc/what-is-a-model.txt This document explains the definition of a mathematical model supposed to be recognized by Flint. A model has an arbitrary number of variables, each of which belongs to one of two groups: independent and dependent ones. A variable has its name and the set of its possible values, called its domain. Note that the domain determines its dimension. A given model is defined by a set of equations constraining the values of dependent variables in terms of all of variables. Equations can have parameters, which are like variables, but do not come together with any equations defining them. Although equations in a model can be of any form in principle, typical classes of them are: - algebraic equations, - difference equations, - ordinary differential equations, - delay differential equations, and - stochastic differential equations.
d9518fba5d41ef56a705cbaa9897a7043465f56d
doc/what-is-a-model.txt
doc/what-is-a-model.txt
Text
<|file_sep|>lib/tasks/export/check_ins.rake.diff original: attr_accessor :created_at, :meeting_date, :club_name, :leaders, :attendance, :notes updated: attr_accessor :created_at, :meeting_date, :club_name, :leader_names, :attendance, :notes <|file_sep|>lib/tasks/export/check_ins.rake.diff original: def initialize(created_at, meeting_date, club_name, leaders, attendance, updated: def initialize(created_at, meeting_date, club_name, leader_names, attendance, <|file_sep|>lib/tasks/export/check_ins.rake.diff original: @leaders = leaders updated: @leader_names = leader_names <|file_sep|>original/lib/tasks/export/check_ins.rake @attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leaders.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new( check_in.created_at, <|file_sep|>current/lib/tasks/export/check_ins.rake @attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leaders.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new( check_in.created_at, <|file_sep|>updated/lib/tasks/export/check_ins.rake
@attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leader_names.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new(
<|file_sep|>lib/tasks/export/check_ins.rake.diff original: attr_accessor :created_at, :meeting_date, :club_name, :leaders, :attendance, :notes updated: attr_accessor :created_at, :meeting_date, :club_name, :leader_names, :attendance, :notes <|file_sep|>lib/tasks/export/check_ins.rake.diff original: def initialize(created_at, meeting_date, club_name, leaders, attendance, updated: def initialize(created_at, meeting_date, club_name, leader_names, attendance, <|file_sep|>lib/tasks/export/check_ins.rake.diff original: @leaders = leaders updated: @leader_names = leader_names <|file_sep|>original/lib/tasks/export/check_ins.rake @attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leaders.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new( check_in.created_at, <|file_sep|>current/lib/tasks/export/check_ins.rake @attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leaders.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new( check_in.created_at, <|file_sep|>updated/lib/tasks/export/check_ins.rake @attendance = attendance @notes = notes end def self.csv_title ['Check In Completion Timestamp', 'Meeting Date', 'Club Name', 'Leaders', 'Attendance', 'Notes'] end def csv_contents [created_at, meeting_date, club_name, leader_names.join(', '), attendance, notes] end end desc 'Generate a report of all check ins' task check_ins: :environment do csv_string = CSV.generate do |csv| csv << Record.csv_title ::CheckIn.all.each do |check_in| r = Record.new(
a942bc90602391d0dfe930193e2fe396f226c0d0
lib/tasks/export/check_ins.rake
lib/tasks/export/check_ins.rake
Ruby
<|file_sep|>src/main/java/net/openhft/chronicle/core/time/TimeProvider.java.diff original: return currentTimeMillis() * 1000000; updated: return currentTimeMicros() * 1000; <|file_sep|>original/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java static TimeProvider get() { return TIME_PROVIDER.get(); } long currentTimeMillis(); default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMillis() * 1000000; } default long currentTime(TimeUnit timeUnit) { return timeUnit == TimeUnit.MILLISECONDS ? currentTimeMillis() : timeUnit.convert(currentTimeNanos(), TimeUnit.NANOSECONDS); } } <|file_sep|>current/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java static TimeProvider get() { return TIME_PROVIDER.get(); } long currentTimeMillis(); default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMicros() * 1000; } default long currentTime(TimeUnit timeUnit) { return timeUnit == TimeUnit.MILLISECONDS ? currentTimeMillis() : timeUnit.convert(currentTimeNanos(), TimeUnit.NANOSECONDS); } } <|file_sep|>updated/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java
default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMicros() * 1000; } default long currentTime(TimeUnit timeUnit) { switch (timeUnit) { case NANOSECONDS: return currentTimeNanos(); case MICROSECONDS: return currentTimeMicros(); case MILLISECONDS: return currentTimeMillis(); default: return timeUnit.convert(currentTimeMillis(), TimeUnit.MILLISECONDS); } } }
<|file_sep|>src/main/java/net/openhft/chronicle/core/time/TimeProvider.java.diff original: return currentTimeMillis() * 1000000; updated: return currentTimeMicros() * 1000; <|file_sep|>original/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java static TimeProvider get() { return TIME_PROVIDER.get(); } long currentTimeMillis(); default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMillis() * 1000000; } default long currentTime(TimeUnit timeUnit) { return timeUnit == TimeUnit.MILLISECONDS ? currentTimeMillis() : timeUnit.convert(currentTimeNanos(), TimeUnit.NANOSECONDS); } } <|file_sep|>current/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java static TimeProvider get() { return TIME_PROVIDER.get(); } long currentTimeMillis(); default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMicros() * 1000; } default long currentTime(TimeUnit timeUnit) { return timeUnit == TimeUnit.MILLISECONDS ? currentTimeMillis() : timeUnit.convert(currentTimeNanos(), TimeUnit.NANOSECONDS); } } <|file_sep|>updated/src/main/java/net/openhft/chronicle/core/time/TimeProvider.java default long currentTimeMicros() { return currentTimeMillis() * 1000; } default long currentTimeNanos() { return currentTimeMicros() * 1000; } default long currentTime(TimeUnit timeUnit) { switch (timeUnit) { case NANOSECONDS: return currentTimeNanos(); case MICROSECONDS: return currentTimeMicros(); case MILLISECONDS: return currentTimeMillis(); default: return timeUnit.convert(currentTimeMillis(), TimeUnit.MILLISECONDS); } } }
613cf31e5f472c5467655902a9c86fd814898374
src/main/java/net/openhft/chronicle/core/time/TimeProvider.java
src/main/java/net/openhft/chronicle/core/time/TimeProvider.java
Java
<|file_sep|>Casks/sublime-text-dev.rb.diff original: version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' updated: version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' <|file_sep|>original/Casks/sublime-text-dev.rb class SublimeTextDev < Cask version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203064.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end <|file_sep|>current/Casks/sublime-text-dev.rb class SublimeTextDev < Cask version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203064.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end <|file_sep|>updated/Casks/sublime-text-dev.rb
class SublimeTextDev < Cask version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203066.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end
<|file_sep|>Casks/sublime-text-dev.rb.diff original: version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' updated: version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' <|file_sep|>original/Casks/sublime-text-dev.rb class SublimeTextDev < Cask version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203064.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end <|file_sep|>current/Casks/sublime-text-dev.rb class SublimeTextDev < Cask version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203064.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end <|file_sep|>updated/Casks/sublime-text-dev.rb class SublimeTextDev < Cask version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203066.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app/Contents/SharedSupport/bin/subl' caveats do files_in_usr_local end end
ca23f4139ec7c28a5b9de2b4673e40051696ad6c
Casks/sublime-text-dev.rb
Casks/sublime-text-dev.rb
Ruby
<|file_sep|>original/CHANGELOG.md # Changelog ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15) - Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15) - Initial release <|file_sep|>updated/CHANGELOG.md
# Changelog ## 1.0.0 (2017-10-18) This is the first stable release of `recoil/react`. There have been no changes to the API since the `1.0.0-alpha.2` release. This package is being used in production systems. Please note that although this version is based on a "pre-release" tag of [`react/event-loop`](https://github.com/reactphp/event-loop), the event loop has been stable for a long time. The [v1 roadmap](https://github.com/reactphp/event-loop/issues/101) for `react/event-loop` will likely introduce some BC breaks, however this should not prevent future `recoil/react` versions from adhering to [`recoil/api`](https://github.com/recoilphp/api) v1. ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15)
<|file_sep|>original/CHANGELOG.md # Changelog ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15) - Initial release <|file_sep|>current/CHANGELOG.md # Changelog ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15) - Initial release <|file_sep|>updated/CHANGELOG.md # Changelog ## 1.0.0 (2017-10-18) This is the first stable release of `recoil/react`. There have been no changes to the API since the `1.0.0-alpha.2` release. This package is being used in production systems. Please note that although this version is based on a "pre-release" tag of [`react/event-loop`](https://github.com/reactphp/event-loop), the event loop has been stable for a long time. The [v1 roadmap](https://github.com/reactphp/event-loop/issues/101) for `react/event-loop` will likely introduce some BC breaks, however this should not prevent future `recoil/react` versions from adhering to [`recoil/api`](https://github.com/recoilphp/api) v1. ## 1.0.0-alpha.2 (2017-01-10) - **[NEW]** Add `select()` API operation ## 1.0.0-alpha.1 (2016-12-15)
97781a020e32a07580e4a10b8195179af6ccca64
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/pages/reference-architecture/0012-simple.rst .. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== In a production environment, you will not likely ever have a Multi-node deployment of OpenStack, partly because it forces you to make a number of compromises as to the number and types of services that you can deploy. It is, however, extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on <|file_sep|>current/pages/reference-architecture/0012-simple.rst .. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== In a production environment, you will not likely ever have a Multi-node deployment of OpenStack, partly because it forces you to make a number of compromises as to the number and types of services that you can deploy. It is, however, extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on <|file_sep|>updated/pages/reference-architecture/0012-simple.rst
.. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== For a production environment, you will typically create a high-availability deployment of OpenStack. However, the Multi-node (non-HA) deployment is extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on which your users' VMs will actually run. One arrangement that will enable you to achieve this separation while still keeping your hardware investment relatively modest is to house your storage on your controller nodes.
<|file_sep|>original/pages/reference-architecture/0012-simple.rst .. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== In a production environment, you will not likely ever have a Multi-node deployment of OpenStack, partly because it forces you to make a number of compromises as to the number and types of services that you can deploy. It is, however, extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on <|file_sep|>current/pages/reference-architecture/0012-simple.rst .. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== In a production environment, you will not likely ever have a Multi-node deployment of OpenStack, partly because it forces you to make a number of compromises as to the number and types of services that you can deploy. It is, however, extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on <|file_sep|>updated/pages/reference-architecture/0012-simple.rst .. index:: Reference Architectures: Multi-node .. _Multi-node: Multi-node Deployment ======================================== For a production environment, you will typically create a high-availability deployment of OpenStack. However, the Multi-node (non-HA) deployment is extremely useful if you just want to see how OpenStack works from a user's point of view. .. image:: /_images/deployment-simple.* :width: 60% :align: center More commonly, your OpenStack installation will consist of multiple servers. Exactly how many is up to you, of course, but the main idea is that your controller(s) are separate from your compute servers, on which your users' VMs will actually run. One arrangement that will enable you to achieve this separation while still keeping your hardware investment relatively modest is to house your storage on your controller nodes.
2645da7283fb0d6effa6c841ae106485b1945f80
pages/reference-architecture/0012-simple.rst
pages/reference-architecture/0012-simple.rst
reStructuredText
<|file_sep|>original/includes/bootstrap.php require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file require APP_PATH . 'config.php'; // Init the database $app->init_database(); // Parse the request global $request; $request = new Request(); // Check if application is installed maybe_install(); <|file_sep|>current/includes/bootstrap.php require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file require APP_PATH . 'config.php'; // Init the database $app->init_database(); // Parse the request global $request; $request = new Request(); // Check if application is installed maybe_install(); <|file_sep|>updated/includes/bootstrap.php
require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file if ( is_file( APP_PATH . 'config.php' ) ) require APP_PATH . 'config.php'; else die( 'Config Error: Please copy <code>config-sample.php</code>, change the settings and name it <code>config.php</code>!' ); // Init the database $app->init_database(); // Parse the request global $request; $request = new Request();
<|file_sep|>original/includes/bootstrap.php require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file require APP_PATH . 'config.php'; // Init the database $app->init_database(); // Parse the request global $request; $request = new Request(); // Check if application is installed maybe_install(); <|file_sep|>current/includes/bootstrap.php require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file require APP_PATH . 'config.php'; // Init the database $app->init_database(); // Parse the request global $request; $request = new Request(); // Check if application is installed maybe_install(); <|file_sep|>updated/includes/bootstrap.php require APP_INCLUDES_PATH . 'autoloader.php'; require APP_INCLUDES_PATH . 'functions.php'; check_php_mysql_version(); // Init the application global $app; $app = new Application(); // Load config file if ( is_file( APP_PATH . 'config.php' ) ) require APP_PATH . 'config.php'; else die( 'Config Error: Please copy <code>config-sample.php</code>, change the settings and name it <code>config.php</code>!' ); // Init the database $app->init_database(); // Parse the request global $request; $request = new Request();
5c4862735cea9c159159caf6e9cc44bee6b30772
includes/bootstrap.php
includes/bootstrap.php
PHP
<|file_sep|>.travis.yml.diff original: updated: - nightly <|file_sep|>original/.travis.yml matrix: fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit <|file_sep|>current/.travis.yml matrix: fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit <|file_sep|>updated/.travis.yml
fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* allow_failures: - php: nightly before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit
<|file_sep|>.travis.yml.diff original: updated: - nightly <|file_sep|>original/.travis.yml matrix: fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit <|file_sep|>current/.travis.yml matrix: fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit <|file_sep|>updated/.travis.yml fast_finish: true include: - php: 5.4 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.7.* - php: 5.6 env: SYMFONY_VERSION=2.8.* - php: 5.6 env: SYMFONY_VERSION=3.0.* allow_failures: - php: nightly before_install: - composer self-update - if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS script: - vendor/bin/phpunit
6c2154da01d5207f8e68516e243da2b0a4387749
.travis.yml
.travis.yml
YAML
<|file_sep|>templates/themes/base/css/video_splash.css.diff original: .bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important} updated: .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} <|file_sep|>original/templates/themes/base/css/video_splash.css /* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE} <|file_sep|>current/templates/themes/base/css/video_splash.css /* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE} <|file_sep|>updated/templates/themes/base/css/video_splash.css
/* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, #form_join_user label a, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE}
<|file_sep|>templates/themes/base/css/video_splash.css.diff original: .bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important} updated: .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} <|file_sep|>original/templates/themes/base/css/video_splash.css /* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE} <|file_sep|>current/templates/themes/base/css/video_splash.css /* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE} <|file_sep|>updated/templates/themes/base/css/video_splash.css /* * Author: Pierre-Henry Soria <hello@ph7cms.com> * Copyright: (c) 2016, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ /** Change the color text to a more visible one (darker/whiter) when the background video on the splash homepage is enabled **/ body {color:#333 !important} .bt_login_forgot a, #form_login_user label, #promo_text, #promo_text a, #form_join_user em {color:#FFF !important} footer a, footer p {color: #EEE} /* Not "!important" for this one, otherwise all footer paragraph/link colors will be overwritten as well */ .ft_dm a.dropdown_item {color:#EEE !important} #form_join_user label, #form_join_user label a, nav.bottom_nav {color:#EEE !important} .show_dropdown li a {color:#333 !important} .ft {color:#FFF !important} #logo a {color:#EEE}
75544988091ff83b253c9d22b0ebe6fd3ad51fda
templates/themes/base/css/video_splash.css
templates/themes/base/css/video_splash.css
CSS
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk7 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk7 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10 <|file_sep|>updated/.travis.yml
language: ruby jdk: - oraclejdk7 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10
<|file_sep|>original/.travis.yml language: ruby jdk: - oraclejdk7 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10 <|file_sep|>current/.travis.yml language: ruby jdk: - oraclejdk7 rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10 <|file_sep|>updated/.travis.yml language: ruby jdk: - oraclejdk7 sudo: false rvm: - 2.3.1 install: - rvm use 2.3.1 - gem install bundler - bundle install env: - TEST_PG_DB_USER=postgres script: buildr clean package git: depth: 10
a4aeb20a3bedc29bd8f80eec3c74f677d3713c48
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development - test # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: <|file_sep|>current/.travis.yml email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development - test # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: <|file_sep|>updated/.travis.yml
email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: - DJANGO_VERSION=1.8.3 SECRET_KEY='sooper-s3cr3+-k3y' DEBUG='True'
<|file_sep|>original/.travis.yml email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development - test # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: <|file_sep|>current/.travis.yml email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development - test # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: <|file_sep|>updated/.travis.yml email: # change is when the repo status goes from pass to fail or vice versa on_success: change on_failure: always # whitelist branches: only: - master - development # blacklist except: - /^.*test.*$/ python: - "2.7" # Django versions to test against env: - DJANGO_VERSION=1.8.3 SECRET_KEY='sooper-s3cr3+-k3y' DEBUG='True'
b5bf59ce0aa80bcfec094f7ec56d23fd962c39e0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doc/manual/src/release-notes/rl-next.md * `defaultTemplate` → `templates.default` * `defaultBundler.<system>` → `bundlers.<system>.default` * `overlay` → `overlays.default` * `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. <|file_sep|>current/doc/manual/src/release-notes/rl-next.md * `defaultTemplate` → `templates.default` * `defaultBundler.<system>` → `bundlers.<system>.default` * `overlay` → `overlays.default` * `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. <|file_sep|>updated/doc/manual/src/release-notes/rl-next.md
* `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. * Nix will now helpfully suggest some valid inputs when the user mistypes something on the command-line
<|file_sep|>original/doc/manual/src/release-notes/rl-next.md * `defaultTemplate` → `templates.default` * `defaultBundler.<system>` → `bundlers.<system>.default` * `overlay` → `overlays.default` * `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. <|file_sep|>current/doc/manual/src/release-notes/rl-next.md * `defaultTemplate` → `templates.default` * `defaultBundler.<system>` → `bundlers.<system>.default` * `overlay` → `overlays.default` * `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. <|file_sep|>updated/doc/manual/src/release-notes/rl-next.md * `devShell.<system>` → `devShells.<system>.default` The old flake output attributes still work, but `nix flake check` will warn about them. * `nix bundle` breaking API change now supports bundlers of the form `bundler.<system>.<name>= derivation: another-derivation;`. This supports additional functionality to inspect evaluation information during bundling. A new [repository](https://github.com/NixOS/bundlers) has various bundlers implemented. * `nix store ping` now reports the version of the remote Nix daemon. * `nix flake {init,new}` now display information about which files have been created. * Templates can now define a `welcomeText` attribute, which is printed out by `nix flake {init,new} --template <template>`. * Nix will now helpfully suggest some valid inputs when the user mistypes something on the command-line
b44cebd1fd68f89bbc2317e2b7978042309e17bb
doc/manual/src/release-notes/rl-next.md
doc/manual/src/release-notes/rl-next.md
Markdown
<|file_sep|>original/rollbar/test/async_helper.py if sys.version_info >= (3, 7): return asyncio.run(coro) assert inspect.iscoroutine(coro) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send): run(self._asgi_app(scope, receive, send)) async def app(self, scope, receive, send): raise RuntimeError("Invoked only for testing") <|file_sep|>current/rollbar/test/async_helper.py if sys.version_info >= (3, 7): return asyncio.run(coro) assert inspect.iscoroutine(coro) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send): run(self._asgi_app(scope, receive, send)) async def app(self, scope, receive, send): raise RuntimeError("Invoked only for testing") <|file_sep|>updated/rollbar/test/async_helper.py
loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) def async_receive(message): async def receive(): return message assert message["type"] == "http.request" return receive @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send):
<|file_sep|>original/rollbar/test/async_helper.py if sys.version_info >= (3, 7): return asyncio.run(coro) assert inspect.iscoroutine(coro) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send): run(self._asgi_app(scope, receive, send)) async def app(self, scope, receive, send): raise RuntimeError("Invoked only for testing") <|file_sep|>current/rollbar/test/async_helper.py if sys.version_info >= (3, 7): return asyncio.run(coro) assert inspect.iscoroutine(coro) loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send): run(self._asgi_app(scope, receive, send)) async def app(self, scope, receive, send): raise RuntimeError("Invoked only for testing") <|file_sep|>updated/rollbar/test/async_helper.py loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) try: return loop.run_until_complete(coro) finally: loop.close() asyncio.set_event_loop(None) def async_receive(message): async def receive(): return message assert message["type"] == "http.request" return receive @ASGIApp class FailingTestASGIApp: def __call__(self, scope, receive, send):
d163644d3c2f0a9f5d08da753e0b97506f6ff6b3
rollbar/test/async_helper.py
rollbar/test/async_helper.py
Python
<|file_sep|>bench/split-file.py.diff original: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) updated: if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) <|file_sep|>bench/split-file.py.diff original: sfilename = "%s-O%s.out" % (prefix, optlevel,) updated: sfilename = "%s.out" % (prefix,) <|file_sep|>original/bench/split-file.py if line.startswith('Processing database:'): if sf: sf.close() line2 = line.split(':')[1] # Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) sf = file(sfilename, 'a') sf.write(line) f.close() <|file_sep|>current/bench/split-file.py line2 = line.split(':')[1] # Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) else: sfilename = "%s.out" % (prefix,) sf = file(sfilename, 'a') sf.write(line) f.close() <|file_sep|>updated/bench/split-file.py
# Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) else: sfilename = "%s.out" % (prefix,) sf = file(sfilename, 'a') if sf: sf.write(line) f.close()
<|file_sep|>bench/split-file.py.diff original: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) updated: if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) <|file_sep|>bench/split-file.py.diff original: sfilename = "%s-O%s.out" % (prefix, optlevel,) updated: sfilename = "%s.out" % (prefix,) <|file_sep|>original/bench/split-file.py if line.startswith('Processing database:'): if sf: sf.close() line2 = line.split(':')[1] # Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) sf = file(sfilename, 'a') sf.write(line) f.close() <|file_sep|>current/bench/split-file.py line2 = line.split(':')[1] # Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) else: sfilename = "%s.out" % (prefix,) sf = file(sfilename, 'a') sf.write(line) f.close() <|file_sep|>updated/bench/split-file.py # Check if entry is compressed and if has to be processed line2 = line2[:line2.rfind('.')] params = line2.split('-') optlevel = 0 complib = None for param in params: if param[0] == 'O' and param[1].isdigit(): optlevel = int(param[1]) elif param[:-1] in ('zlib', 'lzo'): complib = param if 'PyTables' in prefix: if complib: sfilename = "%s-O%s-%s.out" % (prefix, optlevel, complib) else: sfilename = "%s-O%s.out" % (prefix, optlevel,) else: sfilename = "%s.out" % (prefix,) sf = file(sfilename, 'a') if sf: sf.write(line) f.close()
33ceea40e41d9f568b11e30779b8b7c16ba8f5b8
bench/split-file.py
bench/split-file.py
Python
<|file_sep|>original/requirements.txt anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.7 # Cisco plugin dependencies python-novaclient # End Cisco dependencies <|file_sep|>current/requirements.txt anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.7 # Cisco plugin dependencies python-novaclient # End Cisco dependencies <|file_sep|>updated/requirements.txt
anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.9 # Cisco plugin dependencies python-novaclient # End Cisco dependencies
<|file_sep|>original/requirements.txt anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.7 # Cisco plugin dependencies python-novaclient # End Cisco dependencies <|file_sep|>current/requirements.txt anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.7 # Cisco plugin dependencies python-novaclient # End Cisco dependencies <|file_sep|>updated/requirements.txt anyjson>=0.2.4 argparse eventlet>=0.9.17 greenlet>=0.3.1 httplib2 iso8601>=0.1.4 kombu>=1.0.4 netaddr python-quantumclient>=2.2.0,<3.0.0 pyudev sqlalchemy>=0.7.8,<=0.7.99 WebOb>=1.2 python-keystoneclient>=0.2.0 alembic>=0.4.1 oslo.config>=1.1.0 six stevedore>=0.9 # Cisco plugin dependencies python-novaclient # End Cisco dependencies
68512c592534245eed9eaab663117e98c259e992
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/models/transaction.rb class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end end <|file_sep|>current/app/models/transaction.rb class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end end <|file_sep|>updated/app/models/transaction.rb
class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end def pretty_date time_ago_in_words(created_at) end end
<|file_sep|>original/app/models/transaction.rb class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end end <|file_sep|>current/app/models/transaction.rb class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end end <|file_sep|>updated/app/models/transaction.rb class Transaction < ActiveRecord::Base belongs_to :request validates :transaction_type, inclusion: { in: ['request', 'response', 'fulfillment'] } def self.sort_by_group(group) Transaction.joins(:request).where(requests: {group_id: group.id}) end def self.sort_by_user(user) Transaction.joins(:request).where(requests: {requester_id: user.id}) end def self.sort_by_active Transaction.joins(:request).where('transaction_type LIKE :type AND transactions.created_at BETWEEN :then AND :now', type: 'request', then: 1.hour.ago, now: Time.now).where(requests: {is_fulfilled: false}) end def pretty_date time_ago_in_words(created_at) end end
284f6338748c7b868d67c0fd0680c4c450b7e9e5
app/models/transaction.rb
app/models/transaction.rb
Ruby
<|file_sep|>original/pytest_ansible/__init__.py __version__ = '1.4.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>" <|file_sep|>current/pytest_ansible/__init__.py __version__ = '1.4.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>" <|file_sep|>updated/pytest_ansible/__init__.py
__version__ = '2.0.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>"
<|file_sep|>original/pytest_ansible/__init__.py __version__ = '1.4.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>" <|file_sep|>current/pytest_ansible/__init__.py __version__ = '1.4.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>" <|file_sep|>updated/pytest_ansible/__init__.py __version__ = '2.0.0' __author__ = "James Laska" __author_email__ = "<jlaska@ansible.com>"
47ea8ca6034bfbb16e9049081b5158d9b01833fc
pytest_ansible/__init__.py
pytest_ansible/__init__.py
Python
<|file_sep|>original/apps/vscode/keybindings.json [ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.next" } ] <|file_sep|>current/apps/vscode/keybindings.json [ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.next" } ] <|file_sep|>updated/apps/vscode/keybindings.json
[ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.focusNext" } ]
<|file_sep|>original/apps/vscode/keybindings.json [ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.next" } ] <|file_sep|>current/apps/vscode/keybindings.json [ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.next" } ] <|file_sep|>updated/apps/vscode/keybindings.json [ // Save All { "key": "ctrl+alt+s", "command": "workbench.action.files.saveAll" }, // View Next Terminal { "key": "ctrl+shift+'", "command": "workbench.action.terminal.focusNext" } ]
5e281236f1a191999e234c0d7aac0f5304cf7759
apps/vscode/keybindings.json
apps/vscode/keybindings.json
JSON
<|file_sep|>original/appveyor.yml platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2a.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v <|file_sep|>current/appveyor.yml platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2a.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v <|file_sep|>updated/appveyor.yml
platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2c.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v
<|file_sep|>original/appveyor.yml platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2a.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v <|file_sep|>current/appveyor.yml platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2a.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v <|file_sep|>updated/appveyor.yml platform: x64 os: MinGW environment: RUST_INSTALL_DIR: C:\Rust RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_VERSION: 1.0.0 install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION-$Env:RUST_INSTALL_TRIPLE.exe" - cmd: rust-%RUST_VERSION%-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%" - cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;C:\MINGW\bin\ - rustc --version - cargo --version - ps: Start-FileDownload "http://slproweb.com/download/Win32OpenSSL-1_0_2c.exe" - cmd: Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes - cmd: SET OPENSSL_LIB_DIR=C:\OpenSSL-Win32 - cmd: SET OPENSSL_INCLUDE_DIR=C:\OpenSSL-Win32\include build: false test_script: - cargo build -v - cargo build -v --no-default-features - cargo test --lib -v
6fbf4a22ecbb8e45e535d236af6ebc305751ac39
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/rest_framework_docs/api_docs.py if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView if (hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView)): return True return False def get_endpoints(self): return self.endpoints <|file_sep|>current/rest_framework_docs/api_docs.py if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView if (hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView)): return True return False def get_endpoints(self): return self.endpoints <|file_sep|>updated/rest_framework_docs/api_docs.py
self.endpoints = [] root_urlconf = __import__(settings.ROOT_URLCONF) if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView return hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView) def get_endpoints(self): return self.endpoints
<|file_sep|>original/rest_framework_docs/api_docs.py if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView if (hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView)): return True return False def get_endpoints(self): return self.endpoints <|file_sep|>current/rest_framework_docs/api_docs.py if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView if (hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView)): return True return False def get_endpoints(self): return self.endpoints <|file_sep|>updated/rest_framework_docs/api_docs.py self.endpoints = [] root_urlconf = __import__(settings.ROOT_URLCONF) if hasattr(root_urlconf, 'urls'): self.get_all_view_names(root_urlconf.urls.urlpatterns) else: self.get_all_view_names(root_urlconf.urlpatterns) def get_all_view_names(self, urlpatterns, parent_pattern=None): for pattern in urlpatterns: if isinstance(pattern, RegexURLResolver): self.get_all_view_names(urlpatterns=pattern.url_patterns, parent_pattern=pattern) elif isinstance(pattern, RegexURLPattern) and self._is_drf_view(pattern): api_endpoint = ApiEndpoint(pattern, parent_pattern) self.endpoints.append(api_endpoint) def _is_drf_view(self, pattern): # Should check whether a pattern inherits from DRF's APIView return hasattr(pattern.callback, 'cls') and issubclass(pattern.callback.cls, APIView) def get_endpoints(self): return self.endpoints
2118cc5efbe70a10c67ddf9b949607b243e05687
rest_framework_docs/api_docs.py
rest_framework_docs/api_docs.py
Python
<|file_sep|>original/examples/01-basic-usage/src/counter.js return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: self.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() { <|file_sep|>current/examples/01-basic-usage/src/counter.js return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: self.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() { <|file_sep|>updated/examples/01-basic-usage/src/counter.js
return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: this.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() {
<|file_sep|>original/examples/01-basic-usage/src/counter.js return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: self.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() { <|file_sep|>current/examples/01-basic-usage/src/counter.js return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: self.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() { <|file_sep|>updated/examples/01-basic-usage/src/counter.js return {value: 0} }, componentDidMount() { const self = this tick() function tick() { const {step, interval} = self.props self.setState({ value: this.state.value + step, interval: setTimeout(tick, interval) }) } }, componentWillUnmount() { clearTimeout(this.state.interval) }, render() {
16ea641d1dd2133c8e14a0293c9b6c5034750cd1
examples/01-basic-usage/src/counter.js
examples/01-basic-usage/src/counter.js
JavaScript
<|file_sep|>original/IrcCalc/ShuntingYardState.cs <|file_sep|>current/IrcCalc/ShuntingYardState.cs <|file_sep|>updated/IrcCalc/ShuntingYardState.cs
using System; using System.Collections.Generic; using Calculation.ExtensionMethods; using Operators = Calculation.ShuntingYardOperators; namespace Calculation { class SmashTheState { public int OpCount { get { return opStack.Count; } } public bool NextIsFunction { get { return NextTypeIs(TokenType.Function); } } readonly Stack<CalcToken> opStack;
<|file_sep|>original/IrcCalc/ShuntingYardState.cs <|file_sep|>current/IrcCalc/ShuntingYardState.cs <|file_sep|>updated/IrcCalc/ShuntingYardState.cs using System; using System.Collections.Generic; using Calculation.ExtensionMethods; using Operators = Calculation.ShuntingYardOperators; namespace Calculation { class SmashTheState { public int OpCount { get { return opStack.Count; } } public bool NextIsFunction { get { return NextTypeIs(TokenType.Function); } } readonly Stack<CalcToken> opStack;
5b60db592ae86493285e2e577e1dcd8af37715c7
IrcCalc/ShuntingYardState.cs
IrcCalc/ShuntingYardState.cs
C#
<|file_sep|>src/lib/config.js.diff original: value: '/*', updated: value: /(?=\/)\/(?=\**)\**/g, <|file_sep|>src/lib/config.js.diff original: value: '*/', updated: value: /\**(?=\/)\//g, <|file_sep|>original/src/lib/config.js const config = { 'c': { single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: '/*', match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: '*/', match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g } } } } module.exports = config <|file_sep|>current/src/lib/config.js const config = { 'c': { single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: /(?=\/)\/(?=\**)\**/g, match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: /\**(?=\/)\//g, match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g } } } } module.exports = config <|file_sep|>updated/src/lib/config.js
single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: /(?=\/)\/(?=\**)\**/g, match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: /\**(?=\/)\//g, match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g }, mid: { value: ' *' } } } } module.exports = config
<|file_sep|>src/lib/config.js.diff original: value: '/*', updated: value: /(?=\/)\/(?=\**)\**/g, <|file_sep|>src/lib/config.js.diff original: value: '*/', updated: value: /\**(?=\/)\//g, <|file_sep|>original/src/lib/config.js const config = { 'c': { single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: '/*', match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: '*/', match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g } } } } module.exports = config <|file_sep|>current/src/lib/config.js const config = { 'c': { single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: /(?=\/)\/(?=\**)\**/g, match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: /\**(?=\/)\//g, match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g } } } } module.exports = config <|file_sep|>updated/src/lib/config.js single: { value: '//', match: /\s*(?=\/)\/(?=\/)\//g }, multiple: { begin: { value: /(?=\/)\/(?=\**)\**/g, match: /\s*(?=\/)\/(?=\**)\**(?=\n)\n/g }, end: { value: /\**(?=\/)\//g, match: /\s*(?=\**)\**(?=\/)\/(?=\n)\n/g }, mid: { value: ' *' } } } } module.exports = config
155d2d66e323f8eb6b5eaf455c116120fcec75a7
src/lib/config.js
src/lib/config.js
JavaScript
<|file_sep|>original/bin/bnetdocs-users-csv.php <|file_sep|>current/bin/bnetdocs-users-csv.php <|file_sep|>updated/bin/bnetdocs-users-csv.php
#!/usr/bin/env php <?php /* vim: set expandtab colorcolumn= tabstop=4 shiftwidth=4 softtabstop=4: */ /** * @project bnetdocs-web <https://github.com/BNETDocs/bnetdocs-web/> * * Connects to the users table and prints a csv replica to stdout. */ function exit_line($line) { fwrite(STDERR, $line . PHP_EOL); exit(1); } $csv = fopen('php://stdout', 'w'); if (!$csv) { exit_line('Failed to open stdout for writing'); } $cfg = file_get_contents(__DIR__ . '/../etc/config.phoenix.json'); if (!$cfg) { exit_line('Failed to open and read config'); } $cfg = json_decode($cfg); if (!$cfg || json_last_error() !== JSON_ERROR_NONE) { exit_line('Failed to parse json config'); } $dbsid = 0; $dbhost = $cfg->mysql->servers[$dbsid]->hostname;
<|file_sep|>original/bin/bnetdocs-users-csv.php <|file_sep|>current/bin/bnetdocs-users-csv.php <|file_sep|>updated/bin/bnetdocs-users-csv.php #!/usr/bin/env php <?php /* vim: set expandtab colorcolumn= tabstop=4 shiftwidth=4 softtabstop=4: */ /** * @project bnetdocs-web <https://github.com/BNETDocs/bnetdocs-web/> * * Connects to the users table and prints a csv replica to stdout. */ function exit_line($line) { fwrite(STDERR, $line . PHP_EOL); exit(1); } $csv = fopen('php://stdout', 'w'); if (!$csv) { exit_line('Failed to open stdout for writing'); } $cfg = file_get_contents(__DIR__ . '/../etc/config.phoenix.json'); if (!$cfg) { exit_line('Failed to open and read config'); } $cfg = json_decode($cfg); if (!$cfg || json_last_error() !== JSON_ERROR_NONE) { exit_line('Failed to parse json config'); } $dbsid = 0; $dbhost = $cfg->mysql->servers[$dbsid]->hostname;
f4150d0df77dc54cde5f10f61e07c9de7bde41a1
bin/bnetdocs-users-csv.php
bin/bnetdocs-users-csv.php
PHP
<|file_sep|>original/tests/test_main.cpp #include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass *obj = new klass(); \ status |= QTest::qExec(obj, argc, argv); \ delete obj; \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; } <|file_sep|>current/tests/test_main.cpp #include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass *obj = new klass(); \ status |= QTest::qExec(obj, argc, argv); \ delete obj; \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; } <|file_sep|>updated/tests/test_main.cpp
#include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass obj; \ status |= QTest::qExec(&obj, argc, argv); \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; }
<|file_sep|>original/tests/test_main.cpp #include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass *obj = new klass(); \ status |= QTest::qExec(obj, argc, argv); \ delete obj; \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; } <|file_sep|>current/tests/test_main.cpp #include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass *obj = new klass(); \ status |= QTest::qExec(obj, argc, argv); \ delete obj; \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; } <|file_sep|>updated/tests/test_main.cpp #include <QCoreApplication> #include "qtyamltest.h" #define RUN(klass) \ do { \ klass obj; \ status |= QTest::qExec(&obj, argc, argv); \ } while(0) int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); Q_UNUSED(app); int status = 0; RUN(HighLevelTests); RUN(YAMLDotOrgTests); RUN(PracticalTests); return status; }
33c07b089ffe638ef7ce710433b593afb9ff2346
tests/test_main.cpp
tests/test_main.cpp
C++
<|file_sep|>composer.json.diff original: "datatypes/datatypes": "^2.4", "bluemvc/bluemvc-core": "^2.2" updated: "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" <|file_sep|>original/composer.json "name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^2.4", "bluemvc/bluemvc-core": "^2.2" }, "require-dev": { "bluemvc/bluemvc-fakes": "^2.0", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": { <|file_sep|>current/composer.json "name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" }, "require-dev": { "bluemvc/bluemvc-fakes": "^2.0", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": { <|file_sep|>updated/composer.json
"name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" }, "require-dev": { "bluemvc/bluemvc-fakes": "^3.0@dev", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": {
<|file_sep|>composer.json.diff original: "datatypes/datatypes": "^2.4", "bluemvc/bluemvc-core": "^2.2" updated: "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" <|file_sep|>original/composer.json "name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^2.4", "bluemvc/bluemvc-core": "^2.2" }, "require-dev": { "bluemvc/bluemvc-fakes": "^2.0", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": { <|file_sep|>current/composer.json "name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" }, "require-dev": { "bluemvc/bluemvc-fakes": "^2.0", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": { <|file_sep|>updated/composer.json "name": "Michael Hall", "homepage": "https://michaelhall.se/" } ], "require": { "php": ">=8.0", "datatypes/datatypes": "^3.0", "bluemvc/bluemvc-core": "^3.0@dev" }, "require-dev": { "bluemvc/bluemvc-fakes": "^3.0@dev", "phpunit/phpunit": "^9.0", "ext-json": "*" }, "autoload": { "psr-4": { "BlueMvc\\Forms\\": "src" } }, "autoload-dev": { "psr-4": {
7dd1df6d4323e6e5a5f045696f361d58ff71ffb5
composer.json
composer.json
JSON
<|file_sep|>original/.github/workflows/main.yaml <|file_sep|>current/.github/workflows/main.yaml <|file_sep|>updated/.github/workflows/main.yaml
name: ci on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-18.04 timeout-minutes: 1 strategy: matrix: node: [12,14,16] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with:
<|file_sep|>original/.github/workflows/main.yaml <|file_sep|>current/.github/workflows/main.yaml <|file_sep|>updated/.github/workflows/main.yaml name: ci on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-18.04 timeout-minutes: 1 strategy: matrix: node: [12,14,16] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with:
3191d33d091e231cc3a8913234659151376bea72
.github/workflows/main.yaml
.github/workflows/main.yaml
YAML
<|file_sep|>recipes/fipy/LICENSE.rst.diff original: This software was developed at the `National Institute of Standards and Technology`_ by employees of the Federal Government in the course of their official duties. Pursuant to `title 17 section 105`_ of the United States Code this software is not subject to copyright protection and is in the public domain. FiPy is an experimental system. NIST_ assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. We would appreciate acknowledgement if the software is used. updated: This software was developed by employees of the `National Institute of Standards and Technology`_ (NIST_), an agency of the Federal Government and is being made available as a public service. Pursuant to `title 17 United States Code Section 105`_, works of NIST_ employees are not subject to copyright protection in the United States. This software may be subject to foreign copyright. Permission in the United States and in foreign countries, to the extent that NIST_ may hold copyright, to use, copy, modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. <|file_sep|>recipes/fipy/LICENSE.rst.diff original: This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. updated: THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. <|file_sep|>original/recipes/fipy/LICENSE.rst ------------ This software was developed at the `National Institute of Standards and Technology`_ by employees of the Federal Government in the course of their official duties. Pursuant to `title 17 section 105`_ of the United States Code this software is not subject to copyright protection and is in the public domain. FiPy is an experimental system. NIST_ assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. We would appreciate acknowledgement if the software is used. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 section 105: http://uscode.house.gov/uscode-cgi/fastweb.exe?getdoc+uscview+t17t20+9+0++ <|file_sep|>current/recipes/fipy/LICENSE.rst modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 section 105: http://uscode.house.gov/uscode-cgi/fastweb.exe?getdoc+uscview+t17t20+9+0++ <|file_sep|>updated/recipes/fipy/LICENSE.rst
modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 United States Code Section 105: https://www.copyright.gov/title17/92chap1.html#105
<|file_sep|>recipes/fipy/LICENSE.rst.diff original: This software was developed at the `National Institute of Standards and Technology`_ by employees of the Federal Government in the course of their official duties. Pursuant to `title 17 section 105`_ of the United States Code this software is not subject to copyright protection and is in the public domain. FiPy is an experimental system. NIST_ assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. We would appreciate acknowledgement if the software is used. updated: This software was developed by employees of the `National Institute of Standards and Technology`_ (NIST_), an agency of the Federal Government and is being made available as a public service. Pursuant to `title 17 United States Code Section 105`_, works of NIST_ employees are not subject to copyright protection in the United States. This software may be subject to foreign copyright. Permission in the United States and in foreign countries, to the extent that NIST_ may hold copyright, to use, copy, modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. <|file_sep|>recipes/fipy/LICENSE.rst.diff original: This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. updated: THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. <|file_sep|>original/recipes/fipy/LICENSE.rst ------------ This software was developed at the `National Institute of Standards and Technology`_ by employees of the Federal Government in the course of their official duties. Pursuant to `title 17 section 105`_ of the United States Code this software is not subject to copyright protection and is in the public domain. FiPy is an experimental system. NIST_ assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic. We would appreciate acknowledgement if the software is used. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 section 105: http://uscode.house.gov/uscode-cgi/fastweb.exe?getdoc+uscview+t17t20+9+0++ <|file_sep|>current/recipes/fipy/LICENSE.rst modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 section 105: http://uscode.house.gov/uscode-cgi/fastweb.exe?getdoc+uscview+t17t20+9+0++ <|file_sep|>updated/recipes/fipy/LICENSE.rst modify, create derivative works, and distribute this software and its documentation without fee is hereby granted on a non-exclusive basis, provided that this notice and disclaimer of warranty appears in all copies. THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER. .. _National Institute of Standards and Technology: http://www.nist.gov/ .. _NIST: http://www.nist.gov/ .. _title 17 United States Code Section 105: https://www.copyright.gov/title17/92chap1.html#105
a9419a292c29036949ab36f818d72436afdfecb4
recipes/fipy/LICENSE.rst
recipes/fipy/LICENSE.rst
reStructuredText
<|file_sep|>original/benchexec/tools/avr.py def name(self): return "AVR" def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status <|file_sep|>current/benchexec/tools/avr.py def name(self): return "AVR" def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status <|file_sep|>updated/benchexec/tools/avr.py
def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: # skip the lines that do not contain verification result if not line.startswith("Verification result:"): continue if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status
<|file_sep|>original/benchexec/tools/avr.py def name(self): return "AVR" def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status <|file_sep|>current/benchexec/tools/avr.py def name(self): return "AVR" def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status <|file_sep|>updated/benchexec/tools/avr.py def cmdline(self, executable, options, task, rlimits): return [executable] + options + [task.single_input_file] def determine_result(self, run): """ @return: status of AVR after executing a run """ if run.was_timeout: return result.RESULT_TIMEOUT status = None for line in run.output: # skip the lines that do not contain verification result if not line.startswith("Verification result:"): continue if "avr-h" in line: status = result.RESULT_TRUE_PROP if "avr-v" in line: status = result.RESULT_FALSE_PROP if not status: status = result.RESULT_ERROR return status
164891392f9a68abb0fa29a74787ef127849d0c0
benchexec/tools/avr.py
benchexec/tools/avr.py
Python
<|file_sep|>original/pkg/compiler/lib/src/js_backend/codegen/glue.dart <|file_sep|>current/pkg/compiler/lib/src/js_backend/codegen/glue.dart <|file_sep|>updated/pkg/compiler/lib/src/js_backend/codegen/glue.dart
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library code_generator_dependencies; import '../js_backend.dart'; import '../../dart2jslib.dart'; import '../../js_emitter/js_emitter.dart'; import '../../js/js.dart' as js; import '../../constants/values.dart'; /// Encapsulates the dependencies of the function-compiler to the compiler, /// backend and emitter. // TODO(sigurdm): Should be refactored when we have a better feeling for the // interface. class Glue { final Compiler _compiler; JavaScriptBackend get _backend => _compiler.backend;
<|file_sep|>original/pkg/compiler/lib/src/js_backend/codegen/glue.dart <|file_sep|>current/pkg/compiler/lib/src/js_backend/codegen/glue.dart <|file_sep|>updated/pkg/compiler/lib/src/js_backend/codegen/glue.dart // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library code_generator_dependencies; import '../js_backend.dart'; import '../../dart2jslib.dart'; import '../../js_emitter/js_emitter.dart'; import '../../js/js.dart' as js; import '../../constants/values.dart'; /// Encapsulates the dependencies of the function-compiler to the compiler, /// backend and emitter. // TODO(sigurdm): Should be refactored when we have a better feeling for the // interface. class Glue { final Compiler _compiler; JavaScriptBackend get _backend => _compiler.backend;
9d4dd51193d3cb5233766c09aa3a60061ef8bb67
pkg/compiler/lib/src/js_backend/codegen/glue.dart
pkg/compiler/lib/src/js_backend/codegen/glue.dart
Dart