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|>tests/unit/WP_CLI_Login_ServerTest.php.diff
original:
updated:
use PHPUnit\Framework\TestCase;
<|file_sep|>original/tests/unit/WP_CLI_Login_ServerTest.php
<?php
use WP_CLI_Login\WP_CLI_Login_Server;
if (! class_exists('PHPUnit_Framework_TestCase')) {
class_alias('PHPUnit\Framework\TestCase', 'PHPUnit... | <?php
use PHPUnit\Framework\TestCase;
use WP_CLI_Login\WP_CLI_Login_Server;
class WP_CLI_Login_ServerTest extends TestCase
{
/** @test */
function parses_endpoint_and_key_from_uri()
{
list($endpoint, $public) = WP_CLI_Login_Server::parseUri('/end/key');
$this->assertSame('end', $endpoint)... | <|file_sep|>tests/unit/WP_CLI_Login_ServerTest.php.diff
original:
updated:
use PHPUnit\Framework\TestCase;
<|file_sep|>original/tests/unit/WP_CLI_Login_ServerTest.php
<?php
use WP_CLI_Login\WP_CLI_Login_Server;
if (! class_exists('PHPUnit_Framework_TestCase')) {
class_alias('PHPUnit\Framework\TestCase', 'PHPUnit... | 8dd53f843a410f65984eae3a09cbc857d7117b59 | tests/unit/WP_CLI_Login_ServerTest.php | tests/unit/WP_CLI_Login_ServerTest.php | PHP |
<|file_sep|>original/.github/workflows/main.yml
dependency-versions: ${{ matrix.dependency-versions }}
- name: Run PHP CS
run: phpcs --standard=PSR12 src tests
- name: Run PHP CS Fixer
run: php-cs-fixer fix --diff --dry-run
- name: Run PHPStan
run: phpstan analyse src tests
... | dependency-versions: ${{ matrix.dependency-versions }}
- name: Run PHP CS
run: phpcs --standard=PSR12 src tests
- name: Run PHP CS Fixer
run: php-cs-fixer fix --diff --dry-run
- name: Run PHPStan
run: phpstan analyse src tests
- name: Test & Generate Code Coverage
run... | <|file_sep|>original/.github/workflows/main.yml
dependency-versions: ${{ matrix.dependency-versions }}
- name: Run PHP CS
run: phpcs --standard=PSR12 src tests
- name: Run PHP CS Fixer
run: php-cs-fixer fix --diff --dry-run
- name: Run PHPStan
run: phpstan analyse src tests
... | 41e8328d1916aa8de0bd7e3cb93340bb8cc6323d | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/README.md
The example usage is taking a picture and uploading it to Firebase
// Do not forget to include the file (<script src='path/to/cf-upload-file.js'></script>)
var storageRef = "path/to/firebase/storage";
var options = {
sourceType: Camera.PictureSourceType.CAMERA,
destinationType: ... | The example usage is taking a picture and uploading it to Firebase
// Do not forget to include the file (<script src='path/to/cf-upload-file.js'></script>)
var storageRef = "path/to/firebase/storage";
var options = {
sourceType: Camera.PictureSourceType.CAMERA,
destinationType: Camera.DestinationType.FILE_URI... | <|file_sep|>original/README.md
The example usage is taking a picture and uploading it to Firebase
// Do not forget to include the file (<script src='path/to/cf-upload-file.js'></script>)
var storageRef = "path/to/firebase/storage";
var options = {
sourceType: Camera.PictureSourceType.CAMERA,
destinationType: ... | e13e2a767a06f6bd7fa4a9c979dd5ffa6c167ca8 | README.md | README.md | Markdown |
<|file_sep|>package.json.diff
original:
"version": "0.1.0-10",
updated:
"version": "0.1.0-16",
<|file_sep|>package.json.diff
original:
"github": "latest"
updated:
"github": "latest",
"request": "latest"
<|file_sep|>original/package.json
"repository": {
"type": "git"
},
"dependencies": {
"u... | "repository": {
"type": "git"
},
"dependencies": {
"underscore": "latest",
"express": "latest",
"mongoose": "latest",
"request-extend": "latest",
"node-schedule": "latest",
"github": "latest",
"request": "latest"
},
"devDependencies": {
"chai": "latest",
"mocha": "lates... | <|file_sep|>package.json.diff
original:
"version": "0.1.0-10",
updated:
"version": "0.1.0-16",
<|file_sep|>package.json.diff
original:
"github": "latest"
updated:
"github": "latest",
"request": "latest"
<|file_sep|>original/package.json
"repository": {
"type": "git"
},
"dependencies": {
"u... | b453200ba9e06aa17d318442d73fcc90e984d8e8 | package.json | package.json | JSON |
<|file_sep|>original/app/controllers/pages_controller.rb
class PagesController < ApplicationController
def home
end
def error
redirect_to root_path if flash.empty?
end
end
<|file_sep|>current/app/controllers/pages_controller.rb
class PagesController < ApplicationController
def home
end
def error
... | class PagesController < ApplicationController
skip_authorization_check
skip_before_action :authenticate_user!
def home
end
def error
redirect_to root_path if flash.empty?
end
end | <|file_sep|>original/app/controllers/pages_controller.rb
class PagesController < ApplicationController
def home
end
def error
redirect_to root_path if flash.empty?
end
end
<|file_sep|>current/app/controllers/pages_controller.rb
class PagesController < ApplicationController
def home
end
def error
... | cb34824c9f113d3b4197f2a3cbcf3fbcef9de884 | app/controllers/pages_controller.rb | app/controllers/pages_controller.rb | Ruby |
<|file_sep|>MitternachtWeb/Program.cs.diff
original:
updated:
using System;
using System.IO;
<|file_sep|>MitternachtWeb/Program.cs.diff
original:
updated:
config.SetBasePath(Environment.CurrentDirectory);
<|file_sep|>original/MitternachtWeb/Program.cs
using Microsoft.Extensions.Hosting;
using Mitternacht;
using S... | namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
MitternachtBot = new MitternachtBot(0, 0);
await MitternachtBot.RunAsync(args);
await CreateHostBuilder(args).Build().RunAsync();
}
public static IHostBui... | <|file_sep|>MitternachtWeb/Program.cs.diff
original:
updated:
using System;
using System.IO;
<|file_sep|>MitternachtWeb/Program.cs.diff
original:
updated:
config.SetBasePath(Environment.CurrentDirectory);
<|file_sep|>original/MitternachtWeb/Program.cs
using Microsoft.Extensions.Hosting;
using Mitternacht;
using S... | 82580726c2b9d69b8fc83b0a10325425ccdad647 | MitternachtWeb/Program.cs | MitternachtWeb/Program.cs | C# |
<|file_sep|>original/README.rst
skosprovider: vocabulary abstraction
====================================
This library helps abstract vocabularies that stick to the SKOS specification.
<|file_sep|>current/README.rst
skosprovider: vocabulary abstraction
====================================
This library helps abstract ... | skosprovider: vocabulary abstraction
====================================
This library helps abstract vocabularies that stick to the SKOS specification.
.. image:: https://secure.travis-ci.org/koenedaele/skosprovider.png
:target: https://secure.travis-ci.org/koenedaele/skosprovider | <|file_sep|>original/README.rst
skosprovider: vocabulary abstraction
====================================
This library helps abstract vocabularies that stick to the SKOS specification.
<|file_sep|>current/README.rst
skosprovider: vocabulary abstraction
====================================
This library helps abstract ... | aa6fc5b3495d1a66ff18dda94a5656b36bb44b08 | README.rst | README.rst | reStructuredText |
<|file_sep|>src/PeerReview/Web/API.hs.diff
original:
either json json (reviewWithId <$> eReview)
updated:
either json json (reviewResponse <$> eReview)
<|file_sep|>src/PeerReview/Web/API.hs.diff
original:
update _ = json =<< liftIO (reviewWithId <$> updateReview)
updated:
update _ = json =<< liftIO (reviewRespo... | update :: Int -> Action ctx a
update _ = json =<< liftIO (reviewResponse <$> updateReview)
-- TODO: different kind of listings.
list :: Action ctx a
list = do
let email = "user1"
e <- asEnv <$> getState
json =<< liftIO (fmap reviewResponse <$> listReviewsForUser e email)
find :: Int -> Action ctx a
find r... | <|file_sep|>src/PeerReview/Web/API.hs.diff
original:
either json json (reviewWithId <$> eReview)
updated:
either json json (reviewResponse <$> eReview)
<|file_sep|>src/PeerReview/Web/API.hs.diff
original:
update _ = json =<< liftIO (reviewWithId <$> updateReview)
updated:
update _ = json =<< liftIO (reviewRespo... | f9d8c3ef9ea65aa54a48657dc4356a0573648e1a | src/PeerReview/Web/API.hs | src/PeerReview/Web/API.hs | Haskell |
<|file_sep|>original/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java
<|file_sep|>current/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java
<|file_sep|>updated/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java | package dhbw.verteiltesysteme.quizduell.server.model;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
public enum Database {
ENTITY_MANAGER(Persistence.createEntityManagerFactory("emf"));
private EntityManager entityManager;
Da... | <|file_sep|>original/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java
<|file_sep|>current/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java
<|file_sep|>updated/src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java
package dhbw.verteiltesysteme.quizduel... | 41d08154c95d8eb4b9892a3c72b0b5167c64ed5e | src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java | src/main/java/dhbw/verteiltesysteme/quizduell/server/model/Database.java | Java |
<|file_sep|>install.sh.diff
original:
updated:
echo
<|file_sep|>install.sh.diff
original:
updated:
echo
<|file_sep|>original/install.sh
#!/bin/sh
function title {
WIDTH=80
PADDING=$(($WIDTH - ${#1}))
printf "\033[44;97m%*s\n" $WIDTH
printf "%*s%*s\n" $(( $PADDING / 2 + ${#1} )) "$1" $(( $PADDING / 2 + $P... | #!/bin/sh
function title {
WIDTH=80
PADDING=$(($WIDTH - ${#1}))
echo
printf "\033[44;97m%*s\n" $WIDTH
printf "%*s%*s\n" $(( $PADDING / 2 + ${#1} )) "$1" $(( $PADDING / 2 + $PADDING % 2 ))
printf "%*s\n\033[0;0m" $WIDTH
echo
}
title "DOTFILES Installation"
title "Install OS X Command Line Tools"
xcode-s... | <|file_sep|>install.sh.diff
original:
updated:
echo
<|file_sep|>install.sh.diff
original:
updated:
echo
<|file_sep|>original/install.sh
#!/bin/sh
function title {
WIDTH=80
PADDING=$(($WIDTH - ${#1}))
printf "\033[44;97m%*s\n" $WIDTH
printf "%*s%*s\n" $(( $PADDING / 2 + ${#1} )) "$1" $(( $PADDING / 2 + $P... | cfeebe8073d98e48426b63ef5bb38be0ccd8b80e | install.sh | install.sh | Shell |
<|file_sep|>original/package.json
{
"name": "tigefa",
"private": true,
"dependencies": {
"@rails/ujs": "6.0.2",
"turbolinks": "5.2.0",
"@rails/activestorage": "6.0.2",
"@rails/actioncable": "6.0.2"
},
"devDependencies": {
"sass": "1.26.5",
"vanilla-framework": "2.10.1"
},
"version"... | {
"name": "tigefa",
"private": true,
"dependencies": {
"@rails/ujs": "6.0.2",
"turbolinks": "5.2.0",
"@rails/activestorage": "6.0.2",
"@rails/actioncable": "6.0.3"
},
"devDependencies": {
"sass": "1.26.5",
"vanilla-framework": "2.10.1"
},
"version": "0.1.0"
} | <|file_sep|>original/package.json
{
"name": "tigefa",
"private": true,
"dependencies": {
"@rails/ujs": "6.0.2",
"turbolinks": "5.2.0",
"@rails/activestorage": "6.0.2",
"@rails/actioncable": "6.0.2"
},
"devDependencies": {
"sass": "1.26.5",
"vanilla-framework": "2.10.1"
},
"version"... | c5e7261503f9b3166c00b0de2c18f0655d6b9f50 | package.json | package.json | JSON |
<|file_sep|>original/request-controller/src/main/resources/org/wildfly/extension/requestcontroller/LocalDescriptions.properties
request-controller=The request controller subsystem. Used for request limiting and graceful shutdown
request-controller.add=Adds the request controller subsystem
request-controller.remove=Remo... | request-controller=The request controller subsystem. Used for request limiting and graceful shutdown.
request-controller.add=Adds the request controller subsystem.
request-controller.remove=Removes the request controller subsystem.
request-controller.max-requests=The maximum number of all types of requests that can be ... | <|file_sep|>original/request-controller/src/main/resources/org/wildfly/extension/requestcontroller/LocalDescriptions.properties
request-controller=The request controller subsystem. Used for request limiting and graceful shutdown
request-controller.add=Adds the request controller subsystem
request-controller.remove=Remo... | 4ad6672bef3c765045c9c8d4094ff0f613c4d8df | request-controller/src/main/resources/org/wildfly/extension/requestcontroller/LocalDescriptions.properties | request-controller/src/main/resources/org/wildfly/extension/requestcontroller/LocalDescriptions.properties | INI |
<|file_sep|>README.rst.diff
original:
Version 0.1.0
updated:
Version 0.1.1
<|file_sep|>original/README.rst
Version 0.1.0
Unified object oriented interface for interacting with file system objects.
File system operations in python are distributed across modules: os, os.path,
fnamtch, shutil and distutils. This module a... | Version 0.1.1
Unified object oriented interface for interacting with file system objects.
File system operations in python are distributed across modules: os, os.path,
fnmatch, shutil and distutils. This module attempts to make the right choices
for common operations to provide a single interface.
This was extracted ... | <|file_sep|>README.rst.diff
original:
Version 0.1.0
updated:
Version 0.1.1
<|file_sep|>original/README.rst
Version 0.1.0
Unified object oriented interface for interacting with file system objects.
File system operations in python are distributed across modules: os, os.path,
fnamtch, shutil and distutils. This module a... | 2433c3a6fd79c6f1710270ed8b96cde7ab64c1d0 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/run_tests.sh
# Runs the unit tests used in scisheets
cd mysite
echo "**********************************"
echo "*********** scisheets ***************"
echo "**********************************"
echo "*scisheets.helpers"
python manage.py test scisheets.helpers
echo "*scisheets.ui"
python manage.py tes... | # Runs the unit tests used in scisheets
cd mysite
echo "**********************************"
echo "*********** scisheets ***************"
echo "**********************************"
echo "*scisheets.helpers"
python manage.py test scisheets.helpers
echo "*scisheets.ui"
python manage.py test scisheets.ui
echo "*scisheets.pl... | <|file_sep|>original/run_tests.sh
# Runs the unit tests used in scisheets
cd mysite
echo "**********************************"
echo "*********** scisheets ***************"
echo "**********************************"
echo "*scisheets.helpers"
python manage.py test scisheets.helpers
echo "*scisheets.ui"
python manage.py tes... | 2b9e19d07875f7cc71d17bc5a4a1968e962e008b | run_tests.sh | run_tests.sh | Shell |
<|file_sep|>original/falmer/auth/types.py
return self.pk
# this is a quick hack until we work on permissions etc
def resolve_has_cms_access(self, info):
return self.has_perm('wagtailadmin.access_admin')
def resolve_permissions(self, info):
return self.get_permissions()
class Perm... | def resolve_has_cms_access(self, info):
return self.has_perm('wagtailadmin.access_admin')
def resolve_permissions(self, info):
return self.get_permissions()
class Permission(DjangoObjectType):
content_type = graphene.String()
class Meta:
model = DjangoPermission
field... | <|file_sep|>original/falmer/auth/types.py
return self.pk
# this is a quick hack until we work on permissions etc
def resolve_has_cms_access(self, info):
return self.has_perm('wagtailadmin.access_admin')
def resolve_permissions(self, info):
return self.get_permissions()
class Perm... | 6153f18bda4dcf3601df91b60787453af1517b78 | falmer/auth/types.py | falmer/auth/types.py | Python |
<|file_sep|>original/gradle.properties
aspectjVersion=1.9.6
springJavaformatVersion=0.0.28
springBootVersion=2.4.2
openSamlVersion=3.4.6
version=5.6.0-SNAPSHOT
kotlinVersion=1.5.0
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.parallel=true
org.gradle.caching=true
<|file_sep|... | aspectjVersion=1.9.6
springJavaformatVersion=0.0.28
springBootVersion=2.4.2
openSamlVersion=3.4.6
version=5.6.0-SNAPSHOT
kotlinVersion=1.5.0
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.parallel=true
org.gradle.caching=true
kotlin.stdlib.default.dependency=false | <|file_sep|>original/gradle.properties
aspectjVersion=1.9.6
springJavaformatVersion=0.0.28
springBootVersion=2.4.2
openSamlVersion=3.4.6
version=5.6.0-SNAPSHOT
kotlinVersion=1.5.0
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.parallel=true
org.gradle.caching=true
<|file_sep|... | 20751d206332d1dd0900ae4bc1fe103ccf6b43db | gradle.properties | gradle.properties | INI |
<|file_sep|>test/endpoints/account.js.diff
original:
var assert = require('assert');
var sinon = require('sinon');
updated:
const assert = require('assert');
const sinon = require('sinon');
<|file_sep|>test/endpoints/account.js.diff
original:
var Account = require('../../lib/endpoints/account');
var Request = require('... |
account.changePassword(expected);
assert.ok(stub.called);
});
});
describe('info', () => {
it('should set the request URL', () => {
const request = new Request();
const account = new Account(request);
const stub = sinon.stub(request,... | <|file_sep|>test/endpoints/account.js.diff
original:
var assert = require('assert');
var sinon = require('sinon');
updated:
const assert = require('assert');
const sinon = require('sinon');
<|file_sep|>test/endpoints/account.js.diff
original:
var Account = require('../../lib/endpoints/account');
var Request = require('... | c6335c604a1495d2526f6f395e429e065f9317af | test/endpoints/account.js | test/endpoints/account.js | JavaScript |
<|file_sep|>marathon_acme/cli.py.diff
original:
@click.option('--listen',
help=("The address of the interface and port to bind to to "
"receive Marathon's event stream"),
default='0.0.0.0:7000',
show_default=True)
@click.option('--advertise', default='http:/... | @click.option('--marathon', default='http://marathon.mesos:8080',
help='The address for the Marathon HTTP API',
show_default=True)
@click.option('--poll',
help=("Periodically check Marathon's state every _n_ seconds "
"[default: disabled]"),
ty... | <|file_sep|>marathon_acme/cli.py.diff
original:
@click.option('--listen',
help=("The address of the interface and port to bind to to "
"receive Marathon's event stream"),
default='0.0.0.0:7000',
show_default=True)
@click.option('--advertise', default='http:/... | dab4ca109b852154bc34c468ffe598b22abf7040 | marathon_acme/cli.py | marathon_acme/cli.py | Python |
<|file_sep|>.travis.yml.diff
original:
- "io.js"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "io.js"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate < coverage/lcov.info
<|file_sep|>current/.travis.yml
... | language: node_js
node_js:
- "0.10"
- "0.12"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < coverage/lcov.info | <|file_sep|>.travis.yml.diff
original:
- "io.js"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
- "io.js"
sudo: false
script: "gulp coverage"
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate < coverage/lcov.info
<|file_sep|>current/.travis.yml
... | dbf3648d2b3cecba34650d484a82a5ae36e9afda | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/card-view.js
render: function() {
this.$el.html(this.template());
return this;
},
appendToDeck: function(selector) {
var $deck = $(selector);
if ($deck.length) {
this.$el.appendTo($deck.get(0).$__retargetRoot);
}
},
appendToOwner: func... |
appendToDeck: function(selector) {
var $deck = $(selector);
if ($deck.length) {
this.$el.appendTo($deck.get(0).$__retargetRoot);
}
},
appendToOwner: function() {
var owner = this.model.get('owner');
var selector;
if (this.model.isInHand()) {
var id = own... | <|file_sep|>original/src/card-view.js
render: function() {
this.$el.html(this.template());
return this;
},
appendToDeck: function(selector) {
var $deck = $(selector);
if ($deck.length) {
this.$el.appendTo($deck.get(0).$__retargetRoot);
}
},
appendToOwner: func... | 649fb7ad2acd1a5c3879bc6ab031448a15d089a7 | src/card-view.js | src/card-view.js | JavaScript |
<|file_sep|>README.md.diff
original:
## Tests
First install dev dependencies:
updated:
## For development and tests:
<|file_sep|>original/README.md
``` jade
- for(message in flash()){
div(class="alert-#{message.type}") #{message.message}
- }
```
## Tests
First install dev dependencies:
``` sh
npm install --dev... |
``` jade
- for(message in flash()){
div(class="alert-#{message.type}") #{message.message}
- }
```
## For development and tests:
``` sh
git clone https://github.com/thiagobs/simple-flash.git && cd simple-flash
npm install
```
Run tests:
``` sh
npm test
```
## License | <|file_sep|>README.md.diff
original:
## Tests
First install dev dependencies:
updated:
## For development and tests:
<|file_sep|>original/README.md
``` jade
- for(message in flash()){
div(class="alert-#{message.type}") #{message.message}
- }
```
## Tests
First install dev dependencies:
``` sh
npm install --dev... | f7f0a97f59259cd26138563fc7bba0ddb6b8ddab | README.md | README.md | Markdown |
<|file_sep|>spec/table-edit-spec.coffee.diff
original:
{WorkspaceView} = require 'atom'
updated:
<|file_sep|>original/spec/table-edit-spec.coffee
{WorkspaceView} = require 'atom'
TableEdit = require '../lib/table-edit'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `... | TableEdit = require '../lib/table-edit'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
describe "TableEdit", ->
activationPromise = null
beforeEa... | <|file_sep|>spec/table-edit-spec.coffee.diff
original:
{WorkspaceView} = require 'atom'
updated:
<|file_sep|>original/spec/table-edit-spec.coffee
{WorkspaceView} = require 'atom'
TableEdit = require '../lib/table-edit'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `... | 72951c1f51bb2cbb4eb99f5f3f31b175fe09d329 | spec/table-edit-spec.coffee | spec/table-edit-spec.coffee | CoffeeScript |
<|file_sep|>original/integration-tests/vmdefs/centos6-guest-httpd/ansible/roles/httpd/templates/default.tpl
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot {{ doc_root }}
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride ALL
</Directory>
<Direct... | <VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot {{ doc_root }}
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride ALL
</Directory>
<Directory {{ doc_root }}>
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
</Directory>... | <|file_sep|>original/integration-tests/vmdefs/centos6-guest-httpd/ansible/roles/httpd/templates/default.tpl
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot {{ doc_root }}
<Directory />
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride ALL
</Directory>
<Direct... | 441ba8b8123588e15b5a7d3eedbfecf5be12caf1 | integration-tests/vmdefs/centos6-guest-httpd/ansible/roles/httpd/templates/default.tpl | integration-tests/vmdefs/centos6-guest-httpd/ansible/roles/httpd/templates/default.tpl | Smarty |
<|file_sep|>original/createSourceArchive.sh
#!/bin/sh
APPNAME=`grep AppName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
APPVER=`grep AppVersionName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
# TODO: Boost, Python and ffmpeg are stored in repository as precompiled bin... | #!/bin/sh
APPNAME=`grep AppName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
APPVER=`grep AppVersionName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
# TODO: Boost, Python and ffmpeg are stored in repository as precompiled binaries, the proper way to fix that is to buil... | <|file_sep|>original/createSourceArchive.sh
#!/bin/sh
APPNAME=`grep AppName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
APPVER=`grep AppVersionName AndroidAppSettings.cfg | sed 's/.*=//' | tr -d '"' | tr " '/" '---'`
# TODO: Boost, Python and ffmpeg are stored in repository as precompiled bin... | 90851037b922877152a5e26933021270ed3957e3 | createSourceArchive.sh | createSourceArchive.sh | Shell |
<|file_sep|>original/test/integration/be/cytomine/security/UserControllerTests.groovy
* Cytomine @ GIGA-ULG
* User: stevben
* Date: 8/01/11
* Time: 01:10
*/
class UserControllerTests extends ControllerUnitTestCase {
void testIndex() {
def uc = new UserController()
uc.index()
assertEquals "... | * Cytomine @ GIGA-ULG
* User: stevben
* Date: 8/01/11
* Time: 01:10
*/
class UserControllerTests extends ControllerUnitTestCase {
void testIndex() {
}
void testList() {
assertTrue true
}
void testCreate() {
assertTrue true
}
void testSave() {
assertTrue true | <|file_sep|>original/test/integration/be/cytomine/security/UserControllerTests.groovy
* Cytomine @ GIGA-ULG
* User: stevben
* Date: 8/01/11
* Time: 01:10
*/
class UserControllerTests extends ControllerUnitTestCase {
void testIndex() {
def uc = new UserController()
uc.index()
assertEquals "... | bbe7f8ed7e158f4e4d4d9f3a6b6b06fbb530f946 | test/integration/be/cytomine/security/UserControllerTests.groovy | test/integration/be/cytomine/security/UserControllerTests.groovy | Groovy |
<|file_sep|>original/jenkins.sh
#!/bin/sh
set -e -x
bundle install --deployment
bundle exec rake test whitehall:slug_check hosts:validate
exit $?
<|file_sep|>current/jenkins.sh
#!/bin/sh
set -e -x
bundle install --deployment
bundle exec rake test whitehall:slug_check hosts:validate
exit $?
<|file_sep|>updated/j... | #!/bin/sh
set -e -x
# Try to merge master into the current branch, and abort if it doesn't exit
# cleanly (ie there are conflicts). This will be a noop if the current branch
# is master.
git merge --no-commit origin/master || git merge --abort
bundle install --deployment
bundle exec rake test whitehall:slug_check h... | <|file_sep|>original/jenkins.sh
#!/bin/sh
set -e -x
bundle install --deployment
bundle exec rake test whitehall:slug_check hosts:validate
exit $?
<|file_sep|>current/jenkins.sh
#!/bin/sh
set -e -x
bundle install --deployment
bundle exec rake test whitehall:slug_check hosts:validate
exit $?
<|file_sep|>updated/j... | d4443fdb689a1f9938362c2d15ed8edd6e219b91 | jenkins.sh | jenkins.sh | Shell |
<|file_sep|>original/client/app/router.js
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function () {
this.resource('cabins', {path: '/hytter'}, function () {
this.route('edit', {path: '/rediger/:id'});
}... | import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function () {
this.resource('cabins', {path: '/hytter'}, function () {
this.route('edit', {path: '/:id'});
});
});
export default Router; | <|file_sep|>original/client/app/router.js
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function () {
this.resource('cabins', {path: '/hytter'}, function () {
this.route('edit', {path: '/rediger/:id'});
}... | 818f9af69f9c89c51c30e8cc35d6c98100e10a0b | client/app/router.js | client/app/router.js | JavaScript |
<|file_sep|>original/Firefox/main.js
var pageMod = require("sdk/page-mod");
var data = require("self").data;
pageMod.PageMod({
include: "http://www.nationstates.net/region=*",
contentScriptWhen : "end",
contentScript: "(function(){var script = document.createElement('script'); script.type = 'text/javascript'; scr... | var pageMod = require("sdk/page-mod");
var data = require("self").data;
pageMod.PageMod({
include: "http://www.nationstates.net/region=*",
contentScriptWhen : "end",
contentScript: "(function(){var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://dl.dropboxusercont... | <|file_sep|>original/Firefox/main.js
var pageMod = require("sdk/page-mod");
var data = require("self").data;
pageMod.PageMod({
include: "http://www.nationstates.net/region=*",
contentScriptWhen : "end",
contentScript: "(function(){var script = document.createElement('script'); script.type = 'text/javascript'; scr... | 69b66b8b2936b5006b2e912e943930bb1817cbaf | Firefox/main.js | Firefox/main.js | JavaScript |
<|file_sep|>original/lib/intercom-rails/date_helper.rb
module IntercomRails
class DateHelper
def self.convert_dates_to_unix_timestamps(object)
return Hash[object.map { |k, v| [k, convert_dates_to_unix_timestamps(v)] }] if object.is_a?(Hash)
return object.to_i if object.is_a?(Time) || object.is_a?(Date... | module IntercomRails
class DateHelper
def self.convert_dates_to_unix_timestamps(object)
return Hash[object.map { |k, v| [k, convert_dates_to_unix_timestamps(v)] }] if object.is_a?(Hash)
return object.to_i if object.is_a?(Time) || object.is_a?(DateTime)
return object.to_time.to_i if object.is_a?(... | <|file_sep|>original/lib/intercom-rails/date_helper.rb
module IntercomRails
class DateHelper
def self.convert_dates_to_unix_timestamps(object)
return Hash[object.map { |k, v| [k, convert_dates_to_unix_timestamps(v)] }] if object.is_a?(Hash)
return object.to_i if object.is_a?(Time) || object.is_a?(Date... | d05c8ef1a68ac5a1e56e18aa60d8b6d82d54c127 | lib/intercom-rails/date_helper.rb | lib/intercom-rails/date_helper.rb | Ruby |
<|file_sep|>original/tests/README.md
<|file_sep|>current/tests/README.md
<|file_sep|>updated/tests/README.md | = Integration tests =
Integration tests require a running Kubevirt cluster. Once you have a running
Kubevirt cluster, you can use the `-master` and the `-kubeconfig` flags to
point the tests to the cluster.
== Run them on Vagrant ==
The vagrant environment has an unprotected haproxy in front of the apiserver,
so on... | <|file_sep|>original/tests/README.md
<|file_sep|>current/tests/README.md
<|file_sep|>updated/tests/README.md
= Integration tests =
Integration tests require a running Kubevirt cluster. Once you have a running
Kubevirt cluster, you can use the `-master` and the `-kubeconfig` flags to
point the tests to the cluster.
... | 327f3614cda58d8cf916aa47e3e61d4849d87d2f | tests/README.md | tests/README.md | Markdown |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.6.3
lxml==4.2.4
psutil==5.4.7
python-dateutil==2.7.3
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.5
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.... | beautifulsoup4==4.6.3
lxml==4.2.4
psutil==5.4.7
python-dateutil==2.7.3
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.6
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.6.3
lxml==4.2.4
psutil==5.4.7
python-dateutil==2.7.3
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.5
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.... | ead4f9d886aa6cf7ee20328b4e99638c11ac7b37 | requirements.txt | requirements.txt | Text |
<|file_sep|>setup.py.diff
original:
version='0.5.0',
updated:
version='0.6.0',
<|file_sep|>original/setup.py
'Topic :: Software Development :: Libraries']
DESC = 'A low-level Amazon Web Services API client for Tornado'
setuptools.setup(name='tornado-aws',
... |
DESC = 'A low-level Amazon Web Services API client for Tornado'
setuptools.setup(name='tornado-aws',
version='0.6.0',
description=DESC,
long_description=open('README.rst').read(),
author='Gavin M. Roy',
author_email='gavinmroy@gmail... | <|file_sep|>setup.py.diff
original:
version='0.5.0',
updated:
version='0.6.0',
<|file_sep|>original/setup.py
'Topic :: Software Development :: Libraries']
DESC = 'A low-level Amazon Web Services API client for Tornado'
setuptools.setup(name='tornado-aws',
... | a2d36b09f2fd19f6a368fa711631b09489f12cf6 | setup.py | setup.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.0.0"
- rvm:... | language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
before_install:
- gem update --system # Need for Ruby 2.5.0. https://github.com/travis-ci/travis-ci/issues/8978
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~... | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.0.0"
- rvm:... | 1d1d33677b98c843254577bec0ed1aed061098ba | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.rst
###########
Champollion
###########
Sphinx extension which provides an automatic way to document javascript code Edit
Add topics
*************
Documentation
*************
Full documentation, including installation and setup guides, can be found at
http://champollion.readthedocs.io/en/... | ###########
Champollion
###########
.. image:: https://api.travis-ci.org/buddly27/champollion.svg?branch=master
:target: https://travis-ci.org/buddly27/champollion
Sphinx extension which provides an automatic way to document javascript code Edit
Add topics
*************
Documentation
*************
Full document... | <|file_sep|>original/README.rst
###########
Champollion
###########
Sphinx extension which provides an automatic way to document javascript code Edit
Add topics
*************
Documentation
*************
Full documentation, including installation and setup guides, can be found at
http://champollion.readthedocs.io/en/... | 21d85427b02f62e49218013df669d090ccaf389a | README.rst | README.rst | reStructuredText |
<|file_sep|>content/shell/webkit_test_platform_support_android.cc.diff
original:
updated:
#include "third_party/skia/include/ports/SkTypeface_android.h"
namespace {
// The root directory on the device to which resources will be pushed. This
// value needs to be equal to that set in chromium_android.py.
#define DEVI... |
// The directory in which fonts will be stored on the Android device.
const char kFontDirectory[] = DEVICE_SOURCE_ROOT_DIR "fonts/";
} // namespace
namespace content {
bool CheckLayoutSystemDeps() {
return true;
}
bool WebKitTestPlatformInitialize() {
// Initialize Skia with the font configuration files craft... | <|file_sep|>content/shell/webkit_test_platform_support_android.cc.diff
original:
updated:
#include "third_party/skia/include/ports/SkTypeface_android.h"
namespace {
// The root directory on the device to which resources will be pushed. This
// value needs to be equal to that set in chromium_android.py.
#define DEVI... | e4d46c35a05efde6e46b98022d13b4b5384323cb | content/shell/webkit_test_platform_support_android.cc | content/shell/webkit_test_platform_support_android.cc | C++ |
<|file_sep|>tests/unit/collection/CollectionTestCase.php.diff
original:
abstract class CollectionTestCase extends \Codeception\TestCase\Test
updated:
abstract class CollectionTestCase extends UnitTestCase
<|file_sep|>original/tests/unit/collection/CollectionTestCase.php
/**
* @var \UnitTester
*/
prote... | /*********************************************************************************
* Helpers
********************************************************************************/
/**
* Returns a list of key => value pairs, where the keys are
* unique
*
* @return array
*/
prot... | <|file_sep|>tests/unit/collection/CollectionTestCase.php.diff
original:
abstract class CollectionTestCase extends \Codeception\TestCase\Test
updated:
abstract class CollectionTestCase extends UnitTestCase
<|file_sep|>original/tests/unit/collection/CollectionTestCase.php
/**
* @var \UnitTester
*/
prote... | d5e9ce9e875bea872bf5d00b00c0b852c026d504 | tests/unit/collection/CollectionTestCase.php | tests/unit/collection/CollectionTestCase.php | PHP |
<|file_sep|>wagtail/wagtailadmin/checks.py.diff
original:
from django.core.checks import Error, register
updated:
from django.core.checks import Warning, register
<|file_sep|>wagtail/wagtailadmin/checks.py.diff
original:
Error(
updated:
Warning(
<|file_sep|>original/wagtail/wagtailadmin/checks.p... | css_path = os.path.join(
os.path.dirname(__file__), 'static', 'wagtailadmin', 'css', 'normalize.css'
)
if not os.path.isfile(css_path):
error_hint = """
Most likely you are running a development (non-packaged) copy of
Wagtail and have not built the static assets -
... | <|file_sep|>wagtail/wagtailadmin/checks.py.diff
original:
from django.core.checks import Error, register
updated:
from django.core.checks import Warning, register
<|file_sep|>wagtail/wagtailadmin/checks.py.diff
original:
Error(
updated:
Warning(
<|file_sep|>original/wagtail/wagtailadmin/checks.p... | 53fb42f275050986072060a550e4fee09ab418f6 | wagtail/wagtailadmin/checks.py | wagtail/wagtailadmin/checks.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
install: NOEXEC=skip rake travis:setup
script: bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
install: NOEXEC=skip rake travis:setup
script: bundle exec rake spec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.8.7
- 1.9.3
# Rubinius in 1.8 mode on Travis does not work. It complains about st_data_t etc in Xcodeproj.
#- rbx-18mode
- rbx-19mode
install: NOEXEC=skip rake travis:setup
script: bundle exec rake spec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
install: NOEXEC=skip rake travis:setup
script: bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.3
install: NOEXEC=skip rake travis:setup
script: bundle exec rake spec
<|file_sep|>updated/.travis.yml
langu... | b90dddb45c7bdee78dbfa50e0ac18729d99926e7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.3"
},
"au... | {
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.5.9"
},
"autoload": {
"psr-0": { "Symf... | <|file_sep|>original/composer.json
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.3"
},
"au... | 8823b96ef20c786d8833e34e4664a37124360ab4 | composer.json | composer.json | JSON |
<|file_sep|>original/01-mkl/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(solver)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
# HACK: force cache refresh by unsetting the variable
unset (MKL_LIBRARIES CACHE)
find_package(MKL REQUIRED)
add_executable(solver solver.cpp)
include_directories(${MKL_I... | # HACK: force cache refresh by unsetting the variable
unset (MKL_LIBRARIES CACHE)
find_package(MKL REQUIRED)
add_executable(solver solver.cpp)
include_directories(${MKL_INCLUDES})
target_link_libraries(solver ${MKL_LIBRARIES})
set(FOO_INCLUDES "foo")
include_directories(${FOO_INCLUDES})
set(BAR_INCLUDES "bar")
targe... | <|file_sep|>original/01-mkl/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(solver)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
# HACK: force cache refresh by unsetting the variable
unset (MKL_LIBRARIES CACHE)
find_package(MKL REQUIRED)
add_executable(solver solver.cpp)
include_directories(${MKL_I... | b991e85657d52acb135e75e9d8fc573bebd1ba42 | 01-mkl/CMakeLists.txt | 01-mkl/CMakeLists.txt | Text |
<|file_sep|>original/dropwizard-validation/pom.xml
<artifactId>dropwizard-validation</artifactId>
<name>Dropwizard Validation Support</name>
<dependencies>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-util</artifactId>
<version>${project.v... | <artifactId>dropwizard-validation</artifactId>
<name>Dropwizard Validation Support</name>
<dependencies>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-util</artifactId>
<version>${project.version}</version>
</dependency>
<de... | <|file_sep|>original/dropwizard-validation/pom.xml
<artifactId>dropwizard-validation</artifactId>
<name>Dropwizard Validation Support</name>
<dependencies>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-util</artifactId>
<version>${project.v... | fcae32af4985a03ba439a3bfea999f2a600acf1e | dropwizard-validation/pom.xml | dropwizard-validation/pom.xml | XML |
<|file_sep|>original/docker/overrides.rb
external_url 'http://aerobase.example.com'
keycloak_server['theme_cache'] = false
#postgresql['enable'] = false
#postgresql['server'] = "172.18.0.1"
#postgresql['username'] = "postgres"
#postgresql['password'] = "postgres"
<|file_sep|>current/docker/overrides.rb
external_url 'h... | external_url 'http://aerobase.example.com'
keycloak_server['theme_cache'] = false
#postgresql['enable'] = false
#postgresql['server'] = "172.18.0.1"
#postgresql['username'] = "postgres"
#postgresql['password'] = "postgres"
aerobase_server['java_xmx'] = "2g" | <|file_sep|>original/docker/overrides.rb
external_url 'http://aerobase.example.com'
keycloak_server['theme_cache'] = false
#postgresql['enable'] = false
#postgresql['server'] = "172.18.0.1"
#postgresql['username'] = "postgres"
#postgresql['password'] = "postgres"
<|file_sep|>current/docker/overrides.rb
external_url 'h... | cebc9b771dbff80ad014c284227e4a14c9d5f8da | docker/overrides.rb | docker/overrides.rb | Ruby |
<|file_sep|>original/scripts/master/factory/dart/channels.py
self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priority
self.all_deps_path = '/' + branch + '/deps/all.deps'
self.standalone_deps_path = '/' + br... | self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priority
self.all_deps_path = '/' + branch + '/deps/all.deps'
self.standalone_deps_path = '/' + branch + '/deps/standalone.deps'
self.dartium_deps_path = '... | <|file_sep|>original/scripts/master/factory/dart/channels.py
self.builder_postfix = '-' + name
self.category_postfix = category_postfix
self.name = name
self.position = position
self.priority = priority
self.all_deps_path = '/' + branch + '/deps/all.deps'
self.standalone_deps_path = '/' + br... | 8da5356b2a08679cbf61cff21db2068980866701 | scripts/master/factory/dart/channels.py | scripts/master/factory/dart/channels.py | Python |
<|file_sep|>original/migrations/versions/36cbde703cc0_add_build_priority.py
"""Add Build.priority
Revision ID: 36cbde703cc0
Revises: fe743605e1a
Create Date: 2014-10-06 10:10:14.729720
"""
# revision identifiers, used by Alembic.
revision = '36cbde703cc0'
down_revision = 'fe743605e1a'
from alembic import op
import ... | """Add Build.priority
Revision ID: 36cbde703cc0
Revises: fe743605e1a
Create Date: 2014-10-06 10:10:14.729720
"""
# revision identifiers, used by Alembic.
revision = '36cbde703cc0'
down_revision = '2c6662281b66'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('build', sa.Column('pri... | <|file_sep|>original/migrations/versions/36cbde703cc0_add_build_priority.py
"""Add Build.priority
Revision ID: 36cbde703cc0
Revises: fe743605e1a
Create Date: 2014-10-06 10:10:14.729720
"""
# revision identifiers, used by Alembic.
revision = '36cbde703cc0'
down_revision = 'fe743605e1a'
from alembic import op
import ... | 979aada6964a5c8ef1f5c787ce84d72420626901 | migrations/versions/36cbde703cc0_add_build_priority.py | migrations/versions/36cbde703cc0_add_build_priority.py | Python |
<|file_sep|>original/packages/grid/ansible.cfg
[defaults]
# allow_world_readable_tmpfiles=true
# pipelining = True
strategy = "mitogen_linear"
host_key_checking = false
<|file_sep|>current/packages/grid/ansible.cfg
[defaults]
# allow_world_readable_tmpfiles=true
# pipelining = True
strategy = "mitogen_linear"
host_key_... | [defaults]
# allow_world_readable_tmpfiles=true
pipelining = True
# strategy = "mitogen_linear"
host_key_checking = false | <|file_sep|>original/packages/grid/ansible.cfg
[defaults]
# allow_world_readable_tmpfiles=true
# pipelining = True
strategy = "mitogen_linear"
host_key_checking = false
<|file_sep|>current/packages/grid/ansible.cfg
[defaults]
# allow_world_readable_tmpfiles=true
# pipelining = True
strategy = "mitogen_linear"
host_key_... | e3aeafde10a8effc08321fecda697298810ff7a4 | packages/grid/ansible.cfg | packages/grid/ansible.cfg | INI |
<|file_sep|>original/_config.yml
highlight: pygments
relative_permalinks: false
google_analytics_id: UA-46880695-1
permalink: /news/:year/:month/:day/:title/
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
repository: https://github.com/frida/frida
<|file_sep|>current/_config.yml
highlight: pygments
relative_perm... | highlight: pygments
relative_permalinks: false
google_analytics_id: UA-46880695-1
permalink: /news/:year/:month/:day/:title/
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
repository: https://github.com/frida/frida
gems: [jekyll-gist] | <|file_sep|>original/_config.yml
highlight: pygments
relative_permalinks: false
google_analytics_id: UA-46880695-1
permalink: /news/:year/:month/:day/:title/
excerpt_separator: noifniof3nioaniof3nioafafinoafnoif
repository: https://github.com/frida/frida
<|file_sep|>current/_config.yml
highlight: pygments
relative_perm... | c741920150f4716dcc37aca806e73cc148bbac33 | _config.yml | _config.yml | YAML |
<|file_sep|>original/modules/githubHook.js
'use strict';
module.exports = function(config, ircbot, utils) {
ircbot.emit('registerHttp', 'post', '/hooks/github', function(req, res) {
const crypto = require('crypto');
const signature = req.headers['x-hub-signature'];
const algo = signature.substr(0, signature.ind... | 'use strict';
module.exports = function(config, ircbot, utils) {
ircbot.emit('registerHttp', 'post', '/hooks/github', function(req, res) {
const crypto = require('crypto');
if (!('x-hub-signature' in req.headers)) {
res.writeHead(400, {
'Content-Type': 'text/plain'
});
res.end('Bad request');
r... | <|file_sep|>original/modules/githubHook.js
'use strict';
module.exports = function(config, ircbot, utils) {
ircbot.emit('registerHttp', 'post', '/hooks/github', function(req, res) {
const crypto = require('crypto');
const signature = req.headers['x-hub-signature'];
const algo = signature.substr(0, signature.ind... | 92041357b218855928caa61e1b70d1ae4337c17f | modules/githubHook.js | modules/githubHook.js | JavaScript |
<|file_sep|>original/src/models/User/View.php
public $documents;
public $facebook;
public $facebook_uri;
public $github;
public $github_uri;
public $instagram;
public $instagram_uri;
public $news_posts;
public $packets;
public $profiledata;
public $reddit;
public $reddit_uri;
public $servers;
... | public $documents;
public $facebook;
public $facebook_uri;
public $github;
public $github_uri;
public $instagram;
public $instagram_uri;
public $news_posts;
public $packets;
public $profiledata;
public $phone;
public $phone_uri;
public $reddit;
public $reddit_uri;
public $servers;
public... | <|file_sep|>original/src/models/User/View.php
public $documents;
public $facebook;
public $facebook_uri;
public $github;
public $github_uri;
public $instagram;
public $instagram_uri;
public $news_posts;
public $packets;
public $profiledata;
public $reddit;
public $reddit_uri;
public $servers;
... | 608f8ed8aaf1cb6da49f11543c7fe4f9fdd4e439 | src/models/User/View.php | src/models/User/View.php | PHP |
<|file_sep|>original/indra/sources/eidos/scala_utils.py
<|file_sep|>current/indra/sources/eidos/scala_utils.py
<|file_sep|>updated/indra/sources/eidos/scala_utils.py | from jnius import autoclass
def get_python_list(scala_list):
"""Return list from elements of scala.collection.immutable.List"""
python_list = []
for i in range(scala_list.length()):
python_list.append(scala_list.apply(i))
return python_list
def get_python_dict(scala_map):
"""Return a dict... | <|file_sep|>original/indra/sources/eidos/scala_utils.py
<|file_sep|>current/indra/sources/eidos/scala_utils.py
<|file_sep|>updated/indra/sources/eidos/scala_utils.py
from jnius import autoclass
def get_python_list(scala_list):
"""Return list from elements of scala.collection.immutable.List"""
python_list = [... | 0fc5bc7d4582fc2af65e4c87e1962eeb702b051e | indra/sources/eidos/scala_utils.py | indra/sources/eidos/scala_utils.py | Python |
<|file_sep|>original/.github/workflows/python-app.yml
<|file_sep|>current/.github/workflows/python-app.yml
<|file_sep|>updated/.github/workflows/python-app.yml | # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ __main__ ]
pull_request:
branches: ... | <|file_sep|>original/.github/workflows/python-app.yml
<|file_sep|>current/.github/workflows/python-app.yml
<|file_sep|>updated/.github/workflows/python-app.yml
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actio... | ee59311b4dd395c1bc7498b08200422bdd1f8177 | .github/workflows/python-app.yml | .github/workflows/python-app.yml | YAML |
<|file_sep|>integration_testing/features/super-admin/super-admin-upgrade-notification.feature.diff
original:
When I set KOLIBRI_RUN_MODE to "GHERKIN-[string]" where `[string]` is any string of letters and numbers
updated:
When I set KOLIBRI_RUN_MODE to "msg-[string]" where `[string]` is any string of letters an... | Given I am signed in to Kolibri as super admin
And I see the upgrade notification message
Scenario: Trigger a notification
When I set KOLIBRI_RUN_MODE to "msg-[string]" where `[string]` is any string of letters and numbers
And I start the server
And I log in
Then I should get a notifica... | <|file_sep|>integration_testing/features/super-admin/super-admin-upgrade-notification.feature.diff
original:
When I set KOLIBRI_RUN_MODE to "GHERKIN-[string]" where `[string]` is any string of letters and numbers
updated:
When I set KOLIBRI_RUN_MODE to "msg-[string]" where `[string]` is any string of letters an... | 622a9c8b0a12edb327a88146adbc8982cf82fa2f | integration_testing/features/super-admin/super-admin-upgrade-notification.feature | integration_testing/features/super-admin/super-admin-upgrade-notification.feature | Cucumber |
<|file_sep|>.travis.yml.diff
original:
- "4"
- "5"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
script: echo "code tests" ; npm run test; echo "readme tests" ; npm run test-readme ; echo "documentation example tests" ; npm run test-docs
<|file_sep|>cu... | language: node_js
node_js:
- "6"
- "7"
- "8"
- "9"
script: echo "code tests" ; npm run test; echo "readme tests" ; npm run test-readme ; echo "documentation example tests" ; npm run test-docs | <|file_sep|>.travis.yml.diff
original:
- "4"
- "5"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
script: echo "code tests" ; npm run test; echo "readme tests" ; npm run test-readme ; echo "documentation example tests" ; npm run test-docs
<|file_sep|>cu... | f0ff6877bf76bbd8bae60d7c4291cb5825264e96 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/libs/custom_errors_spec.rb
end
context '500 errors' do
before(:each) do
routes.draw { get 'raise_500' => 'anonymous#raise_500' }
end
it 'should catch 500 errors' do
get :raise_500
expect(response).to render_template 'pages/500'
expect(response.status).... | expect(response.status).to eq 404
end
end
context '500 errors' do
before(:each) do
routes.draw { get 'raise_500' => 'anonymous#raise_500' }
end
it 'should catch 500 errors' do
get :raise_500
expect(response).to render_template 'pages/500'
expect(response.status).to eq... | <|file_sep|>original/spec/libs/custom_errors_spec.rb
end
context '500 errors' do
before(:each) do
routes.draw { get 'raise_500' => 'anonymous#raise_500' }
end
it 'should catch 500 errors' do
get :raise_500
expect(response).to render_template 'pages/500'
expect(response.status).... | ccf69453ae767df14ab40e469d4ddb4ddc28f6c6 | spec/libs/custom_errors_spec.rb | spec/libs/custom_errors_spec.rb | Ruby |
<|file_sep|>stylesheets/blog-index-stylesheet.css.diff
original:
top: 830px;
updated:
top: 815px;
<|file_sep|>original/stylesheets/blog-index-stylesheet.css
#second_from_top {
display: block;
position: relative;
top: 830px;
left: 100px;
}
#third_from_top {
display: block;
position: relative;
top: 840px;
left: 100px;
... |
#second_from_top {
display: block;
position: relative;
top: 815px;
left: 100px;
}
#third_from_top {
display: block;
position: relative;
top: 825px;
left: 100px;
}
| <|file_sep|>stylesheets/blog-index-stylesheet.css.diff
original:
top: 830px;
updated:
top: 815px;
<|file_sep|>original/stylesheets/blog-index-stylesheet.css
#second_from_top {
display: block;
position: relative;
top: 830px;
left: 100px;
}
#third_from_top {
display: block;
position: relative;
top: 840px;
left: 100px;
... | 14c601e318bc0927d4c7afb522ab5f445d9dcf89 | stylesheets/blog-index-stylesheet.css | stylesheets/blog-index-stylesheet.css | CSS |
<|file_sep|>original/test/server/run_timed_out_test.rb
private
class ThreadTimedOutStub
def initialize
@n = 0
@stubs = {
1 => lambda { raise Timeout::Error },
2 => lambda { 137 }
}
end
def value
@n += 1
@stubs[@n].call
end
def join(_seconds)
... |
private
class ThreadTimedOutStub
def initialize
@n = 0
@stubs = {
1 => lambda { raise Timeout::Error },
2 => lambda { 137 }
}
end
def value
@n += 1
@stubs[@n].call
end
def join(_seconds)
self
end
end
end | <|file_sep|>original/test/server/run_timed_out_test.rb
private
class ThreadTimedOutStub
def initialize
@n = 0
@stubs = {
1 => lambda { raise Timeout::Error },
2 => lambda { 137 }
}
end
def value
@n += 1
@stubs[@n].call
end
def join(_seconds)
... | a8e44549ff6ba610e515adc93239b83e60e0bbed | test/server/run_timed_out_test.rb | test/server/run_timed_out_test.rb | Ruby |
<|file_sep|>original/tests.js
const rules = require('./index').rules;
const RuleTester = require('eslint').RuleTester;
const ruleTester = new RuleTester();
ruleTester.run('no-only-tests', rules['no-only-tests'], {
valid: [
{code: 'describe("Some describe block", function() {});'},
{code: 'it("Some assertion"... | const rules = require('./index').rules;
const RuleTester = require('eslint').RuleTester;
const ruleTester = new RuleTester();
ruleTester.run('no-only-tests', rules['no-only-tests'], {
valid: [
'describe("Some describe block", function() {});',
'it("Some assertion", function() {});',
'xit.only("Some asser... | <|file_sep|>original/tests.js
const rules = require('./index').rules;
const RuleTester = require('eslint').RuleTester;
const ruleTester = new RuleTester();
ruleTester.run('no-only-tests', rules['no-only-tests'], {
valid: [
{code: 'describe("Some describe block", function() {});'},
{code: 'it("Some assertion"... | 467657ff4c0fcd52f2c8d83ef99c0a927c635ef6 | tests.js | tests.js | JavaScript |
<|file_sep|>src/zeit/workflow/xmlrpc/tests.py.diff
original:
# Copyright (c) 2008-2011 gocept gmbh & co. kg
updated:
# Copyright (c) 2008-2012 gocept gmbh & co. kg
<|file_sep|>src/zeit/workflow/xmlrpc/tests.py.diff
original:
from zope.testing import doctest
import unittest
updated:
<|file_sep|>src/zeit/workflow/xmlrpc... | # Copyright (c) 2008-2012 gocept gmbh & co. kg
# See also LICENSE.txt
import zeit.cms.testing
import zeit.workflow.testing
def test_suite():
return zeit.cms.testing.FunctionalDocFileSuite(
'README.txt',
layer=zeit.workflow.testing.WorkflowLayer
) | <|file_sep|>src/zeit/workflow/xmlrpc/tests.py.diff
original:
# Copyright (c) 2008-2011 gocept gmbh & co. kg
updated:
# Copyright (c) 2008-2012 gocept gmbh & co. kg
<|file_sep|>src/zeit/workflow/xmlrpc/tests.py.diff
original:
from zope.testing import doctest
import unittest
updated:
<|file_sep|>src/zeit/workflow/xmlrpc... | b5c85d3bbeb34dd3e5dd9c376bc3e121e518084e | src/zeit/workflow/xmlrpc/tests.py | src/zeit/workflow/xmlrpc/tests.py | Python |
<|file_sep|>spree_news_items.gemspec.diff
original:
s.version = '2.1.3.beta'
s.summary = 'TODO: Add gem summary here'
s.description = 'TODO: Add (optional) gem description here'
updated:
s.version = '1.0.0'
s.summary = 'Extension to add news items to Spree'
<|file_sep|>spree_news_items.gemspec... | # encoding: UTF-8
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'spree_news_items'
s.version = '1.0.0'
s.summary = 'Extension to add news items to Spree'
s.required_ruby_version = '>= 1.9.3'
s.author = 'Brian Wells'
s.email = 'spam_brian@me.com'
s.home... | <|file_sep|>spree_news_items.gemspec.diff
original:
s.version = '2.1.3.beta'
s.summary = 'TODO: Add gem summary here'
s.description = 'TODO: Add (optional) gem description here'
updated:
s.version = '1.0.0'
s.summary = 'Extension to add news items to Spree'
<|file_sep|>spree_news_items.gemspec... | 8b1e6e95f5c68083bb4ac027da6938a0bc85fa15 | spree_news_items.gemspec | spree_news_items.gemspec | Ruby |
<|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java.diff
original:
updated:
import android.view.MenuItem;
<|file_sep|>original/Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java
package fr.masciulli.drinks.activity;
import android.app.Activity;
import android... | import android.view.MenuItem;
import android.widget.TextView;
import fr.masciulli.drinks.R;
public class DrinkDetailActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_drink);
ge... | <|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java.diff
original:
updated:
import android.view.MenuItem;
<|file_sep|>original/Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java
package fr.masciulli.drinks.activity;
import android.app.Activity;
import android... | 8c43bdc457d49c9f5c5416f1e4f718557c62f01d | Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java | Drinks/src/main/java/fr/masciulli/drinks/activity/DrinkDetailActivity.java | Java |
<|file_sep|>original/pages/index.html
<!doctype html>
<html>
<head>
<title>Pulsar</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.4/p5.js"></script>
<script src="https://cdn.socket.io/socket.io-1.3.5.... | <!doctype html>
<html>
<head>
<title>Pulsar</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { overflow: hidden; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.4/p5.js"></script>
<script src="https://cdn.socket.io/socket.io-1.3.5.js">... | <|file_sep|>original/pages/index.html
<!doctype html>
<html>
<head>
<title>Pulsar</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.4/p5.js"></script>
<script src="https://cdn.socket.io/socket.io-1.3.5.... | 64c6284b694c3dac895ed3207cd0d0be7205e1ef | pages/index.html | pages/index.html | HTML |
<|file_sep|>original/app/views/advocates/claims/confirmation.html.haml
= claim.fees_total
%p
=t('.expenses_total')
= claim.expenses_total
- if claim.apply_vat?
%p
=t('.vat_amount')
= claim.vat_amount
%h2
= t('.total')
= claim.total_inc_vat
%p
= link_to t('link.file_an... | =t('.expenses_total')
= claim.expenses_total
- if claim.apply_vat?
%p
=t('.vat_amount')
= claim.vat_amount
%h2
= t('.total')
= claim.total_inc_vat
%p
= link_to "Please could you spare 2 minutes of your time to complete two questions. This will help us improve this service fo... | <|file_sep|>original/app/views/advocates/claims/confirmation.html.haml
= claim.fees_total
%p
=t('.expenses_total')
= claim.expenses_total
- if claim.apply_vat?
%p
=t('.vat_amount')
= claim.vat_amount
%h2
= t('.total')
= claim.total_inc_vat
%p
= link_to t('link.file_an... | 7330221dd6eac9737301d0925179e9f51795fc0b | app/views/advocates/claims/confirmation.html.haml | app/views/advocates/claims/confirmation.html.haml | Haml |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
sudo: false
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
<|file_sep|>.travis.yml.diff
original:
updated:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.d... | - phpenv config-add ./tests/travis/php.ini
install:
- travis_retry composer install
script: ./vendor/bin/phpunit --exclude-group performance
jobs:
allow_failures:
- php: nightly
include:
- stage: Coverage
before_script:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdeb... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
sudo: false
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 7.2
<|file_sep|>.travis.yml.diff
original:
updated:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.d... | d270044cd04e62c10aac3093347c58db26475b77 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
script: "python setup.py test"
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
script: "python setup.py test"
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
script: "python setup.py test" | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
script: "python setup.py test"
<|file_sep|>current/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
script: "python setup.py test"
<|file_sep|>updated/.travis.yml
language: python
python:
- "2... | d63eac017d0bcf3d462a52374b12a1748ff60d21 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bower.json
],
"description": "Various utilities for JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).",
"keywords": [
"json"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"browser/*-standalone*.js",
"gulpfi... | ],
"description": "Various utilities for JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).",
"keywords": [
"json"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"browser/tester.html",
"gulpfile.js",
"index.js",
"package.... | <|file_sep|>original/bower.json
],
"description": "Various utilities for JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).",
"keywords": [
"json"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"browser/*-standalone*.js",
"gulpfi... | ea563f8281f37a47ccde1ad61feb7cf0d1ad8696 | bower.json | bower.json | JSON |
<|file_sep|>original/app/assets/javascripts/discourse/dialects/autolink_dialect.js
/**
This addition handles auto linking of text. When included, it will parse out links and create
a hrefs for them.
**/
var urlReplacerArgs = {
matcher: /^((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))... | /**
This addition handles auto linking of text. When included, it will parse out links and create
a hrefs for them.
**/
var urlReplacerArgs = {
matcher: /^((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))+(?:\([^\s()<>]+\)|[^`!()\[\]{};:'".,<>?«»ββββ\s]))/,
spaceOrTagBoundary: true,
... | <|file_sep|>original/app/assets/javascripts/discourse/dialects/autolink_dialect.js
/**
This addition handles auto linking of text. When included, it will parse out links and create
a hrefs for them.
**/
var urlReplacerArgs = {
matcher: /^((?:https?:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.])(?:[^\s()<>]+|\([^\s()<>]+\))... | e57be5597992aafbb6eb0047c4e965de9e52976c | app/assets/javascripts/discourse/dialects/autolink_dialect.js | app/assets/javascripts/discourse/dialects/autolink_dialect.js | JavaScript |
<|file_sep|>original/lib/spree/i18n.rb
# frozen_string_literal: true
require 'i18n'
require 'active_support/core_ext/array/extract_options'
require 'spree/i18n/base'
module Spree
extend ActionView::Helpers::TranslationHelper
extend ActionView::Helpers::TagHelper if ENV['DEPENDENCIES_NEXT']
class << self
# ... | # frozen_string_literal: true
require 'i18n'
require 'active_support/core_ext/array/extract_options'
require 'spree/i18n/base'
module Spree
extend ActionView::Helpers::TranslationHelper
extend ActionView::Helpers::TagHelper
class << self
# Add spree namespace and delegate to Rails TranslationHelper for som... | <|file_sep|>original/lib/spree/i18n.rb
# frozen_string_literal: true
require 'i18n'
require 'active_support/core_ext/array/extract_options'
require 'spree/i18n/base'
module Spree
extend ActionView::Helpers::TranslationHelper
extend ActionView::Helpers::TagHelper if ENV['DEPENDENCIES_NEXT']
class << self
# ... | 12a513c54c49289c7cf472c5574ec0497fd9155c | lib/spree/i18n.rb | lib/spree/i18n.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
cache:
directories:
- node_modules
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
cache:
directories:
- node_modules
after_success:
- npm run coveralls
<|file_se... | language: node_js
node_js:
- 4
- 5
- 6
- 7
cache:
directories:
- node_modules
after_success:
- npm run coveralls | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
cache:
directories:
- node_modules
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
cache:
directories:
- node_modules
after_success:
- npm run coveralls
<|file_se... | 9975bf457058ab3c34c6e3bcfe326d052965eb86 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/stockboy/providers/ftp/sftp_adapter.rb
def delete(file_name)
client.remove!(full_path(file_name))
end
def download(file_name)
client.download!(full_path(file_name))
end
def modification_time(file_name)
stat(file_name).mtime
end
def size(file_nam... |
def delete(file_name)
client.remove!(full_path(file_name))
end
def download(file_name)
client.download!(full_path(file_name))
end
def modification_time(file_name)
(mtime = stat(file_name).mtime) && Time.at(mtime)
end
def size(file_name)
stat(file_name).size
en... | <|file_sep|>original/lib/stockboy/providers/ftp/sftp_adapter.rb
def delete(file_name)
client.remove!(full_path(file_name))
end
def download(file_name)
client.download!(full_path(file_name))
end
def modification_time(file_name)
stat(file_name).mtime
end
def size(file_nam... | 571fb1790806b04c58cff7ee2dc8d05f96800fed | lib/stockboy/providers/ftp/sftp_adapter.rb | lib/stockboy/providers/ftp/sftp_adapter.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
before_script:
- gem install compass
- npm install -g bower grunt-cli
- bower install
script: 'grunt'
deploy:
provider: s3
access_key_id: AKIAJOG6PLQKQ555Q7VA
secret_access_key:
secure: fd54rmDkgNXS7sqvUlfJzue7ThuyjfbNBi6NuHfz/o/RFQw... | language: node_js
node_js:
- '0.8'
- '0.10'
before_script:
- gem install compass
- npm install -g bower grunt-cli
- bower install
script: 'grunt'
deploy:
provider: s3
access_key_id: AKIAJOG6PLQKQ555Q7VA
secret_access_key:
secure: fd54rmDkgNXS7sqvUlfJzue7ThuyjfbNBi6NuHfz/o/RFQwyGO3cxnMUME1+1c1fKtcGHXD9cacXE3FO... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.8'
- '0.10'
before_script:
- gem install compass
- npm install -g bower grunt-cli
- bower install
script: 'grunt'
deploy:
provider: s3
access_key_id: AKIAJOG6PLQKQ555Q7VA
secret_access_key:
secure: fd54rmDkgNXS7sqvUlfJzue7ThuyjfbNBi6NuHfz/o/RFQw... | ea895b9358bbb34984ec0d9ba151a44486a28ce5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_config.yml
# Site settings
title: Thiago Santos Blog
header-img: "img/home-bg.jpg"
email: ola@thiagosantos.in
description: "Desenvolvimento, Entretenimento e Tecnologia"
baseurl: ""
url: "https://thiagosantos.in"
twitter_username: thiiisantos
github_username: thiiisantos
facebook_username: thiii... | # Plugins
gems:
- jemoji
# Site settings
title: Thiago Santos Blog
header-img: "img/home-bg.jpg"
email: ola@thiagosantos.in
description: "Desenvolvimento, Entretenimento e Tecnologia"
baseurl: ""
url: "https://thiagosantos.in"
twitter_username: thiiisantos
github_username: thiiisantos
facebook_username: thiiisanto... | <|file_sep|>original/_config.yml
# Site settings
title: Thiago Santos Blog
header-img: "img/home-bg.jpg"
email: ola@thiagosantos.in
description: "Desenvolvimento, Entretenimento e Tecnologia"
baseurl: ""
url: "https://thiagosantos.in"
twitter_username: thiiisantos
github_username: thiiisantos
facebook_username: thiii... | 5d7ce22f596c31af9e9e65cbbfe230c797319f59 | _config.yml | _config.yml | YAML |
<|file_sep|>original/_posts/2017-10-13-ios-11.1-beta-2-crashes.md
<|file_sep|>current/_posts/2017-10-13-ios-11.1-beta-2-crashes.md
<|file_sep|>updated/_posts/2017-10-13-ios-11.1-beta-2-crashes.md | ---
layout: single
title: iOS 11.1 beta 2 Crashes
date: 2017-10-13 21:29:38
tags: [iOS, crash, bug, apple]
published: true
---
Today, we noticed a spike in crashes through iTunes Connect that were (almost) exclusively affecting iOS 11.1 users. It started 4 days ago, the same day that beta 2 was released. These crashes ... | <|file_sep|>original/_posts/2017-10-13-ios-11.1-beta-2-crashes.md
<|file_sep|>current/_posts/2017-10-13-ios-11.1-beta-2-crashes.md
<|file_sep|>updated/_posts/2017-10-13-ios-11.1-beta-2-crashes.md
---
layout: single
title: iOS 11.1 beta 2 Crashes
date: 2017-10-13 21:29:38
tags: [iOS, crash, bug, apple]
published: true... | 3e148c85cb13f77b1f7cdf4981d5bc697f847851 | _posts/2017-10-13-ios-11.1-beta-2-crashes.md | _posts/2017-10-13-ios-11.1-beta-2-crashes.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
jobs:
updated:
matrix:
<|file_sep|>.travis.yml.diff
original:
- stage: test
before_install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libca... | before_install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libcairo2-dev
install:
- pip install -r requirements.txt
script:
- xvfb-run pytest -q
after_success:
- coveralls
jobs:
include:
-... | <|file_sep|>.travis.yml.diff
original:
jobs:
updated:
matrix:
<|file_sep|>.travis.yml.diff
original:
- stage: test
before_install:
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y xvfb python3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libca... | e3b1c53bfa176874a4d0c3c8beac2fee241554cd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup_app.py
import os
from flask_app.database import init_db
# Generate new secret key
secret_key = os.urandom(24).encode('hex').strip()
with open('flask_app/secret_key.py', 'w') as key_file:
key_file.write('secret_key = """' + secret_key + '""".decode("hex")')
# Initialize database
init_db... |
import os
from flask_app.database import init_db
# Generate new secret key
key_file_path = 'flask_app/secret_key.py'
if not os.path.isfile(key_file_path):
secret_key = os.urandom(24).encode('hex').strip()
with open(key_file_path, 'w') as key_file:
key_file.write('secret_key = """' + secret_key + '""".... | <|file_sep|>original/setup_app.py
import os
from flask_app.database import init_db
# Generate new secret key
secret_key = os.urandom(24).encode('hex').strip()
with open('flask_app/secret_key.py', 'w') as key_file:
key_file.write('secret_key = """' + secret_key + '""".decode("hex")')
# Initialize database
init_db... | ea54f0a306c6defa4edc58c50794da0083ed345d | setup_app.py | setup_app.py | Python |
<|file_sep|>original/etc/kayobe/kolla/config/grafana.ini
[security]
; If an OpenStack user with the same name as the admin user logs into
; Grafana it overwrites user data in the Grafana database, breaking
; the local admin account, and preventing admin API calls to Grafana. To
; reduce the chance of this happening we ... | [auth.keystone]
enabled = true
auth_url = {% raw %}{{ keystone_internal_url }}
{% endraw %}
v3 = false
default_domain = default
default_role = Viewer
global_admin_roles =
admin_roles = admin
editor_roles = _member_
read_editor_roles =
viewer_roles =
; Can't get this to work due to IP "SANs" ??
verify_ssl_cert = false
r... | <|file_sep|>original/etc/kayobe/kolla/config/grafana.ini
[security]
; If an OpenStack user with the same name as the admin user logs into
; Grafana it overwrites user data in the Grafana database, breaking
; the local admin account, and preventing admin API calls to Grafana. To
; reduce the chance of this happening we ... | f2e8b4ab62e7d9090d1ceaa464ecb39048cc16e6 | etc/kayobe/kolla/config/grafana.ini | etc/kayobe/kolla/config/grafana.ini | INI |
<|file_sep|>original/research/requirements.txt
aiofiles==0.4.0
aiohttp==3.4.4
beautifulsoup4==4.6.3
geopy==1.18.1
grequests==0.3.0
humanize==0.5.1
numpy==1.15.4
pandas==0.23.4
python-decouple==3.1
requests==2.21.0
serenata-toolbox # pyup: ignore
tqdm==4.28.1
<|file_sep|>current/research/requirements.txt
aiofiles==0.4.... | aiofiles==0.4.0
aiohttp==3.5.1
beautifulsoup4==4.6.3
geopy==1.18.1
grequests==0.3.0
humanize==0.5.1
numpy==1.15.4
pandas==0.23.4
python-decouple==3.1
requests==2.21.0
serenata-toolbox # pyup: ignore
tqdm==4.28.1 | <|file_sep|>original/research/requirements.txt
aiofiles==0.4.0
aiohttp==3.4.4
beautifulsoup4==4.6.3
geopy==1.18.1
grequests==0.3.0
humanize==0.5.1
numpy==1.15.4
pandas==0.23.4
python-decouple==3.1
requests==2.21.0
serenata-toolbox # pyup: ignore
tqdm==4.28.1
<|file_sep|>current/research/requirements.txt
aiofiles==0.4.... | d4aa040734b829b81a7084a916fef66650a0510d | research/requirements.txt | research/requirements.txt | Text |
<|file_sep|>original/mqtt/tests/test_client.py
HospitalSerializer, HospitalEquipmentSerializer
from django.test import Client
from .client import MQTTTestCase, MQTTTestClient
from ..client import MQTTException
from ..subscribe import SubscribeClient
class TestMQTT1(MQTTTestCase):
def test(self)... |
from .client import MQTTTestCase, MQTTTestClient
from ..client import MQTTException
from ..subscribe import SubscribeClient
class TestMQTT1(MQTTTestCase):
def test(self):
import sys
from django.core.management.base import OutputWrapper
from django.core.management.color impor... | <|file_sep|>original/mqtt/tests/test_client.py
HospitalSerializer, HospitalEquipmentSerializer
from django.test import Client
from .client import MQTTTestCase, MQTTTestClient
from ..client import MQTTException
from ..subscribe import SubscribeClient
class TestMQTT1(MQTTTestCase):
def test(self)... | 879b093f29135750906f5287e132991de42ea1fe | mqtt/tests/test_client.py | mqtt/tests/test_client.py | Python |
<|file_sep|>original/package.json
"object-to-graph",
"object",
"modeling",
"database"
],
"author": "Jean-Baptiste Musso <jbmusso+github@gmail.com> (https://github.com/gulthor)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gulthor/mogwai/issues"
},
"dependencies": {
"grex":... | "object-to-graph",
"object",
"modeling",
"database"
],
"author": "Jean-Baptiste Musso <jbmusso+github@gmail.com> (https://github.com/gulthor)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gulthor/mogwai/issues"
},
"dependencies": {
"grex": "^0.5.5",
"lodash": "^2.4.1"
... | <|file_sep|>original/package.json
"object-to-graph",
"object",
"modeling",
"database"
],
"author": "Jean-Baptiste Musso <jbmusso+github@gmail.com> (https://github.com/gulthor)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gulthor/mogwai/issues"
},
"dependencies": {
"grex":... | cd3b96a4e94aa6dd7394583930261f6d51462fa7 | package.json | package.json | JSON |
<|file_sep|>original/remove-notes.py
<|file_sep|>current/remove-notes.py
<|file_sep|>updated/remove-notes.py | #!/usr/bin/env python3
from bs4 import BeautifulSoup
import sys
with open(sys.argv[1], "r") as f:
tree = BeautifulSoup(f, 'html.parser')
for note in tree.find_all("div", class_ = "notes"):
note.decompose()
print(tree) | <|file_sep|>original/remove-notes.py
<|file_sep|>current/remove-notes.py
<|file_sep|>updated/remove-notes.py
#!/usr/bin/env python3
from bs4 import BeautifulSoup
import sys
with open(sys.argv[1], "r") as f:
tree = BeautifulSoup(f, 'html.parser')
for note in tree.find_all("div", class_ = "notes"):
note.deco... | 7b6fe1d3dfe6c4397729e085773dda73d4791716 | remove-notes.py | remove-notes.py | Python |
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
#Wed Oct 10 18:44:43 BST 2007
updated:
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
updated:
org.eclipse.jdt.core.compiler.codegen.inl... | eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.complianc... | <|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
#Wed Oct 10 18:44:43 BST 2007
updated:
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
updated:
org.eclipse.jdt.core.compiler.codegen.inl... | b608a9e6ab47e8a46f10513a90305b51e137b43f | .settings/org.eclipse.jdt.core.prefs | .settings/org.eclipse.jdt.core.prefs | INI |
<|file_sep|>original/content/parts/footnote.md
---
title: footnote
---
* Β© Ben Ilegbodu 2018.
* Built with [Gatsby](https://www.gatsbyjs.org/) & [React](https://reactjs.org).
<|file_sep|>current/content/parts/footnote.md
---
title: footnote
---
* Β© Ben Ilegbodu 2018.
* Built with [Gatsby](https://www.gatsbyjs.org/) &... | ---
title: footnote
---
* Β© Ben Ilegbodu 2018.
* Built with [Gatsby](https://www.gatsbyjs.org/) & [React](https://reactjs.org) using the [gatsby-starter-personal-blog](https://github.com/greglobinski/gatsby-starter-personal-blog) template. | <|file_sep|>original/content/parts/footnote.md
---
title: footnote
---
* Β© Ben Ilegbodu 2018.
* Built with [Gatsby](https://www.gatsbyjs.org/) & [React](https://reactjs.org).
<|file_sep|>current/content/parts/footnote.md
---
title: footnote
---
* Β© Ben Ilegbodu 2018.
* Built with [Gatsby](https://www.gatsbyjs.org/) &... | e23dd28030a14dd4169495c4f5f29278775f45b4 | content/parts/footnote.md | content/parts/footnote.md | Markdown |
<|file_sep|>cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecurityDelegatingPasswordEncoder.java.diff
original:
import org.springframework.stereotype.Component;
updated:
<|file_sep|>cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecuri... | * @since 4.3
*/
public class SpringSecurityDelegatingPasswordEncoder implements PasswordEncoder {
@NotNull
private org.springframework.security.crypto.password.PasswordEncoder delegate;
public void setDelegate(final org.springframework.security.crypto.password.PasswordEncoder delegate) {
this.de... | <|file_sep|>cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecurityDelegatingPasswordEncoder.java.diff
original:
import org.springframework.stereotype.Component;
updated:
<|file_sep|>cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecuri... | e904ae2bf7b780e063a6eb668c475337acae7a1a | cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecurityDelegatingPasswordEncoder.java | cas-server-core-authentication/src/main/java/org/jasig/cas/authentication/handler/SpringSecurityDelegatingPasswordEncoder.java | Java |
<|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.3
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2... | click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.7.0
matplotlib==2.2.3
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
| <|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.3
numpy==1.15.1
pandas==0.23.4
Pillow==5.2.0
protobuf==3.6.1
requests==2.19.1
scipy==1.1.0
stevedore==1.29.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2... | 4c77a216375869b407e38e99dce521315547e230 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/db/migrate/20160412032842_add_email_uniqueness_index.rb
class AddEmailUniquenessIndex < ActiveRecord::Migration
def change
end
end
<|file_sep|>current/db/migrate/20160412032842_add_email_uniqueness_index.rb
class AddEmailUniquenessIndex < ActiveRecord::Migration
def change
end
end
<|file_se... | class AddEmailUniquenessIndex < ActiveRecord::Migration
def change
add_index :users, :email, :unique => true
end
end | <|file_sep|>original/db/migrate/20160412032842_add_email_uniqueness_index.rb
class AddEmailUniquenessIndex < ActiveRecord::Migration
def change
end
end
<|file_sep|>current/db/migrate/20160412032842_add_email_uniqueness_index.rb
class AddEmailUniquenessIndex < ActiveRecord::Migration
def change
end
end
<|file_se... | f4936625e3ff3a0a6b2560824838bdef3ea9c25b | db/migrate/20160412032842_add_email_uniqueness_index.rb | db/migrate/20160412032842_add_email_uniqueness_index.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "dota2",
"version": "0.6.0",
"dependencies": {
"protobuf": "*",
"deferred": "*",
"bignumber.js": "*",
"merge": ">= 0.0.2"
},
"peerDependencies": {
"steam": ">= 0.6.0"
},
"readmeFilename": "README.md",
"description": "A node-steam plugin for... | {
"name": "dota2",
"version": "0.6.0",
"dependencies": {
"protobuf": "*",
"deferred": "*",
"bignumber.js": "*",
"merge": ">= 0.0.2"
},
"peerDependencies": {
"steam": ">= 0.6.6"
},
"readmeFilename": "README.md",
"description": "A node-steam plugin for Dota 2.",
"main": "index.js",
... | <|file_sep|>original/package.json
{
"name": "dota2",
"version": "0.6.0",
"dependencies": {
"protobuf": "*",
"deferred": "*",
"bignumber.js": "*",
"merge": ">= 0.0.2"
},
"peerDependencies": {
"steam": ">= 0.6.0"
},
"readmeFilename": "README.md",
"description": "A node-steam plugin for... | 8999ec91a5390851ecd1a514c267c3c4ca22a144 | package.json | package.json | JSON |
<|file_sep|>metadata/io.github.fvasco.pinpoi.txt.diff
original:
updated:
Build:0.1.2,3
commit=0.1.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/io.github.fvasco.pinpoi.txt
your gps position or a custom location, you can choose your destination and open
it with preferred app.
.
Repo Type:git
Repo:... | Repo:https://github.com/fvasco/pinpoi.git
Build:0.1,1
commit=0.1.0
subdir=app
gradle=yes
Build:0.1.1,2
commit=0.1.1
subdir=app
gradle=yes
Build:0.1.2,3
commit=0.1.2
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:0.1.2
Current Version Code... | <|file_sep|>metadata/io.github.fvasco.pinpoi.txt.diff
original:
updated:
Build:0.1.2,3
commit=0.1.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/io.github.fvasco.pinpoi.txt
your gps position or a custom location, you can choose your destination and open
it with preferred app.
.
Repo Type:git
Repo:... | c6938671566a79716ea2130609b9cd8a0516b925 | metadata/io.github.fvasco.pinpoi.txt | metadata/io.github.fvasco.pinpoi.txt | Text |
<|file_sep|>original/hosts/macbook/darwin-configuration.nix
[
alacritty
cabal-install
coreutils
docker
ffmpeg
fswatch
fzf
gnupg
home-manager
irssi
nodejs
openssl
reattach-to-user-namespace
ripgrep
sqlite
tig
tree
... | [
alacritty
cabal-install
coreutils
docker
ffmpeg
fswatch
fzf
gnupg
home-manager
nodejs
openssl
reattach-to-user-namespace
ripgrep
sqlite
tig
tree
wget
yarn
];
| <|file_sep|>original/hosts/macbook/darwin-configuration.nix
[
alacritty
cabal-install
coreutils
docker
ffmpeg
fswatch
fzf
gnupg
home-manager
irssi
nodejs
openssl
reattach-to-user-namespace
ripgrep
sqlite
tig
tree
... | 68c421a2c8d2dc04bcc96807de1266832770d195 | hosts/macbook/darwin-configuration.nix | hosts/macbook/darwin-configuration.nix | Nix |
<|file_sep|>original/client/mobrender/redux/action-creators/async-fetch-blocks.js
import * as t from '../action-types'
import { createAction } from './create-action'
import AuthSelectors from '~client/account/redux/selectors'
export default mobilizationId => (dispatch, getState, { api }) => {
const headers = AuthSel... | import * as t from '../action-types'
import { createAction } from './create-action'
import AuthSelectors from '~client/account/redux/selectors'
export default mobilizationId => (dispatch, getState, { api }) => {
const headers = AuthSelectors(getState()).getCredentials()
dispatch(createAction(t.FETCH_BLOCKS_REQUEST... | <|file_sep|>original/client/mobrender/redux/action-creators/async-fetch-blocks.js
import * as t from '../action-types'
import { createAction } from './create-action'
import AuthSelectors from '~client/account/redux/selectors'
export default mobilizationId => (dispatch, getState, { api }) => {
const headers = AuthSel... | 89072166fa1398f5c6956d0db56347eb361f26ed | client/mobrender/redux/action-creators/async-fetch-blocks.js | client/mobrender/redux/action-creators/async-fetch-blocks.js | JavaScript |
<|file_sep|>original/package.json
"repository": "hexojs/hexo-renderer-haml",
"keywords": [
"hexo",
"haml",
"renderer"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"dependencies": {
"hamljs": "^0.6.2"
},
"devDependencies": {
"chai": "^3.5.0",
... | "repository": "hexojs/hexo-renderer-haml",
"keywords": [
"hexo",
"haml",
"renderer"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"dependencies": {
"hamljs": "^0.6.2"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^1.10.3",
"eslint... | <|file_sep|>original/package.json
"repository": "hexojs/hexo-renderer-haml",
"keywords": [
"hexo",
"haml",
"renderer"
],
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
"license": "MIT",
"dependencies": {
"hamljs": "^0.6.2"
},
"devDependencies": {
"chai": "^3.5.0",
... | fdaf741a7904a7a6d83378e8ea2f45b2d671a912 | package.json | package.json | JSON |
<|file_sep|>original/app/database/seeds/UserTableSeeder.php
<?php
class UserTableSeeder extends Seeder
{
public function run()
{
DB::table('users')->delete();
User::create(array(
'email' => 'chawkinsuf@gmail.com',
'password' => '123456',
'nest_password' => '51gBJAh*yOEN*SK'
));
}
}
<|file_sep|>c... | <?php
class UserTableSeeder extends Seeder
{
public function run()
{
DB::table('users')->delete();
App\Models\User::create(array(
'email' => 'chawkinsuf@gmail.com',
'password' => '123456',
'nest_password' => '51gBJAh*yOEN*SK'
));
}
} | <|file_sep|>original/app/database/seeds/UserTableSeeder.php
<?php
class UserTableSeeder extends Seeder
{
public function run()
{
DB::table('users')->delete();
User::create(array(
'email' => 'chawkinsuf@gmail.com',
'password' => '123456',
'nest_password' => '51gBJAh*yOEN*SK'
));
}
}
<|file_sep|>c... | 2a79dc3df8c578bfdd4e05c88e7670fa7f3397dd | app/database/seeds/UserTableSeeder.php | app/database/seeds/UserTableSeeder.php | PHP |
<|file_sep|>original/tools/regression/geom_eli/init-i-P.t
<|file_sep|>current/tools/regression/geom_eli/init-i-P.t
<|file_sep|>updated/tools/regression/geom_eli/init-i-P.t | #!/bin/sh
# $FreeBSD$
base=`basename $0`
no=45
sectors=100
keyfile=`mktemp /tmp/$base.XXXXXX` || exit 1
mdconfig -a -t malloc -s `expr $sectors + 1` -u $no || exit 1
echo "1..1"
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
geli init -i 64 -P -K ${keyfile} md${no} 2>/dev/null
if [ $? -ne 0 ]; then... | <|file_sep|>original/tools/regression/geom_eli/init-i-P.t
<|file_sep|>current/tools/regression/geom_eli/init-i-P.t
<|file_sep|>updated/tools/regression/geom_eli/init-i-P.t
#!/bin/sh
# $FreeBSD$
base=`basename $0`
no=45
sectors=100
keyfile=`mktemp /tmp/$base.XXXXXX` || exit 1
mdconfig -a -t malloc -s `expr $sectors +... | 24e4deddbc95788a4bb7180765024f874d482124 | tools/regression/geom_eli/init-i-P.t | tools/regression/geom_eli/init-i-P.t | Perl |
<|file_sep|>original/run-all-tests.sh
BUILDVARS=${THISDIR}/build-vars.sh
if [ ! -f ${BUILDVARS} ] ; then
echo "Need ${BUILDVARS} to exist"
exit 1
fi
source ${BUILDVARS}
cd ${TURBINE}
echo
echo "Testing Turbine"
echo "================"
make test_results
cd ${STC}
echo
echo "Testing STC"
echo "================"
# ... | if [ ! -f ${BUILDVARS} ] ; then
echo "Need ${BUILDVARS} to exist"
exit 1
fi
source ${BUILDVARS}
cd ${TURBINE}
echo
echo "Testing Turbine"
echo "================"
if make test_results
then
echo "All Turbine tests passed"
else
echo "Turbine tests failed"
fi
cd ${STC}
echo
echo "Testing STC"
echo "==========... | <|file_sep|>original/run-all-tests.sh
BUILDVARS=${THISDIR}/build-vars.sh
if [ ! -f ${BUILDVARS} ] ; then
echo "Need ${BUILDVARS} to exist"
exit 1
fi
source ${BUILDVARS}
cd ${TURBINE}
echo
echo "Testing Turbine"
echo "================"
make test_results
cd ${STC}
echo
echo "Testing STC"
echo "================"
# ... | 0ab901d3ef2327b5bb98d27db03167be7c88ba4f | run-all-tests.sh | run-all-tests.sh | Shell |
<|file_sep|>.codeclimate.yml.diff
original:
enabled: true
stylelint:
updated:
<|file_sep|>original/.codeclimate.yml
duplication:
enabled: true
checks:
Similar code:
enabled: false
config:
languages:
- javascript
ratings:
paths:
- src/**/*.jsx
- src/**/*.js
- src/... | enabled: true
checks:
Similar code:
enabled: false
config:
languages:
- javascript
ratings:
paths:
- src/**/*.jsx
- src/**/*.js
exclude_paths:
- coverage/**/*
- docs/**/*
- public/**/*
- flow-typed/**/*
- implements/**/*
- styleguide/**/*
- src/**/*.spec.jsx
- src/**/*.spec... | <|file_sep|>.codeclimate.yml.diff
original:
enabled: true
stylelint:
updated:
<|file_sep|>original/.codeclimate.yml
duplication:
enabled: true
checks:
Similar code:
enabled: false
config:
languages:
- javascript
ratings:
paths:
- src/**/*.jsx
- src/**/*.js
- src/... | 8c20f87af9d95c2bd614544b489fc03ce66109e9 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/package.json
{
"name": "ricardoamaral.net",
"version": "3.0.0",
"description": "My personal website based on the Aerial theme from HTML5 UP.",
"author": "Ricardo Amaral <webmaster@ricardoamaral.net>",
"license": "MIT",
"private": true
}
<|file_sep|>current/package.json
{
"name": "rica... | {
"name": "ricardoamaral.net",
"version": "3.0.0",
"description": "My personal website based on the Aerial theme from HTML5 UP.",
"author": {
"name": "Ricardo Amaral",
"email": "hello@ricardoamaral.net"
},
"license": "MIT",
"private": true
} | <|file_sep|>original/package.json
{
"name": "ricardoamaral.net",
"version": "3.0.0",
"description": "My personal website based on the Aerial theme from HTML5 UP.",
"author": "Ricardo Amaral <webmaster@ricardoamaral.net>",
"license": "MIT",
"private": true
}
<|file_sep|>current/package.json
{
"name": "rica... | 06ef18d4b80d88c6e0b7cdb986e260c198569ba6 | package.json | package.json | JSON |
<|file_sep|>original/test/unit/round_test.rb
require 'test_helper'
class RoundTest < ActiveSupport::TestCase
test "newly created round has randomly generated url string" do
r = Round.new
assert_not_nil r.url
assert_match /^[[:xdigit:]]{6}$/, r.url
r2 = Round.new
assert_not_equal r.url, r2.url
... |
r2 = Round.new
assert_not_equal r.url, r2.url
end
test "newly created round has expire time of one hour" do
r = Round.new
assert_not_nil r.expire_time
assert Time.now + 1.hours - r.expire_time < 1 # fuzzy time comparison
end
test "url and expire_time persist on save" do
r = Round.new
... | <|file_sep|>original/test/unit/round_test.rb
require 'test_helper'
class RoundTest < ActiveSupport::TestCase
test "newly created round has randomly generated url string" do
r = Round.new
assert_not_nil r.url
assert_match /^[[:xdigit:]]{6}$/, r.url
r2 = Round.new
assert_not_equal r.url, r2.url
... | 1b16d9e7ea198059c40477d4b9e07076032d894a | test/unit/round_test.rb | test/unit/round_test.rb | Ruby |
<|file_sep|>original/.travis.yml
# http://travis-ci.org/#!/elasticsales/flask-mongorest
language: python
services: mongodb
python:
- 2.7
install:
- python setup.py install
script:
- python setup.py nosetests
<|file_sep|>current/.travis.yml
# http://travis-ci.org/#!/elasticsales/flask-mongorest
language: pyt... | # http://travis-ci.org/#!/elasticsales/flask-mongorest
language: python
services: mongodb
python:
- 2.7
install:
- pip install -r requirements.txt
script:
- python setup.py nosetests | <|file_sep|>original/.travis.yml
# http://travis-ci.org/#!/elasticsales/flask-mongorest
language: python
services: mongodb
python:
- 2.7
install:
- python setup.py install
script:
- python setup.py nosetests
<|file_sep|>current/.travis.yml
# http://travis-ci.org/#!/elasticsales/flask-mongorest
language: pyt... | 31e2f7641d4bcff45129fe34e59d65d1cdf3265f | .travis.yml | .travis.yml | YAML |
<|file_sep|>curl/push.ps1.diff
original:
docker tag curl stefanscherer/curl-windows:$version-2016
docker push stefanscherer/curl-windows:$version-2016
updated:
docker tag curl stefanscherer/curl-windows:$version-1607
docker push stefanscherer/curl-windows:$version-1607
<|file_sep|>curl/push.ps1.diff
original:
rebase-do... | $version=$(select-string -Path Dockerfile -Pattern "ENV CURL_VERSION").ToString().split()[-1]
docker tag curl stefanscherer/curl-windows:$version-1607
docker push stefanscherer/curl-windows:$version-1607
npm install -g rebase-docker-image
rebase-docker-image stefanscherer/curl-windows:$version-1607 -t stefanscherer/cu... | <|file_sep|>curl/push.ps1.diff
original:
docker tag curl stefanscherer/curl-windows:$version-2016
docker push stefanscherer/curl-windows:$version-2016
updated:
docker tag curl stefanscherer/curl-windows:$version-1607
docker push stefanscherer/curl-windows:$version-1607
<|file_sep|>curl/push.ps1.diff
original:
rebase-do... | 114e293ec0249416059f60fd81a9061bf4faac87 | curl/push.ps1 | curl/push.ps1 | PowerShell |
<|file_sep|>original/static/locales/km/messages.properties
navigation-what=α’αααΈ
navigation-how=ααααααΆ
navigation-more=αααααα
navigation-developers=α’αααα’αα·αααα
# Header
upper-title=Pontoon ααα Mozilla
headline-1=αααααααααααβαααααΆαα
headline-2=αα½αβααααααα
call-to-action=ααααΆααβαααα»αβαααααα
# What
# How
# More
# Deve... | navigation-how=ααααααΆ
navigation-more=αααααα
navigation-developers=α’αααα’αα·αααα
# Header
upper-title=Pontoon ααα Mozilla
headline-1=αααααααααααβαααααΆαα
headline-2=αα½αβααααααα
call-to-action=ααααΆααβαααα»αβαααααα
# What
what-desc=Pontoon allows you to localize web content in place, with context and spatial limitations ri... | <|file_sep|>original/static/locales/km/messages.properties
navigation-what=α’αααΈ
navigation-how=ααααααΆ
navigation-more=αααααα
navigation-developers=α’αααα’αα·αααα
# Header
upper-title=Pontoon ααα Mozilla
headline-1=αααααααααααβαααααΆαα
headline-2=αα½αβααααααα
call-to-action=ααααΆααβαααα»αβαααααα
# What
# How
# More
# Deve... | 81f8d5a11e055ffaace87bb70adc5d33598b4d2c | static/locales/km/messages.properties | static/locales/km/messages.properties | INI |
<|file_sep|>original/tests/run_integration_tests.sh
<|file_sep|>current/tests/run_integration_tests.sh
<|file_sep|>updated/tests/run_integration_tests.sh | #!/usr/bin/env bash
# Check that the script is being run correctly and can find the Dusty executable
if [ -z ${VIRTUAL_ENV+x} ]; then
echo "Cowardly refusing to run outside of a virtualenv"
exit 1
fi
if ! which -s dusty; then
echo "Could not locate the Dusty executable, are you in a virtualenv with Dusty... | <|file_sep|>original/tests/run_integration_tests.sh
<|file_sep|>current/tests/run_integration_tests.sh
<|file_sep|>updated/tests/run_integration_tests.sh
#!/usr/bin/env bash
# Check that the script is being run correctly and can find the Dusty executable
if [ -z ${VIRTUAL_ENV+x} ]; then
echo "Cowardly refusing ... | 3251853aadb4f890595644615c957dd05f25d047 | tests/run_integration_tests.sh | tests/run_integration_tests.sh | Shell |
<|file_sep|>original/README.md
mrpotato
========
Here you have Mr. Potato gentleman (SeΓ±or Patata in Spain) done with HTML5, CSS3 and JS
Demo: http://mayallidem.com/lab/mrpotato/index.html
Feel free for contribution improvement
<|file_sep|>current/README.md
mrpotato
========
Here you have Mr. Potato gentleman (SeΓ±o... | mrpotato
========
Here you have Mr. Potato gentleman (SeΓ±or Patata in Spain) done with HTML5, CSS3 and JS
Demo: http://mayallidem.com/lab/mrpotato-master/index.html
Feel free for contribution improvement | <|file_sep|>original/README.md
mrpotato
========
Here you have Mr. Potato gentleman (SeΓ±or Patata in Spain) done with HTML5, CSS3 and JS
Demo: http://mayallidem.com/lab/mrpotato/index.html
Feel free for contribution improvement
<|file_sep|>current/README.md
mrpotato
========
Here you have Mr. Potato gentleman (SeΓ±o... | bae989164eb5d8ebc51dea1c29b019f91c9df709 | README.md | README.md | Markdown |
<|file_sep|>public/app.js.diff
original:
var x = window.localStorage.getItem('x');
updated:
var x = window.localStorage.getItem('bbb');
<|file_sep|>original/public/app.js
function something()
{
var x = window.localStorage.getItem('x');
window.localStorage.setItem('x', 555);
alert(x);
}
<|file_sep|>curr... | function something()
{
var x = window.localStorage.getItem('bbb');
x = x * 1 + 1;
window.localStorage.setItem('bbb', x);
alert(x);
}
| <|file_sep|>public/app.js.diff
original:
var x = window.localStorage.getItem('x');
updated:
var x = window.localStorage.getItem('bbb');
<|file_sep|>original/public/app.js
function something()
{
var x = window.localStorage.getItem('x');
window.localStorage.setItem('x', 555);
alert(x);
}
<|file_sep|>curr... | d78725000c25b11bd66d46f255a03e3bc4a2740d | public/app.js | public/app.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.