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/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi
<|file_sep|>current/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi
<|file_sep|>updated/jenkins_build.sh | #!/bin/sh
set -eu
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi | <|file_sep|>original/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi
<|file_sep|>current/jenkins_build.sh
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi
<|file_sep|>updated/jenkins_build.sh
#!/bin/sh
set -eu
RUNTIME_NAME="python"
CANDIDATE_NAME=`date +%Y-%m-%d_%H_%M`
echo "CANDIDATE_NAME:${CANDIDATE_NAME}"
IMAGE_NAME="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:${CANDIDATE_NAME}"
export IMAGE_NAME
export FORCE_REBUILD
make build
if [ "${UPLOAD_TO_STAGING}" = "true" ]; then
STAGING="${DOCKER_NAMESPACE}/${RUNTIME_NAME}:staging"
docker rmi "${STAGING}" 2>/dev/null || true # Ignore if tag not present
docker tag "${IMAGE_NAME}" "${STAGING}"
gcloud docker push "${STAGING}"
fi | 6ebb53a950cf042a8279decd0cde3a10ad8d32c1 | jenkins_build.sh | jenkins_build.sh | Shell |
<|file_sep|>original/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>current/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>updated/src/_test-helper/sinon-cleanup.js | import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.createSandbox();
});
afterEach(function() {
this.sinon.restore();
}); | <|file_sep|>original/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>current/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.sandbox.create();
});
afterEach(function() {
this.sinon.restore();
});
<|file_sep|>updated/src/_test-helper/sinon-cleanup.js
import sinon from 'sinon';
beforeEach(function() {
this.sinon = sinon.createSandbox();
});
afterEach(function() {
this.sinon.restore();
}); | 359dfefc90b8341858b784bc65cbf914286214fd | src/_test-helper/sinon-cleanup.js | src/_test-helper/sinon-cleanup.js | JavaScript |
<|file_sep|>original/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*",
"kamisama/php-resque-ex": ">=1.2.4",
"kamisama/php-resque-ex-scheduler": ">=1.1.1"
},
<|file_sep|>current/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*",
"kamisama/php-resque-ex": ">=1.2.4",
"kamisama/php-resque-ex-scheduler": ">=1.1.1"
},
<|file_sep|>updated/composer.json | {
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"extra": {
"installer-name": "CakeResque"
},
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*", | <|file_sep|>original/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*",
"kamisama/php-resque-ex": ">=1.2.4",
"kamisama/php-resque-ex-scheduler": ">=1.1.1"
},
<|file_sep|>current/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*",
"kamisama/php-resque-ex": ">=1.2.4",
"kamisama/php-resque-ex-scheduler": ">=1.1.1"
},
<|file_sep|>updated/composer.json
{
"name": "kamisama/cake-resque",
"description" : "A CakePHP plugin for creating background jobs with Resque",
"keywords": ["php-resque", "resque", "cli", "cakephp", "background jobs", "scheduled jobs"],
"homepage": "http://cakeresque.kamisama.me",
"type": "cakephp-plugin",
"extra": {
"installer-name": "CakeResque"
},
"authors": [
{
"name": "Wan Chen",
"email": "kami@kamisama.me",
"homepage": "http://www.kamisama.me",
"role": "Developer"
}
],
"license": "MIT",
"require": {
"php": ">=5.3.0",
"composer/installers": "*", | fb9e65e67db34abbb72a79b302cbf2b4210fa519 | composer.json | composer.json | JSON |
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-26 at 18:06:09.
*/
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
updated:
public function testObjectCreateViaArray()
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
$sources = array(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
$object = new Grouped($sources);
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
public function testObjectCreateViaDynamicArgs()
{
$object = new Grouped(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
<|file_sep|>original/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php
*/
protected function tearDown()
{
}
/**
* @covers Camspiers\StatisticalClassifier\DataSource\Grouped::addDataSource
* @todo Implement testAddDataSource().
*/
public function testAddDataSource()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers Camspiers\StatisticalClassifier\DataSource\Grouped::read
* @todo Implement testRead().
*/
<|file_sep|>current/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php
public function testObjectCreateViaDynamicArgs()
{
$object = new Grouped(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
}
public function testRead()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}
<|file_sep|>updated/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php | );
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
}
public function testRead()
{
$source1 = $this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface');
$source1->expects($this->once())->method('getData')->will($this->returnValue(array(
array(
'document' => 'Hello',
'category' => 'super'
)
)));
$source2 = $this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface');
$source2->expects($this->once())->method('getData')->will($this->returnValue(array(
array(
'document' => 'Hello',
'category' => 'super' | <|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-26 at 18:06:09.
*/
updated:
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
updated:
public function testObjectCreateViaArray()
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
$sources = array(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
$object = new Grouped($sources);
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
<|file_sep|>tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php.diff
original:
updated:
public function testObjectCreateViaDynamicArgs()
{
$object = new Grouped(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
<|file_sep|>original/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php
*/
protected function tearDown()
{
}
/**
* @covers Camspiers\StatisticalClassifier\DataSource\Grouped::addDataSource
* @todo Implement testAddDataSource().
*/
public function testAddDataSource()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers Camspiers\StatisticalClassifier\DataSource\Grouped::read
* @todo Implement testRead().
*/
<|file_sep|>current/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php
public function testObjectCreateViaDynamicArgs()
{
$object = new Grouped(
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface'),
$this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface')
);
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
}
public function testRead()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
}
<|file_sep|>updated/tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php
);
$this->assertInstanceOf(__NAMESPACE__ . '\\' . 'Grouped', $object);
$this->assertEquals(2, count($object->getDataSources()));
}
public function testRead()
{
$source1 = $this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface');
$source1->expects($this->once())->method('getData')->will($this->returnValue(array(
array(
'document' => 'Hello',
'category' => 'super'
)
)));
$source2 = $this->getMock(__NAMESPACE__ . '\\' . 'DataSourceInterface');
$source2->expects($this->once())->method('getData')->will($this->returnValue(array(
array(
'document' => 'Hello',
'category' => 'super' | 51d73bb18b91ab6ef672386cc7af1060131e4f4c | tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php | tests/Camspiers/StatisticalClassifier/DataSource/GroupedTest.php | PHP |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
before_script:
- psql -c "CREATE USER katoy WITH PASSWORD 'katoy';" -U postgres
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1.1
env:
- DB=sqlite
- DB=pgsql
bundler_args: "--without development"
before_script:
- psql -c "CREATE USER katoy WITH PASSWORD 'katoy';" -U postgres
script:
- RAILS_ENV=test bundle exec rake db:create db:migrate
- RAILS_ENV=test bundle exec rake test
- RAILS_ENV=test bundle exec rake spec | 3f75766190e7ee7f4c977661c16127e31f2d4e12 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
}
<|file_sep|>current/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
}
<|file_sep|>updated/package.json | "keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli": "^0.16.2",
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
} | <|file_sep|>original/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
}
<|file_sep|>current/package.json
"repository": "angie-party/broccoli-tsc",
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
}
<|file_sep|>updated/package.json
"keywords": [
"broccoli-plugin",
"typescript",
"javascript"
],
"dependencies": {
"broccoli-filter": "0.1.12",
"typescript": "1.5.0-beta"
},
"scripts": {
"prepublish": "tsc index.ts;echo",
"pretest": "broccoli build tmp/test && tsc index.ts --out tmp/test/index-tsc.js;echo",
"test": "diff tmp/test/index-tsc.js tmp/test/index.js",
"posttest": "rimraf tmp/test"
},
"devDependencies": {
"broccoli": "^0.16.2",
"broccoli-cli": "^1.0.0",
"rimraf": "^2.3.3"
}
} | 545682bb5f6f32bf680eace06471dce43c461151 | package.json | package.json | JSON |
<|file_sep|>original/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end
def service_down?(service_name)
failure?("/opt/gitlab/init/#{service_name} status")
end
<|file_sep|>current/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end
def service_down?(service_name)
failure?("/opt/gitlab/init/#{service_name} status")
end
<|file_sep|>updated/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb | File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
# As part of https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2078 services are
# being split to their own dedicated cookbooks, and attributes are being moved from
# node['gitlab'][service_name] to node[service_name]. Until they've been moved, we
# need to check both.
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end | <|file_sep|>original/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end
def service_down?(service_name)
failure?("/opt/gitlab/init/#{service_name} status")
end
<|file_sep|>current/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end
def service_down?(service_name)
failure?("/opt/gitlab/init/#{service_name} status")
end
<|file_sep|>updated/files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb
File.symlink?("/opt/gitlab/service/#{service_name}") && service_up?(service_name) && service_enabled?(service_name)
end
def not_listening?(service_name)
return true unless service_enabled?(service_name)
service_down?(service_name)
end
def service_enabled?(service_name)
# As part of https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2078 services are
# being split to their own dedicated cookbooks, and attributes are being moved from
# node['gitlab'][service_name] to node[service_name]. Until they've been moved, we
# need to check both.
return node['gitlab'][service_name]['enable'] if node['gitlab'].key?(service_name)
node[service_name]['enable']
end
def service_up?(service_name)
success?("/opt/gitlab/init/#{service_name} status")
end | 2621cd34f401ef66210057b01a6d0a182e04f025 | files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb | files/gitlab-cookbooks/gitlab/libraries/omnibus_helper.rb | Ruby |
<|file_sep|>original/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1
<|file_sep|>current/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1
<|file_sep|>updated/requirements.txt | Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.1
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1 | <|file_sep|>original/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1
<|file_sep|>current/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.0
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1
<|file_sep|>updated/requirements.txt
Werkzeug==0.9.4
coverage==3.7.1
django-activelink==0.4
django-allauth==0.19.1
django-bootstrap3==3.3.0
django-coverage==1.2.4
django-datetime-widget==0.6
django-debug-toolbar==1.2.1
django-extensions==1.5.0
django-vanilla-views==1.0.2
django-queryset-csv==0.3.1
djangorestframework==3.1.3
master-sake==0.9
mccabe==0.2.1
networkx==1.8.1
oauthlib==0.6.1
python-coveralls
python-openid==2.2.5
raven==5.0.0
requests-oauthlib==0.4.0
requests==2.2.1 | 9c8fdfc2365acdf9a0a8eee98c0f61308fca7d70 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span><%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul>
<|file_sep|>current/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span><%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul>
<|file_sep|>updated/app/views/questions/index.erb | <%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span>asked <%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul> | <|file_sep|>original/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span><%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul>
<|file_sep|>current/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span><%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul>
<|file_sep|>updated/app/views/questions/index.erb
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.count == 1%>
<%=question.answers.count%> answer
<%else%>
<%=question.answers.count%> answers
<%end%>
</span>
<a href="/questions/<%= question.id %>"><%=question.title%></a>
<span>asked <%=question.time_ago_in_words(question.created_at)%> ago</span>
<span>By <%=question.user.username%></span>
</li>
<%end%>
</ul> | 1ab91c99a071b283d5ab3f8d21c20542c9570c3a | app/views/questions/index.erb | app/views/questions/index.erb | HTML+ERB |
<|file_sep|>original/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>current/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>updated/doc-requirements.txt | sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.5.0 | <|file_sep|>original/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>current/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.4.3
<|file_sep|>updated/doc-requirements.txt
sphinx==3.0.4
sphinxcontrib-napoleon==0.7
mock==4.0.2
sphinx_rtd_theme==0.5.0 | 1f89a693e54d2bc90fdea64295b3658cfa53d342 | doc-requirements.txt | doc-requirements.txt | Text |
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
- [ ] I have regenerated screenshots for any affected components with `npm run generate-snapshots`
- [ ] I have regenerated jest snapshots for any affected components with `npm run jest -- -u`
updated:
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<!-- You can remove tags that do not apply. -->
Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated screenshots for any affected components with `npm run generate-snapshots`
- [ ] I have regenerated jest snapshots for any affected components with `npm run jest -- -u`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '*Approve*' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '*Request Changes*' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '*Comment*' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
---
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '*Approve*' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '*Request Changes*' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '*Comment*' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
---
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md | Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '_Approve_' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '_Request Changes_' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '_Comment_' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
--- | <|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
- [ ] I have regenerated screenshots for any affected components with `npm run generate-snapshots`
- [ ] I have regenerated jest snapshots for any affected components with `npm run jest -- -u`
updated:
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
<|file_sep|>.github/PULL_REQUEST_TEMPLATE.md.diff
original:
updated:
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
<!-- You can remove tags that do not apply. -->
Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated screenshots for any affected components with `npm run generate-snapshots`
- [ ] I have regenerated jest snapshots for any affected components with `npm run jest -- -u`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '*Approve*' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '*Request Changes*' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '*Comment*' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
---
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '*Approve*' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '*Request Changes*' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '*Comment*' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
---
<|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
Connects-to: # <!-- waffle convention to track a PR's status through its connected, open issue -->
See: <url> <!-- Refer to any external resource, like a PR, document or discussion -->
Depends-on: <url> <!-- This change depends on a PR to get merged/deployed first -->
Change-type: major|minor|patch <!-- The change type of this PR -->
---
##### Contributor checklist
<!-- For completed items, change [ ] to [x]. -->
- [ ] I have regenerated jest snapshots for any affected components with `npm run generate-snapshots`
##### Reviewer Guidelines
- When submitting a review, please pick:
- '_Approve_' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
- '_Request Changes_' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
- '_Comment_' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)
--- | d3744217e34e584a72b7ed23f60ccb6b3bfc773a | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/OpenGL/install-deps.sh
<|file_sep|>current/OpenGL/install-deps.sh
<|file_sep|>updated/OpenGL/install-deps.sh | #!/bin/sh
# Install required packages in Ubuntu:
# 1. SOIL(www.lonesock.net/soil.html) -- Load images for OpenGL Texture
# 2. glm library -- C++ library for OpenGL GLSL type-based mathematics
# 3. assimp -- 3D model import library supporting kinds of model format
# 4. glew -- OpenGL Extension Wrangler to get specific OpenGL abilities
sudo apt-get install libsoil-dev libglm-dev libassimp-dev libglew-dev
# If `apt-cache search libglfw3-dev` returns no results, go to `glfw.org` for download.
#sudo apt-get install libglfw3-dev | <|file_sep|>original/OpenGL/install-deps.sh
<|file_sep|>current/OpenGL/install-deps.sh
<|file_sep|>updated/OpenGL/install-deps.sh
#!/bin/sh
# Install required packages in Ubuntu:
# 1. SOIL(www.lonesock.net/soil.html) -- Load images for OpenGL Texture
# 2. glm library -- C++ library for OpenGL GLSL type-based mathematics
# 3. assimp -- 3D model import library supporting kinds of model format
# 4. glew -- OpenGL Extension Wrangler to get specific OpenGL abilities
sudo apt-get install libsoil-dev libglm-dev libassimp-dev libglew-dev
# If `apt-cache search libglfw3-dev` returns no results, go to `glfw.org` for download.
#sudo apt-get install libglfw3-dev | 203fe020b7842e8ae05cfa86e248d27b57bf81b3 | OpenGL/install-deps.sh | OpenGL/install-deps.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.2
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.6
- 2.3.2
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler
<|file_sep|>updated/.travis.yml | rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.6
- 2.3.2
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.6.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler | <|file_sep|>.travis.yml.diff
original:
- 2.2.5
- 2.3.1
updated:
- 2.2.6
- 2.3.2
<|file_sep|>original/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler
<|file_sep|>current/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.6
- 2.3.2
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.1.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler
<|file_sep|>updated/.travis.yml
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.9
- 2.2.6
- 2.3.2
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- jruby-9.1.6.0
- jruby-head
- ruby-head
matrix:
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
gemfile: .travis.gemfile
before_install:
- gem install bundler | 962f944d5877513ca13c5fc7bb9be7ef9c3740c4 | .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.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|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.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|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.0.0
coverage==4.5.1
Sphinx==1.7.5
cryptography==1.7
PyYAML==3.11
| <|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.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|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.0.0
coverage==4.5.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11
<|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.0.0
coverage==4.5.1
Sphinx==1.7.5
cryptography==1.7
PyYAML==3.11
| 14c56aecb9852a8566f832932204cea99d3c2691 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "http://aka.ms/rtvs-remote";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
}
<|file_sep|>current/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "http://aka.ms/rtvs-remote";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
}
<|file_sep|>updated/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | // Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "https://aka.ms/rtvs-remote-setup-instructions";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
} | <|file_sep|>original/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "http://aka.ms/rtvs-remote";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
}
<|file_sep|>current/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "http://aka.ms/rtvs-remote";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
}
<|file_sep|>updated/src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.ComponentModel.Design;
using System.Diagnostics;
using Microsoft.VisualStudio.R.Package.Commands;
using Microsoft.VisualStudio.R.Packages.R;
namespace Microsoft.VisualStudio.R.Package.Options.R.Tools {
public sealed class SetupRemoteCommand : MenuCommand {
private const string _remoteSetupPage = "https://aka.ms/rtvs-remote-setup-instructions";
public SetupRemoteCommand() :
base(OnCommand, new CommandID(RGuidList.RCmdSetGuid, RPackageCommandId.icmdSetupRemote)) {
}
public static void OnCommand(object sender, EventArgs args) {
Process.Start(_remoteSetupPage);
}
}
} | 885f548a34c2d6ab01e33be5a92f841efe40ef6c | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | src/Package/Impl/Options/R/Commands/SetupRemoteCommand.cs | C# |
<|file_sep|>original/pykeg/templates/kegweb/drink_group.html
<|file_sep|>current/pykeg/templates/kegweb/drink_group.html
<|file_sep|>updated/pykeg/templates/kegweb/drink_group.html | {% load kegweblib %}
<div class="box">
{{group.starttime|humanizeTimeDiff}} -
{{group.TotalVolume.ConvertTo.TwelveOunceBeer|floatformat|lower}} beers
{% for user in group.GetUsers %}
<div style="text-align:center; float:left; padding:5px;">
{% mugshot_box user 50 %}<br>
{{ user }}
</div>
{% endfor %}
<div class="spacer"> </div>
</div> | <|file_sep|>original/pykeg/templates/kegweb/drink_group.html
<|file_sep|>current/pykeg/templates/kegweb/drink_group.html
<|file_sep|>updated/pykeg/templates/kegweb/drink_group.html
{% load kegweblib %}
<div class="box">
{{group.starttime|humanizeTimeDiff}} -
{{group.TotalVolume.ConvertTo.TwelveOunceBeer|floatformat|lower}} beers
{% for user in group.GetUsers %}
<div style="text-align:center; float:left; padding:5px;">
{% mugshot_box user 50 %}<br>
{{ user }}
</div>
{% endfor %}
<div class="spacer"> </div>
</div> | b7fb310667cd755cfe773ae0eab2dc12b3377105 | pykeg/templates/kegweb/drink_group.html | pykeg/templates/kegweb/drink_group.html | HTML |
<|file_sep|>original/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>current/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>updated/templates/_travis.yml | sudo: false
language: node_js
node_js:
- 'node'
- '6'
- '5'
- '4' | <|file_sep|>original/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>current/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
<|file_sep|>updated/templates/_travis.yml
sudo: false
language: node_js
node_js:
- 'node'
- '6'
- '5'
- '4' | f9b75229df7591cebcd720c08125f26c26085620 | templates/_travis.yml | templates/_travis.yml | YAML |
<|file_sep|>original/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>current/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>updated/.buildkite/prepare-sierra.sh | #!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers | <|file_sep|>original/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>current/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers
<|file_sep|>updated/.buildkite/prepare-sierra.sh
#!/bin/bash
set -euo pipefail
echo "--- :mac: Preparing installer for macOS Sierra"
sudo prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers | 658bc192bcf8852fe18fc108871b2636ca6130b5 | .buildkite/prepare-sierra.sh | .buildkite/prepare-sierra.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
cache: bundler
before_install: "gem install bundler -v 1.17.3"
updated:
before_install: "gem install bundler -v '< 2.0'"
<|file_sep|>.travis.yml.diff
original:
- 2.6.0
updated:
- 2.6.1
<|file_sep|>.travis.yml.diff
original:
updated:
- truffleruby
<|file_sep|>original/.travis.yml
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- jruby-9.1.5.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
fast_finish: true
branches:
only: master
notifications:
email: false
<|file_sep|>current/.travis.yml
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
fast_finish: true
branches:
only: master
notifications:
email: false
<|file_sep|>updated/.travis.yml | - 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false | <|file_sep|>.travis.yml.diff
original:
cache: bundler
before_install: "gem install bundler -v 1.17.3"
updated:
before_install: "gem install bundler -v '< 2.0'"
<|file_sep|>.travis.yml.diff
original:
- 2.6.0
updated:
- 2.6.1
<|file_sep|>.travis.yml.diff
original:
updated:
- truffleruby
<|file_sep|>original/.travis.yml
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
- jruby-9.1.5.0
- jruby-head
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
fast_finish: true
branches:
only: master
notifications:
email: false
<|file_sep|>current/.travis.yml
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
fast_finish: true
branches:
only: master
notifications:
email: false
<|file_sep|>updated/.travis.yml
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.1.5.0
- jruby-head
- truffleruby
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: jruby-9.1.5.0
- rvm: truffleruby
fast_finish: true
branches:
only: master
notifications:
email: false | 58dfd335a6e4015fbf24428ce8f77a3e42d31ba2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep interval;
sleep $((($RANDOM % ${variance})));
done
<|file_sep|>current/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep interval;
sleep $((($RANDOM % ${variance})));
done
<|file_sep|>updated/timetable_downloader.sh | source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep ${interval};
sleep $((($RANDOM % ${variance})));
done | <|file_sep|>original/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep interval;
sleep $((($RANDOM % ${variance})));
done
<|file_sep|>current/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep interval;
sleep $((($RANDOM % ${variance})));
done
<|file_sep|>updated/timetable_downloader.sh
source .timetable-settings;
else
log_message "fatal: No source settings file found! Exiting";
exit 65;
fi
# Send variables to
export SBRL_OUTPUT_FILENAME SWS_ROOT_URL SWS_USERNAME SWS_PASSWORD DEBUG;
log_message 'Started university-timetable scraper successfully!';
while true; do
echo -ne "[$(date)] Rescraping timetable - ";
su "${scraping_user}" -c 'node ./generate.js';
echo -ne "done";
log_message "Rescraped university timetable to ${SBRL_OUTPUT_FILENAME}";
sleep ${interval};
sleep $((($RANDOM % ${variance})));
done | e0e035fc92d1d1c51c12984db963010a729402be | timetable_downloader.sh | timetable_downloader.sh | Shell |
<|file_sep|>original/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>current/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>updated/lib/liquid/newspaper_drop.rb | class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections
end
def name
@account.name
end
end | <|file_sep|>original/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>current/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections.collect{|s| s.name}
end
def name
@account.name
end
end
<|file_sep|>updated/lib/liquid/newspaper_drop.rb
class Liquid::NewspaperDrop < Liquid::BaseDrop
def initialize(account, options = {})
@account = account
end
def sections
@account.sections
end
def name
@account.name
end
end | 72411610bb7323b0768ff5ff95278e05ded292dd | lib/liquid/newspaper_drop.rb | lib/liquid/newspaper_drop.rb | Ruby |
<|file_sep|>original/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
end
@started_names.include? name
end
end
end
<|file_sep|>current/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
end
@started_names.include? name
end
end
end
<|file_sep|>updated/lib/bundle/brew_services.rb | Bundle.system "brew", "services", "stop", name
end
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
@raw_started_services ||= `brew services list`.lines.grep(/started/)
@started_services ||= []
@started_names ||= []
@raw_started_services.map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
@started_names.include? name
end
end
end | <|file_sep|>original/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
end
@started_names.include? name
end
end
end
<|file_sep|>current/lib/bundle/brew_services.rb
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
if @started_services.nil?
@started_services ||= []
@started_names ||= []
`brew services list`.lines.grep(/started/).map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
end
@started_names.include? name
end
end
end
<|file_sep|>updated/lib/bundle/brew_services.rb
Bundle.system "brew", "services", "stop", name
end
def self.restart(name)
Bundle.system "brew", "services", "restart", name
end
def self.started?(name)
@raw_started_services ||= `brew services list`.lines.grep(/started/)
@started_services ||= []
@started_names ||= []
@raw_started_services.map do |s|
s.split(/\s+/).each do |fname, state, user, plist|
@started_services << Hash[:name => fname, :user => user, :plist => plist]
@started_names << fname
end
end
@started_names.include? name
end
end
end | d385c6a06168305041794f8f701b873d289a6a46 | lib/bundle/brew_services.rb | lib/bundle/brew_services.rb | Ruby |
<|file_sep|>original/packages/he/heist-extra.yaml
<|file_sep|>current/packages/he/heist-extra.yaml
<|file_sep|>updated/packages/he/heist-extra.yaml | homepage: ''
changelog-type: ''
hash: 43d9a856dddbeecdb49998debfdb189447acfb722e80baeb522353fdef00a738
test-bench-deps: {}
maintainer: srid@srid.ca
synopsis: Extra heist functionality
changelog: ''
basic-deps:
heist-emanote: '>=1.2.1'
base: '>=4.13.0.0 && <=4.18.0.0'
map-syntax: -any
filepath: -any
data-default: -any
pandoc-types: -any
xmlhtml: -any
relude: '>=1.0'
mtl: -any
all-versions:
- 0.1.0.0
author: Sridhar Ratnakumar
latest: 0.1.0.0 | <|file_sep|>original/packages/he/heist-extra.yaml
<|file_sep|>current/packages/he/heist-extra.yaml
<|file_sep|>updated/packages/he/heist-extra.yaml
homepage: ''
changelog-type: ''
hash: 43d9a856dddbeecdb49998debfdb189447acfb722e80baeb522353fdef00a738
test-bench-deps: {}
maintainer: srid@srid.ca
synopsis: Extra heist functionality
changelog: ''
basic-deps:
heist-emanote: '>=1.2.1'
base: '>=4.13.0.0 && <=4.18.0.0'
map-syntax: -any
filepath: -any
data-default: -any
pandoc-types: -any
xmlhtml: -any
relude: '>=1.0'
mtl: -any
all-versions:
- 0.1.0.0
author: Sridhar Ratnakumar
latest: 0.1.0.0 | 65cb3b5187409ff525154838eb13f70c5aa8d811 | packages/he/heist-extra.yaml | packages/he/heist-extra.yaml | YAML |
<|file_sep|>README.md.diff
original:
# Dou(胴)
updated:
# Dou(胴、道、銅)
<|file_sep|>original/README.md
# Dou(胴)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## Requirement
- go1.1 or later
<|file_sep|>current/README.md
# Dou(胴、道、銅)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## Requirement
- go1.1 or later
<|file_sep|>updated/README.md | # Dou(胴、道、銅)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## By the way
- 胴 means that dou is not fullstack but it can become perfect by cooperating with other package. And this make it easy to do.
- 道 means that dou provide minimum way by dou.Api.plugin.
- 銅 means that dou is not gold. And this is soft because you can override plugin behaviour by override funcs.
## Requirement
- go1.1 or later | <|file_sep|>README.md.diff
original:
# Dou(胴)
updated:
# Dou(胴、道、銅)
<|file_sep|>original/README.md
# Dou(胴)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## Requirement
- go1.1 or later
<|file_sep|>current/README.md
# Dou(胴、道、銅)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## Requirement
- go1.1 or later
<|file_sep|>updated/README.md
# Dou(胴、道、銅)
[](https://travis-ci.org/ToQoz/dou)
Package github.com/ToQoz/dou is __tiny__ and __flexible__ toolkit for creating a api server.
And you can creating a custom plugin in accordance with your api type or domain-specific use-case.
see http://godoc.org/github.com/ToQoz/dou
## By the way
- 胴 means that dou is not fullstack but it can become perfect by cooperating with other package. And this make it easy to do.
- 道 means that dou provide minimum way by dou.Api.plugin.
- 銅 means that dou is not gold. And this is soft because you can override plugin behaviour by override funcs.
## Requirement
- go1.1 or later | ba7e9223f1c7b1053f95f2b3563ee2c0bb91ad0b | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
updated:
# there is no signatory on build server, so exclude the 'signArchives' task
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
install:
- gradle jar
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so exclude the 'signArchives' task
install:
- gradle jar
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so exclude the 'signArchives' task
install:
- ./gradlew assemble -x signArchives | <|file_sep|>.travis.yml.diff
original:
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
updated:
# there is no signatory on build server, so exclude the 'signArchives' task
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so call 'gradle jar' rather than
# 'gradle assemble' to prevent 'signArchives' from being called
install:
- gradle jar
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so exclude the 'signArchives' task
install:
- gradle jar
<|file_sep|>updated/.travis.yml
language: java
jdk:
- oraclejdk7
- oraclejdk8
sudo: false
notifications:
email:
on_success: never
# there is no signatory on build server, so exclude the 'signArchives' task
install:
- ./gradlew assemble -x signArchives | bfd5dcf8c5a50c7ba66305cd9562de8361afc3b5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt.diff
original:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
updated:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
<|file_sep|>original/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="%%%JAVA_PACKAGE%%%.app">
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<|file_sep|>current/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="%%%JAVA_PACKAGE%%%.app">
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<|file_sep|>updated/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt | <application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<!-- TODO: conditionally include this based on the inclusion of the HTTP library -->
<uses-permission android:name="android.permission.INTERNET" />
</manifest> | <|file_sep|>Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt.diff
original:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
updated:
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
<|file_sep|>original/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="%%%JAVA_PACKAGE%%%.app">
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<|file_sep|>current/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="%%%JAVA_PACKAGE%%%.app">
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<|file_sep|>updated/Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="%%%JAVA_PACKAGE%%%.app.MainActivity"
android:screenOrientation="%%%ANDROID_ORIENTATION%%%"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<!-- TODO: conditionally include this based on the inclusion of the HTTP library -->
<uses-permission android:name="android.permission.INTERNET" />
</manifest> | b2bd6aafd436759103282ae2063e9598b078ed2d | Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt | Compiler/Platforms/JavaScriptAppAndroid/JsAndroidResources/app/src/main/AndroidManifestXml.txt | Text |
<|file_sep|>src/ui/Video.js.diff
original:
let Video = React.createClass({
updated:
module.exports = React.createClass({
displayName: 'Video',
<|file_sep|>src/ui/Video.js.diff
original:
updated:
shouldComponentUpdate(nextProps) {
if (
this.props.width !== nextProps.width ||
this.props.height !== nextProps.height ||
this.props.src !== nextProps.src
) {
return true;
}
return false;
},
<|file_sep|>src/ui/Video.js.diff
original:
let { src, width, height, currentTimeChanged, durationChanged, ...restProps} = this.props;
updated:
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
<|file_sep|>src/ui/Video.js.diff
original:
return (<video ref="video" {...restProps}
width={width} height={height}
timeupdate={currentTimeChanged}
durationchange={durationChanged}
>
<source src={src} />
updated:
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
<|file_sep|>src/ui/Video.js.diff
original:
updated:
<|file_sep|>original/src/ui/Video.js
let video = React.findDOMNode(this.refs.video);
video.removeEventListener('timeupdate', this.props.currentTimeChanged);
video.removeEventListener('durationchange', this.props.durationChanged);
video.removeEventListener('progress', this.props.onProgress);
video.removeEventListener('ended', this.props.onEnd);
},
render() {
let { src, width, height, currentTimeChanged, durationChanged, ...restProps} = this.props;
return (<video ref="video" {...restProps}
width={width} height={height}
timeupdate={currentTimeChanged}
durationchange={durationChanged}
>
<source src={src} />
</video>);
},
});
module.exports = Video;
<|file_sep|>current/src/ui/Video.js
) {
return true;
}
return false;
},
render() {
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
</video>);
},
});
module.exports = Video;
<|file_sep|>updated/src/ui/Video.js | this.props.height !== nextProps.height ||
this.props.src !== nextProps.src
) {
return true;
}
return false;
},
render() {
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
</video>);
},
}); | <|file_sep|>src/ui/Video.js.diff
original:
let Video = React.createClass({
updated:
module.exports = React.createClass({
displayName: 'Video',
<|file_sep|>src/ui/Video.js.diff
original:
updated:
shouldComponentUpdate(nextProps) {
if (
this.props.width !== nextProps.width ||
this.props.height !== nextProps.height ||
this.props.src !== nextProps.src
) {
return true;
}
return false;
},
<|file_sep|>src/ui/Video.js.diff
original:
let { src, width, height, currentTimeChanged, durationChanged, ...restProps} = this.props;
updated:
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
<|file_sep|>src/ui/Video.js.diff
original:
return (<video ref="video" {...restProps}
width={width} height={height}
timeupdate={currentTimeChanged}
durationchange={durationChanged}
>
<source src={src} />
updated:
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
<|file_sep|>src/ui/Video.js.diff
original:
updated:
<|file_sep|>original/src/ui/Video.js
let video = React.findDOMNode(this.refs.video);
video.removeEventListener('timeupdate', this.props.currentTimeChanged);
video.removeEventListener('durationchange', this.props.durationChanged);
video.removeEventListener('progress', this.props.onProgress);
video.removeEventListener('ended', this.props.onEnd);
},
render() {
let { src, width, height, currentTimeChanged, durationChanged, ...restProps} = this.props;
return (<video ref="video" {...restProps}
width={width} height={height}
timeupdate={currentTimeChanged}
durationchange={durationChanged}
>
<source src={src} />
</video>);
},
});
module.exports = Video;
<|file_sep|>current/src/ui/Video.js
) {
return true;
}
return false;
},
render() {
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
</video>);
},
});
module.exports = Video;
<|file_sep|>updated/src/ui/Video.js
this.props.height !== nextProps.height ||
this.props.src !== nextProps.src
) {
return true;
}
return false;
},
render() {
const videoProps = {
autoPlay: this.props.autoPlay,
width: this.props.width,
height: this.props.height,
};
return (<video ref="video" {...videoProps}>
<source src={this.props.src} />
</video>);
},
}); | 96f0fe140e5cbe77d5c31feb60f40c4c562be059 | src/ui/Video.js | src/ui/Video.js | JavaScript |
<|file_sep|>config/prisons/LLI-long-lartin.yml.diff
original:
enabled: false
updated:
enabled: true
<|file_sep|>original/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: false
estate: Long Lartin
<|file_sep|>current/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: true
estate: Long Lartin
<|file_sep|>updated/config/prisons/LLI-long-lartin.yml | ---
name: Long Lartin
nomis_id: LLI
enabled: true
estate: Long Lartin
address:
- South Littleton
- Evesham
- Worcestershire
- WR11 8TZ
booking_window: 28
email: Socialvisits.longlartin@hmps.gsi.gov.uk
lead_days: 3
phone: 01386 295188
slots:
tue:
- 1400-1615
thu:
- 1400-1615
sat:
- 1400-1600 | <|file_sep|>config/prisons/LLI-long-lartin.yml.diff
original:
enabled: false
updated:
enabled: true
<|file_sep|>original/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: false
estate: Long Lartin
<|file_sep|>current/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: true
estate: Long Lartin
<|file_sep|>updated/config/prisons/LLI-long-lartin.yml
---
name: Long Lartin
nomis_id: LLI
enabled: true
estate: Long Lartin
address:
- South Littleton
- Evesham
- Worcestershire
- WR11 8TZ
booking_window: 28
email: Socialvisits.longlartin@hmps.gsi.gov.uk
lead_days: 3
phone: 01386 295188
slots:
tue:
- 1400-1615
thu:
- 1400-1615
sat:
- 1400-1600 | e65dd8416900649343b9e72fe99c6c85371cb6aa | config/prisons/LLI-long-lartin.yml | config/prisons/LLI-long-lartin.yml | YAML |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0"
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0"
<|file_sep|>updated/package.json | "repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0" | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0"
<|file_sep|>current/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0"
<|file_sep|>updated/package.json
"repository": {
"type": "git",
"url": "git://github.com/stevenbenner/grunt-indent.git"
},
"bugs": {
"url": "https://github.com/stevenbenner/grunt-indent/issues"
},
"license": "MIT",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"grunt": "grunt",
"test": "grunt test --verbose"
},
"devDependencies": {
"grunt": "~1.0",
"grunt-contrib-jshint": "~1.1",
"grunt-contrib-clean": "~1.0",
"grunt-contrib-nodeunit": "~1.0" | 0dc4fa8035b3293b4d8e8d2fa43c709c42e5733f | package.json | package.json | JSON |
<|file_sep|>original/src/main/scala/org/labrad/data/package.scala
<|file_sep|>current/src/main/scala/org/labrad/data/package.scala
<|file_sep|>updated/src/main/scala/org/labrad/data/package.scala | package org.labrad
import io.netty.buffer.ByteBuf
import java.nio.charset.StandardCharsets.UTF_8
package object data {
implicit class Flattenable[T](val value: T) extends AnyVal {
/**
* Flatten this scala object into labrad data.
*
* There must be a setter for this type T available
* in implicit scope.
*/
def toData(tag: String)(implicit setter: Setter[T]): Data = {
val data = Data(tag)
data.set(value)
data
}
}
implicit class RichByteBuf(val buf: ByteBuf) extends AnyVal { | <|file_sep|>original/src/main/scala/org/labrad/data/package.scala
<|file_sep|>current/src/main/scala/org/labrad/data/package.scala
<|file_sep|>updated/src/main/scala/org/labrad/data/package.scala
package org.labrad
import io.netty.buffer.ByteBuf
import java.nio.charset.StandardCharsets.UTF_8
package object data {
implicit class Flattenable[T](val value: T) extends AnyVal {
/**
* Flatten this scala object into labrad data.
*
* There must be a setter for this type T available
* in implicit scope.
*/
def toData(tag: String)(implicit setter: Setter[T]): Data = {
val data = Data(tag)
data.set(value)
data
}
}
implicit class RichByteBuf(val buf: ByteBuf) extends AnyVal { | bd0255e59c8beeb56e275a845cee5813e789b52a | src/main/scala/org/labrad/data/package.scala | src/main/scala/org/labrad/data/package.scala | Scala |
<|file_sep|>original/scripts/import_submissions.py
<|file_sep|>current/scripts/import_submissions.py
<|file_sep|>updated/scripts/import_submissions.py | #!/usr/bin/env python
# Copyright (C) 2012 Lukas Lalinsky
# Distributed under the MIT license, see the LICENSE file for details.
import json
from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions
logger = logging.getLogger(__name__)
def main(script, opts, args):
channel = script.redis.pubsub()
channel.subscribe('channel.submissions')
for message in channel.listen():
ids = json.loads(message)
logger.debug('Got notified about %s new submissions', len(ids))
#conn = script.engine.connect()
#import_queued_submissions(conn, limit=300, index=script.index)
| <|file_sep|>original/scripts/import_submissions.py
<|file_sep|>current/scripts/import_submissions.py
<|file_sep|>updated/scripts/import_submissions.py
#!/usr/bin/env python
# Copyright (C) 2012 Lukas Lalinsky
# Distributed under the MIT license, see the LICENSE file for details.
import json
from acoustid.script import run_script
from acoustid.data.submission import import_queued_submissions
logger = logging.getLogger(__name__)
def main(script, opts, args):
channel = script.redis.pubsub()
channel.subscribe('channel.submissions')
for message in channel.listen():
ids = json.loads(message)
logger.debug('Got notified about %s new submissions', len(ids))
#conn = script.engine.connect()
#import_queued_submissions(conn, limit=300, index=script.index)
| 7d89303fddd12fc88fd04bcf27826c3c801b1eff | scripts/import_submissions.py | scripts/import_submissions.py | Python |
<|file_sep|>README.txt.diff
original:
updated:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
<|file_sep|>README.txt.diff
original:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
updated:
sudo python setup.py install
<|file_sep|>README.txt.diff
original:
find it. You can help the process with a site.cfg file.
updated:
find it. You can guide the process using a site.cfg file.
<|file_sep|>README.txt.diff
original:
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
updated:
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
<|file_sep|>README.txt.diff
original:
After installation, tests can be run with
updated:
After installation, tests can be run (from outside the source
directory) with
<|file_sep|>original/README.txt
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can help the process with a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run with
python -c 'import numpy; numpy.test()'
The most current development version is always available from a
subversion repostiory:
http://svn.scipy.org/svn/numpy/trunk
<|file_sep|>current/README.txt
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
sudo python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can guide the process using a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run (from outside the source
directory) with
python -c 'import numpy; numpy.test()'
The most current development version is always available from our
subversion repository:
http://svn.scipy.org/svn/numpy/trunk
<|file_sep|>updated/README.txt | NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
sudo python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can guide the process using a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run (from outside the source
directory) with
python -c 'import numpy; numpy.test()'
The most current development version is always available from our
subversion repository:
http://svn.scipy.org/svn/numpy/trunk | <|file_sep|>README.txt.diff
original:
updated:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
<|file_sep|>README.txt.diff
original:
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
updated:
sudo python setup.py install
<|file_sep|>README.txt.diff
original:
find it. You can help the process with a site.cfg file.
updated:
find it. You can guide the process using a site.cfg file.
<|file_sep|>README.txt.diff
original:
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
updated:
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
<|file_sep|>README.txt.diff
original:
After installation, tests can be run with
updated:
After installation, tests can be run (from outside the source
directory) with
<|file_sep|>original/README.txt
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install:
python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can help the process with a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run with
python -c 'import numpy; numpy.test()'
The most current development version is always available from a
subversion repostiory:
http://svn.scipy.org/svn/numpy/trunk
<|file_sep|>current/README.txt
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
sudo python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can guide the process using a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run (from outside the source
directory) with
python -c 'import numpy; numpy.test()'
The most current development version is always available from our
subversion repository:
http://svn.scipy.org/svn/numpy/trunk
<|file_sep|>updated/README.txt
NumPy is a replacement of Numeric Python that adds the features of numarray.
To install system-wide:
sudo python setup.py install
The setup.py script will take advantage of fast BLAS on your system if it can
find it. You can guide the process using a site.cfg file.
If fast BLAS and LAPACK cannot be found, then a slower default version is used.
After installation, tests can be run (from outside the source
directory) with
python -c 'import numpy; numpy.test()'
The most current development version is always available from our
subversion repository:
http://svn.scipy.org/svn/numpy/trunk | 49a26ff5e3bec2d20699eb46a1f8fdb819db998e | README.txt | README.txt | Text |
<|file_sep|>original/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config)
<|file_sep|>current/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config)
<|file_sep|>updated/generators/app/templates/config/default.js | const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
config: __dirname,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config) | <|file_sep|>original/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config)
<|file_sep|>current/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config)
<|file_sep|>updated/generators/app/templates/config/default.js
const sharedConfig = require('./universal')
const path = require('path')
const PATH_ROOT = path.resolve(__dirname, '../')
const resolve = file => path.resolve(PATH_ROOT, file)
const config = {
host: process.env.HOST || '0.0.0.0',
port: process.env.PORT || 3000,
paths: {
root: PATH_ROOT,
config: __dirname,
dist: resolve('dist'),
src: resolve('src'),
public: process.env.PATH_PUBLIC || resolve('public')
}
}
module.exports = Object.assign({}, sharedConfig, config) | f41d17abbeb8a6f0f3ecb8e3bbcc05d9441ce35d | generators/app/templates/config/default.js | generators/app/templates/config/default.js | JavaScript |
<|file_sep|>original/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>current/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>updated/.eslintrc.yml | es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
- SwitchCase: 1
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always | <|file_sep|>original/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>current/.eslintrc.yml
env:
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always
<|file_sep|>updated/.eslintrc.yml
es6: true
commonjs: true
browser: true
extends: 'eslint:recommended'
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
indent:
- 2
- 2
- SwitchCase: 1
linebreak-style:
- 2
- unix
quotes:
- 2
- single
semi:
- 2
- always | 41ad416405cf6868ab77f4dd5ed75228a3842037 | .eslintrc.yml | .eslintrc.yml | YAML |
<|file_sep|>css/chesscards.css.diff
original:
updated:
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
<|file_sep|>original/css/chesscards.css
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.anymove {
text-align: center;
}
<|file_sep|>current/css/chesscards.css
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.anymove {
text-align: center;
}
<|file_sep|>updated/css/chesscards.css | body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.stats-container div {
float: left;
position: absolute;
z-index: -1;
}
.anymove {
text-align: center;
} | <|file_sep|>css/chesscards.css.diff
original:
updated:
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
<|file_sep|>original/css/chesscards.css
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.anymove {
text-align: center;
}
<|file_sep|>current/css/chesscards.css
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.stats-container div {
float: left;
position: absolute;
cursor: default;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.anymove {
text-align: center;
}
<|file_sep|>updated/css/chesscards.css
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
.stats-container div {
float: left;
position: absolute;
z-index: -1;
}
.anymove {
text-align: center;
} | 2d57bfc59f939907318dd6b6310a15a30a34f4d6 | css/chesscards.css | css/chesscards.css | CSS |
<|file_sep|>original/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.0"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end
<|file_sep|>current/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.0"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end
<|file_sep|>updated/magic_grid.gemspec | # Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.1"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end | <|file_sep|>original/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.0"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end
<|file_sep|>current/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.0"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end
<|file_sep|>updated/magic_grid.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "magic_grid"
s.version = MagicGrid::VERSION
s.authors = ["Ryan Graham"]
s.email = ["r.m.graham@gmail.com"]
s.homepage = "https://github.com/rmg/magic_grid"
s.summary = "Simple collection displaying with pagination using will_paginate"
s.description = "Simple collection displaying with pagination using will_paginate"
s.has_rdoc = 'yard'
s.files = Dir["lib/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"] - Dir["test/dummy/tmp/**/*", "test/dummy/db/*.sqlite3", "test/dummy/log/*.log"]
s.add_dependency "rails", ">= 3.1"
s.add_dependency "jquery-rails" , ">= 1.0.17"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "tarantula", "~> 0.4.0"
s.add_development_dependency "rspec", "~> 2.11.0"
end | 9e198f531c3d74c9e7c35a5bb887d15e3a646bdd | magic_grid.gemspec | magic_grid.gemspec | Ruby |
<|file_sep|>original/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>current/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>updated/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | package moe.tristan.easyfxml.model.fxml;
import org.junit.Before;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class FxmlLoaderTest {
private int succ = 0;
private int fail = 0;
private FxmlLoader fxmlLoader;
@Before
public void setUp() {
fxmlLoader = new FxmlLoader();
fxmlLoader.setOnSuccess(n -> succ++);
fxmlLoader.setOnFailure(e -> fail++);
}
@Test | <|file_sep|>original/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>current/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
<|file_sep|>updated/src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java
package moe.tristan.easyfxml.model.fxml;
import org.junit.Before;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class FxmlLoaderTest {
private int succ = 0;
private int fail = 0;
private FxmlLoader fxmlLoader;
@Before
public void setUp() {
fxmlLoader = new FxmlLoader();
fxmlLoader.setOnSuccess(n -> succ++);
fxmlLoader.setOnFailure(e -> fail++);
}
@Test | 2ac15be219242768d86fffab0728095fd739cb00 | src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | src/test/java/moe/tristan/easyfxml/model/fxml/FxmlLoaderTest.java | Java |
<|file_sep|>original/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(collection.NewCollection())
if ( nil != err ) {
fmt.Fprintln(w, err)
}
}
func playersHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(players)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
<|file_sep|>current/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(collection.NewCollection())
if ( nil != err ) {
fmt.Fprintln(w, err)
}
}
func playersHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(players)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
<|file_sep|>updated/meeple_mover.go |
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
collection := collection.NewCollection()
var i uint = 1
for _,game := range collection.Games {
game.Id = i
i++
}
err := json.NewEncoder(w).Encode(collection)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
} | <|file_sep|>original/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(collection.NewCollection())
if ( nil != err ) {
fmt.Fprintln(w, err)
}
}
func playersHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(players)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
<|file_sep|>current/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(collection.NewCollection())
if ( nil != err ) {
fmt.Fprintln(w, err)
}
}
func playersHandler(w http.ResponseWriter, r *http.Request) {
err := json.NewEncoder(w).Encode(players)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
<|file_sep|>updated/meeple_mover.go
func corsHandler(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
header := w.Header()
header.Add("Access-Control-Allow-Origin", "http://localhost:8000")
h.ServeHTTP(w, r)
})
}
func collectionHandler(w http.ResponseWriter, r *http.Request) {
collection := collection.NewCollection()
var i uint = 1
for _,game := range collection.Games {
game.Id = i
i++
}
err := json.NewEncoder(w).Encode(collection)
if ( nil != err ) {
fmt.Fprintln(w, err)
}
} | 2ca9cb9712c074821471aca3936c9499f6bf54b6 | meeple_mover.go | meeple_mover.go | Go |
<|file_sep|>original/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
<|file_sep|>current/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
<|file_sep|>updated/LICENSE.txt | Copyright (c) 2009-2014, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | <|file_sep|>original/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
<|file_sep|>current/LICENSE.txt
Copyright (c) 2009, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
<|file_sep|>updated/LICENSE.txt
Copyright (c) 2009-2014, Julien Fache
All rights reserved.
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 the author nor the names of other
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
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | fb5d8102f9cc9a8b10ec01c1e5f9fc0565aeed93 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>current/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>updated/.eslintrc.json | {
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:prettier/recommended"
]
} | <|file_sep|>original/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>current/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:import/recommended",
"plugin:prettier/recommended"
]
}
<|file_sep|>updated/.eslintrc.json
{
"extends": [
"./commonjs/.eslintrc.json",
"./browser/.eslintrc.json",
"./es/.eslintrc.json",
"./react/.eslintrc.json",
"./typescript/.eslintrc.json",
"plugin:prettier/recommended"
]
} | f38da72266c62e932dcfbe02e678f9d6b833c065 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
<|file_sep|>current/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
<|file_sep|>updated/spec/spec_helper.rb | require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate VCR casettes.
ROBO_WHOIS_API_KEY = "12345"
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
c.filter_sensitive_data('<ROBO_WHOIS_API_KEY>') { ROBO_WHOIS_API_KEY } | <|file_sep|>original/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
<|file_sep|>current/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate
# VCR casettes.
ROBO_WHOIS_API_KEY = nil
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
<|file_sep|>updated/spec/spec_helper.rb
require "name_checker"
require 'vcr'
unless defined?(SPEC_ROOT)
SPEC_ROOT = File.expand_path("../", __FILE__)
end
# A RoboWhois API Key must b supplied in order to regenerate VCR casettes.
ROBO_WHOIS_API_KEY = "12345"
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(SPEC_ROOT, "support/**/*.rb")].each { |f| require f }
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock # or :fakeweb
c.ignore_hosts '127.0.0.1', 'localhost'
if ROBO_WHOIS_API_KEY
c.filter_sensitive_data('<ROBO_WHOIS_API_KEY>') { ROBO_WHOIS_API_KEY } | b3eb9d53d2e694b613c536cce41f2279db7115f9 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="style/ol.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var vbmap = new vbmap();
<|file_sep|>current/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
<|file_sep|>updated/index.html | <!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var vbmap = new vbmap(); | <|file_sep|>index.html.diff
original:
updated:
<link rel="stylesheet" type="text/css" href="style/ol.css">
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var vbmap = new vbmap();
<|file_sep|>current/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
<|file_sep|>updated/index.html
<!DOCTYPE html>
<html>
<head>
<title>Verkeerbeheer testpage</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/ol.css">
<link rel="stylesheet" type="text/css" href="style/ol3-layerswitcher.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="config.json"></script>
<script src="libs/ol-debug.js"></script>
<script src="libs/ol3-layerswitcher.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js" type="text/javascript"></script>
<script src="vbmap.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var vbmap = new vbmap(); | 4ff47ae2dd526656efcc04cfd442d0f8cfa864a5 | index.html | index.html | HTML |
<|file_sep|>README.rst.diff
original:
updated:
simple photo backup
===================
<|file_sep|>original/README.rst
A very simple photo backup manager.
<|file_sep|>current/README.rst
simple photo backup
===================
A very simple photo backup manager.
<|file_sep|>updated/README.rst | simple photo backup
===================
A very simple photo backup manager.
Installation
------------
If you want ot install SPB on your system:
.. code-block:: sh
sudo python setup.py install
spb --help
If you want to generate a single python file to put it on a USB drive for example:
.. code-block:: sh
python setup.py unique_file -d /tmp/ -o my_spb
cd /tmp | <|file_sep|>README.rst.diff
original:
updated:
simple photo backup
===================
<|file_sep|>original/README.rst
A very simple photo backup manager.
<|file_sep|>current/README.rst
simple photo backup
===================
A very simple photo backup manager.
<|file_sep|>updated/README.rst
simple photo backup
===================
A very simple photo backup manager.
Installation
------------
If you want ot install SPB on your system:
.. code-block:: sh
sudo python setup.py install
spb --help
If you want to generate a single python file to put it on a USB drive for example:
.. code-block:: sh
python setup.py unique_file -d /tmp/ -o my_spb
cd /tmp | f904c884c7475be5fa22cab46b542fd242d49c9e | README.rst | README.rst | reStructuredText |
<|file_sep|>.travis.yml.diff
original:
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
updated:
script:
- scons debug=$DEBUG_BUILD -j 4
<|file_sep|>.travis.yml.diff
original:
install:
- apt-get install scons build-essential libbz2-dev zlib1g-dev
libexpat1-dev libssl-dev libboost-iostreams-dev libboost-system-dev
libboost-filesystem-dev libboost-regex-dev libsqlite3-dev libv8-dev
binutils-dev libmariadbclient-dev
updated:
addons:
apt:
sources:
- mariadb-10.0
<|file_sep|>original/.travis.yml
language: cpp
compiler: gcc
sudo: false
env:
- DEBUG_BUILD=1
- DEBUG_BUILD=0
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
install:
- apt-get install scons build-essential libbz2-dev zlib1g-dev
libexpat1-dev libssl-dev libboost-iostreams-dev libboost-system-dev
libboost-filesystem-dev libboost-regex-dev libsqlite3-dev libv8-dev
binutils-dev libmariadbclient-dev
script: scons debug=$DEBUG_BUILD -j 4
<|file_sep|>current/.travis.yml
language: cpp
compiler: gcc
sudo: false
env:
- DEBUG_BUILD=1
- DEBUG_BUILD=0
script:
- scons debug=$DEBUG_BUILD -j 4
addons:
apt:
sources:
- mariadb-10.0
script: scons debug=$DEBUG_BUILD -j 4
<|file_sep|>updated/.travis.yml | - DEBUG_BUILD=0
script:
- scons debug=$DEBUG_BUILD -j 4
addons:
apt:
sources:
- mariadb-10.0
packages:
- scons
- libbz2-dev
- zlib1g-dev
- libexpat1-dev
- libssl-dev
- libboost-iostreams-dev
- libboost-system-dev
- libboost-filesystem-dev
- libboost-regex-dev
- libsqlite3-dev | <|file_sep|>.travis.yml.diff
original:
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
updated:
script:
- scons debug=$DEBUG_BUILD -j 4
<|file_sep|>.travis.yml.diff
original:
install:
- apt-get install scons build-essential libbz2-dev zlib1g-dev
libexpat1-dev libssl-dev libboost-iostreams-dev libboost-system-dev
libboost-filesystem-dev libboost-regex-dev libsqlite3-dev libv8-dev
binutils-dev libmariadbclient-dev
updated:
addons:
apt:
sources:
- mariadb-10.0
<|file_sep|>original/.travis.yml
language: cpp
compiler: gcc
sudo: false
env:
- DEBUG_BUILD=1
- DEBUG_BUILD=0
before_install:
- apt-key adv --recv-keys --keyserver pgp.mit.edu 0xcbcb082a1bb943db
- bash -c "echo deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main > /etc/apt/sources.list.d/mariadb-10.0.list"
- apt-get update -y
install:
- apt-get install scons build-essential libbz2-dev zlib1g-dev
libexpat1-dev libssl-dev libboost-iostreams-dev libboost-system-dev
libboost-filesystem-dev libboost-regex-dev libsqlite3-dev libv8-dev
binutils-dev libmariadbclient-dev
script: scons debug=$DEBUG_BUILD -j 4
<|file_sep|>current/.travis.yml
language: cpp
compiler: gcc
sudo: false
env:
- DEBUG_BUILD=1
- DEBUG_BUILD=0
script:
- scons debug=$DEBUG_BUILD -j 4
addons:
apt:
sources:
- mariadb-10.0
script: scons debug=$DEBUG_BUILD -j 4
<|file_sep|>updated/.travis.yml
- DEBUG_BUILD=0
script:
- scons debug=$DEBUG_BUILD -j 4
addons:
apt:
sources:
- mariadb-10.0
packages:
- scons
- libbz2-dev
- zlib1g-dev
- libexpat1-dev
- libssl-dev
- libboost-iostreams-dev
- libboost-system-dev
- libboost-filesystem-dev
- libboost-regex-dev
- libsqlite3-dev | 7bd9075fb382203785d940924ac3e88c70368b7a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<!-- 3rd Party Libraries -->
<script src="//code.jquery.com/jquery-2.1.0.js"></script>
<script src="/lib/semantic/javascript/semantic.js"></script>
<!-- TFA JS -->
<script src="/js/app.js"></script>
</body>
</html>
<|file_sep|>current/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<!-- 3rd Party Libraries -->
<script src="//code.jquery.com/jquery-2.1.0.js"></script>
<script src="/lib/semantic/javascript/semantic.js"></script>
<!-- TFA JS -->
<script src="/js/app.js"></script>
</body>
</html>
<|file_sep|>updated/_layouts/default.html | <title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<div class="ui divider"></div>
<div class="footer ui basic segment">
Made with tea
<i class="leaf circular small icon"></i>
by
<a href="http://joshldavis.com">Josh Davis</a>
and love
<i class="heart circular small icon"></i>
from some awesome
<a href="https://github.com/jdavis/twofactorauth/graphs/contributors">Contributors</a>. | <|file_sep|>original/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<!-- 3rd Party Libraries -->
<script src="//code.jquery.com/jquery-2.1.0.js"></script>
<script src="/lib/semantic/javascript/semantic.js"></script>
<!-- TFA JS -->
<script src="/js/app.js"></script>
</body>
</html>
<|file_sep|>current/_layouts/default.html
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<!-- 3rd Party Libraries -->
<script src="//code.jquery.com/jquery-2.1.0.js"></script>
<script src="/lib/semantic/javascript/semantic.js"></script>
<!-- TFA JS -->
<script src="/js/app.js"></script>
</body>
</html>
<|file_sep|>updated/_layouts/default.html
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/lib/semantic/css/semantic.css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" />
<link rel="stylesheet" href="/css/base.css" />
</head>
<body>
{{ content }}
<div class="ui divider"></div>
<div class="footer ui basic segment">
Made with tea
<i class="leaf circular small icon"></i>
by
<a href="http://joshldavis.com">Josh Davis</a>
and love
<i class="heart circular small icon"></i>
from some awesome
<a href="https://github.com/jdavis/twofactorauth/graphs/contributors">Contributors</a>. | a6877c3fb11a77655e693c678af2283ab4a69652 | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>panoptes/utils/data.py.diff
original:
updated:
import shutil
<|file_sep|>original/panoptes/utils/data.py
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
os.rename(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data')
<|file_sep|>current/panoptes/utils/data.py
download_IERS_A()
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
os.rename(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data')
<|file_sep|>updated/panoptes/utils/data.py | download_IERS_A()
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
shutil.move(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data') | <|file_sep|>panoptes/utils/data.py.diff
original:
updated:
import shutil
<|file_sep|>original/panoptes/utils/data.py
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
os.rename(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data')
<|file_sep|>current/panoptes/utils/data.py
download_IERS_A()
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
os.rename(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data')
<|file_sep|>updated/panoptes/utils/data.py
download_IERS_A()
for i in range(4214, 4219):
fn = 'index-{}.fits'.format(i)
dest = "{}/{}".format(data_folder, fn)
if not os.path.exists(dest):
url = "http://data.astrometry.net/4200/{}".format(fn)
df = data.download_file(url)
try:
shutil.move(df, dest)
except OSError as e:
print("Problem saving. (Maybe permissions?): {}".format(e))
if __name__ == '__main__':
parser = argparse.ArgumentParser(
description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--folder', help='Folder to place astrometry data') | 4d01eb0c1b11680d463d4fcb0888fac4ab6c45c8 | panoptes/utils/data.py | panoptes/utils/data.py | Python |
<|file_sep|>src/helpers.js.diff
original:
updated:
const chalk = require('chalk');
<|file_sep|>original/src/helpers.js
const moment = require('moment-timezone');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
};
<|file_sep|>current/src/helpers.js
const moment = require('moment-timezone');
const chalk = require('chalk');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
};
<|file_sep|>updated/src/helpers.js | const moment = require('moment-timezone');
const chalk = require('chalk');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
const errorOutput = `${chalk.bgRed('Error')} ${message}`;
console.log(errorOutput);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
}; | <|file_sep|>src/helpers.js.diff
original:
updated:
const chalk = require('chalk');
<|file_sep|>original/src/helpers.js
const moment = require('moment-timezone');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
};
<|file_sep|>current/src/helpers.js
const moment = require('moment-timezone');
const chalk = require('chalk');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
console.log(message);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
};
<|file_sep|>updated/src/helpers.js
const moment = require('moment-timezone');
const chalk = require('chalk');
exports.printMessage = function (message) {
console.log(message);
};
exports.printError = function (message) {
const errorOutput = `${chalk.bgRed('Error')} ${message}`;
console.log(errorOutput);
};
exports.convertTimezone = function (time, timezone, callback) {
if (moment.tz.zone(timezone)) {
let newTime = moment.tz(new Date(time), timezone).format('MMMM D, YYYY HH:mm:ss z');
return callback(null, newTime);
}
return callback('Unrecognised time zone.');
}; | fa894d1d06975468946623b8bcac2a209aafe98b | src/helpers.js | src/helpers.js | JavaScript |
<|file_sep|>original/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
}
<|file_sep|>current/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
}
<|file_sep|>updated/package.json | },
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
} | <|file_sep|>original/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
}
<|file_sep|>current/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto <fzaninotto@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
}
<|file_sep|>updated/package.json
},
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/marmelab/gremlins.js.git"
},
"keywords": [
"monkey",
"test",
"testing",
"stress",
"gremlin"
],
"author": "Francois Zaninotto",
"license": "MIT",
"bugs": {
"url": "https://github.com/marmelab/gremlins.js/issues"
}
} | 8afcc3dd33bc49629c6c4006bf3ce6e508cc1174 | package.json | package.json | JSON |
<|file_sep|>original/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>current/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>updated/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | ---
deprecations:
- |
Ceph-ansible has been deprecated by upstream maintainers in favor of
cephadm [1]. With that we don't have any other choice rather than
deprecate Ceph deployment with Ceph Ansible.
It's still available in Yoga, but will be removed in the future releases.
[1] https://github.com/ceph/ceph-ansible/commit/893944102743dad302249a45e3b2682d325ee2e5 | <|file_sep|>original/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>current/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
<|file_sep|>updated/releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml
---
deprecations:
- |
Ceph-ansible has been deprecated by upstream maintainers in favor of
cephadm [1]. With that we don't have any other choice rather than
deprecate Ceph deployment with Ceph Ansible.
It's still available in Yoga, but will be removed in the future releases.
[1] https://github.com/ceph/ceph-ansible/commit/893944102743dad302249a45e3b2682d325ee2e5 | f6429b558f744c7dce05bd9484c2ed0ec6f6dae1 | releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | releasenotes/notes/ceph_ansible-3fcd9643b53a4b29.yaml | YAML |
<|file_sep|>original/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var daysString = DateCalc.daysBetween(str1, str2);
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value =
daysString + " days (" + periodString + ")";
}
function parseDate(str) {
var localDate = LocalDate.parse(str);
return localDate.year + "-" + localDate.month + "-" + localDate.day;
}
<|file_sep|>current/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var daysString = DateCalc.daysBetween(str1, str2);
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value =
daysString + " days (" + periodString + ")";
}
function parseDate(str) {
var localDate = LocalDate.parse(str);
return localDate.year + "-" + localDate.month + "-" + localDate.day;
}
<|file_sep|>updated/demo/scripts/index.js | (function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var days = DateCalc.daysBetween(str1, str2);
if (isNaN(days)) {
document.getElementById("output").value = "Please enter valid inputs.";
} else {
var daysString;
if (days === 1) {
daysString = days + " day";
} else {
daysString = days + " days";
}
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value = | <|file_sep|>original/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var daysString = DateCalc.daysBetween(str1, str2);
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value =
daysString + " days (" + periodString + ")";
}
function parseDate(str) {
var localDate = LocalDate.parse(str);
return localDate.year + "-" + localDate.month + "-" + localDate.day;
}
<|file_sep|>current/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var daysString = DateCalc.daysBetween(str1, str2);
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value =
daysString + " days (" + periodString + ")";
}
function parseDate(str) {
var localDate = LocalDate.parse(str);
return localDate.year + "-" + localDate.month + "-" + localDate.day;
}
<|file_sep|>updated/demo/scripts/index.js
(function init() {
document.getElementById("input1").addEventListener("input", calc);
document.getElementById("input2").addEventListener("input", calc);
calc();
})();
function calc() {
var str1 = document.getElementById("input1").value;
var str2 = document.getElementById("input2").value;
var days = DateCalc.daysBetween(str1, str2);
if (isNaN(days)) {
document.getElementById("output").value = "Please enter valid inputs.";
} else {
var daysString;
if (days === 1) {
daysString = days + " day";
} else {
daysString = days + " days";
}
var periodString = DateCalc.periodBetween(str1, str2);
document.getElementById("output").value = | 456fa03b834a71f539c244ac1b0dcce9dd1f213d | demo/scripts/index.js | demo/scripts/index.js | JavaScript |
<|file_sep|>original/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration>
<|file_sep|>current/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration>
<|file_sep|>updated/resources/logback.xml | <configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{YYY-MM-dd HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration> | <|file_sep|>original/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration>
<|file_sep|>current/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration>
<|file_sep|>updated/resources/logback.xml
<configuration scan="true" scanPeriod="10 seconds">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%d{YYY-MM-dd HH:mm:ss.SSS} %-5level %logger{36}: %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="warn" />
<logger name="org.mortbay.log" level="info" />
<logger name="com.mchange" level="warn" />
<logger name="org.eclipse.jetty" level="info" />
<root level="debug">
<appender-ref ref="STDOUT" />
</root>
</configuration> | d52b1c355f4db640b543ef2710745cd5d4ae920b | resources/logback.xml | resources/logback.xml | XML |
<|file_sep|>original/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
}
<|file_sep|>current/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
}
<|file_sep|>updated/package.json | "author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2"
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
} | <|file_sep|>original/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
}
<|file_sep|>current/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2",
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
}
<|file_sep|>updated/package.json
"author": "Howard Huang",
"keywords": [
"github hubot skype adapter"
],
"description": "A Skype adapter written in Ruby for hubot",
"repository": {
"type": "git",
"url": "git://github.com/hahuang65/hubot-skype.git"
},
"dependencies": {
"redis": ">=0.7.2"
},
"devDependencies": {
"coffee-script": "1.1.3"
},
"main": "./src/skype",
"engine": "node > 0.6.0 < 0.7.0",
"engines": {
"node": "*"
}
} | 3917566b03ce7f1bdbabb1b66dcee56ffc9e1b99 | package.json | package.json | JSON |
<|file_sep|>original/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
<|file_sep|>current/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
<|file_sep|>updated/project/plugins.sbt | // The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
// Native Packager - used for building docker images.
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.4") | <|file_sep|>original/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
<|file_sep|>current/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
<|file_sep|>updated/project/plugins.sbt
// The Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
// web plugins
addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-jshint" % "1.0.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.1.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.1.0")
addSbtPlugin("org.irundaia.sbt" % "sbt-sassify" % "1.4.2")
// Native Packager - used for building docker images.
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.1.4") | f79262454b6c1115b23a036f27e896a8ee1603e8 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric)
sort_metric_scores(metric, 'asc').map { |entry| entry.to_hash }
<|file_sep|>current/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric)
sort_metric_scores(metric, 'asc').map { |entry| entry.to_hash }
<|file_sep|>updated/app/models/repository.rb | embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
index({ 'snapshot.statistics.resources' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric) | <|file_sep|>original/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric)
sort_metric_scores(metric, 'asc').map { |entry| entry.to_hash }
<|file_sep|>current/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric)
sort_metric_scores(metric, 'asc').map { |entry| entry.to_hash }
<|file_sep|>updated/app/models/repository.rb
embeds_many :snapshots, :order => :date.asc
field :url
field :type
field :name
field :latitude
field :longitude
index({ 'snapshots.date' => 1 })
index({ 'snapshot.statistics.resources' => 1 })
##
# Returns a list of records sorted in descending by the score with respect to
# the given metric.
#
def best_records(metric)
sort_metric_scores(metric, 'desc').map { |entry| entry.to_hash }
end
def worst_records(metric) | e007defaaf3148df0c63bf33f906363b8c048290 | app/models/repository.rb | app/models/repository.rb | Ruby |
<|file_sep|>original/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env",
<|file_sep|>current/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env",
<|file_sep|>updated/packages/apollo-server-cache-redis/package.json | {
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.5",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env", | <|file_sep|>original/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env",
<|file_sep|>current/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.0",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env",
<|file_sep|>updated/packages/apollo-server-cache-redis/package.json
{
"name": "apollo-server-cache-redis",
"version": "1.0.0-alpha.5",
"author": "opensource@apollographql.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-cache-redis"
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"bugs": {
"url": "https://github.com/apollographql/apollo-server/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8"
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-env": "file:../apollo-server-env", | 8517419e3e529af1cf79a5900a34cc156e2e26a9 | packages/apollo-server-cache-redis/package.json | packages/apollo-server-cache-redis/package.json | JSON |
<|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
updated:
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
<|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
updated:
// Remove the old target and replace with the new one.
<|file_sep|>original/packages/core/src/Rules/CopyTargetsToRoot.js
static parameterTypes: Array<Set<string>> = [new Set(['*'])]
static description: string = 'Copy targets to root directory.'
static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
}
<|file_sep|>current/packages/core/src/Rules/CopyTargetsToRoot.js
static description: string = 'Copy targets to root directory.'
static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
// Remove the old target and replace with the new one.
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
}
<|file_sep|>updated/packages/core/src/Rules/CopyTargetsToRoot.js | static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
// Remove the old target and replace with the new one.
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
// Copy the target to it's new location and add the result as an output.
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
} | <|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
updated:
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
<|file_sep|>packages/core/src/Rules/CopyTargetsToRoot.js.diff
original:
updated:
// Remove the old target and replace with the new one.
<|file_sep|>original/packages/core/src/Rules/CopyTargetsToRoot.js
static parameterTypes: Array<Set<string>> = [new Set(['*'])]
static description: string = 'Copy targets to root directory.'
static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
}
<|file_sep|>current/packages/core/src/Rules/CopyTargetsToRoot.js
static description: string = 'Copy targets to root directory.'
static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
// Remove the old target and replace with the new one.
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
}
<|file_sep|>updated/packages/core/src/Rules/CopyTargetsToRoot.js
static alwaysEvaluate: boolean = true
static async appliesToParameters (state: State, command: Command, phase: Phase, options: OptionsInterface, ...parameters: Array<File>): Promise<boolean> {
return !!options.copyTargetsToRoot &&
parameters.every(file => !file.virtual && state.targets.has(file.filePath) && path.dirname(file.filePath) !== '.')
}
async initialize () {
// Remove the old target and replace with the new one.
this.removeTarget(this.firstParameter.filePath)
await this.addResolvedTarget('$BASE_0')
}
async run () {
// Copy the target to it's new location and add the result as an output.
const filePath = this.resolvePath('$ROOTDIR/$BASE_0')
await this.firstParameter.copy(filePath)
await this.getOutput(filePath)
return true
}
} | 764258718d976aa826e16fd470954f18f8eabf65 | packages/core/src/Rules/CopyTargetsToRoot.js | packages/core/src/Rules/CopyTargetsToRoot.js | JavaScript |
<|file_sep|>giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java.diff
original:
Server server = new Server(8080);
updated:
int httpPort = 8080;
for (int i = 0; i < args.length; i++) {
String arg = args[i];
try {
if ("--httpPort".equals(arg)) {
httpPort = Integer.parseInt(args[++i]);
} else {
System.err.println("Invalid option: " + arg);
System.exit(1);
}
} catch (Exception e) {
System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
<|file_sep|>original/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java
public class GianeStarter {
public static void main(String[] args) throws Exception {
Server server = new Server(8080);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
//context.setWelcomeFiles(new String[] {"index.action"});
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
}
<|file_sep|>current/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java
System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
//context.setWelcomeFiles(new String[] {"index.action"});
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
<|file_sep|>updated/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
} | <|file_sep|>giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java.diff
original:
Server server = new Server(8080);
updated:
int httpPort = 8080;
for (int i = 0; i < args.length; i++) {
String arg = args[i];
try {
if ("--httpPort".equals(arg)) {
httpPort = Integer.parseInt(args[++i]);
} else {
System.err.println("Invalid option: " + arg);
System.exit(1);
}
} catch (Exception e) {
System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
<|file_sep|>original/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java
public class GianeStarter {
public static void main(String[] args) throws Exception {
Server server = new Server(8080);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
//context.setWelcomeFiles(new String[] {"index.action"});
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
}
<|file_sep|>current/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java
System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
//context.setWelcomeFiles(new String[] {"index.action"});
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
<|file_sep|>updated/giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java
System.err.println("An error occurred in processing an option: " + arg);
System.exit(1);
}
}
Server server = new Server(httpPort);
WebAppContext context = new WebAppContext();
context.setServer(server);
context.setContextPath("/giane");
ProtectionDomain protectionDomain = GianeStarter.class.getProtectionDomain();
URL location = protectionDomain.getCodeSource().getLocation();
context.setWar(location.toExternalForm());
server.setHandler(context);
server.start();
server.join();
}
} | 73d4079795c7cdabf6ff0581459979e0faab3cb2 | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | giane-jetty/src/main/java/com/github/kaitoy/sneo/giane/jetty/GianeStarter.java | Java |
<|file_sep|>original/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 100
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v
<|file_sep|>current/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 100
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v
<|file_sep|>updated/hooks/settings/settings_gunicorn.py | # -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 1000
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v | <|file_sep|>original/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 100
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v
<|file_sep|>current/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 100
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v
<|file_sep|>updated/hooks/settings/settings_gunicorn.py
# -*- coding: utf-8 -*-
"""
Related article: https://sebest.github.io/post/protips-using-gunicorn-inside-a-docker-image/
Parameters you might want to override:
GUNICORN_BIND="0.0.0.0:8005"
"""
import os
workers = 4
bind = "0.0.0.0:8005"
worker_class = "eventlet"
worker_connections = 1000
# Overwrite some Gunicorns params by ENV variables
for k, v in os.environ.items():
if k.startswith("GUNICORN_"):
key = k.split('_', 1)[1].lower()
locals()[key] = v | 0f3f9ac26e968eab788a9ee2e95c34f2fa05ddbf | hooks/settings/settings_gunicorn.py | hooks/settings/settings_gunicorn.py | Python |
<|file_sep|>original/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml
<|file_sep|>current/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml
<|file_sep|>updated/site/docker-compose.yml | command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml | <|file_sep|>original/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml
<|file_sep|>current/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven:alpine
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml
<|file_sep|>updated/site/docker-compose.yml
command: jekyll serve --watch --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll
build-site:
image: jekyll/jekyll:3
command: jekyll build
volumes:
- .:/srv/jekyll
generate-javadoc:
image: maven
working_dir: /usr/src/calcite
command: sh -c "mvn -DskipTests site; rm -rf site/target/apidocs site/target/testapidocs; mkdir -p site/target; mv target/site/apidocs target/site/testapidocs site/target"
volumes:
- ../:/usr/src/calcite
- maven-repo:/root/.m2
volumes:
maven-repo:
# End docker-compose.yml | f2638b9f7dc878f3f109cbc59d1a6ae02d3d5696 | site/docker-compose.yml | site/docker-compose.yml | YAML |
<|file_sep|>original/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0"
<|file_sep|>current/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0"
<|file_sep|>updated/bookingsync-application-engine.gemspec | $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki", "Mariusz Pietrzyk"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0" | <|file_sep|>original/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0"
<|file_sep|>current/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0"
<|file_sep|>updated/bookingsync-application-engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "bookingsync_application/engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "bookingsync-application-engine"
s.version = BookingsyncApplication::ENGINE_VERSION
s.authors = ["Marcin Nowicki", "Mariusz Pietrzyk"]
s.email = ["dev@bookingsync.com"]
s.homepage = "https://github.com/BookingSync/bookingsync-application-engine"
s.summary = "A Rails engine to simplify building BookingSync Applications"
s.description = "A Rails engine to simplify building BookingSync Applications"
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.add_dependency "rails", "~> 4.1.6"
s.add_dependency "jsonapi-resources", "~> 0.0.5"
s.add_dependency "bookingsync-engine", "~> 0.1.0" | a0304c6b123008d085e583e6178b8eeb75ebc845 | bookingsync-application-engine.gemspec | bookingsync-application-engine.gemspec | Ruby |
<|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>updated/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | package uk.ac.ebi.quickgo.annotation.service.search;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;
import uk.ac.ebi.quickgo.common.SearchableDocumentFields;
import uk.ac.ebi.quickgo.rest.search.SearchableField;
import java.util.stream.Stream;
import org.springframework.stereotype.Component;
/**
* Checks if a given field is searchable searchable.
*
* @author Ricardo Antunes
*/
@Component
public class AnnotationSearchableField implements SearchableField, SearchableDocumentFields {
@Override public boolean isDocumentSearchable(String field) {
return AnnotationFields.Searchable.isSearchable(field);
}
@Override public Stream<String> searchableDocumentFields() { | <|file_sep|>original/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>current/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
<|file_sep|>updated/annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java
package uk.ac.ebi.quickgo.annotation.service.search;
import uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;
import uk.ac.ebi.quickgo.common.SearchableDocumentFields;
import uk.ac.ebi.quickgo.rest.search.SearchableField;
import java.util.stream.Stream;
import org.springframework.stereotype.Component;
/**
* Checks if a given field is searchable searchable.
*
* @author Ricardo Antunes
*/
@Component
public class AnnotationSearchableField implements SearchableField, SearchableDocumentFields {
@Override public boolean isDocumentSearchable(String field) {
return AnnotationFields.Searchable.isSearchable(field);
}
@Override public Stream<String> searchableDocumentFields() { | 1dd34cc37760a4739b226a345ceee096d635b13c | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/service/search/AnnotationSearchableField.java | Java |
<|file_sep|>original/tests/sim/test_skills.py
<|file_sep|>current/tests/sim/test_skills.py
<|file_sep|>updated/tests/sim/test_skills.py | import unittest
import unittest.mock as mock
from hunting.level.map import LevelMap, LevelTile
from hunting.sim.entities import GameObject, Fighter
from hunting.sim.skills import PowerStrike
class TestPowerStrike(unittest.TestCase):
def setUp(self):
level = LevelMap()
level.set_map([[LevelTile()], [LevelTile()]])
self.power_strike = PowerStrike(-25, 50, 25)
self.attacker = GameObject('0', level.log, 0, 0, 'attacker', faction='0',
fighter=Fighter(100, 100, 0, 0, 0, speed=1, skills=[self.power_strike]))
level.add_faction('0', {})
level.add_object(self.attacker)
self.defender = GameObject('1', level.log, 1, 0, 'defender', faction='1',
fighter=Fighter(100, 100, defense=0, power=10, xp=0, speed=100)) | <|file_sep|>original/tests/sim/test_skills.py
<|file_sep|>current/tests/sim/test_skills.py
<|file_sep|>updated/tests/sim/test_skills.py
import unittest
import unittest.mock as mock
from hunting.level.map import LevelMap, LevelTile
from hunting.sim.entities import GameObject, Fighter
from hunting.sim.skills import PowerStrike
class TestPowerStrike(unittest.TestCase):
def setUp(self):
level = LevelMap()
level.set_map([[LevelTile()], [LevelTile()]])
self.power_strike = PowerStrike(-25, 50, 25)
self.attacker = GameObject('0', level.log, 0, 0, 'attacker', faction='0',
fighter=Fighter(100, 100, 0, 0, 0, speed=1, skills=[self.power_strike]))
level.add_faction('0', {})
level.add_object(self.attacker)
self.defender = GameObject('1', level.log, 1, 0, 'defender', faction='1',
fighter=Fighter(100, 100, defense=0, power=10, xp=0, speed=100)) | c509ef35fb0ba77fbcb66dd968daa0a19a617867 | tests/sim/test_skills.py | tests/sim/test_skills.py | Python |
<|file_sep|>original/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
</project>
<|file_sep|>current/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
</project>
<|file_sep|>updated/pom.xml | <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
<parent>
<groupId>com.hpe.caf</groupId>
<artifactId>caf-maven-latest</artifactId>
<version>1-SNAPSHOT</version>
<relativePath>../caf-maven-latest</relativePath>
</parent>
<ciManagement>
<system>hudson</system>
<url>http://cafbuilder.hpswlabs.hp.com:8080/job/worker-batch-shared/</url>
</ciManagement> | <|file_sep|>original/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
</project>
<|file_sep|>current/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
</project>
<|file_sep|>updated/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hpe.caf.worker.batch</groupId>
<artifactId>worker-batch-shared</artifactId>
<version>1.0-SNAPSHOT</version>
<parent>
<groupId>com.hpe.caf</groupId>
<artifactId>caf-maven-latest</artifactId>
<version>1-SNAPSHOT</version>
<relativePath>../caf-maven-latest</relativePath>
</parent>
<ciManagement>
<system>hudson</system>
<url>http://cafbuilder.hpswlabs.hp.com:8080/job/worker-batch-shared/</url>
</ciManagement> | 08229c7b7bacac798bdad5e51648692514e67e6c | pom.xml | pom.xml | XML |
<|file_sep|>original/docs/index.md
<|file_sep|>current/docs/index.md
<|file_sep|>updated/docs/index.md | ---
layout: default
title: Third Coast
---
Stryke Force team 2767's Third Coast swerve drive, talon configuration and telemetry API for FRC robots.
Third Coast [Javadocs](javadoc/).
Third Coast [Documentation](https://strykeforce.github.io/posts/thirdcoast/). | <|file_sep|>original/docs/index.md
<|file_sep|>current/docs/index.md
<|file_sep|>updated/docs/index.md
---
layout: default
title: Third Coast
---
Stryke Force team 2767's Third Coast swerve drive, talon configuration and telemetry API for FRC robots.
Third Coast [Javadocs](javadoc/).
Third Coast [Documentation](https://strykeforce.github.io/posts/thirdcoast/). | a174d93cd50e26035c278b650ce6da35406d785f | docs/index.md | docs/index.md | Markdown |
<|file_sep|>original/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:35 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}
<|file_sep|>current/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:35 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}
<|file_sep|>updated/.github/workflows/main.yml | matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:36 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }} | <|file_sep|>original/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:35 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}
<|file_sep|>current/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:35 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}
<|file_sep|>updated/.github/workflows/main.yml
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
runs-on: ubuntu-latest
container: fedora:36 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }} | 582fdb24efa2959f61510536cad70abb0e72cc2b | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public boolean isShowIdLabel() {
return true;
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
<|file_sep|>current/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public boolean isShowIdLabel() {
return true;
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
<|file_sep|>updated/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java | @Override
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
final PsiElementFactory elementFactory = JavaPsiFacade.getInstance(myProject).getElementFactory();
return elementFactory.createExpressionFromText("", ContextUtil.getContextElement(debuggerContext));
}
} | <|file_sep|>original/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public boolean isShowIdLabel() {
return true;
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
<|file_sep|>current/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public boolean isShowIdLabel() {
return true;
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
<|file_sep|>updated/plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java
@Override
public String calcValueName() {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.calcValueName();
}
return value.type().name();
}
@Override
public PsiExpression getDescriptorEvaluation(DebuggerContext debuggerContext) throws EvaluateException {
final Value value = getValue();
if (value instanceof ObjectReference) {
return super.getDescriptorEvaluation(debuggerContext);
}
final PsiElementFactory elementFactory = JavaPsiFacade.getInstance(myProject).getElementFactory();
return elementFactory.createExpressionFromText("", ContextUtil.getContextElement(debuggerContext));
}
} | 3553572524efc543d1b7e4afca6b59ae0f3a2a2e | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/ui/PrimitiveValueDescriptor.java | Java |
<|file_sep|>original/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>current/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>updated/project/plugins.sbt | // Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") | <|file_sep|>original/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>current/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0")
// Run sbt gen-idea to create IntelliJ project file
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
<|file_sep|>updated/project/plugins.sbt
// Run sbt eclipse to create Eclipse project file
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") | 44ec8797cf565367bf22e4621f185d83623f4be6 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
- "3.4"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
- "3.4"
- "3.6"
services:
- postgresql
addons:
postgresql: "9.4"
install:
- "pip install -r requirements_test.txt"
- "python setup.py install"
before_script:
- psql -c 'create database zoudb;' -U postgres
script: py.test | 9c80e8093224d93bb2b9ab8c872339bc37d1dc5d | .travis.yml | .travis.yml | YAML |
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
<|file_sep|>original/dev-docs/examples/outstream-video-example.md
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
---
<|file_sep|>current/dev-docs/examples/outstream-video-example.md
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
---
<|file_sep|>updated/dev-docs/examples/outstream-video-example.md | ---
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
--- | <|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
<|file_sep|>dev-docs/examples/outstream-video-example.md.diff
original:
updated:
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
<|file_sep|>original/dev-docs/examples/outstream-video-example.md
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
---
<|file_sep|>current/dev-docs/examples/outstream-video-example.md
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
---
<|file_sep|>updated/dev-docs/examples/outstream-video-example.md
---
layout: example
title: Outstream Video Example
description: Outstream Video Example
top_nav_section: dev_docs
nav_section: quick-start
hide: true
about:
- Code needed to show outstream video ads using the <code>video</code> media type with <code>outstream</code> context
- Other than setting up the ad unit, very little change from standard Prebid for engineering
- No changes in ad ops setup; use standard Prebid creatives
- Must have demand from video-enabled bidder adapters
- <em>Note</em> - this example only works sporadically in the embedded JSFiddle below - try <a href="http://jsfiddle.net/prebid/e9bb94L6/2/">running it from JSFiddle.net directly</a>
- See also the following examples hosted on Prebid.org - <a href="/examples/video/outstream/outstream-dfp-two-adapters-demo.html">Show an outstream ad using Unruly and AppNexus</a>, and <a href="/examples/video/outstream/outstream-no-adserver-demo.html">Show an outstream ad without an ad server</a>
- For more information, including links to more outstream examples, see <a href="/dev-docs/show-outstream-video-ads.html">Show Outstream Video Ads</a>
jsfiddle_link: jsfiddle.net/prebid/e9bb94L6/2/embedded/html,result
use_old_example_style: false
code_lines: 110
code_height: 3400
pid: 56
--- | 79da944fe6860f4be031dca2ccaf32831883b45f | dev-docs/examples/outstream-video-example.md | dev-docs/examples/outstream-video-example.md | Markdown |
<|file_sep|>original/attr_utils.py
<|file_sep|>current/attr_utils.py
<|file_sep|>updated/attr_utils.py | def _set_attr( obj, attr_name, value_to_set ):
setattr( obj, attr_name, value_to_set )
return getattr( obj, attr_name )
def _memoize_attr( obj, attr_name, value_to_set ):
return getattr( obj, attr_name, _set_attr( obj, attr_name, value_to_set ) ) | <|file_sep|>original/attr_utils.py
<|file_sep|>current/attr_utils.py
<|file_sep|>updated/attr_utils.py
def _set_attr( obj, attr_name, value_to_set ):
setattr( obj, attr_name, value_to_set )
return getattr( obj, attr_name )
def _memoize_attr( obj, attr_name, value_to_set ):
return getattr( obj, attr_name, _set_attr( obj, attr_name, value_to_set ) ) | a142472b86044395e428abea2fa5ff28b892d1fb | attr_utils.py | attr_utils.py | Python |
<|file_sep|>original/external/README.md
<|file_sep|>current/external/README.md
<|file_sep|>updated/external/README.md | # External Tooling
These are tools from external projects that are included in this repo for convenience.
## [bash-preexec](https://github.com/rcaloras/bash-preexec)
`preexec` and `precmd` hook functions for Bash in the style of Zsh. They aim to emulate the behavior as described for [Zsh](http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions).
## [git-prompt](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh)
Bash shell `PS1` helpers to show git repo status of current directory.
## [Solarized dircolors](https://github.com/seebi/dircolors-solarized)
Solarized color themes for GNS `ls`.
See the [Solarized homepage](http://ethanschoonover.com/solarized) for screenshots, details and color theme implementations for terminal emulators and other applications, such as Vim, Emacs, and Mutt. | <|file_sep|>original/external/README.md
<|file_sep|>current/external/README.md
<|file_sep|>updated/external/README.md
# External Tooling
These are tools from external projects that are included in this repo for convenience.
## [bash-preexec](https://github.com/rcaloras/bash-preexec)
`preexec` and `precmd` hook functions for Bash in the style of Zsh. They aim to emulate the behavior as described for [Zsh](http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions).
## [git-prompt](https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh)
Bash shell `PS1` helpers to show git repo status of current directory.
## [Solarized dircolors](https://github.com/seebi/dircolors-solarized)
Solarized color themes for GNS `ls`.
See the [Solarized homepage](http://ethanschoonover.com/solarized) for screenshots, details and color theme implementations for terminal emulators and other applications, such as Vim, Emacs, and Mutt. | 26e792fc8036f956e75080303d84858590647450 | external/README.md | external/README.md | Markdown |
<|file_sep|>original/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:11.0
Current Version Code:11
<|file_sep|>current/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:11.0
Current Version Code:11
<|file_sep|>updated/metadata/am.zoom.mbrowser.txt | Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:12.0
Current Version Code:12 | <|file_sep|>original/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:11.0
Current Version Code:11
<|file_sep|>current/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:11.0
Current Version Code:11
<|file_sep|>updated/metadata/am.zoom.mbrowser.txt
Auto Name:mBrowser
Summary:Web browser
Description:
Simple webview based browser. Touch back or menu buttons for options.
.
Repo Type:git
Repo:https://github.com/chelovek84/mBrowser
Build:10.0,10
commit=ff4ee8b9f1a059f1ac737f9b347e6be9bc6215e6
subdir=mBrowser
Build:11.0,11
commit=0edd757ea4e0ac0fc90da2f9ffe11bebe1d5e015
subdir=mBrowser
Auto Update Mode:None
Update Check Mode:RepoManifest
Current Version:12.0
Current Version Code:12 | 5f478003c141fa7b0b97ace0e923924686bc15e8 | metadata/am.zoom.mbrowser.txt | metadata/am.zoom.mbrowser.txt | Text |
<|file_sep|>app-frontend/src/app/services/common/thumbnail.service.js.diff
original:
updated:
/* globals BUILDCONFIG */
<|file_sep|>original/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
return `${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
};
<|file_sep|>current/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
return `${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
};
<|file_sep|>updated/app-frontend/src/app/services/common/thumbnail.service.js | constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
url = `${BUILDCONFIG.API_HOST}/api${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
}; | <|file_sep|>app-frontend/src/app/services/common/thumbnail.service.js.diff
original:
updated:
/* globals BUILDCONFIG */
<|file_sep|>original/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
return `${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
};
<|file_sep|>current/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
return `${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
};
<|file_sep|>updated/app-frontend/src/app/services/common/thumbnail.service.js
constructor(authService) {
'ngInject';
this.authService = authService;
}
getBestFitUrl(thumbnails, size) {
let url = thumbnails.reduce((thumb, next) => {
if (Math.abs(size - next.widthPx) < Math.abs(size - thumb.widthPx)) {
return next;
}
return thumb;
}).url;
if (url.startsWith('/')) {
url = `${BUILDCONFIG.API_HOST}/api${url}?token=${this.authService.token()}`;
}
return url;
}
}
app.service('thumbnailService', ThumbnailService);
}; | 984efe33d50c7c95722b24252bf4beaccaa3889b | app-frontend/src/app/services/common/thumbnail.service.js | app-frontend/src/app/services/common/thumbnail.service.js | JavaScript |
<|file_sep|>main/containers/Search/styles.css.diff
original:
width: 600px;
updated:
width: 100%;
<|file_sep|>original/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 600px;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
}
<|file_sep|>current/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 100%;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
}
<|file_sep|>updated/main/containers/Search/styles.css | }
.inputWrapper {
position: relative;
z-index: 2;
width: 100%;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 100%;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
} | <|file_sep|>main/containers/Search/styles.css.diff
original:
width: 600px;
updated:
width: 100%;
<|file_sep|>original/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 600px;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
}
<|file_sep|>current/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 100%;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 600px;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
}
<|file_sep|>updated/main/containers/Search/styles.css
}
.inputWrapper {
position: relative;
z-index: 2;
width: 100%;
height: 45px;
}
.autocomplete {
position: absolute;
z-index: 1;
width: 100%;
height: 45px;
font-size: 1.5em;
padding: 0 10px;
line-height: 45px;
box-sizing: border-box;
color: #bbbbbb;
white-space: pre;
} | 237059581a37d6055b2e33bee4985ae0eb4cc2a4 | main/containers/Search/styles.css | main/containers/Search/styles.css | CSS |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715
<|file_sep|>updated/.travis.yml | language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.1.6
env: TRAVELING_RUBY_VERSION=20150715
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715 | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715
<|file_sep|>updated/.travis.yml
language: ruby
sudo: false
before_script:
- git config --global user.email "nobody@example.com"
- git config --global user.name "Nobody Doe"
script: bundle exec rspec
env:
global: TARA_DOWNLOAD_DIR="$HOME/.tara/downloads"
cache:
bundler: true
directories:
- $HOME/.tara/downloads
matrix:
include:
- rvm: ruby-2.1.5
env: TRAVELING_RUBY_VERSION=20150210
- rvm: ruby-2.1.6
env: TRAVELING_RUBY_VERSION=20150715
- rvm: ruby-2.2.2
env: TRAVELING_RUBY_VERSION=20150715 | cd4d696e22b1630715c4abefc16c5496f7378675 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(3)
val executor = Executors.newFixedThreadPool(3)
val results = 1.rangeTo(3).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages")
<|file_sep|>current/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(3)
val executor = Executors.newFixedThreadPool(3)
val results = 1.rangeTo(3).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages")
<|file_sep|>updated/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt | */
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(1)
val executor = Executors.newFixedThreadPool(1)
val results = 1.rangeTo(1).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages") | <|file_sep|>original/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(3)
val executor = Executors.newFixedThreadPool(3)
val results = 1.rangeTo(3).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages")
<|file_sep|>current/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(3)
val executor = Executors.newFixedThreadPool(3)
val results = 1.rangeTo(3).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages")
<|file_sep|>updated/src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
*/
class StoreAndForwardTopicTest: StringSpec() {
init {
val dest = "mytopic"
val client = EnMasseClient(createTopicContext(dest))
"Messages should be delivered to multiple subscribers" {
val msgs = listOf("foo", "bar", "baz")
val countdownLatch = CountDownLatch(1)
val executor = Executors.newFixedThreadPool(1)
val results = 1.rangeTo(1).map { i -> executor.submit<Int> {
println("Running client ${i}")
val sz = client.recvMessages(dest, msgs.size, connectListener = { countdownLatch.countDown() }).size
println("Client ${i} recieved ${sz} messages")
sz
}}
countdownLatch.await(20, TimeUnit.SECONDS)
client.sendMessages(dest, msgs) shouldBe msgs.size
println("Sent ${msgs.size} messages") | e1addeae7fe0213dd3e6aa4fbc6546ae325415db | src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt | src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt | Kotlin |
<|file_sep|>original/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench
<|file_sep|>current/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench
<|file_sep|>updated/scipy/fftpack/__init__.py | # Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from realtransforms import *
__all__.extend(['dct', 'idct'])
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench | <|file_sep|>original/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench
<|file_sep|>current/scipy/fftpack/__init__.py
# fftpack - Discrete Fourier Transform algorithms.
#
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench
<|file_sep|>updated/scipy/fftpack/__init__.py
# Created: Pearu Peterson, August,September 2002
from info import __all__,__doc__
from fftpack_version import fftpack_version as __version__
from basic import *
from pseudo_diffs import *
from helper import *
from numpy.dual import register_func
for k in ['fft', 'ifft', 'fftn', 'ifftn', 'fft2', 'ifft2']:
register_func(k, eval(k))
del k, register_func
from realtransforms import *
__all__.extend(['dct', 'idct'])
from numpy.testing import Tester
test = Tester().test
bench = Tester().bench | 00e9f7d239287896946511b81e2029a5db1f435c | scipy/fftpack/__init__.py | scipy/fftpack/__init__.py | Python |
<|file_sep|>original/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[grey]%}%s%{$reset_color%} %r/%S%{$fg[grey]%} \
%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
<|file_sep|>current/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[grey]%}%s%{$reset_color%} %r/%S%{$fg[grey]%} \
%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
<|file_sep|>updated/zsh/.zsh/vcs_info.zsh | # VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
} | <|file_sep|>original/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[grey]%}%s%{$reset_color%} %r/%S%{$fg[grey]%} \
%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
<|file_sep|>current/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[grey]%}%s%{$reset_color%} %r/%S%{$fg[grey]%} \
%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
<|file_sep|>updated/zsh/.zsh/vcs_info.zsh
# VCS info
# Configures the vcs_info plugin which displays version control information in
# the prompt. In this case it is configured to show in the right hand prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:*' unstagedstr '*'
zstyle ':vcs_info:*' stagedstr '+'
zstyle ':vcs_info:*' formats \
"%{$fg[blue]%}%b%{$reset_color%}%B%F{1}%u%f%F{2}%c%{$reset_color%} "
zstyle ':vcs_info:*' actionformats \
'%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat \
'%b%{'$reset_color'%}:%{'${fg[yellow]}'%}%r'
precmd() {
vcs_info
} | 64945a6d0cb62a3086bf8107d9dc89fede2676e1 | zsh/.zsh/vcs_info.zsh | zsh/.zsh/vcs_info.zsh | Shell |
<|file_sep|>original/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty"
<|file_sep|>current/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty"
<|file_sep|>updated/environment_config.yaml | attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
#Uncomment and adjust to enable remote keystone
#remote_keystone: 10.20.5.22
#keystone:
# admin_token: REMOTE_KEYSTONE_TOKEN
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty" | <|file_sep|>original/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty"
<|file_sep|>current/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
foo: bar
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty"
<|file_sep|>updated/environment_config.yaml
attributes:
metadata:
label: "Keystone settings (NOTE: Requires detach-database plugin!!!)"
weight: 90
yaml_additional_config:
type: "textarea"
weight: 52
value: |
#Uncomment and adjust to enable remote keystone
#remote_keystone: 10.20.5.22
#keystone:
# admin_token: REMOTE_KEYSTONE_TOKEN
label: "Additional config"
description: "Just put here valid yaml"
regex:
source: '.+'
error: "This field should not be empty" | d7b5d77422fa70d72c4b5d9c7096ee3c40023f3c | environment_config.yaml | environment_config.yaml | YAML |
<|file_sep|>original/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme>
<|file_sep|>current/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme>
<|file_sep|>updated/tool_dependencies.xml | <package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme> | <|file_sep|>original/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme>
<|file_sep|>current/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme>
<|file_sep|>updated/tool_dependencies.xml
<package name="R" version="3.0.1">
<repository name="package_r_3_0_1" owner="iuc" />
</package>
<package name="numpy" version="1.7.1">
<repository name="package_numpy_1_7" owner="iuc" />
</package>
<package name="rseqc" version="2.3.7">
<install version = "1.0">
<actions>
<action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.3.7.tar.gz</action>
<action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
<action type="set_environment">
<environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
</action>
</actions>
</install>
<readme>
RSeQC version 2.3.7, documentation available at http://dldcc-web.brc.bcm.edu/lilab/liguow/CGI/rseqc/_build/html/index.html.
Requires gcc and python.
</readme> | b3a6d9e773607da703d155c725efb1457a2b8bd7 | tool_dependencies.xml | tool_dependencies.xml | XML |
<|file_sep|>original/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader :urn, :verb
def request
@request ||= RestClient::Request.execute(
headers: Headers.build!(uri),
payload: query,
timeout: 10,
<|file_sep|>current/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader :urn, :verb
def request
@request ||= RestClient::Request.execute(
headers: Headers.build!(uri),
payload: query,
timeout: 10,
<|file_sep|>updated/lib/troo/api/request.rb | new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
rescue RestClient::Exception => e
ErrorResponse.new({ body: e.http_body, code: e.http_code })
rescue SocketError
$stderr.puts 'Cannot continue, no network connection.'
exit(1)
end
private
attr_reader :urn, :verb
| <|file_sep|>original/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader :urn, :verb
def request
@request ||= RestClient::Request.execute(
headers: Headers.build!(uri),
payload: query,
timeout: 10,
<|file_sep|>current/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
end
private
attr_reader :urn, :verb
def request
@request ||= RestClient::Request.execute(
headers: Headers.build!(uri),
payload: query,
timeout: 10,
<|file_sep|>updated/lib/troo/api/request.rb
new(verb, urn, query).response
end
end
def initialize(verb, urn, query = {})
@verb, @urn, @query = verb, urn, query
end
def response
@response ||= Response.parse(request)
rescue RestClient::Exception => e
ErrorResponse.new({ body: e.http_body, code: e.http_code })
rescue SocketError
$stderr.puts 'Cannot continue, no network connection.'
exit(1)
end
private
attr_reader :urn, :verb
| 7c0848969953d07b6100e5171724652f48f7971d | lib/troo/api/request.rb | lib/troo/api/request.rb | Ruby |
<|file_sep|>original/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFallback())) {
// return $value->setScalarValue($value->getOwnValue());
// }
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{
<|file_sep|>current/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFallback())) {
// return $value->setScalarValue($value->getOwnValue());
// }
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{
<|file_sep|>updated/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php | /**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
if (is_null($value->getFallback()) && !$value->getArrayValue()) {
return $value->setScalarValue($value->getOwnValue());
}
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{ | <|file_sep|>original/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFallback())) {
// return $value->setScalarValue($value->getOwnValue());
// }
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{
<|file_sep|>current/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
// if (is_null($value->getFallback())) {
// return $value->setScalarValue($value->getOwnValue());
// }
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{
<|file_sep|>updated/src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php
/**
* {@inheritdoc}
*/
public function transform($value)
{
if (!$value instanceof EntityFieldFallbackValue) {
return $value;
}
if (is_null($value->getFallback()) && !$value->getArrayValue()) {
return $value->setScalarValue($value->getOwnValue());
}
return $value;
}
/**
* {@inheritdoc}
*/
public function reverseTransform($value)
{ | 9f92adf47806c080003d1c9b9fe108228b2586b3 | src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php | src/Oro/Bundle/EntityBundle/Form/DataTransformer/EntityFieldFallbackTransformer.php | PHP |
<|file_sep|>original/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
}
<|file_sep|>current/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
}
<|file_sep|>updated/integration_tests/tests/glacier.rs | extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
} | <|file_sep|>original/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
}
<|file_sep|>current/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
}
<|file_sep|>updated/integration_tests/tests/glacier.rs
extern crate rusoto_glacier;
extern crate env_logger;
use rusoto_glacier::{Glacier, GlacierClient, ListVaultsInput};
use rusoto_core::{DefaultCredentialsProvider, Region, default_tls_client};
#[test]
fn should_list_fleets() {
let _ = env_logger::init();
let credentials = DefaultCredentialsProvider::new().unwrap();
let client = GlacierClient::new(default_tls_client().unwrap(), credentials, Region::UsWest2);
// account id can be provided or use the account that signed the request with `-`.
// http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html
let request = ListVaultsInput{
account_id: "-".to_string(),
..Default::default()
};
let result = client.list_vaults(&request).unwrap();
println!("{:#?}", result);
} | e97668009a93fece84e4140a967a0496568de08f | integration_tests/tests/glacier.rs | integration_tests/tests/glacier.rs | Rust |
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
<|file_sep|>current/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
<|file_sep|>updated/webkit/tools/layout_tests/test_expectations.txt | // This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
BUG_LEVIN MAC : fast/css/line-height-determined-by-primary-font.html = IMAGE | <|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
<|file_sep|>current/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
<|file_sep|>updated/webkit/tools/layout_tests/test_expectations.txt
// This file should almost always be empty. Normally Chromium test expectations
// are found in
// src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt
//
// Only add expectations here to temporarily suppress messages on the bots
// until the changes can be landed upstream.
BUG_LEVIN MAC : fast/css/line-height-determined-by-primary-font.html = IMAGE | 86863c8fdade7c233f0d77084facfa3b6d6432eb | webkit/tools/layout_tests/test_expectations.txt | webkit/tools/layout_tests/test_expectations.txt | Text |
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
hash: 9327597db974c8648fe623e2213d126a96daf9041710da786b1ce1d06492f29c
updated:
hash: 08fb1eed7c12839ec51d8e2a6347ddf02f9457c53fd211389a9875667a75d4c6
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
updated:
- '1.2.0'
<|file_sep|>original/packages/gh/ghc-prof.yaml
directory: -any
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
author: Mitsutoshi Aoe
latest: '1.1.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3
<|file_sep|>current/packages/gh/ghc-prof.yaml
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
- '1.2.0'
author: Mitsutoshi Aoe
latest: '1.1.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3
<|file_sep|>updated/packages/gh/ghc-prof.yaml | maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
- '1.2.0'
author: Mitsutoshi Aoe
latest: '1.2.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3 | <|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
hash: 9327597db974c8648fe623e2213d126a96daf9041710da786b1ce1d06492f29c
updated:
hash: 08fb1eed7c12839ec51d8e2a6347ddf02f9457c53fd211389a9875667a75d4c6
<|file_sep|>packages/gh/ghc-prof.yaml.diff
original:
updated:
- '1.2.0'
<|file_sep|>original/packages/gh/ghc-prof.yaml
directory: -any
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
author: Mitsutoshi Aoe
latest: '1.1.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3
<|file_sep|>current/packages/gh/ghc-prof.yaml
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
- '1.2.0'
author: Mitsutoshi Aoe
latest: '1.1.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3
<|file_sep|>updated/packages/gh/ghc-prof.yaml
maintainer: Mitsutoshi Aoe <maoe@foldr.in>
synopsis: Library for parsing GHC time and allocation profiling reports
changelog: ''
basic-deps:
base: ==4.*
time: -any
text: -any
containers: ==0.5.*
ghc-prof: -any
attoparsec: <0.14
scientific: <0.4
all-versions:
- '1.0.0'
- '1.0.1'
- '1.1.0'
- '1.2.0'
author: Mitsutoshi Aoe
latest: '1.2.0'
description-type: haddock
description: Library for parsing GHC time and allocation profiling reports
license-name: BSD3 | e4fc6edcf8b876d73e1590e4929741cb5f0cc863 | packages/gh/ghc-prof.yaml | packages/gh/ghc-prof.yaml | YAML |
<|file_sep|>original/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
<|file_sep|>current/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
<|file_sep|>updated/IO/Exodus/CMakeLists.txt | vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
vtkCPExodusIINodalCoordinatesTemplate.h
vtkCPExodusIIResultsArrayTemplate.h | <|file_sep|>original/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
<|file_sep|>current/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIIElementBlock
vtkCPExodusIIInSituReader
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
<|file_sep|>updated/IO/Exodus/CMakeLists.txt
vtkExodusIICache.cxx
vtkExodusIIReader.cxx
vtkExodusIIReaderParser.cxx
vtkExodusIIReaderVariableCheck.cxx
vtkExodusModel.cxx
vtkExodusIIWriter.cxx
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkCPExodusIINodalCoordinatesTemplate
vtkCPExodusIIResultsArrayTemplate
vtkExodusIIReaderParser
vtkExodusIIReaderVariableCheck
WRAP_EXCLUDE
)
set(vtkIOExodus_HDRS
vtkCPExodusIINodalCoordinatesTemplate.h
vtkCPExodusIIResultsArrayTemplate.h | 96c8af9baba2455050a458f468859ff89fdccda9 | IO/Exodus/CMakeLists.txt | IO/Exodus/CMakeLists.txt | Text |
<|file_sep|>original/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
});
<|file_sep|>current/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
});
<|file_sep|>updated/tests.js | date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
logger.lineBreak();
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
}); | <|file_sep|>original/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
});
<|file_sep|>current/tests.js
prefix: 'my new app',
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
});
<|file_sep|>updated/tests.js
date: false
});
logger.error("Test 6");
logger = logit();
logger.error("Test 7");
var obj = {"data": "test", "another data": 2};
logger.info(obj);
var tab = ["el1", "el2"];
logger.info(tab);
logger.info('arg1', 'arg2');
logger.lineBreak();
fs = require('fs');
fs.lstat('notexist', function(err) {
logger.error(err);
}); | 5583da7b0961b3f3d94ff08faf606fa5fbaab5f9 | tests.js | tests.js | JavaScript |
<|file_sep|>original/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>current/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>updated/app/views/adminable/resources/index/_has_many.html.haml | - if entry
= Adminable::Presenters::Entries.new(entry.public_send(attribute.name)).to_s | <|file_sep|>original/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>current/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::EntriesPresenter.new(entry.public_send(attribute.name)).to_s
<|file_sep|>updated/app/views/adminable/resources/index/_has_many.html.haml
- if entry
= Adminable::Presenters::Entries.new(entry.public_send(attribute.name)).to_s | a78ee20a04599cf2bbea2427936e7b6e7be3eddf | app/views/adminable/resources/index/_has_many.html.haml | app/views/adminable/resources/index/_has_many.html.haml | Haml |
<|file_sep|>roles/ceilometer-common/handlers/main.yml.diff
original:
updated:
failed_when: false
<|file_sep|>original/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}"
<|file_sep|>current/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}"
<|file_sep|>updated/roles/ceilometer-common/handlers/main.yml | ---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}" | <|file_sep|>roles/ceilometer-common/handlers/main.yml.diff
original:
updated:
failed_when: false
<|file_sep|>original/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}"
<|file_sep|>current/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}"
<|file_sep|>updated/roles/ceilometer-common/handlers/main.yml
---
- name: restart ceilometer services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_api }}"
- "{{ ceilometer.services.ceilometer_collector }}"
- "{{ ceilometer.services.ceilometer_notification }}"
- "{{ ceilometer.services.ceilometer_polling }}"
- name: restart ceilometer data services
service: name={{ item.name }} state=restarted must_exist=false
when: restart|default('True')
failed_when: false
with_items:
- "{{ ceilometer.services.ceilometer_polling }}"
- "{{ ceilometer.services.ceilometer_polling_compute }}" | 1130f4b162b485066e9a1c7a7744736bcffa9931 | roles/ceilometer-common/handlers/main.yml | roles/ceilometer-common/handlers/main.yml | YAML |
<|file_sep|>original/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>current/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>updated/dev/app/components/landing/enable-student/enable-student.scss | .enable-student {
.student.container{
background: transparent;
width: 80%;
}
.form-control:focus {
border-color: none;
box-shadow: none;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
input{
border-color: #4F628E;
outline: none;
}
.col-xs-12.col-sm-8.col-md-6.col-sm-offset-2.col-md-offset-3{
background: transparent;
padding-left: 20px; | <|file_sep|>original/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>current/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
}
<|file_sep|>updated/dev/app/components/landing/enable-student/enable-student.scss
.enable-student {
.student.container{
background: transparent;
width: 80%;
}
.form-control:focus {
border-color: none;
box-shadow: none;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}
input{
border-color: #4F628E;
outline: none;
}
.col-xs-12.col-sm-8.col-md-6.col-sm-offset-2.col-md-offset-3{
background: transparent;
padding-left: 20px; | ca0b555236a005348aa2fa42c29a2f358d8a7d04 | dev/app/components/landing/enable-student/enable-student.scss | dev/app/components/landing/enable-student/enable-student.scss | SCSS |
<|file_sep|>setup.py.diff
original:
updated:
import time
<|file_sep|>original/setup.py
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
PageKite works around NAT, firewalls and IP-address limitations by
<|file_sep|>current/setup.py
import os
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
<|file_sep|>updated/setup.py | import os
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github', 'dev%d' % time.time()),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
PageKite works around NAT, firewalls and IP-address limitations by | <|file_sep|>setup.py.diff
original:
updated:
import time
<|file_sep|>original/setup.py
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
PageKite works around NAT, firewalls and IP-address limitations by
<|file_sep|>current/setup.py
import os
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
<|file_sep|>updated/setup.py
import os
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
setup(
name="pagekite",
version=APPVER.replace('github', 'dev%d' % time.time()),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="bre@pagekite.net",
url="http://pagekite.org/",
description="""PageKite makes localhost servers visible to the world.""",
long_description="""\
PageKite is a system for running publicly visible servers (generally
web servers) on machines without a direct connection to the Internet,
such as mobile devices or computers behind restrictive firewalls.
PageKite works around NAT, firewalls and IP-address limitations by | 2e08d602ca6ac1c4ae32d84d9013fa36f6f45f9f | setup.py | setup.py | Python |
<|file_sep|>original/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField()
voted_against = models.PositiveIntegerField()
voted_abstain = models.PositiveIntegerField()
statement = models.TextField()
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
<|file_sep|>current/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField()
voted_against = models.PositiveIntegerField()
voted_abstain = models.PositiveIntegerField()
statement = models.TextField()
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
<|file_sep|>updated/protocols/models.py | from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField(blank=True, null=True)
voted_against = models.PositiveIntegerField(blank=True, null=True)
voted_abstain = models.PositiveIntegerField(blank=True, null=True)
statement = models.TextField(blank=True, null=True)
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
| <|file_sep|>original/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField()
voted_against = models.PositiveIntegerField()
voted_abstain = models.PositiveIntegerField()
statement = models.TextField()
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
<|file_sep|>current/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField()
voted_against = models.PositiveIntegerField()
voted_abstain = models.PositiveIntegerField()
statement = models.TextField()
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
<|file_sep|>updated/protocols/models.py
from datetime import datetime
from django.db import models
class Topic(models.Model):
name = models.CharField(max_length=100)
description = models.TextField(blank=True, null=True)
attachment = models.ManyToManyField('attachments.Attachment')
voted_for = models.PositiveIntegerField(blank=True, null=True)
voted_against = models.PositiveIntegerField(blank=True, null=True)
voted_abstain = models.PositiveIntegerField(blank=True, null=True)
statement = models.TextField(blank=True, null=True)
def __unicode__(self):
return self.name
class Institution(models.Model):
name = models.CharField(max_length=64)
| 6cabf9c03cd40ae748d03f1a2fd3f4f3db6c47a5 | protocols/models.py | protocols/models.py | Python |
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1
<|file_sep|>current/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1
<|file_sep|>updated/.github/workflows/mkdocs-requirements.txt | click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.9
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1 | <|file_sep|>original/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1
<|file_sep|>current/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.8
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1
<|file_sep|>updated/.github/workflows/mkdocs-requirements.txt
click==8.1.3
future==0.18.2
Jinja2==3.1.2
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.7
MarkupSafe==2.1.1
mkdocs==1.3.0
mkdocs-macros-plugin==0.7.0
mkdocs-material==8.3.9
mkdocs-material-extensions==1.0.3
Pygments==2.12.0
pymdown-extensions==9.5
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor==1.1.0
tornado==6.1 | 87bcfb7a7afba3f65d5aaa74bd17d503a661526d | .github/workflows/mkdocs-requirements.txt | .github/workflows/mkdocs-requirements.txt | Text |
<|file_sep|>original/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
<|file_sep|>current/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
<|file_sep|>updated/clang.cmake | SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wshadow -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
| <|file_sep|>original/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
<|file_sep|>current/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
<|file_sep|>updated/clang.cmake
SET (CMAKE_C_COMPILER "clang")
SET (CMAKE_CXX_COMPILER "clang++")
SET(CMAKE_C_FLAGS "-pipe -Wall -Wextra -Wshadow -Wwrite-strings -std=c99 -pedantic -O2 -fomit-frame-pointer" CACHE STRING "" FORCE)
SET (CMAKE_EXE_LINKER_FLAGS "-Wl,-O2 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--gc-sections" CACHE STRING "" FORCE)
MESSAGE (STATUS "Found CLANG toolchain")
| 61098d902022c7530fae705b27a48d7e24b1b969 | clang.cmake | clang.cmake | CMake |
<|file_sep|>functions/fn_moduleCQBSpawner.sqf.diff
original:
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
updated:
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
<|file_sep|>original/functions/fn_moduleCQBSpawner.sqf
private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
if (_activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true
<|file_sep|>current/functions/fn_moduleCQBSpawner.sqf
private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
if (_activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true
<|file_sep|>updated/functions/fn_moduleCQBSpawner.sqf | private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
if (!(isNull _logic) && _activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true | <|file_sep|>functions/fn_moduleCQBSpawner.sqf.diff
original:
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
updated:
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
<|file_sep|>original/functions/fn_moduleCQBSpawner.sqf
private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = [_this, 0, objNull, [objNull]] call BIS_fnc_param;
_activated = [_this, 2, true, [true]] call BIS_fnc_param;
if (_activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true
<|file_sep|>current/functions/fn_moduleCQBSpawner.sqf
private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
if (_activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true
<|file_sep|>updated/functions/fn_moduleCQBSpawner.sqf
private ["_logic", "_activated", "_bases", "_areas", "_settings", "_spawns"];
_logic = param [0, objNull, [objNull]];
_activated = param [2, true, [true]];
if (!(isNull _logic) && _activated) then {
_bases = [(synchronizedObjects _logic), { _x isKindOf "LocationBase_F" }] call CBA_fnc_select;
_areas = [(synchronizedObjects _logic), { _x isKindOf "LocationArea_F" }] call CBA_fnc_select;
_settings = [_logic] call HEHU_MF_fnc_getSpawnerSettings;
_spawns = [_settings, _bases, _areas] call HEHU_MF_fnc_getSpawns;
[_spawns, _settings] call HEHU_MF_fnc_spawn;
};
true | 64a29ba2384a69f050e67d4e8183c50a95ecc1eb | functions/fn_moduleCQBSpawner.sqf | functions/fn_moduleCQBSpawner.sqf | SQF |
<|file_sep|>original/objc/message.h
<|file_sep|>current/objc/message.h
<|file_sep|>updated/objc/message.h | #ifndef _OBJC_MESSAGE_H_
#define _OBJC_MESSAGE_H_
#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \
defined(__mips_n64) || defined(__mips_n32)
/**
* Standard message sending function. This function must be cast to the
* correct types for the function before use. The first argument is the
* receiver and the second the selector.
*
* Note that this function is not available on all architectures. For a more
* portable solution to sending arbitrary messages, consider using
* objc_msg_lookup_sender() and then calling the returned IMP directly.
*
* This version of the function is used for all messages that return either an
* integer, a pointer, or a small structure value that is returned in
* registers. Be aware that calling conventions differ between operating
* systems even within the same architecture, so take great care if using this
* function for small (two integer) structures.
*/
id objc_msgSend(id self, SEL _cmd, ...); | <|file_sep|>original/objc/message.h
<|file_sep|>current/objc/message.h
<|file_sep|>updated/objc/message.h
#ifndef _OBJC_MESSAGE_H_
#define _OBJC_MESSAGE_H_
#if defined(__x86_64) || defined(__i386) || defined(__arm__) || \
defined(__mips_n64) || defined(__mips_n32)
/**
* Standard message sending function. This function must be cast to the
* correct types for the function before use. The first argument is the
* receiver and the second the selector.
*
* Note that this function is not available on all architectures. For a more
* portable solution to sending arbitrary messages, consider using
* objc_msg_lookup_sender() and then calling the returned IMP directly.
*
* This version of the function is used for all messages that return either an
* integer, a pointer, or a small structure value that is returned in
* registers. Be aware that calling conventions differ between operating
* systems even within the same architecture, so take great care if using this
* function for small (two integer) structures.
*/
id objc_msgSend(id self, SEL _cmd, ...); | d7f50666d97c89c03e2ab8679a7c20523e14b11d | objc/message.h | objc/message.h | C |
<|file_sep|>src/UserScriptHeader.js.diff
original:
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
updated:
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
<|file_sep|>original/src/UserScriptHeader.js
// ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @grant none
// ==/UserScript==
<|file_sep|>current/src/UserScriptHeader.js
// ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @grant none
// ==/UserScript==
<|file_sep|>updated/src/UserScriptHeader.js | // ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @updateURL https://github.com/coaster3000/pmd-roleplay-beta/raw/releases/dist/pmd-roleplay-beta.meta.js
// @downloadURL https://github.com/coaster3000/pmd-roleplay-beta/raw/releases/dist/pmd-roleplay-beta.user.js
// @grant none
// ==/UserScript== | <|file_sep|>src/UserScriptHeader.js.diff
original:
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
updated:
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
<|file_sep|>original/src/UserScriptHeader.js
// ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description Provides the necessary userscripts to test out features for the site. These are scripts that will be placed on the site.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @grant none
// ==/UserScript==
<|file_sep|>current/src/UserScriptHeader.js
// ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @grant none
// ==/UserScript==
<|file_sep|>updated/src/UserScriptHeader.js
// ==UserScript==
// @name pmd-rp-beta
// @namespace coaster3000@pmd-roleplay.forumotion.com
// @description A userscript that provides all the custom new site features that are being tested. Once fully tested, these features are removed from this script and added to the site for global use.
// @include http://pmd-roleplay.forumotion.org/*
// @include https://pmd-roleplay.forumotion.org/*
// @match https://pmd-roleplay.forumotion.org/*
// @match http://pmd-roleplay.foruomtion.org/*
// @version @VERSION@
// @updateURL https://github.com/coaster3000/pmd-roleplay-beta/raw/releases/dist/pmd-roleplay-beta.meta.js
// @downloadURL https://github.com/coaster3000/pmd-roleplay-beta/raw/releases/dist/pmd-roleplay-beta.user.js
// @grant none
// ==/UserScript== | 23d453aa21367023f4098953ddd8b4c7581591de | src/UserScriptHeader.js | src/UserScriptHeader.js | JavaScript |
<|file_sep|>original/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i];
return res;
}
}
<|file_sep|>current/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i];
return res;
}
}
<|file_sep|>updated/src/peergos/shared/user/JavaScriptPoster.java | @Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
@JsMethod
public static byte[] emptyArray() {
return new byte[0];
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i]; | <|file_sep|>original/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i];
return res;
}
}
<|file_sep|>current/src/peergos/shared/user/JavaScriptPoster.java
}
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i];
return res;
}
}
<|file_sep|>updated/src/peergos/shared/user/JavaScriptPoster.java
@Override
public CompletableFuture<byte[]> postMultipart(String url, List<byte[]> files) {
return http.postMultipart(url, files);
}
@Override
public CompletableFuture<byte[]> get(String url) {
return http.get(url);
}
@JsMethod
public static byte[] emptyArray() {
return new byte[0];
}
// This is an ugly hack to convert Uint8Array to a valid byte[]
@JsMethod
public static byte[] convertToBytes(short[] uints) {
byte[] res = new byte[uints.length];
for (int i=0; i < res.length; i++)
res[i] = (byte) uints[i]; | 46d7dbf65eb52b8b8bbe904e64fe50a979fbd4c3 | src/peergos/shared/user/JavaScriptPoster.java | src/peergos/shared/user/JavaScriptPoster.java | Java |
<|file_sep|>README.md.diff
original:
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
updated:
<|file_sep|>original/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
<|file_sep|>current/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
<|file_sep|>updated/README.md | # Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
>️ ℹ️ Vue GWT is in an **beta** state.
It may still contain some bugs.
> We are looking for feedback and contributions.
If you use it on a small project, please [let us know how it goes](https://gitter.im/Axellience/vue-gwt). | <|file_sep|>README.md.diff
original:
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
updated:
<|file_sep|>original/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
:warning: Vue GWT is in an **experimental** state.
The syntax is not final and might change between versions.
It may also contains bugs. :warning:
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
<|file_sep|>current/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
<|file_sep|>updated/README.md
# Vue GWT Demo
Simple demo GWT app using [Vue GWT](https://github.com/Axellience/vue-gwt).
Vue GWT integrates [Vue.js](https://vuejs.org/) with [GWT](http://www.gwtproject.org/) 2.8 using [JsInterop](https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/view).
Vue GWT makes heavy use of Vue.js, it's recommended to read [Vue.js introduction guide](https://vuejs.org/v2/guide/) if you are not familiar with it.
This demo uses [Materialize](http://materializecss.com) for the style, but you can use any CSS framework you wish.
>️ ℹ️ Vue GWT is in an **beta** state.
It may still contain some bugs.
> We are looking for feedback and contributions.
If you use it on a small project, please [let us know how it goes](https://gitter.im/Axellience/vue-gwt). | 9c1a19794360964b216ff61913b783aba96fd5d3 | README.md | README.md | Markdown |
<|file_sep|>original/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(value: PosInt)
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
}
<|file_sep|>current/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(value: PosInt)
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
}
<|file_sep|>updated/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala |
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
property("roundtrip success") = secure {
val config = Config(1)
val configValue = ConfigConvert[Config].to(config)
ConfigConvert[Config].from(configValue) ?=
Success(config)
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
} | <|file_sep|>original/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(value: PosInt)
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
}
<|file_sep|>current/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
import pureconfig._
import scala.util.{Failure, Success, Try}
class RefTypeConfigConvertSpec extends Properties("RefTypeConfigConvert") {
type PosInt = Int Refined Positive
case class Config(value: PosInt)
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
}
<|file_sep|>updated/contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala
property("load success") = secure {
loadConfigWithValue("1") ?=
Success(Config(1))
}
property("load failure") = secure {
loadConfigWithValue("0") =?
Failure(PredicateFailedException("Predicate failed: (0 > 0)."))
}
property("roundtrip success") = secure {
val config = Config(1)
val configValue = ConfigConvert[Config].to(config)
ConfigConvert[Config].from(configValue) ?=
Success(config)
}
def loadConfigWithValue(value: String): Try[Config] =
loadConfig[Config](ConfigFactory.parseString(s"value = $value"))
} | 97b3b3a4acba5e8d94c21b81a6ef2e55f2381abd | contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala | contrib/pureconfig/jvm/src/test/scala/eu/timepit/refined/pureconfig/RefTypeConfigConvertSpec.scala | Scala |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.