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/sprockets-memcache-store.gemspec
# coding: utf-8
Gem::Specification.new do |spec|
spec.name = "sprockets-memcache-store"
spec.version = '0.0.4'
spec.authors = ["Alex MacCaw"]
spec.email = ["maccman@gmail.com"]
spec.description = %q{A Memcache store for Sproc... | # coding: utf-8
Gem::Specification.new do |spec|
spec.name = "sprockets-memcache-store"
spec.version = '0.0.4'
spec.authors = ["Alex MacCaw"]
spec.email = ["maccman@gmail.com"]
spec.description = %q{A Memcache store for Sprockets using Dalli}
spec.summary = %q{A Memcache... | <|file_sep|>original/sprockets-memcache-store.gemspec
# coding: utf-8
Gem::Specification.new do |spec|
spec.name = "sprockets-memcache-store"
spec.version = '0.0.4'
spec.authors = ["Alex MacCaw"]
spec.email = ["maccman@gmail.com"]
spec.description = %q{A Memcache store for Sproc... | 3d86bec6d7424e5c055fa43c8e3118740adf60f8 | sprockets-memcache-store.gemspec | sprockets-memcache-store.gemspec | Ruby |
<|file_sep|>haxelib.xml.diff
original:
<depends name="templo" version="3.0" />
updated:
<!-- <depends name="templo" version="3.0" /> Not anymore -->
<|file_sep|>original/haxelib.xml
<project name="beluga" url="http://myproject.org" license="GPL">
<user name="masadow"/>
<tag v="php"/>
<tag v="neko"/>
... | <project name="beluga" url="http://myproject.org" license="GPL">
<user name="masadow"/>
<tag v="php"/>
<tag v="neko"/>
<tag v="framework"/>
<tag v="game"/>
<!-- <depends name="templo" version="3.0" /> Not anymore -->
<description>
Beluga is a video game framework.
</description>
<ve... | <|file_sep|>haxelib.xml.diff
original:
<depends name="templo" version="3.0" />
updated:
<!-- <depends name="templo" version="3.0" /> Not anymore -->
<|file_sep|>original/haxelib.xml
<project name="beluga" url="http://myproject.org" license="GPL">
<user name="masadow"/>
<tag v="php"/>
<tag v="neko"/>
... | 01ff7c7bf45c955ac8f95904c09c83e8bb06d2e8 | haxelib.xml | haxelib.xml | XML |
<|file_sep|>app/AppKernel.php.diff
original:
updated:
new Acme\DemoBundle\AcmeDemoBundle(),
<|file_sep|>original/app/AppKernel.php
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundl... | new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new JMS\AopBundle\JMSAopBundle(),
new JMS\DiExtraBundle\JMSDiExtraBundle($this),
... | <|file_sep|>app/AppKernel.php.diff
original:
updated:
new Acme\DemoBundle\AcmeDemoBundle(),
<|file_sep|>original/app/AppKernel.php
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundl... | 0e03843b8fafa22fc3820d085126c769e88f3a6c | app/AppKernel.php | app/AppKernel.php | PHP |
<|file_sep|>original/composer.json
],
"homepage": "https://github.com/lvis/slim2app",
"license": "MIT",
"authors": [
{
"name": "Vitalii Lupu",
"email": "vitaliix@gmail.com"
}
],
"require": {
"php": ">=5.6.0",
"slim/slim": "2.*",
"monolog/monolog": "1.*"
},
"config": {
... | ],
"homepage": "https://github.com/lvis/slim2app",
"license": "MIT",
"authors": [
{
"name": "Vitalii Lupu",
"email": "vitaliix@gmail.com"
}
],
"require": {
"php": ">=5.6.0",
"slim/slim": "2.*",
"monolog/monolog": "1.*"
},
"config": {
"process-timeout": 0
},
"scrip... | <|file_sep|>original/composer.json
],
"homepage": "https://github.com/lvis/slim2app",
"license": "MIT",
"authors": [
{
"name": "Vitalii Lupu",
"email": "vitaliix@gmail.com"
}
],
"require": {
"php": ">=5.6.0",
"slim/slim": "2.*",
"monolog/monolog": "1.*"
},
"config": {
... | 14bed520210c198ddbb3bab42eac702bf0efbebc | composer.json | composer.json | JSON |
<|file_sep|>tests/CfdiUtilsTests/TestCase.php.diff
original:
updated:
use CfdiUtils\Certificado\SatCertificateNumber;
<|file_sep|>tests/CfdiUtilsTests/TestCase.php.diff
original:
updated:
protected function newResolver()
{
return new XmlResolver();
}
<|file_sep|>tests/CfdiUtilsTests/TestCase.php.... | foreach ($first as $a) {
foreach ($second as $b) {
$combine[] = array_merge($a, $b);
}
}
if (count($next)) {
return $this->providerFullJoin($combine, ...$next);
}
return $combine;
}
protected function installCertificate... | <|file_sep|>tests/CfdiUtilsTests/TestCase.php.diff
original:
updated:
use CfdiUtils\Certificado\SatCertificateNumber;
<|file_sep|>tests/CfdiUtilsTests/TestCase.php.diff
original:
updated:
protected function newResolver()
{
return new XmlResolver();
}
<|file_sep|>tests/CfdiUtilsTests/TestCase.php.... | 2828d7e10d6983ab22256f3b88132532e03df756 | tests/CfdiUtilsTests/TestCase.php | tests/CfdiUtilsTests/TestCase.php | PHP |
<|file_sep|>app/timer/views.py.diff
original:
type = int(self.request.GET.get('type', 0))
if type == 1:
updated:
typ = int(self.request.GET.get('type', 0))
if typ == 1:
<|file_sep|>app/timer/views.py.diff
original:
if type == 2:
updated:
if typ == 2:
<|file_sep|>original/... | qs = super(TimerListView, self).get_queryset().select_related('location', 'station', 'moon', 'system')
if int(self.request.GET.get('all', 0)) == 0:
qs = qs.filter(expiration__gt=now())
typ = int(self.request.GET.get('type', 0))
if typ == 1:
qs = [m for m in qs i... | <|file_sep|>app/timer/views.py.diff
original:
type = int(self.request.GET.get('type', 0))
if type == 1:
updated:
typ = int(self.request.GET.get('type', 0))
if typ == 1:
<|file_sep|>app/timer/views.py.diff
original:
if type == 2:
updated:
if typ == 2:
<|file_sep|>original/... | 6297ae8ffd257689c41c411ce3fa13512910b657 | app/timer/views.py | app/timer/views.py | Python |
<|file_sep|>original/src/cli.js
.help('help')
.epilog(actions.trim())
.options({
name: {
alias: ['as'],
default: path.basename(process.cwd()),
desc: 'Name of template',
},
entry: {
alias: ['e'],
default: process.cwd(),
defaultDescription: 'cwd',
desc: 'Entry of template',
},
help... | .help('help')
.epilog(actions.trim())
.options({
name: {
alias: ['as'],
default: path.basename(process.cwd()),
desc: 'Name of template',
},
entry: {
alias: ['from'],
default: process.cwd(),
defaultDescription: 'cwd',
desc: 'Entry of template',
},
help: {
alias: ['h'],
},
})... | <|file_sep|>original/src/cli.js
.help('help')
.epilog(actions.trim())
.options({
name: {
alias: ['as'],
default: path.basename(process.cwd()),
desc: 'Name of template',
},
entry: {
alias: ['e'],
default: process.cwd(),
defaultDescription: 'cwd',
desc: 'Entry of template',
},
help... | 1f79c994d96907273b45b36fe1cbf06340e71c41 | src/cli.js | src/cli.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/brayoh/bucket-list-api)
[](https://coveralls.io/github/brayoh/bucket... | [](https://travis-ci.org/brayoh/bucket-list-api)
[](https://coveralls.io/github/brayoh/bucket-list-api?branch=develop)
# bucket-list-api
Fla... | <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/brayoh/bucket-list-api)
[](https://coveralls.io/github/brayoh/bucket... | 2a91b89389ce73aa61e7e681744d89f82f954d5b | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
# Installation
updated:
DevOps Home is a place to store and document all infrastructure information. It keeps all your documentation in a structured order.
<|file_sep|>README.md.diff
original:
`Code`
updated:
Use case
--------
<|file_sep|>README.md.diff
original:
```
$ git clone ...... | 1. Clone the repository
2. Install dependencies: `$ composer install`
3. Install front-end dependencies: `$ npm install`
4. Build js and css: `$ grunt build`
5. Run `$ bin/console doctrine:schema:create` to setup the database.
6. Create a VirtualHost with DocumentRoot pointing to web/ or run `$ bin/console server:run` ... | <|file_sep|>README.md.diff
original:
# Installation
updated:
DevOps Home is a place to store and document all infrastructure information. It keeps all your documentation in a structured order.
<|file_sep|>README.md.diff
original:
`Code`
updated:
Use case
--------
<|file_sep|>README.md.diff
original:
```
$ git clone ...... | 531e5e44c2b3371c5c3aed415b1196cf751a74c0 | README.md | README.md | Markdown |
<|file_sep|>test/CMakeLists.txt.diff
original:
add_executable(${PROJECT_NAME}_tests
updated:
add_executable(smartsqlite_tests
<|file_sep|>original/test/CMakeLists.txt
add_executable(${PROJECT_NAME}_tests
blob_test.cpp
connection_test.cpp
logging_test.cpp
nullable_test.cpp
scopedtransaction_test.cpp
... | add_executable(smartsqlite_tests
blob_test.cpp
connection_test.cpp
logging_test.cpp
nullable_test.cpp
scopedtransaction_test.cpp
statement_test.cpp
version_test.cpp
)
set(extra_link_libraries)
if(NOT WIN32)
list(APPEND extra_link_libraries dl)
endif()
target_link_libraries(smartsqlite_... | <|file_sep|>test/CMakeLists.txt.diff
original:
add_executable(${PROJECT_NAME}_tests
updated:
add_executable(smartsqlite_tests
<|file_sep|>original/test/CMakeLists.txt
add_executable(${PROJECT_NAME}_tests
blob_test.cpp
connection_test.cpp
logging_test.cpp
nullable_test.cpp
scopedtransaction_test.cpp
... | 7951e10dfd8bd187474a9f8c35e42798590aa4b1 | test/CMakeLists.txt | test/CMakeLists.txt | Text |
<|file_sep|>test/test_simplecov-console.rb.diff
original:
Source = Struct.new(:line_number)
updated:
# mock for SimpleCov::SourceFile::Line
Line = Struct.new(:line_number)
# mock for SimpleCov::SourceFile
SourceFile = Struct.new(
:filename,
:lines_of_code,
:covered_lines,
:missed_lines,
:... | assert defined?(SimpleCov::Formatter::Console)
assert defined?(SimpleCov::Formatter::Console::VERSION)
end
def test_missed
missed_lines = [Line.new(1), Line.new(2),
Line.new(3), Line.new(5)]
expected_result = ["1-3", "5"]
assert_equal @console.missed(missed_lines), expected_... | <|file_sep|>test/test_simplecov-console.rb.diff
original:
Source = Struct.new(:line_number)
updated:
# mock for SimpleCov::SourceFile::Line
Line = Struct.new(:line_number)
# mock for SimpleCov::SourceFile
SourceFile = Struct.new(
:filename,
:lines_of_code,
:covered_lines,
:missed_lines,
:... | d381e95058e4a9b93a413466048453598863e4f8 | test/test_simplecov-console.rb | test/test_simplecov-console.rb | Ruby |
<|file_sep|>README.md.diff
original:
<img src="otprr.png" width="500" />
updated:
<img src="https://github.com/opentripplanner/otp-react-redux/raw/master/otprr.png" width="500" />
<|file_sep|>README.md.diff
original:
*NOTE: OTP-RR is in the very early stages of development and current functionality is extremely limite... | <img src="https://github.com/opentripplanner/otp-react-redux/raw/master/otprr.png" width="500" />
A library for writing modern [OpenTripPlanner](http://www.opentripplanner.org/)-compatible multimodal journey planning applications using [React]() and [Redux]().
## Running the Example
A simple example of an OTP-RR app... | <|file_sep|>README.md.diff
original:
<img src="otprr.png" width="500" />
updated:
<img src="https://github.com/opentripplanner/otp-react-redux/raw/master/otprr.png" width="500" />
<|file_sep|>README.md.diff
original:
*NOTE: OTP-RR is in the very early stages of development and current functionality is extremely limite... | 805826276d5966f043d7bbdd051df5ef3d663470 | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/ci.yml
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip3 install tensorflow jax[cpu] pytype
- run: pip3 install .
- run: cd tensorflow-stubs && pip3 install .
- run: cd jax-stubs && pip3 install .
... | on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip3 install tensorflow jax[cpu] pytype
- run: pip3 install .
- run: cd tensorflow-stubs && pip3 install .
- run: cd jax-stubs && pip3 install .
- run: python -m tensor_annotations.test... | <|file_sep|>original/.github/workflows/ci.yml
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip3 install tensorflow jax[cpu] pytype
- run: pip3 install .
- run: cd tensorflow-stubs && pip3 install .
- run: cd jax-stubs && pip3 install .
... | 9dd8b3b03e509c55d7f701ca89c88e6188811fb5 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/README.md
# Fixtures
Testing utility for generating fixtures.
<|file_sep|>current/README.md
# Fixtures
Testing utility for generating fixtures.
<|file_sep|>updated/README.md | # Fixtures
[](https://travis-ci.org/iteratoruk/iterator-fixtures)
Testing utility for generating random fixture data. | <|file_sep|>original/README.md
# Fixtures
Testing utility for generating fixtures.
<|file_sep|>current/README.md
# Fixtures
Testing utility for generating fixtures.
<|file_sep|>updated/README.md
# Fixtures
[](https://travis-c... | 9029db8d8a042624d6da3ccd3fea01a68c5a1c98 | README.md | README.md | Markdown |
<|file_sep|>.i3/scripts/i3exit.sh.diff
original:
lock && systemctl suspend
updated:
systemctl suspend
<|file_sep|>original/.i3/scripts/i3exit.sh
lock)
lock
;;
logout)
i3-msg exit
;;
suspend)
lock && systemctl suspend
;;
hibernate)
l... | lock)
lock
;;
logout)
i3-msg exit
;;
suspend)
systemctl suspend
;;
hibernate)
systemctl hibernate
;;
reboot)
systemctl reboot
;;
shutdown)
systemctl poweroff
;;
*)
echo "Usage: $0 {lock|lo... | <|file_sep|>.i3/scripts/i3exit.sh.diff
original:
lock && systemctl suspend
updated:
systemctl suspend
<|file_sep|>original/.i3/scripts/i3exit.sh
lock)
lock
;;
logout)
i3-msg exit
;;
suspend)
lock && systemctl suspend
;;
hibernate)
l... | 83705c02c27ee1ba621f61f7b4f10c6a91bc6334 | .i3/scripts/i3exit.sh | .i3/scripts/i3exit.sh | Shell |
<|file_sep|>original/billing/templatetags/jinja2_tags.py
<|file_sep|>current/billing/templatetags/jinja2_tags.py
<|file_sep|>updated/billing/templatetags/jinja2_tags.py | from coffin.template import Library
from django.template.loader import render_to_string
from jinja2 import nodes
from jinja2.ext import Extension
register = Library()
class MerchantExtension(Extension):
tags = set(['render_integration'])
def parse(self, parser):
stream = parser.stream
line... | <|file_sep|>original/billing/templatetags/jinja2_tags.py
<|file_sep|>current/billing/templatetags/jinja2_tags.py
<|file_sep|>updated/billing/templatetags/jinja2_tags.py
from coffin.template import Library
from django.template.loader import render_to_string
from jinja2 import nodes
from jinja2.ext import Extension
r... | 85c34957a1f7fdb75fbdf9b72bb26169effe7f0d | billing/templatetags/jinja2_tags.py | billing/templatetags/jinja2_tags.py | Python |
<|file_sep|>original/requirements.txt
django-ordered-model==1.4.3
pytz==2018.4
python_box==3.2.0
six==1.11.0
gunicorn==19.8.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.8.0
#Amazon S3 Stuff
boto3==1.7.23
Collectfast==0.6.2
botocore==1.10.24
django-s3-folder-storage==0.5
django-storages==1.6.6
docutils==0.14
jmespa... | django-ordered-model==1.4.3
pytz==2018.4
python_box==3.2.0
six==1.11.0
gunicorn==19.8.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.8.0
#Amazon S3 Stuff
boto3==1.7.24
Collectfast==0.6.2
botocore==1.10.24
django-s3-folder-storage==0.5
django-storages==1.6.6
docutils==0.14
jmespath==0.9.3
python-dateutil==2.7.3
s3tra... | <|file_sep|>original/requirements.txt
django-ordered-model==1.4.3
pytz==2018.4
python_box==3.2.0
six==1.11.0
gunicorn==19.8.1
psycopg2==2.7.4
python-decouple==3.1
raven==6.8.0
#Amazon S3 Stuff
boto3==1.7.23
Collectfast==0.6.2
botocore==1.10.24
django-s3-folder-storage==0.5
django-storages==1.6.6
docutils==0.14
jmespa... | c2585a0cc30ed911fd8f8b578600b7955527ac7a | requirements.txt | requirements.txt | Text |
<|file_sep|>original/languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java
<|file_sep|>current/languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java
<|file_sep|>updated/languagetool-language-modules/es/src/test/java/org/... | /* LanguageTool, a natural language style checker
* Copyright (C) 2018 Daniel Naber (http://www.danielnaber.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | <|file_sep|>original/languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java
<|file_sep|>current/languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java
<|file_sep|>updated/languagetool-language-modules/es/src/test/java/org/... | fc05143b7c72ca442ed316cb052d842b00c1d0dd | languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java | languagetool-language-modules/es/src/test/java/org/languagetool/rules/es/SpanishWikipediaRuleTest.java | Java |
<|file_sep|>original/app/controllers/email_signups_controller.rb
class EmailSignupsController < ApplicationController
protect_from_forgery except: [:create]
def new
return error_404 unless subtopic.present?
end
def create
return error_404 unless subtopic.present?
if email_signup.save
redire... | class EmailSignupsController < ApplicationController
protect_from_forgery except: [:create]
def new
return error_404 unless subtopic.present?
set_slimmer_dummy_artefact(
section_name: subtopic.title,
section_link: subcategory_path(sector: subtopic.parent_slug, subcategory: subtopic.child_slug)... | <|file_sep|>original/app/controllers/email_signups_controller.rb
class EmailSignupsController < ApplicationController
protect_from_forgery except: [:create]
def new
return error_404 unless subtopic.present?
end
def create
return error_404 unless subtopic.present?
if email_signup.save
redire... | dd6f51f5292c9c0e4647e718fd72cd64cd2d7f52 | app/controllers/email_signups_controller.rb | app/controllers/email_signups_controller.rb | Ruby |
<|file_sep|>app/views/events/_event.html.haml.diff
original:
%label.label.info
updated:
%span.label.info
<|file_sep|>app/views/events/_event.html.haml.diff
original:
%label.label.success Attending
updated:
%span.label.success Attending
<|file_sep|>original/app/views/event... | .text-center
- if event.chapter
%span.label.info
= event.chapter.name
- if @user
- if @user.attending?(event.__getobj__)
= link_to event.path do
%span.label.success Attending
- if @user.event_organiser?(event)
= link_t... | <|file_sep|>app/views/events/_event.html.haml.diff
original:
%label.label.info
updated:
%span.label.info
<|file_sep|>app/views/events/_event.html.haml.diff
original:
%label.label.success Attending
updated:
%span.label.success Attending
<|file_sep|>original/app/views/event... | de19234122e0aed4af56872936d7f0231a0d35e5 | app/views/events/_event.html.haml | app/views/events/_event.html.haml | Haml |
<|file_sep|>original/src/engine/core/include/halley/core/api/platform_api.h
virtual ~HTTPResponse() {}
virtual int getResponseCode() const = 0;
virtual const Bytes& getBody() const = 0;
};
class HTTPRequest {
public:
virtual ~HTTPRequest() {}
virtual void setPostData(const String& contentType, const Byte... | virtual ~HTTPResponse() {}
virtual int getResponseCode() const = 0;
virtual const Bytes& getBody() const = 0;
};
class HTTPRequest {
public:
virtual ~HTTPRequest() {}
virtual void setPostData(const String& contentType, const Bytes& data) = 0;
virtual void setHeader(const String& headerName, const Strin... | <|file_sep|>original/src/engine/core/include/halley/core/api/platform_api.h
virtual ~HTTPResponse() {}
virtual int getResponseCode() const = 0;
virtual const Bytes& getBody() const = 0;
};
class HTTPRequest {
public:
virtual ~HTTPRequest() {}
virtual void setPostData(const String& contentType, const Byte... | 06e74f67923c38c03eb38dd819258d4d41040651 | src/engine/core/include/halley/core/api/platform_api.h | src/engine/core/include/halley/core/api/platform_api.h | C |
<|file_sep|>original/migrations/versions/0092_data_gov_uk.py
<|file_sep|>current/migrations/versions/0092_data_gov_uk.py
<|file_sep|>updated/migrations/versions/0092_data_gov_uk.py | """empty message
Revision ID: 0092_data_gov_uk
Revises: 0091_letter_billing
Create Date: 2017-06-05 16:15:17.744908
"""
# revision identifiers, used by Alembic.
revision = '0092_data_gov_uk'
down_revision = '0091_letter_billing'
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgres... | <|file_sep|>original/migrations/versions/0092_data_gov_uk.py
<|file_sep|>current/migrations/versions/0092_data_gov_uk.py
<|file_sep|>updated/migrations/versions/0092_data_gov_uk.py
"""empty message
Revision ID: 0092_data_gov_uk
Revises: 0091_letter_billing
Create Date: 2017-06-05 16:15:17.744908
"""
# revision ide... | 6b01cfd5b580354de811fa7266811bfb04e31086 | migrations/versions/0092_data_gov_uk.py | migrations/versions/0092_data_gov_uk.py | Python |
<|file_sep|>original/.travis.yml
language: objective-c
env:
matrix:
- XCODE_SCHEME="MutableDataScanner iOS Tests" XCODE_SDK=iphonesimulator
- XCODE_SCHEME="MutableDataScanner Mac Tests" XCODE_SDK=macosx
script: xcodebuild -project MutableDataScanner.xcodeproj -scheme "$XCODE_SCHEME" -sdk $XCODE_SDK -configu... | language: objective-c
env:
matrix:
- XCODE_SCHEME="MutableDataScanner iOS Tests" XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 6"
- XCODE_SCHEME="MutableDataScanner Mac Tests" XCODE_DESTINATION="platform=OS X,arch=x86_64"
script: xcodebuild -project MutableDataScanner.xcodeproj -scheme "$XCODE_SCHEM... | <|file_sep|>original/.travis.yml
language: objective-c
env:
matrix:
- XCODE_SCHEME="MutableDataScanner iOS Tests" XCODE_SDK=iphonesimulator
- XCODE_SCHEME="MutableDataScanner Mac Tests" XCODE_SDK=macosx
script: xcodebuild -project MutableDataScanner.xcodeproj -scheme "$XCODE_SCHEME" -sdk $XCODE_SDK -configu... | 143e10fec558aa8d5a74004cbc46a70594ef9d78 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config.php
<?php
return [
'page_sleep' => 10,
'image_sleep' => 3,
'downloader' => 'normal', // normal or curl
];
<|file_sep|>current/config.php
<?php
return [
'page_sleep' => 10,
'image_sleep' => 3,
'downloader' => 'normal', // normal or curl
];
<|file_sep|>updated/con... | <?php
return [
'page_sleep' => 10,
'image_sleep' => 3,
'downloader' => 'curl', // normal or curl
]; | <|file_sep|>original/config.php
<?php
return [
'page_sleep' => 10,
'image_sleep' => 3,
'downloader' => 'normal', // normal or curl
];
<|file_sep|>current/config.php
<?php
return [
'page_sleep' => 10,
'image_sleep' => 3,
'downloader' => 'normal', // normal or curl
];
<|file_sep|>updated/con... | 7684f25c4ea38c8d6e77bf298301cdf588dd15c5 | config.php | config.php | PHP |
<|file_sep|>original/v2/licenses/BSD-FatFs.txt
<|file_sep|>current/v2/licenses/BSD-FatFs.txt
<|file_sep|>updated/v2/licenses/BSD-FatFs.txt | FatFs module is an open source software. Redistribution and use of FatFs in
source and binary forms, with or without modification, are permitted provided
that the following condition is met:
1. Redistributions of source code must retain the above copyright notice,
this condition and the following disclaimer.
This ... | <|file_sep|>original/v2/licenses/BSD-FatFs.txt
<|file_sep|>current/v2/licenses/BSD-FatFs.txt
<|file_sep|>updated/v2/licenses/BSD-FatFs.txt
FatFs module is an open source software. Redistribution and use of FatFs in
source and binary forms, with or without modification, are permitted provided
that the following condit... | bb9f3b44935697af48ae566c338c9e8f80ca5b50 | v2/licenses/BSD-FatFs.txt | v2/licenses/BSD-FatFs.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
Installing Fields requires a C99 compiler and GNU Make.
Install Fields to `/usr/local`, the default installation location:
<|file_sep|>README.md.diff
original:
The default installation location is `/usr/local`. Override it with `$PREFIX`:
updated:
Install Fields to `$HOM... | ------------
Installing Fields requires a C99 compiler and GNU Make.
Install Fields to `/usr/local`, the default installation location:
make install
Install Fields to `$HOME`, an alternative installation location:
make install PREFIX=$HOME
History
-------
See `History.md`.
License
------- | <|file_sep|>README.md.diff
original:
updated:
Installing Fields requires a C99 compiler and GNU Make.
Install Fields to `/usr/local`, the default installation location:
<|file_sep|>README.md.diff
original:
The default installation location is `/usr/local`. Override it with `$PREFIX`:
updated:
Install Fields to `$HOM... | bb95a6a3256c63d01c9cc3fdfc6b98787a8bbe5e | README.md | README.md | Markdown |
<|file_sep|>README.rst.diff
original:
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
.. :target: https://ci.appveyor.com/project/jaraco/skeleton/branch/master
updated:
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/tempora/master.svg
.. :target: https://ci.appveyor.com/projec... | :target: https://pypi.org/project/tempora
.. image:: https://img.shields.io/pypi/pyversions/tempora.svg
.. image:: https://img.shields.io/travis/jaraco/tempora/master.svg
:target: https://travis-ci.org/jaraco/tempora
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/tempora/master.svg
.. :target: http... | <|file_sep|>README.rst.diff
original:
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/skeleton/master.svg
.. :target: https://ci.appveyor.com/project/jaraco/skeleton/branch/master
updated:
.. .. image:: https://img.shields.io/appveyor/ci/jaraco/tempora/master.svg
.. :target: https://ci.appveyor.com/projec... | 7cb38280fada71ccc3bb1176f327e6bc90737877 | README.rst | README.rst | reStructuredText |
<|file_sep|>deployment/install/069-setHomeRights.sh.diff
original:
find . -type f -execdir chmod 100 {} \;
updated:
find . -type f -execdir chmod 400 {} \;
<|file_sep|>deployment/install/069-setHomeRights.sh.diff
original:
find www -type f -execdir chmod 110 {} \;
updated:
find www -type f -execdir chmo... | EOF
elif [ "$1" = exec ] ; then
if [ -z "$USER" ] ; then
echo "You have to specify the user you want to use (export USER=...)"
echo "Found error. Abording."
exit
fi
sudo su -c '
cd
find . -type d -execdir chmod 700 {} \;
find . -type f -execdir chmod 400 {} \;
chmo... | <|file_sep|>deployment/install/069-setHomeRights.sh.diff
original:
find . -type f -execdir chmod 100 {} \;
updated:
find . -type f -execdir chmod 400 {} \;
<|file_sep|>deployment/install/069-setHomeRights.sh.diff
original:
find www -type f -execdir chmod 110 {} \;
updated:
find www -type f -execdir chmo... | 0bb903c1c91c4e5bdb565df07fae58d9c1c6fd8a | deployment/install/069-setHomeRights.sh | deployment/install/069-setHomeRights.sh | Shell |
<|file_sep|>original/metadata.rb
name 'logstash'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures logstash in agent mode'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.... | name 'logstash'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures logstash in agent mode'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.0.1'
depends 'java'
recommends '... | <|file_sep|>original/metadata.rb
name 'logstash'
maintainer 'Peter Donald'
maintainer_email 'peter@realityforge.org'
license 'Apache 2.0'
description 'Installs/Configures logstash in agent mode'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.... | 50bddb405fef049fb4c0c41527508392b47baf13 | metadata.rb | metadata.rb | Ruby |
<|file_sep|>original/drivers/test_logger.py
<|file_sep|>current/drivers/test_logger.py
<|file_sep|>updated/drivers/test_logger.py | from __future__ import print_function
import time
from might_driver import MightyWattDriver
from buck_driver import FCCBuckDriver
discharger = FCCMPPTDriver()
discharger.open_serial('SNR=8543035353135160A201')
print(discharger.dev_id)
load = MightyWattDriver()
load.open_serial('SNR=854303535313513041E2')
print(load.... | <|file_sep|>original/drivers/test_logger.py
<|file_sep|>current/drivers/test_logger.py
<|file_sep|>updated/drivers/test_logger.py
from __future__ import print_function
import time
from might_driver import MightyWattDriver
from buck_driver import FCCBuckDriver
discharger = FCCMPPTDriver()
discharger.open_serial('SNR... | 7775d27af722031fc696693415d9f38d7f5409e2 | drivers/test_logger.py | drivers/test_logger.py | Python |
<|file_sep|>espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.kt.diff
original:
updated:
import junit.framework.AssertionFailedError
<|file_sep|>original/espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.k... | class TextInputEditTextHasHintAssertionTest {
@JvmField @Rule
val activityRule = ActivityTestRule(Activity::class.java)
@Test
fun shouldConfirmTextInputEditTextHasHint() {
onId(anId).textInputEditTextHasHint(textId)
}
@Test(expected = AssertionFailedError::class)
fun shouldFailToM... | <|file_sep|>espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.kt.diff
original:
updated:
import junit.framework.AssertionFailedError
<|file_sep|>original/espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.k... | 939ccaee44a3b6e724991c9d800a0d846a4df304 | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.kt | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/TextInputEditTextHasHintAssertionTest.kt | Kotlin |
<|file_sep|>spec/support/random_content_helpers.rb.diff
original:
random.merge_and_validate(
routes: [
{ path: base_path, type: "prefix" } # hard to do in schemas
],
updated:
item = random.merge_and_validate(
<|file_sep|>spec/support/random_content_helpers.rb.diff
original:
redirects: ... | random = GovukSchemas::RandomExample.for_schema(publisher_schema: "placeholder")
item = random.merge_and_validate(
base_path: base_path,
# TODOs:
title: "Something not empty", # TODO: make schemas validate title length
rendering_app: "government-frontend", # TODO: remove after https://... | <|file_sep|>spec/support/random_content_helpers.rb.diff
original:
random.merge_and_validate(
routes: [
{ path: base_path, type: "prefix" } # hard to do in schemas
],
updated:
item = random.merge_and_validate(
<|file_sep|>spec/support/random_content_helpers.rb.diff
original:
redirects: ... | 0d3794f420796d9671680ef18296f5849f58b6fd | spec/support/random_content_helpers.rb | spec/support/random_content_helpers.rb | Ruby |
<|file_sep|>original/src/ggrc_workflows/migrations/versions/20140715214934_26d9c9c91542_add_cycletaskgroupobject_object.py
Revises: 19a67dc67c3
Create Date: 2014-07-15 21:49:34.073412
"""
# revision identifiers, used by Alembic.
revision = '26d9c9c91542'
down_revision = '19a67dc67c3'
from alembic import op
import sq... | down_revision = '19a67dc67c3'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('cycle_task_group_objects', sa.Column('object_id', sa.Integer(), nullable=False))
op.add_column('cycle_task_group_objects', sa.Column('object_type', sa.String(length=250), nullable=False))
op.execut... | <|file_sep|>original/src/ggrc_workflows/migrations/versions/20140715214934_26d9c9c91542_add_cycletaskgroupobject_object.py
Revises: 19a67dc67c3
Create Date: 2014-07-15 21:49:34.073412
"""
# revision identifiers, used by Alembic.
revision = '26d9c9c91542'
down_revision = '19a67dc67c3'
from alembic import op
import sq... | 99884ec3e960fa7b73e10a6969c455de6eca542b | src/ggrc_workflows/migrations/versions/20140715214934_26d9c9c91542_add_cycletaskgroupobject_object.py | src/ggrc_workflows/migrations/versions/20140715214934_26d9c9c91542_add_cycletaskgroupobject_object.py | Python |
<|file_sep|>RELEASE-NOTES.txt.diff
original:
Apache Commons Daemon @VERSION@
Release Notes
updated:
Apache Commons Daemon 1.1
Release Notes
<|file_sep|>RELEASE-NOTES.txt.diff
original:
Apache Commons Daemon package, and highlights changes since the
... | - The minimum required Java version has been increased from Java
1.3 to Java 6
- Explicit support has been added for Java 9
- The minimum target platform for Windows has been increased to
Windows XP
Bug Fixes
---------
- Please see the change log
http://commons.apache.org/proper/commons-daemon/changes-r... | <|file_sep|>RELEASE-NOTES.txt.diff
original:
Apache Commons Daemon @VERSION@
Release Notes
updated:
Apache Commons Daemon 1.1
Release Notes
<|file_sep|>RELEASE-NOTES.txt.diff
original:
Apache Commons Daemon package, and highlights changes since the
... | a4f1700e595943e2496b7ca47143b5f1c1b921ca | RELEASE-NOTES.txt | RELEASE-NOTES.txt | Text |
<|file_sep|>original/test/unit/integrations/helper_test.rb
<|file_sep|>current/test/unit/integrations/helper_test.rb
<|file_sep|>updated/test/unit/integrations/helper_test.rb | require 'test_helper'
class HelperTest < Test::Unit::TestCase
include ActiveMerchant::Billing::Integrations
def test_mappings_gets_initialized
helper_klass_without_mappings = Class.new(ActiveMerchant::Billing::Integrations::Helper)
# assert_equal Hash.new, helper_klass_without_mappings.mappings
assert_n... | <|file_sep|>original/test/unit/integrations/helper_test.rb
<|file_sep|>current/test/unit/integrations/helper_test.rb
<|file_sep|>updated/test/unit/integrations/helper_test.rb
require 'test_helper'
class HelperTest < Test::Unit::TestCase
include ActiveMerchant::Billing::Integrations
def test_mappings_gets_initia... | 7387595f90bfdec97934105d84734bc97ac976c0 | test/unit/integrations/helper_test.rb | test/unit/integrations/helper_test.rb | Ruby |
<|file_sep|>original/Parsley.Test/CharLexer.cs
namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: this(new Text(source)) { }
public CharLexer(Text text)
: base(text, new TokenMatcher(typeof(char), @".")) { }
}
}
<|file_sep|... | namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: base(new Text(source), new TokenMatcher(typeof(char), @".")) { }
}
} | <|file_sep|>original/Parsley.Test/CharLexer.cs
namespace Parsley
{
public sealed class CharLexer : Lexer
{
public CharLexer(string source)
: this(new Text(source)) { }
public CharLexer(Text text)
: base(text, new TokenMatcher(typeof(char), @".")) { }
}
}
<|file_sep|... | a79c651fc72bcbc9583c28c35caab8fe58458792 | Parsley.Test/CharLexer.cs | Parsley.Test/CharLexer.cs | C# |
<|file_sep|>original/bayesiannetwork.h
#include "bayesian.h"
namespace baysian {
class bayesianNetwork : public bayesian {
private:
long double ***cpt;
double *classCount; // this array store the total number of each
// decision's class in training data
int *discrete;
int *classNum; /... | #include "bayesian.h"
namespace baysian {
class bayesianNetwork : public bayesian {
private:
long double ***cpt;
int **parent;
public:
bayesianNetwork(char *);
~bayesianNetwork();
// initialize all the information we need from training data
void predict(char *);
// calculate the probability of each ch... | <|file_sep|>original/bayesiannetwork.h
#include "bayesian.h"
namespace baysian {
class bayesianNetwork : public bayesian {
private:
long double ***cpt;
double *classCount; // this array store the total number of each
// decision's class in training data
int *discrete;
int *classNum; /... | 723fda1013baccca0a0686d465fb47b426ebc6b8 | bayesiannetwork.h | bayesiannetwork.h | C |
<|file_sep|>original/appveyor.yml
version: 3.2.9.{build}
image:
- Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_branch_with_pr: true
configuration: Release
before_build:
- cmd: dotnet restore
build:
verbosity: minimal
parallel: true
artifacts:
- pa... | version: 3.2.9.{build}
image:
- Visual Studio 2022
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_branch_with_pr: true
configuration: Release
before_build:
- cmd: dotnet restore
build:
verbosity: minimal
parallel: true
artifacts:
- path: '**\*.nupkg'
nuget:
disable_... | <|file_sep|>original/appveyor.yml
version: 3.2.9.{build}
image:
- Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
skip_branch_with_pr: true
configuration: Release
before_build:
- cmd: dotnet restore
build:
verbosity: minimal
parallel: true
artifacts:
- pa... | 73e99f45ff27ca07d2541c7a29125d7c2b8cc6db | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/client/app/components/confirmation/_confirmation.sass
+block(confirmation)
+element(dialog)
width: 300px
margin: 0
position: absolute
+element(body)
padding: 16px
text-align: center
+element(message)
+element(buttons)
text-align: center
+element(button)
ma... | +block(confirmation)
+element(dialog)
width: 300px
margin: 0
position: absolute
+element(body)
padding: 16px
text-align: center
+element(message)
| <|file_sep|>original/client/app/components/confirmation/_confirmation.sass
+block(confirmation)
+element(dialog)
width: 300px
margin: 0
position: absolute
+element(body)
padding: 16px
text-align: center
+element(message)
+element(buttons)
text-align: center
+element(button)
ma... | 62876e31068ead0f1183a967bb711347867b82cc | client/app/components/confirmation/_confirmation.sass | client/app/components/confirmation/_confirmation.sass | Sass |
<|file_sep|>original/add.php
<?php include('theme/header.php'); ?>
<?php
include('dbconnect.php');
$sql = "INSERT INTO small_victories (date, latest_amount) VALUES ('2017-01-25', '31945.78');";
if (mysqli_query($connection, $sql)) {
echo "The new amount was added.";
} else {
echo "Oops! " . $sql . "<br>" . mysq... | <?php include('theme/header.php'); ?>
<?php
include('dbconnect.php');
//$sql = "INSERT INTO small_victories (date, latest_amount) VALUES ('2017-01-25', '31945.78');";
$sql = '';
if (mysqli_query($connection, $sql)) {
echo "The new amount was added.";
} else {
echo "Oops! " . $sql . "<br>" . mysqli_error($connec... | <|file_sep|>original/add.php
<?php include('theme/header.php'); ?>
<?php
include('dbconnect.php');
$sql = "INSERT INTO small_victories (date, latest_amount) VALUES ('2017-01-25', '31945.78');";
if (mysqli_query($connection, $sql)) {
echo "The new amount was added.";
} else {
echo "Oops! " . $sql . "<br>" . mysq... | 67d32da97307b3d0253a4015e51a780ccf52d5f2 | add.php | add.php | PHP |
<|file_sep|>original/stroom-kafka/stroom-kafka-api/src/main/java/stroom/kafka/api/KafkaProducerSupplierKey.java
import stroom.kafka.shared.KafkaConfigDoc;
import java.util.Objects;
public class KafkaProducerSupplierKey {
private final String uuid;
private final String version;
public KafkaProducerSupplie... | import stroom.kafka.shared.KafkaConfigDoc;
import java.util.Objects;
public class KafkaProducerSupplierKey {
private final String uuid;
private final String version;
public KafkaProducerSupplierKey(final KafkaConfigDoc kafkaConfigDoc) {
Objects.requireNonNull(kafkaConfigDoc);
this.uuid = ... | <|file_sep|>original/stroom-kafka/stroom-kafka-api/src/main/java/stroom/kafka/api/KafkaProducerSupplierKey.java
import stroom.kafka.shared.KafkaConfigDoc;
import java.util.Objects;
public class KafkaProducerSupplierKey {
private final String uuid;
private final String version;
public KafkaProducerSupplie... | f20e9bdc00909dab230c7135068abb32243f0cae | stroom-kafka/stroom-kafka-api/src/main/java/stroom/kafka/api/KafkaProducerSupplierKey.java | stroom-kafka/stroom-kafka-api/src/main/java/stroom/kafka/api/KafkaProducerSupplierKey.java | Java |
<|file_sep|>original/fastats/core/single_pass.py
import numpy as np
from fastats.core.decorator import fs
def value(x): # pragma: no cover
return x
@fs
def single_pass(x):
"""
Performs a single iteration over the first
dimension of `x`.
Tests
-----
>>> def square(x):
... retu... |
import numpy as np
from fastats.core.decorator import fs
def value(x):
return x
@fs
def single_pass(x):
"""
Performs a single iteration over the first
dimension of `x`.
Tests
-----
>>> def square(x):
... return x * x
>>> data = np.arange(10) | <|file_sep|>original/fastats/core/single_pass.py
import numpy as np
from fastats.core.decorator import fs
def value(x): # pragma: no cover
return x
@fs
def single_pass(x):
"""
Performs a single iteration over the first
dimension of `x`.
Tests
-----
>>> def square(x):
... retu... | eac05dfe5c4190cc10b00d18aa9f03344eb3a6ea | fastats/core/single_pass.py | fastats/core/single_pass.py | Python |
<|file_sep|>composer.json.diff
original:
updated:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/peej/phpdoctor"
}
],
<|file_sep|>original/composer.json
"description": "PHP Client for MarkLogic",
"keywords": ["marklogic", "nosql", "database", "sear... | "name": "Michael Wooldridge",
"email": "mike.wooldridge@marklogic.com"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/peej/phpdoctor"
}
],
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
"... | <|file_sep|>composer.json.diff
original:
updated:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/peej/phpdoctor"
}
],
<|file_sep|>original/composer.json
"description": "PHP Client for MarkLogic",
"keywords": ["marklogic", "nosql", "database", "sear... | f63fb9797c4e4a31d591219c772329c5056351fa | composer.json | composer.json | JSON |
<|file_sep|>original/ci-cd/p3_temp/lint_ast_parser.sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing... | # See the License for the specific language governing permissions and
# limitations under the License.
# We'll be at the git root, so move to the target directory.
cd xunit-autolabeler-v2/ast_parser
# add user's pip binary path to PATH
export PATH="${HOME}/.local/bin:${PATH}"
pip install --user -r requirements.txt
p... | <|file_sep|>original/ci-cd/p3_temp/lint_ast_parser.sh
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing... | 32a40786bbf1b2b33482d7b5d8a2cf105ded49f2 | ci-cd/p3_temp/lint_ast_parser.sh | ci-cd/p3_temp/lint_ast_parser.sh | Shell |
<|file_sep|>package.json.diff
original:
updated:
"cheatsheet",
"emacs",
"keybinding",
"keybindings",
"keyboard",
"shortcut",
<|file_sep|>original/package.json
{
"name": "shortcuts-teacher",
"author": "Johan Walles <johan.walles@gmail.com> (https://github.com/walles)",
"main": "./lib/short... | "main": "./lib/shortcuts-teacher",
"version": "0.0.1",
"description": "Helps you learn Atom's shortcuts by hinting you when you execute commands without them.",
"keywords": [
"cheatsheet",
"emacs",
"keybinding",
"keybindings",
"keyboard",
"shortcut",
"shortcuts",
],
"repository":... | <|file_sep|>package.json.diff
original:
updated:
"cheatsheet",
"emacs",
"keybinding",
"keybindings",
"keyboard",
"shortcut",
<|file_sep|>original/package.json
{
"name": "shortcuts-teacher",
"author": "Johan Walles <johan.walles@gmail.com> (https://github.com/walles)",
"main": "./lib/short... | f836e98b508a6814cc31e884602f7e3803aeae16 | package.json | package.json | JSON |
<|file_sep|>original/package.json
{
"name": "armstrong.apps.donations",
"version": "0.2alpha.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"Django==1.3.1",
"django-merchant==0.0.2a0",
"armstrong.utils.backends>=1.0.0,<1.1"
]
}
<|file... | {
"name": "armstrong.apps.donations",
"version": "0.2.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"Django==1.3.1",
"django-merchant==0.0.2a0",
"armstrong.utils.backends>=1.0.0,<1.1"
]
} | <|file_sep|>original/package.json
{
"name": "armstrong.apps.donations",
"version": "0.2alpha.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"Django==1.3.1",
"django-merchant==0.0.2a0",
"armstrong.utils.backends>=1.0.0,<1.1"
]
}
<|file... | c5857dea4250716ae476505905283fa324ad3ed6 | package.json | package.json | JSON |
<|file_sep|>docs/conf.py.diff
original:
updated:
import datetime
<|file_sep|>docs/conf.py.diff
original:
copyright = "2016-2021, {:s}".format(author)
updated:
copyright = f"2016-{datetime.date.today().year}, {author}"
<|file_sep|>original/docs/conf.py
"sphinx.ext.viewcode"
]
source_suffix = ".rst"
master_doc = "i... | "sphinx.ext.viewcode"
]
source_suffix = ".rst"
master_doc = "index"
language = None
exclude_patterns = ["build", "*.egg*"]
# Output options
html_theme = "sphinx_rtd_theme"
html_show_sphinx = False
html_baseurl = "pymanopt.org"
htmlhelp_basename = "pymanoptdoc"
html_last_updated_fmt = ""
# autodoc
autodoc_default_... | <|file_sep|>docs/conf.py.diff
original:
updated:
import datetime
<|file_sep|>docs/conf.py.diff
original:
copyright = "2016-2021, {:s}".format(author)
updated:
copyright = f"2016-{datetime.date.today().year}, {author}"
<|file_sep|>original/docs/conf.py
"sphinx.ext.viewcode"
]
source_suffix = ".rst"
master_doc = "i... | f1f6848557428e9b2fc39c6b0d476279a0f5dd5c | docs/conf.py | docs/conf.py | Python |
<|file_sep|>original/README.md
Modules for Odoo Community v10
==============================
This project aims to deal with modules related to helping users use Odoo better.
[//]: # (addons)
Available modules
----------------
module | version | summary
--- | --- | ---
[buff_report_format](buff_report_format/) | 10.0... | Modules for Odoo Community v10
==============================
This project aims to deal with modules related to helping users use Odoo better.
The apps are listed on [Odoo App Store](https://apps.odoo.com/apps/browse?repo_maintainer_id=189507) with a total of 800+ downloads.
[//]: # (addons)
Available modules
-----... | <|file_sep|>original/README.md
Modules for Odoo Community v10
==============================
This project aims to deal with modules related to helping users use Odoo better.
[//]: # (addons)
Available modules
----------------
module | version | summary
--- | --- | ---
[buff_report_format](buff_report_format/) | 10.0... | 553cf9934b3246978341878328c00af790fbc301 | README.md | README.md | Markdown |
<|file_sep|>src/Merge.php.diff
original:
$record = NULL;
foreach ($this->mergeable as $data) {
$record = RecordFactory::create(
updated:
return array_reduce($this->mergeable, function ($record, $data) use ($strategy) {
return RecordFactory::create(
<|file_sep|>original/s... | {
$this->mergeable[] = $data;
return $this;
}
public function merge(MergeStrategy $strategy = NULL)
{
if (!$strategy) {
$strategy = new MergeStrategy();
}
return array_reduce($this->mergeable, function ($record, $data) use ($strategy) {
... | <|file_sep|>src/Merge.php.diff
original:
$record = NULL;
foreach ($this->mergeable as $data) {
$record = RecordFactory::create(
updated:
return array_reduce($this->mergeable, function ($record, $data) use ($strategy) {
return RecordFactory::create(
<|file_sep|>original/s... | 8d470edac2844d8b2df134db98803fdfca5c982e | src/Merge.php | src/Merge.php | PHP |
<|file_sep|>original/.travis.yml
# - osx
- linux
node_js:
- 'lts/*'
- '10'
- '8'
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
- npm run vscode:prepublis... | # - osx
- linux
node_js:
- 'lts/*'
- '10'
- '8'
before_install:
- |
if [ $TRAVIS_OS_NAME == "linux" ]; then
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
fi
install:
- npm install
- npm run vscode:prepublish
script:
- npm test --silent | <|file_sep|>original/.travis.yml
# - osx
- linux
node_js:
- 'lts/*'
- '10'
- '8'
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
- npm install
- npm run vscode:prepublis... | 716d01dff15c40b21f888cc01cb75baa22c4d101 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/knowledge-base/treelist-determine-last-level.md
<|file_sep|>current/knowledge-base/treelist-determine-last-level.md
<|file_sep|>updated/knowledge-base/treelist-determine-last-level.md | ---
title: Determine Last Level of TreeList
description: This sample demonstrates how you can figure out the last level of RadTreeList?
type: how-to
page_title: How to determine the last level of TreeList?
slug: treelist-determine-last-level
position:
tags:
ticketid: 1443954
res_type: kb
---
## Environment
<table>
... | <|file_sep|>original/knowledge-base/treelist-determine-last-level.md
<|file_sep|>current/knowledge-base/treelist-determine-last-level.md
<|file_sep|>updated/knowledge-base/treelist-determine-last-level.md
---
title: Determine Last Level of TreeList
description: This sample demonstrates how you can figure out the last... | 7c1c7fe62f717c1bcc3f5b0c7a5834240ea1220b | knowledge-base/treelist-determine-last-level.md | knowledge-base/treelist-determine-last-level.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: go
go:
- 1.13.x
# - tip
before_script: ./integrationtest-setup.sh
after_script: ./integrationtest-teardown.sh
<|file_sep|>current/.travis.yml
sudo: required
services:
- docker
language: go
go:
- 1.13.x
# - tip
before_script: .... | sudo: required
services:
- docker
language: go
go:
- 1.13.x
- 1.14.x
- 1.15.x
# - tip
before_script: ./integrationtest-setup.sh
after_script: ./integrationtest-teardown.sh | <|file_sep|>original/.travis.yml
sudo: required
services:
- docker
language: go
go:
- 1.13.x
# - tip
before_script: ./integrationtest-setup.sh
after_script: ./integrationtest-teardown.sh
<|file_sep|>current/.travis.yml
sudo: required
services:
- docker
language: go
go:
- 1.13.x
# - tip
before_script: .... | d3d85d957c4be9e00ec8f2d0ccda64f3be7cfc30 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 0.11
- 0.12
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.11
- 0.12
- 4.0
sudo: false
script:
- npm run ci
notifications:
email:
- kimmobrunfeldt@gmail.com
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4.0
sudo: false
... | language: node_js
node_js:
- 4.0
- 4.1
sudo: false
script:
- npm run ci
notifications:
email:
- kimmobrunfeldt@gmail.com | <|file_sep|>.travis.yml.diff
original:
- 0.11
- 0.12
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.11
- 0.12
- 4.0
sudo: false
script:
- npm run ci
notifications:
email:
- kimmobrunfeldt@gmail.com
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4.0
sudo: false
... | b8352d326763d31953718d519d0ba263fcbf9ed8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/maven-wrapper/maven/wrapper/maven-wrapper.properties
distributionUrl=https://repository.apache.org/content/repositories/releases/org/apache/maven/apache-maven/3.0.5/apache-maven-3.0.5-bin.zip
<|file_sep|>current/maven-wrapper/maven/wrapper/maven-wrapper.properties
distributionUrl=https://repository... | distributionUrl=https://repository.apache.org/content/repositories/releases/org/apache/maven/apache-maven/3.2.3/apache-maven-3.2.3-bin.zip | <|file_sep|>original/maven-wrapper/maven/wrapper/maven-wrapper.properties
distributionUrl=https://repository.apache.org/content/repositories/releases/org/apache/maven/apache-maven/3.0.5/apache-maven-3.0.5-bin.zip
<|file_sep|>current/maven-wrapper/maven/wrapper/maven-wrapper.properties
distributionUrl=https://repository... | 5136195fbef688855c0f009d84d9990a4b8590da | maven-wrapper/maven/wrapper/maven-wrapper.properties | maven-wrapper/maven/wrapper/maven-wrapper.properties | INI |
<|file_sep|>server/lib/session_authentication.coffee.diff
original:
updated:
httpVerbWhitelist = ['GET']
<|file_sep|>original/server/lib/session_authentication.coffee
_ = require('underscore')
module.exports = (req, res, next) ->
httpVerbWhitelist = ['GET']
return next() if process.env.NODE_ENV == 'test'
retu... | _ = require('underscore')
httpVerbWhitelist = ['GET']
module.exports = (req, res, next) ->
return next() if process.env.NODE_ENV == 'test'
return next() if req.isAuthenticated() or _.contains(httpVerbWhitelist, req.method)
return res.send(401, 'Unauthorised') | <|file_sep|>server/lib/session_authentication.coffee.diff
original:
updated:
httpVerbWhitelist = ['GET']
<|file_sep|>original/server/lib/session_authentication.coffee
_ = require('underscore')
module.exports = (req, res, next) ->
httpVerbWhitelist = ['GET']
return next() if process.env.NODE_ENV == 'test'
retu... | f7cf4d1982f327ce02f8b87f3d29fd87110bedf9 | server/lib/session_authentication.coffee | server/lib/session_authentication.coffee | CoffeeScript |
<|file_sep|>original/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql
<|file_sep|>current/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql
<|file_sep|>updated/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions... | Create or replace FUNCTION __temp_insert_add_domain_import_export_permissions_for_admins()
RETURNS VOID
AS $procedure$
DECLARE
v_VM_IMPORTER_EXPORTER_ID UUID;
BEGIN
v_VM_IMPORTER_EXPORTER_ID := 'def00030-0000-0000-0000-def000000011';
INSERT INTO roles (id, name, description, is_readonly, role_type, al... | <|file_sep|>original/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql
<|file_sep|>current/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql
<|file_sep|>updated/packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions... | f713cf95cbf92b770245495612b21a964fddbb2b | packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql | packaging/dbscripts/upgrade/03_06_1620_add_domain_import_export_permissions_for_admins.sql | SQL |
<|file_sep|>original/tasks/core/mochaTest.js
module.exports = {
// Core unit tests
core: {
options: {
reporter: "spec"
},
src: ["tests/server/*.js"]
}
};
<|file_sep|>current/tasks/core/mochaTest.js
module.exports = {
// Core unit tests
core: {
options: {
reporter: "spec"
... | module.exports = {
// Core unit tests
core: {
options: {
reporter: "spec"
},
src: ["tests/server/init.js", "tests/server/*.js"]
}
}; | <|file_sep|>original/tasks/core/mochaTest.js
module.exports = {
// Core unit tests
core: {
options: {
reporter: "spec"
},
src: ["tests/server/*.js"]
}
};
<|file_sep|>current/tasks/core/mochaTest.js
module.exports = {
// Core unit tests
core: {
options: {
reporter: "spec"
... | fb76e1b1cd37fb246469822e7f514278a2782fba | tasks/core/mochaTest.js | tasks/core/mochaTest.js | JavaScript |
<|file_sep|>original/test-requirements.txt
PyYAML==3.12
Sphinx==1.5.2
bumpversion==0.5.3
coverage==4.3.4
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.4
hypothesis==3.6.1
pip==9.0.1
pytest==3.0.6
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.2
mock==2.0.0
<|file_sep|>current/test-requirements.txt
PyYAML==... | PyYAML==3.12
Sphinx==1.5.2
bumpversion==0.5.3
coverage==4.3.4
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.4
hypothesis==3.6.1
pip==9.0.1
pytest==3.0.6
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.3
mock==2.0.0 | <|file_sep|>original/test-requirements.txt
PyYAML==3.12
Sphinx==1.5.2
bumpversion==0.5.3
coverage==4.3.4
flake8-import-order==0.11
flake8==3.2.1
grpcio-tools==1.0.4
hypothesis==3.6.1
pip==9.0.1
pytest==3.0.6
tox==2.5.0
wheel==0.29.0
flake8-docstrings==1.0.2
mock==2.0.0
<|file_sep|>current/test-requirements.txt
PyYAML==... | 39333acb0849b20a4360f2535bdb18afe27b3704 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/src/main/scala/cpup/mc/lib/util/pos/BlockPos.scala
def setBlock(block: Block) = {
world.setBlock(x, y, z, block)
this
}
def setMetadata(meta: Int, notify: Int) = {
world.setBlockMetadataWithNotify(x, y, z, meta, notify)
this
}
def block = world.getBlock(x, y, z)
def metadata = wor... | world.setBlock(x, y, z, block)
this
}
def setMetadata(meta: Int, notify: Int) = {
world.setBlockMetadataWithNotify(x, y, z, meta, notify)
this
}
def block = world.getBlock(x, y, z)
def metadata = world.getBlockMetadata(x, y, z)
def tileEntity = world.getTileEntity(x, y, z)
def offset(offsetX: Int, o... | <|file_sep|>original/src/main/scala/cpup/mc/lib/util/pos/BlockPos.scala
def setBlock(block: Block) = {
world.setBlock(x, y, z, block)
this
}
def setMetadata(meta: Int, notify: Int) = {
world.setBlockMetadataWithNotify(x, y, z, meta, notify)
this
}
def block = world.getBlock(x, y, z)
def metadata = wor... | fe54a8914eb956bc6d7f06d7fb337bffee910315 | src/main/scala/cpup/mc/lib/util/pos/BlockPos.scala | src/main/scala/cpup/mc/lib/util/pos/BlockPos.scala | Scala |
<|file_sep|>original/core/src/main/web/app/mainapp/components/notebook/cellmenu.jst.html
<!--
Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License a... | <!--
Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | <|file_sep|>original/core/src/main/web/app/mainapp/components/notebook/cellmenu.jst.html
<!--
Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License a... | 201ccd096678e2d8b7b78c6f921311e2e1795e60 | core/src/main/web/app/mainapp/components/notebook/cellmenu.jst.html | core/src/main/web/app/mainapp/components/notebook/cellmenu.jst.html | HTML |
<|file_sep|>original/sotolitoOS-remix/scripts/download_iso_packages.sh
<|file_sep|>current/sotolitoOS-remix/scripts/download_iso_packages.sh
<|file_sep|>updated/sotolitoOS-remix/scripts/download_iso_packages.sh | #!/bin/bash
echo "Downloading packages"
yum install -y --downloadonly --downloaddir=/var/preserve cockpit git ansible skopeo podman
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
#The container needs some packages in order to downloa... | <|file_sep|>original/sotolitoOS-remix/scripts/download_iso_packages.sh
<|file_sep|>current/sotolitoOS-remix/scripts/download_iso_packages.sh
<|file_sep|>updated/sotolitoOS-remix/scripts/download_iso_packages.sh
#!/bin/bash
echo "Downloading packages"
yum install -y --downloadonly --downloaddir=/var/preserve cockpit ... | a307f220649535163e67d152656130d64b0bc791 | sotolitoOS-remix/scripts/download_iso_packages.sh | sotolitoOS-remix/scripts/download_iso_packages.sh | Shell |
<|file_sep|>original/run_tests.py
#!/usr/bin/env python
import os, sys, re, shutil
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
# Use psycopg2cffi for PyPy
try:
import psycopg2 # noqa
except ImportError:
# Fall back to psycopg2cffi
from psycopg2cffi import compat
compat.register()
# Set ... | #!/usr/bin/env python
import os, sys, re, shutil
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
# Use psycopg2cffi for PyPy
try:
import psycopg2 # noqa
except ImportError:
# Fall back to psycopg2cffi
try:
from psycopg2cffi import compat
compat.register()
except ImportError:
... | <|file_sep|>original/run_tests.py
#!/usr/bin/env python
import os, sys, re, shutil
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
# Use psycopg2cffi for PyPy
try:
import psycopg2 # noqa
except ImportError:
# Fall back to psycopg2cffi
from psycopg2cffi import compat
compat.register()
# Set ... | c6cb543f35356769dcc0f7fedb099a160e267473 | run_tests.py | run_tests.py | Python |
<|file_sep|>original/requirements.txt
Django==1.9.5
django-extensions==1.6.1
django-rest-swagger==0.3.6
django-webpack-loader==0.3.0
djangorestframework==3.3.3
djangorestframework-jwt==1.8.0
psycopg2==2.6.1
PyJWT==1.4.0
PyYAML==3.11
six==1.10.0
Werkzeug==0.11.8
<|file_sep|>current/requirements.txt
Django==1.9.5
django-... | Django==1.9.5
django-extensions==1.6.1
django-rest-swagger==0.3.6
django-webpack-loader==0.3.0
djangorestframework==3.3.3
djangorestframework-jwt==1.8.0
psycopg2==2.6.1
PyJWT==1.4.0
PyYAML==3.11
six==1.10.0
Werkzeug==0.11.9 | <|file_sep|>original/requirements.txt
Django==1.9.5
django-extensions==1.6.1
django-rest-swagger==0.3.6
django-webpack-loader==0.3.0
djangorestframework==3.3.3
djangorestframework-jwt==1.8.0
psycopg2==2.6.1
PyJWT==1.4.0
PyYAML==3.11
six==1.10.0
Werkzeug==0.11.8
<|file_sep|>current/requirements.txt
Django==1.9.5
django-... | ee9d05bf9779cea035a0a0887f0ce1efa0032332 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/moksha/tests/test_hub.py
class TestHub:
def setUp(self):
self.hub = MokshaHub()
def tearDown(self):
self.hub.close()
def test_creating_queue(self):
self.hub.create_queue('test')
eq_(len(self.hub.queues), 1)
def test_delete_queue(self):
"""... | #class TestHub:
#
# def setUp(self):
# self.hub = MokshaHub()
#
# def tearDown(self):
# self.hub.close()
#
# def test_creating_queue(self):
# self.hub.create_queue('test')
# eq_(len(self.hub.queues), 1)
#
# def test_delete_queue(self):
# """ Test deleting a queue """
# ... | <|file_sep|>original/moksha/tests/test_hub.py
class TestHub:
def setUp(self):
self.hub = MokshaHub()
def tearDown(self):
self.hub.close()
def test_creating_queue(self):
self.hub.create_queue('test')
eq_(len(self.hub.queues), 1)
def test_delete_queue(self):
"""... | 54655ff23297b302f12eff9900f8d1c5ce986ab2 | moksha/tests/test_hub.py | moksha/tests/test_hub.py | Python |
<|file_sep|>hexp.gemspec.diff
original:
updated:
gem.license = 'MIT'
<|file_sep|>hexp.gemspec.diff
original:
gem.add_runtime_dependency 'sass' , '~> 3.2.9'
gem.add_runtime_dependency 'nokogiri' , '~> 1.6.0'
gem.add_runtime_dependency 'ice_nine' , '~> 0.8.0'
gem.add_runtime_dependency 'equalizer' ,... | gem.version = Hexp::VERSION
gem.authors = [ 'Arne Brasseur' ]
gem.email = [ 'arne@arnebrasseur.net' ]
gem.description = 'HTML expressions'
gem.summary = gem.description
gem.homepage = 'https://github.com/plexus/hexp'
gem.license = 'MIT'
gem.require_paths = %w[lib]
gem.file... | <|file_sep|>hexp.gemspec.diff
original:
updated:
gem.license = 'MIT'
<|file_sep|>hexp.gemspec.diff
original:
gem.add_runtime_dependency 'sass' , '~> 3.2.9'
gem.add_runtime_dependency 'nokogiri' , '~> 1.6.0'
gem.add_runtime_dependency 'ice_nine' , '~> 0.8.0'
gem.add_runtime_dependency 'equalizer' ,... | 7872067eb7f9b3075d6a0fba4553c0f2dbd3845e | hexp.gemspec | hexp.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script:
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-text
after_success:
- wget -nc http://cs.sensiolabs.org/get/php-cs-fixer.phar
- php php-c... | language: php
php:
- 5.4
- 5.5
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script:
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-text
after_success:
- wget -nc http://cs.sensiolabs.org/get/php-cs-fixer.phar
- php php-cs-fixer.phar fix ./ --dry... | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install --dev
script:
- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-text
after_success:
- wget -nc http://cs.sensiolabs.org/get/php-cs-fixer.phar
- php php-c... | f76b7ecacd4adb63c7cb0ba42ff82fe19da482ea | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/web/scripts/capabilities/home/HomeCapabilityView.js.diff
original:
updated:
initialize() {
// Update the greeting...
this.refreshInterval = setInterval(this.render.bind(this), 1000 * 60 * 5);
}
<|file_sep|>lib/web/scripts/capabilities/home/HomeCapabilityView.js.diff
original:
// XXX Fo... | // Update the greeting...
this.refreshInterval = setInterval(this.render.bind(this), 1000 * 60 * 5);
}
serializeData() {
const hour = (new Date()).getHours();
return {
greeting: (hour < 4 || hour >= 19) ? 'Good evening' :
((hour < 12) ? 'Good morning' : 'Good afternoon')
};
}
... | <|file_sep|>lib/web/scripts/capabilities/home/HomeCapabilityView.js.diff
original:
updated:
initialize() {
// Update the greeting...
this.refreshInterval = setInterval(this.render.bind(this), 1000 * 60 * 5);
}
<|file_sep|>lib/web/scripts/capabilities/home/HomeCapabilityView.js.diff
original:
// XXX Fo... | 71776730dcd36f9d3e606b8f109434056d47beb7 | lib/web/scripts/capabilities/home/HomeCapabilityView.js | lib/web/scripts/capabilities/home/HomeCapabilityView.js | JavaScript |
<|file_sep|>app/controllers/api/items_controller.rb.diff
original:
@items = if @@query.empty?
updated:
item_type_id = params[:item_type_id]
@items = if @@query.empty? && item_type_id == nil
<|file_sep|>app/controllers/api/items_controller.rb.diff
original:
else
updated:
elsif @@query.empty? == false
<... | class Api::ItemsController < ApiController
def index
item_type_id = params[:item_type_id]
@items = if @@query.empty? && item_type_id == nil
Item.all.order(change_query_order)
elsif @@query.empty? == false
Item.where("lower(title) LIKE ? OR
lower(origin_type) = ?", @@query, @@query.gsub("... | <|file_sep|>app/controllers/api/items_controller.rb.diff
original:
@items = if @@query.empty?
updated:
item_type_id = params[:item_type_id]
@items = if @@query.empty? && item_type_id == nil
<|file_sep|>app/controllers/api/items_controller.rb.diff
original:
else
updated:
elsif @@query.empty? == false
<... | f7f5d046eb94461e85796c0ce369d5975673edb5 | app/controllers/api/items_controller.rb | app/controllers/api/items_controller.rb | Ruby |
<|file_sep|>setuptools/tests/test_build.py.diff
original:
updated:
from distutils.command.build import build as distutils_build
<|file_sep|>original/setuptools/tests/test_build.py
from setuptools.dist import Distribution
from setuptools.command.build import build
def test_distribution_gives_setuptools_build_obj(tmpd... |
def test_distribution_gives_setuptools_build_obj(tmpdir_cwd):
"""
Check that the setuptools Distribution uses the
setuptools specific build object.
"""
dist = Distribution(dict(
script_name='setup.py',
script_args=['build'],
packages=[''],
package_data={'': ['path/*... | <|file_sep|>setuptools/tests/test_build.py.diff
original:
updated:
from distutils.command.build import build as distutils_build
<|file_sep|>original/setuptools/tests/test_build.py
from setuptools.dist import Distribution
from setuptools.command.build import build
def test_distribution_gives_setuptools_build_obj(tmpd... | 7a68599ca8794d1d1b7d358e6f79791547f7740f | setuptools/tests/test_build.py | setuptools/tests/test_build.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3-p551
- 2.0.0
- 2.1.0
- jruby-19mode
- jruby-20mode
before_install: gem install bundler
bundler_args: --without guard
before_script:
- sudo add-apt-repository ppa:chris-lea/redis-server -y
- sudo apt-get update -q
- sudo apt-get install redis-server
- sudo ... | language: ruby
rvm:
- 1.9.3-p551
- 2.0.0
- 2.1.0
- jruby-19mode
- jruby-20mode
before_install: gem install bundler
bundler_args: --without guard --retry 3 --jobs 3
before_script:
- sudo add-apt-repository ppa:chris-lea/redis-server -y
- sudo apt-get update -q
- sudo apt-get install redis-server
- sudo start redis-se... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3-p551
- 2.0.0
- 2.1.0
- jruby-19mode
- jruby-20mode
before_install: gem install bundler
bundler_args: --without guard
before_script:
- sudo add-apt-repository ppa:chris-lea/redis-server -y
- sudo apt-get update -q
- sudo apt-get install redis-server
- sudo ... | 44ccab3ab20bbabd89574232afca99bdf16d6369 | .travis.yml | .travis.yml | YAML |
<|file_sep|>db/migrate/20131210181901_migrate_word_counts.rb.diff
original:
updated:
disable_ddl_transaction!
<|file_sep|>original/db/migrate/20131210181901_migrate_word_counts.rb
class MigrateWordCounts < ActiveRecord::Migration
def up
disable_ddl_transaction
post_ids = execute("SELECT id FROM posts ... | class MigrateWordCounts < ActiveRecord::Migration
disable_ddl_transaction!
def up
post_ids = execute("SELECT id FROM posts WHERE word_count IS NULL LIMIT 500").map {|r| r['id'].to_i }
while post_ids.length > 0
3.times do
begin
execute "UPDATE posts SET word_count = COALESCE(array_... | <|file_sep|>db/migrate/20131210181901_migrate_word_counts.rb.diff
original:
updated:
disable_ddl_transaction!
<|file_sep|>original/db/migrate/20131210181901_migrate_word_counts.rb
class MigrateWordCounts < ActiveRecord::Migration
def up
disable_ddl_transaction
post_ids = execute("SELECT id FROM posts ... | 92956d6779eabce29e725e456ec412399954dea6 | db/migrate/20131210181901_migrate_word_counts.rb | db/migrate/20131210181901_migrate_word_counts.rb | Ruby |
<|file_sep|>original/service/requirements.txt
--index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/leap/leap_pycommon.git@master#egg=leap.com... | --index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/leap/leap_pycommon.git@master#egg=leap.common'
-e 'git+https://0xacab.org/pixelated/bitm... | <|file_sep|>original/service/requirements.txt
--index-url https://pypi.python.org/simple/
-e 'git+https://github.com/pixelated/python-gnupg.git@key_extension_and_sign#egg=gnupg'
pyasn1==0.1.9
requests==2.11.1
srp==1.0.6
whoosh==2.6.0
Twisted==16.1.1
-e 'git+https://0xacab.org/leap/leap_pycommon.git@master#egg=leap.com... | 13572a3b6ced0df466c08cfe194535071c9fbb2b | service/requirements.txt | service/requirements.txt | Text |
<|file_sep|>Readme.md.diff
original:
updated:
[](https://travis-ci.org/danielfrg/remote-conda)
[](https://ci.appveyor.com/project/danielfrg/r... |
[](https://ci.appveyor.com/project/danielfrg/remote-conda)
# Remote-conda
Install conda packages in remote hosts
## Installation
Look at the [releases page](https://github.com/danielfrg/remote-conda/releas... | <|file_sep|>Readme.md.diff
original:
updated:
[](https://travis-ci.org/danielfrg/remote-conda)
[](https://ci.appveyor.com/project/danielfrg/r... | 3be14cc6f058bff50428e840a77795fe239c2e4e | Readme.md | Readme.md | Markdown |
<|file_sep|>original/tools/po/svn-po-status-report.sh
<|file_sep|>current/tools/po/svn-po-status-report.sh
<|file_sep|>updated/tools/po/svn-po-status-report.sh | #!/bin/sh
# Subversion po file translation status report generator
# This file is based on the GNU gettext msgattrib tool
# for message file filtering
# To make the script work, make sure that:
# 1) the script knows where to find msgattrib
# 2) you have checked out the required revision
# 2) you have run autogen.s... | <|file_sep|>original/tools/po/svn-po-status-report.sh
<|file_sep|>current/tools/po/svn-po-status-report.sh
<|file_sep|>updated/tools/po/svn-po-status-report.sh
#!/bin/sh
# Subversion po file translation status report generator
# This file is based on the GNU gettext msgattrib tool
# for message file filtering
# T... | 8f4df58034586f4ef1171f0361038b5d28c11b6d | tools/po/svn-po-status-report.sh | tools/po/svn-po-status-report.sh | Shell |
<|file_sep|>original/.github/workflows/codeql-analysis.yml
<|file_sep|>current/.github/workflows/codeql-analysis.yml
<|file_sep|>updated/.github/workflows/codeql-analysis.yml | name: "CodeQL Analysis"
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
schedule:
- cron: '28 17 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps: | <|file_sep|>original/.github/workflows/codeql-analysis.yml
<|file_sep|>current/.github/workflows/codeql-analysis.yml
<|file_sep|>updated/.github/workflows/codeql-analysis.yml
name: "CodeQL Analysis"
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
schedule:
- cron: '28 17 * *... | 824baa947b7c6ef024a071b51a98a2889d41e1c8 | .github/workflows/codeql-analysis.yml | .github/workflows/codeql-analysis.yml | YAML |
<|file_sep|>tasks/scripts.js.diff
original:
gulp.task('scripts', ['clean-js', 'lint'], function() {
var scripts = paths.vendor_scripts.concat(paths.scripts);
updated:
gulp.task('scripts', ['clean-js'], function() {
var prod = [paths.scripts];
prod.push('!' + paths.scripts + '*debug*');
<|file_sep|>tasks/scripts.j... | 'use strict';
var gulp = require('gulp');
var paths = require('./_paths');
var concat = require('gulp-concat');
gulp.task('scripts', ['clean-js'], function() {
var prod = [paths.scripts];
prod.push('!' + paths.scripts + '*debug*');
gulp.src(prod)
.pipe(concat('cla.js'))
.pipe(gulp.dest(paths.dest + 'ja... | <|file_sep|>tasks/scripts.js.diff
original:
gulp.task('scripts', ['clean-js', 'lint'], function() {
var scripts = paths.vendor_scripts.concat(paths.scripts);
updated:
gulp.task('scripts', ['clean-js'], function() {
var prod = [paths.scripts];
prod.push('!' + paths.scripts + '*debug*');
<|file_sep|>tasks/scripts.j... | 1264e8cea2ee7a0289344b516f064ac0f5329fdb | tasks/scripts.js | tasks/scripts.js | JavaScript |
<|file_sep|>views/layout/main.blade.php.diff
original:
$asset->style('foundation', 'bundles/orchestra/vendor/foundation/stylesheets/foundation.min.css');
$asset->script('foundation', 'bundles/orchestra/vendor/foundation/javascripts/foundation.min.js'); ?>
updated:
$asset->style('foundation', 'bundles/orchestra/vendo... |
$asset->style('foundation', 'bundles/orchestra/vendor/foundation/css/foundation.min.css');
$asset->script('foundation', 'bundles/orchestra/vendor/foundation/js/foundation.min.js'); ?>
{{ $asset->styles() }}
{{ $asset->scripts() }}
</head>
<body>
<div class="row">
<div class="twelve columns">
<h2>{{ memoriz... | <|file_sep|>views/layout/main.blade.php.diff
original:
$asset->style('foundation', 'bundles/orchestra/vendor/foundation/stylesheets/foundation.min.css');
$asset->script('foundation', 'bundles/orchestra/vendor/foundation/javascripts/foundation.min.js'); ?>
updated:
$asset->style('foundation', 'bundles/orchestra/vendo... | 529d397b1de83099c653732c83ba12f30e1cfaab | views/layout/main.blade.php | views/layout/main.blade.php | PHP |
<|file_sep|>original/core/migrations/0005_merge_20191122_0450.py
<|file_sep|>current/core/migrations/0005_merge_20191122_0450.py
<|file_sep|>updated/core/migrations/0005_merge_20191122_0450.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-11-22 04:50
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0004_auto_20190715_0912'),
('core', '0004_auto_20190222_1451'),
]
operatio... | <|file_sep|>original/core/migrations/0005_merge_20191122_0450.py
<|file_sep|>current/core/migrations/0005_merge_20191122_0450.py
<|file_sep|>updated/core/migrations/0005_merge_20191122_0450.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-11-22 04:50
from __future__ import unicode_literals
from djang... | 161973b337c9574d95b1b4c71c802f6d9a2d6d62 | core/migrations/0005_merge_20191122_0450.py | core/migrations/0005_merge_20191122_0450.py | Python |
<|file_sep|>original/app/controllers/requests_controller.rb
end
def create
redirect_to new_request and return unless logged_in?
@request = Request.new(request_attributes)
@request.requester = current_user
if @request.save
redirect_to request(@request)
else
flash.new[:alert] = @reque... | @request = Request.new(request_attributes)
@request.requester = current_user
if @request.save
redirect_to request(@request)
else
flash.new[:alert] = @request.errors.full_messages.join(", ")
render 'new'
end
end
def show
@request = Request.find_by(params[:id])
end
def ... | <|file_sep|>original/app/controllers/requests_controller.rb
end
def create
redirect_to new_request and return unless logged_in?
@request = Request.new(request_attributes)
@request.requester = current_user
if @request.save
redirect_to request(@request)
else
flash.new[:alert] = @reque... | 41bac4df0b68a3749ee61fc227c90ae5009ef90e | app/controllers/requests_controller.rb | app/controllers/requests_controller.rb | Ruby |
<|file_sep|>original/js/NewsControl.js
window.console = {
log: function() {},
error: function(exception) { alert(exception); }
};
}
// Handle unsuccessful requests
$(document).ajaxError(function (e, r, ajaxOptions, thrownError) {... | window.console = {
log: function() {},
error: function(exception) { alert(exception); }
};
}
// Handle unsuccessful requests
$(document).ajaxError(function (e, r, ajaxOptions, thrownError) {
switch (r.status) {
... | <|file_sep|>original/js/NewsControl.js
window.console = {
log: function() {},
error: function(exception) { alert(exception); }
};
}
// Handle unsuccessful requests
$(document).ajaxError(function (e, r, ajaxOptions, thrownError) {... | 2e400afb0b30d61b4f2fdec566d0f555ac44100c | js/NewsControl.js | js/NewsControl.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
- "pypy"
# command to install dependencies
install:
- "pip install -r requirements.... | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
- "pypy"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# maintainers to fix their pypy-dev package.
- "pypy"
# command to install dependencies
install:
- "pip install -r requirements.... | 9b3a4bc34470fc6a1c639dc3d7765546a8dee35f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/org.tvbrowser.tvbrowser.txt
Auto Name:TV-Browser
Summary:Browse electronic program guides
Description:
Browse EPGs (electronic program guides) for more than 1000 TV stations (mostly
German/European) and more than 100 radio channels.
.
Repo Type:git
Repo:https://github.com/ds10git/tvbrowse... | Auto Name:TV-Browser
Summary:Browse electronic program guides
Description:
Browse EPGs (electronic program guides) for more than 1000 TV stations (mostly
German/European) and more than 100 radio channels.
.
Repo Type:git
Repo:https://github.com/ds10git/tvbrowserandroid
Build:0.5.8.11,346
disable=https://github.co... | <|file_sep|>original/metadata/org.tvbrowser.tvbrowser.txt
Auto Name:TV-Browser
Summary:Browse electronic program guides
Description:
Browse EPGs (electronic program guides) for more than 1000 TV stations (mostly
German/European) and more than 100 radio channels.
.
Repo Type:git
Repo:https://github.com/ds10git/tvbrowse... | 22acad22360e35f915e6965d8b0159df135ad548 | metadata/org.tvbrowser.tvbrowser.txt | metadata/org.tvbrowser.tvbrowser.txt | Text |
<|file_sep|>original/package.json
"rewriting",
"transformation",
"syntax",
"codegen",
"rewriting",
"refactoring",
"transpiler",
"desugaring",
"ES6"
],
"version": "0.8.17",
"homepage": "http://github.com/facebook/regenerator",
"repository": {
"type": "git",
"url": "git... | "rewriting",
"transformation",
"syntax",
"codegen",
"rewriting",
"refactoring",
"transpiler",
"desugaring",
"ES6"
],
"version": "0.8.18",
"homepage": "http://github.com/facebook/regenerator",
"repository": {
"type": "git",
"url": "git://github.com/facebook/regenerator... | <|file_sep|>original/package.json
"rewriting",
"transformation",
"syntax",
"codegen",
"rewriting",
"refactoring",
"transpiler",
"desugaring",
"ES6"
],
"version": "0.8.17",
"homepage": "http://github.com/facebook/regenerator",
"repository": {
"type": "git",
"url": "git... | b0874e1318780f15c07040fb7e19ad26de4628cc | package.json | package.json | JSON |
<|file_sep|>original/.pre-commit-config.yaml
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: '^(tests/.*\.exp|tests/c... | # SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/esp32s2/esp-... | <|file_sep|>original/.pre-commit-config.yaml
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: '^(tests/.*\.exp|tests/c... | 88ce6911b7e75dfb783b8d1acf5d6f478e7ca59b | .pre-commit-config.yaml | .pre-commit-config.yaml | YAML |
<|file_sep|>packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts.diff
original:
import { registerMigration } from './migrationUtils';
updated:
import { fillDefaultValues, registerMigration } from './migrationUtils';
<|file_sep|>original/packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts
im... | import { fillDefaultValues, registerMigration } from './migrationUtils';
import { Votes } from '../../lib/collections/votes';
import { Posts } from '../../lib/collections/posts';
import { Comments } from '../../lib/collections/comments';
registerMigration({
name: "afVoteMigration",
dateWritten: "2020-09-19",
ide... | <|file_sep|>packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts.diff
original:
import { registerMigration } from './migrationUtils';
updated:
import { fillDefaultValues, registerMigration } from './migrationUtils';
<|file_sep|>original/packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts
im... | 0fb3786c132dffed970fa087f2958eca127caf84 | packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts | packages/lesswrong/server/migrations/2020-09-19-afVoteMigration.ts | TypeScript |
<|file_sep|>original/packages/oc-generic-template-compiler/package.json
"oc",
"opencomponents"
],
"author": {
"name": "Nick Balestra",
"email": "nick@balestra.ch"
},
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"index.js",
"lib"
],
"dependencies": {
"async": "^2... | "oc",
"opencomponents"
],
"author": {
"name": "Nick Balestra",
"email": "nick@balestra.ch"
},
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"index.js",
"lib"
],
"dependencies": {
"async": "^2.4.1",
"fs-extra": "4.0.3",
"lodash": "^4.17.4",
"oc-get-uni... | <|file_sep|>original/packages/oc-generic-template-compiler/package.json
"oc",
"opencomponents"
],
"author": {
"name": "Nick Balestra",
"email": "nick@balestra.ch"
},
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"index.js",
"lib"
],
"dependencies": {
"async": "^2... | 77ce395e61bc265772cdd7f7ab3ed9dab3767315 | packages/oc-generic-template-compiler/package.json | packages/oc-generic-template-compiler/package.json | JSON |
<|file_sep|>original/project.clj
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;;... | ;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;; "AS IS" BASIS, WITHOUT WARRANTIE... | <|file_sep|>original/project.clj
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; See the NOTICE file distributed with this work for additional information
;; regarding copyright ownership. Unless required by applicable law or agreed
;; to in writing, software distributed under the License is distributed on an
;;... | 68f52cb79a7b3aae0e568a23466560f1208a6c2e | project.clj | project.clj | Clojure |
<|file_sep|>original/README.md
## Equip Twig
[](https://packagist.org/packages/asmaster/equip-twig)
The Twig integration for the [Equip](http://equip.github.io/).
<|file_sep|>current/README.md
## Equip Twig
[](https://packagist.org/packages/asmaster/equip-twig)
[](https://travis-ci.org/AlexMasterov/equip-twig)
The Twig integration for the [Equip](http://eq... | <|file_sep|>original/README.md
## Equip Twig
[](https://packagist.org/packages/asmaster/equip-twig)
The Twig integration for the [Equip](http://equip.github.io/).
<|file_sep|>current/README.md
## Equip Twig
[![Latest Stable Versio... | 409de894d707454bc4888061283bb8e7fba89733 | README.md | README.md | Markdown |
<|file_sep|>futures-io/Cargo.toml.diff
original:
std = ["futures-core-preview/std"]
updated:
<|file_sep|>futures-io/Cargo.toml.diff
original:
updated:
std = []
<|file_sep|>original/futures-io/Cargo.toml
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/... | version = "0.3.0-alpha.16"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang-nursery/futures-rs"
homepage = "https://rust-lang-nursery.github.io/futures-rs"
documentation = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.16/fut... | <|file_sep|>futures-io/Cargo.toml.diff
original:
std = ["futures-core-preview/std"]
updated:
<|file_sep|>futures-io/Cargo.toml.diff
original:
updated:
std = []
<|file_sep|>original/futures-io/Cargo.toml
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/... | ab630bde90bbf6d19197f23e2a5efb7efb3025aa | futures-io/Cargo.toml | futures-io/Cargo.toml | TOML |
<|file_sep|>original/History.md
0.0.1 / 2012-09-25
==================
* initial just-about-working version
0.0.2 / 2012-10-01
==================
* refactoring of initial version
* replaced Datepicker#click with Datepicker#trigger
* improved mouse handler
<|file_sep|>current/History.md
0.0.1 / 2012-09-25
=... |
0.0.1 / 2012-09-25
==================
* initial just-about-working version
0.0.2 / 2012-10-01
==================
* refactoring of initial version
* replaced Datepicker#click with Datepicker#trigger
* improved mouse handler
* added close button | <|file_sep|>original/History.md
0.0.1 / 2012-09-25
==================
* initial just-about-working version
0.0.2 / 2012-10-01
==================
* refactoring of initial version
* replaced Datepicker#click with Datepicker#trigger
* improved mouse handler
<|file_sep|>current/History.md
0.0.1 / 2012-09-25
=... | f10d016569b33cb5e8769753a767ea13c558e2dd | History.md | History.md | Markdown |
<|file_sep|>original/package.json
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.6.1",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3... | "publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.6.2",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3.0.0",
"istanbul": "^0.4.2",
... | <|file_sep|>original/package.json
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"files": [
"lib"
],
"optionalDependencies": {
"canvas": "1.6.5"
},
"devDependencies": {
"assetgraph": "4.6.1",
"coveralls": "^3.0.0",
"eslint": "4.19.1",
"eslint-config-onelint": "3... | bf66997877bcb7e04acedec531475951ceca1303 | package.json | package.json | JSON |
<|file_sep|>original/KeenClientTD.podspec
Pod::Spec.new do |spec|
spec.name = 'KeenClientTD'
spec.version = '3.2.28'
spec.license = { :type => 'MIT' }
spec.platforms = { :ios => "", :tvos => "" }
spec.homepage = 'https://github.com/treasure-data/KeenClient-iOS'
spec.authors = {... | Pod::Spec.new do |spec|
spec.name = 'KeenClientTD'
spec.version = '3.2.28'
spec.license = { :type => 'MIT' }
spec.platforms = { :ios => "5.0", :tvos => "5.0" }
spec.homepage = 'https://github.com/treasure-data/KeenClient-iOS'
spec.authors = { 'Mitsunori Komatsu' => 'mitsu@treas... | <|file_sep|>original/KeenClientTD.podspec
Pod::Spec.new do |spec|
spec.name = 'KeenClientTD'
spec.version = '3.2.28'
spec.license = { :type => 'MIT' }
spec.platforms = { :ios => "", :tvos => "" }
spec.homepage = 'https://github.com/treasure-data/KeenClient-iOS'
spec.authors = {... | 9f4c34733c831d109b72642c9e1ae5d3ff7e7fac | KeenClientTD.podspec | KeenClientTD.podspec | Ruby |
<|file_sep|>src/assets/styles/fragments.scss.diff
original:
updated:
@import 'colors';
@import 'transitions';
<|file_sep|>original/src/assets/styles/fragments.scss
fragments {
display: block;
margin-top: -2rem;
padding-top: 2rem;
.fragment-plot {
background: yellow;
}
}
<|file_sep|>current/src/assets/s... | @import 'colors';
@import 'transitions';
fragments {
display: block;
margin-top: -2rem;
padding-top: 2rem;
} | <|file_sep|>src/assets/styles/fragments.scss.diff
original:
updated:
@import 'colors';
@import 'transitions';
<|file_sep|>original/src/assets/styles/fragments.scss
fragments {
display: block;
margin-top: -2rem;
padding-top: 2rem;
.fragment-plot {
background: yellow;
}
}
<|file_sep|>current/src/assets/s... | 5536b6bd7fb55331525a968dc3896fa617155de2 | src/assets/styles/fragments.scss | src/assets/styles/fragments.scss | SCSS |
<|file_sep|>webpack.build.config.js.diff
original:
updated:
const path = require("path");
<|file_sep|>original/webpack.build.config.js
const commonConfig = require("./webpack.common.config");
const nodeExternals = require("webpack-node-externals");
const merge = (...objs) => require("deepmerge").all(objs, {arrayMerge:... | const path = require("path");
const commonConfig = require("./webpack.common.config");
const nodeExternals = require("webpack-node-externals");
const merge = (...objs) => require("deepmerge").all(objs, {arrayMerge: (arr1, arr2) => arr1.concat(arr2) });
const combinedConfig = merge({}, commonConfig, {
output: {
path... | <|file_sep|>webpack.build.config.js.diff
original:
updated:
const path = require("path");
<|file_sep|>original/webpack.build.config.js
const commonConfig = require("./webpack.common.config");
const nodeExternals = require("webpack-node-externals");
const merge = (...objs) => require("deepmerge").all(objs, {arrayMerge:... | 93b2510b8f6125eeaf9dbb5aa6e10cc5696c228c | webpack.build.config.js | webpack.build.config.js | JavaScript |
<|file_sep|>original/package/package.js
function configure (api) {
api.versionsFrom('1.0.4.1');
api.use([
'blaze',
'reactive-dict',
'tracker',
'check',
'underscore',
'templating'
], 'client');
api.use('xamfoo:reactive-obj', 'client', {weak: true});
api.addFiles([
'lib/blazer.js',
... | function configure (api) {
api.versionsFrom('1.0.4.1');
api.use([
'blaze',
'reactive-dict',
'tracker',
'check',
'underscore',
'templating'
], 'client');
api.use('xamfoo:reactive-obj@0.4.0', 'client', {weak: true});
api.addFiles([
'lib/blazer.js',
'lib/component.js',
'lib/c... | <|file_sep|>original/package/package.js
function configure (api) {
api.versionsFrom('1.0.4.1');
api.use([
'blaze',
'reactive-dict',
'tracker',
'check',
'underscore',
'templating'
], 'client');
api.use('xamfoo:reactive-obj', 'client', {weak: true});
api.addFiles([
'lib/blazer.js',
... | 3682646423458fd40292f1128b16b209074a5bcd | package/package.js | package/package.js | JavaScript |
<|file_sep|>original/src/sprites/object/Tree/interact.js
import config from '../../../config';
import { tryChance } from '../../../utils';
import Log from '../Log';
import PineCone from '../PineCone';
const seedDropChance = config.test ? 50 : 25;
export default function interact(character) {
if (character.inventor... | import config from '../../../config';
import { tryChance } from '../../../utils';
import Log from '../Log';
import PineCone from '../PineCone';
const seedDropChance = config.test ? 75 : 50;
export default function interact(character) {
if (character.inventory.selected !== 'wood-axe') return;
new Log({
game:... | <|file_sep|>original/src/sprites/object/Tree/interact.js
import config from '../../../config';
import { tryChance } from '../../../utils';
import Log from '../Log';
import PineCone from '../PineCone';
const seedDropChance = config.test ? 50 : 25;
export default function interact(character) {
if (character.inventor... | 53bbaf98c6fbaa2433690c0d1fd349a9fd6b4987 | src/sprites/object/Tree/interact.js | src/sprites/object/Tree/interact.js | JavaScript |
<|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
updated:
zookeeper_pp = <<-EOS
class { 'zookeeper':
client_ip => $::ipaddress_lo
}
EOS
<|file_sep|>original/spec/spec_helper_acceptance.rb
module_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
module_name = module_root.split(File::SEPAR... |
# Readable test descriptions
c.formatter = :documentation
# Configure all nodes in nodeset
c.before :suite do
# Install modules
puppet_module_install(:source => module_root, :module_name => module_name)
hosts.each do |host|
on host, puppet('module', 'install', 'puppetlabs/stdlib'), { :accept... | <|file_sep|>spec/spec_helper_acceptance.rb.diff
original:
updated:
zookeeper_pp = <<-EOS
class { 'zookeeper':
client_ip => $::ipaddress_lo
}
EOS
<|file_sep|>original/spec/spec_helper_acceptance.rb
module_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
module_name = module_root.split(File::SEPAR... | 606b93b91f37b034358ee4713d93fb562dfaf836 | spec/spec_helper_acceptance.rb | spec/spec_helper_acceptance.rb | Ruby |
<|file_sep|>src/boot.asm.diff
original:
.set ALIGN, 1<<0 # align modules on page boundaries
.set MEMINFO, 1<<1 # provide memory map
updated:
.set ALIGN, 1 << 0 # align modules on page boundaries
.set MEMINFO, 1 << 1 # provide memory map
<|file_sep|>src... |
stack_bottom:
.skip 16384
stack_top:
.section .text
.extern entry
.extern load_gdt
.global _start
.type _start, @function
_start:
movl $stack_top,%esp
#call load_gdt
call entry
cli
halt:
hlt
jmp halt
.size _start, . - _start | <|file_sep|>src/boot.asm.diff
original:
.set ALIGN, 1<<0 # align modules on page boundaries
.set MEMINFO, 1<<1 # provide memory map
updated:
.set ALIGN, 1 << 0 # align modules on page boundaries
.set MEMINFO, 1 << 1 # provide memory map
<|file_sep|>src... | 1e8ed6381b3841935694d170fa442c91672d2160 | src/boot.asm | src/boot.asm | Assembly |
<|file_sep|>original/Package.swift
<|file_sep|>current/Package.swift
<|file_sep|>updated/Package.swift | // swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Haneke",
// platforms: [.iOS("8.0"), tvOS("9.1")],
products: [
.library(name: "Haneke", targets: ["Haneke"])
],
targets: [
.target(
name: "Haneke",
path: "Haneke"
)
... | <|file_sep|>original/Package.swift
<|file_sep|>current/Package.swift
<|file_sep|>updated/Package.swift
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Haneke",
// platforms: [.iOS("8.0"), tvOS("9.1")],
products: [
.library(name: "Haneke", targets: ["Haneke"])
... | 19f2a6c59b605da8bac6c47ccfde86a8407b9d35 | Package.swift | Package.swift | Swift |
<|file_sep|>original/requirements.txt
pyyaml==5.1
dateutils==0.6.6
ecdsa==0.13
requests==2.21.0
websocket-client==0.55.0
pylibscrypt==1.8.0
pycryptodome==3.7.3
appdirs==1.4.3
<|file_sep|>current/requirements.txt
pyyaml==5.1
dateutils==0.6.6
ecdsa==0.13
requests==2.21.0
websocket-client==0.55.0
pylibscrypt==1.8.0
pycryp... | pyyaml==5.1
dateutils==0.6.6
ecdsa==0.13
requests==2.21.0
websocket-client==0.55.0
pylibscrypt==1.8.0
pycryptodome==3.7.3
appdirs==1.4.3
scrypt==0.8.13 | <|file_sep|>original/requirements.txt
pyyaml==5.1
dateutils==0.6.6
ecdsa==0.13
requests==2.21.0
websocket-client==0.55.0
pylibscrypt==1.8.0
pycryptodome==3.7.3
appdirs==1.4.3
<|file_sep|>current/requirements.txt
pyyaml==5.1
dateutils==0.6.6
ecdsa==0.13
requests==2.21.0
websocket-client==0.55.0
pylibscrypt==1.8.0
pycryp... | 1acbb61609cf78fa4df0f9eebf162014ef67ef30 | requirements.txt | requirements.txt | Text |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.