prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/app/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body>
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div>
<|file_sep|>current/app/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body>
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div>
<|file_sep|>updated/app/index.html | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body ontouchstart="">
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div> | <|file_sep|>original/app/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body>
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div>
<|file_sep|>current/app/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body>
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div>
<|file_sep|>updated/app/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkis</title>
</head>
<body ontouchstart="">
<div id="logo">
<div id="corners-container">
<div id="corners-anim-container-1"><div id="corners-anim-container-2">
<div id="corners">
<div class="row">
<div class="corner top left"><div></div></div>
<div class="corner top right"><div></div></div>
</div>
<div class="row">
<div class="corner bottom left"><div></div></div> | 5d09e5563f591892412b1fd03a91e13c13b2018c | app/index.html | app/index.html | HTML |
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_add(Matrix m);
updated:
public Matrix add(Matrix m);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_add(Matrix m, boolean modify);
updated:
public Matrix add(Matrix m, boolean modify);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_multiply(Matrix m);
updated:
public Matrix multiply(Matrix m);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_multiply(Matrix m, boolean modify);
updated:
public Matrix multiply(Matrix m, boolean modify);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_transpose(Matrix m);
updated:
public Matrix transpose(Matrix m);
<|file_sep|>original/MatrixInterface.java
public Matrix m_add(Matrix m);
public Matrix m_add(Matrix m, boolean modify);
// matrix multiplication
public Matrix m_multiply(Matrix m);
public Matrix m_multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix m_transpose(Matrix m);
public Matrix m_transpose(Matrix m, boolean modify);
// change element in matrix
public void m_edit(double[][] a1);
}
<|file_sep|>current/MatrixInterface.java
public Matrix add(Matrix m);
public Matrix add(Matrix m, boolean modify);
// matrix multiplication
public Matrix multiply(Matrix m);
public Matrix multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix transpose(Matrix m);
public Matrix transpose(Matrix m, boolean modify);
// change element in matrix
public void m_edit(double[][] a1);
}
<|file_sep|>updated/MatrixInterface.java | public Matrix add(Matrix m);
public Matrix add(Matrix m, boolean modify);
// matrix multiplication
public Matrix multiply(Matrix m);
public Matrix multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix transpose(Matrix m);
public Matrix transpose(Matrix m, boolean modify);
// change element in matrix
public double[][] edit();
} | <|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_add(Matrix m);
updated:
public Matrix add(Matrix m);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_add(Matrix m, boolean modify);
updated:
public Matrix add(Matrix m, boolean modify);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_multiply(Matrix m);
updated:
public Matrix multiply(Matrix m);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_multiply(Matrix m, boolean modify);
updated:
public Matrix multiply(Matrix m, boolean modify);
<|file_sep|>MatrixInterface.java.diff
original:
public Matrix m_transpose(Matrix m);
updated:
public Matrix transpose(Matrix m);
<|file_sep|>original/MatrixInterface.java
public Matrix m_add(Matrix m);
public Matrix m_add(Matrix m, boolean modify);
// matrix multiplication
public Matrix m_multiply(Matrix m);
public Matrix m_multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix m_transpose(Matrix m);
public Matrix m_transpose(Matrix m, boolean modify);
// change element in matrix
public void m_edit(double[][] a1);
}
<|file_sep|>current/MatrixInterface.java
public Matrix add(Matrix m);
public Matrix add(Matrix m, boolean modify);
// matrix multiplication
public Matrix multiply(Matrix m);
public Matrix multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix transpose(Matrix m);
public Matrix transpose(Matrix m, boolean modify);
// change element in matrix
public void m_edit(double[][] a1);
}
<|file_sep|>updated/MatrixInterface.java
public Matrix add(Matrix m);
public Matrix add(Matrix m, boolean modify);
// matrix multiplication
public Matrix multiply(Matrix m);
public Matrix multiply(Matrix m, boolean modify);
// transpose matrix
public Matrix transpose(Matrix m);
public Matrix transpose(Matrix m, boolean modify);
// change element in matrix
public double[][] edit();
} | 7e0887fb38e75f2ccb89d66c27757ca5e3b67720 | MatrixInterface.java | MatrixInterface.java | Java |
<|file_sep|>original/media/js/main.js
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
if ($.browser.msie) {
$('input, textarea').placeholder();
}
});
})(jQuery);
<|file_sep|>current/media/js/main.js
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
if ($.browser.msie) {
$('input, textarea').placeholder();
}
});
})(jQuery);
<|file_sep|>updated/media/js/main.js | app.locale = $('body').data('locale');
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
$('input, textarea').placeholder();
});
})(jQuery); | <|file_sep|>original/media/js/main.js
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
if ($.browser.msie) {
$('input, textarea').placeholder();
}
});
})(jQuery);
<|file_sep|>current/media/js/main.js
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
if ($.browser.msie) {
$('input, textarea').placeholder();
}
});
})(jQuery);
<|file_sep|>updated/media/js/main.js
app.locale = $('body').data('locale');
// Return a localized URL.
app.localeUrl = function(url) {
return '/' + app.locale + '/' + url.toString();
};
// Apply language change once another language is selected
$('#language').change(function() {
$('#language-switcher').submit();
});
//Main nav dropdown
$('a.dropdown-toggle').click(function() {
$('.dropdown-menu').toggle();
$('i.icon-reorder').toggleClass('open');
});
$('input, textarea').placeholder();
});
})(jQuery); | e8c34b60da218c4970ffcabc28854f429fc25798 | media/js/main.js | media/js/main.js | JavaScript |
<|file_sep|>original/docs/requirements.txt
sphinx==1.6.5
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.5
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0
<|file_sep|>updated/docs/requirements.txt | sphinx==1.6.6
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0 | <|file_sep|>original/docs/requirements.txt
sphinx==1.6.5
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0
<|file_sep|>current/docs/requirements.txt
sphinx==1.6.5
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0
<|file_sep|>updated/docs/requirements.txt
sphinx==1.6.6
sphinxcontrib-asyncio==0.2.0
sphinxcontrib-spelling==4.0.1
pyenchant==2.0.0 | d81256056dae7bf16eee06dc7157ff435e2415bc | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- xvfb-run wct
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- xvfb-run wct
<|file_sep|>updated/.travis.yml | language: node_js
sudo: required
dist: trusty
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script: | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- xvfb-run wct
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script:
- xvfb-run wct
<|file_sep|>updated/.travis.yml
language: node_js
sudo: required
dist: trusty
before_script:
- npm install web-component-tester
- npm install bower
- 'export PATH=$PWD/node_modules/.bin:$PATH'
- bower install
branches:
only:
- gh-pages
- master
node_js: 4
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
script: | 2a8ab780de9d38642051db22134765b4c7f21553 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/gradle.properties
springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.1.1
<|file_sep|>current/gradle.properties
springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.1.1
<|file_sep|>updated/gradle.properties | springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.2.0 | <|file_sep|>original/gradle.properties
springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.1.1
<|file_sep|>current/gradle.properties
springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.1.1
<|file_sep|>updated/gradle.properties
springVersion =5.1.2.RELEASE
springBootVersion =2.1.0.RELEASE
springDataCommonsVersion=2.1.2.RELEASE
springDataMongoVersion =2.1.2.RELEASE
springDataJPAVersion =2.1.2.RELEASE
springSecurityVersion =5.1.1.RELEASE
mongoDbDriverVersion =3.8.2
hibernateVersion =5.3.7.Final
guavaVersion =27.0-jre
gsonVersion =2.8.5
classgraphVersion =4.4.12
jodaVersion =2.9.7
polyjdbcVersion =0.7.6
aspectjweaverVersion =1.8.13
spockVersion =1.2-groovy-2.5
groovyVersion =2.5.5
embeddedMongo =2.2.0 | 39ceee3e8e301a31aec2427c45352c2712a2c9f4 | gradle.properties | gradle.properties | INI |
<|file_sep|>README.md.diff
original:
updated:
[](http://marnen.mit-license.org)
<|file_sep|>original/README.md
[](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](http://marnen.mit-license.org)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers
<|file_sep|>current/README.md
[](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](http://marnen.mit-license.org)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](http://marnen.mit-license.org)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers
<|file_sep|>updated/README.md | [](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](http://marnen.mit-license.org)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers | <|file_sep|>README.md.diff
original:
updated:
[](http://marnen.mit-license.org)
<|file_sep|>original/README.md
[](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](http://marnen.mit-license.org)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers
<|file_sep|>current/README.md
[](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](http://marnen.mit-license.org)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](http://marnen.mit-license.org)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers
<|file_sep|>updated/README.md
[](https://travis-ci.org/marnen/contraq)
[](https://gemnasium.com/marnen/contraq)
[](http://marnen.mit-license.org)
[](https://codeclimate.com/github/marnen/contraq/maintainability)
[](https://waffle.io/marnen/contraq)
# contraq
Contract tracker for musicians and other freelancers | 84bbb7cfadba60adbe1c416de03c9ca0a2a20a22 | README.md | README.md | Markdown |
<|file_sep|>original/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
*/
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String name, String oid, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() {
<|file_sep|>current/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
*/
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String name, String oid, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() {
<|file_sep|>updated/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java | */
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String oid, String name, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() { | <|file_sep|>original/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
*/
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String name, String oid, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() {
<|file_sep|>current/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
*/
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String name, String oid, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() {
<|file_sep|>updated/gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java
*/
public class ObjectViewDto implements Serializable {
private String oid;
private String name;
private String xml;
public ObjectViewDto() {
}
public ObjectViewDto(String oid, String name, String xml) {
this.name = name;
this.oid = oid;
this.xml = xml;
}
public String getName() {
return name;
}
public String getOid() { | 3d92d863b4b5c93c5d7892c83fdf32cec43e37da | gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java | gui/admin-gui-v2/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectViewDto.java | Java |
<|file_sep|>original/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@pagerduty-datadog-monitoringAndMetrics-<%= environment %>",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
}
<|file_sep|>current/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@pagerduty-datadog-monitoringAndMetrics-<%= environment %>",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
}
<|file_sep|>updated/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb | {
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@cloudops@pivotallabs.com",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
} | <|file_sep|>original/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@pagerduty-datadog-monitoringAndMetrics-<%= environment %>",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
}
<|file_sep|>current/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@pagerduty-datadog-monitoringAndMetrics-<%= environment %>",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
}
<|file_sep|>updated/alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{
"silenced": false,
"query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90",
"message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@cloudops@pivotallabs.com",
"name": "<%= environment %> logsearch-3AZ: Persistent disk usage greater than 90%",
"no_data_timeframe": 120,
"notify_no_data": false
} | 035787b33e5fe66576c89968763b83a7cdfc246c | alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb | alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb | HTML+ERB |
<|file_sep|>_includes/ganalytics.html.diff
original:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
updated:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
<|file_sep|>original/_includes/ganalytics.html
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-23466548-1");
pageTracker._setDomainName(".webrtc.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
<|file_sep|>current/_includes/ganalytics.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-23466548-1");
pageTracker._setDomainName(".webrtc.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
<|file_sep|>updated/_includes/ganalytics.html | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
</script> | <|file_sep|>_includes/ganalytics.html.diff
original:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
updated:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
<|file_sep|>original/_includes/ganalytics.html
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-23466548-1");
pageTracker._setDomainName(".webrtc.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
<|file_sep|>current/_includes/ganalytics.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-23466548-1");
pageTracker._setDomainName(".webrtc.org");
pageTracker._trackPageview();
} catch(err) {}
</script>
<|file_sep|>updated/_includes/ganalytics.html
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23466548-1', 'auto');
ga('send', 'pageview');
</script> | 00764c2ed145c23293da59ea1a8029841ab853df | _includes/ganalytics.html | _includes/ganalytics.html | HTML |
<|file_sep|>original/lib/aasm/graph.rb
require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end
<|file_sep|>current/lib/aasm/graph.rb
require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end
<|file_sep|>updated/lib/aasm/graph.rb | require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize(separator: '_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end | <|file_sep|>original/lib/aasm/graph.rb
require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end
<|file_sep|>current/lib/aasm/graph.rb
require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end
<|file_sep|>updated/lib/aasm/graph.rb
require "graphviz"
module AASM
class Graph < ::GraphViz
def initialize(class_name, options = {})
options = {path: '.'}.merge(options)
@file_path = File.join(options[:path], "#{class_name.parameterize(separator: '_')}_aasm.png")
super(:G)
end
def output
super png: @file_path
end
end
end | a8f907c5e708a482e493eee30a2260d76794aee1 | lib/aasm/graph.rb | lib/aasm/graph.rb | Ruby |
<|file_sep|>original/tests/utils/test_ssdp.py
<|file_sep|>current/tests/utils/test_ssdp.py
<|file_sep|>updated/tests/utils/test_ssdp.py | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Bo Maryniuk <bo@suse.de>`
'''
from __future__ import absolute_import, print_function, unicode_literals
from tests.support.unit import TestCase, skipIf
from tests.support.mock import (
NO_MOCK,
NO_MOCK_REASON,
MagicMock,
patch)
# Import Salt libs
import salt.exceptions
import salt.state
try:
import pytest
except ImportError as err:
pytest = None | <|file_sep|>original/tests/utils/test_ssdp.py
<|file_sep|>current/tests/utils/test_ssdp.py
<|file_sep|>updated/tests/utils/test_ssdp.py
# -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Bo Maryniuk <bo@suse.de>`
'''
from __future__ import absolute_import, print_function, unicode_literals
from tests.support.unit import TestCase, skipIf
from tests.support.mock import (
NO_MOCK,
NO_MOCK_REASON,
MagicMock,
patch)
# Import Salt libs
import salt.exceptions
import salt.state
try:
import pytest
except ImportError as err:
pytest = None | 6090dc1539bd0701381c73128a5ca0606adc09e4 | tests/utils/test_ssdp.py | tests/utils/test_ssdp.py | Python |
<|file_sep|>original/tests/factories/user.py
from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.LazyAttribute(lambda o: o.room.address)
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner')
<|file_sep|>current/tests/factories/user.py
from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.LazyAttribute(lambda o: o.room.address)
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner')
<|file_sep|>updated/tests/factories/user.py | from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.SelfAttribute('room.address')
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner') | <|file_sep|>original/tests/factories/user.py
from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.LazyAttribute(lambda o: o.room.address)
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner')
<|file_sep|>current/tests/factories/user.py
from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.LazyAttribute(lambda o: o.room.address)
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner')
<|file_sep|>updated/tests/factories/user.py
from pycroft.model.user import User
from .base import BaseFactory
from .facilities import RoomFactory
from .finance import AccountFactory
class UserFactory(BaseFactory):
class Meta:
model = User
login = Faker('user_name')
name = Faker('name')
registered_at = Faker('date_time')
password = Faker('password')
email = Faker('email')
account = factory.SubFactory(AccountFactory, type="USER_ASSET")
room = factory.SubFactory(RoomFactory)
address = factory.SelfAttribute('room.address')
class UserWithHostFactory(UserFactory):
host = factory.RelatedFactory('tests.factories.host.HostFactory', 'owner') | 73d0be7a432340b4ecd140ad1cc8792d3f049779 | tests/factories/user.py | tests/factories/user.py | Python |
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
import java.util.logging.Logger;
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
import javax.enterprise.inject.Disposes;
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
@Inject
Logger logger;
<|file_sep|>original/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
package pl.dawidstepien.jee.examples;
import java.text.SimpleDateFormat;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
}
<|file_sep|>current/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
import java.text.SimpleDateFormat;
import java.util.logging.Logger;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject
Logger logger;
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
}
<|file_sep|>updated/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java | import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject
Logger logger;
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
private void objectCreated(@Disposes SimpleDateFormat simpleDateFormat) {
logger.info("SimpleDateFormat object created.");
}
} | <|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
import java.util.logging.Logger;
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
import javax.enterprise.inject.Disposes;
<|file_sep|>cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java.diff
original:
updated:
@Inject
Logger logger;
<|file_sep|>original/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
package pl.dawidstepien.jee.examples;
import java.text.SimpleDateFormat;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
}
<|file_sep|>current/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
import java.text.SimpleDateFormat;
import java.util.logging.Logger;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject
Logger logger;
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
}
<|file_sep|>updated/cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
public class SimpleDateFormatProducer {
@Inject
Logger logger;
@Inject @SimpleDatePattern
private String pattern;
@Produces
public SimpleDateFormat produceSimpleDateFormat() {
return new SimpleDateFormat(pattern);
}
private void objectCreated(@Disposes SimpleDateFormat simpleDateFormat) {
logger.info("SimpleDateFormat object created.");
}
} | 78cb050afbd289324fea5323f39fef59d8dd13c7 | cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java | cdi-injection/src/main/java/pl/dawidstepien/jee/examples/SimpleDateFormatProducer.java | Java |
<|file_sep|>original/spec/main/program.js
var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.print('DONE', 'info');
<|file_sep|>current/spec/main/program.js
var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.print('DONE', 'info');
<|file_sep|>updated/spec/main/program.js | var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.assert(require('js-ext') === require("js-ext/a"), 'can require "main" without extension');
test.print('DONE', 'info'); | <|file_sep|>original/spec/main/program.js
var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.print('DONE', 'info');
<|file_sep|>current/spec/main/program.js
var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.print('DONE', 'info');
<|file_sep|>updated/spec/main/program.js
var test = require('test');
test.assert(require('dot-slash') === 10, 'main with "./"');
test.assert(require('js-ext') === 20, 'main with ".js" extension');
test.assert(require('no-ext') === 30, 'main with no extension');
test.assert(require('dot-js-ext') === 40, 'main with "." in module name and ".js" extension');
test.assert(require('js-ext') === require("js-ext/a"), 'can require "main" without extension');
test.print('DONE', 'info'); | 9ab9b55982f39de1b9866ee9ba86e4bbd7d2050d | spec/main/program.js | spec/main/program.js | JavaScript |
<|file_sep|>original/src/main/java/com/s24/redjob/worker/WrappingRunnable.java
* Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public Object unwrap() {
return runner;
}
}
<|file_sep|>current/src/main/java/com/s24/redjob/worker/WrappingRunnable.java
* Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public Object unwrap() {
return runner;
}
}
<|file_sep|>updated/src/main/java/com/s24/redjob/worker/WrappingRunnable.java | * Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public <R> R unwrap() {
return (R) runner;
}
} | <|file_sep|>original/src/main/java/com/s24/redjob/worker/WrappingRunnable.java
* Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public Object unwrap() {
return runner;
}
}
<|file_sep|>current/src/main/java/com/s24/redjob/worker/WrappingRunnable.java
* Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public Object unwrap() {
return runner;
}
}
<|file_sep|>updated/src/main/java/com/s24/redjob/worker/WrappingRunnable.java
* Job runner.
*/
private final Object runner;
/**
* Constructor.
*
* @param runner
* Job runner.
*/
public WrappingRunnable(Object runner) {
this.runner = runner;
}
/**
* Job runner.
*/
public <R> R unwrap() {
return (R) runner;
}
} | d5c22fe1d8452064a68dfcd9638dae5db92b808d | src/main/java/com/s24/redjob/worker/WrappingRunnable.java | src/main/java/com/s24/redjob/worker/WrappingRunnable.java | Java |
<|file_sep|>composer.json.diff
original:
"symfony/config": "~2.8|~3.0|~4.0",
"symfony/intl": "^2.8.18|^3.2.5|~4.0",
"symfony/yaml": "~3.3|~4.0",
updated:
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
<|file_sep|>original/composer.json
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~2.8|~3.0|~4.0",
"symfony/intl": "^2.8.18|^3.2.5|~4.0",
"symfony/yaml": "~3.3|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<2.8",
"symfony/yaml": "<3.3"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [
<|file_sep|>current/composer.json
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<2.8",
"symfony/yaml": "<3.3"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [
<|file_sep|>updated/composer.json | "php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<3.4",
"symfony/yaml": "<3.4"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [ | <|file_sep|>composer.json.diff
original:
"symfony/config": "~2.8|~3.0|~4.0",
"symfony/intl": "^2.8.18|^3.2.5|~4.0",
"symfony/yaml": "~3.3|~4.0",
updated:
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
<|file_sep|>original/composer.json
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~2.8|~3.0|~4.0",
"symfony/intl": "^2.8.18|^3.2.5|~4.0",
"symfony/yaml": "~3.3|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<2.8",
"symfony/yaml": "<3.3"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [
<|file_sep|>current/composer.json
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<2.8",
"symfony/yaml": "<3.3"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [
<|file_sep|>updated/composer.json
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0",
"psr/log": "~1.0"
},
"conflict": {
"symfony/config": "<3.4",
"symfony/yaml": "<3.4"
},
"suggest": {
"symfony/config": "",
"symfony/yaml": "",
"psr/log": "To use logging capability in translator"
},
"autoload": {
"psr-4": { "Symfony\\Component\\Translation\\": "" },
"exclude-from-classmap": [ | be8b1d624e8635204afdba85a68f041f82cc5f48 | composer.json | composer.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- env: TEST_TYPE=test-compile failsafe:integration-test
updated:
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
updated:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" $TEST_TYPE
updated:
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
<|file_sep|>original/.travis.yml
- env: TEST_TYPE=test-compile failsafe:integration-test
env:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" $TEST_TYPE
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a \"$TEST_TYPE\" == \"test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE
<|file_sep|>current/.travis.yml
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
env:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a \"$TEST_TYPE\" == \"test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE
<|file_sep|>updated/.travis.yml | - env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
env:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a $TEST_TYPE == \"acceptance-test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE | <|file_sep|>.travis.yml.diff
original:
- env: TEST_TYPE=test-compile failsafe:integration-test
updated:
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
updated:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
<|file_sep|>.travis.yml.diff
original:
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" $TEST_TYPE
updated:
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
<|file_sep|>original/.travis.yml
- env: TEST_TYPE=test-compile failsafe:integration-test
env:
- TEST_TYPE=test
- TEST_TYPE=test-compile failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" $TEST_TYPE
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a \"$TEST_TYPE\" == \"test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE
<|file_sep|>current/.travis.yml
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
env:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a \"$TEST_TYPE\" == \"test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE
<|file_sep|>updated/.travis.yml
- env: TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
env:
- TEST_TYPE=acceptance-test MVN_GOAL=test
- TEST_TYPE=examples MVN_GOAL=failsafe:integration-test
cache:
directories:
- $HOME/.m2
addons:
sauce_connect: true
language: java
script: mvn -DseleniumGridUrl=http://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.saucelabs.com:80/wd/hub -DseleniumCapabilities="browserName:chrome,tunnel-identifier:$TRAVIS_JOB_NUMBER,name:Travis $TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER,build:$TRAVIS_BUILD_NUMBER" test-compile $MVN_GOAL
after_success:
- "[[ $TRAVIS_BRANCH == \"master\" -a $TEST_TYPE == \"acceptance-test\" ]] && { python addServer.py; mvn -DskipTests deploy --settings ~/.m2/mySettings.xml; };"
after_script:
- ./publish_test_results.sh $TEST_TYPE | b309f05b018992e1ae3e319c2a1de960d10b772a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/components/poi-maps/partials/_img.html.haml
:ruby
src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
%img.poi-map__img{ src: src, width: properties[:width], height: properties[:height], alt: properties[:alt] }
<|file_sep|>current/app/views/components/poi-maps/partials/_img.html.haml
:ruby
src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
%img.poi-map__img{ src: src, width: properties[:width], height: properties[:height], alt: properties[:alt] }
<|file_sep|>updated/app/views/components/poi-maps/partials/_img.html.haml | src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
stylers = [
"feature:water|element:geometry|color:0xcbdae7",
"feature:landscape.man_made|element:geometry.fill|color:0xeff1f3",
"feature:road|element:labels.text.stroke|color:0xffffff",
"feature:road.arterial|element:geometry.fill|color:0xffffff",
"feature:road.arterial|element:geometry.stroke|visibility:off",
"feature:road.highway|element:geometry.fill|color:0x16c98d",
"feature:road.highway|element:geometry.stroke|visibility:off",
"feature:road.local|element:geometry.stroke|visibility:off",
"feature:road.local|element:labels|visibility:off",
"feature:poi.park|element:geometry.fill|color:0xc8e6aa", | <|file_sep|>original/app/views/components/poi-maps/partials/_img.html.haml
:ruby
src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
%img.poi-map__img{ src: src, width: properties[:width], height: properties[:height], alt: properties[:alt] }
<|file_sep|>current/app/views/components/poi-maps/partials/_img.html.haml
:ruby
src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
%img.poi-map__img{ src: src, width: properties[:width], height: properties[:height], alt: properties[:alt] }
<|file_sep|>updated/app/views/components/poi-maps/partials/_img.html.haml
src = "https://maps.googleapis.com/maps/api/staticmap"
src+= "?size=#{properties[:width]}x#{properties[:height]}"
src+= "&zoom=#{properties[:zoom]}&scale=#{properties[:scale]}"
if properties[:marker]
src+= "&markers=icon:#{CGI.escape(properties[:icon])}|#{properties[:latitude]},#{properties[:longitude]}"
else
src+= "¢er=#{properties[:latitude]},#{properties[:longitude]}"
end
stylers = [
"feature:water|element:geometry|color:0xcbdae7",
"feature:landscape.man_made|element:geometry.fill|color:0xeff1f3",
"feature:road|element:labels.text.stroke|color:0xffffff",
"feature:road.arterial|element:geometry.fill|color:0xffffff",
"feature:road.arterial|element:geometry.stroke|visibility:off",
"feature:road.highway|element:geometry.fill|color:0x16c98d",
"feature:road.highway|element:geometry.stroke|visibility:off",
"feature:road.local|element:geometry.stroke|visibility:off",
"feature:road.local|element:labels|visibility:off",
"feature:poi.park|element:geometry.fill|color:0xc8e6aa", | ca3e6f0b440b52c08202d67f80ed14bc6de2a671 | app/views/components/poi-maps/partials/_img.html.haml | app/views/components/poi-maps/partials/_img.html.haml | Haml |
<|file_sep|>original/ansible/playbook.yml
- name: Install dependencies
become: true
become_method: su
become_user: root
package: name={{ item }} state=latest
with_items:
- "{{ build_essential_package }}"
- "{{ cmake_package }}"
- "{{ curl_package }}"
- "{{ exuberant_ctags_package }}"
- "{{ git_package }}"
- "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
<|file_sep|>current/ansible/playbook.yml
- name: Install dependencies
become: true
become_method: su
become_user: root
package: name={{ item }} state=latest
with_items:
- "{{ build_essential_package }}"
- "{{ cmake_package }}"
- "{{ curl_package }}"
- "{{ exuberant_ctags_package }}"
- "{{ git_package }}"
- "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
<|file_sep|>updated/ansible/playbook.yml | - "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
when: item != ""
- name: Symlink Neovim config
file:
src={{ repo_dir }}/init.vim
dest=~/.config/nvim/init.vim
state=link
- name: Create vim-plug directory
file: path=~/.local/share/nvim/site/autoload state=directory
| <|file_sep|>original/ansible/playbook.yml
- name: Install dependencies
become: true
become_method: su
become_user: root
package: name={{ item }} state=latest
with_items:
- "{{ build_essential_package }}"
- "{{ cmake_package }}"
- "{{ curl_package }}"
- "{{ exuberant_ctags_package }}"
- "{{ git_package }}"
- "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
<|file_sep|>current/ansible/playbook.yml
- name: Install dependencies
become: true
become_method: su
become_user: root
package: name={{ item }} state=latest
with_items:
- "{{ build_essential_package }}"
- "{{ cmake_package }}"
- "{{ curl_package }}"
- "{{ exuberant_ctags_package }}"
- "{{ git_package }}"
- "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
<|file_sep|>updated/ansible/playbook.yml
- "{{ golang_package }}"
- "{{ mono_xbuild }}"
- "{{ node_typescript_package }}"
- "{{ npm_package }}"
- "{{ python_dev_package }}"
- "{{ python3_dev_package }}"
- "{{ sudo_package }}"
- "{{ tmux_package }}"
- "{{ vim_package }}"
- "{{ zsh_package }}"
when: item != ""
- name: Symlink Neovim config
file:
src={{ repo_dir }}/init.vim
dest=~/.config/nvim/init.vim
state=link
- name: Create vim-plug directory
file: path=~/.local/share/nvim/site/autoload state=directory
| 428258bef438865799fdb1946640d65a36855125 | ansible/playbook.yml | ansible/playbook.yml | YAML |
<|file_sep|>pyinfra_cli/__main__.py.diff
original:
updated:
import gevent
<|file_sep|>pyinfra_cli/__main__.py.diff
original:
# Handle ctrl+c
def _signal_handler(signum, frame):
print('Exiting upon user request!')
updated:
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
<|file_sep|>original/pyinfra_cli/__main__.py
# Make sure imported files (deploy.py/etc) behave as if imported from the cwd
sys.path.append('.')
# Shut it click
click.disable_unicode_literals_warning = True # noqa
# Handle ctrl+c
def _signal_handler(signum, frame):
print('Exiting upon user request!')
sys.exit(0)
signal.signal(signal.SIGINT, _signal_handler) # noqa
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli()
<|file_sep|>current/pyinfra_cli/__main__.py
# Make sure imported files (deploy.py/etc) behave as if imported from the cwd
sys.path.append('.')
# Shut it click
click.disable_unicode_literals_warning = True # noqa
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
sys.exit(0)
signal.signal(signal.SIGINT, _signal_handler) # noqa
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli()
<|file_sep|>updated/pyinfra_cli/__main__.py |
# Shut it click
click.disable_unicode_literals_warning = True # noqa
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
sys.exit(0)
gevent.signal(signal.SIGINT, gevent.kill) # kill any greenlets on ctrl+c
signal.signal(signal.SIGINT, _handle_interrupt) # print the message and exit main
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli() | <|file_sep|>pyinfra_cli/__main__.py.diff
original:
updated:
import gevent
<|file_sep|>pyinfra_cli/__main__.py.diff
original:
# Handle ctrl+c
def _signal_handler(signum, frame):
print('Exiting upon user request!')
updated:
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
<|file_sep|>original/pyinfra_cli/__main__.py
# Make sure imported files (deploy.py/etc) behave as if imported from the cwd
sys.path.append('.')
# Shut it click
click.disable_unicode_literals_warning = True # noqa
# Handle ctrl+c
def _signal_handler(signum, frame):
print('Exiting upon user request!')
sys.exit(0)
signal.signal(signal.SIGINT, _signal_handler) # noqa
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli()
<|file_sep|>current/pyinfra_cli/__main__.py
# Make sure imported files (deploy.py/etc) behave as if imported from the cwd
sys.path.append('.')
# Shut it click
click.disable_unicode_literals_warning = True # noqa
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
sys.exit(0)
signal.signal(signal.SIGINT, _signal_handler) # noqa
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli()
<|file_sep|>updated/pyinfra_cli/__main__.py
# Shut it click
click.disable_unicode_literals_warning = True # noqa
def _handle_interrupt(signum, frame):
click.echo('Exiting upon user request!')
sys.exit(0)
gevent.signal(signal.SIGINT, gevent.kill) # kill any greenlets on ctrl+c
signal.signal(signal.SIGINT, _handle_interrupt) # print the message and exit main
def execute_pyinfra():
# Legacy support for pyinfra <0.4 using docopt
if '-i' in sys.argv:
run_main_with_legacy_arguments(main)
else:
cli() | ce77cbeb6fcb71b49c669188b38e43fb75e4d729 | pyinfra_cli/__main__.py | pyinfra_cli/__main__.py | Python |
<|file_sep|>original/app/assets/stylesheets/organisations.css
left: 30%;
width: 200px;
padding: 10px;
background: #000;
opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
<|file_sep|>current/app/assets/stylesheets/organisations.css
left: 30%;
width: 200px;
padding: 10px;
background: #000;
opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
<|file_sep|>updated/app/assets/stylesheets/organisations.css | opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
.borderless {
border-top: none !important;
} | <|file_sep|>original/app/assets/stylesheets/organisations.css
left: 30%;
width: 200px;
padding: 10px;
background: #000;
opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
<|file_sep|>current/app/assets/stylesheets/organisations.css
left: 30%;
width: 200px;
padding: 10px;
background: #000;
opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
<|file_sep|>updated/app/assets/stylesheets/organisations.css
opacity: 0.8;
color: #FFF;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.org_form {
width: 95%;
margin-bottom: 0 !important;
}
.org-info-msg-1 {
color: rgba(0, 0, 0, 0.7);
background-color: #E0FDEF;
width:50%;
border-radius:2em;
text-align: center;
}
.borderless {
border-top: none !important;
} | f32985b1d55fac0d101ebba2b848469cc8b82f6f | app/assets/stylesheets/organisations.css | app/assets/stylesheets/organisations.css | CSS |
<|file_sep|>original/resources/scss/theme/layout/_push.scss
&:hover {
text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
position: relative;
}
}
<|file_sep|>current/resources/scss/theme/layout/_push.scss
&:hover {
text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
position: relative;
}
}
<|file_sep|>updated/resources/scss/theme/layout/_push.scss | text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
top: 0;
position: relative;
}
} | <|file_sep|>original/resources/scss/theme/layout/_push.scss
&:hover {
text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
position: relative;
}
}
<|file_sep|>current/resources/scss/theme/layout/_push.scss
&:hover {
text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
position: relative;
}
}
<|file_sep|>updated/resources/scss/theme/layout/_push.scss
text-decoration: underline;
}
}
}
.dismiss {
top: 0.5em;
right: 1em;
z-index: 10001;
position: absolute;
font-size: $font-size-lg;
color: darken($gray-lighter, 20%);
}
}
body.pushing {
#push {
top: 0;
position: relative;
}
} | 6de96c93e1cba672a40c914fb09a45c363630e06 | resources/scss/theme/layout/_push.scss | resources/scss/theme/layout/_push.scss | SCSS |
<|file_sep|>original/requirements-dev.txt
coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.2.4
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14
<|file_sep|>current/requirements-dev.txt
coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.2.4
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14
<|file_sep|>updated/requirements-dev.txt | coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.3.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14 | <|file_sep|>original/requirements-dev.txt
coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.2.4
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14
<|file_sep|>current/requirements-dev.txt
coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.2.4
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14
<|file_sep|>updated/requirements-dev.txt
coverage==4.4.1
flake8==3.4.1
ipdb==0.10.2
ipython==6.1.0
pytest==3.3.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.4
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.14 | 5289fdb6a6e993b6902e84a92ae04f9850a18cad | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/Package.json
{
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git",
"tag": "v0.3.*" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
}
<|file_sep|>current/Package.json
{
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git",
"tag": "v0.3.*" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
}
<|file_sep|>updated/Package.json | {
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
} | <|file_sep|>original/Package.json
{
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git",
"tag": "v0.3.*" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
}
<|file_sep|>current/Package.json
{
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git",
"tag": "v0.3.*" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
}
<|file_sep|>updated/Package.json
{
"dependencies": [
{ "repo": "https://gitorious.org/mcinglis/libtypes.git",
"tag": "v2.*" },
{ "repo": "https://gitorious.org/mcinglis/libmacro.git",
"tag": "v1.*" },
{ "repo": "https://gitorious.org/mcinglis/libbase.git" }
],
"commands": {
"build": "make",
"fast": "make fast",
"clean": "make clean"
}
} | 91edfbbc149943bb323fb09434d730fd63a291cd | Package.json | Package.json | JSON |
<|file_sep|>original/requirements/base.txt
Django==2.2.7
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
<|file_sep|>current/requirements/base.txt
Django==2.2.7
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
<|file_sep|>updated/requirements/base.txt | Django==3.0
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
| <|file_sep|>original/requirements/base.txt
Django==2.2.7
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
<|file_sep|>current/requirements/base.txt
Django==2.2.7
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
<|file_sep|>updated/requirements/base.txt
Django==3.0
six==1.13.0
sqlparse==0.3.0
# Whitenoise: Staticfile hosting
whitenoise==4.1.4
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.1.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit Serializer: Serializer for the Django REST Framework
djangorestframework==3.10.3
django-taggit-serializer==0.1.7
requests==2.22.0
| baba18e7822a798c16f55ce4a9169634a4059c93 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/lib/troo/cli/thor_fixes.rb
module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
"#{basename} #{@package_name} #{command.usage}"
end
end
end
end
<|file_sep|>current/lib/troo/cli/thor_fixes.rb
module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
"#{basename} #{@package_name} #{command.usage}"
end
end
end
end
<|file_sep|>updated/lib/troo/cli/thor_fixes.rb | module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
if subcommand
"#{basename} #{@package_name} #{command.usage}"
else
"#{basename}#{@package_name} #{command.usage}"
end
end
end
end
end | <|file_sep|>original/lib/troo/cli/thor_fixes.rb
module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
"#{basename} #{@package_name} #{command.usage}"
end
end
end
end
<|file_sep|>current/lib/troo/cli/thor_fixes.rb
module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
"#{basename} #{@package_name} #{command.usage}"
end
end
end
end
<|file_sep|>updated/lib/troo/cli/thor_fixes.rb
module Troo
module CLI
class ThorFixes < Thor
# def self.exit_on_failure?
# true # exit code is non-zero on error
# end
def self.banner(command, namespace = nil, subcommand = false)
if subcommand
"#{basename} #{@package_name} #{command.usage}"
else
"#{basename}#{@package_name} #{command.usage}"
end
end
end
end
end | 4347bdbdd6a0d12f67666d36e23042129c6e3969 | lib/troo/cli/thor_fixes.rb | lib/troo/cli/thor_fixes.rb | Ruby |
<|file_sep|>original/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
<|file_sep|>current/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
<|file_sep|>updated/_posts/recept/2020-06-01-Geroosterde-bloemkool.md | ---
layout: single
title: "Geroosterde bloemkool met curry"
date: 2020-06-01 12:00:00 +0000
published: true
categories: ["Recepten"]
tags: ["Recept"]
author: Tom Kerkhove
---
# Ingrediënten
Voor dit gerecht heb je volgende ingrediënten nodig:
- 1 grote of 2 kleine bloemkool, gebroken in roosjes of roosjes in plakjes gesneden
- 4 teentjes knoflook, in plakjes gesneden
- 1/4 theelepel gemalen zwarte peper
- 1 ui in halve schijfjes gesneden
- 120 ml extra vergine olijfolie
- 2 theelepels geel kerriepoeder
- 1/4 theelepel gemalen kaneel
- 1/2 theelepel zout | <|file_sep|>original/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
<|file_sep|>current/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
<|file_sep|>updated/_posts/recept/2020-06-01-Geroosterde-bloemkool.md
---
layout: single
title: "Geroosterde bloemkool met curry"
date: 2020-06-01 12:00:00 +0000
published: true
categories: ["Recepten"]
tags: ["Recept"]
author: Tom Kerkhove
---
# Ingrediënten
Voor dit gerecht heb je volgende ingrediënten nodig:
- 1 grote of 2 kleine bloemkool, gebroken in roosjes of roosjes in plakjes gesneden
- 4 teentjes knoflook, in plakjes gesneden
- 1/4 theelepel gemalen zwarte peper
- 1 ui in halve schijfjes gesneden
- 120 ml extra vergine olijfolie
- 2 theelepels geel kerriepoeder
- 1/4 theelepel gemalen kaneel
- 1/2 theelepel zout | d57a84772d2159bfae832cda4c78b3a41695027d | _posts/recept/2020-06-01-Geroosterde-bloemkool.md | _posts/recept/2020-06-01-Geroosterde-bloemkool.md | Markdown |
<|file_sep|>code/pr_label_update.sh.diff
original:
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels"
updated:
else
LABELS="[]"
<|file_sep|>original/code/pr_label_update.sh
if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels"
fi
<|file_sep|>current/code/pr_label_update.sh
if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
else
LABELS="[]"
fi
<|file_sep|>updated/code/pr_label_update.sh | if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
else
LABELS="[]"
fi
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels" | <|file_sep|>code/pr_label_update.sh.diff
original:
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels"
updated:
else
LABELS="[]"
<|file_sep|>original/code/pr_label_update.sh
if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels"
fi
<|file_sep|>current/code/pr_label_update.sh
if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
else
LABELS="[]"
fi
<|file_sep|>updated/code/pr_label_update.sh
if [ -z "$LABEL_FILE" ]; then
echo "Missing temp file location."
exit 1
fi
if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
echo "Not a pull request."
echo "Not running post-build step."
exit 0
fi
if [ -f "$LABEL_FILE" ]; then
LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
else
LABELS="[]"
fi
DATA="{\"labels\": $LABELS}"
curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels" | 3cc9caf2c1967a47fe1ec84c77dd080fee9b2733 | code/pr_label_update.sh | code/pr_label_update.sh | Shell |
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Network cookie jar which loads and stores cookies on a persistent file on disk.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Create a new persistent cookie jar.
* @param filename The full path of the file to use to load and store cookies.
* @param parent The Qt parent object.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
~PersistentCookieJar();
updated:
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Saves the cookies before destroying the instance.
*/
~PersistentCookieJar() override;
/**
* Remove all cookies from the cookie jar.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Add new cookies to the cookie jar.
* @param cookies The list of cookies to add to the cookie jar.
* @return Whether all cookies were successfully added to the cookie jar.
*/
<|file_sep|>original/src/lib/src/network/persistent-cookie-jar.h
public:
explicit PersistentCookieJar(QString filename, QObject *parent = nullptr);
~PersistentCookieJar();
void clear();
bool insertCookies(const QList<QNetworkCookie> &cookies);
virtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
virtual bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
void save();
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
#endif // PERSISTENT_COOKIE_JAR_H
<|file_sep|>current/src/lib/src/network/persistent-cookie-jar.h
* @param cookies The list of cookies to add to the cookie jar.
* @return Whether all cookies were successfully added to the cookie jar.
*/
bool insertCookies(const QList<QNetworkCookie> &cookies);
QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
/**
* Save the cookies to the file.
*/
void save();
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
#endif // PERSISTENT_COOKIE_JAR_H
<|file_sep|>updated/src/lib/src/network/persistent-cookie-jar.h | bool insertCookies(const QList<QNetworkCookie> &cookies);
QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
/**
* Save the cookies to the file.
*/
void save();
/**
* Load the cookies from the file.
*/
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
| <|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Network cookie jar which loads and stores cookies on a persistent file on disk.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Create a new persistent cookie jar.
* @param filename The full path of the file to use to load and store cookies.
* @param parent The Qt parent object.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
~PersistentCookieJar();
updated:
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Saves the cookies before destroying the instance.
*/
~PersistentCookieJar() override;
/**
* Remove all cookies from the cookie jar.
*/
<|file_sep|>src/lib/src/network/persistent-cookie-jar.h.diff
original:
updated:
/**
* Add new cookies to the cookie jar.
* @param cookies The list of cookies to add to the cookie jar.
* @return Whether all cookies were successfully added to the cookie jar.
*/
<|file_sep|>original/src/lib/src/network/persistent-cookie-jar.h
public:
explicit PersistentCookieJar(QString filename, QObject *parent = nullptr);
~PersistentCookieJar();
void clear();
bool insertCookies(const QList<QNetworkCookie> &cookies);
virtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
virtual bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
void save();
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
#endif // PERSISTENT_COOKIE_JAR_H
<|file_sep|>current/src/lib/src/network/persistent-cookie-jar.h
* @param cookies The list of cookies to add to the cookie jar.
* @return Whether all cookies were successfully added to the cookie jar.
*/
bool insertCookies(const QList<QNetworkCookie> &cookies);
QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
/**
* Save the cookies to the file.
*/
void save();
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
#endif // PERSISTENT_COOKIE_JAR_H
<|file_sep|>updated/src/lib/src/network/persistent-cookie-jar.h
bool insertCookies(const QList<QNetworkCookie> &cookies);
QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const override;
bool setCookiesFromUrl(const QList<QNetworkCookie> &cookieList, const QUrl &url) override;
protected:
/**
* Save the cookies to the file.
*/
void save();
/**
* Load the cookies from the file.
*/
void load();
private:
QString m_filename;
mutable QMutex m_mutex;
};
| 7c0fe28d061b6316017683c31b2e027c2d2f017f | src/lib/src/network/persistent-cookie-jar.h | src/lib/src/network/persistent-cookie-jar.h | C |
<|file_sep|>original/.travis.yml
language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i
<|file_sep|>current/.travis.yml
language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i
<|file_sep|>updated/.travis.yml | language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- curl https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt | sudo tee /usr/share/ca-certificates/lets-encrypt-x3-cross-signed.crt
- echo "lets-encrypt-x3-cross-signed.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i | <|file_sep|>original/.travis.yml
language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i
<|file_sep|>current/.travis.yml
language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i
<|file_sep|>updated/.travis.yml
language: c
compiler: clang
before_install:
- curl https://letsencrypt.org/certs/isrgrootx1.pem.txt | sudo tee /usr/share/ca-certificates/isrgrootx1.crt
- echo "isrgrootx1.crt" | sudo tee -a /etc/ca-certificates.conf
- curl https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt | sudo tee /usr/share/ca-certificates/lets-encrypt-x3-cross-signed.crt
- echo "lets-encrypt-x3-cross-signed.crt" | sudo tee -a /etc/ca-certificates.conf
- sudo update-ca-certificates
- curl https://raw.githubusercontent.com/bbcarchdev/bbcarchdev-keys/main/bbcarchdev-apt.asc | sudo apt-key add -
- echo "deb https://apt.bbcarchdev.net/debian stable main port dev stage live" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update -qq
- sudo apt-get install -qq automake autoconf libtool pkg-config
- sudo apt-get install -qq libedit-dev uuid-dev liburi-dev libmysqlclient-dev libpq-dev libsqlite3-dev
before_script:
- autoreconf -f -i | d77c744d25970eced22bf3f79061dd01d0d24c44 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/brain/backup_schedule.go
package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string
Interval int
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
`
<|file_sep|>current/lib/brain/backup_schedule.go
package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string
Interval int
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
`
<|file_sep|>updated/lib/brain/backup_schedule.go | package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string `json:"start_at"`
Interval int `json:"interval_seconds"`
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
` | <|file_sep|>original/lib/brain/backup_schedule.go
package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string
Interval int
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
`
<|file_sep|>current/lib/brain/backup_schedule.go
package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string
Interval int
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
`
<|file_sep|>updated/lib/brain/backup_schedule.go
package brain
import (
"github.com/BytemarkHosting/bytemark-client/lib/prettyprint"
"io"
)
// BackupSchedule represents a schedule to take backups on. It is represented as a start date in YYYY-MM-DD hh:mm:ss format (and assuming UK timezones of some kind.)
type BackupSchedule struct {
StartDate string `json:"start_at"`
Interval int `json:"interval_seconds"`
}
// PrettyPrint outputs a nicely-formatted human-readable version of the schedule to the given writer.
// All the detail levels are the same.
func (sched BackupSchedule) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {
scheduleTpl := `
{{ define "schedule_sgl" }}{{ printf "Every %d seconds starting from %s" .Interval .StartDate }}{{ end }}
{{ define "schedule_medium" }}{{ template "schedule_sgl" . }}{{ end }}
{{ define "schedule_full" }}{{ template "schedule_medium" . }}{{ end }}
` | c2125148de79fc205f46f14712ea693e5217abf2 | lib/brain/backup_schedule.go | lib/brain/backup_schedule.go | Go |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:all -v && ./pants tests/python/twitter/pants:all -v"
notifications:
email:
- john.sirois@gmail.com
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:all -v && ./pants tests/python/twitter/pants:all -v"
notifications:
email:
- john.sirois@gmail.com
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: |
./build-support/python/clean.sh \
&& PANTS_VERBOSE=1 PEX_VERBOSE=1 PYTHON_VERBOSE=1 ./pants \
&& java -version \
&& ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx \
&& ./pants tests/python/twitter/common:all -v \
&& ./pants tests/python/twitter/pants:all -v
notifications:
email:
- john.sirois@gmail.com | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:all -v && ./pants tests/python/twitter/pants:all -v"
notifications:
email:
- john.sirois@gmail.com
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: "python --version && ./build-support/python/clean.sh && java -version && ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx && ./pants tests/python/twitter/common:all -v && ./pants tests/python/twitter/pants:all -v"
notifications:
email:
- john.sirois@gmail.com
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.6"
- "2.7"
jdk:
- openjdk6
- openjdk7
script: |
./build-support/python/clean.sh \
&& PANTS_VERBOSE=1 PEX_VERBOSE=1 PYTHON_VERBOSE=1 ./pants \
&& java -version \
&& ./pants goal clean-all test tests/{java,scala}/com/twitter/common:: --no-ng-daemons -vx \
&& ./pants tests/python/twitter/common:all -v \
&& ./pants tests/python/twitter/pants:all -v
notifications:
email:
- john.sirois@gmail.com | 12db5fdb42f1320fac2591e6f18e1a272020e13a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ios-ntp.podspec
Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => 'v1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end
<|file_sep|>current/ios-ntp.podspec
Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => 'v1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end
<|file_sep|>updated/ios-ntp.podspec | Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => '1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end | <|file_sep|>original/ios-ntp.podspec
Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => 'v1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end
<|file_sep|>current/ios-ntp.podspec
Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => 'v1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end
<|file_sep|>updated/ios-ntp.podspec
Pod::Spec.new do |s|
s.name = 'ios-ntp'
s.version = '1.0.0'
s.summary = 'SNTP implementation for iOS.'
s.homepage = 'https://github.com/jbenet/ios-ntp'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/jbenet/ios-ntp.git', :tag => '1.0.0' }
s.author = { 'Gavin Eadie' => 'https://github.com/gavineadie' }
s.ios.deployment_target = '7.0'
s.source_files = 'ios-ntp-lib/*.{h,m}'
s.resources = 'ios-ntp-rez/*.hosts',
s.framework = 'CFNetwork'
s.dependency 'CocoaAsyncSocket', '~>7.4.1'
s.requires_arc = true
end | 0f0f78c5977cfb0fc40eb3025bc4d2687bdace7e | ios-ntp.podspec | ios-ntp.podspec | Ruby |
<|file_sep|>linux_app/sbsa-acs-app.bb.diff
original:
https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \
updated:
file://include/sbsa_avs_common.h \
<|file_sep|>linux_app/sbsa-acs-app.bb.diff
original:
SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21"
updated:
<|file_sep|>original/linux_app/sbsa-acs-app.bb
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \
"
SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
<|file_sep|>current/linux_app/sbsa-acs-app.bb
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
file://include/sbsa_avs_common.h \
"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
}
<|file_sep|>updated/linux_app/sbsa-acs-app.bb | LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
file://include/sbsa_avs_common.h \
"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -Iinclude -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
} | <|file_sep|>linux_app/sbsa-acs-app.bb.diff
original:
https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \
updated:
file://include/sbsa_avs_common.h \
<|file_sep|>linux_app/sbsa-acs-app.bb.diff
original:
SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21"
updated:
<|file_sep|>original/linux_app/sbsa-acs-app.bb
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \
"
SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
<|file_sep|>current/linux_app/sbsa-acs-app.bb
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
file://include/sbsa_avs_common.h \
"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
}
<|file_sep|>updated/linux_app/sbsa-acs-app.bb
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "file://sbsa_app_main.c \
file://sbsa_app_pcie.c \
file://sbsa_drv_intf.c \
file://include/sbsa_drv_intf.h \
file://include/sbsa_app.h \
file://include/sbsa_avs_common.h \
"
S = "${WORKDIR}"
do_compile() {
${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -Iinclude -o sbsa
}
do_install() {
install -d ${D}${bindir}
install -m 0755 sbsa ${D}${bindir}
} | ab13fa223b7ecf373233fba7f17745df3b451b55 | linux_app/sbsa-acs-app.bb | linux_app/sbsa-acs-app.bb | BitBake |
<|file_sep|>original/Library/Formula/oxygen-icons.rb
<|file_sep|>current/Library/Formula/oxygen-icons.rb
<|file_sep|>updated/Library/Formula/oxygen-icons.rb | require 'formula'
class OxygenIcons <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/oxygen-icons-4.4.0.tar.bz2'
homepage 'http://www.oxygen-icons.org/'
md5 'fbcd429cc822cb88a815d97a4e66be4d'
depends_on 'cmake'
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end | <|file_sep|>original/Library/Formula/oxygen-icons.rb
<|file_sep|>current/Library/Formula/oxygen-icons.rb
<|file_sep|>updated/Library/Formula/oxygen-icons.rb
require 'formula'
class OxygenIcons <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/oxygen-icons-4.4.0.tar.bz2'
homepage 'http://www.oxygen-icons.org/'
md5 'fbcd429cc822cb88a815d97a4e66be4d'
depends_on 'cmake'
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end | ad297ae347405404d37b28c38c21d969a743af23 | Library/Formula/oxygen-icons.rb | Library/Formula/oxygen-icons.rb | Ruby |
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
hash: c51fe3de6b0dc92da67dda89ad6080f42bbfd38fc9cf3212eaaaef5810602bbe
updated:
hash: c0acf29b60df6866f2b107ca1ed8b75fa4d5cb6592795df9321251fabe8f539a
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
synthesizer-core: ! '>=0.4 && <0.8'
transformers: ! '>=0.2 && <0.5'
updated:
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
updated:
- '0.4.0.2'
- '0.4.1'
<|file_sep|>original/packages/sy/synthesizer-filter.yaml
changelog: ''
basic-deps:
base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.8'
transformers: ! '>=0.2 && <0.5'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.0.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL
<|file_sep|>current/packages/sy/synthesizer-filter.yaml
base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
- '0.4.0.2'
- '0.4.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.0.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL
<|file_sep|>updated/packages/sy/synthesizer-filter.yaml | base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
- '0.4.0.2'
- '0.4.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL | <|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
hash: c51fe3de6b0dc92da67dda89ad6080f42bbfd38fc9cf3212eaaaef5810602bbe
updated:
hash: c0acf29b60df6866f2b107ca1ed8b75fa4d5cb6592795df9321251fabe8f539a
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
synthesizer-core: ! '>=0.4 && <0.8'
transformers: ! '>=0.2 && <0.5'
updated:
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
<|file_sep|>packages/sy/synthesizer-filter.yaml.diff
original:
updated:
- '0.4.0.2'
- '0.4.1'
<|file_sep|>original/packages/sy/synthesizer-filter.yaml
changelog: ''
basic-deps:
base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.8'
transformers: ! '>=0.2 && <0.5'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.0.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL
<|file_sep|>current/packages/sy/synthesizer-filter.yaml
base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
- '0.4.0.2'
- '0.4.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.0.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL
<|file_sep|>updated/packages/sy/synthesizer-filter.yaml
base: ! '>=3 && <5'
numeric-quest: ! '>=0.1 && <0.3'
utility-ht: ! '>=0.0.5 && <0.1'
containers: ! '>=0.1 && <0.6'
synthesizer-core: ! '>=0.4 && <0.9'
transformers: ! '>=0.2 && <0.6'
numeric-prelude: ! '>=0.2 && <0.5'
all-versions:
- '0.4'
- '0.4.0.1'
- '0.4.0.2'
- '0.4.1'
author: Henning Thielemann <haskell@henning-thielemann.de>
latest: '0.4.1'
description-type: haddock
description: ! 'In this package we experiment with various ways
of representing filter networks.
However, none of them is mature so far.'
license-name: GPL | 0da7c07d1c4bb11c7f982af22ff72fadd5d2d6ea | packages/sy/synthesizer-filter.yaml | packages/sy/synthesizer-filter.yaml | YAML |
<|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json | {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"args": ["-p", "."],
"showOutput": "silent",
"problemMatcher": "$tsc"
} | <|file_sep|>original/.vscode/tasks.json
<|file_sep|>current/.vscode/tasks.json
<|file_sep|>updated/.vscode/tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "tsc",
"isShellCommand": true,
"args": ["-p", "."],
"showOutput": "silent",
"problemMatcher": "$tsc"
} | 904dfeea740aef8f747cbde8796eb6ddfb5413bc | .vscode/tasks.json | .vscode/tasks.json | JSON |
<|file_sep|>original/src/modules/provider/configs/init_api.js
const providerApi = {
onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
}
<|file_sep|>current/src/modules/provider/configs/init_api.js
const providerApi = {
onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
}
<|file_sep|>updated/src/modules/provider/configs/init_api.js | onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
if (!providerApi._onStoryCallback) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
} | <|file_sep|>original/src/modules/provider/configs/init_api.js
const providerApi = {
onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
}
<|file_sep|>current/src/modules/provider/configs/init_api.js
const providerApi = {
onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
}
<|file_sep|>updated/src/modules/provider/configs/init_api.js
onStory(cb) {
providerApi._onStoryCallback = cb;
},
addAction: actions.api.addAction,
setStories: actions.api.setStories,
selectStory: actions.api.selectStory,
handleShortcut: actions.shortcuts.handleEvent,
};
provider.handleAPI(providerApi);
// subscribe to redux store and trigger onStory's callback
reduxStore.subscribe(function () {
const { api } = reduxStore.getState();
if (!api) return;
if (!providerApi._onStoryCallback) return;
providerApi._onStoryCallback(api.selectedKind, api.selectedStory);
});
} | ba4f532801e29b0b782c25f06cb8e21880467d6c | src/modules/provider/configs/init_api.js | src/modules/provider/configs/init_api.js | JavaScript |
<|file_sep|>original/examples/actors/remote-target-check-group-v2/_actor.yaml
<|file_sep|>current/examples/actors/remote-target-check-group-v2/_actor.yaml
<|file_sep|>updated/examples/actors/remote-target-check-group-v2/_actor.yaml | inputs:
- name: check_target_service_status
type:
name: BaseTypeBool
- name: target_host
type:
name: BaseTypeString
- name: target_user_name
type:
name: BaseTypeString
outputs:
- name: rsyncinfo
type:
name: RSyncInfo
- name: dockerinfo
type:
name: DockerInfo
- name: containerslist
type:
name: ContainersList
description: | | <|file_sep|>original/examples/actors/remote-target-check-group-v2/_actor.yaml
<|file_sep|>current/examples/actors/remote-target-check-group-v2/_actor.yaml
<|file_sep|>updated/examples/actors/remote-target-check-group-v2/_actor.yaml
inputs:
- name: check_target_service_status
type:
name: BaseTypeBool
- name: target_host
type:
name: BaseTypeString
- name: target_user_name
type:
name: BaseTypeString
outputs:
- name: rsyncinfo
type:
name: RSyncInfo
- name: dockerinfo
type:
name: DockerInfo
- name: containerslist
type:
name: ContainersList
description: | | f826e20e82d963f957d0b91cedd9f04ba3f8e7dd | examples/actors/remote-target-check-group-v2/_actor.yaml | examples/actors/remote-target-check-group-v2/_actor.yaml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
script:
- python test.py
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
script:
- python test.py
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
- wget -v https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz
- tar -xvf libewf-20140608.tar.gz
- cd libewf-20140608 && ./configure && make && sudo make install
- cd ~
- git clone git://github.com/sleuthkit/sleuthkit.git
- cd sleuthkit && ./bootstrap && ./configure && make && sudo make install
script:
- python test.py | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
script:
- python test.py
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
script:
- python test.py
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
- echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list
- sudo apt-get update && sudo apt-get install siegfried
- wget -v https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz
- tar -xvf libewf-20140608.tar.gz
- cd libewf-20140608 && ./configure && make && sudo make install
- cd ~
- git clone git://github.com/sleuthkit/sleuthkit.git
- cd sleuthkit && ./bootstrap && ./configure && make && sudo make install
script:
- python test.py | eb6cbc023017eea86a4132fe0554cdacabf115c4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>updated/requirements_dev.txt | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7 | <|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>current/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7
<|file_sep|>updated/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.1
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
pytest==2.9.2
click==6.7 | f9ff5e7233125215777675ed246d2e51b909c81a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>app/jsx/Department/DepartmentFilterBox.js.diff
original:
{
// Hack: trick Babel/TypeScript into allowing this before super.
if (false) { super(); }
let thisFn = (() => { return this; }).toString();
let thisName = thisFn.match(/_this\d*/)[0];
eval(`${thisName} = this;`);
}
updated:
// construct combobox
super(model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
<|file_sep|>original/app/jsx/Department/DepartmentFilterBox.js
if (false) { super(); }
let thisFn = (() => { return this; }).toString();
let thisName = thisFn.match(/_this\d*/)[0];
eval(`${thisName} = this;`);
}
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// construct combobox
super(this.model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: this.model.get('filter').get('id')
})
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
<|file_sep|>current/app/jsx/Department/DepartmentFilterBox.js
label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// construct combobox
super(this.model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: this.model.get('filter').get('id')
})
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
}
// #
<|file_sep|>updated/app/jsx/Department/DepartmentFilterBox.js | label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
}
// #
// Push the current value of the combobox to the URL
push = filter => this.router.select(filter.get('fragment'))
// #
// Pull the current value from the model to the combobox
pull = () => this.select(this.model.get('filter').get('id')) | <|file_sep|>app/jsx/Department/DepartmentFilterBox.js.diff
original:
{
// Hack: trick Babel/TypeScript into allowing this before super.
if (false) { super(); }
let thisFn = (() => { return this; }).toString();
let thisName = thisFn.match(/_this\d*/)[0];
eval(`${thisName} = this;`);
}
updated:
// construct combobox
super(model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
<|file_sep|>original/app/jsx/Department/DepartmentFilterBox.js
if (false) { super(); }
let thisFn = (() => { return this; }).toString();
let thisName = thisFn.match(/_this\d*/)[0];
eval(`${thisName} = this;`);
}
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// construct combobox
super(this.model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: this.model.get('filter').get('id')
})
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
<|file_sep|>current/app/jsx/Department/DepartmentFilterBox.js
label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// construct combobox
super(this.model.get('filters').models, {
value: filter => filter.get('id'),
label: filter => filter.get('label'),
selected: this.model.get('filter').get('id')
})
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
}
// #
<|file_sep|>updated/app/jsx/Department/DepartmentFilterBox.js
label: filter => filter.get('label'),
selected: model.get('filter').get('id')
})
this.model = model
// add a router tied to the model
this.router = new DepartmentRouter(this.model)
// connect combobox to model
this.on('change', this.push)
this.model.on('change:filter', this.pull)
}
// #
// Push the current value of the combobox to the URL
push = filter => this.router.select(filter.get('fragment'))
// #
// Pull the current value from the model to the combobox
pull = () => this.select(this.model.get('filter').get('id')) | cde20171dae65a724d4acb96dd927778a68f88b6 | app/jsx/Department/DepartmentFilterBox.js | app/jsx/Department/DepartmentFilterBox.js | JavaScript |
<|file_sep|>api/files.php.diff
original:
updated:
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
<|file_sep|>original/api/files.php
// reads files from specified path and returns them as an json-array
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
}
}
echo json_encode($result);
}
}
}
<|file_sep|>current/api/files.php
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
}
}
echo json_encode($result);
}
}
}
<|file_sep|>updated/api/files.php | // reads files from specified path and returns them as an json-array
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
}
}
echo json_encode($result);
}
}
} | <|file_sep|>api/files.php.diff
original:
updated:
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
<|file_sep|>original/api/files.php
// reads files from specified path and returns them as an json-array
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
}
}
echo json_encode($result);
}
}
}
<|file_sep|>current/api/files.php
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
}
}
echo json_encode($result);
}
}
}
<|file_sep|>updated/api/files.php
// reads files from specified path and returns them as an json-array
// takes one argument from GET variables, does not work without it
// the argument should come from http call to directories.php
header("Content-Type: application/json");
if(isset($_GET['dir']) && $_GET['dir'] != ""){
$directory = urldecode($_GET['dir']);
if(strlen($directory) == 8 && preg_match('/[[:digit:]]{8}/', $directory)){
$files = @scandir($dir = '../incoming/' . $directory . '/converted/');
if ($files && is_array($files)) {
$result = array();
foreach ($files as $file) {
if(!is_dir($entry = $dir . $file)){
$result['files'][]['name'] = $file;
$result['files'][]['path'] = str_replace("../", "", $dir) . $file;
}
}
echo json_encode($result);
}
}
} | 8f4ddb5ea3121a33db8c991aa4e950f81e31a547 | api/files.php | api/files.php | PHP |
<|file_sep|>original/_config.yml
style: compressed
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
<|file_sep|>current/_config.yml
style: compressed
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
<|file_sep|>updated/_config.yml |
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
- vendor/ | <|file_sep|>original/_config.yml
style: compressed
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
<|file_sep|>current/_config.yml
style: compressed
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
<|file_sep|>updated/_config.yml
name: "Jimmy Thompson - Software Developer"
description: "The personal website and blog of Jimmy Thompson, a software developer based in London"
gravatar: //www.gravatar.com/avatar/73083e7e6bda1576bf6ea9e5be037c78
twitter: jimmythompson
github: jimmythompson
medium: jimmythompson
facebook: JimmyThompsonUK
email: jimmy@jimmythompson.co.uk
exclude:
- Gemfile
- Gemfile.lock
- LICENCE
- README.md
- Rakefile
- banner.txt
- bin
- gems/
- vendor/ | 73889ba17316d22ba12ddda45b0478941945e5f7 | _config.yml | _config.yml | YAML |
<|file_sep|>original/react-native-instabug-sdk.podspec
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.dependency "Instabug", "5.3.1"
end
<|file_sep|>current/react-native-instabug-sdk.podspec
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.dependency "Instabug", "5.3.1"
end
<|file_sep|>updated/react-native-instabug-sdk.podspec | require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.frameworks = ["Instabug"]
s.dependency "Instabug", "5.3.2"
end | <|file_sep|>original/react-native-instabug-sdk.podspec
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.dependency "Instabug", "5.3.1"
end
<|file_sep|>current/react-native-instabug-sdk.podspec
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.dependency "Instabug", "5.3.1"
end
<|file_sep|>updated/react-native-instabug-sdk.podspec
require "json"
json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys
Pod::Spec.new do |s|
s.name = package[:name]
s.version = package[:version]
s.license = { type: "MIT" }
s.homepage = package[:homepage]
s.authors = package[:contributors].flat_map { |author| { author[:name] => author[:email] } }
s.summary = package[:description]
s.source = { git: package.dig(:repository, :url) }
s.source_files = "ios/*.{h,m}"
s.platform = :ios, "8.0"
s.frameworks = ["Instabug"]
s.dependency "Instabug", "5.3.2"
end | c9093da8946d794e0e9bb5dad22621260ea59a1d | react-native-instabug-sdk.podspec | react-native-instabug-sdk.podspec | Ruby |
<|file_sep|>original/travis.yml
<|file_sep|>current/travis.yml
<|file_sep|>updated/travis.yml | language: python
python: 2.7
env:
- TOX_ENV=
virtualenv:
system_site_packages: true
install:
- pip install -U tox coveralls
script:
- tox
- coveralls --rcfile=.coveragerc | <|file_sep|>original/travis.yml
<|file_sep|>current/travis.yml
<|file_sep|>updated/travis.yml
language: python
python: 2.7
env:
- TOX_ENV=
virtualenv:
system_site_packages: true
install:
- pip install -U tox coveralls
script:
- tox
- coveralls --rcfile=.coveragerc | 34c534f950e74bcae2997646e87644984a907eba | travis.yml | travis.yml | YAML |
<|file_sep|>original/views/_form.erb
<% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= pin.value %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'blue' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %>
<|file_sep|>current/views/_form.erb
<% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= pin.value %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'blue' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %>
<|file_sep|>updated/views/_form.erb | <% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= 0 == pin.value ? '1' : '0' %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'blue' : 'gray' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %> | <|file_sep|>original/views/_form.erb
<% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= pin.value %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'blue' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %>
<|file_sep|>current/views/_form.erb
<% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= pin.value %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'blue' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %>
<|file_sep|>updated/views/_form.erb
<% board.pins.each do |pin| %>
<div class="box">
<div class="boxInner">
<form method="POST" action="/<%= pin.id %>">
<input name="value" value="<%= 0 == pin.value ? '1' : '0' %>" type="hidden"/>
<button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'blue' : 'gray' %>">
<div class="titleBox"><%= pin %></div>
</button>
</form>
</div>
</div>
<% end %> | 16c9418abf7fe1a037a64bdc7a0733b0125b5c96 | views/_form.erb | views/_form.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "stable"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "stable"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "6"
- "7"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "stable"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "stable"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "6"
- "7"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info | 9e34c0754504359b14ed99919804fe1a41e0d7bd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8
<|file_sep|>current/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8
<|file_sep|>updated/requirements/local.txt | # Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.6
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8
<|file_sep|>current/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.5
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8
<|file_sep|>updated/requirements/local.txt
# Local development dependencies go here
-r base.txt
-r test.txt
# Documentation
sphinx==1.6.6
sphinx-rtd-theme==0.2.4
# Debugging Tools
django-debug-toolbar==1.9.1
django-extensions==1.9.8 | fb0eb9aa3fb2f34d9329fc17bb34d53afef027d3 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/test/CodeGen/X86/pic_jumptable.ll
<|file_sep|>current/test/CodeGen/X86/pic_jumptable.ll
<|file_sep|>updated/test/CodeGen/X86/pic_jumptable.ll | ; RUN: llvm-as < %s | llc -relocation-model=pic -march=x86 | not grep -F .text
target endian = little
target pointersize = 32
target triple = "i386-linux-gnu"
implementation ; Functions:
declare void %_Z3bari( int )
linkonce void %_Z3fooILi1EEvi(int %Y) {
entry:
%Y_addr = alloca int ; <int*> [#uses=2]
"alloca point" = cast int 0 to int ; <int> [#uses=0]
store int %Y, int* %Y_addr
%tmp = load int* %Y_addr ; <int> [#uses=1]
switch int %tmp, label %bb10 [
int 0, label %bb3
int 1, label %bb
int 2, label %bb
int 3, label %bb
int 4, label %bb | <|file_sep|>original/test/CodeGen/X86/pic_jumptable.ll
<|file_sep|>current/test/CodeGen/X86/pic_jumptable.ll
<|file_sep|>updated/test/CodeGen/X86/pic_jumptable.ll
; RUN: llvm-as < %s | llc -relocation-model=pic -march=x86 | not grep -F .text
target endian = little
target pointersize = 32
target triple = "i386-linux-gnu"
implementation ; Functions:
declare void %_Z3bari( int )
linkonce void %_Z3fooILi1EEvi(int %Y) {
entry:
%Y_addr = alloca int ; <int*> [#uses=2]
"alloca point" = cast int 0 to int ; <int> [#uses=0]
store int %Y, int* %Y_addr
%tmp = load int* %Y_addr ; <int> [#uses=1]
switch int %tmp, label %bb10 [
int 0, label %bb3
int 1, label %bb
int 2, label %bb
int 3, label %bb
int 4, label %bb | 460b8bd15457469ecd62b581a275d2101648d0fb | test/CodeGen/X86/pic_jumptable.ll | test/CodeGen/X86/pic_jumptable.ll | LLVM |
<|file_sep|>original/package.json
{
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1"
]
}
<|file_sep|>current/package.json
{
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1"
]
}
<|file_sep|>updated/package.json | {
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1,==1.4"
]
} | <|file_sep|>original/package.json
{
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1"
]
}
<|file_sep|>current/package.json
{
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1"
]
}
<|file_sep|>updated/package.json
{
"name": "armstrong.core.arm_access",
"version": "1.0.6alpha.0",
"description": "Code for having different access levels for content",
"install_requires": [
"Django==1.3.1,==1.4"
]
} | 1da267c03e9b48548df1f2d0da39d57e84bf2fc2 | package.json | package.json | JSON |
<|file_sep|>original/generate/templates/manual/include/callback_wrapper.h
jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif
<|file_sep|>current/generate/templates/manual/include/callback_wrapper.h
jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif
<|file_sep|>updated/generate/templates/manual/include/callback_wrapper.h | jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * (uint64_t)1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif | <|file_sep|>original/generate/templates/manual/include/callback_wrapper.h
jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif
<|file_sep|>current/generate/templates/manual/include/callback_wrapper.h
jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif
<|file_sep|>updated/generate/templates/manual/include/callback_wrapper.h
jsCallback = callback;
this->throttle = throttle;
}
bool WillBeThrottled() {
if(!throttle) {
return false;
}
// throttle if needed
uint64_t now = uv_hrtime();
if(lastCallTime > 0 && now < lastCallTime + throttle * (uint64_t)1000000) {
// throttled
return true;
} else {
lastCallTime = now;
return false;
}
}
};
#endif | c018da163f50acc6add9df3d74905ec150ce8573 | generate/templates/manual/include/callback_wrapper.h | generate/templates/manual/include/callback_wrapper.h | C |
<|file_sep|>original/osu.Game/Beatmaps/Beatmap.cs
int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point && ControlPoints[samplePoint].BeatLength < 0)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
}
<|file_sep|>current/osu.Game/Beatmaps/Beatmap.cs
int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point && ControlPoints[samplePoint].BeatLength < 0)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
}
<|file_sep|>updated/osu.Game/Beatmaps/Beatmap.cs | int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
} | <|file_sep|>original/osu.Game/Beatmaps/Beatmap.cs
int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point && ControlPoints[samplePoint].BeatLength < 0)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
}
<|file_sep|>current/osu.Game/Beatmaps/Beatmap.cs
int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point && ControlPoints[samplePoint].BeatLength < 0)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
}
<|file_sep|>updated/osu.Game/Beatmaps/Beatmap.cs
int point = 0;
int samplePoint = 0;
for (int i = 0; i < ControlPoints.Count; i++)
if (ControlPoints[i].Time <= time)
{
if (ControlPoints[i].TimingChange)
point = i;
else
samplePoint = i;
}
double mult = 1;
if (applyMultipliers && samplePoint > point)
mult = ControlPoints[samplePoint].VelocityAdjustment;
return ControlPoints[point].BeatLength * mult;
}
}
} | a0131b8b25a739de25dac928ec76715597ec8e36 | osu.Game/Beatmaps/Beatmap.cs | osu.Game/Beatmaps/Beatmap.cs | C# |
<|file_sep|>original/src/JK/RestServer/Language.php
<|file_sep|>current/src/JK/RestServer/Language.php
<|file_sep|>updated/src/JK/RestServer/Language.php | <?php
/**
* @project RestServer
* @author Jens Kohl <jens.kohl@milchundzucker.de>
* @since 2014-07-31 13:17
*/
namespace JK\RestServer;
/**
* Class Language
* Should represent the parsed Accept-Language
*
* Probably will change in the future
*
* @package JK\RestServer
*/
class Language extends \SplEnum {
const __default = self::EN;
const DE = "de"; | <|file_sep|>original/src/JK/RestServer/Language.php
<|file_sep|>current/src/JK/RestServer/Language.php
<|file_sep|>updated/src/JK/RestServer/Language.php
<?php
/**
* @project RestServer
* @author Jens Kohl <jens.kohl@milchundzucker.de>
* @since 2014-07-31 13:17
*/
namespace JK\RestServer;
/**
* Class Language
* Should represent the parsed Accept-Language
*
* Probably will change in the future
*
* @package JK\RestServer
*/
class Language extends \SplEnum {
const __default = self::EN;
const DE = "de"; | 66df4caeeb8eaffb003b22e86d8e8ea022252074 | src/JK/RestServer/Language.php | src/JK/RestServer/Language.php | PHP |
<|file_sep|>.travis.yml.diff
original:
updated:
- "RAILS_VERSION=master"
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master" | <|file_sep|>.travis.yml.diff
original:
updated:
- "RAILS_VERSION=master"
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- rbx-19mode
- jruby-19mode
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=3.1"
- "RAILS_VERSION=3.0"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master" | 0da4f273cf0f7b993a0232b6cfc066b0646dd85e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
"description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "dev-master",
"max-favilli/tagmanager": "dev-master",
"twitter/typeahead.js": "dev-master"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
}
<|file_sep|>current/composer.json
"description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "dev-master",
"max-favilli/tagmanager": "dev-master",
"twitter/typeahead.js": "dev-master"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
}
<|file_sep|>updated/composer.json | "description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "~0.9",
"max-favilli/tagmanager": "dev-master@dev",
"twitter/typeahead.js": "dev-master@dev"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
} | <|file_sep|>original/composer.json
"description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "dev-master",
"max-favilli/tagmanager": "dev-master",
"twitter/typeahead.js": "dev-master"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
}
<|file_sep|>current/composer.json
"description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "dev-master",
"max-favilli/tagmanager": "dev-master",
"twitter/typeahead.js": "dev-master"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
}
<|file_sep|>updated/composer.json
"description": "Tag any entity in your Symfony2 project.",
"homepage": "http://github.com/fogs/tagging-bundle",
"license": "MIT",
"type": "library",
"autoload": {
"psr-0": {
"Fogs\\TaggingBundle": ""
}
},
"require": {
"php": ">=5.4",
"fpn/tag-bundle": "~0.9",
"max-favilli/tagmanager": "dev-master@dev",
"twitter/typeahead.js": "dev-master@dev"
},
"config": {
"bin-dir": "bin"
},
"target-dir": "Fogs/TaggingBundle",
"minimum-stability": "dev"
} | a8956de83bc96d3b820e7573efa66f071473dd5b | composer.json | composer.json | JSON |
<|file_sep|>original/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.0
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.0
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>updated/requirements.txt | docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0 | <|file_sep|>original/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.0
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.0
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0
<|file_sep|>updated/requirements.txt
docker==2.5.0
molecule==1.25.0
pytest==3.2.1
python-vagrant==0.5.15
testinfra==1.6.5
tox==2.7.0 | a258cf244ee84e05bc6f3fe81ea9109f78b6e95b | requirements.txt | requirements.txt | Text |
<|file_sep|>.kitchen.dokken.yml.diff
original:
image: dokken/debian-9
updated:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
<|file_sep|>original/.kitchen.dokken.yml
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
image: dokken/debian-9
pid_one_command: /bin/systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
<|file_sep|>current/.kitchen.dokken.yml
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
<|file_sep|>updated/.kitchen.dokken.yml | - name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install -y systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04 | <|file_sep|>.kitchen.dokken.yml.diff
original:
image: dokken/debian-9
updated:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
<|file_sep|>original/.kitchen.dokken.yml
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
image: dokken/debian-9
pid_one_command: /bin/systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
<|file_sep|>current/.kitchen.dokken.yml
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04
driver:
image: dokken/ubuntu-14.04
pid_one_command: /sbin/init
<|file_sep|>updated/.kitchen.dokken.yml
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
- name: debian-9
driver:
# Need a custom Stretch image as dokken one contains extra packages and then we hit https://github.com/chef-cookbooks/apt/issues/234
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install -y systemd
- name: centos-7
driver:
image: dokken/centos-7
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-14.04 | 77e3db9b379897222a7f73cef4f4639861e43da0 | .kitchen.dokken.yml | .kitchen.dokken.yml | YAML |
<|file_sep|>original/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
#Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
<|file_sep|>current/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
#Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
<|file_sep|>updated/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties | #Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip | <|file_sep|>original/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
#Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
<|file_sep|>current/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
#Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
<|file_sep|>updated/android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties
#Sat Sep 16 17:38:34 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip | 2749776c028a5e219fab8cfd4140f4a5b7105b77 | android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties | android/versioned-react-native/gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/data/transition-sites/nda_magnox.yml
<|file_sep|>current/data/transition-sites/nda_magnox.yml
<|file_sep|>updated/data/transition-sites/nda_magnox.yml | ---
site: nda_magnox
whitehall_slug: magnox-ltd
homepage: https://www.gov.uk/government/organisations/magnox-ltd
tna_timestamp: 20171011143403
host: magnoxsites.com
aliases:
- www.magnoxsites.com | <|file_sep|>original/data/transition-sites/nda_magnox.yml
<|file_sep|>current/data/transition-sites/nda_magnox.yml
<|file_sep|>updated/data/transition-sites/nda_magnox.yml
---
site: nda_magnox
whitehall_slug: magnox-ltd
homepage: https://www.gov.uk/government/organisations/magnox-ltd
tna_timestamp: 20171011143403
host: magnoxsites.com
aliases:
- www.magnoxsites.com | 39b936fd4942a32de5a7330906974b833ac84be1 | data/transition-sites/nda_magnox.yml | data/transition-sites/nda_magnox.yml | YAML |
<|file_sep|>original/src/Console/Commands/PublishCommand.php
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} {--R|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command.
<|file_sep|>current/src/Console/Commands/PublishCommand.php
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} {--R|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command.
<|file_sep|>updated/src/Console/Commands/PublishCommand.php |
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--f|force : Overwrite any existing files.} {--r|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command. | <|file_sep|>original/src/Console/Commands/PublishCommand.php
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} {--R|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command.
<|file_sep|>current/src/Console/Commands/PublishCommand.php
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--force : Overwrite any existing files.} {--R|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command.
<|file_sep|>updated/src/Console/Commands/PublishCommand.php
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:publish:auth {--f|force : Overwrite any existing files.} {--r|resource=all}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Publish Rinvex Auth Resources.';
/**
* Execute the console command. | faabfc4bd22b6e536ee8601e3577d101090e0a84 | src/Console/Commands/PublishCommand.php | src/Console/Commands/PublishCommand.php | PHP |
<|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
module RSpec
module Rails
module RelationOperationMatcherHook
def inherited(subclass)
RSpec::Matchers::OperatorMatcher.register(subclass, '=~', RSpec::Matchers::BuiltIn::MatchArray)
super
end
end
end
end
ActiveRecord::Relation.extend(RSpec::Rails::RelationOperationMatcherHook)
end
<|file_sep|>current/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
module RSpec
module Rails
module RelationOperationMatcherHook
def inherited(subclass)
RSpec::Matchers::OperatorMatcher.register(subclass, '=~', RSpec::Matchers::BuiltIn::MatchArray)
super
end
end
end
end
ActiveRecord::Relation.extend(RSpec::Rails::RelationOperationMatcherHook)
end
<|file_sep|>updated/lib/rspec/rails/matchers/relation_match_array.rb | if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
end | <|file_sep|>original/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
module RSpec
module Rails
module RelationOperationMatcherHook
def inherited(subclass)
RSpec::Matchers::OperatorMatcher.register(subclass, '=~', RSpec::Matchers::BuiltIn::MatchArray)
super
end
end
end
end
ActiveRecord::Relation.extend(RSpec::Rails::RelationOperationMatcherHook)
end
<|file_sep|>current/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
module RSpec
module Rails
module RelationOperationMatcherHook
def inherited(subclass)
RSpec::Matchers::OperatorMatcher.register(subclass, '=~', RSpec::Matchers::BuiltIn::MatchArray)
super
end
end
end
end
ActiveRecord::Relation.extend(RSpec::Rails::RelationOperationMatcherHook)
end
<|file_sep|>updated/lib/rspec/rails/matchers/relation_match_array.rb
if defined?(ActiveRecord::Relation)
RSpec::Matchers::OperatorMatcher.register(ActiveRecord::Relation, '=~', RSpec::Matchers::BuiltIn::MatchArray)
end | 03b069fe5c2a278500d150e688695a77b3075180 | lib/rspec/rails/matchers/relation_match_array.rb | lib/rspec/rails/matchers/relation_match_array.rb | Ruby |
<|file_sep|>original/test/tagName.test.js
const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('span')
expect(wrapper.find('span')).to.not.have.tagName('div')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a')
<|file_sep|>current/test/tagName.test.js
const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('span')
expect(wrapper.find('span')).to.not.have.tagName('div')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a')
<|file_sep|>updated/test/tagName.test.js | const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('a')
expect(wrapper.find('span')).to.not.have.tagName('a')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a') | <|file_sep|>original/test/tagName.test.js
const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('span')
expect(wrapper.find('span')).to.not.have.tagName('div')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a')
<|file_sep|>current/test/tagName.test.js
const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('span')
expect(wrapper.find('span')).to.not.have.tagName('div')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a')
<|file_sep|>updated/test/tagName.test.js
const it = createTest(<Fixture />)
describe('#tagName', () => {
describe('(tagName)', () => {
it('passes when the actual matches the expected', (wrapper) => {
expect(wrapper).to.have.tagName('div')
expect(wrapper.find('span')).to.have.tagName('span')
})
it('passes negated when the actual does not match the expected', (wrapper) => {
expect(wrapper).to.not.have.tagName('a')
expect(wrapper.find('span')).to.not.have.tagName('a')
})
it('fails when the actual does not match the expected', (wrapper) => {
expect(() => {
expect(wrapper).to.have.tagName('a')
}).to.throw(`to have a 'a' tag name, but it has 'div'`)
expect(() => {
expect(wrapper.find('span')).to.have.tagName('a') | df4d2502743a2f30308eeed3a0e13f16b2e468bb | test/tagName.test.js | test/tagName.test.js | JavaScript |
<|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff
original:
updated:
using Base;
<|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff
original:
protected override string UriTemplate => "shows/anticipated{?extended,page,limit}";
updated:
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
<|file_sep|>original/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
}
<|file_sep|>current/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
}
<|file_sep|>updated/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | {
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
internal TraktShowFilter Filter { get; set; }
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
} | <|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff
original:
updated:
using Base;
<|file_sep|>Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs.diff
original:
protected override string UriTemplate => "shows/anticipated{?extended,page,limit}";
updated:
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
<|file_sep|>original/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
}
<|file_sep|>current/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
}
<|file_sep|>updated/Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal TraktShowsMostAnticipatedRequest(TraktClient client) : base(client) { }
protected override string UriTemplate => "shows/anticipated{?extended,page,limit,query,years,genres,languages,countries,runtimes,ratings,certifications,networks,status}";
protected override TraktAuthorizationRequirement AuthorizationRequirement => TraktAuthorizationRequirement.NotRequired;
internal TraktShowFilter Filter { get; set; }
protected override bool SupportsPagination => true;
protected override bool IsListResult => true;
}
} | 045c6e940dfefe3333da89615e4ded9c3d70d585 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | C# |
<|file_sep|>original/test/spec/store/get_with_expected_version.rb
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Error) do
store.get id, expected_version: 11
end
end
end
end
<|file_sep|>current/test/spec/store/get_with_expected_version.rb
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Error) do
store.get id, expected_version: 11
end
end
end
end
<|file_sep|>updated/test/spec/store/get_with_expected_version.rb |
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Record::Error) do
store.get id, expected_version: 11
end
end
end
end | <|file_sep|>original/test/spec/store/get_with_expected_version.rb
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Error) do
store.get id, expected_version: 11
end
end
end
end
<|file_sep|>current/test/spec/store/get_with_expected_version.rb
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Error) do
store.get id, expected_version: 11
end
end
end
end
<|file_sep|>updated/test/spec/store/get_with_expected_version.rb
context "Right version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is not an error" do
store.get id, expected_version: 1
end
end
context "Wrong version" do
store = EventStore::EntityStore::Controls::Store::SomeStore.build
store.category_name = category_name
specify "Is an error" do
assert_raises(EventStore::EntityStore::Cache::Record::Error) do
store.get id, expected_version: 11
end
end
end
end | a8fc4a73e0dc1dcf46b700e41d575afbe344bc20 | test/spec/store/get_with_expected_version.rb | test/spec/store/get_with_expected_version.rb | Ruby |
<|file_sep|>original/docs/README.md
<|file_sep|>current/docs/README.md
<|file_sep|>updated/docs/README.md | # Microbio
* a minimal Bioinformatics framework
For most of my use cases, extensive frameworks such as Biopython or scikit-bio are complete overkill. These frameworks are handling everything as an object (e.g. Sequences) which is certainly helpful in some cases, but often it's just more straightforward to save the sequences as plain python strings.
This framework aims at providing a bunch of modules for bioinformatics that are lightweight and super-easy to use. At the moment it is limited to some file reading and writing routines, but who knows what comes in the future ;)
## Installation
`pip install microbio` (not yet ;) )
## Contributing
I will extend this project as it serves my projects. If you have useful code to add, feel free to send a pull request.
## Documentaion
It is all written in the docstrings!
TODO: use readthedocs or something similar. | <|file_sep|>original/docs/README.md
<|file_sep|>current/docs/README.md
<|file_sep|>updated/docs/README.md
# Microbio
* a minimal Bioinformatics framework
For most of my use cases, extensive frameworks such as Biopython or scikit-bio are complete overkill. These frameworks are handling everything as an object (e.g. Sequences) which is certainly helpful in some cases, but often it's just more straightforward to save the sequences as plain python strings.
This framework aims at providing a bunch of modules for bioinformatics that are lightweight and super-easy to use. At the moment it is limited to some file reading and writing routines, but who knows what comes in the future ;)
## Installation
`pip install microbio` (not yet ;) )
## Contributing
I will extend this project as it serves my projects. If you have useful code to add, feel free to send a pull request.
## Documentaion
It is all written in the docstrings!
TODO: use readthedocs or something similar. | 29655f3e61586f53785778044c5744c2fe2da42c | docs/README.md | docs/README.md | Markdown |
<|file_sep|>TODO.md.diff
original:
- varargs (how to pass them, etc)
updated:
<|file_sep|>TODO.md.diff
original:
updated:
- primitive operations working
- unable to bitcast floats
- varargs
- `printf` is working
- submit vararg patch to clang
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
<|file_sep|>original/TODO.md
- varargs (how to pass them, etc)
- floats
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- aliases
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K
<|file_sep|>current/TODO.md
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- aliases
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K
<|file_sep|>updated/TODO.md | - submit vararg patch to clang
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K | <|file_sep|>TODO.md.diff
original:
- varargs (how to pass them, etc)
updated:
<|file_sep|>TODO.md.diff
original:
updated:
- primitive operations working
- unable to bitcast floats
- varargs
- `printf` is working
- submit vararg patch to clang
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
<|file_sep|>original/TODO.md
- varargs (how to pass them, etc)
- floats
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- aliases
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K
<|file_sep|>current/TODO.md
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- aliases
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K
<|file_sep|>updated/TODO.md
- submit vararg patch to clang
- aliases
- We might be done with this.
- standard library
- create repo for modified musl
- add back printf float support
- memory
- simplify memory model (symByte idea)
- handle arbitrary-width integers (iN)
- `gcc-torture/20001111-1.opt.ll`: stuck on sizeof i1
- vectors
- modifiers on everything
- pass by value
- structs constants
- looks like Typedef can have more than two things in it (strct-pack-1.ll)
- fixing printing 0x values (regstack-1.ll)
- numbered types
- unimplimented stuff in parser
- consider renaming types
- blocks not being set correctly
- maybe comparisons at top of K | ead2ca0044136c8e8b4756e7380a4422a57648bf | TODO.md | TODO.md | Markdown |
<|file_sep|>original/config/prisons/BNI-bullingdon-convicted-only.yml
email: socialvisits.bullingdon@hmps.gsi.gov.uk
enabled: true
estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
<|file_sep|>current/config/prisons/BNI-bullingdon-convicted-only.yml
email: socialvisits.bullingdon@hmps.gsi.gov.uk
enabled: true
estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
<|file_sep|>updated/config/prisons/BNI-bullingdon-convicted-only.yml | estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-12-25
- 2016-01-01 | <|file_sep|>original/config/prisons/BNI-bullingdon-convicted-only.yml
email: socialvisits.bullingdon@hmps.gsi.gov.uk
enabled: true
estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
<|file_sep|>current/config/prisons/BNI-bullingdon-convicted-only.yml
email: socialvisits.bullingdon@hmps.gsi.gov.uk
enabled: true
estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
<|file_sep|>updated/config/prisons/BNI-bullingdon-convicted-only.yml
estate: Bullingdon
finder_slug: bullingdon
phone: 01869 353176
slots:
mon:
- 1400-1610
sat:
- 1400-1610
sun:
- 1400-1610
thu:
- 1400-1610
tue:
- 1400-1610
wed:
- 1400-1610
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-12-25
- 2016-01-01 | 2e503e07dd865bcba8173c42b82810042237259c | config/prisons/BNI-bullingdon-convicted-only.yml | config/prisons/BNI-bullingdon-convicted-only.yml | YAML |
<|file_sep|>original/apps/CMakeLists.txt
option(WITH_APPS "Build apps" ON)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif()
<|file_sep|>current/apps/CMakeLists.txt
option(WITH_APPS "Build apps" ON)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif()
<|file_sep|>updated/apps/CMakeLists.txt | # FIXME: Renable by default once we fix the build
option(WITH_APPS "Build apps" OFF)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif() | <|file_sep|>original/apps/CMakeLists.txt
option(WITH_APPS "Build apps" ON)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif()
<|file_sep|>current/apps/CMakeLists.txt
option(WITH_APPS "Build apps" ON)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif()
<|file_sep|>updated/apps/CMakeLists.txt
# FIXME: Renable by default once we fix the build
option(WITH_APPS "Build apps" OFF)
include_directories ("${CMAKE_BINARY_DIR}/include")
link_directories ("${LLVM_LIB}")
include_directories ("${CMAKE_CURRENT_LIST_DIR}/support")
if(WITH_APPS)
add_subdirectory(bilateral_grid)
add_subdirectory(blur)
add_subdirectory(c_backend)
add_subdirectory(camera_pipe)
#add_subdirectory(HelloAndroid)
#add_subdirectory(HelloNaCl)
add_subdirectory(interpolate)
add_subdirectory(local_laplacian)
add_subdirectory(wavelet)
endif() | d28aa83cf7f0fd3a1273704023c9c9298ed52f21 | apps/CMakeLists.txt | apps/CMakeLists.txt | Text |
<|file_sep|>original/usr.sbin/pkg_install/lib/Makefile
LIB= install
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
<|file_sep|>current/usr.sbin/pkg_install/lib/Makefile
LIB= install
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
<|file_sep|>updated/usr.sbin/pkg_install/lib/Makefile | LIB= install
SRCS= file.c ftp.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk> | <|file_sep|>original/usr.sbin/pkg_install/lib/Makefile
LIB= install
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
<|file_sep|>current/usr.sbin/pkg_install/lib/Makefile
LIB= install
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
<|file_sep|>updated/usr.sbin/pkg_install/lib/Makefile
LIB= install
SRCS= file.c ftp.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk> | a33d87a3201bc79b82e931908a5c3df42f7a1961 | usr.sbin/pkg_install/lib/Makefile | usr.sbin/pkg_install/lib/Makefile | unknown |
<|file_sep|>original/src/ee/plannodes/tablecountnode.cpp
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
}
}
<|file_sep|>current/src/ee/plannodes/tablecountnode.cpp
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
}
}
<|file_sep|>updated/src/ee/plannodes/tablecountnode.cpp |
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
delete getOutputTable();
setOutputTable(NULL);
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
} | <|file_sep|>original/src/ee/plannodes/tablecountnode.cpp
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
}
}
<|file_sep|>current/src/ee/plannodes/tablecountnode.cpp
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
}
}
<|file_sep|>updated/src/ee/plannodes/tablecountnode.cpp
#include <sstream>
#include "tablecountnode.h"
#include "common/common.h"
#include "expressions/abstractexpression.h"
#include "storage/table.h"
namespace voltdb {
TableCountPlanNode::~TableCountPlanNode() {
delete getOutputTable();
setOutputTable(NULL);
}
std::string TableCountPlanNode::debugInfo(const std::string &spacer) const {
std::ostringstream buffer;
buffer << this->AbstractScanPlanNode::debugInfo(spacer);
assert(m_predicate == NULL);
buffer << spacer << "TABLE COUNT Expression: <NULL>";
return (buffer.str());
} | 798bac22d573f6ad6e9589b0ad4cbefc10430ca6 | src/ee/plannodes/tablecountnode.cpp | src/ee/plannodes/tablecountnode.cpp | C++ |
<|file_sep|>original/slang/Compilation/CompilationRoot.cs
<|file_sep|>current/slang/Compilation/CompilationRoot.cs
<|file_sep|>updated/slang/Compilation/CompilationRoot.cs | using System.Collections.Generic;
namespace slang.Compilation
{
public class CompilationRoot
{
public CompilationRoot (CompilationMetadata metadata)
{
CompilationUnits = new List<CompilationUnit> ();
Metadata = metadata;
}
public List<CompilationUnit> CompilationUnits { get; private set; }
public CompilationMetadata Metadata { get; private set; }
}
}
| <|file_sep|>original/slang/Compilation/CompilationRoot.cs
<|file_sep|>current/slang/Compilation/CompilationRoot.cs
<|file_sep|>updated/slang/Compilation/CompilationRoot.cs
using System.Collections.Generic;
namespace slang.Compilation
{
public class CompilationRoot
{
public CompilationRoot (CompilationMetadata metadata)
{
CompilationUnits = new List<CompilationUnit> ();
Metadata = metadata;
}
public List<CompilationUnit> CompilationUnits { get; private set; }
public CompilationMetadata Metadata { get; private set; }
}
}
| ff774510037c6c8908a590623260e59c8617075f | slang/Compilation/CompilationRoot.cs | slang/Compilation/CompilationRoot.cs | C# |
<|file_sep|>original/src/node/README.md
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
The [`src/node/`](./) directory is a new directory introduced in
[#14978](https://github.com/bitcoin/bitcoin/pull/14978) and at the moment is
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
<|file_sep|>current/src/node/README.md
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
The [`src/node/`](./) directory is a new directory introduced in
[#14978](https://github.com/bitcoin/bitcoin/pull/14978) and at the moment is
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
<|file_sep|>updated/src/node/README.md | # src/node/
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
This directory is at the moment
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there. | <|file_sep|>original/src/node/README.md
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
The [`src/node/`](./) directory is a new directory introduced in
[#14978](https://github.com/bitcoin/bitcoin/pull/14978) and at the moment is
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
<|file_sep|>current/src/node/README.md
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
The [`src/node/`](./) directory is a new directory introduced in
[#14978](https://github.com/bitcoin/bitcoin/pull/14978) and at the moment is
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
<|file_sep|>updated/src/node/README.md
# src/node/
The [`src/node/`](./) directory contains code that needs to access node state
(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
classes).
Code in [`src/node/`](./) is meant to be segregated from code in
[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
code changes don't interfere with node operation, to allow wallet and GUI code
to run in separate processes, and to perhaps eventually allow wallet and GUI
code to be maintained in separate source repositories.
As a rule of thumb, code in one of the [`src/node/`](./),
[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
calling code in the other directories directly, and only invoke it indirectly
through the more limited [`src/interfaces/`](../interfaces/) classes.
This directory is at the moment
sparsely populated. Eventually more substantial files like
[`src/validation.cpp`](../validation.cpp) and
[`src/txmempool.cpp`](../txmempool.cpp) might be moved there. | fadcd3f78e1dd1acd7a774f8fad68dc471ff9e1f | src/node/README.md | src/node/README.md | Markdown |
<|file_sep|>original/extlibs/raxmpp/prep.sh
<|file_sep|>current/extlibs/raxmpp/prep.sh
<|file_sep|>updated/extlibs/raxmpp/prep.sh | #!/bin/bash
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
set -e
[ ! -z ${EXEC_MODE} ] || EXEC_MODE=false | <|file_sep|>original/extlibs/raxmpp/prep.sh
<|file_sep|>current/extlibs/raxmpp/prep.sh
<|file_sep|>updated/extlibs/raxmpp/prep.sh
#!/bin/bash
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
set -e
[ ! -z ${EXEC_MODE} ] || EXEC_MODE=false | 90cde5ba9927d19d0c1826500f3ada41e2693d2f | extlibs/raxmpp/prep.sh | extlibs/raxmpp/prep.sh | Shell |
<|file_sep|>original/src/manifest.json
{
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html",
<|file_sep|>current/src/manifest.json
{
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html",
<|file_sep|>updated/src/manifest.json | {
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self'; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html", | <|file_sep|>original/src/manifest.json
{
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html",
<|file_sep|>current/src/manifest.json
{
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self' https://code.jquery.com; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html",
<|file_sep|>updated/src/manifest.json
{
"name": "Minimal Bookmarks Tree",
"manifest_version": 2,
"content_security_policy": "script-src 'self'; object-src 'self'",
"description": "Display a tree of bookmarks under a toolbar button, and search your bookmarks in the omnibox using the keyword 'bm'.",
"version": "3.0.0",
"minimum_chrome_version": "51",
"background": {
"page": "background.html"
},
"omnibox": {
"keyword": "bm"
},
"options_page": "options.html",
"permissions": [
"bookmarks",
"chrome://favicon/"
],
"browser_action": {
"default_title": "Bookmarks",
"default_popup": "popup.html", | a86aca88a8395ff48ffd4232176cb27ca674a498 | src/manifest.json | src/manifest.json | JSON |
<|file_sep|>original/certbot/certbot_renew_freebsd.sh
<|file_sep|>current/certbot/certbot_renew_freebsd.sh
<|file_sep|>updated/certbot/certbot_renew_freebsd.sh | #!/usr/bin/env bash
######################################################################################################
## This is a post-hook script to use with Certbot for renewals to send an email when a cert is renewed
## For example, you'd put something like this in your crontab (must run as root though!)
## Certs will only be renewed if they are getting close to expiration. LE actually recommends running
## renewals at least weekly but even daily. They recommend choosing a random hour/minute to avoid everything
## being run at the same time
##
## This is a FreeBSD version of the script. It requires the heirloom-mailx package to be installed:
## pkg install heirloom-mailx
##
## 32 1 * * * /usr/local/bin/certbot renew --post-hook /usr/local/bin/certbot_renew.sh > /tmp/certbot.log 2>&1
######################################################################################################
## Email addresses that should get the notifications
EMAIL_TO="name@email.com"
## Paths to our log files
APACHE_LOGFILE=/var/log/httpd-error.log
LOGFILE=/tmp/certbot.log
MAILFILE=/tmp/certbot.mail | <|file_sep|>original/certbot/certbot_renew_freebsd.sh
<|file_sep|>current/certbot/certbot_renew_freebsd.sh
<|file_sep|>updated/certbot/certbot_renew_freebsd.sh
#!/usr/bin/env bash
######################################################################################################
## This is a post-hook script to use with Certbot for renewals to send an email when a cert is renewed
## For example, you'd put something like this in your crontab (must run as root though!)
## Certs will only be renewed if they are getting close to expiration. LE actually recommends running
## renewals at least weekly but even daily. They recommend choosing a random hour/minute to avoid everything
## being run at the same time
##
## This is a FreeBSD version of the script. It requires the heirloom-mailx package to be installed:
## pkg install heirloom-mailx
##
## 32 1 * * * /usr/local/bin/certbot renew --post-hook /usr/local/bin/certbot_renew.sh > /tmp/certbot.log 2>&1
######################################################################################################
## Email addresses that should get the notifications
EMAIL_TO="name@email.com"
## Paths to our log files
APACHE_LOGFILE=/var/log/httpd-error.log
LOGFILE=/tmp/certbot.log
MAILFILE=/tmp/certbot.mail | 693ba39b96824cf33021d694754f459187c55535 | certbot/certbot_renew_freebsd.sh | certbot/certbot_renew_freebsd.sh | Shell |
<|file_sep|>original/ansible/playbooks/development/local-run.sh
<|file_sep|>current/ansible/playbooks/development/local-run.sh
<|file_sep|>updated/ansible/playbooks/development/local-run.sh | #!/bin/sh
if [ $# -eq 0 ]; then
echo "Usage: $0 playbook"
echo "playbook: playbook file (e.g. playbook.yml)"
exit 1
fi
ansible-playbook --inventory "localhost," --connection local "$@"
| <|file_sep|>original/ansible/playbooks/development/local-run.sh
<|file_sep|>current/ansible/playbooks/development/local-run.sh
<|file_sep|>updated/ansible/playbooks/development/local-run.sh
#!/bin/sh
if [ $# -eq 0 ]; then
echo "Usage: $0 playbook"
echo "playbook: playbook file (e.g. playbook.yml)"
exit 1
fi
ansible-playbook --inventory "localhost," --connection local "$@"
| bc47a07ccf7b806404ad40458c1223b2a8e33c89 | ansible/playbooks/development/local-run.sh | ansible/playbooks/development/local-run.sh | Shell |
<|file_sep|>original/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.0
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0
<|file_sep|>current/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.0
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0
<|file_sep|>updated/requirements.txt | chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.1
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0 | <|file_sep|>original/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.0
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0
<|file_sep|>current/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.0
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0
<|file_sep|>updated/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.1
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.3
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.12.0 | d2d5be851d249fc8a09af6970a0821de0d738e32 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
before_script:
- cd test/rails-dummy
- bundle exec rake db:create db:migrate | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3
before_script:
- cd test/rails-dummy
- bundle exec rake db:create db:migrate | 3ea59e39aa44c8d2185ae44658d6765f60f05c9f | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/action_profiler.rb.diff
original:
updated:
min_percent = (params[:profile_percent] || 0.05).to_f
<|file_sep|>lib/action_profiler.rb.diff
original:
min_percent = (params[:profile_percent] || 10).to_i
RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_percent)
updated:
<|file_sep|>original/lib/action_profiler.rb
result = RubyProf.profile(&block)
if response.body.is_a?(String)
output = StringIO.new
min_percent = (params[:profile_percent] || 10).to_i
RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_percent)
if output.string =~ /<body>(.*)<\/body>/m
response.body.sub! '</body>', %(<div id="RubyProf">#{$1}</div></body>)
else
ActionController::Base.logger.info "[PROFILE] Non-HTML profile result: #{output.string}"
end
else
ActionController::Base.logger.info '[PROFILE] Non-HTML response body, skipping results'
end
else
yield
end
end
end
<|file_sep|>current/lib/action_profiler.rb
result = RubyProf.profile(&block)
if response.body.is_a?(String)
min_percent = (params[:profile_percent] || 0.05).to_f
output = StringIO.new
if output.string =~ /<body>(.*)<\/body>/m
response.body.sub! '</body>', %(<div id="RubyProf">#{$1}</div></body>)
else
ActionController::Base.logger.info "[PROFILE] Non-HTML profile result: #{output.string}"
end
else
ActionController::Base.logger.info '[PROFILE] Non-HTML response body, skipping results'
end
else
yield
end
end
end
end
<|file_sep|>updated/lib/action_profiler.rb | end
result = RubyProf.profile(&block)
if response.body.is_a?(String)
min_percent = (params[:profile_percent] || 0.05).to_f
output = StringIO.new
RubyProf::CallTreePrinter.new(result).print(output, :min_percent => min_percent)
response.body.replace(output.string)
response.headers['Content-Length'] = response.body.size
response.headers['Content-Type'] = 'application/octet-stream'
response.headers['Content-Disposition'] = %(attachment; filename="#{File.basename(request.path)}.tree")
end
else
yield
end
end
end
end | <|file_sep|>lib/action_profiler.rb.diff
original:
updated:
min_percent = (params[:profile_percent] || 0.05).to_f
<|file_sep|>lib/action_profiler.rb.diff
original:
min_percent = (params[:profile_percent] || 10).to_i
RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_percent)
updated:
<|file_sep|>original/lib/action_profiler.rb
result = RubyProf.profile(&block)
if response.body.is_a?(String)
output = StringIO.new
min_percent = (params[:profile_percent] || 10).to_i
RubyProf::GraphHtmlPrinter.new(result).print(output, :min_percent => min_percent)
if output.string =~ /<body>(.*)<\/body>/m
response.body.sub! '</body>', %(<div id="RubyProf">#{$1}</div></body>)
else
ActionController::Base.logger.info "[PROFILE] Non-HTML profile result: #{output.string}"
end
else
ActionController::Base.logger.info '[PROFILE] Non-HTML response body, skipping results'
end
else
yield
end
end
end
<|file_sep|>current/lib/action_profiler.rb
result = RubyProf.profile(&block)
if response.body.is_a?(String)
min_percent = (params[:profile_percent] || 0.05).to_f
output = StringIO.new
if output.string =~ /<body>(.*)<\/body>/m
response.body.sub! '</body>', %(<div id="RubyProf">#{$1}</div></body>)
else
ActionController::Base.logger.info "[PROFILE] Non-HTML profile result: #{output.string}"
end
else
ActionController::Base.logger.info '[PROFILE] Non-HTML response body, skipping results'
end
else
yield
end
end
end
end
<|file_sep|>updated/lib/action_profiler.rb
end
result = RubyProf.profile(&block)
if response.body.is_a?(String)
min_percent = (params[:profile_percent] || 0.05).to_f
output = StringIO.new
RubyProf::CallTreePrinter.new(result).print(output, :min_percent => min_percent)
response.body.replace(output.string)
response.headers['Content-Length'] = response.body.size
response.headers['Content-Type'] = 'application/octet-stream'
response.headers['Content-Disposition'] = %(attachment; filename="#{File.basename(request.path)}.tree")
end
else
yield
end
end
end
end | 391f26bebf0ec850b2b796f53c6c2ac17ee8d8f0 | lib/action_profiler.rb | lib/action_profiler.rb | Ruby |
<|file_sep|>original/_config.yml
- jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin",
"sw-precache-config.js",
]
<|file_sep|>current/_config.yml
- jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin",
"sw-precache-config.js",
]
<|file_sep|>updated/_config.yml | - jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"package-lock.json",
"package-scripts.js",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin", | <|file_sep|>original/_config.yml
- jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin",
"sw-precache-config.js",
]
<|file_sep|>current/_config.yml
- jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin",
"sw-precache-config.js",
]
<|file_sep|>updated/_config.yml
- jekyll-sitemap
data_dir: ./_locales
exclude:
[
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"TRANSLATING.md",
"assets/images/icons",
"package.json",
"package-lock.json",
"package-scripts.js",
"Gemfile",
"Gemfile.lock",
"README.md",
"pages/**/README.md",
"LICENSE",
"CNAME",
"node_modules",
"vendor",
"_bin", | 179983ac51214a91213e970002f09a67b61de8f2 | _config.yml | _config.yml | YAML |
<|file_sep|>original/lib/burlesque/client.rb
@http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe queues
queues = Array(queues)
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
<|file_sep|>current/lib/burlesque/client.rb
@http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe queues
queues = Array(queues)
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
<|file_sep|>updated/lib/burlesque/client.rb | @http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe *queues
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
def status | <|file_sep|>original/lib/burlesque/client.rb
@http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe queues
queues = Array(queues)
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
<|file_sep|>current/lib/burlesque/client.rb
@http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe queues
queues = Array(queues)
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
<|file_sep|>updated/lib/burlesque/client.rb
@http.read_timeout = Burlesque.config.timeout
end
def publish queue, message
req = Net::HTTP::Post.new("#{PUB_ENDPOINT}?queue=#{queue}")
req.body = message
res = http.request(req)
res.body == OK
end
def subscribe *queues
req = Net::HTTP::Get.new("#{SUB_ENDPOINT}?queues=#{queues.join(?,)}")
begin
res = http.request(req)
{message: res.body, queue: res.header['Queue']} if res.is_a? Net::HTTPOK
rescue Net::ReadTimeout
end
end
def status | 52b67313cc38d14008e198ca77e605a406ec4a30 | lib/burlesque/client.rb | lib/burlesque/client.rb | Ruby |
<|file_sep|>original/roles/marathon/handlers/main.yml
---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
<|file_sep|>current/roles/marathon/handlers/main.yml
---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
<|file_sep|>updated/roles/marathon/handlers/main.yml | ---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
notify:
- wait for marathon to listen
- name: wait for marathon to listen
sudo: yes
command: "curl -s http://localhost:{{ marathon_port }}/ping"
register: log_output
until: log_output.stdout.find("pong") > -1
retries: 10
delay: 3 | <|file_sep|>original/roles/marathon/handlers/main.yml
---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
<|file_sep|>current/roles/marathon/handlers/main.yml
---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
<|file_sep|>updated/roles/marathon/handlers/main.yml
---
# handlers file for marathon
# Restart service marathon, in all cases
- name: Restart marathon
sudo: yes
service:
name: marathon
state: restarted
notify:
- wait for marathon to listen
- name: wait for marathon to listen
sudo: yes
command: "curl -s http://localhost:{{ marathon_port }}/ping"
register: log_output
until: log_output.stdout.find("pong") > -1
retries: 10
delay: 3 | b2e1e298bcf0035d3851938752dc1b7b861279a1 | roles/marathon/handlers/main.yml | roles/marathon/handlers/main.yml | YAML |
<|file_sep|>original/examples/resize_base/README.md
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
<|file_sep|>current/examples/resize_base/README.md
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
<|file_sep|>updated/examples/resize_base/README.md |
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
# Running
```console
$ terraform apply
$ ssh -i id_rsa "root@$(terraform output ip)"
``` | <|file_sep|>original/examples/resize_base/README.md
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
<|file_sep|>current/examples/resize_base/README.md
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
<|file_sep|>updated/examples/resize_base/README.md
This example takes a base image of 2G and uses it as the backing store of a bigger volume. _cloud-init_ is then used to resize the original partition to the new available space.
See https://github.com/dmacvicar/terraform-provider-libvirt/issues/369
# Running
```console
$ terraform apply
$ ssh -i id_rsa "root@$(terraform output ip)"
``` | 4012715b031561019aee95ed907aa9831e629ec4 | examples/resize_base/README.md | examples/resize_base/README.md | Markdown |
<|file_sep|>Resources/config/orm-services.yml.diff
original:
arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%]
updated:
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
<|file_sep|>original/Resources/config/orm-services.yml
services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- %ambta_doctrine_encrypt.encryptor_class_name%
- %ambta_doctrine_encrypt.secret_key%
<|file_sep|>current/Resources/config/orm-services.yml
services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- %ambta_doctrine_encrypt.encryptor_class_name%
- %ambta_doctrine_encrypt.secret_key%
<|file_sep|>updated/Resources/config/orm-services.yml | services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- "%ambta_doctrine_encrypt.encryptor_class_name%"
- "%ambta_doctrine_encrypt.secret_key%" | <|file_sep|>Resources/config/orm-services.yml.diff
original:
arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%]
updated:
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
<|file_sep|>original/Resources/config/orm-services.yml
services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", %ambta_doctrine_encrypt.encryptor_class_name%, %ambta_doctrine_encrypt.secret_key%]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- %ambta_doctrine_encrypt.encryptor_class_name%
- %ambta_doctrine_encrypt.secret_key%
<|file_sep|>current/Resources/config/orm-services.yml
services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- %ambta_doctrine_encrypt.encryptor_class_name%
- %ambta_doctrine_encrypt.secret_key%
<|file_sep|>updated/Resources/config/orm-services.yml
services:
ambta_doctrine_encrypt.orm_subscriber:
class: Ambta\DoctrineEncryptBundle\Subscribers\DoctrineEncryptSubscriber
arguments: ["@annotation_reader", "%ambta_doctrine_encrypt.encryptor_class_name%", "%ambta_doctrine_encrypt.secret_key%"]
tags:
- { name: doctrine.event_subscriber }
ambta_doctrine_encrypt.subscriber:
alias: ambta_doctrine_encrypt.orm_subscriber
ambta_doctrine_encrypt.encryptor:
class: Ambta\DoctrineEncryptBundle\Services\Encryptor
arguments:
- "%ambta_doctrine_encrypt.encryptor_class_name%"
- "%ambta_doctrine_encrypt.secret_key%" | aef1c6f10a6b816387355e3931abc71154d5b55e | Resources/config/orm-services.yml | Resources/config/orm-services.yml | YAML |
<|file_sep|>original/src/DynamicMemory.h
//
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember;
<|file_sep|>current/src/DynamicMemory.h
//
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember;
<|file_sep|>updated/src/DynamicMemory.h | //
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include <memory>
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember; | <|file_sep|>original/src/DynamicMemory.h
//
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember;
<|file_sep|>current/src/DynamicMemory.h
//
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember;
<|file_sep|>updated/src/DynamicMemory.h
//
// Created by James Telfer on 30/07/2017.
//
#ifndef C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#define C_11_FEATURE_DEMO_DYNAMICMEMORY_H
#include <memory>
#include "Thing.h"
class DynamicMemory {
public:
DynamicMemory();
void uniquePointers();
void sharedPointers();
void makeShared();
private:
void outputThing(const Thing* thing) const;
void outputSharedPtr(std::shared_ptr<Thing> thing) const;
std::unique_ptr<Thing> uniquePtrMember; | c02cabaab61367862776ad1d612161d4d623f7a0 | src/DynamicMemory.h | src/DynamicMemory.h | C |
<|file_sep|>original/blazeweb/registry.py
class StackedObjectProxy(PasteSOP):
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
<|file_sep|>current/blazeweb/registry.py
class StackedObjectProxy(PasteSOP):
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
<|file_sep|>updated/blazeweb/registry.py |
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
def __bool__(self):
return bool(self._current_obj()) | <|file_sep|>original/blazeweb/registry.py
class StackedObjectProxy(PasteSOP):
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
<|file_sep|>current/blazeweb/registry.py
class StackedObjectProxy(PasteSOP):
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
<|file_sep|>updated/blazeweb/registry.py
# override b/c of
# http://trac.pythonpaste.org/pythonpaste/ticket/482
def _pop_object(self, obj=None):
"""Remove a thread-local object.
If ``obj`` is given, it is checked against the popped object and an
error is emitted if they don't match.
"""
try:
popped = self.____local__.objects.pop()
if obj is not None and popped is not obj:
raise AssertionError(
'The object popped (%s) is not the same as the object '
'expected (%s)' % (popped, obj))
except AttributeError:
raise AssertionError('No object has been registered for this thread')
def __bool__(self):
return bool(self._current_obj()) | d14160537292c87f870fa8c7d99c253b61420dde | blazeweb/registry.py | blazeweb/registry.py | Python |
<|file_sep|>original/release/all.sh
#!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM"
<|file_sep|>current/release/all.sh
#!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM"
<|file_sep|>updated/release/all.sh | #!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean -Prelease.useLastTag=true && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM" | <|file_sep|>original/release/all.sh
#!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM"
<|file_sep|>current/release/all.sh
#!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM"
<|file_sep|>updated/release/all.sh
#!/usr/bin/env bash
set -e
PLATFORMS=(debian docker osx)
VERSIONS=$@
./gradlew clean -Prelease.useLastTag=true && ./gradlew installDist -Prelease.useLastTag=true
USAGE="You must supply a list of <versions>, e.g.\n $0 <version1> <version2>"
if [ -z "$VERSIONS" ]; then
>&2 echo $USAGE
exit 1
fi
for PLATFORM in "${PLATFORMS[@]}"; do
echo "Building & releasing $PLATFORM..."
./release/$PLATFORM.sh
for VERSION in $VERSIONS; do
echo "Releasing $VERSION to $PLATFORM" | 2e9dd956061f0a146eb7490b5717aab0cb8cbbd3 | release/all.sh | release/all.sh | Shell |
<|file_sep|>original/WarDroid/src/main/res/values/strings.xml
<resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
<string name="data_drone_normal">{\"droneRes\":\"/Lotus/Types/Ship/BasicResourceDrone\",\"binCount\":1,\"binCapacity\":1,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
<string name="data_drone_prime">{\"droneRes\":\"/Lotus/Types/Ship/AdvancedResourceDrone\",\"binCount\":1,\"binCapacity\":2,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
</resources>
<|file_sep|>current/WarDroid/src/main/res/values/strings.xml
<resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
<string name="data_drone_normal">{\"droneRes\":\"/Lotus/Types/Ship/BasicResourceDrone\",\"binCount\":1,\"binCapacity\":1,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
<string name="data_drone_prime">{\"droneRes\":\"/Lotus/Types/Ship/AdvancedResourceDrone\",\"binCount\":1,\"binCapacity\":2,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
</resources>
<|file_sep|>updated/WarDroid/src/main/res/values/strings.xml | <resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
</resources> | <|file_sep|>original/WarDroid/src/main/res/values/strings.xml
<resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
<string name="data_drone_normal">{\"droneRes\":\"/Lotus/Types/Ship/BasicResourceDrone\",\"binCount\":1,\"binCapacity\":1,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
<string name="data_drone_prime">{\"droneRes\":\"/Lotus/Types/Ship/AdvancedResourceDrone\",\"binCount\":1,\"binCapacity\":2,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
</resources>
<|file_sep|>current/WarDroid/src/main/res/values/strings.xml
<resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
<string name="data_drone_normal">{\"droneRes\":\"/Lotus/Types/Ship/BasicResourceDrone\",\"binCount\":1,\"binCapacity\":1,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
<string name="data_drone_prime">{\"droneRes\":\"/Lotus/Types/Ship/AdvancedResourceDrone\",\"binCount\":1,\"binCapacity\":2,\"fillRate\":4,\"droneDurability\":100,\"repairRate\":10,\"capacityMultipliers\":[8,6,4,1],\"probabilities\":[0.755,0.22,0.02,0.0049999999],\"specialities\":[]}</string>
</resources>
<|file_sep|>updated/WarDroid/src/main/res/values/strings.xml
<resources>
<!-- Strings for possible PreferenceActivity Back/Next buttons -->
<string name="back_button_label">Back</string>
<string name="next_button_label">Next</string>
<!-- Optional button to Skip a PreferenceActivity [CHAR LIMIT=20] -->
<string name="skip_button_label">Skip</string>
<string name="app_name">WarDroid</string>
<string name="drawer_open">Open Drawer</string>
<string name="drawer_close">Close Drawer</string>
<string name="login_save_password">Save password</string>
</resources> | 4a78c5fdc39b2bc42ac271c740baa908f8101401 | WarDroid/src/main/res/values/strings.xml | WarDroid/src/main/res/values/strings.xml | XML |
<|file_sep|>original/pneumatictube-package/tools/ChocolateyInstall.ps1
$packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = "$env:systemdrive\tools"
if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root -notlike '*:\*'){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
<|file_sep|>current/pneumatictube-package/tools/ChocolateyInstall.ps1
$packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = "$env:systemdrive\tools"
if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root -notlike '*:\*'){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
<|file_sep|>updated/pneumatictube-package/tools/ChocolateyInstall.ps1 | $packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = Get-BinRoot
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
} | <|file_sep|>original/pneumatictube-package/tools/ChocolateyInstall.ps1
$packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = "$env:systemdrive\tools"
if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root -notlike '*:\*'){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
<|file_sep|>current/pneumatictube-package/tools/ChocolateyInstall.ps1
$packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = "$env:systemdrive\tools"
if($env:chocolatey_bin_root -ne $null -and $env:chocolatey_bin_root -notlike '*:\*'){$binRoot = join-path $env:systemdrive $env:chocolatey_bin_root}
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
}
<|file_sep|>updated/pneumatictube-package/tools/ChocolateyInstall.ps1
$packageName = 'PneumaticTube.portable'
$url = 'https://github.com/hartez/PneumaticTube/releases/download/1.0.0/PneumaticTube.zip'
try {
$binRoot = Get-BinRoot
$installDir = Join-Path $binRoot "$packageName"
Write-Host "Adding `'$installDir`' to the path and the current shell path"
Install-ChocolateyPath "$installDir"
$env:Path = "$($env:Path);$installDir"
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir"
Write-ChocolateySuccess "$packageName"
} catch {
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
throw
} | 1a84a113e4f24b269162990b375f58a9a622dff1 | pneumatictube-package/tools/ChocolateyInstall.ps1 | pneumatictube-package/tools/ChocolateyInstall.ps1 | PowerShell |
<|file_sep|>original/app/views/materials/_form.html.erb
<%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %>
<|file_sep|>current/app/views/materials/_form.html.erb
<%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %>
<|file_sep|>updated/app/views/materials/_form.html.erb | <%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= hidden_field_tag :type, :files %>
<%= hidden_field_tag :parent, @folder.id %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %> | <|file_sep|>original/app/views/materials/_form.html.erb
<%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %>
<|file_sep|>current/app/views/materials/_form.html.erb
<%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %>
<|file_sep|>updated/app/views/materials/_form.html.erb
<%= render partial: "layouts/file_uploader_complicated",
locals: { owner: nil } %>
<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>
<div id="uploaded_files_div"></div>
<div class="form-actions">
<%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
<%= hidden_field_tag :type, :files %>
<%= hidden_field_tag :parent, @folder.id %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
course_material_folders_url(@course, @folder), :class => 'btn' %>
</div>
<% end %> | 1380849df11ec45b0f89caf0e01cbb126d45d1b9 | app/views/materials/_form.html.erb | app/views/materials/_form.html.erb | HTML+ERB |
<|file_sep|>original/boundary_cli/plugin_manifest.py
<|file_sep|>current/boundary_cli/plugin_manifest.py
<|file_sep|>updated/boundary_cli/plugin_manifest.py | #!/usr/bin/env python
###
### Copyright 2014-2015, Boundary
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
### http://www.apache.org/licenses/LICENSE-2.0
###
### Unless required by applicable law or agreed to in writing, software
### distributed under the License is distributed on an "AS IS" BASIS,
### WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
### See the License for the specific language governing permissions and
### limitations under the License.
###
import json
from pprint import pprint
import sys
| <|file_sep|>original/boundary_cli/plugin_manifest.py
<|file_sep|>current/boundary_cli/plugin_manifest.py
<|file_sep|>updated/boundary_cli/plugin_manifest.py
#!/usr/bin/env python
###
### Copyright 2014-2015, Boundary
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
### http://www.apache.org/licenses/LICENSE-2.0
###
### Unless required by applicable law or agreed to in writing, software
### distributed under the License is distributed on an "AS IS" BASIS,
### WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
### See the License for the specific language governing permissions and
### limitations under the License.
###
import json
from pprint import pprint
import sys
| 033bddcfc933191397e4f01cd5ce5b10b2344c92 | boundary_cli/plugin_manifest.py | boundary_cli/plugin_manifest.py | Python |
<|file_sep|>metadata/co.appreactor.news.yml.diff
original:
updated:
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/co.appreactor.news.yml
gradle:
- yes
- versionName: 0.2.2
versionCode: 8
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.3
CurrentVersionCode: 9
<|file_sep|>current/metadata/co.appreactor.news.yml
gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.3
CurrentVersionCode: 9
<|file_sep|>updated/metadata/co.appreactor.news.yml | gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.4
CurrentVersionCode: 10 | <|file_sep|>metadata/co.appreactor.news.yml.diff
original:
updated:
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/co.appreactor.news.yml
gradle:
- yes
- versionName: 0.2.2
versionCode: 8
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.3
CurrentVersionCode: 9
<|file_sep|>current/metadata/co.appreactor.news.yml
gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.3
CurrentVersionCode: 9
<|file_sep|>updated/metadata/co.appreactor.news.yml
gradle:
- yes
- versionName: 0.2.3
versionCode: 9
commit: v0.2.3
subdir: app
gradle:
- yes
- versionName: 0.2.4
versionCode: 10
commit: v0.2.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.4
CurrentVersionCode: 10 | 5baf73846e052cd9a337b26cbaad6238efd84c45 | metadata/co.appreactor.news.yml | metadata/co.appreactor.news.yml | YAML |
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
/* {
font-size: 14px;
box-sizing: border-box;
position: absolute;
right: 250px;
top: 0px;
border-radius: 5px;
border: 0px;
background-color: blue;
text-align: center;
*/
updated:
.main-menu {
display: inline-block;
margin: 60px auto 45px;
box-shadow: 0 1px 1px #ccc;
font-family: 'Open Sans Semibold', sans-serif;
}
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
nav a {
updated:
.main-menu a {
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
font-size: 14px;
updated:
font-size: 13px;
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
right: 250px;
updated:
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
nav a:first-child {
updated:
.main-menu a:first-child {
<|file_sep|>original/src/components/main-menu/main-menu.css
right: 250px;
line-height: 1;
text-transform: uppercase;
background-color: transparent;
-webkit-transition: background-color 0.25s;
-moz-transition: background-color 0.25s;
transition: background-color 0.25s;
}
nav a:first-child {
border-radius: 2px 0 0 2px;
}
nav a:last-child {
border-radius: 0 2px 2px 0;
}
/*
.main-menu {}
<|file_sep|>current/src/components/main-menu/main-menu.css
transition: background-color 0.25s;
}
.main-menu a:first-child {
border-radius: 2px 0 0 2px;
}
.main-menu a:last-child {
border-radius: 0 2px 2px 0;
}
.main-menu .menu-liste .menu-item {
background-color: #e35885;
}
.main-menu:active {}
.main-menu:active {
background: #e8645a;
box-shadow: 0 4px #e2534b;
*/
<|file_sep|>updated/src/components/main-menu/main-menu.css | font-size: 13px;
text-decoration: none !important;
line-height: 1;
text-transform: uppercase;
background-color: transparent;
-webkit-transition: background-color 0.25s;
-moz-transition: background-color 0.25s;
transition: background-color 0.25s;
}
.main-menu a:first-child {
border-radius: 2px 0 0 2px;
}
.main-menu a:last-child {
border-radius: 0 2px 2px 0;
}
.main-menu .menu-liste .menu-item {
background-color: #e35885;
} | <|file_sep|>src/components/main-menu/main-menu.css.diff
original:
/* {
font-size: 14px;
box-sizing: border-box;
position: absolute;
right: 250px;
top: 0px;
border-radius: 5px;
border: 0px;
background-color: blue;
text-align: center;
*/
updated:
.main-menu {
display: inline-block;
margin: 60px auto 45px;
box-shadow: 0 1px 1px #ccc;
font-family: 'Open Sans Semibold', sans-serif;
}
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
nav a {
updated:
.main-menu a {
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
font-size: 14px;
updated:
font-size: 13px;
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
right: 250px;
updated:
<|file_sep|>src/components/main-menu/main-menu.css.diff
original:
nav a:first-child {
updated:
.main-menu a:first-child {
<|file_sep|>original/src/components/main-menu/main-menu.css
right: 250px;
line-height: 1;
text-transform: uppercase;
background-color: transparent;
-webkit-transition: background-color 0.25s;
-moz-transition: background-color 0.25s;
transition: background-color 0.25s;
}
nav a:first-child {
border-radius: 2px 0 0 2px;
}
nav a:last-child {
border-radius: 0 2px 2px 0;
}
/*
.main-menu {}
<|file_sep|>current/src/components/main-menu/main-menu.css
transition: background-color 0.25s;
}
.main-menu a:first-child {
border-radius: 2px 0 0 2px;
}
.main-menu a:last-child {
border-radius: 0 2px 2px 0;
}
.main-menu .menu-liste .menu-item {
background-color: #e35885;
}
.main-menu:active {}
.main-menu:active {
background: #e8645a;
box-shadow: 0 4px #e2534b;
*/
<|file_sep|>updated/src/components/main-menu/main-menu.css
font-size: 13px;
text-decoration: none !important;
line-height: 1;
text-transform: uppercase;
background-color: transparent;
-webkit-transition: background-color 0.25s;
-moz-transition: background-color 0.25s;
transition: background-color 0.25s;
}
.main-menu a:first-child {
border-radius: 2px 0 0 2px;
}
.main-menu a:last-child {
border-radius: 0 2px 2px 0;
}
.main-menu .menu-liste .menu-item {
background-color: #e35885;
} | 2bbd1deb858a6acedfa2c3337066a4252fc0fa92 | src/components/main-menu/main-menu.css | src/components/main-menu/main-menu.css | CSS |
<|file_sep|>original/integration/experiment/common_args.py
<|file_sep|>current/integration/experiment/common_args.py
<|file_sep|>updated/integration/experiment/common_args.py | #
# Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | <|file_sep|>original/integration/experiment/common_args.py
<|file_sep|>current/integration/experiment/common_args.py
<|file_sep|>updated/integration/experiment/common_args.py
#
# Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 4ebf68bc3ae22f39be6f7c0a260323648537e65c | integration/experiment/common_args.py | integration/experiment/common_args.py | Python |
<|file_sep|>original/build-artefact.sh
<|file_sep|>current/build-artefact.sh
<|file_sep|>updated/build-artefact.sh | #!/bin/bash
VIRTUALENV_DIR=/var/tmp/virtualenvs/$(echo ${JOB_NAME} | tr ' ' '-')
export PIP_DOWNLOAD_CACHE=/var/tmp/pip_download_cache
virtualenv --clear --no-site-packages $VIRTUALENV_DIR
source $VIRTUALENV_DIR/bin/activate
pip install -r requirements.txt
python fetch_csv.py
python create_pages.py
mkdir -p artefacts
cd output
zip -r ../artefacts/service-explorer.zip . | <|file_sep|>original/build-artefact.sh
<|file_sep|>current/build-artefact.sh
<|file_sep|>updated/build-artefact.sh
#!/bin/bash
VIRTUALENV_DIR=/var/tmp/virtualenvs/$(echo ${JOB_NAME} | tr ' ' '-')
export PIP_DOWNLOAD_CACHE=/var/tmp/pip_download_cache
virtualenv --clear --no-site-packages $VIRTUALENV_DIR
source $VIRTUALENV_DIR/bin/activate
pip install -r requirements.txt
python fetch_csv.py
python create_pages.py
mkdir -p artefacts
cd output
zip -r ../artefacts/service-explorer.zip . | 3e47ec764e6f1c5c47f79758f54a66682977b9fa | build-artefact.sh | build-artefact.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- HAXE_VERSION=3.4.7
updated:
<|file_sep|>original/.travis.yml
install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
- lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
<|file_sep|>current/.travis.yml
install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
- lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
# script: skip
<|file_sep|>updated/.travis.yml | install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
# - lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
# script: skip | <|file_sep|>.travis.yml.diff
original:
- HAXE_VERSION=3.4.7
updated:
<|file_sep|>original/.travis.yml
install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
- lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
<|file_sep|>current/.travis.yml
install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
- lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
# script: skip
<|file_sep|>updated/.travis.yml
install:
- npm i -g lix
- npm install
- lix install haxe $HAXE_VERSION
- lix download
- if [[ "$(haxe -version)" =~ ^4.* ]]; then sudo apt-get install php7.0-cli php7.0-mysql; else sudo apt-get install php5.6-cli php5.6-mysql; fi
script:
- lix run travix node
# - lix run travix php
# jobs:
# include:
# # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
# - stage: deploy
# os: linux
# install:
# - npm i -g lix
# - lix download
# script: skip | 9e464f1518d8270b1f58673e9efa2104129ef972 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/style/form.khtml.all.css
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label.nocmx input[type="radio"],
label.nocmx input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
<|file_sep|>current/style/form.khtml.all.css
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label.nocmx input[type="radio"],
label.nocmx input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
<|file_sep|>updated/style/form.khtml.all.css |
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label input[type="radio"],
label input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
/* | <|file_sep|>original/style/form.khtml.all.css
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label.nocmx input[type="radio"],
label.nocmx input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
<|file_sep|>current/style/form.khtml.all.css
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label.nocmx input[type="radio"],
label.nocmx input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
<|file_sep|>updated/style/form.khtml.all.css
form.cmxform ol li.list label{
line-height: 1.6;
}
input[type="radio"],
input[type="checkbox"] {
vertical-align: bottom;
}
label input[type="radio"],
label input[type="checkbox"] {
vertical-align: baseline;
}
li.checkbox label{
line-height: 1.8;
}
/* | 4b8b73c47558f8f176b5f5e11b8b21a70578a3b7 | style/form.khtml.all.css | style/form.khtml.all.css | CSS |
<|file_sep|>original/tests/Log/Writer/PdoWriterTest.php
<|file_sep|>current/tests/Log/Writer/PdoWriterTest.php
<|file_sep|>updated/tests/Log/Writer/PdoWriterTest.php | <?php
/**
* Tlumx Framework (http://framework.tlumx.xyz/)
*
* @author Yaroslav Kharitonchuk <yarik.proger@gmail.com>
* @link https://github.com/tlumx/framework
* @copyright Copyright (c) 2016 Yaroslav Kharitonchuk
* @license http://framework.tlumx.xyz/license (MIT License)
*/
namespace Tlumx\Tests\Log;
use Tlumx\Log\Writer\PdoWriter;
class PdoWriterTest extends \PHPUnit_Framework_TestCase
{
private $dbh;
protected function setUp()
{
$this->dbh = new \PDO('sqlite::memory:');
$this->dbh->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); | <|file_sep|>original/tests/Log/Writer/PdoWriterTest.php
<|file_sep|>current/tests/Log/Writer/PdoWriterTest.php
<|file_sep|>updated/tests/Log/Writer/PdoWriterTest.php
<?php
/**
* Tlumx Framework (http://framework.tlumx.xyz/)
*
* @author Yaroslav Kharitonchuk <yarik.proger@gmail.com>
* @link https://github.com/tlumx/framework
* @copyright Copyright (c) 2016 Yaroslav Kharitonchuk
* @license http://framework.tlumx.xyz/license (MIT License)
*/
namespace Tlumx\Tests\Log;
use Tlumx\Log\Writer\PdoWriter;
class PdoWriterTest extends \PHPUnit_Framework_TestCase
{
private $dbh;
protected function setUp()
{
$this->dbh = new \PDO('sqlite::memory:');
$this->dbh->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); | 0e916e3d0e64e709b809183771077415c8b2b54d | tests/Log/Writer/PdoWriterTest.php | tests/Log/Writer/PdoWriterTest.php | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.