prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/backend/sponsors/models.py
class SponsorLevel(OrderedModel):
name = models.CharField(_("name"), max_length=20)
conference = models.ForeignKey(
"conferences.Conference",
on_delete=models.CASCADE,
verbose_name=_("conference"),
related_name="sponsor_levels",
... |
class SponsorLevel(OrderedModel):
name = models.CharField(_("name"), max_length=20)
conference = models.ForeignKey(
"conferences.Conference",
on_delete=models.CASCADE,
verbose_name=_("conference"),
related_name="sponsor_levels",
)
def __str__(self):
return self.... | <|file_sep|>original/backend/sponsors/models.py
class SponsorLevel(OrderedModel):
name = models.CharField(_("name"), max_length=20)
conference = models.ForeignKey(
"conferences.Conference",
on_delete=models.CASCADE,
verbose_name=_("conference"),
related_name="sponsor_levels",
... | 3cccb20cb9de803867084cab47f43401bf044e63 | backend/sponsors/models.py | backend/sponsors/models.py | Python |
<|file_sep|>original/src/lib/download-blob.js
export default (filename, blob) => {
const downloadLink = document.createElement('a');
document.body.appendChild(downloadLink);
// Use special ms version if available to get it working on Edge.
if (navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpe... |
// Use special ms version if available to get it working on Edge.
if (navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpenBlob(blob, filename);
return;
}
if ('download' in HTMLAnchorElement.prototype) {
const url = window.URL.createObjectURL(blob);
downloadLink.href = u... | <|file_sep|>original/src/lib/download-blob.js
export default (filename, blob) => {
const downloadLink = document.createElement('a');
document.body.appendChild(downloadLink);
// Use special ms version if available to get it working on Edge.
if (navigator.msSaveOrOpenBlob) {
navigator.msSaveOrOpe... | 28cda95346a1f5c8071feb9ed50b8255c6120c51 | src/lib/download-blob.js | src/lib/download-blob.js | JavaScript |
<|file_sep|>original/.github/workflows/update-changelog.yml
<|file_sep|>current/.github/workflows/update-changelog.yml
<|file_sep|>updated/.github/workflows/update-changelog.yml | name: "Update Changelog"
on:
release:
types: [released]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: main
- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
... | <|file_sep|>original/.github/workflows/update-changelog.yml
<|file_sep|>current/.github/workflows/update-changelog.yml
<|file_sep|>updated/.github/workflows/update-changelog.yml
name: "Update Changelog"
on:
release:
types: [released]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkou... | 988419d739931ee45a021daa7b89f7fe7b88ad13 | .github/workflows/update-changelog.yml | .github/workflows/update-changelog.yml | YAML |
<|file_sep|>original/src/input/storageHandler.js
// everything except Firefox
e.name === 'QuotaExceededError' ||
// Firefox
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
// acknowledge QuotaExceededError only if there's something already stored
storage.length !== 0
}
}
export functi... | e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
// acknowledge QuotaExceededError only if there's something already stored
storage.length !== 0
}
}
export function storagePopulated () {
if (window.localStorage.length !== 0) {
console.log('populated')
return true
}
}
export function populat... | <|file_sep|>original/src/input/storageHandler.js
// everything except Firefox
e.name === 'QuotaExceededError' ||
// Firefox
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
// acknowledge QuotaExceededError only if there's something already stored
storage.length !== 0
}
}
export functi... | 6dd03089f29ae7cd357f45a929bed8f7e7d6440b | src/input/storageHandler.js | src/input/storageHandler.js | JavaScript |
<|file_sep|>original/ci/linkcheck.sh
set -x
elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build
if [ -z "$BASE_SHA" ]; then
echo "error: unexpected state: BASE_SHA must be non-empty in CI"
exit 1
fi
CHANGED_FILES=$(git diff --name-only $BASE_SHA... | tr '\n' ' ')
FLAGS="--n... | set -x
elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build
if [ -z "$BASE_SHA" ]; then
echo "error: unexpected state: BASE_SHA must be non-empty in CI"
exit 1
fi
CHANGED_FILES=$(git diff --name-only $BASE_SHA... | tr '\n' ' ')
FLAGS="--no-cache -f $CHANGED_FILES"
echo "C... | <|file_sep|>original/ci/linkcheck.sh
set -x
elif [ "$GITHUB_EVENT_NAME" = "pull_request" ] ; then # running in PR CI build
if [ -z "$BASE_SHA" ]; then
echo "error: unexpected state: BASE_SHA must be non-empty in CI"
exit 1
fi
CHANGED_FILES=$(git diff --name-only $BASE_SHA... | tr '\n' ' ')
FLAGS="--n... | 0355e125bf923d8f6157122de74906b013f1bedc | ci/linkcheck.sh | ci/linkcheck.sh | Shell |
<|file_sep|>original/app/helpers/multi_year_charts_helper.rb
# frozen_string_literal: true
module MultiYearChartsHelper
# Public: The full URL to the Multi-Year Charts application for an instance of
# MultiYearCharts.
#
# Returns a string.
def myc_url(multi_year_chart)
"#{APP_CONFIG[:multi_year_charts_url... | # frozen_string_literal: true
module MultiYearChartsHelper
# Public: The full URL to the Multi-Year Charts application for an instance of
# MultiYearCharts.
#
# Returns a string.
def myc_url(multi_year_chart)
"#{APP_CONFIG[:multi_year_charts_url]}/" \
"#{multi_year_chart.redirect_slug}?locale=#{I18n.l... | <|file_sep|>original/app/helpers/multi_year_charts_helper.rb
# frozen_string_literal: true
module MultiYearChartsHelper
# Public: The full URL to the Multi-Year Charts application for an instance of
# MultiYearCharts.
#
# Returns a string.
def myc_url(multi_year_chart)
"#{APP_CONFIG[:multi_year_charts_url... | b9f2c60ed99949773ee2df8fa4f7e8ce7ccbccae | app/helpers/multi_year_charts_helper.rb | app/helpers/multi_year_charts_helper.rb | Ruby |
<|file_sep|>original/app/templates/stop-detail.hbs
<|file_sep|>current/app/templates/stop-detail.hbs
<|file_sep|>updated/app/templates/stop-detail.hbs | <div class="nav-banner">
<a href="#" title="back" class="button button--return">
<i class="icon icon--arrow-left"></i>
</a>
<div class="search-bar">
<input type="text" title="search_input" placeholder="Search" class="search-bar__text-field">
<button class="button">
<i class="icon icon--search">... | <|file_sep|>original/app/templates/stop-detail.hbs
<|file_sep|>current/app/templates/stop-detail.hbs
<|file_sep|>updated/app/templates/stop-detail.hbs
<div class="nav-banner">
<a href="#" title="back" class="button button--return">
<i class="icon icon--arrow-left"></i>
</a>
<div class="search-bar">
<in... | 906cc9f0f024610311c727491ae0e4941545f4d9 | app/templates/stop-detail.hbs | app/templates/stop-detail.hbs | Handlebars |
<|file_sep|>original/.travis.yml
dotnet: 2.0.3
sudo: false # use the new container-based Travis infrastructure
osx_image: xcode9.1
os:
- linux
- osx
script:
# CSharp
- dotnet restore ./CSharp/src/Bedbrebo.sln
- dotnet build ./CSharp/src/Bedbrebo.sln
- dotnet restore ./CSharp/src/Domain/Bedbrebo.Domain.Core... | dotnet: 2.0.3
sudo: false # use the new container-based Travis infrastructure
osx_image: xcode9.1
os:
- linux
- osx
script:
# CSharp
- dotnet restore ./CSharp/src/Bedbrebo.sln
- dotnet build ./CSharp/src/Bedbrebo.sln
- dotnet restore ./CSharp/src/Domain/Bedbrebo.Domain.Core.UnitTests/Bedbrebo.Domain.Core.U... | <|file_sep|>original/.travis.yml
dotnet: 2.0.3
sudo: false # use the new container-based Travis infrastructure
osx_image: xcode9.1
os:
- linux
- osx
script:
# CSharp
- dotnet restore ./CSharp/src/Bedbrebo.sln
- dotnet build ./CSharp/src/Bedbrebo.sln
- dotnet restore ./CSharp/src/Domain/Bedbrebo.Domain.Core... | eb81813bcafe470c8f41dd916e7c43c75712cf11 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
{
"name": "flex-acl",
"version": "1.0.0",
"description": "Easy to implement, very flexible json based acl",
"main": "lib/index.js",
"scripts": {
"test": "mocha test\\test.js"
},
"dependencies": {
"filter-objects": "1.1.x",
"lodash": "4.x.x"
},
"devDependen... | {
"name": "flex-acl",
"version": "1.0.0",
"description": "Easy to implement, very flexible json based acl",
"main": "lib/index.js",
"scripts": {
"test": "mocha test\\test.js"
},
"dependencies": {
"filter-objects": "2.x",
"lodash": "4.x.x"
},
"devDependencies": {
"mocha":"2.2.x",
"e... | <|file_sep|>original/package.json
{
"name": "flex-acl",
"version": "1.0.0",
"description": "Easy to implement, very flexible json based acl",
"main": "lib/index.js",
"scripts": {
"test": "mocha test\\test.js"
},
"dependencies": {
"filter-objects": "1.1.x",
"lodash": "4.x.x"
},
"devDependen... | b61fe2f0bea25f87fc17a4a3226d48a30e4f029f | package.json | package.json | JSON |
<|file_sep|>original/fs/home/user/.bash/function/java.bash
#!/bin/bash
function findinjar() {
for jar in `find . -iname \*.jar`; do echo "$jar: "; jar tvf $jar | grep $1; done
}
function gcstat() {
$JAVA_HOME/bin/jstat -gcutil -h 10 $1 5s
}
function heapSummary() {
$JAVA_HOME/bin/jmap -heap $1
}
functio... | #!/bin/bash
function findinjar() {
for jar in `find . -iname \*.jar | sort -u`; do echo "$jar: "; jar tvf $jar | grep $1; done
}
function gcstat() {
$JAVA_HOME/bin/jstat -gcutil -h 10 $1 5s
}
function heapSummary() {
$JAVA_HOME/bin/jmap -heap $1
}
function threadDump() {
$JAVA_HOME/bin/jstack $1; he... | <|file_sep|>original/fs/home/user/.bash/function/java.bash
#!/bin/bash
function findinjar() {
for jar in `find . -iname \*.jar`; do echo "$jar: "; jar tvf $jar | grep $1; done
}
function gcstat() {
$JAVA_HOME/bin/jstat -gcutil -h 10 $1 5s
}
function heapSummary() {
$JAVA_HOME/bin/jmap -heap $1
}
functio... | 784ef3beb278b31d61025c8ad6cde4abc5db5140 | fs/home/user/.bash/function/java.bash | fs/home/user/.bash/function/java.bash | Shell |
<|file_sep|>original/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php
<|file_sep|>current/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php
<|file_sep|>updated/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php | <?php
namespace Oro\Bundle\CalendarBundle\Migrations\Data\ORM;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Oro\Bundle\CalendarBundle\Entity\CalendarEvent;
use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
use Oro\Bundle\EntityExtendBundle\Entity\Repo... | <|file_sep|>original/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php
<|file_sep|>current/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php
<|file_sep|>updated/src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php
<?php
name... | f9932544b740fe9f3d0bc977e9baa3deef44ed60 | src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php | src/Oro/Bundle/CalendarBundle/Migrations/Data/ORM/LoadCalendarEventOriginData.php | PHP |
<|file_sep|>original/package.json
"deploy": "npm run clean && npm run build && node scripts/uploader.js"
},
"author": "Diego Benitez <diego@vokkal.co>",
"license": "SEE LICENSE IN License.txt",
"devDependencies": {
"@types/aws-lambda": "0.0.16",
"@types/aws-sdk": "^2.7.0",
"@types/chai": "^3.4.3... | },
"author": "Diego Benitez <diego@vokkal.co>",
"license": "SEE LICENSE IN License.txt",
"devDependencies": {
"@types/aws-lambda": "0.0.16",
"@types/aws-sdk": "^2.7.0",
"@types/chai": "^3.4.34",
"@types/mocha": "^2.2.39",
"@types/node": "^7.0.5",
"aws-sdk": "^2.12.0",
"aws-sdk-typesc... | <|file_sep|>original/package.json
"deploy": "npm run clean && npm run build && node scripts/uploader.js"
},
"author": "Diego Benitez <diego@vokkal.co>",
"license": "SEE LICENSE IN License.txt",
"devDependencies": {
"@types/aws-lambda": "0.0.16",
"@types/aws-sdk": "^2.7.0",
"@types/chai": "^3.4.3... | 77887f79b7088e8a2e632032aa71f5af5d8d5dee | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
branches:
only:
- master
language: node_js
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
branches:
only:
- master
language: node_js
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml | branches:
only:
- master
language: node_js
node_js:
- 0.6 | <|file_sep|>original/.travis.yml
branches:
only:
- master
language: node_js
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
branches:
only:
- master
language: node_js
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml
branches:
only:
- master
language: node_js
node_js:
- 0.6 | 1bb00417b223bb5f3c2897dd72225ec304439556 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/exercises/rna-transcription/src/example.c
#include <stdlib.h>
#include <string.h>
#include "rna_transcription.h"
char *to_rna(const char *dna) {
size_t len = strlen(dna);
char *rna = malloc(sizeof(char) * len);
for (int i = 0; i < len; i++) {
switch (dna[i]) {
case 'G':
rna[i]... | #include <stdlib.h>
#include <string.h>
#include "rna_transcription.h"
char *to_rna(const char *dna) {
size_t len = strlen(dna);
char *rna = malloc(sizeof(char) * len);
for (size_t i = 0; i < len; i++) {
switch (dna[i]) {
case 'G':
rna[i] = 'C';
break;
case 'C':
rna[i] = 'G';
... | <|file_sep|>original/exercises/rna-transcription/src/example.c
#include <stdlib.h>
#include <string.h>
#include "rna_transcription.h"
char *to_rna(const char *dna) {
size_t len = strlen(dna);
char *rna = malloc(sizeof(char) * len);
for (int i = 0; i < len; i++) {
switch (dna[i]) {
case 'G':
rna[i]... | 60dcc9639dd5f36d1049f1d85bfd6bec45b2ab20 | exercises/rna-transcription/src/example.c | exercises/rna-transcription/src/example.c | C |
<|file_sep|>original/app/components/comment-thread/form/template.hbs
{{textarea
key-down=(action 'commentKeyDown')
local-class='comment-field'
placeholder=placeholder
value=content}}
<input
disabled={{eq content ''}}
local-class='submit-button'
onclick={{perform submit content}}
type="button"
value="... | {{textarea
autofocus=true
key-down=(action 'commentKeyDown')
local-class='comment-field'
placeholder=placeholder
value=content}}
<input
disabled={{eq content ''}}
local-class='submit-button'
onclick={{perform submit content}}
type="button"
value="Post"> | <|file_sep|>original/app/components/comment-thread/form/template.hbs
{{textarea
key-down=(action 'commentKeyDown')
local-class='comment-field'
placeholder=placeholder
value=content}}
<input
disabled={{eq content ''}}
local-class='submit-button'
onclick={{perform submit content}}
type="button"
value="... | 324ae9a42826ea33771570e4a90b241dceedf138 | app/components/comment-thread/form/template.hbs | app/components/comment-thread/form/template.hbs | Handlebars |
<|file_sep|>zsh/osx.zsh.diff
original:
updated:
# Open with finder
alias o="open"
alias oo="open ."
# Open MacVim
alias vm="mvim"
alias vmm="mvim ."
<|file_sep|>original/zsh/osx.zsh
# Make sure we're running OS X
if [[ "$OSX" != true ]];then
return
fi
# Homebrew cask install apps to global Applications
export HOM... | alias vmm="mvim ."
# CocoaPods
alias pi="pod install"
alias psla="pod spec lint *.podspec --verbose"
alias pclean="rm -rf $HOME/Library/Caches/CocoaPods /tmp/CocoaPods"
# MacRuby
alias macirb="macirb --simple-prompt"
# Clean up LaunchServices to remove duplicates in the “Open With” menu
alias lscleanup="/System/Libr... | <|file_sep|>zsh/osx.zsh.diff
original:
updated:
# Open with finder
alias o="open"
alias oo="open ."
# Open MacVim
alias vm="mvim"
alias vmm="mvim ."
<|file_sep|>original/zsh/osx.zsh
# Make sure we're running OS X
if [[ "$OSX" != true ]];then
return
fi
# Homebrew cask install apps to global Applications
export HOM... | ac1ad2533ecd68f4f2a285ba8fd33b21834477f8 | zsh/osx.zsh | zsh/osx.zsh | Shell |
<|file_sep|>original/README.md
mithril-node-render
===================
[](https://gitter.im/StephanHoyer/mithril-node-render?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://gitter.im/StephanHoyer/mithril-node-render?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/StephanH... | <|file_sep|>original/README.md
mithril-node-render
===================
[](https://gitter.im/StephanHoyer/mithril-node-render?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[ { create(:admin) }
let(:group) { create(:group) }
before do
sign_in(user)
group.add_owner(user)
end
... | require 'spec_helper'
feature 'Import multiple repositories by uploading a manifest file', :js, :postgresql do
include Select2Helper
let(:user) { create(:admin) }
let(:group) { create(:group) }
before do
sign_in(user)
group.add_owner(user)
end
it 'parses manifest file and list repositories' do
... | <|file_sep|>original/spec/features/import/manifest_import_spec.rb
require 'spec_helper'
feature 'Import multiple repositories by uploading a manifest file', :js do
include Select2Helper
let(:user) { create(:admin) }
let(:group) { create(:group) }
before do
sign_in(user)
group.add_owner(user)
end
... | ca3d185dacc05f80238f0fa403ca90e0371fcee0 | spec/features/import/manifest_import_spec.rb | spec/features/import/manifest_import_spec.rb | Ruby |
<|file_sep|>original/imports/components/players/new-player.html
<ion-view>
<ion-header-bar>
<h1 class="title">New Player</h1>
<div class="buttons">
<button class="button button-clear button-positive" ng-click="newplayer.goBack()">Cancel</button>
</div>
</ion-header-bar>
<ion-content class="newp... | <ion-view>
<ion-header-bar>
<h1 class="title">New Player</h1>
<div class="buttons">
<button class="button button-clear button-positive" ng-click="$ctrl.goBack()">Cancel</button>
</div>
</ion-header-bar>
<ion-content class="newplayer">
<div class="list">
<label class="item item-input... | <|file_sep|>original/imports/components/players/new-player.html
<ion-view>
<ion-header-bar>
<h1 class="title">New Player</h1>
<div class="buttons">
<button class="button button-clear button-positive" ng-click="newplayer.goBack()">Cancel</button>
</div>
</ion-header-bar>
<ion-content class="newp... | c38abf8ef30416d8f2934b51d484380b55279c9a | imports/components/players/new-player.html | imports/components/players/new-player.html | HTML |
<|file_sep|>original/package.json
, "keywords": [ "couchdb", "couchjs" ]
, "version": "0.3.0"
, "author": "Jason Smith <jhs@iriscouch.com> (http://www.iriscouch.com)"
, "repository": { "type":"git", "url":"https://github.com/iriscouch/couchjs" }
, "engines": { "node": ">= 0.8" }
, "main": "./couchjs.js"
, "bin": "./cl... | , "keywords": [ "couchdb", "couchjs" ]
, "version": "0.3.0"
, "author": "Jason Smith <jhs@iriscouch.com> (http://www.iriscouch.com)"
, "repository": { "type":"git", "url":"https://github.com/iriscouch/couchjs" }
, "engines": { "node": ">= 0.8" }
, "main": "./couchjs.js"
, "bin": "./cli.js"
, "bundledDependencies": ["... | <|file_sep|>original/package.json
, "keywords": [ "couchdb", "couchjs" ]
, "version": "0.3.0"
, "author": "Jason Smith <jhs@iriscouch.com> (http://www.iriscouch.com)"
, "repository": { "type":"git", "url":"https://github.com/iriscouch/couchjs" }
, "engines": { "node": ">= 0.8" }
, "main": "./couchjs.js"
, "bin": "./cl... | aa3a4cf9ab85dc6c022a94cf155b70bbbf8a3e3a | package.json | package.json | JSON |
<|file_sep|>lib/interactor/organizer.rb.diff
original:
updated:
# Public: Interactor::Organizer methods. Because Interactor::Organizer is a
# module, custom Interactor::Organizer classes should include
# Interactor::Organizer rather than inherit from it.
#
# Examples
#
# class MyOrganizer
# inclu... | # # => [InteractorOne, InteractorTwo]
#
# Returns an Array of Interactor classes or an empty Array.
def organized
@organized ||= []
end
end
# Internal: Interactor::Organizer instance methods.
module InstanceMethods
# Internal: Invoke the organized Interactors. ... | <|file_sep|>lib/interactor/organizer.rb.diff
original:
updated:
# Public: Interactor::Organizer methods. Because Interactor::Organizer is a
# module, custom Interactor::Organizer classes should include
# Interactor::Organizer rather than inherit from it.
#
# Examples
#
# class MyOrganizer
# inclu... | cc1f5988e36817fcba85baa6a65f7b9757e18b27 | lib/interactor/organizer.rb | lib/interactor/organizer.rb | Ruby |
<|file_sep|>original/lib/support/requires.rb
require 'raml_parser'
require 'json'
module RamlPoliglota
module Support
class SourceLoader
def initialize
@ignorable_source_files = [File.join('support', 'requires.rb'), File.join('raml_poliglota.rb')]
@dir_order = ['configuration', 'model', '... | require 'raml_parser'
require 'json'
module RamlPoliglota
module Support
class SourceLoader
def initialize
@ignorable_source_files = [File.join('support', 'requires.rb'), File.join('raml_poliglota.rb')]
@dir_order = ['configuration', 'model', 'support', 'helper', 'validation', 'parser', '... | <|file_sep|>original/lib/support/requires.rb
require 'raml_parser'
require 'json'
module RamlPoliglota
module Support
class SourceLoader
def initialize
@ignorable_source_files = [File.join('support', 'requires.rb'), File.join('raml_poliglota.rb')]
@dir_order = ['configuration', 'model', '... | 60d6faa4b9d180ecf325c7313f7fe2d0ddd9b9e5 | lib/support/requires.rb | lib/support/requires.rb | Ruby |
<|file_sep|>original/src/test/java/model/TetrominoTest.java
<|file_sep|>current/src/test/java/model/TetrominoTest.java
<|file_sep|>updated/src/test/java/model/TetrominoTest.java | package model;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by vincet on 31/03/16.
*/
public class TetrominoTest {
private Tetromino objectTest;
@Before
public void setUp() throws Exception {
objectTest = new Tetromino(TetrominoType.L,new Posit... | <|file_sep|>original/src/test/java/model/TetrominoTest.java
<|file_sep|>current/src/test/java/model/TetrominoTest.java
<|file_sep|>updated/src/test/java/model/TetrominoTest.java
package model;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by vincet on 31/03/16.
*... | ecc20b1882950d1b7b460ccccee348aa259ff3c2 | src/test/java/model/TetrominoTest.java | src/test/java/model/TetrominoTest.java | Java |
<|file_sep|>original/ruby/aliases.zsh
alias r='rbenv local 1.8.7-p358'
alias sc='script/console'
alias sg='script/generate'
alias sd='script/destroy'
alias migrate='rake db:migrate db:test:clone'
<|file_sep|>current/ruby/aliases.zsh
alias r='rbenv local 1.8.7-p358'
alias sc='script/console'
alias sg='script/generate... | alias bi='bundle install --path .bundle/gems --binstubs .bundle/bin' | <|file_sep|>original/ruby/aliases.zsh
alias r='rbenv local 1.8.7-p358'
alias sc='script/console'
alias sg='script/generate'
alias sd='script/destroy'
alias migrate='rake db:migrate db:test:clone'
<|file_sep|>current/ruby/aliases.zsh
alias r='rbenv local 1.8.7-p358'
alias sc='script/console'
alias sg='script/generate... | c357651b8395e63926a130ca9e3ae1d249496796 | ruby/aliases.zsh | ruby/aliases.zsh | Shell |
<|file_sep|>original/w.sh
#!/bin/sh
while true; do
go run main.go -w
if [ $? != 0 ] ; then
exit
fi
echo restarting
done
<|file_sep|>current/w.sh
#!/bin/sh
while true; do
go run main.go -w
if [ $? != 0 ] ; then
exit
fi
echo restarting
done
<|file_sep|>updated/w.sh | #!/bin/sh
while true; do
go run -race main.go -w
if [ $? != 0 ] ; then
exit
fi
echo restarting
done | <|file_sep|>original/w.sh
#!/bin/sh
while true; do
go run main.go -w
if [ $? != 0 ] ; then
exit
fi
echo restarting
done
<|file_sep|>current/w.sh
#!/bin/sh
while true; do
go run main.go -w
if [ $? != 0 ] ; then
exit
fi
echo restarting
done
<|file_sep|>updated/w.sh
#!/bin/sh
while true; do
go run -race ma... | 9c62f6a1f63e6bea9824f4b110f80339f69ca865 | w.sh | w.sh | Shell |
<|file_sep|>original/lib/domgen/jws/templates/jax_ws_catalog.xml.erb
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<%
repository.data_modules.each do |d... | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<%
repository.data_modules.each do |data_module|
data_module.services.select{|s| s.jws?}.each do |service|
-%>
<public publicId="<%= service.jws.system_id %>" uri="wsdl/<%= service.jws.wsdl_name %>"/>
<system systemId="<%= service.j... | <|file_sep|>original/lib/domgen/jws/templates/jax_ws_catalog.xml.erb
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<%
repository.data_modules.each do |d... | 29d16af3adf780c73bd7e92572a96aaf09af2b33 | lib/domgen/jws/templates/jax_ws_catalog.xml.erb | lib/domgen/jws/templates/jax_ws_catalog.xml.erb | HTML+ERB |
<|file_sep|>src/Skills/Skill.php.diff
original:
<?php namespace Kshabazz\BattleNet\D3\Models;
updated:
<?php namespace Kshabazz\BattleNet\D3\Skills;
<|file_sep|>src/Skills/Skill.php.diff
original:
updated:
* Interface Skill
<|file_sep|>original/src/Skills/Skill.php
<?php namespace Kshabazz\BattleNet\D3\Models;
/**
*... | <?php namespace Kshabazz\BattleNet\D3\Skills;
/**
* Interface Skill
*
* @package Kshabazz\BattleNet\D3\Skills
*/
interface Skill
{
/**
* Constructor
*
* @param string $pType
* @param array $pSkill
*/
public function __construct( $pType, array $pSkill );
/**
* @return string
*/
public function get... | <|file_sep|>src/Skills/Skill.php.diff
original:
<?php namespace Kshabazz\BattleNet\D3\Models;
updated:
<?php namespace Kshabazz\BattleNet\D3\Skills;
<|file_sep|>src/Skills/Skill.php.diff
original:
updated:
* Interface Skill
<|file_sep|>original/src/Skills/Skill.php
<?php namespace Kshabazz\BattleNet\D3\Models;
/**
*... | a9e63451abd3f624428de80a51fecfd8e01f1b6d | src/Skills/Skill.php | src/Skills/Skill.php | PHP |
<|file_sep|>terraform/eval_refresh.go.diff
original:
updated:
"fmt"
<|file_sep|>original/terraform/eval_refresh.go
return h.PreRefresh(n.Info, state)
})
if err != nil {
return nil, err
}
// Refresh!
state, err = provider.Refresh(n.Info, state)
if err != nil {
return nil, err
}
// Call post-refresh hoo... | err := ctx.Hook(func(h Hook) (HookAction, error) {
return h.PreRefresh(n.Info, state)
})
if err != nil {
return nil, err
}
// Refresh!
state, err = provider.Refresh(n.Info, state)
if err != nil {
return nil, fmt.Errorf("%s: %s", n.Info.Id, err.Error())
}
// Call post-refresh hook
err = ctx.Hook(func(h... | <|file_sep|>terraform/eval_refresh.go.diff
original:
updated:
"fmt"
<|file_sep|>original/terraform/eval_refresh.go
return h.PreRefresh(n.Info, state)
})
if err != nil {
return nil, err
}
// Refresh!
state, err = provider.Refresh(n.Info, state)
if err != nil {
return nil, err
}
// Call post-refresh hoo... | dc7578aff971e84bed156b00bfef33543bf26249 | terraform/eval_refresh.go | terraform/eval_refresh.go | Go |
<|file_sep|>original/h2o-core/src/test/java/water/TypeMapTest.java
@BeforeClass()
public static void setup() { stall_till_cloudsize(1); }
@Test
public void testPrintTypeMap() {
TypeMap.printTypeMap(System.out);
ByteArrayOutputStream os = new ByteArrayOutputStream();
try (Pr... |
@BeforeClass()
public static void setup() { stall_till_cloudsize(1); }
@Test
public void testPrintTypeMap() {
TypeMap.printTypeMap(System.out);
ByteArrayOutputStream os = new ByteArrayOutputStream();
try (PrintStream ps = new PrintStream(os)) {
TypeMap.printType... | <|file_sep|>original/h2o-core/src/test/java/water/TypeMapTest.java
@BeforeClass()
public static void setup() { stall_till_cloudsize(1); }
@Test
public void testPrintTypeMap() {
TypeMap.printTypeMap(System.out);
ByteArrayOutputStream os = new ByteArrayOutputStream();
try (Pr... | 3f40fa98895c950baf09388ebd8c383c6f190c9b | h2o-core/src/test/java/water/TypeMapTest.java | h2o-core/src/test/java/water/TypeMapTest.java | Java |
<|file_sep|>original/src/Indexer.php
* Index operation.
*
* @param string $key
* The key to index undeer.
* @param Operation|null $operation
* The operation to index.
*/
public function index($key, Operation $operation = null)
{
if ($operation) {
$this-... | * Index operation.
*
* @param string $key
* The key to index undeer.
* @param Operation|null $operation
* The operation to index.
*/
public function index($key, Operation $operation = null)
{
if ($operation) {
$this->index[$key][$operation->idx($this->c... | <|file_sep|>original/src/Indexer.php
* Index operation.
*
* @param string $key
* The key to index undeer.
* @param Operation|null $operation
* The operation to index.
*/
public function index($key, Operation $operation = null)
{
if ($operation) {
$this-... | 0433a834418ed12c24225a30e76055e26ab90dd3 | src/Indexer.php | src/Indexer.php | PHP |
<|file_sep|>src/Input/LevelController.js.diff
original:
if( this.index === 0 ) {
updated:
if(this.level.index === 0) {
<|file_sep|>original/src/Input/LevelController.js
};
LevelController.prototype.left = function() {
if( this.index === 0 ) {
return;
}
this.level.index -= 1;
};
LevelController.prototype... | };
LevelController.prototype.left = function() {
if(this.level.index === 0) {
return;
}
this.level.index -= 1;
};
LevelController.prototype.right = function() {
if(this.level.index === this.level.puzzle.board.columns - 1) {
return;
}
this.level.index += 1;
};
LevelController.prototype.down = func... | <|file_sep|>src/Input/LevelController.js.diff
original:
if( this.index === 0 ) {
updated:
if(this.level.index === 0) {
<|file_sep|>original/src/Input/LevelController.js
};
LevelController.prototype.left = function() {
if( this.index === 0 ) {
return;
}
this.level.index -= 1;
};
LevelController.prototype... | 1b076fbce5ef391fcbbe813c7cde0906cc3278fd | src/Input/LevelController.js | src/Input/LevelController.js | JavaScript |
<|file_sep|>Sources/Rosetta/Enchants/Enchant.cpp.diff
original:
Enchant::Enchant(std::vector<Effect>& effects)
updated:
Enchant::Enchant(std::vector<Effect>& _effects)
<|file_sep|>original/Sources/Rosetta/Enchants/Enchant.cpp
namespace RosettaStone
{
Enchant::Enchant(Effect& effect)
{
effects.emplace_back(effect);... |
namespace RosettaStone
{
Enchant::Enchant(Effect& effect)
{
effects.emplace_back(effect);
}
Enchant::Enchant(std::vector<Effect>& _effects)
{
effects = _effects;
}
void Enchant::ActivateTo(Character* character)
{
for (auto& effect : effects)
{
effect.Apply(character);
}
}
} // namespace ... | <|file_sep|>Sources/Rosetta/Enchants/Enchant.cpp.diff
original:
Enchant::Enchant(std::vector<Effect>& effects)
updated:
Enchant::Enchant(std::vector<Effect>& _effects)
<|file_sep|>original/Sources/Rosetta/Enchants/Enchant.cpp
namespace RosettaStone
{
Enchant::Enchant(Effect& effect)
{
effects.emplace_back(effect);... | e3c6d571cdcffcbdaacd9cc23c977b1098995b10 | Sources/Rosetta/Enchants/Enchant.cpp | Sources/Rosetta/Enchants/Enchant.cpp | C++ |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2
- jruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2
- jruby-head
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2
- jruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2
- jruby-head
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.2.0
- 2.1.0
- 2.0.0
- rbx-2 | b5995920704559fd983814f91385f8c8ea5be183 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# GitEnvironment
My personal Git setup for Windows (Git aliases, Bash shell aliases and so on)
##How to install
Copy these files in C:\Users\<your username>
* .bash_profile
* .bashrc
* .gitattributes
* .gitconfig
* .gitexcludes
<|file_sep|>current/README.md
# GitEnvironment
My personal ... | # GitEnvironment
My personal Git setup for Windows (Git aliases, Bash shell aliases and so on)
##
Starting from here, consider <home> as your user folder (C:\Users\<username>)
##How to use
Copy/merge these files in <home> folder:
* .bash_profile
* .bashrc
* .gitattributes
* .gitconfig
* .gitexcludes
| <|file_sep|>original/README.md
# GitEnvironment
My personal Git setup for Windows (Git aliases, Bash shell aliases and so on)
##How to install
Copy these files in C:\Users\<your username>
* .bash_profile
* .bashrc
* .gitattributes
* .gitconfig
* .gitexcludes
<|file_sep|>current/README.md
# GitEnvironment
My personal ... | e8a8ed7bc010add91bffe31cfbe6dfbc3d044f0d | README.md | README.md | Markdown |
<|file_sep|>src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java.diff
original:
updated:
import net.darkhax.bookshelf.util.WorldUtils;
<|file_sep|>src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java.diff
original:
import net.minecraft.util.math.BlockPos;
import ne... | package net.darkhax.darkutils.features.antislime;
import net.darkhax.bookshelf.util.WorldUtils;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.tileentity.TileEntity;
public class TileEntityAntiSlime extends TileEntity {
public boolean shareChunks (EntityLivingBase entity) {
return Wo... | <|file_sep|>src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java.diff
original:
updated:
import net.darkhax.bookshelf.util.WorldUtils;
<|file_sep|>src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java.diff
original:
import net.minecraft.util.math.BlockPos;
import ne... | b8f2b7fc0e4d71af18ca6feb4b18ed65b8de7c0c | src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java | src/main/java/net/darkhax/darkutils/features/antislime/TileEntityAntiSlime.java | Java |
<|file_sep|>original/etc/pytest.ini
[pytest]
addopts =
--doctest-glob='*.rst'
--tb=native
--capture=fd
--splinter-implicit-wait=1
--splinter-speed=0
--splinter-socket-timeout=120
--splinter-webdriver=phantomjs
--splinter-session-scoped-browser
--cov=adhocracy
--cov=adhocracy_samp... | [pytest]
addopts =
--doctest-glob='*.rst'
--tb=native
--capture=fd
--splinter-implicit-wait=1
--splinter-speed=0
--splinter-socket-timeout=120
--splinter-webdriver=phantomjs
--splinter-session-scoped-browser
--cov=adhocracy
--cov=adhocracy_sample
--cov-report=html
--cov-r... | <|file_sep|>original/etc/pytest.ini
[pytest]
addopts =
--doctest-glob='*.rst'
--tb=native
--capture=fd
--splinter-implicit-wait=1
--splinter-speed=0
--splinter-socket-timeout=120
--splinter-webdriver=phantomjs
--splinter-session-scoped-browser
--cov=adhocracy
--cov=adhocracy_samp... | 3ef8e7783203f14665043f09539226a69a5ce594 | etc/pytest.ini | etc/pytest.ini | INI |
<|file_sep|>original/requirements.txt
coverage==4.4
docker-py==1.10.6
docutils==0.13.1
ipdb==0.10.2
ipython==6.0.0
flake8==3.3.0
wheel==0.29.0
setuptools==35.0.2
-e .[sa]
sphinx==1.5.5
tox==2.7.0
pytest==3.0.7
pytest-cov==2.4.0
pytest-sugar==0.8.0
pytest-timeout==1.2.0
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.9
psy... | coverage==4.4
docker-py==1.10.6
docutils==0.13.1
ipdb==0.10.3
ipython==6.0.0
flake8==3.3.0
wheel==0.29.0
setuptools==35.0.2
-e .[sa]
sphinx==1.5.5
tox==2.7.0
pytest==3.0.7
pytest-cov==2.4.0
pytest-sugar==0.8.0
pytest-timeout==1.2.0
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.9
psycopg2==2.6.2 | <|file_sep|>original/requirements.txt
coverage==4.4
docker-py==1.10.6
docutils==0.13.1
ipdb==0.10.2
ipython==6.0.0
flake8==3.3.0
wheel==0.29.0
setuptools==35.0.2
-e .[sa]
sphinx==1.5.5
tox==2.7.0
pytest==3.0.7
pytest-cov==2.4.0
pytest-sugar==0.8.0
pytest-timeout==1.2.0
sphinxcontrib-asyncio==0.2.0
sqlalchemy==1.1.9
psy... | 3b9074086946f5a58378f35e77e36cca44d7ebaa | requirements.txt | requirements.txt | Text |
<|file_sep|>original/sale_order_add_variants/__openerp__.py
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################... | # GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Sale Order A... | <|file_sep|>original/sale_order_add_variants/__openerp__.py
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################... | 627217b13482fff5451d3aa03867923925c49ec8 | sale_order_add_variants/__openerp__.py | sale_order_add_variants/__openerp__.py | Python |
<|file_sep|>index.coffee.diff
original:
updated:
optimist = require('optimist')
.usage('Amazon Trade In Price Check')
.alias('o', 'out')
.describe('o', 'Write data to JSON file. Usage: "-o data.json"')
.alias('t', 'table')
.describe('t', 'Output results as CLI table')
argv = optimist.argv
<|file_sep|>index... |
retrieve = require('./src/retrieve')
do ->
if argv.h or argv.help
return optimist.showHelp()
console.log "Using books.yml with #{books.books.length} ISBNs"
if argv.t or argv.table
output = require('./src/tableOutput')
output retrieve(books.books)
out = argv.o or argv.out
if typeof out is "str... | <|file_sep|>index.coffee.diff
original:
updated:
optimist = require('optimist')
.usage('Amazon Trade In Price Check')
.alias('o', 'out')
.describe('o', 'Write data to JSON file. Usage: "-o data.json"')
.alias('t', 'table')
.describe('t', 'Output results as CLI table')
argv = optimist.argv
<|file_sep|>index... | ebcad2f437021eb2ee054dd59ced1e27eacb8869 | index.coffee | index.coffee | CoffeeScript |
<|file_sep|>packages/fs/fswatch.yaml.diff
original:
hash: 0eced2c275b8b0168c39773c137529d9d364865293ad1b76adb54b012389e199
updated:
hash: f2587f2da0834df8304a9936afdaa906f095310b805a8e9461aef5a94458b444
<|file_sep|>packages/fs/fswatch.yaml.diff
original:
base: ==4.9.*
process: ! '>=1.4.3'
updated:
base: ==4.10.*
... | maintainer: '-'
synopsis: File System watching tool with cli and slave functionalities.
changelog: ! "# Revision history for fswatch\r\n\r\n## 0.1.0.0 -- YYYY-mm-dd\r\n\r\n*
First version. Released on an unsuspecting world.\r\n"
basic-deps:
haskeline: ==0.7.*
base: ==4.10.*
process: ! '>=1.6'
fswatch: -any
... | <|file_sep|>packages/fs/fswatch.yaml.diff
original:
hash: 0eced2c275b8b0168c39773c137529d9d364865293ad1b76adb54b012389e199
updated:
hash: f2587f2da0834df8304a9936afdaa906f095310b805a8e9461aef5a94458b444
<|file_sep|>packages/fs/fswatch.yaml.diff
original:
base: ==4.9.*
process: ! '>=1.4.3'
updated:
base: ==4.10.*
... | f7227e412a2fc879a853aa45dfc70415ef4c5c7c | packages/fs/fswatch.yaml | packages/fs/fswatch.yaml | YAML |
<|file_sep|>original/test/hypem-resolver-test.js
/**
* Created by Fabian on 12.07.2015.
*/
<|file_sep|>current/test/hypem-resolver-test.js
/**
* Created by Fabian on 12.07.2015.
*/
<|file_sep|>updated/test/hypem-resolver-test.js | // Copyright 2015 Fabian Dietenberger
var should = require('chai').should(),
hypemResolver = require('../hypem-resolver');
describe('Use the hypem link to get the songs url', function () {
describe('if the song is hosted on soundcloud', function () {
it('should return a soundcloud url', function (done... | <|file_sep|>original/test/hypem-resolver-test.js
/**
* Created by Fabian on 12.07.2015.
*/
<|file_sep|>current/test/hypem-resolver-test.js
/**
* Created by Fabian on 12.07.2015.
*/
<|file_sep|>updated/test/hypem-resolver-test.js
// Copyright 2015 Fabian Dietenberger
var should = require('chai').should(),
hypem... | b344bf05ed8b0a9f83d10b69cd428776fc34f13d | test/hypem-resolver-test.js | test/hypem-resolver-test.js | JavaScript |
<|file_sep|>original/extension/content/firebug/console/commandEditor.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Firebug</title>
<meta http-equiv="Content-Type" content="tex... | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Firebug</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="resource://fireb... | <|file_sep|>original/extension/content/firebug/console/commandEditor.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Firebug</title>
<meta http-equiv="Content-Type" content="tex... | 3aae9a78cdf9ef553804767805c3428f140ded16 | extension/content/firebug/console/commandEditor.html | extension/content/firebug/console/commandEditor.html | HTML |
<|file_sep|>original/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh
#!/bin/bash
set -eux
thisdir=$(dirname $(readlink -f "$0"))
export NEUTRON_ROOT="$thisdir/../../../../../../"
export PYTHONPATH=$NEUTRON_ROOT
cd $NEUTRON_ROOT
VERSION=$(sh -c "(cat $NEUTRON_ROOT/neutron/version.py; \
... | #!/bin/bash
set -eux
thisdir=$(dirname $(readlink -f "$0"))
export NEUTRON_ROOT="$thisdir/../../../../../../"
export PYTHONPATH=$NEUTRON_ROOT
cd $NEUTRON_ROOT
VERSION=$(sh -c "(cat $NEUTRON_ROOT/neutron/version.py; \
echo 'print version_info.release_string()') | \
python")
cd -
P... | <|file_sep|>original/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh
#!/bin/bash
set -eux
thisdir=$(dirname $(readlink -f "$0"))
export NEUTRON_ROOT="$thisdir/../../../../../../"
export PYTHONPATH=$NEUTRON_ROOT
cd $NEUTRON_ROOT
VERSION=$(sh -c "(cat $NEUTRON_ROOT/neutron/version.py; \
... | 5223c17ff79cec95d7da701da7899808aca4338c | neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh | neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- sudo sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
updated:
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
<|file_sep|>original/.travis.yml
language: ... | language: cpp
compiler:
- gcc
before_install:
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq llvm-3.4-dev
- sudo ap... | <|file_sep|>.travis.yml.diff
original:
- sudo sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
updated:
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
<|file_sep|>original/.travis.yml
language: ... | be32276b55add4a4a19551137ab40075c2457c62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Casks/handbrake.rb
cask :v1 => 'handbrake' do
version '0.9.9'
sha256 '050f9d0d3a126b25d24cb4971062d66f4f975317b6586f8c288795c17a0c05f9'
url "http://handbrake.fr/rotation.php?file=HandBrake-#{version}-MacOSX.6_GUI_x86_64.dmg"
appcast 'http://handbrake.fr/appcast.x86_64.xml',
:sha2... | cask :v1 => 'handbrake' do
version '0.10.0'
sha256 'c26a1a37d03c977e0296f0198ce11bf74ee5da8aa410ea3b5eef6449e0aa3c9c'
url "http://handbrake.fr/rotation.php?file=HandBrake-#{version}-MacOSX.6_GUI_x86_64.dmg"
appcast 'http://handbrake.fr/appcast.x86_64.xml',
:sha256 => 'f0e700c39b76c16dba12ff8b931ae75a... | <|file_sep|>original/Casks/handbrake.rb
cask :v1 => 'handbrake' do
version '0.9.9'
sha256 '050f9d0d3a126b25d24cb4971062d66f4f975317b6586f8c288795c17a0c05f9'
url "http://handbrake.fr/rotation.php?file=HandBrake-#{version}-MacOSX.6_GUI_x86_64.dmg"
appcast 'http://handbrake.fr/appcast.x86_64.xml',
:sha2... | 102956605e867c1c8ca6af23f52010cda46d0b31 | Casks/handbrake.rb | Casks/handbrake.rb | Ruby |
<|file_sep|>original/workflow/drools/domains/src/main/java/org/openengsb/drools/DomainRegistry.java
import java.util.HashMap;
import java.util.Map;
public class DomainRegistry {
public final static Map<String, Class<? extends Domain>> domains = new HashMap<String, Class<? extends Domain>>();
static {
... | import java.util.Map;
public class DomainRegistry {
public final static Map<String, Class<? extends Domain>> domains = new HashMap<String, Class<? extends Domain>>();
static {
domains.put("helper", MessageHelper.class);
domains.put("issue", DroolsIssuesDomain.class);
domains.put("noti... | <|file_sep|>original/workflow/drools/domains/src/main/java/org/openengsb/drools/DomainRegistry.java
import java.util.HashMap;
import java.util.Map;
public class DomainRegistry {
public final static Map<String, Class<? extends Domain>> domains = new HashMap<String, Class<? extends Domain>>();
static {
... | 1f16a851da074b56e1fd21b23f6ae68428050c61 | workflow/drools/domains/src/main/java/org/openengsb/drools/DomainRegistry.java | workflow/drools/domains/src/main/java/org/openengsb/drools/DomainRegistry.java | Java |
<|file_sep|>docs/source/index.rst.diff
original:
.. code-block:: jinja
updated:
::
<|file_sep|>docs/source/index.rst.diff
original:
Hello {{ first_name }}{% if last_name %} {{ last_name }}{% /if %}!
updated:
Hello {{ first_name }},
{% if last_name %}
{{ last_name }}
{% elif title %}
{{ title }}
{% els... | {% if last_name %}
{{ last_name }}
{% elif title %}
{{ title }}
{% else %}
Doe
{% /if %}!
Here is the list of stuff I like:
{% loop stuff %}
- {{ item.key }} (because of {{ item.value }})
{% /loop %}
And that is all!
.. toctree::
:maxdepth: 2
:caption: Contents:
| <|file_sep|>docs/source/index.rst.diff
original:
.. code-block:: jinja
updated:
::
<|file_sep|>docs/source/index.rst.diff
original:
Hello {{ first_name }}{% if last_name %} {{ last_name }}{% /if %}!
updated:
Hello {{ first_name }},
{% if last_name %}
{{ last_name }}
{% elif title %}
{{ title }}
{% els... | fd109a5afb6dfbd36716ce93f8b894f1be40f97d | docs/source/index.rst | docs/source/index.rst | reStructuredText |
<|file_sep|>original/HideUnwanted.php
<?php
if(!defined('MEDIAWIKI')) die;
$dir = __DIR__;
$ext = 'HideUnwanted';
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => $ext,
'version' => '0.1',
'author' => 'uta',
'url' => 'https://github.com/... | <?php
if(!defined('MEDIAWIKI')) die;
$dir = __DIR__;
$ext = 'HideUnwanted';
$wgExtensionCredits['other'][] = array(
'path' => __FILE__,
'name' => $ext,
'version' => '0.1',
'author' => 'uta',
'url' => 'https://github.com/uta/HideUnwanted',
'descriptionmsg'... | <|file_sep|>original/HideUnwanted.php
<?php
if(!defined('MEDIAWIKI')) die;
$dir = __DIR__;
$ext = 'HideUnwanted';
$wgExtensionCredits['skin'][] = array(
'path' => __FILE__,
'name' => $ext,
'version' => '0.1',
'author' => 'uta',
'url' => 'https://github.com/... | c332600da96fce0b7a4a2cfbc848e12ddb4369da | HideUnwanted.php | HideUnwanted.php | PHP |
<|file_sep|>original/tests/test_generalwords.py
class TestGeneralwords(unittest.TestCase):
def setUp(self):
pass
def test_get_word(self):
self.assertIsNotNone(get_word)
def test_get_word_is_somewhat_random(self):
sample_size = 100
words = {get_word() for i in range(sample... |
class TestGeneralwords(unittest.TestCase):
def setUp(self):
pass
def test_get_word(self):
self.assertIsNotNone(get_word)
def test_get_word_is_somewhat_random(self):
sample_size = 100
words = set(get_word() for i in range(sample_size))
self.assertAlmostEqual(len(wo... | <|file_sep|>original/tests/test_generalwords.py
class TestGeneralwords(unittest.TestCase):
def setUp(self):
pass
def test_get_word(self):
self.assertIsNotNone(get_word)
def test_get_word_is_somewhat_random(self):
sample_size = 100
words = {get_word() for i in range(sample... | 5dd5d4e6ac93ad3867f98bd35412de11dd6b1dc2 | tests/test_generalwords.py | tests/test_generalwords.py | Python |
<|file_sep|>original/morpheus/requirements.txt
aiohttp-jinja2==1.2.0
aiohttp-toolbox==0.6.3
aioredis==1.3.1
arq==0.19
asyncpg==0.20.1
buildpg==0.2.3
cffi==1.14.1
chevron==0.13.1
click==7.1.2
dataclasses==0.6
ipython==7.17.0
jinja2==2.11.2
libsass==0.20.0
misaka==2.1.1
phonenumbers==8.12.7
pydantic[email]==1.6.1
pytz==2... | aiohttp-jinja2==1.2.0
aiohttp-toolbox==0.6.3
aioredis==1.3.1
arq==0.19
asyncpg==0.20.1
buildpg==0.2.3
cffi==1.14.1
chevron==0.13.1
click==7.1.2
dataclasses==0.6
ipython==7.17.0
jinja2==2.11.2
libsass==0.20.1
misaka==2.1.1
phonenumbers==8.12.7
pydantic[email]==1.6.1
pytz==2020.1
tqdm==4.48.0
ua-parser==0.10.0
ujson==3.0... | <|file_sep|>original/morpheus/requirements.txt
aiohttp-jinja2==1.2.0
aiohttp-toolbox==0.6.3
aioredis==1.3.1
arq==0.19
asyncpg==0.20.1
buildpg==0.2.3
cffi==1.14.1
chevron==0.13.1
click==7.1.2
dataclasses==0.6
ipython==7.17.0
jinja2==2.11.2
libsass==0.20.0
misaka==2.1.1
phonenumbers==8.12.7
pydantic[email]==1.6.1
pytz==2... | 1ec94143e7c83a342fba5010635fc84fd2def654 | morpheus/requirements.txt | morpheus/requirements.txt | Text |
<|file_sep|>README.md.diff
original:
[](https://travis-ci.org/TsutomuNakamura/rpncc)
updated:
<|file_sep|>original/README.md
[](https://travis-ci.org/TsutomuNaka... | # rpncc
[](https://travis-ci.org/TsutomuNakamura/rpncc)
This is a program for Reverse Polish notation utility.
It converts or calculates a expressions to Reverse Polish notation.
## Use examples
First, install this module in your project.... | <|file_sep|>README.md.diff
original:
[](https://travis-ci.org/TsutomuNakamura/rpncc)
updated:
<|file_sep|>original/README.md
[](https://travis-ci.org/TsutomuNaka... | 7fa4d1437802085f71b44584a16348cea9e02634 | README.md | README.md | Markdown |
<|file_sep|>original/tests/primitives/utils.py
params,
only_if,
skip_message
)
return test_encryption
def encrypt_test(api, cipher_factory, mode_factory, params, only_if,
skip_message):
if not only_if(... | params,
only_if,
skip_message
)
return test_encryption
def encrypt_test(api, cipher_factory, mode_factory, params, only_if,
skip_message):
if not only_if(api):
pytest.skip(skip_message)
pla... | <|file_sep|>original/tests/primitives/utils.py
params,
only_if,
skip_message
)
return test_encryption
def encrypt_test(api, cipher_factory, mode_factory, params, only_if,
skip_message):
if not only_if(... | fb39b3ffc6fcd3df0f89cd3978796a4377335075 | tests/primitives/utils.py | tests/primitives/utils.py | Python |
<|file_sep|>original/bin/requirements.txt
cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.2
google-api-core==2.7.1
google-api-python-client==2.42.0
google-auth==2.6.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.5.1
googleapis-common-protos==1.56.0
httplib2==0.20.4
idna==3.3
oauth2client==4.1.3
o... | cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.2
google-api-core==2.7.1
google-api-python-client==2.42.0
google-auth==2.6.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.5.2
googleapis-common-protos==1.56.0
httplib2==0.20.4
idna==3.3
oauth2client==4.1.3
oauthlib==3.2.0
packaging==21.3
protobuf==3... | <|file_sep|>original/bin/requirements.txt
cachetools==4.2.4
certifi==2021.10.8
chardet==4.0.0
coverage==6.2
google-api-core==2.7.1
google-api-python-client==2.42.0
google-auth==2.6.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.5.1
googleapis-common-protos==1.56.0
httplib2==0.20.4
idna==3.3
oauth2client==4.1.3
o... | 66d9eec8a5d89a871328c2d49facb911704f020e | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>chef/nodes/balancer.rubygems.org.json.diff
original:
updated:
},
"nginx": {
"log_dir": "/mnt"
<|file_sep|>original/chef/nodes/balancer.rubygems.org.json
"run_list": ["role[balancer]"],
"sudo" : {
"add_vagrant" : false
},
"application": {
"name": "balancer",
"repository":... | "add_vagrant" : false
},
"application": {
"name": "balancer",
"repository": "https://github.com/rubygems/rubygems.org.git",
"rails_env": "staging",
"rails_root": "/applications/rubygems/staging",
"server_names": ["balancer01.rubygems.org"],
"use_ssl": true,
"force_ssl": false,
... | <|file_sep|>chef/nodes/balancer.rubygems.org.json.diff
original:
updated:
},
"nginx": {
"log_dir": "/mnt"
<|file_sep|>original/chef/nodes/balancer.rubygems.org.json
"run_list": ["role[balancer]"],
"sudo" : {
"add_vagrant" : false
},
"application": {
"name": "balancer",
"repository":... | ebe5de2712c906ba00d66eebbadddf52655818a8 | chef/nodes/balancer.rubygems.org.json | chef/nodes/balancer.rubygems.org.json | JSON |
<|file_sep|>original/package.json
"version": "0.0.3",
"description": "a sample node.js app for heroku",
"main": "web.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "~3.3.4"
},
"engines": {
"node": "0.10.21",
"npm": "1.3.11"
},
... | "version": "0.0.3",
"description": "a sample node.js app for heroku",
"main": "web.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "~3.3.4"
},
"engines": {
"node": "0.10.x",
"npm": "1.3.x"
},
"repository": {
"type": "git",
... | <|file_sep|>original/package.json
"version": "0.0.3",
"description": "a sample node.js app for heroku",
"main": "web.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"express": "~3.3.4"
},
"engines": {
"node": "0.10.21",
"npm": "1.3.11"
},
... | 9cd56b11f6b4e9dcbd1c0be3014e6c1b1c3df3a3 | package.json | package.json | JSON |
<|file_sep|>package.json.diff
original:
{ "name": "nreports"
, "description": "Provides basic reporting framework for NodeJS."
, "version": "0.0.23"
, "repository": {
"url": "https://github.com/phil-taylor/nreports"
}
,"licenses": [
updated:
{
"name": "nreports",
"description": "Provides basic reporting framework ... | },
"licenses": [
{
"type": "MIT",
"url": "https://github.com/phil-taylor/nreports/blob/master/LICENSE"
}
],
"main": "index.js",
"dependencies": {
"jade": "1.5.0",
"async": "0.9.0",
"handlebars": "2.0.0-alpha.4",
"phantom": "0.6.5",
"config": "1.0.2",
"stringtokenize... | <|file_sep|>package.json.diff
original:
{ "name": "nreports"
, "description": "Provides basic reporting framework for NodeJS."
, "version": "0.0.23"
, "repository": {
"url": "https://github.com/phil-taylor/nreports"
}
,"licenses": [
updated:
{
"name": "nreports",
"description": "Provides basic reporting framework ... | 12a44062cd15e72d0038f90cb168fc92bc30f4d4 | package.json | package.json | JSON |
<|file_sep|>scripts/adb-wrapper.py.diff
original:
result = subprocess.run(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
updated:
p = subprocess.Popen(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
stdoutResult, stderr... | import subprocess
import sys
import re
# Note: no output will be printed until the entire test suite has finished
p = subprocess.Popen(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
stdoutResult, stderrResult = p.communicate()
successRegex = re.compile('OK \(\d+ test... | <|file_sep|>scripts/adb-wrapper.py.diff
original:
result = subprocess.run(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
updated:
p = subprocess.Popen(sys.argv[1], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
stdoutResult, stderr... | ff85fc05e179e451dabb1f20781dfc5a90314d71 | scripts/adb-wrapper.py | scripts/adb-wrapper.py | Python |
<|file_sep|>original/README.md
# VMAP Golang Library
[](https://godoc.org/github.com/rs/vmap) [](https://raw.githubusercontent.com/rs/vmap/master/LICENSE) [](https://godoc.org/github.com/rs/vmap) [](https://raw.githubusercontent.com/rs/vmap/master/LICENSE) []... | <|file_sep|>original/README.md
# VMAP Golang Library
[](https://godoc.org/github.com/rs/vmap) [](https://raw.githubusercontent.com/rs/vmap/master/LICENSE) [
scalateTemplateConfig in Compile <<= (sourceDirectory in Compile) { base =>
Seq(
TemplateConfig(base / "webapp", Seq()... | import com.mojolly.scalate.ScalatePlugin.ScalateKeys._
libraryDependencies ++= Seq(
"org.fusesource.scalate" % "scalate-core_2.10" % "1.6.1",
"org.slf4j" % "slf4j-jdk14" % "1.7.7"
)
Seq(scalateSettings: _*)
scalateTemplateConfig in Compile <<= (sourceDirectory in Compile) { base =>
Seq(
TemplateConfig(base... | <|file_sep|>original/scalate.sbt
import com.mojolly.scalate.ScalatePlugin.ScalateKeys._
libraryDependencies += "org.fusesource.scalate" % "scalate-core_2.10" % "1.6.1"
Seq(scalateSettings: _*)
scalateTemplateConfig in Compile <<= (sourceDirectory in Compile) { base =>
Seq(
TemplateConfig(base / "webapp", Seq()... | 89cfcc42a7a4852fe54559314bcbf7eaf8c11a65 | scalate.sbt | scalate.sbt | Scala |
<|file_sep|>math/Sphere.cpp.diff
original:
updated:
const float cos_latitude = std::cos(latitude);
<|file_sep|>original/math/Sphere.cpp
float t1, t2;
const int solutions = solve_quadratic(dot(v, v), 2*dot(o, v), dot(o, o) - radius*radius, t1, t2);
if (solutions == 0) {
return Optional<float>();
} else if... | const int solutions = solve_quadratic(dot(v, v), 2*dot(o, v), dot(o, o) - radius*radius, t1, t2);
if (solutions == 0) {
return Optional<float>();
} else if (solutions == 1) {
return make_optional<float>(t1);
} else {
return make_optional<float>(std::min(t1, t2));
}
}
vec3 uniform_point_on_sphere(... | <|file_sep|>math/Sphere.cpp.diff
original:
updated:
const float cos_latitude = std::cos(latitude);
<|file_sep|>original/math/Sphere.cpp
float t1, t2;
const int solutions = solve_quadratic(dot(v, v), 2*dot(o, v), dot(o, o) - radius*radius, t1, t2);
if (solutions == 0) {
return Optional<float>();
} else if... | aaba193cd4bb76c9aa91fe83aeb250b71f0c4db4 | math/Sphere.cpp | math/Sphere.cpp | C++ |
<|file_sep|>metadata/com.odnovolov.forgetmenot.yml.diff
original:
updated:
- versionName: '1.2'
versionCode: 5
commit: '1.2'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.odnovolov.forgetmenot.yml
AuthorEmail: odnovolov.artem@gmail.com
SourceCode: https://github.com/tema6120/Forg... | Repo: https://github.com/tema6120/ForgetMeNot
Builds:
- versionName: '1.1'
versionCode: 4
commit: '1.1'
subdir: app
gradle:
- yes
- versionName: '1.2'
versionCode: 5
commit: '1.2'
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion... | <|file_sep|>metadata/com.odnovolov.forgetmenot.yml.diff
original:
updated:
- versionName: '1.2'
versionCode: 5
commit: '1.2'
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.odnovolov.forgetmenot.yml
AuthorEmail: odnovolov.artem@gmail.com
SourceCode: https://github.com/tema6120/Forg... | 048eeefe46f4438d1862386e68f69e3df8efc44b | metadata/com.odnovolov.forgetmenot.yml | metadata/com.odnovolov.forgetmenot.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 0.6
- 0.8
- 0.10
- iojs-2.5.0
- iojs
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 0.6
- 0.8
- 0.10
- iojs-2.5.0
- iojs
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- 0.10
- iojs-2.5.0
- iojs | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 0.6
- 0.8
- 0.10
- iojs-2.5.0
- iojs
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 0.6
- 0.8
- 0.10
- iojs-2.5.0
- iojs
<|file_sep|>updated/.travis.yml
sudo: false
language: node_js
node_js:
- 0.10... | c4dc628570be9144538606c07a2b82bf31e6a1e0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/AUTHORS.md
## Core developers
| Eugene Obrezkov |
|:-------------------------------------------------------------------------------------:|
|  ... | ## Core developers
| Eugene Obrezkov |
|:-------------------------------------------------------------------------------------:|
|  |
| Lead developer of this proje... | <|file_sep|>original/AUTHORS.md
## Core developers
| Eugene Obrezkov |
|:-------------------------------------------------------------------------------------:|
|  ... | 02d6da45a8c18aba2b936ff0194052282a22db3a | AUTHORS.md | AUTHORS.md | Markdown |
<|file_sep|>test/contrib/test_pyopenssl.py.diff
original:
updated:
from nose.plugins.skip import SkipTest
<|file_sep|>test/contrib/test_pyopenssl.py.diff
original:
from nose.plugins.skip import SkipTest
raise SkipTest('Testing of PyOpenSSL disabled')
updated:
raise SkipTest('Testing of PyOpenSSL disabled o... | from nose.plugins.skip import SkipTest
from urllib3.packages import six
if six.PY3:
raise SkipTest('Testing of PyOpenSSL disabled on PY3')
try:
from urllib3.contrib.pyopenssl import (inject_into_urllib3,
extract_from_urllib3)
except ImportError as e:
raise SkipTe... | <|file_sep|>test/contrib/test_pyopenssl.py.diff
original:
updated:
from nose.plugins.skip import SkipTest
<|file_sep|>test/contrib/test_pyopenssl.py.diff
original:
from nose.plugins.skip import SkipTest
raise SkipTest('Testing of PyOpenSSL disabled')
updated:
raise SkipTest('Testing of PyOpenSSL disabled o... | 8e7feb7bc09feeca8d3fa0ea9ce6b76edec61ff1 | test/contrib/test_pyopenssl.py | test/contrib/test_pyopenssl.py | Python |
<|file_sep|>original/migrate/20190715101520_drop_visible_from_pame_evaluation.rb
class DropVisibleFromPameEvaluation < ActiveRecord::Migration[5.0]
def change
remove_column :pame_evaluations, :visible
end
end
<|file_sep|>current/migrate/20190715101520_drop_visible_from_pame_evaluation.rb
class DropVisibleFromPa... | class DropVisibleFromPameEvaluation < ActiveRecord::Migration
def change
remove_column :pame_evaluations, :visible
end
end | <|file_sep|>original/migrate/20190715101520_drop_visible_from_pame_evaluation.rb
class DropVisibleFromPameEvaluation < ActiveRecord::Migration[5.0]
def change
remove_column :pame_evaluations, :visible
end
end
<|file_sep|>current/migrate/20190715101520_drop_visible_from_pame_evaluation.rb
class DropVisibleFromPa... | 3513eb2226f06feaf7f84ffecf7cbfaf738d0652 | migrate/20190715101520_drop_visible_from_pame_evaluation.rb | migrate/20190715101520_drop_visible_from_pame_evaluation.rb | Ruby |
<|file_sep|>original/net-ntp-next.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'net/ntp/next/version'
Gem::Specification.new do |gem|
gem.name = 'net-ntp-next'
gem.version = Net::NTP::Next::VERSION
... |
Gem::Specification.new do |gem|
gem.name = 'net-ntp-next'
gem.version = Net::NTP::Next::VERSION
gem.authors = ['Dāvis']
gem.email = ['davispuh@gmail.com']
gem.description = 'NTP client library with improved functionality.'
gem.summary = 'Improved NTP client... | <|file_sep|>original/net-ntp-next.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'net/ntp/next/version'
Gem::Specification.new do |gem|
gem.name = 'net-ntp-next'
gem.version = Net::NTP::Next::VERSION
... | cff0e68cf7d10b5e79cac72a4f1b5863247ea23f | net-ntp-next.gemspec | net-ntp-next.gemspec | Ruby |
<|file_sep|>original/gui/requirements.txt
docker_py
Flask
Flask_Script
mysqlclient
psycopg2
psycopg2_binary
PyMySQL
pyspark
requests
SQLAlchemy
Werkzeug
<|file_sep|>current/gui/requirements.txt
docker_py
Flask
Flask_Script
mysqlclient
psycopg2
psycopg2_binary
PyMySQL
pyspark
requests
SQLAlchemy
Werkzeug
<|file_sep|>upd... | docker
Flask
Flask_Script
mysqlclient
psycopg2
psycopg2_binary
PyMySQL
pyspark
requests
SQLAlchemy
Werkzeug | <|file_sep|>original/gui/requirements.txt
docker_py
Flask
Flask_Script
mysqlclient
psycopg2
psycopg2_binary
PyMySQL
pyspark
requests
SQLAlchemy
Werkzeug
<|file_sep|>current/gui/requirements.txt
docker_py
Flask
Flask_Script
mysqlclient
psycopg2
psycopg2_binary
PyMySQL
pyspark
requests
SQLAlchemy
Werkzeug
<|file_sep|>upd... | 7ffc2a2a3d8727cfec8d298e85a81a5c3fb57bcb | gui/requirements.txt | gui/requirements.txt | Text |
<|file_sep|>original/.idea/inspectionProfiles/Project_Default.xml
<|file_sep|>current/.idea/inspectionProfiles/Project_Default.xml
<|file_sep|>updated/.idea/inspectionProfiles/Project_Default.xml | <component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="AndroidLintProtectedPermissions" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component> | <|file_sep|>original/.idea/inspectionProfiles/Project_Default.xml
<|file_sep|>current/.idea/inspectionProfiles/Project_Default.xml
<|file_sep|>updated/.idea/inspectionProfiles/Project_Default.xml
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Defa... | 2be10b7d4733cfe3949daef427c239a0ba152b3d | .idea/inspectionProfiles/Project_Default.xml | .idea/inspectionProfiles/Project_Default.xml | XML |
<|file_sep|>original/lib/netzke/basepack/data_adapters/data_mapper_adapter.rb
if with_pagination
page = params[:limit] ? params[:start].to_i/params[:limit].to_i + 1 : 1
query[:per_page]=params[:limit] if params[:limit]
query[:page]=page
search_query.paginate(query)
else
... | if with_pagination
page = params[:limit] ? params[:start].to_i/params[:limit].to_i + 1 : 1
query[:per_page]=params[:limit] if params[:limit]
query[:page]=page
search_query.paginate(query)
else
search_query.all(query)
end
end
def last
@model_class.... | <|file_sep|>original/lib/netzke/basepack/data_adapters/data_mapper_adapter.rb
if with_pagination
page = params[:limit] ? params[:start].to_i/params[:limit].to_i + 1 : 1
query[:per_page]=params[:limit] if params[:limit]
query[:page]=page
search_query.paginate(query)
else
... | d578b48e1f4bedfd0efc2bbdabcdf5877aceda81 | lib/netzke/basepack/data_adapters/data_mapper_adapter.rb | lib/netzke/basepack/data_adapters/data_mapper_adapter.rb | Ruby |
<|file_sep|>original/test/models/user_test.rb
# Encoding: utf-8
require 'test_helper'
class UserTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
<|file_sep|>current/test/models/user_test.rb
# Encoding: utf-8
require 'test_helper'
class UserTest < ActiveSupport::TestCase
# test "t... | # Encoding: utf-8
require 'test_helper'
# Test user model
class UserTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end | <|file_sep|>original/test/models/user_test.rb
# Encoding: utf-8
require 'test_helper'
class UserTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
<|file_sep|>current/test/models/user_test.rb
# Encoding: utf-8
require 'test_helper'
class UserTest < ActiveSupport::TestCase
# test "t... | 86368d4650e8f600faebe1bfdd705b6b12428a7b | test/models/user_test.rb | test/models/user_test.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.1.4"
- "2.2.0"
- ree
- rbx-2.2.9
<|file_sep|>current/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- ... | sudo: false
language: ruby
os:
- linux
- osx
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.1.4"
- "2.2.0"
- ree
- rbx-2.2.9
| <|file_sep|>original/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.1.4"
- "2.2.0"
- ree
- rbx-2.2.9
<|file_sep|>current/.travis.yml
language: ruby
os:
- linux
- osx
rvm:
- "1.8.7"
- "1.9.3"
- "2.0.0"
- "2.1.0"
- ... | 3ade65bbed3b5c7f9c152eb4f5de42505638c549 | .travis.yml | .travis.yml | YAML |
<|file_sep|>fcgid-access-checker/tv-thumbnails-check.ini.diff
original:
memcached_servers=iapetus:11211
updated:
memcached_servers=memcached:11211
<|file_sep|>original/fcgid-access-checker/tv-thumbnails-check.ini
# For each uuid use the XXX_param to say which request parameter holds the uuid, and
# XXX_uuid_pattern to ... | # For each uuid use the XXX_param to say which request parameter holds the uuid, and
# XXX_uuid_pattern to provide a regexp to extract that uuid. If the uuid is not
# present in a parameter but in the path of the url, then use "." as the parameter name.
# (this circumvents a strange idiosyncrasy in Config::Simple).
#... | <|file_sep|>fcgid-access-checker/tv-thumbnails-check.ini.diff
original:
memcached_servers=iapetus:11211
updated:
memcached_servers=memcached:11211
<|file_sep|>original/fcgid-access-checker/tv-thumbnails-check.ini
# For each uuid use the XXX_param to say which request parameter holds the uuid, and
# XXX_uuid_pattern to ... | 64236195e4fb540c432f305c04e9de7b6cab3a5e | fcgid-access-checker/tv-thumbnails-check.ini | fcgid-access-checker/tv-thumbnails-check.ini | INI |
<|file_sep|>original/requirements.txt
pydplace==0.4
Django==1.11.5
django-appconf==1.0.2
django-bootstrap3==9.0.0
django-filter==1.0.4
djangorestframework==3.6.4
ete3==3.0.0b35
psycopg2==2.7.3.1
python-nexus==1.53
six==1.11.0
coverage==4.4.1
flake8==3.4.1
newick==0.8.0
clldutils==1.13.10
attrs==17.2.0
<|file_sep|>curre... | pydplace==0.4
Django==1.11.5
django-appconf==1.0.2
django-bootstrap3==9.0.0
django-filter==1.0.4
djangorestframework==3.6.4
ete3==3.0.0b35
psycopg2==2.7.3.2
python-nexus==1.53
six==1.11.0
coverage==4.4.1
flake8==3.4.1
newick==0.8.0
clldutils==1.13.10
attrs==17.2.0 | <|file_sep|>original/requirements.txt
pydplace==0.4
Django==1.11.5
django-appconf==1.0.2
django-bootstrap3==9.0.0
django-filter==1.0.4
djangorestframework==3.6.4
ete3==3.0.0b35
psycopg2==2.7.3.1
python-nexus==1.53
six==1.11.0
coverage==4.4.1
flake8==3.4.1
newick==0.8.0
clldutils==1.13.10
attrs==17.2.0
<|file_sep|>curre... | db469176349d6714e242e5db931e4abba7f80705 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/no-style-please.gemspec
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "no-style-please"
spec.version = "0.4.6"
spec.authors = ["Riccardo Graziosi"]
spec.email = ["riccardo.graziosi97@gmail.com"]
spec.summary = "A (nearly) n... | # frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "no-style-please"
spec.version = "0.4.7"
spec.authors = ["Riccardo Graziosi"]
spec.email = ["riccardo.graziosi97@gmail.com"]
spec.summary = "A (nearly) no-CSS, fast, minimalist Jekyll theme."
spec... | <|file_sep|>original/no-style-please.gemspec
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "no-style-please"
spec.version = "0.4.6"
spec.authors = ["Riccardo Graziosi"]
spec.email = ["riccardo.graziosi97@gmail.com"]
spec.summary = "A (nearly) n... | 9011f75e2e8af5eaaff96dc8f939357d1a417deb | no-style-please.gemspec | no-style-please.gemspec | Ruby |
<|file_sep|>original/website/blog/2018-06-22-version-0.94-release.md
<|file_sep|>current/website/blog/2018-06-22-version-0.94-release.md
<|file_sep|>updated/website/blog/2018-06-22-version-0.94-release.md | ---
title: Arez 0.94 released
author: Arez Project
authorURL: https://github.com/arez
---
[Full Changelog](https://github.com/arez/arez/compare/v0.93...v0.94)
Changes in this release:
* **\[core\]** Clear the cached value in `arez.ComputedValue` when it is deactivated. This reduces
the memory pressure when there i... | <|file_sep|>original/website/blog/2018-06-22-version-0.94-release.md
<|file_sep|>current/website/blog/2018-06-22-version-0.94-release.md
<|file_sep|>updated/website/blog/2018-06-22-version-0.94-release.md
---
title: Arez 0.94 released
author: Arez Project
authorURL: https://github.com/arez
---
[Full Changelog](https... | 1b34a31cc1244cab1f925a94a482ea5835fb723b | website/blog/2018-06-22-version-0.94-release.md | website/blog/2018-06-22-version-0.94-release.md | Markdown |
<|file_sep|>tasks/galera_client_install.yml.diff
original:
static: no
updated:
<|file_sep|>original/tasks/galera_client_install.yml
# See the License for the specific language governing permissions and
# limitations under the License.
- include: galera_client_install_apt.yml
static: no
when:
- ansible_pkg_m... | # See the License for the specific language governing permissions and
# limitations under the License.
- include: galera_client_install_apt.yml
when:
- ansible_pkg_mgr == 'apt'
tags:
- install-apt
- include: galera_client_install_yum.yml
when:
- ansible_pkg_mgr == 'yum'
tags:
- install-yum
- ... | <|file_sep|>tasks/galera_client_install.yml.diff
original:
static: no
updated:
<|file_sep|>original/tasks/galera_client_install.yml
# See the License for the specific language governing permissions and
# limitations under the License.
- include: galera_client_install_apt.yml
static: no
when:
- ansible_pkg_m... | 72d72c86bd31a7570a1cb24b399aadee53180b92 | tasks/galera_client_install.yml | tasks/galera_client_install.yml | YAML |
<|file_sep|>original/reset.sh
#!/bin/bash
dropdb helios
createdb helios
python manage.py syncdb
python manage.py migrate
echo "from helios_auth.models import User; User.objects.create(user_type='google',user_id='ben@adida.net', info={'name':'Ben Adida'})" | python manage.py shell
<|file_sep|>current/reset.sh
#!/bin/bas... | #!/bin/bash
dropdb helios
createdb helios
python manage.py syncdb
python manage.py migrate
#echo "from helios_auth.models import User; User.objects.create(user_type='google',user_id='shirlei@gmail.com', info={'name':'Shirlei Chaves'})" | python manage.py shell | <|file_sep|>original/reset.sh
#!/bin/bash
dropdb helios
createdb helios
python manage.py syncdb
python manage.py migrate
echo "from helios_auth.models import User; User.objects.create(user_type='google',user_id='ben@adida.net', info={'name':'Ben Adida'})" | python manage.py shell
<|file_sep|>current/reset.sh
#!/bin/bas... | cc773cf4d81fdaf7fe453c7fd6bd2fa71ac2a5d3 | reset.sh | reset.sh | Shell |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | 8b164332b7c9084b6543e61c5bc61520c11c7435 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>pkgs/development/python-modules/gym/default.nix.diff
original:
version = "0.15.4";
updated:
version = "0.15.3";
<|file_sep|>original/pkgs/development/python-modules/gym/default.nix
, buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy, cloudpickle
}:
buildPythonPackage rec {
pname = "... | , buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy, cloudpickle
}:
buildPythonPackage rec {
pname = "gym";
version = "0.15.3";
src = fetchPypi {
inherit pname version;
sha256 = "18381e13bbd1e2f206a1b88a2af4fb87affd7d06ee7955a6e5e6a79478a9adfc";
};
postPatch = ''
substituteInP... | <|file_sep|>pkgs/development/python-modules/gym/default.nix.diff
original:
version = "0.15.4";
updated:
version = "0.15.3";
<|file_sep|>original/pkgs/development/python-modules/gym/default.nix
, buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy, cloudpickle
}:
buildPythonPackage rec {
pname = "... | ef3756ff1b33cbde63f852e5e9a7c12b5acdc071 | pkgs/development/python-modules/gym/default.nix | pkgs/development/python-modules/gym/default.nix | Nix |
<|file_sep|>original/CHANGELOG.md
# Changelog
### 0.6.0
* added bootstrap 3 support
* added `noConflict` fallback
* added striped styles
* added custom string formatting
* rename `filled` option to `fill`
* switched `display_text` option dict to string setting
* switched from `data` to `aria` attributes
* switched li... | # Changelog
### 0.6.0 (2013-08-16)
* added bootstrap 3 support
* added `noConflict` fallback
* added striped styles
* added custom string formatting
* rename `filled` option to `fill`
* switched `display_text` option dict to string setting
* switched from `data` to `aria` attributes
* switched license from Apache2 to... | <|file_sep|>original/CHANGELOG.md
# Changelog
### 0.6.0
* added bootstrap 3 support
* added `noConflict` fallback
* added striped styles
* added custom string formatting
* rename `filled` option to `fill`
* switched `display_text` option dict to string setting
* switched from `data` to `aria` attributes
* switched li... | 531bfe1b5eb17e9538f5f8c7780af75d78891b8e | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/src/rust/iced-x86/src/iced_error.rs
use core::fmt;
#[cfg(feature = "std")]
use std::error::Error;
/// iced error
#[derive(Debug, Clone)]
pub struct IcedError {
error: Cow<'static, str>,
}
impl IcedError {
#[allow(dead_code)]
pub(crate) fn new(error: &'static str) -> Self {
Self { error: erro... | use core::fmt;
#[cfg(feature = "std")]
use std::error::Error;
/// iced error
#[derive(Debug, Clone)]
pub struct IcedError {
error: Cow<'static, str>,
}
struct _TraitsCheck
where
IcedError: fmt::Debug + Clone + fmt::Display + Send + Sync;
#[cfg(feature = "std")]
struct _TraitsCheckStd
where
IcedError: Error;
impl ... | <|file_sep|>original/src/rust/iced-x86/src/iced_error.rs
use core::fmt;
#[cfg(feature = "std")]
use std::error::Error;
/// iced error
#[derive(Debug, Clone)]
pub struct IcedError {
error: Cow<'static, str>,
}
impl IcedError {
#[allow(dead_code)]
pub(crate) fn new(error: &'static str) -> Self {
Self { error: erro... | 015012dc3b909831e50e7793f261036f70e2ea6e | src/rust/iced-x86/src/iced_error.rs | src/rust/iced-x86/src/iced_error.rs | Rust |
<|file_sep|>app/views/news/_news.haml.diff
original:
updated:
= link_to news_path(news), rel: 'alternate'.freeze do
= image_tag "icons/link.png".freeze, title: 'Permalink'.freeze, alt: 'Permalink'.freeze
<|file_sep|>original/app/views/news/_news.haml
- # TODO consolidate this view code with replies#_sing... | - # TODO consolidate this view code with replies#_single and message#_message
.post-container.news-container{class: cycle('even', 'odd')}
.padding-10
.post-edit-box
= link_to news_path(news), rel: 'alternate'.freeze do
= image_tag "icons/link.png".freeze, title: 'Permalink'.freeze, alt: 'Permalink'.... | <|file_sep|>app/views/news/_news.haml.diff
original:
updated:
= link_to news_path(news), rel: 'alternate'.freeze do
= image_tag "icons/link.png".freeze, title: 'Permalink'.freeze, alt: 'Permalink'.freeze
<|file_sep|>original/app/views/news/_news.haml
- # TODO consolidate this view code with replies#_sing... | d1c7c0b918c5bed2c7e3158bf256fe6060e6c89e | app/views/news/_news.haml | app/views/news/_news.haml | Haml |
<|file_sep|>original/package.json
{
"name": "loopback-datasource-juggler",
"version": "3.0.0-alpha.3",
"publishConfig": {
"tag": "next"
},
"description": "LoopBack DataSoure Juggler",
"keywords": [
"StrongLoop",
"LoopBack",
"DataSource",
"Connector",
"Database",
"Juggler",
"O... | {
"name": "loopback-datasource-juggler",
"version": "3.0.0-alpha.3",
"publishConfig": {
"tag": "next",
"export-tests": true
},
"description": "LoopBack DataSoure Juggler",
"keywords": [
"StrongLoop",
"LoopBack",
"DataSource",
"Connector",
"Database",
"Juggler",
"ORM"
],... | <|file_sep|>original/package.json
{
"name": "loopback-datasource-juggler",
"version": "3.0.0-alpha.3",
"publishConfig": {
"tag": "next"
},
"description": "LoopBack DataSoure Juggler",
"keywords": [
"StrongLoop",
"LoopBack",
"DataSource",
"Connector",
"Database",
"Juggler",
"O... | 0b1070af01fa7d73e1227e5dd6c7baffe8c87e71 | package.json | package.json | JSON |
<|file_sep|>packages/ch/chiphunk.yaml.diff
original:
hash: 18bbd8d6ca81ebe2c76bfe860bb3ecc896469afe48b6e5b22d3a0315afb8c99a
updated:
hash: a0089b2838a5367388f1a1fc0eeca3a12ccd094972fe0b0256a9ab0e97af13cd
<|file_sep|>packages/ch/chiphunk.yaml.diff
original:
updated:
- '0.1.0.1'
<|file_sep|>original/packages/ch/chiphunk... | base: ! '>=4.7 && <5'
vector-space: ! '>=0.13 && <0.16'
safe-exceptions: ! '>=0.1.7.0 && <0.2'
async: ! '>=2.2.1 && <2.3'
nanovg-simple: ! '>=0.4.0.0 && <0.5'
nanovg: ! '>=0.6.0.0 && <0.7'
StateVar: ! '>=1.1.1.1 && <1.2'
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Cthulhu
latest: '0.1.0.1'
description-t... | <|file_sep|>packages/ch/chiphunk.yaml.diff
original:
hash: 18bbd8d6ca81ebe2c76bfe860bb3ecc896469afe48b6e5b22d3a0315afb8c99a
updated:
hash: a0089b2838a5367388f1a1fc0eeca3a12ccd094972fe0b0256a9ab0e97af13cd
<|file_sep|>packages/ch/chiphunk.yaml.diff
original:
updated:
- '0.1.0.1'
<|file_sep|>original/packages/ch/chiphunk... | 4ffffc5203c83ab992595eb7d90b8afbee6a8e7d | packages/ch/chiphunk.yaml | packages/ch/chiphunk.yaml | YAML |
<|file_sep|>original/src/hooks/responder.js
import Entity from 'mostly-entity';
import fp from 'mostly-func';
// 返回值定制
export default function responder () {
return function (hook) {
// If it was an internal call then skip this hook
if (!hook.params.provider) {
return hook;
}
let metadata = {}... | import fp from 'mostly-func';
// 返回值定制
export default function responder () {
return function (hook) {
// If it was an internal call then skip this hook
if (!hook.params.provider) {
return hook;
}
let metadata = {};
let data = hook.result;
let message = '';
if (hook.result && hook... | <|file_sep|>original/src/hooks/responder.js
import Entity from 'mostly-entity';
import fp from 'mostly-func';
// 返回值定制
export default function responder () {
return function (hook) {
// If it was an internal call then skip this hook
if (!hook.params.provider) {
return hook;
}
let metadata = {}... | 7b6977cc847cc6d145c0a46721d334d1478f095a | src/hooks/responder.js | src/hooks/responder.js | JavaScript |
<|file_sep|>original/lib/nanoc.rb
# The current nanoc version.
VERSION = '3.4.4'
# @return [String] A string containing information about this nanoc version
# and its environment (Ruby engine and version, Rubygems version if any).
def self.version_information
gem_info = defined?(Gem) ? "with RubyGems ... |
# The current nanoc version.
VERSION = '3.4.4'
# @return [String] A string containing information about this nanoc version
# and its environment (Ruby engine and version, Rubygems version if any).
def self.version_information
gem_info = defined?(Gem) ? "with RubyGems #{Gem::VERSION}" : "without RubyGe... | <|file_sep|>original/lib/nanoc.rb
# The current nanoc version.
VERSION = '3.4.4'
# @return [String] A string containing information about this nanoc version
# and its environment (Ruby engine and version, Rubygems version if any).
def self.version_information
gem_info = defined?(Gem) ? "with RubyGems ... | a8e2c22f27f616bd43a40b3fa33834ec45ac7989 | lib/nanoc.rb | lib/nanoc.rb | Ruby |
<|file_sep|>appveyor.yml.diff
original:
init:
updated:
before_build:
<|file_sep|>original/appveyor.yml
branches:
only:
- master
init:
- mkdir "Wox.Skype\bin\$(configuration)\"
- ls
- copy Interop.SKYPE4COMLib.dll "Wox.Skype\bin\$(configuration)\Interop.SKYPE4COMLib.dll" /Y
# - c:\windows\system32\regsv... |
branches:
only:
- master
before_build:
- mkdir "Wox.Skype\bin\$(configuration)\"
- ls
- copy Interop.SKYPE4COMLib.dll "Wox.Skype\bin\$(configuration)\Interop.SKYPE4COMLib.dll" /Y
- nuget restore
test:
assemblies:
- '**\Wox.Skype.Test\bin\$(configuration)\Wox.Skype.Test.dll'
artifacts:
- path: ... | <|file_sep|>appveyor.yml.diff
original:
init:
updated:
before_build:
<|file_sep|>original/appveyor.yml
branches:
only:
- master
init:
- mkdir "Wox.Skype\bin\$(configuration)\"
- ls
- copy Interop.SKYPE4COMLib.dll "Wox.Skype\bin\$(configuration)\Interop.SKYPE4COMLib.dll" /Y
# - c:\windows\system32\regsv... | 4baec9e5b28c6c25ad5f1c3d784171983f346b2f | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/blog-index.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="default.css">
<title>blogs blogs blogs</title>
</head>
<body>
<h1>top stories.</h1>
<h3><a href="blog/git.html">version control</a></h3>
<h4>november 15, 2015</h4>
<figure>
<img src="journal.j... | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="default.css">
<title>blogs blogs blogs</title>
</head>
<body>
<h1>top stories.</h1>
<h3><a href="blog/css.concepts.html">The Differences between Class and ID</a></h3>
<h4>November 29, 2015</h4>
<figure>
<img src="journal.jpg"
... | <|file_sep|>original/blog-index.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="default.css">
<title>blogs blogs blogs</title>
</head>
<body>
<h1>top stories.</h1>
<h3><a href="blog/git.html">version control</a></h3>
<h4>november 15, 2015</h4>
<figure>
<img src="journal.j... | 4dae6cd6e0d8c391c676369bceca35ddf1bb1d06 | blog-index.html | blog-index.html | HTML |
<|file_sep|>original/package.json
{
"name": "impact-map",
"version": "1.0.0",
"description": "Impact Map for JesusCares.com",
"main": "client.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kenanscott/impa... | {
"name": "impact-map",
"version": "1.0.0",
"description": "Impact Map for JesusCares.com",
"main": "client.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kenanscott/impact-map.git"
},
"author": "",
... | <|file_sep|>original/package.json
{
"name": "impact-map",
"version": "1.0.0",
"description": "Impact Map for JesusCares.com",
"main": "client.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kenanscott/impa... | 31de516f3a8ad97bb5fbe96d07708994efff3a6d | package.json | package.json | JSON |
<|file_sep|>lib/morph/limit_output.rb.diff
original:
updated:
stdout_buffer = ''
stderr_buffer = ''
<|file_sep|>lib/morph/limit_output.rb.diff
original:
updated:
on_stdout_stream = io.fileno == stdout.fileno
<|file_sep|>lib/morph/limit_output.rb.diff
original:
stream = io.fileno == stdout.fileno ? STDOUT... | buffer << s
if s == "\n"
if on_stdout_stream
STDOUT << buffer
stdout_buffer = ''
else
STDERR << buffer
stderr_buffer = ''
end
end
end
end
# Output whatever is left in the buffers
STDOUT << stdout_buffer
STDERR << stderr_buffe... | <|file_sep|>lib/morph/limit_output.rb.diff
original:
updated:
stdout_buffer = ''
stderr_buffer = ''
<|file_sep|>lib/morph/limit_output.rb.diff
original:
updated:
on_stdout_stream = io.fileno == stdout.fileno
<|file_sep|>lib/morph/limit_output.rb.diff
original:
stream = io.fileno == stdout.fileno ? STDOUT... | 47de8045722df260029f9ba0b4086bf3beef498a | lib/morph/limit_output.rb | lib/morph/limit_output.rb | Ruby |
<|file_sep|>examples/counter/package.json.diff
original:
"redux-devtools-log-monitor": "^1.0.0-alpha-1",
updated:
<|file_sep|>original/examples/counter/package.json
"url": "https://github.com/gaearon/redux-devtools/issues"
},
"homepage": "https://github.com/gaearon/redux-devtools#readme",
"dependencies":... | },
"homepage": "https://github.com/gaearon/redux-devtools#readme",
"dependencies": {
"react": "^0.14.0-rc1",
"react-dom": "^0.14.0-rc1",
"react-redux": "^3.0.0",
"redux": "^3.0.0",
"redux-thunk": "^1.0.0"
},
"devDependencies": {
"babel-core": "^5.6.18",
"babel-loader": "^5.1.4",
... | <|file_sep|>examples/counter/package.json.diff
original:
"redux-devtools-log-monitor": "^1.0.0-alpha-1",
updated:
<|file_sep|>original/examples/counter/package.json
"url": "https://github.com/gaearon/redux-devtools/issues"
},
"homepage": "https://github.com/gaearon/redux-devtools#readme",
"dependencies":... | 2ee2caad96c5c6db3b6802bec36794b1d72a7d03 | examples/counter/package.json | examples/counter/package.json | JSON |
<|file_sep|>original/package.json
{
"name": "docblock-parser",
"version": "0.1.0",
"description": "A standalone docblock parser",
"repository": {
"type": "git",
"url": "https://github.com/fkling/docblock-parser.git"
},
"homepage": "https://github.com/fkling/docblock-parser",
"bugs": "https://githu... | {
"name": "docblock-parser",
"version": "0.1.1",
"description": "A standalone docblock parser",
"repository": {
"type": "git",
"url": "https://github.com/fkling/docblock-parser.git"
},
"homepage": "https://github.com/fkling/docblock-parser",
"bugs": "https://github.com/fkling/docblock-parser/issue... | <|file_sep|>original/package.json
{
"name": "docblock-parser",
"version": "0.1.0",
"description": "A standalone docblock parser",
"repository": {
"type": "git",
"url": "https://github.com/fkling/docblock-parser.git"
},
"homepage": "https://github.com/fkling/docblock-parser",
"bugs": "https://githu... | 50e427c0e908790cdb6e689727b847549905b319 | package.json | package.json | JSON |
<|file_sep|>original/run-benchmarks.sh
for i in 1 2 3
do
# ORIGINAL VERSION
version="orig"
for w in $(seq 64)
do
$lein run -- -v $version -w $w > "$result_path/$version-w$w-i$i.txt"
done
# TXACT VERSION
version="txact"
for w in $(seq 64)
do
for s in $(seq 64)
... | for i in 1 2 3
do
# ORIGINAL VERSION
version="orig"
for w in $(seq 64)
do
$lein run -- -v $version -w $w > "$result_path/$version-w$w-i$i.txt"
done
# TXACT VERSION
version="txact"
for w in $(seq 64)
do
for s in $(seq 64)
do
$lein run -- -v $versio... | <|file_sep|>original/run-benchmarks.sh
for i in 1 2 3
do
# ORIGINAL VERSION
version="orig"
for w in $(seq 64)
do
$lein run -- -v $version -w $w > "$result_path/$version-w$w-i$i.txt"
done
# TXACT VERSION
version="txact"
for w in $(seq 64)
do
for s in $(seq 64)
... | 700123a3896ab2f875ae36f24e70cf529687bf5f | run-benchmarks.sh | run-benchmarks.sh | Shell |
<|file_sep|>original/dev-requirements.txt
# Task running
invoke==1.0.0
# Linting
flake8==3.5.0
# Testing
pytest==3.5.1
tox==3.0.0
scripttest==1.3
# Docs
Sphinx>=1.2.2
# Shells
ipython>=4.2.0
bpython>=0.14.2
ptpython>=0.15
# Distribution
twine==1.11.0
<|file_sep|>current/dev-requirements.txt
# Task running
invoke==... | # Task running
invoke==1.0.0
# Linting
flake8==3.5.0
# Testing
pytest==3.6.0
tox==3.0.0
scripttest==1.3
# Docs
Sphinx>=1.2.2
# Shells
ipython>=4.2.0
bpython>=0.14.2
ptpython>=0.15
# Distribution
twine==1.11.0 | <|file_sep|>original/dev-requirements.txt
# Task running
invoke==1.0.0
# Linting
flake8==3.5.0
# Testing
pytest==3.5.1
tox==3.0.0
scripttest==1.3
# Docs
Sphinx>=1.2.2
# Shells
ipython>=4.2.0
bpython>=0.14.2
ptpython>=0.15
# Distribution
twine==1.11.0
<|file_sep|>current/dev-requirements.txt
# Task running
invoke==... | d3ed19b84f35753b3f03c9693907661817c22405 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/chapter10/chapter10_ex02.md
<|file_sep|>current/chapter10/chapter10_ex02.md
<|file_sep|>updated/chapter10/chapter10_ex02.md | Module `grid`
* `Vector`
* `Grid`
* `directions`
* `directionNames`
Module `world`
* (`randomElement`)
* (`elementFromChar`)
* (`charFromElement`)
* `View`
* `World`
* `LifelikeWorld`
Module `simple_system`
* (`dirPlus`)
* `Wall`
* `WallFollower`
* `BouncingCritter`
Module `complex_system` | <|file_sep|>original/chapter10/chapter10_ex02.md
<|file_sep|>current/chapter10/chapter10_ex02.md
<|file_sep|>updated/chapter10/chapter10_ex02.md
Module `grid`
* `Vector`
* `Grid`
* `directions`
* `directionNames`
Module `world`
* (`randomElement`)
* (`elementFromChar`)
* (`charFromElement`)
* `View`
* `World`
* `Lif... | 11e8e3f707109ee086707bc25c38e4ce11f4d313 | chapter10/chapter10_ex02.md | chapter10/chapter10_ex02.md | Markdown |
<|file_sep|>original/bootstrap.sh
#!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
<|file_sep|>current/bootstrap.sh
#!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
<|file_sep|>updated/bootstrap.sh | #!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
chmod +x waf | <|file_sep|>original/bootstrap.sh
#!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
<|file_sep|>current/bootstrap.sh
#!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
<|file_sep|>updated/bootstrap.sh
#!/usr/bin/env sh
wget http://waf.googlecode.com/files/waf-1.7.4 -O waf
chmo... | 69aed0113570513bd13a9459ead2a0619aaaad84 | bootstrap.sh | bootstrap.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
sources:
- llvm-toolchain-trusty-5.0
<|file_sep|>.travis.yml.diff
original:
updated:
- clang-5.0
<|file_se... | - ubuntu-toolchain-r-test
packages:
- g++-7
- cmake
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: osx
compiler: clang
before_install:
- eval "${MATRIX_EVAL}"
script:
# 1. check formatting
- ./tools/check-formatting --all
# 2. check comp... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
sources:
- llvm-toolchain-trusty-5.0
<|file_sep|>.travis.yml.diff
original:
updated:
- clang-5.0
<|file_se... | 33a376b143693fc33bee97851fa44b08e029f441 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Util/__tests__/DOMUtil-test.js
var match = DOMUtil.closest(el, '.fake-selector');
expect(match.id).toEqual('something-fake');
});
it('should should return null when provided a selector and element where ' +
'the element is not a child of the selection', function() {
... | parentElement: null,
matches: function () {
return true;
}
};
var match = DOMUtil.closest(el, '.fake-selector');
expect(match).toEqual(null);
});
it('should should return the provided element when the provided element' +
'matches the selector AND has a... | <|file_sep|>original/src/Util/__tests__/DOMUtil-test.js
var match = DOMUtil.closest(el, '.fake-selector');
expect(match.id).toEqual('something-fake');
});
it('should should return null when provided a selector and element where ' +
'the element is not a child of the selection', function() {
... | cb83b1c003ec931874cb15f95ce02cabad7785ac | src/Util/__tests__/DOMUtil-test.js | src/Util/__tests__/DOMUtil-test.js | JavaScript |
<|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.0"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= S... | import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.1"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= Seq(
ws,
"com.jason-... | <|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.1.0"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= S... | 738801269485935f10646fb4667988f7d2306a63 | build.sbt | build.sbt | Scala |
<|file_sep|>VMDE/extconf.rb.diff
original:
$CFLAGS += " -Wall -O4 -O -pthread -malign-double "
updated:
$CXXFLAGS += " -Wall -O4 -O -pthread -malign-double "
<|file_sep|>VMDE/extconf.rb.diff
original:
$CFLAGS += " -Wall -O3 "
updated:
$CXXFLAGS += " -Wall -O3 "
<|file_sep|>VMDE/extconf.rb.diff
original:
updated:
$... | dirs = ["/usr/local/lib"]
if RbConfig::CONFIG['host_os'].index("linux")
puts "Linux system detected"
$CXXFLAGS += " -Wall -O4 -O -pthread -malign-double "
else
$CXXFLAGS += " -Wall -O3 "
end
$CXXFLAGS += " -I../lib/SOIL/src -fPIC "
$LOCAL_LIBS+="../lib/SOIL/lib/libSOIL.so"
$libs += %w(
-lGLEW -lGLU -lglfw -lrt -... | <|file_sep|>VMDE/extconf.rb.diff
original:
$CFLAGS += " -Wall -O4 -O -pthread -malign-double "
updated:
$CXXFLAGS += " -Wall -O4 -O -pthread -malign-double "
<|file_sep|>VMDE/extconf.rb.diff
original:
$CFLAGS += " -Wall -O3 "
updated:
$CXXFLAGS += " -Wall -O3 "
<|file_sep|>VMDE/extconf.rb.diff
original:
updated:
$... | df7e90f85f06189ded1d1c8d5c54655a74ccc2e0 | VMDE/extconf.rb | VMDE/extconf.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.