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/frontend/spree_frontend.gemspec s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("...
s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.require_path = 'lib' s.requirements << 'no...
<|file_sep|>original/frontend/spree_frontend.gemspec s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("...
4702d230218205a95011c82a5b194a3ad17af283
frontend/spree_frontend.gemspec
frontend/spree_frontend.gemspec
Ruby
<|file_sep|>app/utils/FeatureToggle.scala.diff original: import play.api.http.{Status, DefaultHttpErrorHandler} updated: <|file_sep|>app/utils/FeatureToggle.scala.diff original: updated: import scala.concurrent.Future <|file_sep|>original/app/utils/FeatureToggle.scala * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,...
* See the License for the specific language governing permissions and * limitations under the License. */ package utils import play.api.mvc._ import scala.concurrent.Future case class FeatureToggle(feature: Boolean) { def apply(action: Action[AnyContent]): Action[AnyContent] = if (feature) action else Feat...
<|file_sep|>app/utils/FeatureToggle.scala.diff original: import play.api.http.{Status, DefaultHttpErrorHandler} updated: <|file_sep|>app/utils/FeatureToggle.scala.diff original: updated: import scala.concurrent.Future <|file_sep|>original/app/utils/FeatureToggle.scala * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,...
defcad5fb211a8fd74152c76fb58aad45c14a018
app/utils/FeatureToggle.scala
app/utils/FeatureToggle.scala
Scala
<|file_sep|>original/chrome/browser/extensions/extension_popup_apitest.cc // Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" // Times out. See ...
<|file_sep|>original/chrome/browser/extensions/extension_popup_apitest.cc // Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension...
0eddc9ac89ea43cb9f46a61d1a253a34599d628d
chrome/browser/extensions/extension_popup_apitest.cc
chrome/browser/extensions/extension_popup_apitest.cc
C++
<|file_sep|>src/__tests__/server-test.ts.diff original: updated: const serverConfig = { serverRendering: true, }; <|file_sep|>original/src/__tests__/server-test.ts (jest as any).disableAutomock(); import middleware from '../server'; describe('retax server', () => { it('exposes the middleware', () => { ...
(jest as any).disableAutomock(); import middleware from '../server'; describe('retax server', () => { const serverConfig = { serverRendering: true, }; it('exposes the middleware', () => { expect(middleware instanceof Function).toBeTruthy(); expect(middleware(serverConfig) instanceof Function); })...
<|file_sep|>src/__tests__/server-test.ts.diff original: updated: const serverConfig = { serverRendering: true, }; <|file_sep|>original/src/__tests__/server-test.ts (jest as any).disableAutomock(); import middleware from '../server'; describe('retax server', () => { it('exposes the middleware', () => { ...
4e699ce9212b790db69dcbe20e5bcfe01e393d6a
src/__tests__/server-test.ts
src/__tests__/server-test.ts
TypeScript
<|file_sep|>requirements/env.txt.diff original: compare-locales==2.7.0 updated: compare-locales==2.8.0 <|file_sep|>original/requirements/env.txt Pillow==5.0.0 bleach==2.1.3 commonware==0.5.0 compare-locales==2.7.0 contextlib2==0.5.5 django-appconf==1.0.2 django-compressor==2.2 django-session-csrf==0.7.1 elasticsearch==...
Pillow==5.0.0 bleach==2.1.3 commonware==0.5.0 compare-locales==2.8.0 contextlib2==0.5.5 django-appconf==1.0.2 django-compressor==2.2 django-session-csrf==0.7.1 elasticsearch==2.4.1 feedparser==5.2.1 fluent==0.6.4 funcsigs==1.0.2 funfactory==2.3.0 html5lib==1.0.1 mercurial==4.2.2 mock==2.0.0 # pbr required by mock pbr==...
<|file_sep|>requirements/env.txt.diff original: compare-locales==2.7.0 updated: compare-locales==2.8.0 <|file_sep|>original/requirements/env.txt Pillow==5.0.0 bleach==2.1.3 commonware==0.5.0 compare-locales==2.7.0 contextlib2==0.5.5 django-appconf==1.0.2 django-compressor==2.2 django-session-csrf==0.7.1 elasticsearch==...
b83daf7236a733eb72d33f2b2864ca41aecdf357
requirements/env.txt
requirements/env.txt
Text
<|file_sep|>original/business.gemspec Gem::Specification.new do |spec| spec.name = "business" spec.version = Business::VERSION spec.authors = ["Harry Marr"] spec.email = ["developers@gocardless.com"] spec.summary = "Date calculations based on business calendars" spec.desc...
Gem::Specification.new do |spec| spec.name = "business" spec.version = Business::VERSION spec.authors = ["Harry Marr"] spec.email = ["developers@gocardless.com"] spec.summary = "Date calculations based on business calendars" spec.description = "Date calculations based o...
<|file_sep|>original/business.gemspec Gem::Specification.new do |spec| spec.name = "business" spec.version = Business::VERSION spec.authors = ["Harry Marr"] spec.email = ["developers@gocardless.com"] spec.summary = "Date calculations based on business calendars" spec.desc...
4e1bfb5e4ecf76c1f425dbf9984fb3b39a2a78ea
business.gemspec
business.gemspec
Ruby
<|file_sep|>index.html.diff original: updated: <div class="col-sm-6"> <|file_sep|>original/index.html <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap-theme.min.css"> <link rel="stylesheet" href="css/app.css"> <script type="text/javascript" src="js...
<script type="text/javascript" src="js/bootstrap.min.js"></script> </head> <body> <div class="page-header"> </div> <div class="container"> 連絡先: <a href="https://twitter.com/imishinist">@imishinist</a> <div id="markdown"> <div class="col-sm-6"> <select v-model="langFile"...
<|file_sep|>index.html.diff original: updated: <div class="col-sm-6"> <|file_sep|>original/index.html <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap-theme.min.css"> <link rel="stylesheet" href="css/app.css"> <script type="text/javascript" src="js...
47f350a1198da2551774a16c2efbbf3a0be34d1e
index.html
index.html
HTML
<|file_sep|>original/rust/buildpack/Cargo.toml [package] name = "buildpack" description = "Provides Buildpack trait for defining Cloud Native Buildpacks for Stencila" version = "0.0.0" edition = "2021" [dependencies] dirs = "4.0.0" eyre = "0.6.5" fs-utils = { path = "../fs-utils", version = "0.0.0" } libcnb = { git = ...
[package] name = "buildpack" description = "Provides Buildpack trait for defining Cloud Native Buildpacks for Stencila" version = "0.0.0" edition = "2021" [dependencies] dirs = "4.0.0" eyre = "0.6.5" fs-utils = { path = "../fs-utils", version = "0.0.0" } libcnb = { git = "https://github.com/nokome/libcnb.rs/", rev = "...
<|file_sep|>original/rust/buildpack/Cargo.toml [package] name = "buildpack" description = "Provides Buildpack trait for defining Cloud Native Buildpacks for Stencila" version = "0.0.0" edition = "2021" [dependencies] dirs = "4.0.0" eyre = "0.6.5" fs-utils = { path = "../fs-utils", version = "0.0.0" } libcnb = { git = ...
8b3a72a9a82080ae0459dc9b23f21efac4d4ac29
rust/buildpack/Cargo.toml
rust/buildpack/Cargo.toml
TOML
<|file_sep|>original/downstream-farmer/client.py from heartbeat import Challenge, Heartbeat from .utils import urlify from .exc import DownstreamError class DownstreamClient(object): def __init__(self, server_url): self.server = server_url.strip('/') self.challenges = [] def connect(self, ur...
from heartbeat import Challenge, Heartbeat from .utils import urlify from .exc import DownstreamError class DownstreamClient(object): def __init__(self, server_url): self.server = server_url.strip('/') self.challenges = [] self.heartbeat = None def connect(self, url): raise N...
<|file_sep|>original/downstream-farmer/client.py from heartbeat import Challenge, Heartbeat from .utils import urlify from .exc import DownstreamError class DownstreamClient(object): def __init__(self, server_url): self.server = server_url.strip('/') self.challenges = [] def connect(self, ur...
e6e40df6e23f6623c4672b9ec3aab982f5588c8c
downstream-farmer/client.py
downstream-farmer/client.py
Python
<|file_sep|>original/README.rst :target: `PyPI link`_ .. image:: https://img.shields.io/pypi/pyversions/zipp.svg :target: `PyPI link`_ .. _PyPI link: https://pypi.org/project/zipp .. image:: https://github.com/jaraco/zipp/workflows/tests/badge.svg :target: https://github.com/jaraco/zipp/actions?query=workfl...
:target: `PyPI link`_ .. image:: https://img.shields.io/pypi/pyversions/zipp.svg :target: `PyPI link`_ .. _PyPI link: https://pypi.org/project/zipp .. image:: https://github.com/jaraco/zipp/workflows/tests/badge.svg :target: https://github.com/jaraco/zipp/actions?query=workflow%3A%22tests%22 :alt: tests ...
<|file_sep|>original/README.rst :target: `PyPI link`_ .. image:: https://img.shields.io/pypi/pyversions/zipp.svg :target: `PyPI link`_ .. _PyPI link: https://pypi.org/project/zipp .. image:: https://github.com/jaraco/zipp/workflows/tests/badge.svg :target: https://github.com/jaraco/zipp/actions?query=workfl...
2158b059669a7abfce0a485c647d822a51ca7a9c
README.rst
README.rst
reStructuredText
<|file_sep|>original/project.clj (defproject nasa-cmr/cmr-umm-lib "0.1.0-SNAPSHOT" :description "The UMM (Unified Metadata Model) Library is responsible for defining the common domain model for Metadata Concepts in the CMR along with code to parse and generate the various dialects of eac...
(defproject nasa-cmr/cmr-umm-lib "0.1.0-SNAPSHOT" :description "The UMM (Unified Metadata Model) Library is responsible for defining the common domain model for Metadata Concepts in the CMR along with code to parse and generate the various dialects of each concept." :url "***REMOVED***...
<|file_sep|>original/project.clj (defproject nasa-cmr/cmr-umm-lib "0.1.0-SNAPSHOT" :description "The UMM (Unified Metadata Model) Library is responsible for defining the common domain model for Metadata Concepts in the CMR along with code to parse and generate the various dialects of eac...
3ea8f8bd69aea48900ef22903e0881eb678e3833
project.clj
project.clj
Clojure
<|file_sep|>cache/lru_test.go.diff original: updated: format := func(idx int) string { return strings.Repeat(fmt.Sprintf("%016d", idx), 16) } <|file_sep|>cache/lru_test.go.diff original: l.Set(strings.Repeat(fmt.Sprintf("%016d", idx), 16)) updated: l.Set(format(idx)) <|file_sep|>original/cache/lru_test.go im...
} l := NewLRUCache(1024 * 1024) for idx := 0; idx < 100000; idx++ { l.Set(format(idx)) } if l.Size() > 2*1024*1024 { t.Fatal(l.Size()) } if l.Count() > 5000 { t.Fatal(l.Size()) } for idx := 99000; idx < 100000; idx++ { if l.Get(format(idx)) == "" { t.Fatal("Item should be in the cache: " + forma...
<|file_sep|>cache/lru_test.go.diff original: updated: format := func(idx int) string { return strings.Repeat(fmt.Sprintf("%016d", idx), 16) } <|file_sep|>cache/lru_test.go.diff original: l.Set(strings.Repeat(fmt.Sprintf("%016d", idx), 16)) updated: l.Set(format(idx)) <|file_sep|>original/cache/lru_test.go im...
680c733882cab51fea3faa7086b053a85df83251
cache/lru_test.go
cache/lru_test.go
Go
<|file_sep|>original/themes/CherryTea.org/prepare.php <?php /** * @package CherryTea.org * @category themes * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @copyright Copyright (c) 2015, Nazar Mokrynskyi * @license MIT License, see license.txt */ namespace cs; $Page = Page::instance(); /** * @var _SE...
<?php /** * @package CherryTea.org * @category themes * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @copyright Copyright (c) 2015, Nazar Mokrynskyi * @license MIT License, see license.txt */ namespace cs; $Page = Page::instance(); /** * @var _SERVER $_SERVER */ if (preg_match('/msie|trident/i', $_...
<|file_sep|>original/themes/CherryTea.org/prepare.php <?php /** * @package CherryTea.org * @category themes * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @copyright Copyright (c) 2015, Nazar Mokrynskyi * @license MIT License, see license.txt */ namespace cs; $Page = Page::instance(); /** * @var _SE...
d7132ec90cb2c6dd717f58d17ede9c6bad485072
themes/CherryTea.org/prepare.php
themes/CherryTea.org/prepare.php
PHP
<|file_sep|>README.md.diff original: 2. Using [Vundle](https://github.com/gmarik/vundle), the Vim plugin manager: updated: 2. Using [Vundle](https://github.com/gmarik/vundle), the Vim plugin manager:<br /> `echo "Bundle 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +BundleInstall` <|file_sep|>original/README.md -------...
------------ Heads Up! WakaTime depends on [Python](http://www.python.org/getit/) being installed to work correctly. 1. Get an api key from: https://wakatime.com/#apikey 2. Using [Vundle](https://github.com/gmarik/vundle), the Vim plugin manager:<br /> `echo "Bundle 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +Bun...
<|file_sep|>README.md.diff original: 2. Using [Vundle](https://github.com/gmarik/vundle), the Vim plugin manager: updated: 2. Using [Vundle](https://github.com/gmarik/vundle), the Vim plugin manager:<br /> `echo "Bundle 'wakatime/vim-wakatime'" >> ~/.vimrc && vim +BundleInstall` <|file_sep|>original/README.md -------...
95601cbbabdf006b0c646faf4e45f9b770164999
README.md
README.md
Markdown
<|file_sep|>original/webmaker-download-locales.js var utils = require("./lib/utils"); module.exports = function(options, callback) { utils.list_files(options, function(err, objects) { if (err) { callback(err); return; } var q = async.queue(function(translation, callback) { var local_pa...
var utils = require("./lib/utils"); module.exports = function(options, callback) { utils.list_files(options, function(err, objects) { if (err) { callback(err); return; } var q = async.queue(function(translation, callback) { var local_path_split = url.parse(translation).pathname.split("...
<|file_sep|>original/webmaker-download-locales.js var utils = require("./lib/utils"); module.exports = function(options, callback) { utils.list_files(options, function(err, objects) { if (err) { callback(err); return; } var q = async.queue(function(translation, callback) { var local_pa...
ac86b98535232756835e0e2b1df0a1c87dfc3529
webmaker-download-locales.js
webmaker-download-locales.js
JavaScript
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" script: make <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3...
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" script: make matrix: allow_failures: - python: "pypy3"
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3" script: make <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "nightly" - "pypy" - "pypy3...
942907ee02d22e357e639085ee805e0ccc698d61
.travis.yml
.travis.yml
YAML
<|file_sep|>contrib/src/ebml/rules.mak.diff original: updated: # libebml requires exceptions EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions" \ CPPFLAGS="" <|file_sep|>original/contrib/src/ebml/rules.mak $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2: $(call download,$(EBML_URL)) .sum-ebml: libebml-$(EBML_...
.sum-ebml: libebml-$(EBML_VERSION).tar.bz2 libebml: libebml-$(EBML_VERSION).tar.bz2 .sum-ebml $(UNPACK) $(APPLY) $(SRC)/ebml/ebml-pic.patch $(APPLY) $(SRC)/ebml/no-ansi.patch $(MOVE) # libebml requires exceptions EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions" \ CPPFLAGS="" .ebml: libebml ifdef HAVE_...
<|file_sep|>contrib/src/ebml/rules.mak.diff original: updated: # libebml requires exceptions EBML_EXTRA_FLAGS = CXXFLAGS="${CXXFLAGS} -fexceptions" \ CPPFLAGS="" <|file_sep|>original/contrib/src/ebml/rules.mak $(TARBALLS)/libebml-$(EBML_VERSION).tar.bz2: $(call download,$(EBML_URL)) .sum-ebml: libebml-$(EBML_...
9cd6a20525e417e166fd82437fbf5a04216f5559
contrib/src/ebml/rules.mak
contrib/src/ebml/rules.mak
Makefile
<|file_sep|>original/events/search_indexes.py return Event def prepare(self, obj): #obj.lang_keywords = obj.keywords.filter(language=get_language()) if obj.description: obj.description = strip_tags(obj.description) return super(EventIndex, self).prepare(obj) def ind...
#obj.lang_keywords = obj.keywords.filter(language=get_language()) if obj.description: obj.description = strip_tags(obj.description) return super(EventIndex, self).prepare(obj) def index_queryset(self, using=None): return self.get_model().objects.filter(publication_status...
<|file_sep|>original/events/search_indexes.py return Event def prepare(self, obj): #obj.lang_keywords = obj.keywords.filter(language=get_language()) if obj.description: obj.description = strip_tags(obj.description) return super(EventIndex, self).prepare(obj) def ind...
521b4fbec142306fad2347a5dd3a56aeec2f9498
events/search_indexes.py
events/search_indexes.py
Python
<|file_sep|>original/src/app/constants/index.js // Workflow State export const WORKFLOW_STATE_RUNNING = 'running'; export const WORKFLOW_STATE_PAUSED = 'paused'; export const WORKFLOW_STATE_IDLE = 'idle'; <|file_sep|>current/src/app/constants/index.js // Workflow State export const WORKFLOW_STATE_RUNNING = 'running'; e...
// Workflow State export const WORKFLOW_STATE_RUNNING = 'running'; export const WORKFLOW_STATE_PAUSED = 'paused'; export const WORKFLOW_STATE_IDLE = 'idle'; // Macro action export const MACRO_ACTION_START = 'start'; export const MACRO_ACTION_STOP = 'stop';
<|file_sep|>original/src/app/constants/index.js // Workflow State export const WORKFLOW_STATE_RUNNING = 'running'; export const WORKFLOW_STATE_PAUSED = 'paused'; export const WORKFLOW_STATE_IDLE = 'idle'; <|file_sep|>current/src/app/constants/index.js // Workflow State export const WORKFLOW_STATE_RUNNING = 'running'; e...
587dc3f78c3b100ed84476849de7fc9d59a2a865
src/app/constants/index.js
src/app/constants/index.js
JavaScript
<|file_sep|>lib/motion-sqlite3/result_set.rb.diff original: def columns columns = {} updated: def current_row row = {} <|file_sep|>lib/motion-sqlite3/result_set.rb.diff original: count = sqlite3_column_count(@handle.value) 0.upto(count-1) do |i| updated: column_count = sqlite3_colu...
name = sqlite3_column_name(@handle.value, i).to_sym type = sqlite3_column_type(@handle.value, i) case type when SQLITE_NULL row[name] = nil when SQLITE_TEXT row[name] = sqlite3_column_text(@handle.value, i) when SQLITE_BLOB row[name] = NSDat...
<|file_sep|>lib/motion-sqlite3/result_set.rb.diff original: def columns columns = {} updated: def current_row row = {} <|file_sep|>lib/motion-sqlite3/result_set.rb.diff original: count = sqlite3_column_count(@handle.value) 0.upto(count-1) do |i| updated: column_count = sqlite3_colu...
02a5860d2ec1f9675aaa68dbc25eeb2ad8d93765
lib/motion-sqlite3/result_set.rb
lib/motion-sqlite3/result_set.rb
Ruby
<|file_sep|>packages/op/opencog-atomspace.yaml.diff original: hash: e4f10c917c43e26fd698436b7d9a4948519fb59a8c8361c96a26e3e27c7e9cdc updated: hash: 7572f139c45c5b44716114b9169fa35303a3368db7c569c7e15e055aecc382ef <|file_sep|>packages/op/opencog-atomspace.yaml.diff original: updated: - '0.1.0.4' <|file_sep|>original/pa...
basic-deps: base: ! '>=4.5 && <5' transformers: ! '>=0.3' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.0.2' - '0.1.0.3' - '0.1.0.4' author: Marcos Pividori latest: '0.1.0.4' description-type: haddock description: ! 'This library defines Haskell Bindings for the AtomSpace. For more information on Haskell Binding...
<|file_sep|>packages/op/opencog-atomspace.yaml.diff original: hash: e4f10c917c43e26fd698436b7d9a4948519fb59a8c8361c96a26e3e27c7e9cdc updated: hash: 7572f139c45c5b44716114b9169fa35303a3368db7c569c7e15e055aecc382ef <|file_sep|>packages/op/opencog-atomspace.yaml.diff original: updated: - '0.1.0.4' <|file_sep|>original/pa...
0842d39c2a57ee135af1369e1bf974fddd712739
packages/op/opencog-atomspace.yaml
packages/op/opencog-atomspace.yaml
YAML
<|file_sep|>original/_layouts/work_post.html {{ content | markdownify }} <hr class="star-primary"> <ul class="list-inline item-details"> <li class="list-inline-item">Tags: </li> {% for tag in page.tags %} <li cl...
{{ content | markdownify }} <hr class="star-primary"> <ul class="list-inline item-details"> <li class="list-inline-item">Tags: </li> {% for tag in page.tags %} <li class="list-inline-item text-muted"> ...
<|file_sep|>original/_layouts/work_post.html {{ content | markdownify }} <hr class="star-primary"> <ul class="list-inline item-details"> <li class="list-inline-item">Tags: </li> {% for tag in page.tags %} <li cl...
2553c505e79d119367ffc6f58c1e891ba2f2ca80
_layouts/work_post.html
_layouts/work_post.html
HTML
<|file_sep|>original/chrome-cordova/plugins/framework-google-plus/plugin.xml <plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="org.chromium.frameworks.googleplus" version="1.0.0"> <engines> <engine name="cordova" version=">=3.0.0" /> </engines> <name>Google Plus iOS Framework Plugin</name>...
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="org.chromium.frameworks.googleplus" version="1.0.0"> <engines> <engine name="cordova" version=">=3.0.0" /> </engines> <name>Google Plus iOS Framework Plugin</name> <platform name="ios"> <dependency id="org.chromium.frameworks.googleo...
<|file_sep|>original/chrome-cordova/plugins/framework-google-plus/plugin.xml <plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="org.chromium.frameworks.googleplus" version="1.0.0"> <engines> <engine name="cordova" version=">=3.0.0" /> </engines> <name>Google Plus iOS Framework Plugin</name>...
496c814f4a731c52c809aeb3de0c0ba145adbb6f
chrome-cordova/plugins/framework-google-plus/plugin.xml
chrome-cordova/plugins/framework-google-plus/plugin.xml
XML
<|file_sep|>original/vendor/assets/javascripts/brainstem/loaders/model-loader.coffee window.Brainstem ?= {} class Brainstem.ModelLoader extends Brainstem.AbstractLoader _getCollectionName: -> @loadOptions.name.pluralize() _createObjects: -> id = @loadOptions.only[0] @internalObject = @storageManager....
window.Brainstem ?= {} class Brainstem.ModelLoader extends Brainstem.AbstractLoader _getCollectionName: -> @loadOptions.name.pluralize() _createObjects: -> id = @loadOptions.only[0] cachedModel = @storageManager.storage(@_getCollectionName()).get(id) if cachedModel && @loadOptions.model && cache...
<|file_sep|>original/vendor/assets/javascripts/brainstem/loaders/model-loader.coffee window.Brainstem ?= {} class Brainstem.ModelLoader extends Brainstem.AbstractLoader _getCollectionName: -> @loadOptions.name.pluralize() _createObjects: -> id = @loadOptions.only[0] @internalObject = @storageManager....
7ac0de4b8902915cc60ac2ed78c723890b1aa475
vendor/assets/javascripts/brainstem/loaders/model-loader.coffee
vendor/assets/javascripts/brainstem/loaders/model-loader.coffee
CoffeeScript
<|file_sep|>original/addon/components/smd-selector-button.js var label = get(this, 'label'); var leftPad = get(this, 'leftPad'); if (label < 10 && leftPad) { return '0' + label; } else { return label; } }), registerComponent: Ember.on('didInsertElement', function () { if (this.g...
var label = get(this, 'label'); var leftPad = get(this, 'leftPad'); if (label < 10 && leftPad) { return '0' + label; } else { return label; } }), registerComponent: Ember.on('didInsertElement', function () { console.log('register component'); if (this.get('selected') && this...
<|file_sep|>original/addon/components/smd-selector-button.js var label = get(this, 'label'); var leftPad = get(this, 'leftPad'); if (label < 10 && leftPad) { return '0' + label; } else { return label; } }), registerComponent: Ember.on('didInsertElement', function () { if (this.g...
e6077b2862af51ba3b4155dc5ddbf6c6ae4ca0cc
addon/components/smd-selector-button.js
addon/components/smd-selector-button.js
JavaScript
<|file_sep|>original/src/map/entities/burningfireplace.js var BurningFirePlace = Entity.extend({ HOURS_PER_LIGHTING: 6, timeStarted: 0, init: function () { this._super(); this.width = 96; this.height = 60; this.causesCollision = false; this.spriteHead = new Anima...
var BurningFirePlace = Entity.extend({ HOURS_PER_LIGHTING: 3, timeStarted: 0, init: function () { this._super(); this.width = 96; this.height = 60; this.causesCollision = false; this.spriteHead = new Animation('fireplace_lit', this.width, this.height, 10, 3, true...
<|file_sep|>original/src/map/entities/burningfireplace.js var BurningFirePlace = Entity.extend({ HOURS_PER_LIGHTING: 6, timeStarted: 0, init: function () { this._super(); this.width = 96; this.height = 60; this.causesCollision = false; this.spriteHead = new Anima...
d6872e5c6012825a4289f8f25419fa55709c2aa1
src/map/entities/burningfireplace.js
src/map/entities/burningfireplace.js
JavaScript
<|file_sep|>config/cronic.d/jobs.rb.diff original: # Hourly, with a gap during nightly computation cron '0 0-3,12-23 * * * UTC' do updated: # Run at 0100am daily cron '0 1 * * * UTC' do <|file_sep|>original/config/cronic.d/jobs.rb ScheduledJobs.run(:notebook_summaries) end # Notebook daily summaries # Run at 1230am ...
ScheduledJobs.run(:notebook_summaries) end # Notebook daily summaries # Run at 1230am daily cron '30 0 * * * UTC' do ScheduledJobs.run(:notebook_dailies) end # User click summaries # Run at 1235am daily cron '35 0 * * * UTC' do ScheduledJobs.run(:user_summaries) end # Notebook suggestions if Rails.env.producti...
<|file_sep|>config/cronic.d/jobs.rb.diff original: # Hourly, with a gap during nightly computation cron '0 0-3,12-23 * * * UTC' do updated: # Run at 0100am daily cron '0 1 * * * UTC' do <|file_sep|>original/config/cronic.d/jobs.rb ScheduledJobs.run(:notebook_summaries) end # Notebook daily summaries # Run at 1230am ...
d335970e6a67942683b4e2553cd4d054a72d4aa3
config/cronic.d/jobs.rb
config/cronic.d/jobs.rb
Ruby
<|file_sep|>original/bin/build-combined-ckan-mo.sh <|file_sep|>current/bin/build-combined-ckan-mo.sh <|file_sep|>updated/bin/build-combined-ckan-mo.sh
#!/bin/bash # Based on: # https://github.com/open-data/ckanext-canada/blob/master/bin/build-combined-ckan-mo.sh HERE=`dirname $0` msgcat --use-first \ "$HERE/../ckanext/sgdata/i18n/en_GB/LC_MESSAGES/ckan.po" \ "$HERE/../../ckan/ckan/i18n/en_GB/LC_MESSAGES/ckan.po" \ | msgfmt - -o "$HERE/../../ckan/ckan/i...
<|file_sep|>original/bin/build-combined-ckan-mo.sh <|file_sep|>current/bin/build-combined-ckan-mo.sh <|file_sep|>updated/bin/build-combined-ckan-mo.sh #!/bin/bash # Based on: # https://github.com/open-data/ckanext-canada/blob/master/bin/build-combined-ckan-mo.sh HERE=`dirname $0` msgcat --use-first \ "$HERE/.....
761d077c29a6c8e4c62270d87a7baf949a1dc1fd
bin/build-combined-ckan-mo.sh
bin/build-combined-ckan-mo.sh
Shell
<|file_sep|>original/tests/main.js var chai = require("chai"); var expect = chai.expect; var inspect = require("util").inspect; var Cluster = require('../cluster'); var cluster; describe("Init Test Suite", function() { it('should construct an instance', function() { cluster = new Cluster(); }); it...
var chai = require("chai"); var expect = chai.expect; var inspect = require("util").inspect; var Cluster = require('../cluster'); var cluster; describe("Init Test Suite", function() { it('should construct an instance', function() { cluster = new Cluster(); }); it('should deploy a worker per CPU co...
<|file_sep|>original/tests/main.js var chai = require("chai"); var expect = chai.expect; var inspect = require("util").inspect; var Cluster = require('../cluster'); var cluster; describe("Init Test Suite", function() { it('should construct an instance', function() { cluster = new Cluster(); }); it...
c0ebcd87bff4b9130e594b7a233a7918b40b8346
tests/main.js
tests/main.js
JavaScript
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - 7.0 - hhvm script: "make test" before_install: "composer install --dev" <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5....
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm script: "make test" before_install: "composer install --dev"
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - 7.0 - hhvm script: "make test" before_install: "composer install --dev" <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5....
31cc7368266a89f4e2f6ad68589b52673a0ec46e
.travis.yml
.travis.yml
YAML
<|file_sep|>ui/js/component/NavMenu.jsx.diff original: <span> <a onClick={this._toggleMenu}> {display}&emsp;<i className='fa fa-chevron-down'></i> </a> </span> updated: <a onClick={this._toggleMenu} onBlur={this._onBlur} tabIndex='-1'> {display}&emsp;<i className='fa ...
render : function () { var display = !!this.props.icon ? (<span><i className={'fa fa-lg ' + this.props.icon}></i>&ensp;{this.props.text}</span>) : (<span>{this.props.text}</span>); return ( <a onClick={this._toggleMenu} onBlur={this._onBlur} tabIndex='-1'> {display}&emsp;<i classNam...
<|file_sep|>ui/js/component/NavMenu.jsx.diff original: <span> <a onClick={this._toggleMenu}> {display}&emsp;<i className='fa fa-chevron-down'></i> </a> </span> updated: <a onClick={this._toggleMenu} onBlur={this._onBlur} tabIndex='-1'> {display}&emsp;<i className='fa ...
6072c763d88f102c5f887b82f5978289aaae1090
ui/js/component/NavMenu.jsx
ui/js/component/NavMenu.jsx
JSX
<|file_sep|>original/develop_requirements.txt ansible==2.8.5 pip==19.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.8 tox==3.14.0 coverage==4.5.4 Sphinx==2.2.0 twine==2.0.0 rstcheck==3.3.1 pycodestyle==2.5.0 pylint==2.4.2 <|file_sep|>current/develop_requirements.txt ansible==2.8.5 pip==19.3 wheel==0.33.6 watchdog==0.9.0 f...
ansible==2.8.6 pip==19.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.8 tox==3.14.0 coverage==4.5.4 Sphinx==2.2.0 twine==2.0.0 rstcheck==3.3.1 pycodestyle==2.5.0 pylint==2.4.2
<|file_sep|>original/develop_requirements.txt ansible==2.8.5 pip==19.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.8 tox==3.14.0 coverage==4.5.4 Sphinx==2.2.0 twine==2.0.0 rstcheck==3.3.1 pycodestyle==2.5.0 pylint==2.4.2 <|file_sep|>current/develop_requirements.txt ansible==2.8.5 pip==19.3 wheel==0.33.6 watchdog==0.9.0 f...
027e6f57f39dcaa18db49741ab8e808e5dc4f6a7
develop_requirements.txt
develop_requirements.txt
Text
<|file_sep|>original/eloqua/endpoints_v2.py 'path': '/assets/campaign', 'status': 201 }, 'update_campaign': { 'method': 'PUT', 'path': '/assets/campaign/{{campaign_id}}' }, 'activate_campaign': { 'method': 'POST', 'path': '/assets/campaign/active/{{campaig...
'path': '/assets/campaign', 'status': 201 }, 'update_campaign': { 'method': 'PUT', 'path': '/assets/campaign/{{campaign_id}}' }, 'activate_campaign': { 'method': 'POST', 'path': '/assets/campaign/active/{{campaign_id}}', 'valid_params': ['activateN...
<|file_sep|>original/eloqua/endpoints_v2.py 'path': '/assets/campaign', 'status': 201 }, 'update_campaign': { 'method': 'PUT', 'path': '/assets/campaign/{{campaign_id}}' }, 'activate_campaign': { 'method': 'POST', 'path': '/assets/campaign/active/{{campaig...
11d6bc9cbea154c7526c31c6cb4d88b102826cc9
eloqua/endpoints_v2.py
eloqua/endpoints_v2.py
Python
<|file_sep|>original/src/amputee.js /** * amputee.js * * Copyright © 2015 | Johnie Hjelm <johnie@hjelm.im */ // Get all amputee elements const amputee = document.getElementsByTagName('amputee'); /** * Ajax function * * @return {string} * @throws Will throw an error if the file does not exist. */ const httpGe...
/** * amputee.js * * Copyright © 2015 | Johnie Hjelm <johnie@hjelm.im> */ // Get all amputee elements const amputee = document.getElementsByTagName('amputee'); /** * Ajax function * * @return {string} * @throws Will throw an error if the file does not exist. */ const httpGet = url => { var xhr = new XMLHtt...
<|file_sep|>original/src/amputee.js /** * amputee.js * * Copyright © 2015 | Johnie Hjelm <johnie@hjelm.im */ // Get all amputee elements const amputee = document.getElementsByTagName('amputee'); /** * Ajax function * * @return {string} * @throws Will throw an error if the file does not exist. */ const httpGe...
710571ba802295c9d40da1809bbcdf84fe058130
src/amputee.js
src/amputee.js
JavaScript
<|file_sep|>original/README.md gem 'ruby_provisioning_api' And then execute: $ bundle Or install it yourself as: $ gem install ruby_provisioning_api ## Usage TODO: Write usage instructions here ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your...
And then execute: $ bundle Or install it yourself as: $ gem install ruby_provisioning_api ## Usage TODO: Write usage instructions here http://rdoc.info/github/digitalprog/ruby_provisioning_api/master/frames ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Co...
<|file_sep|>original/README.md gem 'ruby_provisioning_api' And then execute: $ bundle Or install it yourself as: $ gem install ruby_provisioning_api ## Usage TODO: Write usage instructions here ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your...
3f29929decfc52ec253e5ee8d34cfeeeae055d54
README.md
README.md
Markdown
<|file_sep|>original/package.json "description": "A framework for defining beautiful jQuery plugins in CoffeeScript.", "main": "pkg/sumatra.js", "scripts": { "test": "cake test" }, "repository": { "type": "git", "url": "git://github.com/tubbo/sumatra.git" }, "keywords": [ "jquery", "pl...
"main": "pkg/sumatra.js", "scripts": { "test": "cake test" }, "repository": { "type": "git", "url": "git://github.com/tubbo/sumatra.git" }, "keywords": [ "jquery", "plugin", "dsl" ], "author": "Tom Scott", "license": "MIT", "dependencies": { "coffee-script": "~1.6.1", ...
<|file_sep|>original/package.json "description": "A framework for defining beautiful jQuery plugins in CoffeeScript.", "main": "pkg/sumatra.js", "scripts": { "test": "cake test" }, "repository": { "type": "git", "url": "git://github.com/tubbo/sumatra.git" }, "keywords": [ "jquery", "pl...
437b30a19a574afb140b7fdb96e394695763f7f1
package.json
package.json
JSON
<|file_sep|>original/requirements_dev.txt pip==20.1.1 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.1.2 tox==3.18.0 coverage==5.2.1 PyYAML==5.3.1 pytest==5.4.3 <|file_sep|>current/requirements_dev.txt pip==20.1.1 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.1.2 tox==3.18.0 coverage==5.2.1 PyYAML==5.3...
pip==20.2 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.1.2 tox==3.18.0 coverage==5.2.1 PyYAML==5.3.1 pytest==5.4.3
<|file_sep|>original/requirements_dev.txt pip==20.1.1 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.1.2 tox==3.18.0 coverage==5.2.1 PyYAML==5.3.1 pytest==5.4.3 <|file_sep|>current/requirements_dev.txt pip==20.1.1 wheel==0.34.2 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.1.2 tox==3.18.0 coverage==5.2.1 PyYAML==5.3...
fdfff414e8f450fe6ebd44ea8e27815b874a43e5
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/build.sbt import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.12.6" version := "0.1.74" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesaf...
import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.12.6" version := "0.1.75" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesafe.play" %% "play-json" % "2.6.9...
<|file_sep|>original/build.sbt import com.github.retronym.SbtOneJar._ oneJarSettings name := "api-build" organization := "io.flow" scalaVersion in ThisBuild := "2.12.6" version := "0.1.74" exportJars := true lazy val root = project .in(file(".")) .settings( libraryDependencies ++= Seq( "com.typesaf...
93139f66d64bf9b12a76104e7dec1ca74ca7ba49
build.sbt
build.sbt
Scala
<|file_sep|>original/Cargo.toml [dependencies] uuid = { version = "0.8", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.15" serde = "1" serde_json = "1" s...
[dependencies] uuid = { version = "0.8", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.15" serde = "1" serde_json = "1" serde_derive = "1" validator = "0...
<|file_sep|>original/Cargo.toml [dependencies] uuid = { version = "0.8", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.15" serde = "1" serde_json = "1" s...
f1f0a384332a69e4db8956d2bf4e9b8457293fc0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/alacritty/alacritty.yml font: normal: family: Fira Code style: Regular bold: family: Fira Code style: Bold italic: family: Fira Code style: Italic bold_italic: family: Fira Code style: Bold Italic size: 14.0 colors: # Default colors primary: # hard...
alt_send_esc: false font: normal: family: Fira Code style: Regular bold: family: Fira Code style: Bold italic: family: Fira Code style: Italic bold_italic: family: Fira Code style: Bold Italic size: 14.0 colors: # Default colors primary: # hard contrast: background = ...
<|file_sep|>original/alacritty/alacritty.yml font: normal: family: Fira Code style: Regular bold: family: Fira Code style: Bold italic: family: Fira Code style: Italic bold_italic: family: Fira Code style: Bold Italic size: 14.0 colors: # Default colors primary: # hard...
43b31f0a9c8fe23d95d193c7d5125a15a75b75bc
alacritty/alacritty.yml
alacritty/alacritty.yml
YAML
<|file_sep|>original/docs/applications/overview.md # Applications All devices and workflows belong to a single application. Users can have multiple applications as needed. [Dashboards](/dashboards/overview) do not belong to an application since a single dashboard can contain graphs and blocks for several different app...
# Applications All devices and workflows belong to a single application. Users can have multiple applications as needed. [Dashboards](/dashboards/overview) do not belong to an application since a single dashboard can contain graphs and blocks for several different applications. ## Creating Applications Application c...
<|file_sep|>original/docs/applications/overview.md # Applications All devices and workflows belong to a single application. Users can have multiple applications as needed. [Dashboards](/dashboards/overview) do not belong to an application since a single dashboard can contain graphs and blocks for several different app...
3863bb6a750a507966ee8073d7f97c6fd871965b
docs/applications/overview.md
docs/applications/overview.md
Markdown
<|file_sep|>original/README.md #CrestScribe A EVE Online CREST service worker that copies down data from CREST for later usage. The target usage is retrieving character location data. This C# application is meant to run as a Windows service that performs its job in the background. ##Requirements Visual Studio 2015...
#CrestScribe A EVE Online CREST service worker that copies down data from CREST for later usage. The target usage is retrieving character location data. This C# application is meant to run as a Windows service that performs its job in the background. ##Requirements Visual Studio 2015 MySQL .NET Framework 4.5.2
<|file_sep|>original/README.md #CrestScribe A EVE Online CREST service worker that copies down data from CREST for later usage. The target usage is retrieving character location data. This C# application is meant to run as a Windows service that performs its job in the background. ##Requirements Visual Studio 2015...
9048e1aaa09251baed35e6a8262db6f69875cba6
README.md
README.md
Markdown
<|file_sep|>.doctrine-project.json.diff original: "branchName": "develop", updated: "branchName": "master", <|file_sep|>original/.doctrine-project.json "docsSlug": "doctrine-dbal", "versions": [ { "name": "3.0", "branchName": "develop", "slug":...
"docsSlug": "doctrine-dbal", "versions": [ { "name": "3.0", "branchName": "master", "slug": "latest", "upcoming": true }, { "name": "2.10", "branchName": "2.10", "slug": "2.10", "current": tru...
<|file_sep|>.doctrine-project.json.diff original: "branchName": "develop", updated: "branchName": "master", <|file_sep|>original/.doctrine-project.json "docsSlug": "doctrine-dbal", "versions": [ { "name": "3.0", "branchName": "develop", "slug":...
7afe5f5971dfffd58d2751b90226637b92e5147b
.doctrine-project.json
.doctrine-project.json
JSON
<|file_sep|>lib/redis-store.rb.diff original: updated: # ActionDispatch::Session <|file_sep|>lib/redis-store.rb.diff original: # ActionDispatch::Session updated: <|file_sep|>original/lib/redis-store.rb require "rack/session/redis" if defined?(Merb) require "rack/session/merb" end end if ::Redis::Store.ra...
require "rack/session/redis" if defined?(Merb) require "rack/session/merb" end end # ActionDispatch::Session if ::Redis::Store.rails3? require "action_controller/session/redis_session_store" end # Rack::Cache if defined?(Rack::Cache) require "rack/cache/key" require "rack/cache/redis_metastore" requ...
<|file_sep|>lib/redis-store.rb.diff original: updated: # ActionDispatch::Session <|file_sep|>lib/redis-store.rb.diff original: # ActionDispatch::Session updated: <|file_sep|>original/lib/redis-store.rb require "rack/session/redis" if defined?(Merb) require "rack/session/merb" end end if ::Redis::Store.ra...
633df130e4fc074e19becbb324d93ee1204ba9d9
lib/redis-store.rb
lib/redis-store.rb
Ruby
<|file_sep|>original/src/OctopushApplication.php <|file_sep|>current/src/OctopushApplication.php <|file_sep|>updated/src/OctopushApplication.php
<?php class OctopushApplication extends Silex\Application { public function isPaused() { return file_exists($this['config']['control_file']); } public function pause() { $success = true; $success = file_put_contents($this['config']['control_file'], 'pause'); ...
<|file_sep|>original/src/OctopushApplication.php <|file_sep|>current/src/OctopushApplication.php <|file_sep|>updated/src/OctopushApplication.php <?php class OctopushApplication extends Silex\Application { public function isPaused() { return file_exists($this['config']['control_file']); } p...
4f0008c9f6cc09a8384cb7fd8a5eeab610b4f4e0
src/OctopushApplication.php
src/OctopushApplication.php
PHP
<|file_sep|>original/drf_writable_nested/__init__.py __title__ = 'DRF writable nested' __version__ = '0.4.3' __author__ = 'beda.software' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2014-2018 beda.software' # Version synonym VERSION = __version__ from .mixins import NestedUpdateMixin, NestedCreateMixin f...
__title__ = 'DRF writable nested' __version__ = '0.4.3' __author__ = 'beda.software' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2014-2018 beda.software' # Version synonym VERSION = __version__ from .mixins import NestedUpdateMixin, NestedCreateMixin, UniqueFieldsMixin from .serializers import WritableNe...
<|file_sep|>original/drf_writable_nested/__init__.py __title__ = 'DRF writable nested' __version__ = '0.4.3' __author__ = 'beda.software' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2014-2018 beda.software' # Version synonym VERSION = __version__ from .mixins import NestedUpdateMixin, NestedCreateMixin f...
99ef8377b5bf540542efe718a4eb4345a4b4d5a4
drf_writable_nested/__init__.py
drf_writable_nested/__init__.py
Python
<|file_sep|>dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as.diff original: updated: import org.flexunit.asserts.assertFalse; <|file_sep|>dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as.diff original: updated: import org.hamcrest.assertThat; impor...
compositeCloneableClass = null; compositeCloneableClassType = null; } [Test] public function findingAllWritableFieldsForType():void { const writableFields:Vector.<Field> = Cloner.findAllWritableFieldsForType(compositeCloneableClassType); assertNotNull(writableFields); assertEquals(4, writableFields.length...
<|file_sep|>dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as.diff original: updated: import org.flexunit.asserts.assertFalse; <|file_sep|>dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as.diff original: updated: import org.hamcrest.assertThat; impor...
5ea2fefddeb6cd9681f0e8bdc2fd5c7214105327
dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as
dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as
ActionScript
<|file_sep|>original/.travis.yml sudo: required language: generic services: - docker script: - docker build -t lab41/base-notebook 01_base_notebook - docker build -t lab41/tensorflow-notebook 02_deep_learning after_success: - echo "TRAVIS_BRANCH\: $TRAVIS_BRANCH"; echo "TRAVIS_REPO_SLUG\: $TRAVIS_REPO_S...
sudo: required language: generic services: - docker script: - docker build -t lab41/base-notebook 01_base_notebook - docker build -t lab41/tensorflow-notebook 02_deep_learning after_success: - echo "TRAVIS_BRANCH\: $TRAVIS_BRANCH"; echo "TRAVIS_REPO_SLUG\: $TRAVIS_REPO_SLUG" - if [ "$TRAVIS_BRANCH" ==...
<|file_sep|>original/.travis.yml sudo: required language: generic services: - docker script: - docker build -t lab41/base-notebook 01_base_notebook - docker build -t lab41/tensorflow-notebook 02_deep_learning after_success: - echo "TRAVIS_BRANCH\: $TRAVIS_BRANCH"; echo "TRAVIS_REPO_SLUG\: $TRAVIS_REPO_S...
c2f2f5bca3b4a792ac5bfeaa69c181e35e54c196
.travis.yml
.travis.yml
YAML
<|file_sep|>src/errors.rs.diff original: display("invalid child element '{}' in {}", child, String::from(*parent)) updated: display("invalid child element '{}' in {}", child, parent) <|file_sep|>original/src/errors.rs //! errors provides error generics for the gpx parser. // This gives us our e...
//! errors provides error generics for the gpx parser. // This gives us our error boilerplate macros. error_chain!{ errors { /// InvalidChildElement signifies when an element has a child that isn't /// valid per the GPX spec. InvalidChildElement(child: String, parent: &'static str) { ...
<|file_sep|>src/errors.rs.diff original: display("invalid child element '{}' in {}", child, String::from(*parent)) updated: display("invalid child element '{}' in {}", child, parent) <|file_sep|>original/src/errors.rs //! errors provides error generics for the gpx parser. // This gives us our e...
2fd8e8870a10e31bbf71708c50a90ec19abd22bd
src/errors.rs
src/errors.rs
Rust
<|file_sep|>original/readme.md ## Install * Install Node and NPM. [Cross platform install how-to](http://blog.nodeknockout.com/post/65463770933/how-to-install-nodejs-and-npm) * Once that's working... * Install node dependencies for this project: `$ npm install --global yo gulp bower gulp-jade` * Run `$ bower install` t...
## Install * Install Node and NPM. [Cross platform install how-to](http://blog.nodeknockout.com/post/65463770933/how-to-install-nodejs-and-npm) * Once that's working... * Install node dependencies for this project: `$ npm install --global yo gulp bower gulp-jade` * Run `$ bower install` to install frontend dependencies...
<|file_sep|>original/readme.md ## Install * Install Node and NPM. [Cross platform install how-to](http://blog.nodeknockout.com/post/65463770933/how-to-install-nodejs-and-npm) * Once that's working... * Install node dependencies for this project: `$ npm install --global yo gulp bower gulp-jade` * Run `$ bower install` t...
11522e01ac293c4b78d433f91938ce2200491b39
readme.md
readme.md
Markdown
<|file_sep|>app/src/main/res/anim/button_anim.xml.diff original: android:toXScale = "0.9" updated: android:toXScale = "0.85" <|file_sep|>app/src/main/res/anim/button_anim.xml.diff original: android:toYScale = "0.9" updated: android:toYScale = "0.85" <|file_sep|>original/app/src/main/res/...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"> <scale android:fromXScale = "1" android:toXScale = "0.85" android:fromYScale = "1" android:toYScale = "0.85" android:pivotX="50%" android:pivotY="50%" andro...
<|file_sep|>app/src/main/res/anim/button_anim.xml.diff original: android:toXScale = "0.9" updated: android:toXScale = "0.85" <|file_sep|>app/src/main/res/anim/button_anim.xml.diff original: android:toYScale = "0.9" updated: android:toYScale = "0.85" <|file_sep|>original/app/src/main/res/...
419b271d64d435a089e84b7590269956563caf63
app/src/main/res/anim/button_anim.xml
app/src/main/res/anim/button_anim.xml
XML
<|file_sep|>original/README.md Installation ------------ ```composer require "moc/notfound:~2.0"``` Create a page with the URI segment "404" in the root of your site. If using content dimensions with URI segments, ensure a page exists in all contexts or through fallbacks. Alternatively set the following configuratio...
Installation ------------ ```composer require "moc/notfound:~2.0"``` Create a page with the URI segment "404" in the root of your site. If using content dimensions with URI segments, ensure a page exists in all contexts or through fallbacks. Alternatively set the following configuration in ``Settings.yaml``: ```yam...
<|file_sep|>original/README.md Installation ------------ ```composer require "moc/notfound:~2.0"``` Create a page with the URI segment "404" in the root of your site. If using content dimensions with URI segments, ensure a page exists in all contexts or through fallbacks. Alternatively set the following configuratio...
1620dbe58bb8246600632e4954f7ee567d2e5065
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml sudo: required services: - docker language: python python: 3.6 before_install: - docker-compose -v - docker -v matrix: include: - name: Test results script: tox -e py36 - name: Run flake8 on result script: tox -e flake8 - name: Run black on result ...
dist: xenial services: - docker language: python python: 3.6 before_install: - docker-compose -v - docker -v matrix: include: - name: Test results script: tox -e py36 - name: Run flake8 on result script: tox -e flake8 - name: Run black on result script: tox -e black
<|file_sep|>original/.travis.yml sudo: required services: - docker language: python python: 3.6 before_install: - docker-compose -v - docker -v matrix: include: - name: Test results script: tox -e py36 - name: Run flake8 on result script: tox -e flake8 - name: Run black on result ...
1c5392d334c920eb42f05d09908f1256ef7fe06b
.travis.yml
.travis.yml
YAML
<|file_sep|>bower.json.diff original: updated: "firebase": "~1.0.2", "firebase-simple-login": "~1.2.3" }, "devDependencies": { <|file_sep|>original/bower.json { "name": "angularfire", "version": "0.6.0", "main": ["./angularfire.js"], "ignore": ["Gruntfile.js", "package.js", "tests", "README.md", "....
{ "name": "angularfire", "version": "0.6.0", "main": ["./angularfire.js"], "ignore": ["Gruntfile.js", "package.js", "tests", "README.md", ".travis.yml"], "dependencies": { "angular": "~1.2.0", "firebase": "~1.0.2", "firebase-simple-login": "~1.2.3" }, "devDependencies": { "angular-mocks" :...
<|file_sep|>bower.json.diff original: updated: "firebase": "~1.0.2", "firebase-simple-login": "~1.2.3" }, "devDependencies": { <|file_sep|>original/bower.json { "name": "angularfire", "version": "0.6.0", "main": ["./angularfire.js"], "ignore": ["Gruntfile.js", "package.js", "tests", "README.md", "....
07e78ef276a8defb6b0ec01615ea868dc3c2e40b
bower.json
bower.json
JSON
<|file_sep|>original/public/gist.css #editor { height: 500px; } #contents { background-color: #fff; margin-top: 6px; border: 1px solid #e7e7e7; box-shadow: 0 1px 3px 0 #eee; border-radius: 3px; margin-bottom: 12px; display: block; white-space: pre; overflow: scroll; } .contents-spacer { height: ...
#editor { height: 500px; } #contents { background-color: #fff; margin-top: 6px; border: 1px solid #e7e7e7; box-shadow: 0 1px 3px 0 #eee; border-radius: 3px; margin-bottom: 12px; display: block; white-space: pre; } .contents-spacer { height: 6px; width: 35px; border-right: 1px solid #eee; }
<|file_sep|>original/public/gist.css #editor { height: 500px; } #contents { background-color: #fff; margin-top: 6px; border: 1px solid #e7e7e7; box-shadow: 0 1px 3px 0 #eee; border-radius: 3px; margin-bottom: 12px; display: block; white-space: pre; overflow: scroll; } .contents-spacer { height: ...
2fa5fca8d5d5edf98f323607f830188de50207d1
public/gist.css
public/gist.css
CSS
<|file_sep|>original/.travis.yml # # Configuration file for Travis CI # http://travis-ci.org/ # language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 after_success: - cd wikihtml ; mvn clean cobertura:cobertura coveralls:report <|file_sep|>current/.travis.yml # # Configuration file for Travis CI # ht...
# # Configuration file for Travis CI # http://travis-ci.org/ # language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 install: - mvn install -DskipTests=true -Dmaven.javadoc.skip=false -B -V after_success: - cd wikihtml ; mvn clean cobertura:cobertura coveralls:report
<|file_sep|>original/.travis.yml # # Configuration file for Travis CI # http://travis-ci.org/ # language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 after_success: - cd wikihtml ; mvn clean cobertura:cobertura coveralls:report <|file_sep|>current/.travis.yml # # Configuration file for Travis CI # ht...
89b01aae5a151b4b4fa986f129a8ed8f567bd592
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/chrome/lib/help-page.js function HelpPage(chromeTabs, extensionURL) { this.showHelpForError = function (tab, error) { if (error instanceof h.LocalFileError) { return this.showLocalFileHelpPage(tab); } else if (error instanceof h.NoFileAccessError) { retu...
function HelpPage(chromeTabs, extensionURL) { this.showHelpForError = function (tab, error) { if (error instanceof h.LocalFileError) { return this.showLocalFileHelpPage(tab); } else if (error instanceof h.NoFileAccessError) { return this.showNoFileAccessHelpPage(tab); } ...
<|file_sep|>original/src/chrome/lib/help-page.js function HelpPage(chromeTabs, extensionURL) { this.showHelpForError = function (tab, error) { if (error instanceof h.LocalFileError) { return this.showLocalFileHelpPage(tab); } else if (error instanceof h.NoFileAccessError) { retu...
fb44adf35090e3e03fa80cdc0cf585b611d458e5
src/chrome/lib/help-page.js
src/chrome/lib/help-page.js
JavaScript
<|file_sep|>Cargo.toml.diff original: version = "0.10.6" # don't forget to update version in readme for breaking changes updated: version = "0.10.7" # don't forget to update version in readme for breaking changes <|file_sep|>original/Cargo.toml aster = [] expand = ["full", "parsing", "printing"] full = ["type-macros"] ...
aster = [] expand = ["full", "parsing", "printing"] full = ["type-macros"] parsing = ["unicode-xid"] pretty = ["syntex_syntax"] printing = ["quote"] type-macros = [] visit = [] [dependencies] clippy = { version = "0.*", optional = true } quote = { version = "0.3.0", optional = true } syntex_syntax = { version = "0.52....
<|file_sep|>Cargo.toml.diff original: version = "0.10.6" # don't forget to update version in readme for breaking changes updated: version = "0.10.7" # don't forget to update version in readme for breaking changes <|file_sep|>original/Cargo.toml aster = [] expand = ["full", "parsing", "printing"] full = ["type-macros"] ...
07c7341b0a0a4b5801f6957d168f36b70905e3e0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.github/workflows/build-macos.yml <|file_sep|>current/.github/workflows/build-macos.yml <|file_sep|>updated/.github/workflows/build-macos.yml
name: "Build on macOS" on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: macos-latest strategy: matrix: build_config: [Debug, Release] steps: - name: Check out repositry uses: actions/checkout@v2 with: subm...
<|file_sep|>original/.github/workflows/build-macos.yml <|file_sep|>current/.github/workflows/build-macos.yml <|file_sep|>updated/.github/workflows/build-macos.yml name: "Build on macOS" on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: macos-latest strategy: ...
8dc68576e73529612bca146f2b5855504e93f2f5
.github/workflows/build-macos.yml
.github/workflows/build-macos.yml
YAML
<|file_sep|>original/application/templates/login.html {% block body_content %} {% from "_macros.html" import render_field, render_hidden %} <h1 class="heading-large">Civil Service Digital</h1> <p class="text">Helping you manage your professional life as a civil servant online, with easy access at work, at home a...
{% extends "base.html" %} {% block body_content %} {% from "_macros.html" import render_field, render_hidden %} <h1 class="heading-large">Civil Service Digital</h1> <p class="text">Helping you manage your professional life as a civil servant online, with easy access at work, at home and on the move.</p> <div ...
<|file_sep|>original/application/templates/login.html {% block body_content %} {% from "_macros.html" import render_field, render_hidden %} <h1 class="heading-large">Civil Service Digital</h1> <p class="text">Helping you manage your professional life as a civil servant online, with easy access at work, at home a...
78e7daf0ce7859c17b3736be7f59196e07730b6b
application/templates/login.html
application/templates/login.html
HTML
<|file_sep|>src/main/webapp/peers.html.diff original: updated: <h2>Peers</h2> <|file_sep|>original/src/main/webapp/peers.html <div ng-controller="PeerCtrl"> <div> <ul> <li ng-repeat="peer in peers">{{peer}}</li> </ul> </div> <div> <ul> <li ng-repeat...
<div ng-controller="PeerCtrl"> <div> <h2>Peers</h2> <ul> <li ng-repeat="peer in peers">{{peer}}</li> </ul> </div> <div> <h2>Transactions</h2> <ul> <li ng-repeat="tx in transactions">{{tx.hash}}</li> </ul> </div> </div> <script sr...
<|file_sep|>src/main/webapp/peers.html.diff original: updated: <h2>Peers</h2> <|file_sep|>original/src/main/webapp/peers.html <div ng-controller="PeerCtrl"> <div> <ul> <li ng-repeat="peer in peers">{{peer}}</li> </ul> </div> <div> <ul> <li ng-repeat...
f6363d0e8cbd57051ec05fda01f14ea6e305d632
src/main/webapp/peers.html
src/main/webapp/peers.html
HTML
<|file_sep|>original/package.json "scripts": { "test": "make test-all" }, "dependencies": { "commander": "0.6.1", "growl": "1.7.x", "jade": "0.26.3", "diff": "1.0.2", "debug": "*", "mkdirp": "0.3.5", "glob": "3.2.1" }, "devDependencies": { "should": "*", "coffee-script"...
"scripts": { "test": "make test-all" }, "dependencies": { "commander": "0.6.1", "growl": "1.7.x", "jade": "0.26.3", "diff": "1.0.2", "debug": "*", "mkdirp": "0.3.5", "glob": "3.2.3" }, "devDependencies": { "should": "*", "coffee-script": "1.2" }, "files": [ "bin...
<|file_sep|>original/package.json "scripts": { "test": "make test-all" }, "dependencies": { "commander": "0.6.1", "growl": "1.7.x", "jade": "0.26.3", "diff": "1.0.2", "debug": "*", "mkdirp": "0.3.5", "glob": "3.2.1" }, "devDependencies": { "should": "*", "coffee-script"...
2d8831ec280f4042148b9d34f07f29b2d41858ee
package.json
package.json
JSON
<|file_sep|>containers/ws/release.sh.diff original: TAG=$(date +%Y-%m-%d) $RUNC build -t quay.io/cockpit/ws:$TAG containers/ws updated: $RUNC build -t quay.io/cockpit/ws:release containers/ws <|file_sep|>containers/ws/release.sh.diff original: $RUNC run --name $name -p 19999:9090 -d quay.io/cockpit/ws:$TAG updated: $RU...
$RUNC build -t quay.io/cockpit/ws:release containers/ws # smoke test name=ws-release $RUNC run --name $name -p 19999:9090 -d quay.io/cockpit/ws:release until curl --fail --show-error -k --head https://localhost:19999; do sleep 1 done # determine cockpit version TAG=$($RUNC exec $name cockpit-bridge --version | se...
<|file_sep|>containers/ws/release.sh.diff original: TAG=$(date +%Y-%m-%d) $RUNC build -t quay.io/cockpit/ws:$TAG containers/ws updated: $RUNC build -t quay.io/cockpit/ws:release containers/ws <|file_sep|>containers/ws/release.sh.diff original: $RUNC run --name $name -p 19999:9090 -d quay.io/cockpit/ws:$TAG updated: $RU...
d1686822a033c969e058dd44bb7ad95178994324
containers/ws/release.sh
containers/ws/release.sh
Shell
<|file_sep|>original/tests/test_unicode.py logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) class UnicodePathTest(unittest.TestCase): def setUp(self): tempdir = tempfile.mkdtemp() self.dir = os.path.join(tempdir, 'français') shutil.copytree('docs/data/', self.dir) def tearD...
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) class UnicodePathTest(unittest.TestCase): def setUp(self): tempdir = tempfile.mkdtemp() self.dir = os.path.join(tempdir, 'français') shutil.copytree('docs/data/', self.dir) def tearDown(self): shutil.rmtree(os.path.di...
<|file_sep|>original/tests/test_unicode.py logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) class UnicodePathTest(unittest.TestCase): def setUp(self): tempdir = tempfile.mkdtemp() self.dir = os.path.join(tempdir, 'français') shutil.copytree('docs/data/', self.dir) def tearD...
0b6cdcf91783e562d1da230e7658ba43b6ed5543
tests/test_unicode.py
tests/test_unicode.py
Python
<|file_sep|>original/context/index.js var index = {}; nodes.forEach(function (n) { index[joinId(n.getId())] = n; }); var id = joinId(file.getId()); var children = index[id].getNestedNodes().map(function (c) { return node(c, index); }); ...
var index = {}; nodes.forEach(function (n) { index[joinId(n.getId())] = n; }); var id = joinId(file.getId()); var children = index[id].getNestedNodes().map(function (c) { return node(c, index); }); trees.push({ na...
<|file_sep|>original/context/index.js var index = {}; nodes.forEach(function (n) { index[joinId(n.getId())] = n; }); var id = joinId(file.getId()); var children = index[id].getNestedNodes().map(function (c) { return node(c, index); }); ...
97adfe5fe4f4fb2c1a874c047ce380dc3f13fcac
context/index.js
context/index.js
JavaScript
<|file_sep|>original/_posts/2021-10-18-from-java-to-kotlin.md title: "From Java to Kotlin" guest: Nat Pryce and Duncan McGregor recorded: 2021-09-30 published: 2021-10-18 trackid: 1143725359 youtubeid: YGmBTQMGUhA length: "46:43" length_rounded: "46 mins" tags: [JavaToKotlin, Server-Side, Coroutines] image: java-to-k...
title: "From Java to Kotlin" guest: Nat Pryce and Duncan McGregor recorded: 2021-09-30 published: 2021-10-18 trackid: 1143725359 youtubeid: YGmBTQMGUhA length: "46:43" length_rounded: "46 mins" tags: [JavaToKotlin, Server-Side, Coroutines] image: java-to-kotlin.png description: "In this episode we talk to Nat Pryce a...
<|file_sep|>original/_posts/2021-10-18-from-java-to-kotlin.md title: "From Java to Kotlin" guest: Nat Pryce and Duncan McGregor recorded: 2021-09-30 published: 2021-10-18 trackid: 1143725359 youtubeid: YGmBTQMGUhA length: "46:43" length_rounded: "46 mins" tags: [JavaToKotlin, Server-Side, Coroutines] image: java-to-k...
9a4d16798b98f9bde6d6b4550f7790d58d550be9
_posts/2021-10-18-from-java-to-kotlin.md
_posts/2021-10-18-from-java-to-kotlin.md
Markdown
<|file_sep|>packages/ba/basen.yaml.diff original: homepage: https://github.com/LibreCybernetics/basen-hs#readme updated: homepage: https://gitlab.com/LibreCybernetics/lib/basen-hs#readme <|file_sep|>packages/ba/basen.yaml.diff original: hash: 4bea1e86c1a682e1b275d5d26b7ad750f9102f161e02c3edf8bc4415b86cce0b updated: has...
text: ! '>=1.2.3.1 && <1.3' basen: -any tasty-hspec: -any quickcheck-instances: -any tasty-quickcheck: -any tasty: -any maintainer: LibreCybernetics synopsis: '' changelog: '' basic-deps: bytestring: ! '>=0.10.8.2 && <0.11' base: ! '>=4.12.0.0 && <4.14' text: ! '>=1.2.3.1 && <1.3' basen: -any all-ve...
<|file_sep|>packages/ba/basen.yaml.diff original: homepage: https://github.com/LibreCybernetics/basen-hs#readme updated: homepage: https://gitlab.com/LibreCybernetics/lib/basen-hs#readme <|file_sep|>packages/ba/basen.yaml.diff original: hash: 4bea1e86c1a682e1b275d5d26b7ad750f9102f161e02c3edf8bc4415b86cce0b updated: has...
6edbdafa66f3880e6eb640d3c2eb0c22fe94065a
packages/ba/basen.yaml
packages/ba/basen.yaml
YAML
<|file_sep|>original/app/assets/javascripts/admin_panel.js var AdminPanel = function() { var self = this; $('.admin_toggle').change(function() { self.togglePrivileges(this, $(this).data('url'), 'admin', this.checked); }); $('.instructor_toggle').change(function() { console.log('stub'); ...
var AdminPanel = function() { var self = this; $('.admin_toggle').change(function() { self.togglePrivileges(this, $(this).data('url'), 'admin', this.checked); }); $('.instructor_toggle').change(function() { self.togglePrivileges(this, $(this).data('url'), 'instructor', this.checked); ...
<|file_sep|>original/app/assets/javascripts/admin_panel.js var AdminPanel = function() { var self = this; $('.admin_toggle').change(function() { self.togglePrivileges(this, $(this).data('url'), 'admin', this.checked); }); $('.instructor_toggle').change(function() { console.log('stub'); ...
bccb1bbca876ac094c5d950d08803e8b9159716f
app/assets/javascripts/admin_panel.js
app/assets/javascripts/admin_panel.js
JavaScript
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 install: - pip install --user -r requirements.txt <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 install: - pip install --user -r requirements.txt <|file_sep|>updated/.travis.yml
language: java # Trying to get a newer Java 8 version than u31... addons: apt: packages: - oracle-java8-installer jdk: - oraclejdk8 install: - pip install --user -r requirements.txt
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 install: - pip install --user -r requirements.txt <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 install: - pip install --user -r requirements.txt <|file_sep|>updated/.travis.yml language: java # Trying to get a newer Java 8 vers...
0a50dbe09549d54865eb4a5580f1be12f996d477
.travis.yml
.travis.yml
YAML
<|file_sep|>original/layouts/index.html <!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} <main> {{range $paginator.Pages }} <article class="article-excerpt"> <header class=...
<!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }} <main> {{range $paginator.Pages }} <article class="article-excerpt"> <header class="article-header"> <h1><a ...
<|file_sep|>original/layouts/index.html <!----*- engine:go -*---> <!DOCTYPE html> {{ template "partials/head.html" . }} {{ template "partials/header.html" . }} {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} <main> {{range $paginator.Pages }} <article class="article-excerpt"> <header class=...
1234d6630c43da4d4ebaebf50dc25f7c789d03b0
layouts/index.html
layouts/index.html
HTML
<|file_sep|>src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs.diff original: using System; using System.Reflection; updated: <|file_sep|>src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs.diff original: static AspN...
{ public AspNetCoreAutofacDependencyInjectionMiddleware(OwinMiddleware next) : base(next) { } public override async Task Invoke(IOwinContext context) { HttpContext aspNetCoreContext = (HttpContext)context.Environment["Microsoft.AspNetCore.Http.HttpCo...
<|file_sep|>src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs.diff original: using System; using System.Reflection; updated: <|file_sep|>src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs.diff original: static AspN...
bbb4b412fff0d3e6a61a6ef42f1349f1cd0316da
src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs
src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs
C#
<|file_sep|>.travis.yml.diff original: - "4" - "5" updated: <|file_sep|>original/.travis.yml sudo: required dist: trusty language: node_js node_js: - "4" - "5" - "6" - "7" script: - yarn run test - yarn run lint services: - redis <|file_sep|>current/.travis.yml sudo: required dist: trusty language: n...
sudo: required dist: trusty language: node_js node_js: - "6" - "7" - "8" - "9" script: - yarn run test - yarn run lint services: - redis
<|file_sep|>.travis.yml.diff original: - "4" - "5" updated: <|file_sep|>original/.travis.yml sudo: required dist: trusty language: node_js node_js: - "4" - "5" - "6" - "7" script: - yarn run test - yarn run lint services: - redis <|file_sep|>current/.travis.yml sudo: required dist: trusty language: n...
4ec2519ef1218953e8436447dc3e832ebde50103
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/pi/pipes-sqlite-simple.yaml <|file_sep|>current/packages/pi/pipes-sqlite-simple.yaml <|file_sep|>updated/packages/pi/pipes-sqlite-simple.yaml
homepage: '' changelog-type: '' hash: 5f611da534f9718ba3a793c7791a26e8e660828b465a286395b2d9715b54bacc test-bench-deps: {} maintainer: nkpart@gmail.com synopsis: Functions that smash Pipes and sqlite-simple together changelog: '' basic-deps: base: ! '>=4.7 && <4.10' sqlite-simple: ! '>=0.4.8.0 && <0.5' text: ! '>...
<|file_sep|>original/packages/pi/pipes-sqlite-simple.yaml <|file_sep|>current/packages/pi/pipes-sqlite-simple.yaml <|file_sep|>updated/packages/pi/pipes-sqlite-simple.yaml homepage: '' changelog-type: '' hash: 5f611da534f9718ba3a793c7791a26e8e660828b465a286395b2d9715b54bacc test-bench-deps: {} maintainer: nkpart@gmai...
75c3c81285595de8330d5442426b5ec2e4cfe594
packages/pi/pipes-sqlite-simple.yaml
packages/pi/pipes-sqlite-simple.yaml
YAML
<|file_sep|>original/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java <|file_sep|>current/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java <|file_sep|>updated/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java
package com.fasterxml.jackson.failing; import com.fasterxml.jackson.core.BaseTest; import com.fasterxml.jackson.core.JsonPointer; // For https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51806 // (via databind, but we don't need that) public class Fuzz51806JsonPointerParseTest extends BaseTest { // Before fix...
<|file_sep|>original/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java <|file_sep|>current/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java <|file_sep|>updated/src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java package com.fasterxm...
327be0dbefef275f5d2ccbbc87c8f26122b36092
src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java
src/test/java/com/fasterxml/jackson/failing/Fuzz51806JsonPointerParseTest.java
Java
<|file_sep|>original/requirements.txt FontTools==3.28.0 ufoLib==2.1.1 fontMath==0.4.5 defcon[pens]==0.5.1 <|file_sep|>current/requirements.txt FontTools==3.28.0 ufoLib==2.1.1 fontMath==0.4.5 defcon[pens]==0.5.1 <|file_sep|>updated/requirements.txt
FontTools==3.28.0 ufoLib==2.2.1 fontMath==0.4.5 defcon[pens]==0.5.1
<|file_sep|>original/requirements.txt FontTools==3.28.0 ufoLib==2.1.1 fontMath==0.4.5 defcon[pens]==0.5.1 <|file_sep|>current/requirements.txt FontTools==3.28.0 ufoLib==2.1.1 fontMath==0.4.5 defcon[pens]==0.5.1 <|file_sep|>updated/requirements.txt FontTools==3.28.0 ufoLib==2.2.1 fontMath==0.4.5 defcon[pens]==0.5.1
de3a6dbfd2a3e60abb1cf0ef9d2407d5c060589e
requirements.txt
requirements.txt
Text
<|file_sep|>original/app/views/history/_word.html.slim li class="word weight-#{word.weight}" = link_to word.name.strip, "/?q=#{ word.name }" <|file_sep|>current/app/views/history/_word.html.slim li class="word weight-#{word.weight}" = link_to word.name.strip, "/?q=#{ word.name }" <|file_sep|>updated/app/views/histo...
li> class="word weight-#{word.weight}" = link_to word.name.strip, "/?q=#{ word.name }"
<|file_sep|>original/app/views/history/_word.html.slim li class="word weight-#{word.weight}" = link_to word.name.strip, "/?q=#{ word.name }" <|file_sep|>current/app/views/history/_word.html.slim li class="word weight-#{word.weight}" = link_to word.name.strip, "/?q=#{ word.name }" <|file_sep|>updated/app/views/histo...
87f5f6c2726902e6268d5dc32a8d7bec53ed4536
app/views/history/_word.html.slim
app/views/history/_word.html.slim
Slim
<|file_sep|>original/Contentinum/Controller/ContentinumAbstractController.php <|file_sep|>current/Contentinum/Controller/ContentinumAbstractController.php <|file_sep|>updated/Contentinum/Controller/ContentinumAbstractController.php
<?php /** * contentinum - accessibility websites * * LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. ...
<|file_sep|>original/Contentinum/Controller/ContentinumAbstractController.php <|file_sep|>current/Contentinum/Controller/ContentinumAbstractController.php <|file_sep|>updated/Contentinum/Controller/ContentinumAbstractController.php <?php /** * contentinum - accessibility websites * * LICENSE * * THIS SOFTWARE IS...
5f57e5ad819e6e4ead8999765868a41ef1115f0e
Contentinum/Controller/ContentinumAbstractController.php
Contentinum/Controller/ContentinumAbstractController.php
PHP
<|file_sep|>original/AssignmentFiles/Current_Steps.md # ITMD362 - Human Computer Interaction and Web Design ## Team: The Three Stooges and Renée ### Project 3: Web Portal Redesign #### Deliverable 2: Task analysis ##### Project description: Our team has elected to redesign the student timesheet submittal process on (ht...
# ITMD362 - Human Computer Interaction and Web Design ## Team: The Three Stooges and Renée ### Project 3: Web Portal Redesign #### Deliverable 2: Task analysis ##### Project description: Our team has elected to redesign the student timesheet submittal process on (http://my.iit.edu.). The current steps to submit a time...
<|file_sep|>original/AssignmentFiles/Current_Steps.md # ITMD362 - Human Computer Interaction and Web Design ## Team: The Three Stooges and Renée ### Project 3: Web Portal Redesign #### Deliverable 2: Task analysis ##### Project description: Our team has elected to redesign the student timesheet submittal process on (ht...
ec7831b23f63d80154f1fb4b2f69f102272b84a0
AssignmentFiles/Current_Steps.md
AssignmentFiles/Current_Steps.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - pip install nose coverage coveralls <|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sudo apt-get update - git clone --recursive https://github.com/ipython/ipython.git install: - sudo apt-get install libzmq3-dev - cd ipyth...
language: python python: - "2.7" before_install: - sudo apt-get update - git clone --recursive https://github.com/ipython/ipython.git install: - sudo apt-get install libzmq3-dev - cd ipython && pip install -e ".[notebook]" && cd .. - pip install -r requirements.txt - pip install nose coverage coveralls sc...
<|file_sep|>.travis.yml.diff original: updated: - pip install nose coverage coveralls <|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sudo apt-get update - git clone --recursive https://github.com/ipython/ipython.git install: - sudo apt-get install libzmq3-dev - cd ipyth...
6f92fb8d33f4f3439196b25745621c68d73dd4cc
.travis.yml
.travis.yml
YAML
<|file_sep|>config.json.diff original: "active": false, updated: "active": true, <|file_sep|>original/config.json { "slug": "erlang", "language": "Erlang", "repository": "https://github.com/exercism/xerlang", "active": false, "problems": [ ], "deprecated": [ ], "ignored": [ "_test" ], "f...
{ "slug": "erlang", "language": "Erlang", "repository": "https://github.com/exercism/xerlang", "active": true, "problems": [ "leap", "rna-transcription", "accumulate", "bob", "point-mutations", "anagram", "nucleotide-count", "phone-number", "grade-school", "word-count",...
<|file_sep|>config.json.diff original: "active": false, updated: "active": true, <|file_sep|>original/config.json { "slug": "erlang", "language": "Erlang", "repository": "https://github.com/exercism/xerlang", "active": false, "problems": [ ], "deprecated": [ ], "ignored": [ "_test" ], "f...
5e1a310d59e4b8be6be51561ee8ad156177a122e
config.json
config.json
JSON
<|file_sep|>original/lib/roger_themes.rb require "roger_themes/version" module RogerThemes # Your code goes here... end <|file_sep|>current/lib/roger_themes.rb require "roger_themes/version" module RogerThemes # Your code goes here... end <|file_sep|>updated/lib/roger_themes.rb
require "roger_themes/version" module RogerThemes # Your code goes here... end require "roger_themes/middleware" require "roger_themes/processor" require "roger_themes/xc_finalizer"
<|file_sep|>original/lib/roger_themes.rb require "roger_themes/version" module RogerThemes # Your code goes here... end <|file_sep|>current/lib/roger_themes.rb require "roger_themes/version" module RogerThemes # Your code goes here... end <|file_sep|>updated/lib/roger_themes.rb require "roger_themes/version" mod...
e337c184fa497c76963e2cb9985e6386401de74b
lib/roger_themes.rb
lib/roger_themes.rb
Ruby
<|file_sep|>original/tests/legacy-cli/e2e/tests/misc/webpack-5.ts import { rimraf } from '../../utils/fs'; import { killAllProcesses, ng, silentYarn } from '../../utils/process'; import { ngServe, updateJsonFile } from '../../utils/project'; export default async function() { // Currently disabled as it breaks tslib ...
import { rimraf } from '../../utils/fs'; import { killAllProcesses, ng, silentYarn } from '../../utils/process'; import { ngServe, updateJsonFile } from '../../utils/project'; export default async function() { // Setup project for yarn usage await rimraf('node_modules'); await updateJsonFile('package.json', (jso...
<|file_sep|>original/tests/legacy-cli/e2e/tests/misc/webpack-5.ts import { rimraf } from '../../utils/fs'; import { killAllProcesses, ng, silentYarn } from '../../utils/process'; import { ngServe, updateJsonFile } from '../../utils/project'; export default async function() { // Currently disabled as it breaks tslib ...
533ff171cf68484b297b3169a9596ed5ed0c8475
tests/legacy-cli/e2e/tests/misc/webpack-5.ts
tests/legacy-cli/e2e/tests/misc/webpack-5.ts
TypeScript
<|file_sep|>original/README.md [![CircleCI Build Status](https://circleci.com/gh/busyorg/busy.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/busyorg/busy) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/busyorg/busy/new-design/LICENSE) [![B...
[![CircleCI Build Status](https://circleci.com/gh/busyorg/busy.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/busyorg/busy) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/busy/localized.svg)](https://translate.busy.org/project/busy) [![GitHub license](https://img.shields.io/badge/license-MIT-b...
<|file_sep|>original/README.md [![CircleCI Build Status](https://circleci.com/gh/busyorg/busy.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/busyorg/busy) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/busyorg/busy/new-design/LICENSE) [![B...
70d09cf5f28bbe16339aa3b8c585c0a6dbe00dc4
README.md
README.md
Markdown
<|file_sep|>original/weechat-android/res/xml/preferences.xml <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <EditTextPreference android:key="host" android:title="Relay Host"/> <EditTextPreference android:key="port" android:title="Relay Port"...
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <EditTextPreference android:key="host" android:title="Relay Host"/> <EditTextPreference android:key="port" android:title="Relay Port"/> <EditTextPreference android:key="password" android:tit...
<|file_sep|>original/weechat-android/res/xml/preferences.xml <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > <EditTextPreference android:key="host" android:title="Relay Host"/> <EditTextPreference android:key="port" android:title="Relay Port"...
a4db3ad4b3c508ca04345416cb60d15795f3df4d
weechat-android/res/xml/preferences.xml
weechat-android/res/xml/preferences.xml
XML
<|file_sep|>setup.py.diff original: updated: # -*- coding: utf-8 -*- <|file_sep|>setup.py.diff original: updated: from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f....
from setuptools import setup from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup(name='pyW215', version='0.4', description='Interface for d-li...
<|file_sep|>setup.py.diff original: updated: # -*- coding: utf-8 -*- <|file_sep|>setup.py.diff original: updated: from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f....
3e717a2a77dcf18f9a281e68462b5809010e1835
setup.py
setup.py
Python
<|file_sep|>original/.github/release-drafter.yml <|file_sep|>current/.github/release-drafter.yml <|file_sep|>updated/.github/release-drafter.yml
# See https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc _extends: jenkinsci/.github # Semantic versioning: https://semver.org/ version-template: $MAJOR.$MINOR.$PATCH tag-template: v$NEXT_MINOR_VERSION name-template: v$NEXT_MINOR_VERSION
<|file_sep|>original/.github/release-drafter.yml <|file_sep|>current/.github/release-drafter.yml <|file_sep|>updated/.github/release-drafter.yml # See https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc _extends: jenkinsci/.github # Semantic versioning: https://semver.org/ version-template...
0a99c9e8e2a800cf924cfc4d8970ceb1932434fa
.github/release-drafter.yml
.github/release-drafter.yml
YAML
<|file_sep|>original/README.markdown # docker-postgres-osm The base postgres image from Docker with extensions for importing OpenStreetMap data. ## Build Instructions Can be built from the Dockerfile: # docker build -t openfirmware/postgres-osm github.com/openfirmware/docker-postgres-osm.git ## Running Postgre...
# docker-postgres-osm The base postgres image from Docker with extensions for importing OpenStreetMap data. ## Build Instructions Can be built from the Dockerfile: # docker build -t openfirmware/postgres-osm github.com/openfirmware/docker-postgres-osm.git ## Running Postgres (TODO) ## Related Docker Images ...
<|file_sep|>original/README.markdown # docker-postgres-osm The base postgres image from Docker with extensions for importing OpenStreetMap data. ## Build Instructions Can be built from the Dockerfile: # docker build -t openfirmware/postgres-osm github.com/openfirmware/docker-postgres-osm.git ## Running Postgre...
d94ad00d6f1cd9d8dfb6403643f51b5dd76cfc37
README.markdown
README.markdown
Markdown
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0
06f9f694027bc9b45528258cea4cef1d6033eafd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json { "name": "tuupola/slim-skeleton", "description": "Slim 3 + Datamapper + Monolog REST API skeleton", "type": "project", "keywords": [ "slim", "skeleton" ], "homepage": "https://github.com/tuupola/slim-api-skeleton", "license": "MIT", "au...
{ "name": "tuupola/slim-api-skeleton", "description": "Slim 3 + Spot + Monolog API skeleton", "type": "project", "keywords": [ "slim", "skeleton" ], "homepage": "https://github.com/tuupola/slim-api-skeleton", "license": "MIT", "authors": [ { "name": "M...
<|file_sep|>original/composer.json { "name": "tuupola/slim-skeleton", "description": "Slim 3 + Datamapper + Monolog REST API skeleton", "type": "project", "keywords": [ "slim", "skeleton" ], "homepage": "https://github.com/tuupola/slim-api-skeleton", "license": "MIT", "au...
763ae18e58dde05ac2d85efda950bdd7ec0e8d66
composer.json
composer.json
JSON
<|file_sep|>original/Cargo.toml gapbuffer= "0.1.1" log = "0.3.6" serde = "0.8.1" serde_json = "0.8.1" slog = "1.3.2" slog-json = "1.2.1" slog-term = "1.3.3" slog-scope = "*" time = "0.1.35" [dependencies.clippy] version = "0.0.112" optional = true [dependencies.uuid] version = "0.3.1" features = ["v4"] [dependencies...
gapbuffer= "0.1.1" log = "0.3.6" serde = "0.8.1" serde_json = "0.8.1" slog = "1.3.2" slog-json = "1.2.1" slog-term = "1.3.3" slog-scope = "*" time = "0.1.35" [dependencies.clippy] version = "0.0.112" optional = true [dependencies.uuid] version = "0.3.1" features = ["v4"] [dependencies.clap] version = "2" features = ...
<|file_sep|>original/Cargo.toml gapbuffer= "0.1.1" log = "0.3.6" serde = "0.8.1" serde_json = "0.8.1" slog = "1.3.2" slog-json = "1.2.1" slog-term = "1.3.3" slog-scope = "*" time = "0.1.35" [dependencies.clippy] version = "0.0.112" optional = true [dependencies.uuid] version = "0.3.1" features = ["v4"] [dependencies...
9a5b183835c9b257171cca5900a8820f6b7293f0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>lib/carrierwave_accessors/orm/activerecord.rb.diff original: self.send(ar_store)[column.to_s] = identifier updated: self.__send__(ar_store)[column.to_s] = identifier <|file_sep|>original/lib/carrierwave_accessors/orm/activerecord.rb if ar_store ...
if ar_store self.__send__(ar_store)[column.to_s] = identifier else write_attribute(column, identifier) end end def read_uploader(column) ar_store = self.class.stored_attributes.find{|store, attributes| attri...
<|file_sep|>lib/carrierwave_accessors/orm/activerecord.rb.diff original: self.send(ar_store)[column.to_s] = identifier updated: self.__send__(ar_store)[column.to_s] = identifier <|file_sep|>original/lib/carrierwave_accessors/orm/activerecord.rb if ar_store ...
2543f8d5c32c671d3654fbe71112569bf1a31185
lib/carrierwave_accessors/orm/activerecord.rb
lib/carrierwave_accessors/orm/activerecord.rb
Ruby
<|file_sep|>spec/spec_helper.rb.diff original: updated: require 'simplecov' <|file_sep|>spec/spec_helper.rb.diff original: require 'simplecov' updated: <|file_sep|>original/spec/spec_helper.rb VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/requests' c.hook_into :faraday c.default_cassette_options ...
require 'simplecov' SimpleCov.start do add_group 'API', 'lib/evertrue/api' end VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/requests' c.hook_into :faraday c.default_cassette_options = { record: :new_episodes } c.configure_rspec_metadata! end RSpec.configure do |c| c.treat_symbols_as_metad...
<|file_sep|>spec/spec_helper.rb.diff original: updated: require 'simplecov' <|file_sep|>spec/spec_helper.rb.diff original: require 'simplecov' updated: <|file_sep|>original/spec/spec_helper.rb VCR.configure do |c| c.cassette_library_dir = 'spec/fixtures/requests' c.hook_into :faraday c.default_cassette_options ...
d49a6444a385167edf1c0ac84ffc2871d4047d8a
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>main.py.diff original: self.api.send_message(self.config.get_user_id(), "test") updated: self.api.send_message(self.config.get_admin_user_id(), "test") <|file_sep|>original/main.py def __send_request(self, command, **params): requests.get(self.base_url + command, params=params) ...
def __send_request(self, command, **params): requests.get(self.base_url + command, params=params) class Config: def __init__(self, config_dir): self.config_dir = config_dir + "/" def get_auth_token(self): return self.__get_config_value("auth_token") def get_admin_user_id(sel...
<|file_sep|>main.py.diff original: self.api.send_message(self.config.get_user_id(), "test") updated: self.api.send_message(self.config.get_admin_user_id(), "test") <|file_sep|>original/main.py def __send_request(self, command, **params): requests.get(self.base_url + command, params=params) ...
52c2205804d8dc38447bca1ccbf5599e00cd1d7b
main.py
main.py
Python
<|file_sep|>original/src/common/constants.js angular.module("sf.constants", []) .constant("appName", "Quill Writer") .constant("tagLine", "Learn by Writing Together") .constant("baseFbUrl", "https://storieswithfriends.firebaseio.com/") .constant("compassBaseURL", "http://api.compass.com") ; module.exports = ...
angular.module("sf.constants", []) .constant("appName", "Quill Writer") .constant("tagLine", "Learn by Writing Together") .constant("baseFbUrl", "https://quill-writer.firebaseio.com/") .constant("compassBaseURL", "http://api.compass.com") ; module.exports = 'sf.constants';
<|file_sep|>original/src/common/constants.js angular.module("sf.constants", []) .constant("appName", "Quill Writer") .constant("tagLine", "Learn by Writing Together") .constant("baseFbUrl", "https://storieswithfriends.firebaseio.com/") .constant("compassBaseURL", "http://api.compass.com") ; module.exports = ...
3ef180d20a467b0e6571cd1d0052362d361d3afa
src/common/constants.js
src/common/constants.js
JavaScript
<|file_sep|>original/README.md dynamo ====== [![Build Status](https://travis-ci.org/lord2800/dynamo.png?branch=master)](https://travis-ci.org/lord2800/dynamo) A PHP framework using dependency injection and PHP 5.5 generators <|file_sep|>current/README.md dynamo ====== [![Build Status](https://travis-ci.org/lord2800/...
dynamo ====== [![Build Status](https://travis-ci.org/lord2800/dynamo.png?branch=master)](https://travis-ci.org/lord2800/dynamo) [Code Coverage](https://lord2800.github.io/dynamo/coverage/) A PHP framework using dependency injection and PHP 5.5 generators
<|file_sep|>original/README.md dynamo ====== [![Build Status](https://travis-ci.org/lord2800/dynamo.png?branch=master)](https://travis-ci.org/lord2800/dynamo) A PHP framework using dependency injection and PHP 5.5 generators <|file_sep|>current/README.md dynamo ====== [![Build Status](https://travis-ci.org/lord2800/...
d5c1ad10331df53eb3736474f215ac53a1176a2b
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/devise/two_step_verification_session_controller.rb def create render(:show) && return if params[:code].nil? if current_user.authenticate_otp(params[:code]) expires_seconds = User::REMEMBER_2SV_SESSION_FOR if expires_seconds && expires_seconds > 0 cook...
def create render(:show) && return if params[:code].nil? if current_user.authenticate_otp(params[:code]) cookies.signed['remember_2sv_session'] = { value: { user_id: current_user.id, valid_until: User::REMEMBER_2SV_SESSION_FOR.from_now, secret_hash: Digest::SHA256...
<|file_sep|>original/app/controllers/devise/two_step_verification_session_controller.rb def create render(:show) && return if params[:code].nil? if current_user.authenticate_otp(params[:code]) expires_seconds = User::REMEMBER_2SV_SESSION_FOR if expires_seconds && expires_seconds > 0 cook...
215909b40a49278c8d0292a5bc450e02a3d7a508
app/controllers/devise/two_step_verification_session_controller.rb
app/controllers/devise/two_step_verification_session_controller.rb
Ruby
<|file_sep|>original/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java package org.cloudfoundry.operations; import org.junit.Test; import static org.cloudfoundry.operations.ValidationResult.Status.VALID; import static org.junit.Assert.assertEquals; public final class ListR...
@Test public void isValid() { ValidationResult result = ListRoutesRequest.builder() .level(ListRoutesRequest.Level.Organization) .build() .isValid(); assertEquals(VALID, result.getStatus()); } @Test public void isValidNoLevel() { ...
<|file_sep|>original/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java package org.cloudfoundry.operations; import org.junit.Test; import static org.cloudfoundry.operations.ValidationResult.Status.VALID; import static org.junit.Assert.assertEquals; public final class ListR...
198ed1dfba63f29d86ee9a5da03921f6253d1d4c
cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java
cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java
Java
<|file_sep|>original/docs/main/MessagingScenarios.rst Cons: - Not designed for scalability - No wildcard topic names .. image:: ../_static/moksha-messaging-stomp-amqp.png Pros - STOMP/AMQP broker briding Cons - Not very well tested - May or may not work as expected .. image:: ../_static/moksha-m...
Pros - STOMP/AMQP broker briding Cons - Not very well tested - May or may not work as expected .. image:: ../_static/moksha-messaging-amqp.png Pros: - Trivial to configure - 100% AMQP, from the browser to the broker - Flexibility and power of AMQP queues, exchanges, routing keys, etc. Cons: ...
<|file_sep|>original/docs/main/MessagingScenarios.rst Cons: - Not designed for scalability - No wildcard topic names .. image:: ../_static/moksha-messaging-stomp-amqp.png Pros - STOMP/AMQP broker briding Cons - Not very well tested - May or may not work as expected .. image:: ../_static/moksha-m...
c710db7515838adc69a1de6b6c0c07ab0a768e11
docs/main/MessagingScenarios.rst
docs/main/MessagingScenarios.rst
reStructuredText
<|file_sep|>update_test.go.diff original: s1 := Update(users, Values{"name": "client"}) updated: stmt := Update(users, Values{"name": "client"}) <|file_sep|>update_test.go.diff original: s1, updated: stmt, <|file_sep|>update_test.go.diff original: s2 := Update(users, values).Where(users.C["id"].Equals(1)) update...
expectedSQL( t, stmt, `UPDATE "users" SET "name" = $1 AND "password" = $2 WHERE "users"."id" = $3`, 3, ) // The statement should have an error if the values map is empty stmt = Update(users, Values{}) _, err := stmt.Compile(&defaultDialect{}, Params()) if err == nil { t.Fatalf("No error returned from c...
<|file_sep|>update_test.go.diff original: s1 := Update(users, Values{"name": "client"}) updated: stmt := Update(users, Values{"name": "client"}) <|file_sep|>update_test.go.diff original: s1, updated: stmt, <|file_sep|>update_test.go.diff original: s2 := Update(users, values).Where(users.C["id"].Equals(1)) update...
4653497dc470d2d9e10d16bf8450d83a47abd522
update_test.go
update_test.go
Go
<|file_sep|>README.md.diff original: updated: First, install Rust and Cargo. You can use the Rustup script, see [here](https://www.rust-lang.org/downloads.html), or on OS X you can simply install them via Homebrew like this: <|file_sep|>README.md.diff original: git clone https://github.com/elabs/partners.git cd partn...
All other alternatives we could find seem to be incomplete or unmaintained. ## Installation First, install Rust and Cargo. You can use the Rustup script, see [here](https://www.rust-lang.org/downloads.html), or on OS X you can simply install them via Homebrew like this: ``` sh brew install rust ``` Now install Part...
<|file_sep|>README.md.diff original: updated: First, install Rust and Cargo. You can use the Rustup script, see [here](https://www.rust-lang.org/downloads.html), or on OS X you can simply install them via Homebrew like this: <|file_sep|>README.md.diff original: git clone https://github.com/elabs/partners.git cd partn...
aa8c1a52b6e76a2e68c50dfa03fc1a6a00b63811
README.md
README.md
Markdown