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|>engines/standard_tasks/spec/models/paper_admin_task_spec.rb.diff
original:
let(:paper) { FactoryGirl.create(:paper, :with_tasks) }
updated:
let(:sally) { create :user }
let(:bob) { create :user }
let(:paper) { create(:paper, :with_tasks) }
let!(:role) { create(:paper_role, role: 'admin'... | let(:phase) { paper.phases.first }
let(:task) { StandardTasks::PaperAdminTask.create(phase: phase, assignee: bob, admin_id: bob.id) }
context "when paper admin is changed" do
it "will update paper and tasks" do
expect(task).to receive(:update_paper_admin_and_tasks)
# the admin was bo... | <|file_sep|>engines/standard_tasks/spec/models/paper_admin_task_spec.rb.diff
original:
let(:paper) { FactoryGirl.create(:paper, :with_tasks) }
updated:
let(:sally) { create :user }
let(:bob) { create :user }
let(:paper) { create(:paper, :with_tasks) }
let!(:role) { create(:paper_role, role: 'admin'... | 29f7f5c81c964c33cdd66c85460504c73c81e24d | engines/standard_tasks/spec/models/paper_admin_task_spec.rb | engines/standard_tasks/spec/models/paper_admin_task_spec.rb | Ruby |
<|file_sep|>original/tamia/classes.styl
// Tâmia © 2013 Artem Sapegin http://sapegin.me
// Helper classes
// Element is hidden.
.is-hidden
display: none
/// Element is in transit between hidden (.is-hidden) and visible.
.is-transit
display: block
// Disabled form element.
.is-disabled
cursor: default
pointer-eve... | // Tâmia © 2013 Artem Sapegin http://sapegin.me
// Helper classes
// Element is hidden.
.is-hidden
display: none
/// Element is in transit between hidden (.is-hidden) and visible.
.is-transit
display: block
&.l-center
display: table
// Disabled form element.
.is-disabled
cursor: default
pointer-events: none
... | <|file_sep|>original/tamia/classes.styl
// Tâmia © 2013 Artem Sapegin http://sapegin.me
// Helper classes
// Element is hidden.
.is-hidden
display: none
/// Element is in transit between hidden (.is-hidden) and visible.
.is-transit
display: block
// Disabled form element.
.is-disabled
cursor: default
pointer-eve... | cb2d85b4f4d47ffc527d28be1a76fea3b157397c | tamia/classes.styl | tamia/classes.styl | Stylus |
<|file_sep|>original/CONDUCT.md
<|file_sep|>current/CONDUCT.md
<|file_sep|>updated/CONDUCT.md | # Contributor Code of Conduct
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other acti... | <|file_sep|>original/CONDUCT.md
<|file_sep|>current/CONDUCT.md
<|file_sep|>updated/CONDUCT.md
# Contributor Code of Conduct
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posti... | 3e252056c504ceacecf16cb58e7b2f923e3924b8 | CONDUCT.md | CONDUCT.md | Markdown |
<|file_sep|>metadata/com.celzero.bravedns.yml.diff
original:
updated:
- versionName: 053h
versionCode: 19
commit: 161674b1cdbdd72fefee5edd953179a637e00f6f
subdir: app
gradle:
- fdroid
<|file_sep|>original/metadata/com.celzero.bravedns.yml
Repo: https://github.com/celzero/rethink-app
Builds:
... | gradle:
- fdroid
- versionName: 053g
versionCode: 18
commit: 63efbf6f5e014bef64b07836cc7e96aa9cf20dd8
subdir: app
gradle:
- fdroid
- versionName: 053h
versionCode: 19
commit: 161674b1cdbdd72fefee5edd953179a637e00f6f
subdir: app
gradle:
- fdroid
AutoUpdateMode... | <|file_sep|>metadata/com.celzero.bravedns.yml.diff
original:
updated:
- versionName: 053h
versionCode: 19
commit: 161674b1cdbdd72fefee5edd953179a637e00f6f
subdir: app
gradle:
- fdroid
<|file_sep|>original/metadata/com.celzero.bravedns.yml
Repo: https://github.com/celzero/rethink-app
Builds:
... | c4e3db27c0d98eee7573a26d749c1b8bb0e646a4 | metadata/com.celzero.bravedns.yml | metadata/com.celzero.bravedns.yml | YAML |
<|file_sep|>.mergify.yml.diff
original:
rules:
default:
protection:
required_status_checks:
contexts:
- continuous-integration/travis-ci
updated:
pull_request_rules:
- name: "Automatically merge pull requests that are green in Travis"
- conditions:
- "status-success=continuous-in... | pull_request_rules:
- name: "Automatically merge pull requests that are green in Travis"
- conditions:
- "status-success=continuous-integration/travis-ci"
# Because I'm not the only user of this repo, I don't care about reviews.
- "#approved-reviews-by>=0"
- actions:
merge:
metho... | <|file_sep|>.mergify.yml.diff
original:
rules:
default:
protection:
required_status_checks:
contexts:
- continuous-integration/travis-ci
updated:
pull_request_rules:
- name: "Automatically merge pull requests that are green in Travis"
- conditions:
- "status-success=continuous-in... | ba98541c8190cefa6e9fd59e42725346779bfaf8 | .mergify.yml | .mergify.yml | YAML |
<|file_sep|>original/wunder.py
<|file_sep|>current/wunder.py
<|file_sep|>updated/wunder.py | #!/usr/bin/env python
'''
Wunderground API command line script.
'''
import sys
import requests
# todo: raise error if no config file
from config import WUAPI
class Wunder(object):
''' Wunderground API class. '''
lookup_zip = 'http://api.wunderground.com/api/{}/geolookup/q/{}.json'
us_city_current_condi... | <|file_sep|>original/wunder.py
<|file_sep|>current/wunder.py
<|file_sep|>updated/wunder.py
#!/usr/bin/env python
'''
Wunderground API command line script.
'''
import sys
import requests
# todo: raise error if no config file
from config import WUAPI
class Wunder(object):
''' Wunderground API class. '''
lo... | c0fb4702f091e83f190ef84bb4f66c7521e83436 | wunder.py | wunder.py | Python |
<|file_sep|>README.md.diff
original:
updated:
## Install
$ sudo snap install ifps --edge
Note that this is an edge release, so it's available there only for brave early
adpoters that would like to help testing it.
<|file_sep|>README.md.diff
original:
### In Ubuntu
updated:
### In Ubuntu 16.04 or newer
<|file_sep... | $ sudo packman -S git
$ git clone https://github.com/elopio/ipfs-snap
$ cd ipfs-snap
Build the snap in a docker container:
$ docker run -v $(pwd):/cwd snapcore/snapcraft sh -c 'apt install software-properties-common wget -y && add-apt-repository -y ppa:gophers/archive && apt update && cd /cwd && snapc... | <|file_sep|>README.md.diff
original:
updated:
## Install
$ sudo snap install ifps --edge
Note that this is an edge release, so it's available there only for brave early
adpoters that would like to help testing it.
<|file_sep|>README.md.diff
original:
### In Ubuntu
updated:
### In Ubuntu 16.04 or newer
<|file_sep... | f7833fe6568e746916c9b65c3bb3a4f81be987ee | README.md | README.md | Markdown |
<|file_sep|>original/org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_insert.java
import io.usethesource.capsule.BinaryRelation;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.st... | import io.usethesource.capsule.BinaryRelation;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;
public class SSL_immutable_relation_insert extends AbstractPrimit... | <|file_sep|>original/org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_insert.java
import io.usethesource.capsule.BinaryRelation;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.st... | bd9e6c0bebf9d65471edc6851fa54d33eb46a38c | org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_insert.java | org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_insert.java | Java |
<|file_sep|>app/views/mas/feedback/_zendesk.html.erb.diff
original:
updated:
<%= javascript_include_tag 'mas/feedback/zenbox' %>
<|file_sep|>original/app/views/mas/feedback/_zendesk.html.erb
<% content_for header do %>
<%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
<%= stylesheet_link_tag 'mas/fee... | <% content_for header do %>
<%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
<%= stylesheet_link_tag 'mas/feedback/zenbox', media: :all %>
<%= javascript_include_tag 'mas/feedback/zenbox' %>
<% end %>
<script type="text/javascript">
if (typeof(Zenbox) !== "undefined") {
Zenbox.init({
dro... | <|file_sep|>app/views/mas/feedback/_zendesk.html.erb.diff
original:
updated:
<%= javascript_include_tag 'mas/feedback/zenbox' %>
<|file_sep|>original/app/views/mas/feedback/_zendesk.html.erb
<% content_for header do %>
<%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
<%= stylesheet_link_tag 'mas/fee... | e52f9932ff4e47186a0752d1d3c08d938f56101f | app/views/mas/feedback/_zendesk.html.erb | app/views/mas/feedback/_zendesk.html.erb | HTML+ERB |
<|file_sep|>original/examples/couchtato.js
exports.conf = {
"tasks": {
"all_docs": function (util, doc) {
console.log(doc);
}
}
};
<|file_sep|>current/examples/couchtato.js
exports.conf = {
"tasks": {
"all_docs": function (util, doc) {
console.log(doc);
}
}
};
<|file_sep|>updated/exa... | exports.conf = {
"tasks": {
"all_docs": function (util, doc) {
util.log(doc);
}
}
}; | <|file_sep|>original/examples/couchtato.js
exports.conf = {
"tasks": {
"all_docs": function (util, doc) {
console.log(doc);
}
}
};
<|file_sep|>current/examples/couchtato.js
exports.conf = {
"tasks": {
"all_docs": function (util, doc) {
console.log(doc);
}
}
};
<|file_sep|>updated/exa... | 0745e6cd4fc3efd0d6ae6f71a10f74db2f6eebfb | examples/couchtato.js | examples/couchtato.js | JavaScript |
<|file_sep|>original/slack-bot-server/server.rb
attr_accessor :team
def initialize(attrs = {})
@team = attrs[:team]
fail 'Missing team' unless @team
options = { token: @team.token }
super(options)
client.owner = @team
end
def restart!(wait = 1)
# when an integration... | attr_accessor :team
def initialize(attrs = {})
@team = attrs[:team]
fail 'Missing team' unless @team
options = { token: @team.token }
super(options)
client.owner = @team
end
def restart!(wait = 1)
# when an integration is disabled, a live socket is closed, which cau... | <|file_sep|>original/slack-bot-server/server.rb
attr_accessor :team
def initialize(attrs = {})
@team = attrs[:team]
fail 'Missing team' unless @team
options = { token: @team.token }
super(options)
client.owner = @team
end
def restart!(wait = 1)
# when an integration... | 726378e1b3c37c0e0ba0b99f4ce5aab3e2eca0bf | slack-bot-server/server.rb | slack-bot-server/server.rb | Ruby |
<|file_sep|>original/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff
<|file_sep|>current/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff
<|file_sep|>updated/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff | diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index 185e681..b9d8dcc 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -138,7 +138,7 @@
<argument>bash</argument>
<argument>-c</argument>
<argument>cat maven-shared-archive-resources/META-... | <|file_sep|>original/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff
<|file_sep|>current/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff
<|file_sep|>updated/bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff
diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index 185e681..b9d8dcc 10... | 56d7077f4fb136abfdc47ddd719160c6461b2600 | bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff | bigtop-packages/src/common/hbase/patch3-HBASE-17352.diff | Diff |
<|file_sep|>original/app/assets/javascripts/components/add_author_form_component.js.coffee
ETahi.AddAuthorFormComponent = Ember.Component.extend
tagName: 'div'
setNewAuthor: ( ->
unless @get('newAuthor')
@set('newAuthor', {})
).on('init')
actions:
toggleAuthorForm: ->
@sendAction('hideAuth... | ETahi.AddAuthorFormComponent = Ember.Component.extend
tagName: 'div'
setNewAuthor: ( ->
unless @get('newAuthor')
@set('newAuthor', {})
).on('init')
actions:
toggleAuthorForm: ->
@sendAction('hideAuthorForm')
saveNewAuthor: ->
author = @get('newAuthor')
@sendAction('saveAut... | <|file_sep|>original/app/assets/javascripts/components/add_author_form_component.js.coffee
ETahi.AddAuthorFormComponent = Ember.Component.extend
tagName: 'div'
setNewAuthor: ( ->
unless @get('newAuthor')
@set('newAuthor', {})
).on('init')
actions:
toggleAuthorForm: ->
@sendAction('hideAuth... | e055f9c2ba84c196c26365cdb6635b61d4fca14d | app/assets/javascripts/components/add_author_form_component.js.coffee | app/assets/javascripts/components/add_author_form_component.js.coffee | CoffeeScript |
<|file_sep|>original/metadata/net.justdave.nwsweatheralertswidget.txt
Build:1.0.1,2
disable=missing symbols, possibly due to missing libs
commit=v1.0.1
Build:1.0.4,5
disable=missing symbols, possibly due to missing libs
commit=v1.0.4
Build:1.0.5,6
disable=missing symbols, possibly due to missing ... |
Build:1.0.1,2
disable=missing symbols, possibly due to missing libs
commit=v1.0.1
Build:1.0.4,5
disable=missing symbols, possibly due to missing libs
commit=v1.0.4
Build:1.0.5,6
disable=missing symbols, possibly due to missing libs
commit=1.0.5
Build:1.1,7
commit=v1.1
init=mv aidl/ne... | <|file_sep|>original/metadata/net.justdave.nwsweatheralertswidget.txt
Build:1.0.1,2
disable=missing symbols, possibly due to missing libs
commit=v1.0.1
Build:1.0.4,5
disable=missing symbols, possibly due to missing libs
commit=v1.0.4
Build:1.0.5,6
disable=missing symbols, possibly due to missing ... | 86f64424191fd7d98ec4c22ed5068df1e76ecdc0 | metadata/net.justdave.nwsweatheralertswidget.txt | metadata/net.justdave.nwsweatheralertswidget.txt | Text |
<|file_sep|>original/Cargo.toml
[lib]
name = "rust_web_boilerplate"
path = "src/lib.rs"
[dependencies]
uuid = { version = "0.7", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
argon2rs = "0.2"
rocket = "0.4"
diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serd... | [lib]
name = "rust_web_boilerplate"
path = "src/lib.rs"
[dependencies]
uuid = { version = "0.7", 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.14"
serde... | <|file_sep|>original/Cargo.toml
[lib]
name = "rust_web_boilerplate"
path = "src/lib.rs"
[dependencies]
uuid = { version = "0.7", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
argon2rs = "0.2"
rocket = "0.4"
diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serd... | a0325b23a5ec8fd16782cec89dd5e974749f1513 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>src/index.js.diff
original:
return Object.keys(Promise.prototype)
updated:
return Object.getOwnPropertyNames(Promise.prototype)
<|file_sep|>original/src/index.js
'use strict';
var Promise = require('bluebird');
var sinon = require('sinon');
function thenable (promiseFactory) {
return Object.keys(P... | 'use strict';
var Promise = require('bluebird');
var sinon = require('sinon');
function thenable (promiseFactory) {
return Object.getOwnPropertyNames(Promise.prototype)
.filter(function (method) {
return method !== 'then';
})
.reduce(function (acc, method) {
acc[method] = function () {
... | <|file_sep|>src/index.js.diff
original:
return Object.keys(Promise.prototype)
updated:
return Object.getOwnPropertyNames(Promise.prototype)
<|file_sep|>original/src/index.js
'use strict';
var Promise = require('bluebird');
var sinon = require('sinon');
function thenable (promiseFactory) {
return Object.keys(P... | 5205cc041e05ed01258681d88b438cbe58c464d2 | src/index.js | src/index.js | JavaScript |
<|file_sep|>test/lib/troo/presenters/member_test.rb.diff
original:
@member = Fabricate(:member)
updated:
Fabricate(:member, username: 'hydrogen', external_id: '20051')
Fabricate(:member, username: 'helium', external_id: '20052')
Fabricate(:member, username: 'lithium', external_id: '20... | Fabricate(:member, username: 'hydrogen', external_id: '20051')
Fabricate(:member, username: 'helium', external_id: '20052')
Fabricate(:member, username: 'lithium', external_id: '20053')
end
after { database_cleanup }
describe '#show' do
subject { described_class.ne... | <|file_sep|>test/lib/troo/presenters/member_test.rb.diff
original:
@member = Fabricate(:member)
updated:
Fabricate(:member, username: 'hydrogen', external_id: '20051')
Fabricate(:member, username: 'helium', external_id: '20052')
Fabricate(:member, username: 'lithium', external_id: '20... | 2aebbfa23db518fc40dc731dfd761f402659b338 | test/lib/troo/presenters/member_test.rb | test/lib/troo/presenters/member_test.rb | Ruby |
<|file_sep|>ruby/.travis.yml.diff
original:
- "2.5.1"
- "2.4.4"
- "2.3.7"
- "2.2.10"
- "jruby-9.1.17.0"
updated:
- "2.5.3"
- "2.4.5"
- "2.3.8"
- "jruby-9.2.0.0"
<|file_sep|>ruby/.travis.yml.diff
original:
- rvm: jruby-9.1.17.0
updated:
- rvm: jruby-9.2.0.0
<|file_sep|>original/ruby/.travis.yml
-... | - "2.4.5"
- "2.3.8"
- "jruby-9.2.0.0"
script: make default
matrix:
allow_failures:
- rvm: jruby-9.2.0.0
jobs:
include:
- stage: deploy
ruby: "2.5.3"
deploy:
skip_cleanup: true
provider: rubygems
api_key:
secure: EFoxx/tPgZ2pZqlR5eDEXYQ4f0Lw/2AhkPEPggdbWbzOHMf8WtTAMvjBXKFhMuxmIqLrjd+Yf2gbcJ... | <|file_sep|>ruby/.travis.yml.diff
original:
- "2.5.1"
- "2.4.4"
- "2.3.7"
- "2.2.10"
- "jruby-9.1.17.0"
updated:
- "2.5.3"
- "2.4.5"
- "2.3.8"
- "jruby-9.2.0.0"
<|file_sep|>ruby/.travis.yml.diff
original:
- rvm: jruby-9.1.17.0
updated:
- rvm: jruby-9.2.0.0
<|file_sep|>original/ruby/.travis.yml
-... | 318f22c9b00d140a04a9c981f21293de1b81b139 | ruby/.travis.yml | ruby/.travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.6'
- '2.7'
before_install:
- sudo apt-get update && sudo apt-get install git swig supervisor rabbitmq-server ruby
- git describe || git remote add upstream git://github.com/saltstack/salt.git && git fetch --tags upstream
- pip install http://dl.... | language: python
python:
- '2.6'
- '2.7'
before_install:
- sudo apt-get update && sudo apt-get install git swig supervisor rabbitmq-server ruby
- (git describe && git fetch --tags) || (git remote add upstream git://github.com/saltstack/salt.git && git fetch --tags upstream)
- pip install http://dl.dropbox.c... | <|file_sep|>original/.travis.yml
language: python
python:
- '2.6'
- '2.7'
before_install:
- sudo apt-get update && sudo apt-get install git swig supervisor rabbitmq-server ruby
- git describe || git remote add upstream git://github.com/saltstack/salt.git && git fetch --tags upstream
- pip install http://dl.... | fd36a06701b4bdf01fc56263810fa10adb37dcaf | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Event/Skip.php.diff
original:
updated:
}
public function assertionLine() : ?int
{
return $this->callSite['line'] === -1 ?
null :
$this->callSite['line'];
<|file_sep|>original/src/Event/Skip.php
{
return $this->callSite['class'] === '' ?
... | {
return $this->callSite['function'] === '' ?
null :
$this->callSite['function'];
}
public function testClass() : ?string
{
return $this->callSite['class'] === '' ?
null :
$this->callSite['class'];
}
public function testFile() : ?... | <|file_sep|>src/Event/Skip.php.diff
original:
updated:
}
public function assertionLine() : ?int
{
return $this->callSite['line'] === -1 ?
null :
$this->callSite['line'];
<|file_sep|>original/src/Event/Skip.php
{
return $this->callSite['class'] === '' ?
... | d97a547fc2b86dc26b550ad8e760c8ecb1a59c7d | src/Event/Skip.php | src/Event/Skip.php | PHP |
<|file_sep|>original/config.toml
languageCode = "en-us"
title = "Writing an OS in Rust"
rssURI = "atom.xml"
copyright = "© 2016. All rights reserved."
PygmentsCodeFences = true
pygmentsuseclasses = true
uglyurls = true
[author]
name = "Philipp Oppermann"
email = "dev@phil-opp.com"
[params]
subtitle = "Ph... | languageCode = "en-us"
title = "Writing an OS in Rust"
rssURI = "atom.xml"
copyright = "© 2016. All rights reserved."
PygmentsCodeFences = true
pygmentsuseclasses = true
uglyurls = true
contentdir = "../blog"
[author]
name = "Philipp Oppermann"
email = "dev@phil-opp.com"
[params]
subtitle = "Philipp Opp... | <|file_sep|>original/config.toml
languageCode = "en-us"
title = "Writing an OS in Rust"
rssURI = "atom.xml"
copyright = "© 2016. All rights reserved."
PygmentsCodeFences = true
pygmentsuseclasses = true
uglyurls = true
[author]
name = "Philipp Oppermann"
email = "dev@phil-opp.com"
[params]
subtitle = "Ph... | fc3d445c3f8057ad9a159ac56a9282fc7e41aef8 | config.toml | config.toml | TOML |
<|file_sep|>original/src/lib.rs
#![feature(collections, std_misc)]
extern crate tcod;
pub mod engine;
pub mod gui;
pub mod util;
<|file_sep|>current/src/lib.rs
#![feature(collections, std_misc)]
extern crate tcod;
pub mod engine;
pub mod gui;
pub mod util;
<|file_sep|>updated/src/lib.rs | #![feature(std_misc)]
extern crate tcod;
pub mod engine;
pub mod gui;
pub mod util; | <|file_sep|>original/src/lib.rs
#![feature(collections, std_misc)]
extern crate tcod;
pub mod engine;
pub mod gui;
pub mod util;
<|file_sep|>current/src/lib.rs
#![feature(collections, std_misc)]
extern crate tcod;
pub mod engine;
pub mod gui;
pub mod util;
<|file_sep|>updated/src/lib.rs
#![feature(std_misc)]
exter... | 72447c459621242426f73f58980f0b940674e125 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>original/doc/std/index.rst
Standard protocol
-----------------
.. toctree::
aml
network
..
xar
tml
manifest
metadata
<|file_sep|>current/doc/std/index.rst
Standard protocol
-----------------
.. toctree::
aml
network
..
xar
tml
manifest
metadata
<|file_sep|>updated/doc/std/index... | Standard protocol
-----------------
.. toctree::
aml
network
..
xar
tml
manifest
metadata | <|file_sep|>original/doc/std/index.rst
Standard protocol
-----------------
.. toctree::
aml
network
..
xar
tml
manifest
metadata
<|file_sep|>current/doc/std/index.rst
Standard protocol
-----------------
.. toctree::
aml
network
..
xar
tml
manifest
metadata
<|file_sep|>updated/doc/std/index... | d4c22b7ac983b0708225d7b04df14df5e264ad8d | doc/std/index.rst | doc/std/index.rst | reStructuredText |
<|file_sep|>original/.travis.yml
install:
- curl -O https://download.clojure.org/install/linux-install-1.10.1.447.sh
- chmod +x linux-install-1.10.1.447.sh
- sudo ./linux-install-1.10.1.447.sh
before_script:
- env | sort
script:
- ./manage.sh build-devenv
- ./manage.sh run-frontend-tests
- ./manage.sh r... | - chmod +x linux-install-1.10.1.447.sh
- sudo ./linux-install-1.10.1.447.sh
before_script:
- env | sort
script:
- ./manage.sh build-devenv
- ./manage.sh run-frontend-tests
- ./manage.sh run-backend-tests
- ./manage.sh build-images
- ./manage.sh run
after_script:
- docker images
notifications:
em... | <|file_sep|>original/.travis.yml
install:
- curl -O https://download.clojure.org/install/linux-install-1.10.1.447.sh
- chmod +x linux-install-1.10.1.447.sh
- sudo ./linux-install-1.10.1.447.sh
before_script:
- env | sort
script:
- ./manage.sh build-devenv
- ./manage.sh run-frontend-tests
- ./manage.sh r... | 76726b6cd2e906a94cf5e7cfc57c09d9e9d8d7d2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/howto/secure-connections.rst
If ``crypto`` package was not installed initially, you can still enable encryption for
connections by following steps below:
1. Install crypto package ``pip install apache-airflow[crypto]``
2. Generate fernet_key, using this code snippet below. fernet_key must be ... | If ``crypto`` package was not installed initially, you can still enable encryption for
connections by following steps below:
1. Install crypto package ``pip install apache-airflow[crypto]``
2. Generate fernet_key, using this code snippet below. fernet_key must be a base64-encoded 32-byte key.
.. code:: python
fr... | <|file_sep|>original/docs/howto/secure-connections.rst
If ``crypto`` package was not installed initially, you can still enable encryption for
connections by following steps below:
1. Install crypto package ``pip install apache-airflow[crypto]``
2. Generate fernet_key, using this code snippet below. fernet_key must be ... | 6b7645261b5df69b01936838f38f7f701a667518 | docs/howto/secure-connections.rst | docs/howto/secure-connections.rst | reStructuredText |
<|file_sep|>feincms/templates/admin/feincms/page/page/item_editor.html.diff
original:
<a href="../../../">{% trans "Home" %}</a> ›
<a href="../">{{ opts.verbose_name_plural|capfirst }}</a> ›
updated:
<a href="{% url 'admin:index' %}">{% trans "Home" %}</a> ›
<a href="{% url 'admin:p... | <li><a target="_blank" href="{{ preview_url }}" class="viewsitelink">{% trans "Preview" %}</a></li>
{% endif %}
{% endif %}
</ul>
{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans "Home" %}</a> ›
<a href="{% url 'admin:page_page_ch... | <|file_sep|>feincms/templates/admin/feincms/page/page/item_editor.html.diff
original:
<a href="../../../">{% trans "Home" %}</a> ›
<a href="../">{{ opts.verbose_name_plural|capfirst }}</a> ›
updated:
<a href="{% url 'admin:index' %}">{% trans "Home" %}</a> ›
<a href="{% url 'admin:p... | 38219b063daee9d3b683b969a0b04859625253f3 | feincms/templates/admin/feincms/page/page/item_editor.html | feincms/templates/admin/feincms/page/page/item_editor.html | HTML |
<|file_sep|>original/doc/build_gh_pages.sh
set -eu
cd $(dirname $0)/..
VERSION=$(git rev-parse HEAD)
TMP_OUT=$(mktemp -d)
echo "Building gh-pages in $TMP_OUT"
gitbook install doc/manual
gitbook build doc/manual $TMP_OUT/manual
cp doc/landing.html $TMP_OUT/index.html
cp doc/sequins.svg doc/sequins_small.png doc/font-a... | cd $(dirname $0)/..
VERSION=$(git rev-parse HEAD)
TMP_OUT=$(mktemp -d)
echo "Building gh-pages in $TMP_OUT"
gitbook install doc/manual
gitbook build doc/manual $TMP_OUT/manual
cp doc/landing.html $TMP_OUT/index.html
cp doc/sequins.svg doc/sequins_small.png doc/font-awesome.min.css doc/flexblocks-responsive.css $TMP_O... | <|file_sep|>original/doc/build_gh_pages.sh
set -eu
cd $(dirname $0)/..
VERSION=$(git rev-parse HEAD)
TMP_OUT=$(mktemp -d)
echo "Building gh-pages in $TMP_OUT"
gitbook install doc/manual
gitbook build doc/manual $TMP_OUT/manual
cp doc/landing.html $TMP_OUT/index.html
cp doc/sequins.svg doc/sequins_small.png doc/font-a... | ce9c0e9303f1b7d99170d831b7f6c3a5aa4ddc94 | doc/build_gh_pages.sh | doc/build_gh_pages.sh | Shell |
<|file_sep|>lib/tugboat/middleware/snapshot_droplet.rb.diff
original:
updated:
# Right now, the digital ocean API doesn't return an error
# when your droplet is not powered off and you try to snapshot.
# This is a temporary measure to let the user know.
say "Warning: Droplet must be in ... | class SnapshotDroplet < Base
def call(env)
ocean = env["ocean"]
# Right now, the digital ocean API doesn't return an error
# when your droplet is not powered off and you try to snapshot.
# This is a temporary measure to let the user know.
say "Warning: Droplet must be i... | <|file_sep|>lib/tugboat/middleware/snapshot_droplet.rb.diff
original:
updated:
# Right now, the digital ocean API doesn't return an error
# when your droplet is not powered off and you try to snapshot.
# This is a temporary measure to let the user know.
say "Warning: Droplet must be in ... | ed5827566626e3e1e2fd9ccbec83829bbfeba929 | lib/tugboat/middleware/snapshot_droplet.rb | lib/tugboat/middleware/snapshot_droplet.rb | Ruby |
<|file_sep|>original/tests/test_simulator_main.py
<|file_sep|>current/tests/test_simulator_main.py
<|file_sep|>updated/tests/test_simulator_main.py | #!/usr/bin/env python3
import contextlib
import io
import nose.tools as nose
import src.simulator as sim
from unittest.mock import patch
@patch('sys.argv', [
sim.__file__, '--cache-size', '4', '--num-blocks-per-set', '1',
'--num-words-per-block', '1', '--word-addrs', '0', '8', '0', '6', '8'])
def test_main()... | <|file_sep|>original/tests/test_simulator_main.py
<|file_sep|>current/tests/test_simulator_main.py
<|file_sep|>updated/tests/test_simulator_main.py
#!/usr/bin/env python3
import contextlib
import io
import nose.tools as nose
import src.simulator as sim
from unittest.mock import patch
@patch('sys.argv', [
sim._... | 6f76a9735cd8208137e91782b233f98b406d401d | tests/test_simulator_main.py | tests/test_simulator_main.py | Python |
<|file_sep|>original/arch/microblaze/include/asm/sections.h
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_SECTIONS_H
#de... | * Copyright (C) 2008-2009 PetaLogix
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_SECTIONS_H
#define _ASM_MICROBLAZE_SE... | <|file_sep|>original/arch/microblaze/include/asm/sections.h
* Copyright (C) 2006 Atmark Techno, Inc.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#ifndef _ASM_MICROBLAZE_SECTIONS_H
#de... | 64aff1d651f06206a181e9a3883da913edf43b77 | arch/microblaze/include/asm/sections.h | arch/microblaze/include/asm/sections.h | C |
<|file_sep|>original/notification/backends/web.py
from notification.backends.base import NotificationBackend
class WebBackend(NotificationBackend):
slug = u'web'
display_name = u'E-mail'
formats = ['short.txt', 'full.txt']
def send(self, sender, recipient, notice_type, context, on_site=False,
... | from notification.backends.base import NotificationBackend
class WebBackend(NotificationBackend):
slug = u'web'
display_name = u'Web'
formats = ['short.txt', 'full.txt']
def send(self, sender, recipient, notice_type, context, on_site=False,
*args, **kwargs):
"""Always "sends" (i.e.... | <|file_sep|>original/notification/backends/web.py
from notification.backends.base import NotificationBackend
class WebBackend(NotificationBackend):
slug = u'web'
display_name = u'E-mail'
formats = ['short.txt', 'full.txt']
def send(self, sender, recipient, notice_type, context, on_site=False,
... | 233d52247d89bb39ccc9ada3a591296baae9cff5 | notification/backends/web.py | notification/backends/web.py | Python |
<|file_sep|>original/behave_django/testcase.py
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
class BehaviorDrivenTestCase(StaticLiveServerTestCase):
"""
Test case attached to the context during behave execution
This test case prevents the regular tests from running.
"""
... | from django.contrib.staticfiles.testing import StaticLiveServerTestCase
class BehaviorDrivenTestCase(StaticLiveServerTestCase):
"""
Test case attached to the context during behave execution
This test case prevents the regular tests from running.
"""
def runTest(self):
pass
class Existi... | <|file_sep|>original/behave_django/testcase.py
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
class BehaviorDrivenTestCase(StaticLiveServerTestCase):
"""
Test case attached to the context during behave execution
This test case prevents the regular tests from running.
"""
... | fe98703f789976df76a3275c8449d53f89a58ec1 | behave_django/testcase.py | behave_django/testcase.py | Python |
<|file_sep|>original/app/templates/data/_menu.json
{
"navbar": {
"Home": "/",
"Test page": "#testpage"
}
}
<|file_sep|>current/app/templates/data/_menu.json
{
"navbar": {
"Home": "/",
"Test page": "#testpage"
}
}
<|file_sep|>updated/app/templates/data/_menu.json | {
"navbar": {
"Home": "/",
"Yellfy CLI": "https://www.npmjs.com/package/yellfy-cli"
}
} | <|file_sep|>original/app/templates/data/_menu.json
{
"navbar": {
"Home": "/",
"Test page": "#testpage"
}
}
<|file_sep|>current/app/templates/data/_menu.json
{
"navbar": {
"Home": "/",
"Test page": "#testpage"
}
}
<|file_sep|>updated/app/templates/data/_menu.json
{
"navbar": {
"Home": "/",
... | e9e2643a93348ad62048bed119adbb062924ec9b | app/templates/data/_menu.json | app/templates/data/_menu.json | JSON |
<|file_sep|>original/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md
<|file_sep|>current/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md
<|file_sep|>updated/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-userg... | ---
title: "Logsearch presentation at London Elasticsearch Usergroup, Jan 2015"
description: "A presentation given on 2015-01-28 to the London Elasticsearch Usergroup on Logsearch"
author: "David Laing"
author_github: "mrdavidlaing"
date: 2015-02-23T16:40:45Z
---
The presentation below ([youtube](http://youtu.be/Y3jFA... | <|file_sep|>original/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md
<|file_sep|>current/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md
<|file_sep|>updated/blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-userg... | 75921d04797795d1f739b6e76937c6892c39f5b1 | blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md | blog/_posts/2015-02-23-logsearch-presentation-at-london-elasticsearch-usergroup-jan2015.md | Markdown |
<|file_sep|>original/budgetsupervisor/budget/templates/budget/report_balance.html
{% include "budget/form_snippet.html" %}
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<table class="table table-bordered text-center mt-1">
<thead class="thead-light">
<tr>
<th>Category</th>
... | {% include "budget/form_snippet.html" %}
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<table class="table table-bordered text-center mt-1">
<thead class="thead-light">
<tr>
<th>Category</th>
<th>Balance</th>
</tr>
</thead>
<tbody>
{% for key, value in balance.... | <|file_sep|>original/budgetsupervisor/budget/templates/budget/report_balance.html
{% include "budget/form_snippet.html" %}
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<table class="table table-bordered text-center mt-1">
<thead class="thead-light">
<tr>
<th>Category</th>
... | 9c0433a39e84fbe32fb2edc38b5d9d35cc00f3be | budgetsupervisor/budget/templates/budget/report_balance.html | budgetsupervisor/budget/templates/budget/report_balance.html | HTML |
<|file_sep|>original/tox.ini
[tox]
envlist = py34,py35,lint
skip_missing_interpreters = True
[pytest]
pep8maxlinelength = 120
[testenv]
deps = -rrequirements-dev.txt
commands = py.test -s -v --cov-report term-missing --cov-report html --pep8 --cov foremast tests/
recreate = True
[testenv:lint]
deps = prospector[with... | [tox]
envlist = py34,py35,lint
skip_missing_interpreters = True
[pytest]
pep8maxlinelength = 120
[testenv]
deps = -rrequirements-dev.txt
commands = py.test -s -v --cov-report term-missing --cov-report html --pep8 --cov foremast tests/
recreate = True
[testenv:lint]
deps = prospector[with_everything]
whitelist_extern... | <|file_sep|>original/tox.ini
[tox]
envlist = py34,py35,lint
skip_missing_interpreters = True
[pytest]
pep8maxlinelength = 120
[testenv]
deps = -rrequirements-dev.txt
commands = py.test -s -v --cov-report term-missing --cov-report html --pep8 --cov foremast tests/
recreate = True
[testenv:lint]
deps = prospector[with... | b6e66d5dcd18fde5ed7cd58cd45892563de233f1 | tox.ini | tox.ini | INI |
<|file_sep|>src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php.diff
original:
// Registering the validator extension with the validator factory
$this->app['validator']->resolver(
function($translator, $data, $rules, $messages, $customAttributes = array())
{... | );
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
// Whenever the validator factory is accessed in the container, we set
// the custom resolver on it (this works in Larvel >= 5.2 as well).
$this->app->resolving... | <|file_sep|>src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php.diff
original:
// Registering the validator extension with the validator factory
$this->app['validator']->resolver(
function($translator, $data, $rules, $messages, $customAttributes = array())
{... | a223625ca72d9b31877e48abe082f03d02042b96 | src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php | src/Felixkiss/UniqueWithValidator/UniqueWithValidatorServiceProvider.php | PHP |
<|file_sep|>original/lib/generators/jsonapi/templates/destroy_request_spec.rb.erb
require 'rails_helper'
RSpec.describe "<%= type %>#destroy", type: :request do
context 'basic destroy' do
let!(:<%= file_name %>) { FactoryBot.create(:<%= file_name %>) }
it 'updates the resource' do
expect {
del... | require 'rails_helper'
RSpec.describe "<%= type %>#destroy", type: :request do
context 'basic destroy' do
let!(:<%= file_name %>) { create(:<%= file_name %>) }
it 'updates the resource' do
expect {
delete "/<%= api_namespace %>/v1/<%= type %>/#{<%= file_name %>.id}"
}.to change { <%= mod... | <|file_sep|>original/lib/generators/jsonapi/templates/destroy_request_spec.rb.erb
require 'rails_helper'
RSpec.describe "<%= type %>#destroy", type: :request do
context 'basic destroy' do
let!(:<%= file_name %>) { FactoryBot.create(:<%= file_name %>) }
it 'updates the resource' do
expect {
del... | fda4c949ebdc2860c71e1d92ffbfd8efd29ec5af | lib/generators/jsonapi/templates/destroy_request_spec.rb.erb | lib/generators/jsonapi/templates/destroy_request_spec.rb.erb | HTML+ERB |
<|file_sep|>original/views/alt_layout.erb
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="images/favicon.ico">
<title>AFTERBURNER | Training Tomorrow's Software Engineers</title>
<link href="/alt/css/bootstrap.css" rel="stylesheet">
</head... | <div class="container">
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-8">
<%= yield %>
</div>
</div>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
... | <|file_sep|>original/views/alt_layout.erb
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="images/favicon.ico">
<title>AFTERBURNER | Training Tomorrow's Software Engineers</title>
<link href="/alt/css/bootstrap.css" rel="stylesheet">
</head... | e2270f0086f5e4cfe469c52050c7400d8fe78001 | views/alt_layout.erb | views/alt_layout.erb | HTML+ERB |
<|file_sep|>original/composer.json
},
"require": {
"php": "^5.6|^7.0",
"jakub-onderka/php-parallel-lint": "~0.8"
},
"require-dev": {
"consistence/coding-standard": "^0.10",
"phing/phing": "^2.9",
"phpstan/phpstan": "dev-dev#1cb3904e17",
"phpunit/phpunit": "^5.0",
"satooshi/php-coveralls": "dev-master"... | },
"require": {
"php": "^5.6|^7.0",
"jakub-onderka/php-parallel-lint": "~0.8"
},
"require-dev": {
"consistence/coding-standard": "^0.10",
"phing/phing": "^2.9",
"phpstan/phpstan": "dev-dev#1cb3904e17",
"phpunit/phpunit": "^5.0",
"satooshi/php-coveralls": "^1.0"
},
"autoload-dev": {
"psr-4": {
... | <|file_sep|>original/composer.json
},
"require": {
"php": "^5.6|^7.0",
"jakub-onderka/php-parallel-lint": "~0.8"
},
"require-dev": {
"consistence/coding-standard": "^0.10",
"phing/phing": "^2.9",
"phpstan/phpstan": "dev-dev#1cb3904e17",
"phpunit/phpunit": "^5.0",
"satooshi/php-coveralls": "dev-master"... | 94163293db25d1de12ef1e484b62186e5994f3f6 | composer.json | composer.json | JSON |
<|file_sep|>original/static/templates/admin_user_group_list.hbs
<span class="description" data-placeholder="{{t 'Description' }}" contenteditable="true">{{description}}</span>
<button class="button save-status sea-green small">
<img class="checkmark" src="/static/images/checkbox-green.svg" /... | <span class="description" data-placeholder="{{t 'Description' }}" contenteditable="true">{{description}}</span>
<button class="button save-status sea-green small">
<img class="checkmark" src="/static/images/checkbox-green.svg" />
{{t 'Saved' }}
</button>
<button c... | <|file_sep|>original/static/templates/admin_user_group_list.hbs
<span class="description" data-placeholder="{{t 'Description' }}" contenteditable="true">{{description}}</span>
<button class="button save-status sea-green small">
<img class="checkmark" src="/static/images/checkbox-green.svg" /... | 06116c3de360bbb5df72b167fef8bfd83a8ee226 | static/templates/admin_user_group_list.hbs | static/templates/admin_user_group_list.hbs | Handlebars |
<|file_sep|>original/tools/docker-compose/unit-tests/docker-compose.yml
---
version: '2'
services:
unit-tests:
build:
context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile
image: gcr.io/ansible-tower-engineering/unit-test-runner:latest
environment:
SWIG_FEATURES: "-cp... | ---
version: '2'
services:
unit-tests:
build:
context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile
image: gcr.io/ansible-tower-engineering/unit-test-runner:${GIT_BRANCH}
environment:
SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl"
TEST_DIRS: a... | <|file_sep|>original/tools/docker-compose/unit-tests/docker-compose.yml
---
version: '2'
services:
unit-tests:
build:
context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile
image: gcr.io/ansible-tower-engineering/unit-test-runner:latest
environment:
SWIG_FEATURES: "-cp... | c25795d3fcf4f478507f634417c952582b334b80 | tools/docker-compose/unit-tests/docker-compose.yml | tools/docker-compose/unit-tests/docker-compose.yml | YAML |
<|file_sep|>original/tests.py
class TwitterSATestCase(unittest.TestCase):
def setUp(self):
TwitterSA.app.config['TESTING'] = True
self.app = TwitterSA.app.test_client()
def tearDown(self):
pass
def test_invalid_search_query(self):
"""Test for invalid search queries"""
... |
class TwitterSATestCase(unittest.TestCase):
def setUp(self):
TwitterSA.app.config['TESTING'] = True
self.app = TwitterSA.app.test_client()
def tearDown(self):
pass
def test_twitter_api(self):
"""Test to make sure the API is getting tweets"""
tweets = TwitterSA.api... | <|file_sep|>original/tests.py
class TwitterSATestCase(unittest.TestCase):
def setUp(self):
TwitterSA.app.config['TESTING'] = True
self.app = TwitterSA.app.test_client()
def tearDown(self):
pass
def test_invalid_search_query(self):
"""Test for invalid search queries"""
... | a3c52c84da93c3e3007fa291213b97fd7d5b0e8f | tests.py | tests.py | Python |
<|file_sep|>salt/pwm-server/init.sls.diff
original:
updated:
- upgrade: True
<|file_sep|>original/salt/pwm-server/init.sls
pip.installed:
- name: /vagrant
- bin_env: /srv/pwm-server/venv
- require:
- virtualenv: pwm-server-virtualenv
- pkg: python-dev
se... | pip.installed:
- name: /vagrant
- upgrade: True
- bin_env: /srv/pwm-server/venv
- require:
- virtualenv: pwm-server-virtualenv
- pkg: python-dev
service.running:
- watch:
- pip: pwm-server
- file: pwm-server-config
... | <|file_sep|>salt/pwm-server/init.sls.diff
original:
updated:
- upgrade: True
<|file_sep|>original/salt/pwm-server/init.sls
pip.installed:
- name: /vagrant
- bin_env: /srv/pwm-server/venv
- require:
- virtualenv: pwm-server-virtualenv
- pkg: python-dev
se... | 02da84b7ff76431a0ee75a2639916bc91cfcf8c4 | salt/pwm-server/init.sls | salt/pwm-server/init.sls | SaltStack |
<|file_sep|>original/extension/manifest.json
{
"manifest_version": 2,
"name": "WisCon program helper for Google Calendar™",
"description": "Adds buttons for adding WisCon events to your calendar.",
"version": "0.3",
"browser_action": {},
"permissions": [],
"content_scripts": [
{
"matches": ["... | {
"manifest_version": 2,
"name": "WisCon program helper for Google Calendar™",
"description": "Adds buttons for adding WisCon events to your calendar.",
"version": "0.4",
"content_scripts": [
{
"matches": ["http://wiscon.piglet.org/program/detail*"],
"js": ["addtocalendar.js"]
}
],
... | <|file_sep|>original/extension/manifest.json
{
"manifest_version": 2,
"name": "WisCon program helper for Google Calendar™",
"description": "Adds buttons for adding WisCon events to your calendar.",
"version": "0.3",
"browser_action": {},
"permissions": [],
"content_scripts": [
{
"matches": ["... | d480301a99c0d94b59df7855628c0f353aa43079 | extension/manifest.json | extension/manifest.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro, see below
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm # ignore errors, see below
<|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# also test against HHVM... | - 5.5
- 5.6
- 7
- hhvm # ignore errors, see below
# lock distro so new future defaults will not break the build
dist: trusty
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm
sudo: false
install:
- composer install --no-interaction
script: | <|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro, see below
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm # ignore errors, see below
<|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# also test against HHVM... | cf99d2ab05c6e9712d425c85eded140579b126e9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# _Airspace_ for Jekyll

This Jekyll theme is a port of ThemeFisher's Airspace template. It is released under ThemeFisher's free license, which requires attribution.
## Usage
To start your project, [fork this respository](https:... | # _Airspace_ for Jekyll

This Jekyll theme is a port of ThemeFisher's Airspace template. It is released under ThemeFisher's free license, which requires attribution.
## Usage
To start your project, [fork this respository](https://github.com/luminousrubyist/ai... | <|file_sep|>original/README.md
# _Airspace_ for Jekyll

This Jekyll theme is a port of ThemeFisher's Airspace template. It is released under ThemeFisher's free license, which requires attribution.
## Usage
To start your project, [fork this respository](https:... | e8c452388da09be561edd3f654315cce807a7f7c | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
Django==2.0.1
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.3.2
python-decouple==3.1
raven==6.4.0
#Amazon S3 Stuff
boto3==1.5.9
Collectfast==0.6.0
botocore==1.8.26
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.1... | Django==2.0.1
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.3.2
python-decouple==3.1
raven==6.4.0
#Amazon S3 Stuff
boto3==1.5.12
Collectfast==0.6.0
botocore==1.8.26
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.14
jmespath==0.9.3
python-dateutil==2.... | <|file_sep|>original/requirements.txt
Django==2.0.1
dj_database_url==0.4.2
pytz==2017.3
python_box==3.1.1
six==1.11.0
gunicorn==19.7.1
psycopg2==2.7.3.2
python-decouple==3.1
raven==6.4.0
#Amazon S3 Stuff
boto3==1.5.9
Collectfast==0.6.0
botocore==1.8.26
django-s3-folder-storage==0.5
django-storages==1.6.5
docutils==0.1... | c6c00fb5c3050643da073eb5b526fdc4440b774b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/lib/replace-prelude.js
// This plugin replaces the prelude and adds a transform
var plugin = exports.plugin = function (bfy, opts) {
function replacePrelude() {
var packOpts = {
raw : true, // Added in regular Browserifiy as well
preludePath : preludePath,
prelude ... | // This plugin replaces the prelude and adds a transform
var plugin = exports.plugin = function (bfy, opts) {
function replacePrelude() {
var packOpts = {
raw : true, // Added in regular Browserifiy as well
preludePath : preludePath,
prelude : prelude
};
// browserify sets "... | <|file_sep|>original/lib/replace-prelude.js
// This plugin replaces the prelude and adds a transform
var plugin = exports.plugin = function (bfy, opts) {
function replacePrelude() {
var packOpts = {
raw : true, // Added in regular Browserifiy as well
preludePath : preludePath,
prelude ... | 5762d478a22bb76807e3b92a3b881c42686b3b69 | lib/replace-prelude.js | lib/replace-prelude.js | JavaScript |
<|file_sep|>package.json.diff
original:
"ssh-url": "~0.1.5"
},
"devDependencies": {
updated:
"ssh-url": "~0.1.5",
<|file_sep|>package.json.diff
original:
"chai": "^1.9.1",
"form-data": "0.1.4",
updated:
<|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/bower/registry/issu... | "config": "^1.10.0",
"express": "~3.4.8",
"github": "~0.1.15",
"knex": "^0.7.3",
"newrelic": "~1.9.1",
"pg": "~4.2.0",
"pg-native": "^1.7.3",
"ssh-url": "~0.1.5",
"bluebird": "^2.7.1",
"gulp": "^3.8.10",
"gulp-jshint": "^1.5.2",
"gulp-mocha": "^0.4.1",
"minimist": "^1... | <|file_sep|>package.json.diff
original:
"ssh-url": "~0.1.5"
},
"devDependencies": {
updated:
"ssh-url": "~0.1.5",
<|file_sep|>package.json.diff
original:
"chai": "^1.9.1",
"form-data": "0.1.4",
updated:
<|file_sep|>original/package.json
"bugs": {
"url": "https://github.com/bower/registry/issu... | c2e4acfe1bd41fc92aced766a5aaaa99c2905835 | package.json | package.json | JSON |
<|file_sep|>original/package.json
"url": "http://github.com/wbuchwalter/ng-redux"
},
"author": "William Buchwalter <wbuchwalter@gmail.com> (http://github.com/wbuchwalter)",
"license": "MIT",
"bugs": {
"url": "https://github.com/wbuchwalter/ng-redux/issues"
},
"homepage": "https://github.com/wbuchwal... | "url": "http://github.com/wbuchwalter/ng-redux"
},
"author": "William Buchwalter <wbuchwalter@gmail.com> (http://github.com/wbuchwalter)",
"license": "MIT",
"bugs": {
"url": "https://github.com/wbuchwalter/ng-redux/issues"
},
"homepage": "https://github.com/wbuchwalter/ng-redux#readme",
"devDepend... | <|file_sep|>original/package.json
"url": "http://github.com/wbuchwalter/ng-redux"
},
"author": "William Buchwalter <wbuchwalter@gmail.com> (http://github.com/wbuchwalter)",
"license": "MIT",
"bugs": {
"url": "https://github.com/wbuchwalter/ng-redux/issues"
},
"homepage": "https://github.com/wbuchwal... | 00420b5093278b952198a300ab0cc50c972a9a1c | package.json | package.json | JSON |
<|file_sep|>buildconfig.cake.diff
original:
private const string Version = "0.3.0";
updated:
private const string Version = "0.4.0";
private const bool IsPreRelease = true;
<|file_sep|>buildconfig.cake.diff
original:
var branch = context.Argument("branch", string.Empty);
var branchIsRelease ... | public bool IsTeamCityBuild { get; private set; }
public static BuildConfig Create(
ICakeContext context,
BuildSystem buildSystem)
{
if (context == null)
throw new ArgumentNullException("context");
var target = context.Argument("target", "Default");
... | <|file_sep|>buildconfig.cake.diff
original:
private const string Version = "0.3.0";
updated:
private const string Version = "0.4.0";
private const bool IsPreRelease = true;
<|file_sep|>buildconfig.cake.diff
original:
var branch = context.Argument("branch", string.Empty);
var branchIsRelease ... | c9f25e1b621065fa5aa3f855f716c623b7d26192 | buildconfig.cake | buildconfig.cake | C# |
<|file_sep|>plugins/sublime/sublime.plugin.zsh.diff
original:
"/usr/local/bin/subl"
"$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
"$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
"/Applications/Sublime... |
if [[ $('uname') == 'Linux' ]]; then
if [ -f '/usr/bin/sublime_text' ]; then
st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & }
else
st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & }
fi
alias st=st_run
elif [[ $('uname') == 'Darwin' ]]; then
for _sublime_path in $_... | <|file_sep|>plugins/sublime/sublime.plugin.zsh.diff
original:
"/usr/local/bin/subl"
"$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
"$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl"
"/Applications/Sublime... | 40a682b8cb083b07d6d5d004bf149256c1f78b80 | plugins/sublime/sublime.plugin.zsh | plugins/sublime/sublime.plugin.zsh | Shell |
<|file_sep|>src/Objects/BotCommand.php.diff
original:
updated:
* @property string $command Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.
<|file_sep|>original/src/Objects/BotCommand.php
<?php
namespace Telegram\Bot\Objects;
/**
* Class BotCommand.
*
... | <?php
namespace Telegram\Bot\Objects;
/**
* Class BotCommand.
*
* This object represents a bot command
*
* @link https://core.telegram.org/bots/api#botcommand
*
* @property string $command Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.
* @property... | <|file_sep|>src/Objects/BotCommand.php.diff
original:
updated:
* @property string $command Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.
<|file_sep|>original/src/Objects/BotCommand.php
<?php
namespace Telegram\Bot\Objects;
/**
* Class BotCommand.
*
... | 4f8c0df9665a876cca2df069addfcbd577903a2f | src/Objects/BotCommand.php | src/Objects/BotCommand.php | PHP |
<|file_sep|>app/templates/emails/brief_clarification_question_confirmation.html.diff
original:
Dear {{ user_name }},<br />
updated:
Dear supplier,<br />
<|file_sep|>original/app/templates/emails/brief_clarification_question_confirmation.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
</head>... | <!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
</head>
<body>
Dear supplier,<br />
<br />
Your question about ‘{{ brief_name }}’ has been sent.<br />
<br />
You asked:<br />
<br />
{{ message }}
<br /><br />
Your question will be posted with the buyer’s answer on the ‘{{ brief_name... | <|file_sep|>app/templates/emails/brief_clarification_question_confirmation.html.diff
original:
Dear {{ user_name }},<br />
updated:
Dear supplier,<br />
<|file_sep|>original/app/templates/emails/brief_clarification_question_confirmation.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
</head>... | e519b1258277b6152b9dfd8adb404947a849c853 | app/templates/emails/brief_clarification_question_confirmation.html | app/templates/emails/brief_clarification_question_confirmation.html | HTML |
<|file_sep|>assets/js/features/index.js.diff
original:
export const enabledFeatures = global?._googlesitekitBaseData?.enabledFeatures || [];
updated:
export const enabledFeatures = new Set( global?._googlesitekitBaseData?.enabledFeatures || [] );
<|file_sep|>assets/js/features/index.js.diff
original:
* @param {string}... | * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.... | <|file_sep|>assets/js/features/index.js.diff
original:
export const enabledFeatures = global?._googlesitekitBaseData?.enabledFeatures || [];
updated:
export const enabledFeatures = new Set( global?._googlesitekitBaseData?.enabledFeatures || [] );
<|file_sep|>assets/js/features/index.js.diff
original:
* @param {string}... | 74da923b26dac173da7588c0d3e5950acd0908d8 | assets/js/features/index.js | assets/js/features/index.js | JavaScript |
<|file_sep|>original/Modules/Remote/SphinxExamples.remote.cmake
# Contact: Matt McCormick <matt.mccormick@kitware.com>
itk_fetch_module(SphinxExamples
"This module builds the examples found at http://itk.org/ITKExamples/"
GIT_REPOSITORY http://itk.org/ITKExamples.git
# 2015-07-02
GIT_TAG 890667eaa7dbab6111aabd5... | # Contact: Matt McCormick <matt.mccormick@kitware.com>
itk_fetch_module(SphinxExamples
"This module builds the examples found at http://itk.org/ITKExamples/"
GIT_REPOSITORY http://itk.org/ITKExamples.git
# 2015-07-09
GIT_TAG 2bc08a52aa0437da776cc777157f25b7b525b46f
) | <|file_sep|>original/Modules/Remote/SphinxExamples.remote.cmake
# Contact: Matt McCormick <matt.mccormick@kitware.com>
itk_fetch_module(SphinxExamples
"This module builds the examples found at http://itk.org/ITKExamples/"
GIT_REPOSITORY http://itk.org/ITKExamples.git
# 2015-07-02
GIT_TAG 890667eaa7dbab6111aabd5... | 3f9b3273b319d879da93040c5f460c36746df18c | Modules/Remote/SphinxExamples.remote.cmake | Modules/Remote/SphinxExamples.remote.cmake | CMake |
<|file_sep|>original/packages/ma/macbeth-lib.yaml
<|file_sep|>current/packages/ma/macbeth-lib.yaml
<|file_sep|>updated/packages/ma/macbeth-lib.yaml | homepage: http://www.macbeth-ficsclient.com
changelog-type: ''
hash: 0550f39ca6649e4548854d1618d2b7a31f0424de66d7e593464de859dac8a864
test-bench-deps:
bytestring: -any
base: -any
hspec: ==2.*
attoparsec: -any
macbeth-lib: -any
maintainer: tilmann@macbeth-ficsclient.com
synopsis: Macbeth - A beautiful and mini... | <|file_sep|>original/packages/ma/macbeth-lib.yaml
<|file_sep|>current/packages/ma/macbeth-lib.yaml
<|file_sep|>updated/packages/ma/macbeth-lib.yaml
homepage: http://www.macbeth-ficsclient.com
changelog-type: ''
hash: 0550f39ca6649e4548854d1618d2b7a31f0424de66d7e593464de859dac8a864
test-bench-deps:
bytestring: -any
... | da9fa3b083910a7366c1f34f4a7916e4865bb089 | packages/ma/macbeth-lib.yaml | packages/ma/macbeth-lib.yaml | YAML |
<|file_sep|>original/test_on_multiple_environments.sh
else
printf "ERROR: An RVM installation was not found.\n"
fi
function run {
gem list --local bundler | grep bundler || gem install bundler --no-ri --no-rdoc
echo 'Running bundle exec rspec spec against rails 3.1.3...'
MINI_AUTH_RAILS_VERSION=3.1.3 bundle u... | else
printf "ERROR: An RVM installation was not found.\n"
fi
function run {
gem list --local bundler | grep bundler || gem install bundler --no-ri --no-rdoc
for version in 3.1.3 3.2.0.rc1
do
echo "Running bundle exec rspec spec against rails $version..."
MINI_AUTH_RAILS_VERSION=$version bundle update ... | <|file_sep|>original/test_on_multiple_environments.sh
else
printf "ERROR: An RVM installation was not found.\n"
fi
function run {
gem list --local bundler | grep bundler || gem install bundler --no-ri --no-rdoc
echo 'Running bundle exec rspec spec against rails 3.1.3...'
MINI_AUTH_RAILS_VERSION=3.1.3 bundle u... | feb8d6562515857ffc73d163a234ebb0ecb33b75 | test_on_multiple_environments.sh | test_on_multiple_environments.sh | Shell |
<|file_sep|>README.md.diff
original:
2. Run `php composer.phar create-project -s dev cakephp/app [app_name]`.
updated:
2. Run `php composer.phar create-project --prefer-dist -s dev cakephp/app [app_name]`.
<|file_sep|>original/README.md
# CakePHP Application Skeleton
A skeleton for creating applications with [CakePHP]... | # CakePHP Application Skeleton
A skeleton for creating applications with [CakePHP](http://cakephp.org) 3.0.
This is an unstable repository and should be treated as an alpha.
## Installation
1. Download [Composer](http://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
2. Run `php composer.phar cre... | <|file_sep|>README.md.diff
original:
2. Run `php composer.phar create-project -s dev cakephp/app [app_name]`.
updated:
2. Run `php composer.phar create-project --prefer-dist -s dev cakephp/app [app_name]`.
<|file_sep|>original/README.md
# CakePHP Application Skeleton
A skeleton for creating applications with [CakePHP]... | eddd6d550726936b648a9ccfc3eef3220d23ce0d | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- /home/travis/virtualenv/python2.7
- /home/travis/virtualenv/python3.4
updated:
<|file_sep|>.travis.yml.diff
original:
- ./.travis-install-platter.sh
updated:
- ./.travis-install-platter.sh /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
<|file_sep|>original/.tr... | language: python
python:
- "2.7"
- "3.4"
cache:
directories:
- $HOME/.pip-cache/
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ppa
- sudo apt-get update -qq
- sudo apt-get install -y libgdal1h gdal-bin libgdal-dev
- wget https://s3.amazonaws.com/mapbox/rasterio/rasterio-0.25.0-$TRAVIS_PYT... | <|file_sep|>.travis.yml.diff
original:
- /home/travis/virtualenv/python2.7
- /home/travis/virtualenv/python3.4
updated:
<|file_sep|>.travis.yml.diff
original:
- ./.travis-install-platter.sh
updated:
- ./.travis-install-platter.sh /home/travis/virtualenv/python$TRAVIS_PYTHON_VERSION
<|file_sep|>original/.tr... | c6b2d34b8581c420c398fbcc4f86bb7c72aa2e6c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/run-tests.yml
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
poetry-version: ["1.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup... |
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
poetry-version: ["1.1"]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/... | <|file_sep|>original/.github/workflows/run-tests.yml
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
poetry-version: ["1.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup... | 660f29e78ee34c26c0c36f806df9a88da980ae77 | .github/workflows/run-tests.yml | .github/workflows/run-tests.yml | YAML |
<|file_sep|>original/README.md
##node-zk-browser
A zookeeper web browser in node.js. It's based on express and node-zookeeper.
##Configure
Edit app.js to configure your zk hosts
zk.init ({connect:"localhost:2181", timeout:200000, debug_level:ZK.ZOO_LOG_LEVEL_WARNING, host_order_deterministic:false});
##Run
Ty... | ##node-zk-browser
A zookeeper web browser in node.js. It's based on express and node-zookeeper.
##Configure
Edit app.js to configure your zk hosts
zk.init ({connect:"localhost:2181", timeout:200000, debug_level:ZK.ZOO_LOG_LEVEL_WARNING, host_order_deterministic:false});
##Run
Type command to start app
... | <|file_sep|>original/README.md
##node-zk-browser
A zookeeper web browser in node.js. It's based on express and node-zookeeper.
##Configure
Edit app.js to configure your zk hosts
zk.init ({connect:"localhost:2181", timeout:200000, debug_level:ZK.ZOO_LOG_LEVEL_WARNING, host_order_deterministic:false});
##Run
Ty... | 4c35e462c7e21db06b634a15e82825d8c42898ac | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"title": "UITour Config",
"name": "uitour-config",
"version": "0.0.1",
"description": "Add-on for configuring UITour preferences.",
"repository": "https://github.com/alexgibson/uitour-config",
"main": "index.js",
"author": "Alex Gibson",
"engines": {
"firefox": ">=4... | "title": "UITour Config",
"name": "uitour-config",
"version": "0.0.1",
"description": "Add-on for configuring UITour preferences.",
"repository": "https://github.com/alexgibson/uitour-config",
"main": "index.js",
"author": "Alex Gibson",
"engines": {
"firefox": ">=47.0"
},
"permissions": {
... | <|file_sep|>original/package.json
"title": "UITour Config",
"name": "uitour-config",
"version": "0.0.1",
"description": "Add-on for configuring UITour preferences.",
"repository": "https://github.com/alexgibson/uitour-config",
"main": "index.js",
"author": "Alex Gibson",
"engines": {
"firefox": ">=4... | 127bf8f8377639b4d54c7a151dada5eeeea7438d | package.json | package.json | JSON |
<|file_sep|>original/appveyor.yml
before_test:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- curl -ocabal.tar.gz https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz
- 7z x cabal.tar.gz
- 7z x cabal.tar
- ren c... | - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- curl -ocabal.tar.gz https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz
- 7z x cabal.tar.gz
- 7z x cabal.tar
- ren cabal-1.22.0.0-i386-unknown-mingw32.exe cabal.ex... | <|file_sep|>original/appveyor.yml
before_test:
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- 7z x stack.zip stack.exe
- curl -ocabal.tar.gz https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz
- 7z x cabal.tar.gz
- 7z x cabal.tar
- ren c... | 7afe0839cced136f45e9b08b562ae479e9bafb93 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>tests/stats.py.diff
original:
from instatrace.stats import Statistic
updated:
from instatrace.stats import Statistics
<|file_sep|>tests/stats.py.diff
original:
class testStatistic(unittest.TestCase):
def testName(self):
updated:
class testStatistics(unittest.TestCase):
def testStats(self):
<|file_se... |
import unittest
from instatrace.stats import Statistics
class testStatistics(unittest.TestCase):
def testStats(self):
name = "test_stat"
s = Statistics()
s.add_sample(name, 1)
s.add_sample(name, 2)
s.add_sample(name, 3)
test_stat = s.statistics.get(name)
... | <|file_sep|>tests/stats.py.diff
original:
from instatrace.stats import Statistic
updated:
from instatrace.stats import Statistics
<|file_sep|>tests/stats.py.diff
original:
class testStatistic(unittest.TestCase):
def testName(self):
updated:
class testStatistics(unittest.TestCase):
def testStats(self):
<|file_se... | fde3cb61225f66414f41eac141fb68651a3fe1c9 | tests/stats.py | tests/stats.py | Python |
<|file_sep|>setup.py.diff
original:
updated:
import os
<|file_sep|>setup.py.diff
original:
updated:
def get_ex_mod():
if 'NO_PY_EXT' in os.environ:
return None
return [module1]
<|file_sep|>original/setup.py
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter... | module1 = Extension('_elperiodic', sources = elp_srcs, \
extra_link_args = ['-Wl,--version-script=src/Symbol.map',])
def get_ex_mod():
if 'NO_PY_EXT' in os.environ:
return None
return [module1]
kwargs = {'name':'ElPeriodic',
'version':'1.0',
'description':'Phase-locked userland schedul... | <|file_sep|>setup.py.diff
original:
updated:
import os
<|file_sep|>setup.py.diff
original:
updated:
def get_ex_mod():
if 'NO_PY_EXT' in os.environ:
return None
return [module1]
<|file_sep|>original/setup.py
'src/prdic_main_fd.c', 'src/prdic_main_pfd.c', \
'src/prdic_main.c', \
'src/prdic_recfilter... | 566fa441f3864be4f813673dbaf8ffff87d28e17 | setup.py | setup.py | Python |
<|file_sep|>resources/assets/coffee/_classes/landing-hero.coffee.diff
original:
$(document).on 'turbolinks:load', @landingHeroInitialize
updated:
$(document).on 'turbolinks:load', @initialize
$(document).on 'turbolinks:before-cache', @remove
<|file_sep|>resources/assets/coffee/_classes/landing-hero.coffee.d... | $(document).on 'turbolinks:before-cache', @remove
initialize: =>
$('.js-landing-hero-slider')
.slick
fade: true
arrows: false
autoplay: true
adaptiveHeight: true
dots: true
appendDots: $('.js-landing-header')
os = osu.getOS()
others = osu.otherO... | <|file_sep|>resources/assets/coffee/_classes/landing-hero.coffee.diff
original:
$(document).on 'turbolinks:load', @landingHeroInitialize
updated:
$(document).on 'turbolinks:load', @initialize
$(document).on 'turbolinks:before-cache', @remove
<|file_sep|>resources/assets/coffee/_classes/landing-hero.coffee.d... | 59779c4d56a98c2a1230207ac3b3180a94a288f1 | resources/assets/coffee/_classes/landing-hero.coffee | resources/assets/coffee/_classes/landing-hero.coffee | CoffeeScript |
<|file_sep|>original/.github/workflows/codeql-analysis.yml
<|file_sep|>current/.github/workflows/codeql-analysis.yml
<|file_sep|>updated/.github/workflows/codeql-analysis.yml | # For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
branches: [master]
pull_request:
# The br... | <|file_sep|>original/.github/workflows/codeql-analysis.yml
<|file_sep|>current/.github/workflows/codeql-analysis.yml
<|file_sep|>updated/.github/workflows/codeql-analysis.yml
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter th... | 3005c4a0fa679dd24ba73738aa2abe6f20bdf0a4 | .github/workflows/codeql-analysis.yml | .github/workflows/codeql-analysis.yml | YAML |
<|file_sep|>original/metadata/ch.bailu.aat.txt
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Build:v0.9-alpha,9
commit=v0.9-alpha
target=android-21
Auto Update Mode... |
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Build:v0.9-alpha,9
commit=v0.9-alpha
target=android-21
Auto Update Mode:None
Update Check Mode:Tags
Current Version:v1... | <|file_sep|>original/metadata/ch.bailu.aat.txt
Build:v0.6-alpha,6
commit=v0.6-alpha
target=android-21
Build:v0.7-alpha,7
commit=v0.7-alpha
target=android-21
Build:v0.8-alpha,8
commit=v0.8-alpha
target=android-21
Build:v0.9-alpha,9
commit=v0.9-alpha
target=android-21
Auto Update Mode... | 6268fc8cdd21cf71e20afad87c1527b584dc404f | metadata/ch.bailu.aat.txt | metadata/ch.bailu.aat.txt | Text |
<|file_sep|>original/metadata/org.epstudios.morbidmeter.txt
Repo Type:git
Repo:https://github.com/mannd/morbidmeter-android.git
Build:1.2.1,4
commit=48f92
Build:2.0,5
commit=v2.0
Build:2.1.1,7
commit=v2.1.1
Build:2.2.1,10
disable=missing lib ../morbidmeterlib
commit=v2.2.1
Auto Update Mode:None... | Repo Type:git
Repo:https://github.com/mannd/morbidmeter-android.git
Build:1.2.1,4
commit=48f92
Build:2.0,5
commit=v2.0
Build:2.1.1,7
commit=v2.1.1
Build:2.2.1,10
disable=missing lib ../morbidmeterlib
commit=v2.2.1
Auto Update Mode:None
Update Check Mode:Tags
Current Version:2.4
Current Version ... | <|file_sep|>original/metadata/org.epstudios.morbidmeter.txt
Repo Type:git
Repo:https://github.com/mannd/morbidmeter-android.git
Build:1.2.1,4
commit=48f92
Build:2.0,5
commit=v2.0
Build:2.1.1,7
commit=v2.1.1
Build:2.2.1,10
disable=missing lib ../morbidmeterlib
commit=v2.2.1
Auto Update Mode:None... | d0ea7ef3e0b73719314e7561bfe65d9bbec59a1d | metadata/org.epstudios.morbidmeter.txt | metadata/org.epstudios.morbidmeter.txt | Text |
<|file_sep|>leds/led_dance.py.diff
original:
# Light LEDs at 'random' and make them fade over time
updated:
# Light LEDs at random and make them fade over time
<|file_sep|>leds/led_dance.py.diff
original:
# led_dance(speed)
updated:
# led_dance(delay)
<|file_sep|>leds/led_dance.py.diff
original:
# 'speed' is the ... | #
# Usage:
#
# led_dance(delay)
#
# 'delay' is the time between each new LED being turned on.
import microbit
def led_dance(delay):
dots = [ [0]*5, [0]*5, [0]*5, [0]*5, [0]*5 ]
microbit.display.set_display_mode(1)
while True:
dots[microbit.random(5)][microbit.random(5)] = 128
for i in r... | <|file_sep|>leds/led_dance.py.diff
original:
# Light LEDs at 'random' and make them fade over time
updated:
# Light LEDs at random and make them fade over time
<|file_sep|>leds/led_dance.py.diff
original:
# led_dance(speed)
updated:
# led_dance(delay)
<|file_sep|>leds/led_dance.py.diff
original:
# 'speed' is the ... | 77a5ecc7c406e4a6acf814a2f0381dc605e0d14c | leds/led_dance.py | leds/led_dance.py | Python |
<|file_sep|>original/lib/rails/generators/shadmin/resource/templates/controllers/shadmin_controller.rb
module Admin
class <%= resource_name.classify %>Controller < Shadmin::ApplicationController
# def index
# end
end
end
<|file_sep|>current/lib/rails/generators/shadmin/resource/templates/controllers/shadmin_contr... | module Admin
class <%= resource_name.classify %>Controller < Shadmin::ApplicationController
def index
end
def show
end
def new
end
def create
end
def edit
end
def update
end
def destroy | <|file_sep|>original/lib/rails/generators/shadmin/resource/templates/controllers/shadmin_controller.rb
module Admin
class <%= resource_name.classify %>Controller < Shadmin::ApplicationController
# def index
# end
end
end
<|file_sep|>current/lib/rails/generators/shadmin/resource/templates/controllers/shadmin_contr... | d65ecfc3f879f14ce891c0f64a29b13311a04366 | lib/rails/generators/shadmin/resource/templates/controllers/shadmin_controller.rb | lib/rails/generators/shadmin/resource/templates/controllers/shadmin_controller.rb | Ruby |
<|file_sep|>original/tests/Feature/EventsTest.php
<|file_sep|>current/tests/Feature/EventsTest.php
<|file_sep|>updated/tests/Feature/EventsTest.php | <?php
namespace Tests\Feature;
use Sijot\User;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class EventsTest extends TestCase
{
use DatabaseMigrations, DatabaseTransactions;
... | <|file_sep|>original/tests/Feature/EventsTest.php
<|file_sep|>current/tests/Feature/EventsTest.php
<|file_sep|>updated/tests/Feature/EventsTest.php
<?php
namespace Tests\Feature;
use Sijot\User;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrat... | 81fde698bd201abdb96d6fd45e6c94433e0528ff | tests/Feature/EventsTest.php | tests/Feature/EventsTest.php | PHP |
<|file_sep|>original/src/main/scala/info/thewordnerd/spiel/scripts/Script.scala
import android.view.accessibility.AccessibilityEvent
import info.thewordnerd.spiel.presenters._
import info.thewordnerd.spiel.utils.TTS
class Script(val pkg:String) {
protected val tts = TTS
protected def on(cls:String) = {
val... | class Script(val pkg:String) {
protected val tts = TTS
protected def on(cls:String) = {
val str = if(cls.startsWith(".")) pkg+cls else cls
new Handler(pkg, str)
}
}
class Handler(val pkg:String, val cls:String) {
def viewFocused(f:((AccessibilityEvent) => Boolean)) = ViewFocused.handlers(pkg -> cls)... | <|file_sep|>original/src/main/scala/info/thewordnerd/spiel/scripts/Script.scala
import android.view.accessibility.AccessibilityEvent
import info.thewordnerd.spiel.presenters._
import info.thewordnerd.spiel.utils.TTS
class Script(val pkg:String) {
protected val tts = TTS
protected def on(cls:String) = {
val... | 929e56b7129900b2735670dbe2de5e6417cee694 | src/main/scala/info/thewordnerd/spiel/scripts/Script.scala | src/main/scala/info/thewordnerd/spiel/scripts/Script.scala | Scala |
<|file_sep|>original/sublimelinter/modules/php.py
# php.py - sublimelint package for checking php files
import re
from base_linter import BaseLinter
CONFIG = {
'language': 'php',
'executable': 'php',
'lint_args': ('-l', '-d display_errors=On')
}
class Linter(BaseLinter):
def parse_errors(self, view... | # php.py - sublimelint package for checking php files
import re
from base_linter import BaseLinter
CONFIG = {
'language': 'php',
'executable': 'php',
'lint_args': ('-l', '-d display_errors=On')
}
class Linter(BaseLinter):
def parse_errors(self, view, errors, lines, errorUnderlines, violationUnderli... | <|file_sep|>original/sublimelinter/modules/php.py
# php.py - sublimelint package for checking php files
import re
from base_linter import BaseLinter
CONFIG = {
'language': 'php',
'executable': 'php',
'lint_args': ('-l', '-d display_errors=On')
}
class Linter(BaseLinter):
def parse_errors(self, view... | 25213d331b879a7203ccd99ccf34ad19661d1853 | sublimelinter/modules/php.py | sublimelinter/modules/php.py | Python |
<|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
fetch_deps:
updated:
fetch_requirejs:
<|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
updated:
fetch_ractive:
cmd.run:
<|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
- cmd: fetch_deps
updated:
<|file_sep|>orig... | clear_client:
cmd.run:
- name: cd /vagrant/redef/catalinker/server/lib/public && find . -mindepth 1 -maxdepth 1 -type d -exec rm -rf '{}' \; && find ! -name '.gitkeep' -type f -exec rm -f '{}' \;
fetch_requirejs:
cmd.run:
- name: wget -N http://requirejs.org/docs/release/2.1.19/minified/require.js -P /vagr... | <|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
fetch_deps:
updated:
fetch_requirejs:
<|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
updated:
fetch_ractive:
cmd.run:
<|file_sep|>salt/redef/catalinker/clientbuild.sls.diff
original:
- cmd: fetch_deps
updated:
<|file_sep|>orig... | b315854c43dd91d321755613ead2e4c7bebe236f | salt/redef/catalinker/clientbuild.sls | salt/redef/catalinker/clientbuild.sls | SaltStack |
<|file_sep|>original/app/views/modals/_food_hub.html.haml
%h2 Food Hubs
%h5 Our food hubs are the point of contact between you and the people who make your food!
%p You can search for a convenient hub by location or name. Some hubs have multiple points where you can pick-up your purchases, and some will also provide d... | %h2
%i.ofn-i_040-hub
Food Hubs
%h5 Our food hubs are the point of contact between you and the people who make your food!
%p You can search for a convenient hub by location or name. Some hubs have multiple points where you can pick-up your purchases, and some will also provide delivery options. Each food hub is a s... | <|file_sep|>original/app/views/modals/_food_hub.html.haml
%h2 Food Hubs
%h5 Our food hubs are the point of contact between you and the people who make your food!
%p You can search for a convenient hub by location or name. Some hubs have multiple points where you can pick-up your purchases, and some will also provide d... | 4971e2305f2a69e75a0e7bd2a846b2e0728a0d68 | app/views/modals/_food_hub.html.haml | app/views/modals/_food_hub.html.haml | Haml |
<|file_sep|>original/.github/workflows/test.yml
<|file_sep|>current/.github/workflows/test.yml
<|file_sep|>updated/.github/workflows/test.yml | name: Test CI
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build . --file Dockerfile.test.Dockerfile | <|file_sep|>original/.github/workflows/test.yml
<|file_sep|>current/.github/workflows/test.yml
<|file_sep|>updated/.github/workflows/test.yml
name: Test CI
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the D... | b04422286bd15e1eae293fae320308f6201bf809 | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/appveyor.yml
version: 4.3.{build}
skip_tags: true
configuration:
- Release
- Debug
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: >-
Vsix-IncrementVsixVersion | Vsix-Update... | version: 4.3.{build}
skip_tags: true
image: Visual Studio 2017
configuration:
- Release
- Debug
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: >-
Vsix-IncrementVsixVersion | Vsix-UpdateBuildVe... | <|file_sep|>original/appveyor.yml
version: 4.3.{build}
skip_tags: true
configuration:
- Release
- Debug
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
before_build:
- ps: >-
Vsix-IncrementVsixVersion | Vsix-Update... | 9e70a2348bd66b25e4bc93dac190b9da5caaf582 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown
<|file_sep|>current/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown
<|file_sep|>updated/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown | ---
title: Remake du coulant au chocolat
date: 2015-09-03 17:16 UTC
tags: chocolat, dessert
cover: remake-coulant-chocolat.jpg
---
Parfois les remakes peuvent être très bons, au cinema, en bande dessiné mais aussi en cuisine. La recette d'aujourd'hui en est un très bon exemple, car cette recette ne tueras pas votre ba... | <|file_sep|>original/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown
<|file_sep|>current/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown
<|file_sep|>updated/source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown
---
title: Remake du coulant au chocolat
date: ... | 730c88b145653e2e4c262f4950ce4bc150991638 | source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown | source/blog/fr/2015-09-03-remake-du-coulant-au-chocolat.html.markdown | Markdown |
<|file_sep|>original/shadow-platformer-android/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.fourbytes.shadow"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" android:t... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.fourbytes.shadow"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="17" />
<uses-permission android:name="android.... | <|file_sep|>original/shadow-platformer-android/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.fourbytes.shadow"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" android:t... | 09184d1a4c9b63ad6ab77e94c998214b9663dca0 | shadow-platformer-android/AndroidManifest.xml | shadow-platformer-android/AndroidManifest.xml | XML |
<|file_sep|>lib/ui/src/components/sidebar/Sidebar.stories.js.diff
original:
updated:
import * as StoriesExplorerStories from './StoriesExplorer.stories';
<|file_sep|>original/lib/ui/src/components/sidebar/Sidebar.stories.js
import Sidebar from './Sidebar';
import * as SidebarHeadingStories from './SidebarHeading.stor... | import Sidebar from './Sidebar';
import * as SidebarHeadingStories from './SidebarHeading.stories';
import * as NotificationsListStories from './NotificationList.stories';
import * as StoriesExplorerStories from './StoriesExplorer.stories';
export default {
Component: Sidebar,
title: 'UI|Sidebar/Sidebar',
};
cons... | <|file_sep|>lib/ui/src/components/sidebar/Sidebar.stories.js.diff
original:
updated:
import * as StoriesExplorerStories from './StoriesExplorer.stories';
<|file_sep|>original/lib/ui/src/components/sidebar/Sidebar.stories.js
import Sidebar from './Sidebar';
import * as SidebarHeadingStories from './SidebarHeading.stor... | 60b831c30cecf87da80bebc6de74fd692e3491a8 | lib/ui/src/components/sidebar/Sidebar.stories.js | lib/ui/src/components/sidebar/Sidebar.stories.js | JavaScript |
<|file_sep|>original/features/step_definitions/caution_title_explanations.rb
# On the search results page
When(/^I click on the summary caution against first registration link$/) do
find("strong.bold", :text => 'Caution against first registration')
link = find("[href^='#whats-caution-against-first-registration']")... | # On the search results page
When(/^I click on the summary caution against first registration link$/) do
find("strong.bold", :text => 'Caution against first registration')
link = find("[href^='#whats-caution-against-first-registration']")
link.click
@target = find(link[:href])
end
# On actual title pages
Whe... | <|file_sep|>original/features/step_definitions/caution_title_explanations.rb
# On the search results page
When(/^I click on the summary caution against first registration link$/) do
find("strong.bold", :text => 'Caution against first registration')
link = find("[href^='#whats-caution-against-first-registration']")... | 728a46870c4820f64c7eb4cfca455cb66b0b95d0 | features/step_definitions/caution_title_explanations.rb | features/step_definitions/caution_title_explanations.rb | Ruby |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.4.1
flake8==2.5.4
mccabe==0.4.0
pep8==1.7.0
progressbar2==3.6.2
py==1.4.31
pyflakes==1.0.0
pytest==2.9.1
requests==2.9.1
<|file_sep|>current/requirements.txt
beautifulsoup4==4.4.1
flake8==2.5.4
mccabe==0.4.0
pep8==1.7.0
progressbar2==3.6.2
py==1.4.31
pyflakes==1.0... | beautifulsoup4==4.4.1
flake8==2.5.4
mccabe==0.4.0
pep8==1.7.0
progressbar2==3.6.2
py==1.4.31
pyflakes==1.0.0
pytest==2.9.1
requests==2.20.0 | <|file_sep|>original/requirements.txt
beautifulsoup4==4.4.1
flake8==2.5.4
mccabe==0.4.0
pep8==1.7.0
progressbar2==3.6.2
py==1.4.31
pyflakes==1.0.0
pytest==2.9.1
requests==2.9.1
<|file_sep|>current/requirements.txt
beautifulsoup4==4.4.1
flake8==2.5.4
mccabe==0.4.0
pep8==1.7.0
progressbar2==3.6.2
py==1.4.31
pyflakes==1.0... | b90cab303d6a8e13d65594bcec2b41fdb36b64d4 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/flask_resty/spec/plugin.py
# add path arguments
parameters = []
for arg in rule.arguments:
parameters.append({
'name': arg,
'in': 'path',
'required': True,
'type': 'string',
})
if parameters:
path['parameters'] ... | # add path arguments
parameters = []
for arg in rule.arguments:
parameters.append({
'name': arg,
'in': 'path',
'required': True,
'type': 'string',
})
if parameters:
operations['parameters'] = parameters
path.path = flask_path_t... | <|file_sep|>original/flask_resty/spec/plugin.py
# add path arguments
parameters = []
for arg in rule.arguments:
parameters.append({
'name': arg,
'in': 'path',
'required': True,
'type': 'string',
})
if parameters:
path['parameters'] ... | 7440f8d3b6b4f2b1022d445fda943e981e6ab890 | flask_resty/spec/plugin.py | flask_resty/spec/plugin.py | Python |
<|file_sep|>original/setup.py
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
... | 'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: P... | <|file_sep|>original/setup.py
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
... | 5ed65dbf5541fafbe2dca389a1fdda1c01c229d8 | setup.py | setup.py | Python |
<|file_sep|>original/test/geotime/FetchTest.php
<?php
namespace geotime\Test;
use PHPUnit_Framework_TestCase;
use geotime\Fetch;
class FetchTest extends \PHPUnit_Framework_TestCase {
public function testGetCommonsImageURL()
{
$imageFile = Fetch::getCommonsImageURL('Wiki-commons', '.png');
$thi... | namespace geotime\Test;
use PHPUnit_Framework_TestCase;
use geotime\Fetch;
class FetchTest extends \PHPUnit_Framework_TestCase {
public function testGetCommonsImageURL()
{
$imageFile = Fetch::getCommonsImageURL('Wiki-commons', '.png');
$this->assertNotNull($imageFile);
}
public functio... | <|file_sep|>original/test/geotime/FetchTest.php
<?php
namespace geotime\Test;
use PHPUnit_Framework_TestCase;
use geotime\Fetch;
class FetchTest extends \PHPUnit_Framework_TestCase {
public function testGetCommonsImageURL()
{
$imageFile = Fetch::getCommonsImageURL('Wiki-commons', '.png');
$thi... | abfb236e49b330c2d5ef3753da682e263121e8c0 | test/geotime/FetchTest.php | test/geotime/FetchTest.php | PHP |
<|file_sep|>original/package.json
{
"name": "vtop",
"version": "0.1.7",
"description": "Wow such top. So stats",
"homepage": "http://parall.ax/vtop",
"main": "run.js",
"preferGlobal": true,
"engines": {
"node": ">=0.10.0"
},
"bin": {
"vtop": "./bin/vtop.js"
},
"author": {
"name": "Jame... | {
"name": "vtop",
"version": "0.1.8",
"description": "Wow such top. So stats",
"homepage": "http://parall.ax/vtop",
"main": "run.js",
"preferGlobal": true,
"engines": {
"node": ">=0.10.0"
},
"bin": {
"vtop": "./bin/vtop.js"
},
"author": {
"name": "James Hall",
"email": "james@paral... | <|file_sep|>original/package.json
{
"name": "vtop",
"version": "0.1.7",
"description": "Wow such top. So stats",
"homepage": "http://parall.ax/vtop",
"main": "run.js",
"preferGlobal": true,
"engines": {
"node": ">=0.10.0"
},
"bin": {
"vtop": "./bin/vtop.js"
},
"author": {
"name": "Jame... | f486981fba25ca4f35d75128d241400113979843 | package.json | package.json | JSON |
<|file_sep|>original/project.clj
(defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]}})
<|file_sep|>current/project.clj
(defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool ... | (defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]
:plugins [[lein-midje "3.1.3"]]}})
| <|file_sep|>original/project.clj
(defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]}})
<|file_sep|>current/project.clj
(defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool ... | 5c18bff6dfbbdc72c5304f571e1e559624c88254 | project.clj | project.clj | Clojure |
<|file_sep|>original/SIGS/features/09_room_edit_and_show.feature
<|file_sep|>current/SIGS/features/09_room_edit_and_show.feature
<|file_sep|>updated/SIGS/features/09_room_edit_and_show.feature | Feature: Room Edit and show
To use application resources
As a system user
I would like to edit and show a room
Scenario: Change code, name and capacity both valid of room
Given I am logged in as asssistant administrative
When click on link 'Salas'
And I press 'Icon edit' button
And I fill in 'c... | <|file_sep|>original/SIGS/features/09_room_edit_and_show.feature
<|file_sep|>current/SIGS/features/09_room_edit_and_show.feature
<|file_sep|>updated/SIGS/features/09_room_edit_and_show.feature
Feature: Room Edit and show
To use application resources
As a system user
I would like to edit and show a room
Scena... | d3e8a8070347d8cade8fe145e914a6ac0e628dfd | SIGS/features/09_room_edit_and_show.feature | SIGS/features/09_room_edit_and_show.feature | Cucumber |
<|file_sep|>original/assets/js/app/projects/project_services_controller.js
_.each(this.categories, _.bind(function(category) {
category.products = _.filter(this.products, function(product) {
return product.product_type_id == category.id;
});
}, this));
};
ProjectServicesController.resolve = {
/**@... |
_.each(this.categories, _.bind(function(category) {
category.products = _.filter(this.products, function(product) {
return product.product_type_id == category.id;
});
}, this));
};
ProjectServicesController.resolve = {
/**@ngInject*/
categories: function(ProductTypesResource) {
return Produc... | <|file_sep|>original/assets/js/app/projects/project_services_controller.js
_.each(this.categories, _.bind(function(category) {
category.products = _.filter(this.products, function(product) {
return product.product_type_id == category.id;
});
}, this));
};
ProjectServicesController.resolve = {
/**@... | fb87dcf8c04bf6423f3a72170f7684c795829e89 | assets/js/app/projects/project_services_controller.js | assets/js/app/projects/project_services_controller.js | JavaScript |
<|file_sep|>original/requirements.txt
ansible-lint==4.3.7
docker==5.0.0
flake8==3.9.1
molecule==3.0.8
pytest==6.2.4
testinfra==6.0.0
tox==3.23.1
<|file_sep|>current/requirements.txt
ansible-lint==4.3.7
docker==5.0.0
flake8==3.9.1
molecule==3.0.8
pytest==6.2.4
testinfra==6.0.0
tox==3.23.1
<|file_sep|>updated/requirement... | ansible-lint==4.3.7
docker==5.0.0
flake8==3.9.2
molecule==3.0.8
pytest==6.2.4
testinfra==6.0.0
tox==3.23.1 | <|file_sep|>original/requirements.txt
ansible-lint==4.3.7
docker==5.0.0
flake8==3.9.1
molecule==3.0.8
pytest==6.2.4
testinfra==6.0.0
tox==3.23.1
<|file_sep|>current/requirements.txt
ansible-lint==4.3.7
docker==5.0.0
flake8==3.9.1
molecule==3.0.8
pytest==6.2.4
testinfra==6.0.0
tox==3.23.1
<|file_sep|>updated/requirement... | b46ff294dac626cc08e54ec075fa3433d16b8ffa | requirements.txt | requirements.txt | Text |
<|file_sep|>info.php.diff
original:
'theme_name' => 'default',
updated:
'theme_name' => 'bootstrap',
<|file_sep|>info.php.diff
original:
'Henrik Schytte' => 'henrik@schytte.net',
'Marc Pujol' => 'kilburn@la3.org'
updated:
'Kevin' => 'kevin@totalwipeout.com'
<|file_sep|>original/info.php
* of the License, or (a... | * of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You sho... | <|file_sep|>info.php.diff
original:
'theme_name' => 'default',
updated:
'theme_name' => 'bootstrap',
<|file_sep|>info.php.diff
original:
'Henrik Schytte' => 'henrik@schytte.net',
'Marc Pujol' => 'kilburn@la3.org'
updated:
'Kevin' => 'kevin@totalwipeout.com'
<|file_sep|>original/info.php
* of the License, or (a... | 3de96e2621a16fe60212705ce518bdc81f251751 | info.php | info.php | PHP |
<|file_sep|>original/app/controllers/orders_controller.rb
class OrdersController < ApplicationController
end
<|file_sep|>current/app/controllers/orders_controller.rb
class OrdersController < ApplicationController
end
<|file_sep|>updated/app/controllers/orders_controller.rb | class OrdersController < ApplicationController
before_action :authenticate_user!
def index
@orders = Order.all
end
def new
@order = Order.new
end
def create
@order = Order.new(
user_id: params[:user_id],
subtotal: params[:subtotal],
... | <|file_sep|>original/app/controllers/orders_controller.rb
class OrdersController < ApplicationController
end
<|file_sep|>current/app/controllers/orders_controller.rb
class OrdersController < ApplicationController
end
<|file_sep|>updated/app/controllers/orders_controller.rb
class OrdersController < ApplicationController... | 515451a37bbea16ab11468f7dd34984f00603c4f | app/controllers/orders_controller.rb | app/controllers/orders_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 0.10
- 0.12
- 4
- 6
- 8
- 10
- 12 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 0.10
- 0.12
- 4
- 6
- 8
- 10
- 12 | 05d21d20902ec155b11d02f16a918d5a352c3b0d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/io.mainframe.hacs.yml
Repo: https://github.com/ktt-ol/hacs
Builds:
- versionName: 2.6.5
versionCode: 36
commit: 2.6.5
subdir: app
gradle:
- yes
- versionName: 2.6.7
versionCode: 37
commit: 2.6.7
subdir: app
gradle:
- yes
AutoUpdateMode: Ve... | Repo: https://github.com/ktt-ol/hacs
Builds:
- versionName: 2.6.5
versionCode: 36
commit: 2.6.5
subdir: app
gradle:
- yes
- versionName: 2.6.7
versionCode: 37
commit: 2.6.7
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 2.6.5... | <|file_sep|>original/metadata/io.mainframe.hacs.yml
Repo: https://github.com/ktt-ol/hacs
Builds:
- versionName: 2.6.5
versionCode: 36
commit: 2.6.5
subdir: app
gradle:
- yes
- versionName: 2.6.7
versionCode: 37
commit: 2.6.7
subdir: app
gradle:
- yes
AutoUpdateMode: Ve... | 6fe0ed869cd9e3bb95dcc16e6a393dfb9441b1af | metadata/io.mainframe.hacs.yml | metadata/io.mainframe.hacs.yml | YAML |
<|file_sep|>original/project.yml
name: dry-types
codacy_id: f2d71613195f4da993acb9ac9d6ea336
gemspec:
authors: ["Piotr Solnica"]
email: ["piotr.solnica@gmail.com"]
summary: "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc"
development_dependencies:... | name: dry-types
codacy_id: f2d71613195f4da993acb9ac9d6ea336
gemspec:
authors: ["Piotr Solnica"]
email: ["piotr.solnica@gmail.com"]
summary: "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc"
development_dependencies:
- bundler
- rake
- r... | <|file_sep|>original/project.yml
name: dry-types
codacy_id: f2d71613195f4da993acb9ac9d6ea336
gemspec:
authors: ["Piotr Solnica"]
email: ["piotr.solnica@gmail.com"]
summary: "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc"
development_dependencies:... | a658a67bd4f39d764b7e4cf40ac30f0bc7b40bdb | project.yml | project.yml | YAML |
<|file_sep|>src/Settings/FlightMap.SettingsGroup.json.diff
original:
"type": "string"
updated:
"type": "string",
"defaultValue": "Bing"
<|file_sep|>original/src/Settings/FlightMap.SettingsGroup.json
[
{
"name": "mapProvider",
"shortDescription": "Currently sel... | [
{
"name": "mapProvider",
"shortDescription": "Currently selected map provider for flight maps",
"type": "string",
"defaultValue": "Bing"
},
{
"name": "mapType",
"shortDescription": "Currently selected map type for flight maps",
"type": "s... | <|file_sep|>src/Settings/FlightMap.SettingsGroup.json.diff
original:
"type": "string"
updated:
"type": "string",
"defaultValue": "Bing"
<|file_sep|>original/src/Settings/FlightMap.SettingsGroup.json
[
{
"name": "mapProvider",
"shortDescription": "Currently sel... | 952ff5c65aaa78abb99dc6d3d5c1d84b7d93b989 | src/Settings/FlightMap.SettingsGroup.json | src/Settings/FlightMap.SettingsGroup.json | JSON |
<|file_sep|>original/src/Krystal/Db/Sql/Connector/MySQL.php
* {@inheritDoc}
*/
public function getArgs(array $config)
{
$dsn = 'mysql:host='.$config['host'];
if (isset($config['dbname'])) {
$dsn .= ';dbname='.$config['dbname'];
}
$dsn .= ';charset=utf8';
... | * {@inheritDoc}
*/
public function getArgs(array $config)
{
$dsn = 'mysql:host='.$config['host'];
if (isset($config['dbname'])) {
$dsn .= ';dbname='.$config['dbname'];
}
$dsn .= ';charset=utf8';
return array($dsn, $config['username'], $config['pas... | <|file_sep|>original/src/Krystal/Db/Sql/Connector/MySQL.php
* {@inheritDoc}
*/
public function getArgs(array $config)
{
$dsn = 'mysql:host='.$config['host'];
if (isset($config['dbname'])) {
$dsn .= ';dbname='.$config['dbname'];
}
$dsn .= ';charset=utf8';
... | 72e3d64233a45d30ea0b5e922c76aa91846294ea | src/Krystal/Db/Sql/Connector/MySQL.php | src/Krystal/Db/Sql/Connector/MySQL.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.