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|>.travis.yml.diff
original:
- 1.8.7
updated:
<|file_sep|>original/.travis.yml
env:
- DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.8.7
<|file_sep|>current/.travis.yml
env:
- DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.9.3
<|file_sep|>updated/.travis.yml | - DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.9.3
- 2.0.0 | <|file_sep|>.travis.yml.diff
original:
- 1.8.7
updated:
<|file_sep|>original/.travis.yml
env:
- DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.8.7
<|file_sep|>current/.travis.yml
env:
- DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.9.3
<|file_sep|>updated/.travis.yml
- DB=sqlite
script:
- "bundle exec rspec spec"
notifications:
email:
- ryan@spreecommerce.com
irc:
use_notice: true
skip_join: true
channels:
- "irc.freenode.org#spree"
branches:
only:
- 1-0-stable
- 1-1-stable
- 1-2-stable
- master
rvm:
- 1.9.3
- 2.0.0 | 0f529706fd3d5a4d56023ea0a4dfbd9005a60005 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/services/authenticator.rb
@developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!(
email: auth.info.email,
<|file_sep|>current/app/services/authenticator.rb
@developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!(
email: auth.info.email,
<|file_sep|>updated/app/services/authenticator.rb | @developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer.update!(access_token: auth.credentials.token)
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!( | <|file_sep|>original/app/services/authenticator.rb
@developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!(
email: auth.info.email,
<|file_sep|>current/app/services/authenticator.rb
@developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!(
email: auth.info.email,
<|file_sep|>updated/app/services/authenticator.rb
@developer = Developer.where(
uid: auth.uid,
provider: auth.provider
).first
end
def find_or_create_from_omniauth
if developer.nil?
create_from_omniauth
else
developer.update!(access_token: auth.credentials.token)
developer
end
end
private
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/AbcSize
def create_from_omniauth
Developer.create!( | 5aa3d9461ff0f513a18492d4208dd8f2025f3fe8 | app/services/authenticator.rb | app/services/authenticator.rb | Ruby |
<|file_sep|>original/.github/workflows/pythonapp.yml
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests
<|file_sep|>current/.github/workflows/pythonapp.yml
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests
<|file_sep|>updated/.github/workflows/pythonapp.yml | - name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests | <|file_sep|>original/.github/workflows/pythonapp.yml
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests
<|file_sep|>current/.github/workflows/pythonapp.yml
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests
<|file_sep|>updated/.github/workflows/pythonapp.yml
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install libs
run: pip install -r requirements-dev.txt
- name: Lint files
run: make lint
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Run python tests
run: make tests | 3eda6d3334067b9a01abadedf5cbdbd0ae8f5a15 | .github/workflows/pythonapp.yml | .github/workflows/pythonapp.yml | YAML |
<|file_sep|>original/scripts/feature_selection.py
<|file_sep|>current/scripts/feature_selection.py
<|file_sep|>updated/scripts/feature_selection.py | import pandas as pd
import numpy as np
from xgboost.sklearn import XGBClassifier
from sklearn.preprocessing import LabelEncoder
from sklearn.cross_validation import cross_val_score
from sklearn.cross_validation import KFold
from sklearn.feature_selection import SelectFromModel
from utils.metrics import ndcg_scorer
path = '../data/processed/'
train_users = pd.read_csv(path + 'ohe_count_processed_train_users.csv')
y_train = train_users['country_destination']
train_users.drop('country_destination', axis=1, inplace=True)
train_users.drop('id', axis=1, inplace=True)
train_users = train_users.fillna(-1)
x_train = train_users.values
label_encoder = LabelEncoder()
encoded_y_train = label_encoder.fit_transform(y_train)
clf = XGBClassifier(n_estimators=1, nthread=-1, seed=42) | <|file_sep|>original/scripts/feature_selection.py
<|file_sep|>current/scripts/feature_selection.py
<|file_sep|>updated/scripts/feature_selection.py
import pandas as pd
import numpy as np
from xgboost.sklearn import XGBClassifier
from sklearn.preprocessing import LabelEncoder
from sklearn.cross_validation import cross_val_score
from sklearn.cross_validation import KFold
from sklearn.feature_selection import SelectFromModel
from utils.metrics import ndcg_scorer
path = '../data/processed/'
train_users = pd.read_csv(path + 'ohe_count_processed_train_users.csv')
y_train = train_users['country_destination']
train_users.drop('country_destination', axis=1, inplace=True)
train_users.drop('id', axis=1, inplace=True)
train_users = train_users.fillna(-1)
x_train = train_users.values
label_encoder = LabelEncoder()
encoded_y_train = label_encoder.fit_transform(y_train)
clf = XGBClassifier(n_estimators=1, nthread=-1, seed=42) | a406e198127d22944340a0c364112684556177f2 | scripts/feature_selection.py | scripts/feature_selection.py | Python |
<|file_sep|>original/Jobs/BuildTranslationsCache.php
<|file_sep|>current/Jobs/BuildTranslationsCache.php
<|file_sep|>updated/Jobs/BuildTranslationsCache.php | <?php namespace Modules\Translation\Jobs;
use App\Jobs\Job;
use Illuminate\Contracts\Bus\SelfHandling;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Cache;
use Modules\Translation\Repositories\DatabaseTranslationRepository;
use Modules\Translation\Repositories\FileTranslationRepository;
use Modules\Translation\ValueObjects\TranslationGroup;
class BuildTranslationsCache extends Job implements SelfHandling, ShouldQueue
{
use InteractsWithQueue, SerializesModels;
/**
* @var FileTranslationRepository
*/
private $fileTranslations;
/** | <|file_sep|>original/Jobs/BuildTranslationsCache.php
<|file_sep|>current/Jobs/BuildTranslationsCache.php
<|file_sep|>updated/Jobs/BuildTranslationsCache.php
<?php namespace Modules\Translation\Jobs;
use App\Jobs\Job;
use Illuminate\Contracts\Bus\SelfHandling;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Cache;
use Modules\Translation\Repositories\DatabaseTranslationRepository;
use Modules\Translation\Repositories\FileTranslationRepository;
use Modules\Translation\ValueObjects\TranslationGroup;
class BuildTranslationsCache extends Job implements SelfHandling, ShouldQueue
{
use InteractsWithQueue, SerializesModels;
/**
* @var FileTranslationRepository
*/
private $fileTranslations;
/** | 7875abb367013f700bad2e0b101da8040d6036b2 | Jobs/BuildTranslationsCache.php | Jobs/BuildTranslationsCache.php | PHP |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|5.5.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
},
<|file_sep|>current/composer.json
"license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|5.5.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
},
<|file_sep|>updated/composer.json | "license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|dev-master"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
}, | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|5.5.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
},
<|file_sep|>current/composer.json
"license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|5.5.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
},
<|file_sep|>updated/composer.json
"license": "MIT",
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"yajra/laravel-datatables-oracle": "7.*|8.*",
"laravelcollective/html": "5.4.*|dev-master"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
},
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
}, | 22b1ebc3ace18412fe1126f07e7cf9b4c138e09e | composer.json | composer.json | JSON |
<|file_sep|>app/templates/styles/boilerplate/_reset.sass.diff
original:
updated:
body
background-color: white
<|file_sep|>original/app/templates/styles/boilerplate/_reset.sass
h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
<|file_sep|>current/app/templates/styles/boilerplate/_reset.sass
h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
<|file_sep|>updated/app/templates/styles/boilerplate/_reset.sass | h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
| <|file_sep|>app/templates/styles/boilerplate/_reset.sass.diff
original:
updated:
body
background-color: white
<|file_sep|>original/app/templates/styles/boilerplate/_reset.sass
h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
<|file_sep|>current/app/templates/styles/boilerplate/_reset.sass
h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
<|file_sep|>updated/app/templates/styles/boilerplate/_reset.sass
h4,
h5,
p,
ul,
dl,
dt,
dd
@extend %no-margin-padding
ul,
ol
list-style: none
img
width: 100%
height: auto
display: block
i
font-style: normal
| fa0bcd39a05757dc7fb0dfc175494d76ede0c0bf | app/templates/styles/boilerplate/_reset.sass | app/templates/styles/boilerplate/_reset.sass | Sass |
<|file_sep|>README.md.diff
original:
Via [Bower](http://bower.io/search/?q=jquery):
updated:
Via [Bower](http://bower.io):
<|file_sep|>README.md.diff
original:
bower install llaumgui/jquery-async-gravatar
updated:
bower install jquery-async-gravatar
<|file_sep|>original/README.md
```
bower install llaumgui/jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
...
"jquery-async-gravatar": "llaumgui/jquery-async-gravatar"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
<|file_sep|>current/README.md
```
bower install jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
...
"jquery-async-gravatar": "llaumgui/jquery-async-gravatar"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
<|file_sep|>updated/README.md |
```
bower install jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
"jquery-async-gravatar": "latest"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
``` | <|file_sep|>README.md.diff
original:
Via [Bower](http://bower.io/search/?q=jquery):
updated:
Via [Bower](http://bower.io):
<|file_sep|>README.md.diff
original:
bower install llaumgui/jquery-async-gravatar
updated:
bower install jquery-async-gravatar
<|file_sep|>original/README.md
```
bower install llaumgui/jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
...
"jquery-async-gravatar": "llaumgui/jquery-async-gravatar"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
<|file_sep|>current/README.md
```
bower install jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
...
"jquery-async-gravatar": "llaumgui/jquery-async-gravatar"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
<|file_sep|>updated/README.md
```
bower install jquery-async-gravatar
```
Or, add `jquery-async-gravatar` to your app's `bower.json`.
```json
...
"dependencies": {
"jquery-async-gravatar": "latest"
},
...
```
### Standalone
Include script *after* the jQuery library (unless you are packaging scripts somehow else):
```html
<script src="/path/to/jquery.async-gravatar.js"></script>
``` | 0964fc73752673572a4ee9c7079cb6ca0c638f1c | README.md | README.md | Markdown |
<|file_sep|>original/meinberlin/assets/scss/components/_commenting.scss
margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
.commenting__title {
margin-top: 0;
<|file_sep|>current/meinberlin/assets/scss/components/_commenting.scss
margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
.commenting__title {
margin-top: 0;
<|file_sep|>updated/meinberlin/assets/scss/components/_commenting.scss | margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
// FIXME: This class should either not add styling or not be combined with .button
// see: https://github.com/liqd/a4-meinberlin/pull/555#discussion_r122957403
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
| <|file_sep|>original/meinberlin/assets/scss/components/_commenting.scss
margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
.commenting__title {
margin-top: 0;
<|file_sep|>current/meinberlin/assets/scss/components/_commenting.scss
margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
.commenting__title {
margin-top: 0;
<|file_sep|>updated/meinberlin/assets/scss/components/_commenting.scss
margin-bottom: $spacer;
}
.commenting__content--border {
padding: $padding;
border: 1px solid $border-color;
border-radius: ($padding / 2);
}
.commenting--toc__button {
// FIXME: This class should either not add styling or not be combined with .button
// see: https://github.com/liqd/a4-meinberlin/pull/555#discussion_r122957403
display: block;
width: 100%;
text-align: left;
}
.commenting__actions {
text-align: right;
}
| 55295c22a70971e31114507614d6b2f234ca701f | meinberlin/assets/scss/components/_commenting.scss | meinberlin/assets/scss/components/_commenting.scss | SCSS |
<|file_sep|>original/circle.yml
machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect build
<|file_sep|>current/circle.yml
machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect build
<|file_sep|>updated/circle.yml | machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect --organisation=giantswarm build
| <|file_sep|>original/circle.yml
machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect build
<|file_sep|>current/circle.yml
machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect build
<|file_sep|>updated/circle.yml
machine:
services:
- docker
dependencies:
override:
- |
if [ -z $RELEASE_TOKEN ]; then
wget -q $(curl -sS https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
else
wget -q $(curl -sS -H "Authorization: token $RELEASE_TOKEN" https://api.github.com/repos/giantswarm/architect/releases/latest | grep browser_download_url | head -n 1 | cut -d '"' -f 4)
fi
- chmod +x ./architect
- ./architect version
test:
override:
- ./architect --organisation=giantswarm build
| adbdc9133b53a203c7b76a6865be06d31415cada | circle.yml | circle.yml | YAML |
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
call-to-action=Me diga mais
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
context=Entenda o contexto
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
preview=Visualização instantânea
preview-desc=No momento em que envia a tradução, ele substitui o texto original na página da web, tornando-o o primeiro testador e revisor.
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
how-title=Como funciona?
how-desc=Pontoon é uma ferramenta muito simples e intuitiva que requer pouca ou nenhuma habilidade técnica para tradutores utilizarem.
hover=Paire
hover-sub=sobre o conteúdo da web
hover-desc=Mova o mouse sobre títulos, links, parágrafos ou outros blocos de texto nesta página. Um retângulo tracejado aparecerá ao redor de cada um destes blocos, marcando as palavras que estão disponíveis para a tradução na própria página.
select=Selecione
select-sub=um bloco de texto
translate=Traduza
translate-sub=o texto selecionado
save=Salve
save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
<|file_sep|>original/static/locales/pt-BR/messages.properties
# Navigation
navigation-what=O quê
navigation-how=Como
navigation-more=Mais
navigation-developers=Desenvolvedores
# Header
headline-1=Localize a web.
# What
what-title=O que é o Pontoon?
space=Veja as limitações espaciais
# How
# More
# Developers
# Footer
<|file_sep|>current/static/locales/pt-BR/messages.properties
translate-sub=o texto selecionado
save=Salve
save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
# More
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
# Developers
developers-title=Envolva-se
developers-desc=É um desenvolvedor interessado no Pontoon? Existem muitas maneiras de sujar as mãos.
implement=Ative-o em seu site
github-desc=É completamente livre e de código aberto
by-mozilla=Por alguém que você confia
by-mozilla-desc=Desenvolvido pela organização sem fins lucrativos por trás do Firefox
# Footer
<|file_sep|>updated/static/locales/pt-BR/messages.properties | save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
# More
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
# Developers
developers-title=Envolva-se
developers-desc=É um desenvolvedor interessado no Pontoon? Existem muitas maneiras de sujar as mãos.
implement=Ative-o em seu site
github-desc=É completamente livre e de código aberto
by-mozilla=Por alguém que você confia
by-mozilla-desc=Desenvolvido pela organização sem fins lucrativos por trás do Firefox
# Footer
author=Feito pela Mozilla
join-us=Junte-se a nós
| <|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
call-to-action=Me diga mais
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
context=Entenda o contexto
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
preview=Visualização instantânea
preview-desc=No momento em que envia a tradução, ele substitui o texto original na página da web, tornando-o o primeiro testador e revisor.
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
how-title=Como funciona?
how-desc=Pontoon é uma ferramenta muito simples e intuitiva que requer pouca ou nenhuma habilidade técnica para tradutores utilizarem.
hover=Paire
hover-sub=sobre o conteúdo da web
hover-desc=Mova o mouse sobre títulos, links, parágrafos ou outros blocos de texto nesta página. Um retângulo tracejado aparecerá ao redor de cada um destes blocos, marcando as palavras que estão disponíveis para a tradução na própria página.
select=Selecione
select-sub=um bloco de texto
translate=Traduza
translate-sub=o texto selecionado
save=Salve
save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
<|file_sep|>static/locales/pt-BR/messages.properties.diff
original:
updated:
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
<|file_sep|>original/static/locales/pt-BR/messages.properties
# Navigation
navigation-what=O quê
navigation-how=Como
navigation-more=Mais
navigation-developers=Desenvolvedores
# Header
headline-1=Localize a web.
# What
what-title=O que é o Pontoon?
space=Veja as limitações espaciais
# How
# More
# Developers
# Footer
<|file_sep|>current/static/locales/pt-BR/messages.properties
translate-sub=o texto selecionado
save=Salve
save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
# More
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
# Developers
developers-title=Envolva-se
developers-desc=É um desenvolvedor interessado no Pontoon? Existem muitas maneiras de sujar as mãos.
implement=Ative-o em seu site
github-desc=É completamente livre e de código aberto
by-mozilla=Por alguém que você confia
by-mozilla-desc=Desenvolvido pela organização sem fins lucrativos por trás do Firefox
# Footer
<|file_sep|>updated/static/locales/pt-BR/messages.properties
save-sub=sua tradução
save-desc=Assim que terminar sua tradução, você pode salvá-la pressionando Enter ou clicando no ícone salvar na barra de ferramentas. Para sair do modo de tradução sem salvar as alterações, pressione a tecla Esc ou clique no ícone cancelar na barra de ferramentas.
profit=Saiba mais
# More
more-title=O que mais ele pode fazer?
plurals=Suporte a plurais
plurals-desc=Strings com plurais podem ser traduzidas para todas as formas plurais disponíveis no seu idioma
# Developers
developers-title=Envolva-se
developers-desc=É um desenvolvedor interessado no Pontoon? Existem muitas maneiras de sujar as mãos.
implement=Ative-o em seu site
github-desc=É completamente livre e de código aberto
by-mozilla=Por alguém que você confia
by-mozilla-desc=Desenvolvido pela organização sem fins lucrativos por trás do Firefox
# Footer
author=Feito pela Mozilla
join-us=Junte-se a nós
| 8d7e74e9ee92359d69da3412f1b6ff431c379100 | static/locales/pt-BR/messages.properties | static/locales/pt-BR/messages.properties | INI |
<|file_sep|>original/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb
<|file_sep|>current/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb
<|file_sep|>updated/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb | class AddDocumentFingerprintToPrintJobs < ActiveRecord::Migration
def up
add_column :print_jobs, :document_fingerprint, :string
PrintJob.find_each do |print_job|
path = print_job.document.path
if path && File.exists?(path)
fingerprint = Digest::MD5.file(path).hexdigest
print_job.update_column(:document_fingerprint, fingerprint)
end
end
end
def down
remove_column :print_jobs, :document_fingerprint
end
end | <|file_sep|>original/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb
<|file_sep|>current/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb
<|file_sep|>updated/db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb
class AddDocumentFingerprintToPrintJobs < ActiveRecord::Migration
def up
add_column :print_jobs, :document_fingerprint, :string
PrintJob.find_each do |print_job|
path = print_job.document.path
if path && File.exists?(path)
fingerprint = Digest::MD5.file(path).hexdigest
print_job.update_column(:document_fingerprint, fingerprint)
end
end
end
def down
remove_column :print_jobs, :document_fingerprint
end
end | 0ce2430add65e772408698f3f738b204796c46ea | db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb | db/migrate/20160310114854_add_document_fingerprint_to_print_jobs.rb | Ruby |
<|file_sep|>spec/rspec/expectations/minitest_integration_spec.rb.diff
original:
it "includes itself in Minitest::Test" do
updated:
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
<|file_sep|>original/spec/rspec/expectations/minitest_integration_spec.rb
[:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
sample_matchers.each do |sample_matcher|
expect(minitest_case).to respond_to(sample_matcher)
end
end
end
end
end
end
<|file_sep|>current/spec/rspec/expectations/minitest_integration_spec.rb
[:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
sample_matchers.each do |sample_matcher|
expect(minitest_case).to respond_to(sample_matcher)
end
end
end
end
end
end
<|file_sep|>updated/spec/rspec/expectations/minitest_integration_spec.rb | [:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
expect(minitest_case).to respond_to(*sample_matchers)
expect(RSpec::Expectations::ExpectationNotMetError).to be ::Minitest::Assertion
end
end
end
end
end | <|file_sep|>spec/rspec/expectations/minitest_integration_spec.rb.diff
original:
it "includes itself in Minitest::Test" do
updated:
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
<|file_sep|>original/spec/rspec/expectations/minitest_integration_spec.rb
[:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
sample_matchers.each do |sample_matcher|
expect(minitest_case).to respond_to(sample_matcher)
end
end
end
end
end
end
<|file_sep|>current/spec/rspec/expectations/minitest_integration_spec.rb
[:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
sample_matchers.each do |sample_matcher|
expect(minitest_case).to respond_to(sample_matcher)
end
end
end
end
end
end
<|file_sep|>updated/spec/rspec/expectations/minitest_integration_spec.rb
[:be,
:be_instance_of,
:be_kind_of]
end
context "once required", :slow do
include MinitestIntegration
it "includes itself in Minitest::Test, and sets up our exceptions to be counted as assertion failures" do
with_minitest_loaded do
minitest_case = MiniTest::Test.allocate
expect(minitest_case).to respond_to(*sample_matchers)
expect(RSpec::Expectations::ExpectationNotMetError).to be ::Minitest::Assertion
end
end
end
end
end | b00d6bc384bf023001fb415c4668526709c7bf06 | spec/rspec/expectations/minitest_integration_spec.rb | spec/rspec/expectations/minitest_integration_spec.rb | Ruby |
<|file_sep|>original/lib/kamerling/server/udp.rb
require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
def self.default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end
# :reek:ManualDispatch
<|file_sep|>current/lib/kamerling/server/udp.rb
require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
def self.default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end
# :reek:ManualDispatch
<|file_sep|>updated/lib/kamerling/server/udp.rb | require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
class << self
def default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end | <|file_sep|>original/lib/kamerling/server/udp.rb
require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
def self.default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end
# :reek:ManualDispatch
<|file_sep|>current/lib/kamerling/server/udp.rb
require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
def self.default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end
# :reek:ManualDispatch
<|file_sep|>updated/lib/kamerling/server/udp.rb
require 'socket'
require_relative '../udp_addr'
require_relative 'sock'
module Kamerling
module Server
class UDP < Sock
class << self
def default_addr
UDPAddr[ENV['HOST'], ENV['UDP']]
end
end
private
# :reek:FeatureEnvy
def handle_connection(socket)
input, conn = socket.recvfrom(2**16)
addr = UDPAddr[conn[3], conn[1]]
handle input, addr: addr
end | 1d4c8100cc88f6f6eee6e143787c40ea25c6e921 | lib/kamerling/server/udp.rb | lib/kamerling/server/udp.rb | Ruby |
<|file_sep|>original/fish/init/ruby.fish
rvm use default > /dev/null
<|file_sep|>current/fish/init/ruby.fish
rvm use default > /dev/null
<|file_sep|>updated/fish/init/ruby.fish |
if not functions --query rvm
curl --create-dirs -o ~/.config/fish/functions/rvm.fish https://raw.github.com/lunks/fish-nuggets/master/functions/rvm.fish
end
rvm use default > /dev/null | <|file_sep|>original/fish/init/ruby.fish
rvm use default > /dev/null
<|file_sep|>current/fish/init/ruby.fish
rvm use default > /dev/null
<|file_sep|>updated/fish/init/ruby.fish
if not functions --query rvm
curl --create-dirs -o ~/.config/fish/functions/rvm.fish https://raw.github.com/lunks/fish-nuggets/master/functions/rvm.fish
end
rvm use default > /dev/null | 49bb5572c70114ebb7b53ce06d50cfeea8e8a934 | fish/init/ruby.fish | fish/init/ruby.fish | fish |
<|file_sep|>original/core/client/components/gh-tab-pane.js
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.@each', function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this);
}.on('didInsertElement'),
<|file_sep|>current/core/client/components/gh-tab-pane.js
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.@each', function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this);
}.on('didInsertElement'),
<|file_sep|>updated/core/client/components/gh-tab-pane.js | //See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.[]', 'tabsManager.tabPanes.[]',
function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this); | <|file_sep|>original/core/client/components/gh-tab-pane.js
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.@each', function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this);
}.on('didInsertElement'),
<|file_sep|>current/core/client/components/gh-tab-pane.js
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.@each', function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this);
}.on('didInsertElement'),
<|file_sep|>updated/core/client/components/gh-tab-pane.js
//See gh-tabs-manager.js for use
var TabPane = Ember.Component.extend({
classNameBindings: ['active'],
tabsManager: Ember.computed(function () {
return this.nearestWithProperty('isTabsManager');
}),
tab: Ember.computed('tabsManager.tabs.[]', 'tabsManager.tabPanes.[]',
function () {
var index = this.get('tabsManager.tabPanes').indexOf(this),
tabs = this.get('tabsManager.tabs');
return tabs && tabs.objectAt(index);
}),
active: Ember.computed.alias('tab.active'),
// Register with the tabs manager
registerWithTabs: function () {
this.get('tabsManager').registerTabPane(this); | 097c78aad19bc68ac756b2a280865a081298e81d | core/client/components/gh-tab-pane.js | core/client/components/gh-tab-pane.js | JavaScript |
<|file_sep|>original/unified/ftplugin/python.vim
set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
<|file_sep|>current/unified/ftplugin/python.vim
set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
<|file_sep|>updated/unified/ftplugin/python.vim | set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
let b:ale_python_pyls_config = {"pyls": {"configurationSources": ["flake8"] } } | <|file_sep|>original/unified/ftplugin/python.vim
set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
<|file_sep|>current/unified/ftplugin/python.vim
set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
<|file_sep|>updated/unified/ftplugin/python.vim
set softtabstop=4
set shiftwidth=4
set textwidth=88 "Per black
set foldmethod=syntax
let b:ale_linters = ["black", "flake8", "isort", "mypy", "pyls"]
let b:ale_fixers = ["black", "isort", "remove_trailing_lines", "trim_whitespace"]
let b:ale_python_pyls_config = {"pyls": {"configurationSources": ["flake8"] } } | 3284a584bac16dcdb530c81c6d204aa4e0a2b99f | unified/ftplugin/python.vim | unified/ftplugin/python.vim | VimL |
<|file_sep|>original/.github/workflows/unity-create-activation-file.yml
name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.13f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }}
<|file_sep|>current/.github/workflows/unity-create-activation-file.yml
name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.13f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }}
<|file_sep|>updated/.github/workflows/unity-create-activation-file.yml | name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.12f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }} | <|file_sep|>original/.github/workflows/unity-create-activation-file.yml
name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.13f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }}
<|file_sep|>current/.github/workflows/unity-create-activation-file.yml
name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.13f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }}
<|file_sep|>updated/.github/workflows/unity-create-activation-file.yml
name: Create Unity Activation File
on:
workflow_dispatch:
jobs:
activate:
runs-on: ubuntu-latest
steps:
- name: Request manual activation file
id: create-activation-file
uses: webbertakken/unity-request-manual-activation-file@v1.1
with:
unityVersion: 2019.4.12f1
- name: Upload activation file
uses: actions/upload-artifact@v2
with:
name: ${{ steps.create-activation-file.outputs.filePath }}
path: ${{ steps.create-activation-file.outputs.filePath }} | 09c942fa9d2883367789affa9e212787394321ea | .github/workflows/unity-create-activation-file.yml | .github/workflows/unity-create-activation-file.yml | YAML |
<|file_sep|>original/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java
<|file_sep|>current/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java
<|file_sep|>updated/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java |
/*
* Copyright (C) 2011 Archie L. Cobbs. All rights reserved.
*
* $Id$
*/
package org.dellroad.stuff.spring;
import org.springframework.context.support.ApplicationObjectSupport;
/**
* Bean that exposes the containing application context via the {@link #getApplicationContext} property.
*/
public class ApplicationContextBean extends ApplicationObjectSupport {
}
| <|file_sep|>original/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java
<|file_sep|>current/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java
<|file_sep|>updated/src/java/org/dellroad/stuff/spring/ApplicationContextBean.java
/*
* Copyright (C) 2011 Archie L. Cobbs. All rights reserved.
*
* $Id$
*/
package org.dellroad.stuff.spring;
import org.springframework.context.support.ApplicationObjectSupport;
/**
* Bean that exposes the containing application context via the {@link #getApplicationContext} property.
*/
public class ApplicationContextBean extends ApplicationObjectSupport {
}
| f0ef9fa2a71f4e593f48a0bb5d291fdb4eaf0d66 | src/java/org/dellroad/stuff/spring/ApplicationContextBean.java | src/java/org/dellroad/stuff/spring/ApplicationContextBean.java | Java |
<|file_sep|>original/README.md
### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstategit
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
<|file_sep|>current/README.md
### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstategit
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
<|file_sep|>updated/README.md | ### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstate.git
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
| <|file_sep|>original/README.md
### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstategit
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
<|file_sep|>current/README.md
### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstategit
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
<|file_sep|>updated/README.md
### Building from Scratch
To build from scratch, you will need:
* [Node.JS/NPM](http://nodejs.org/): A desktop JavaScript evaluator
* [Grunt](http://gruntjs.com/): A JavaScript task runner
* [Ruby](http://www.ruby-lang.org/en/downloads/) (for SASS): Check by running `ruby -v` in Terminal
* [SASS](http://sass-lang.com/download.html): Install by running `gem install sass` after Ruby is installed
Then run:
git clone https://github.com/soney/interstate.git
cd interstate
git submodule update --init --recursive
npm install .
cd src/_vendor/cjs/
npm install .
grunt
cd ../../..
grunt
node server
| 8da56360135183df22002f7f2b9da1403fe52f2e | README.md | README.md | Markdown |
<|file_sep|>original/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff
<|file_sep|>current/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff
<|file_sep|>updated/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff | diff -urN libvorbis-1.2.3/configure.ac libvorbis-1.2.3-haiku/configure.ac
--- libvorbis-1.2.3/configure.ac 2009-07-09 10:02:25.000000000 +0000
+++ libvorbis-1.2.3-haiku/configure.ac 2009-09-13 21:56:38.000000000 +0000
@@ -185,6 +185,10 @@
DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
+ *-*-haiku*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+ CFLAGS="-O20 -Wall -D__NO_MATH_INLINES -fsigned-char"
+ PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
*)
DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char" | <|file_sep|>original/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff
<|file_sep|>current/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff
<|file_sep|>updated/media-libs/libvorbis/libvorbis-1.2.3-haiku.diff
diff -urN libvorbis-1.2.3/configure.ac libvorbis-1.2.3-haiku/configure.ac
--- libvorbis-1.2.3/configure.ac 2009-07-09 10:02:25.000000000 +0000
+++ libvorbis-1.2.3-haiku/configure.ac 2009-09-13 21:56:38.000000000 +0000
@@ -185,6 +185,10 @@
DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
+ *-*-haiku*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+ CFLAGS="-O20 -Wall -D__NO_MATH_INLINES -fsigned-char"
+ PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
*)
DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char" | 3f96d3c9d1bf2d4c9db7049829e0dc91ca4d57e2 | media-libs/libvorbis/libvorbis-1.2.3-haiku.diff | media-libs/libvorbis/libvorbis-1.2.3-haiku.diff | Diff |
<|file_sep|>original/pronto-tslint_npm.gemspec
s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.9.1')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end
<|file_sep|>current/pronto-tslint_npm.gemspec
s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.9.1')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end
<|file_sep|>updated/pronto-tslint_npm.gemspec | s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.10.0')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end | <|file_sep|>original/pronto-tslint_npm.gemspec
s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.9.1')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end
<|file_sep|>current/pronto-tslint_npm.gemspec
s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.9.1')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end
<|file_sep|>updated/pronto-tslint_npm.gemspec
s.platform = Gem::Platform::RUBY
s.authors = ['Eddie Prislac', 'Mindaugas Mozūras']
s.email = 'edward.prislac@gmail.com'
s.homepage = 'https://github.com/eprislac/pronto-tslint_npm'
s.summary = <<-EOF
Pronto runner for TSLint, pluggable linting utility for TypeScript
EOF
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.0.0'
s.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(lib/|(LICENSE|README.md)$)}) }
s.extra_rdoc_files = ['LICENSE', 'README.md']
s.require_paths = ['lib']
s.requirements << 'tslint (in PATH)'
s.add_dependency('pronto', '~> 0.10.0')
s.add_development_dependency('rake', '>= 11.0', '< 13')
s.add_development_dependency('rspec', '~> 3.4')
s.add_development_dependency('byebug', '>= 9')
end | b082dffdb8418f29b7bd3a8f7b97fed1157ea6bb | pronto-tslint_npm.gemspec | pronto-tslint_npm.gemspec | Ruby |
<|file_sep|>original/app/views/shared/_navbar.html.erb
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', page_path('home') %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div>
<|file_sep|>current/app/views/shared/_navbar.html.erb
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', page_path('home') %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div>
<|file_sep|>updated/app/views/shared/_navbar.html.erb | <div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', home_path %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div> | <|file_sep|>original/app/views/shared/_navbar.html.erb
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', page_path('home') %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div>
<|file_sep|>current/app/views/shared/_navbar.html.erb
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', page_path('home') %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div>
<|file_sep|>updated/app/views/shared/_navbar.html.erb
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">CLAHub</a>
<ul class="nav">
<%= nav_link_to 'Home', home_path %>
<%= nav_link_to 'Why CLAs?', page_path('why_cla') %>
</ul>
</div>
</div> | b120d52d1cb1d26fffe5864c2a4f5edf5583be60 | app/views/shared/_navbar.html.erb | app/views/shared/_navbar.html.erb | HTML+ERB |
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "3da45bce8f1178f33be211861a7848ab3993d9b9")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>current/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "3da45bce8f1178f33be211861a7848ab3993d9b9")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>updated/cmake/Depthai/DepthaiDeviceSideConfig.cmake | # Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "a2efd50dde44e2d4e84e18b85d883d6421af68e2")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "") | <|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "3da45bce8f1178f33be211861a7848ab3993d9b9")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>current/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "3da45bce8f1178f33be211861a7848ab3993d9b9")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
<|file_sep|>updated/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "a2efd50dde44e2d4e84e18b85d883d6421af68e2")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "") | 8699d1535df7d2e1b26d1792691efe9f0bf41b4f | cmake/Depthai/DepthaiDeviceSideConfig.cmake | cmake/Depthai/DepthaiDeviceSideConfig.cmake | CMake |
<|file_sep|>package.json.diff
original:
"test": "./node_modules/.bin/mocha --reporter spec --compilers js:babel-core/register --recursive"
updated:
"test": "mocha --compilers js:babel-core/register --recursive",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register --recursive"
<|file_sep|>original/package.json
"url": "git+https://github.com/developr-at/floob.git"
},
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
}
<|file_sep|>current/package.json
"url": "git+https://github.com/developr-at/floob.git"
},
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
}
<|file_sep|>updated/package.json | },
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"istanbul": "^1.0.0-alpha",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
} | <|file_sep|>package.json.diff
original:
"test": "./node_modules/.bin/mocha --reporter spec --compilers js:babel-core/register --recursive"
updated:
"test": "mocha --compilers js:babel-core/register --recursive",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register --recursive"
<|file_sep|>original/package.json
"url": "git+https://github.com/developr-at/floob.git"
},
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
}
<|file_sep|>current/package.json
"url": "git+https://github.com/developr-at/floob.git"
},
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
}
<|file_sep|>updated/package.json
},
"author": "Thomas Prochazka <thomas.prochazka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/developr-at/floob/issues"
},
"homepage": "https://github.com/developr-at/floob#readme",
"devDependencies": {
"babel-core": "^6.7.7",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.5.0",
"cheerio": "^0.20.0",
"istanbul": "^1.0.0-alpha",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"request": "^2.65.0",
"sinon": "^1.17.3",
"webpack": "^1.13.0"
}
} | 94752cbbdc64e8e9310aca425f42a2fec55c15bd | package.json | package.json | JSON |
<|file_sep|>original/.jenkins/job_beam_PostCommit_Python_Verify.groovy
*/
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate, 'python-sdk')
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
}
<|file_sep|>current/.jenkins/job_beam_PostCommit_Python_Verify.groovy
*/
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate, 'python-sdk')
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
}
<|file_sep|>updated/.jenkins/job_beam_PostCommit_Python_Verify.groovy | */
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate)
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
} | <|file_sep|>original/.jenkins/job_beam_PostCommit_Python_Verify.groovy
*/
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate, 'python-sdk')
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
}
<|file_sep|>current/.jenkins/job_beam_PostCommit_Python_Verify.groovy
*/
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate, 'python-sdk')
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
}
<|file_sep|>updated/.jenkins/job_beam_PostCommit_Python_Verify.groovy
*/
import common_job_properties
// This job defines the Python postcommit tests.
job('beam_PostCommit_Python_Verify') {
description('Runs postcommit tests on the Python SDK.')
previousNames('beam_PostCommit_PythonVerify')
// Set common parameters.
common_job_properties.setTopLevelJobProperties(delegate)
// Sets that this is a PostCommit job.
common_job_properties.setPostCommit(delegate, '0 3-22/6 * * *')
// Execute shell command to test Python SDK.
steps {
shell('bash sdks/python/run_postcommit.sh')
}
} | f0206b06bdf371475edbf57064d3260a659fa1d3 | .jenkins/job_beam_PostCommit_Python_Verify.groovy | .jenkins/job_beam_PostCommit_Python_Verify.groovy | Groovy |
<|file_sep|>original/composer.json
"email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": {
<|file_sep|>current/composer.json
"email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": {
<|file_sep|>updated/composer.json | "email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": ">=2.7 <=4.0"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": { | <|file_sep|>original/composer.json
"email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": {
<|file_sep|>current/composer.json
"email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": "^3.1"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": {
<|file_sep|>updated/composer.json
"email": "henri.bergius@iki.fi",
"homepage": "http://bergie.iki.fi/"
},
{
"name": "Marc Aschmann",
"email": "maschmann@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"symfony/yaml": ">=2.7 <=4.0"
},
"require-dev": {
"phpunit/phpunit": "<5.0",
"mikey179/vfsStream": "^1.6"
},
"config": {
"bin-dir": "bin"
},
"autoload": {
"psr-4": { | 7426d375c8e41713da43be36bf75455e27efcaad | composer.json | composer.json | JSON |
<|file_sep|>lib/minimap-bookmarks-binding.coffee.diff
original:
updated:
@decorationsByMarkerId = {}
@decorationSubscriptionsByMarkerId = {}
<|file_sep|>lib/minimap-bookmarks-binding.coffee.diff
original:
@minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
updated:
@handleMarker(marker)
@editor.displayBuffer.findMarkers(class: 'bookmark').forEach (marker) =>
@handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
<|file_sep|>original/lib/minimap-bookmarks-binding.coffee
{CompositeDisposable} = require 'atom'
module.exports =
class MinimapBookmarksBinding
constructor: (@minimap) ->
@subscriptions = new CompositeDisposable
@editor = @minimap.getTextEditor()
@subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) =>
if marker.matchesProperties(class: 'bookmark')
@minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
destroy: ->
@subscriptions.dispose()
<|file_sep|>current/lib/minimap-bookmarks-binding.coffee
@decorationSubscriptionsByMarkerId = {}
@subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) =>
if marker.matchesProperties(class: 'bookmark')
@handleMarker(marker)
@editor.displayBuffer.findMarkers(class: 'bookmark').forEach (marker) =>
@handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
destroy: ->
@subscriptions.dispose()
<|file_sep|>updated/lib/minimap-bookmarks-binding.coffee | @handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
destroy: ->
for id,decoration of @decorationsByMarkerId
@decorationSubscriptionsByMarkerId[id].dispose()
decoration.destroy()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
@subscriptions.dispose() | <|file_sep|>lib/minimap-bookmarks-binding.coffee.diff
original:
updated:
@decorationsByMarkerId = {}
@decorationSubscriptionsByMarkerId = {}
<|file_sep|>lib/minimap-bookmarks-binding.coffee.diff
original:
@minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
updated:
@handleMarker(marker)
@editor.displayBuffer.findMarkers(class: 'bookmark').forEach (marker) =>
@handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
<|file_sep|>original/lib/minimap-bookmarks-binding.coffee
{CompositeDisposable} = require 'atom'
module.exports =
class MinimapBookmarksBinding
constructor: (@minimap) ->
@subscriptions = new CompositeDisposable
@editor = @minimap.getTextEditor()
@subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) =>
if marker.matchesProperties(class: 'bookmark')
@minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
destroy: ->
@subscriptions.dispose()
<|file_sep|>current/lib/minimap-bookmarks-binding.coffee
@decorationSubscriptionsByMarkerId = {}
@subscriptions.add @editor.displayBuffer.onDidCreateMarker (marker) =>
if marker.matchesProperties(class: 'bookmark')
@handleMarker(marker)
@editor.displayBuffer.findMarkers(class: 'bookmark').forEach (marker) =>
@handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
destroy: ->
@subscriptions.dispose()
<|file_sep|>updated/lib/minimap-bookmarks-binding.coffee
@handleMarker(marker)
handleMarker: (marker) ->
{id} = marker
decoration = @minimap.decorateMarker(marker, type: 'line', class: 'bookmark')
@decorationsByMarkerId[id] = decoration
@decorationSubscriptionsByMarkerId[id] = decoration.onDidDestroy =>
@decorationSubscriptionsByMarkerId[id].dispose()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
destroy: ->
for id,decoration of @decorationsByMarkerId
@decorationSubscriptionsByMarkerId[id].dispose()
decoration.destroy()
delete @decorationsByMarkerId[id]
delete @decorationSubscriptionsByMarkerId[id]
@subscriptions.dispose() | 3dc7ae07d6179be70fc823c953c68cb8e0c986ff | lib/minimap-bookmarks-binding.coffee | lib/minimap-bookmarks-binding.coffee | CoffeeScript |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -O3")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest)
<|file_sep|>current/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -O3")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest)
<|file_sep|>updated/CMakeLists.txt | cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -Og -g")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest) | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -O3")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest)
<|file_sep|>current/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -O3")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest)
<|file_sep|>updated/CMakeLists.txt
cmake_minimum_required(VERSION 2.6)
project(embedlib)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wformat -Og -g")
# Override for your CppUTest directory (must be pre-built)
set(CPPUTEST_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/include)
set(CPPUTEST_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../cpputest/src/CppUTest)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CPPUTEST_INCLUDE_DIR})
link_directories(${CPPUTEST_LIB_DIR})
set(SOURCE src/string_wrapper.cpp)
add_library(embedlib SHARED ${SOURCE})
# Unit tests
set(TEST_SOURCE test/main.cpp test/string_wrapper_test.cpp)
add_executable(embedlib_u ${TEST_SOURCE})
target_link_libraries(embedlib_u embedlib CppUTest) | 7eb2aa827516bf28cc1b4ca5ca33dd9808f6cd8e | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
<img class="w-auto h-8 sm:h-10" src="{{ brand_image }}" alt="Brand Logo">
updated:
<img class="w-auto h-8 sm:h-10" src="{{ brand_image }}" alt="{{ brand_label or 'Brand Logo' }}">
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
updated:
{%- if content -%}
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
updated:
{%- endif -%}
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
{{ address }}
updated:
{{ address or '' }}
<|file_sep|>original/frappe/website/web_template/footer_horizontal/footer_horizontal.html
{%- set url = values['item_' + index + '_url'] -%}
{%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
<div class="my-4">
{{ content }}
</div>
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright }}
</div>
</div>
</div>
<|file_sep|>current/frappe/website/web_template/footer_horizontal/footer_horizontal.html
{%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
{%- if content -%}
<div class="my-4">
{{ content }}
</div>
{%- endif -%}
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address or '' }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright }}
</div>
</div>
</div>
<|file_sep|>updated/frappe/website/web_template/footer_horizontal/footer_horizontal.html | {%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
{%- if content -%}
<div class="my-4">
{{ content }}
</div>
{%- endif -%}
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address or '' }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright or '' }}
</div>
</div>
</div> | <|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
<img class="w-auto h-8 sm:h-10" src="{{ brand_image }}" alt="Brand Logo">
updated:
<img class="w-auto h-8 sm:h-10" src="{{ brand_image }}" alt="{{ brand_label or 'Brand Logo' }}">
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
updated:
{%- if content -%}
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
updated:
{%- endif -%}
<|file_sep|>frappe/website/web_template/footer_horizontal/footer_horizontal.html.diff
original:
{{ address }}
updated:
{{ address or '' }}
<|file_sep|>original/frappe/website/web_template/footer_horizontal/footer_horizontal.html
{%- set url = values['item_' + index + '_url'] -%}
{%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
<div class="my-4">
{{ content }}
</div>
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright }}
</div>
</div>
</div>
<|file_sep|>current/frappe/website/web_template/footer_horizontal/footer_horizontal.html
{%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
{%- if content -%}
<div class="my-4">
{{ content }}
</div>
{%- endif -%}
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address or '' }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright }}
</div>
</div>
</div>
<|file_sep|>updated/frappe/website/web_template/footer_horizontal/footer_horizontal.html
{%- if label and url -%}
{{ c('navbar_link', label=label, url=url) }}
{%- endif -%}
{%- endfor -%}
</div>
{%- if content -%}
<div class="my-4">
{{ content }}
</div>
{%- endif -%}
</div>
<div class="flex flex-col items-start justify-between pt-4 text-xs text-gray-700 border-t-2 sm:flex-row">
<div>
{{ address or '' }}
</div>
<div class="mt-4 sm:mt-0">
{{ copyright or '' }}
</div>
</div>
</div> | 014c9798bf9251e6eefa7ddceea4be8972763f6c | frappe/website/web_template/footer_horizontal/footer_horizontal.html | frappe/website/web_template/footer_horizontal/footer_horizontal.html | HTML |
<|file_sep|>app/js/filters.js.diff
original:
updated:
/* if input is already a multiple of multSize, return */
<|file_sep|>app/js/filters.js.diff
original:
updated:
/* Ensure input is a whole number */
<|file_sep|>app/js/filters.js.diff
original:
updated:
/* if inputFloor is a multiple of multSize, return inputFloor */
<|file_sep|>original/app/js/filters.js
}
else {
var inputFloor = Math.floor(input);
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
}
});
/*Filter for month day, year from WP REST API date*/
angular.module('sknDateFilter', []).filter('date', function() {
return function(input) {
<|file_sep|>current/app/js/filters.js
return input;
}
else {
/* Ensure input is a whole number */
var inputFloor = Math.floor(input);
/* if inputFloor is a multiple of multSize, return inputFloor */
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
}
});
<|file_sep|>updated/app/js/filters.js | return input;
}
else {
/* Ensure input is a whole number */
var inputFloor = Math.floor(input);
/* if inputFloor is a multiple of multSize, return inputFloor */
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
/* subtract 1 from inputFloor until inputFloor
is a mulple of multSize. Return modified inputFloor.*/
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
} | <|file_sep|>app/js/filters.js.diff
original:
updated:
/* if input is already a multiple of multSize, return */
<|file_sep|>app/js/filters.js.diff
original:
updated:
/* Ensure input is a whole number */
<|file_sep|>app/js/filters.js.diff
original:
updated:
/* if inputFloor is a multiple of multSize, return inputFloor */
<|file_sep|>original/app/js/filters.js
}
else {
var inputFloor = Math.floor(input);
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
}
});
/*Filter for month day, year from WP REST API date*/
angular.module('sknDateFilter', []).filter('date', function() {
return function(input) {
<|file_sep|>current/app/js/filters.js
return input;
}
else {
/* Ensure input is a whole number */
var inputFloor = Math.floor(input);
/* if inputFloor is a multiple of multSize, return inputFloor */
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
}
});
<|file_sep|>updated/app/js/filters.js
return input;
}
else {
/* Ensure input is a whole number */
var inputFloor = Math.floor(input);
/* if inputFloor is a multiple of multSize, return inputFloor */
if(inputFloor % multSize === 0) {
return inputFloor;
}
else {
/* subtract 1 from inputFloor until inputFloor
is a mulple of multSize. Return modified inputFloor.*/
for(var i = 1; i < multSize; ++i) {
if((inputFloor - i) % multSize === 0) {
return inputFloor - i;
}
}
}
return input;
}
} | c9098815a8891c33c0a7f37500049746881643b6 | app/js/filters.js | app/js/filters.js | JavaScript |
<|file_sep|>app/models/composition_row.rb.diff
original:
updated:
player_selections = composition.player_selections.
select(:map_segment_id, :position, :player_id, :hero_id).to_a
<|file_sep|>app/models/composition_row.rb.diff
original:
all_heroes: heroes)
updated:
all_heroes: heroes, player_selections: player_selections)
<|file_sep|>app/models/composition_row.rb.diff
original:
all_heroes: heroes)
updated:
all_heroes: heroes, player_selections: player_selections)
<|file_sep|>app/models/composition_row.rb.diff
original:
def initialize(number:, player:, composition:, all_heroes:)
updated:
def initialize(number:, player:, composition:, all_heroes:, player_selections:)
<|file_sep|>app/models/composition_row.rb.diff
original:
updated:
@player_selections = player_selections
<|file_sep|>original/app/models/composition_row.rb
if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = PlayerSelection.joins(:composition_player).
where(map_segment_id: map_segment, composition_players: {
position: number, player_id: player
}).first
selection ? selection.hero_id : nil
end
end
<|file_sep|>current/app/models/composition_row.rb
if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = PlayerSelection.joins(:composition_player).
where(map_segment_id: map_segment, composition_players: {
position: number, player_id: player
}).first
selection ? selection.hero_id : nil
end
end
<|file_sep|>updated/app/models/composition_row.rb | if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = @player_selections.detect do |ps|
ps.map_segment_id == map_segment.id &&
ps.position == number && ps.player_id == player.id
end
selection ? selection.hero_id : nil
end
end | <|file_sep|>app/models/composition_row.rb.diff
original:
updated:
player_selections = composition.player_selections.
select(:map_segment_id, :position, :player_id, :hero_id).to_a
<|file_sep|>app/models/composition_row.rb.diff
original:
all_heroes: heroes)
updated:
all_heroes: heroes, player_selections: player_selections)
<|file_sep|>app/models/composition_row.rb.diff
original:
all_heroes: heroes)
updated:
all_heroes: heroes, player_selections: player_selections)
<|file_sep|>app/models/composition_row.rb.diff
original:
def initialize(number:, player:, composition:, all_heroes:)
updated:
def initialize(number:, player:, composition:, all_heroes:, player_selections:)
<|file_sep|>app/models/composition_row.rb.diff
original:
updated:
@player_selections = player_selections
<|file_sep|>original/app/models/composition_row.rb
if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = PlayerSelection.joins(:composition_player).
where(map_segment_id: map_segment, composition_players: {
position: number, player_id: player
}).first
selection ? selection.hero_id : nil
end
end
<|file_sep|>current/app/models/composition_row.rb
if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = PlayerSelection.joins(:composition_player).
where(map_segment_id: map_segment, composition_players: {
position: number, player_id: player
}).first
selection ? selection.hero_id : nil
end
end
<|file_sep|>updated/app/models/composition_row.rb
if player
player.heroes_by_confidence(@all_heroes)
else
@all_heroes
end
end
def map_segments
composition.map_segments
end
def selected_hero(map_segment)
return unless player
selection = @player_selections.detect do |ps|
ps.map_segment_id == map_segment.id &&
ps.position == number && ps.player_id == player.id
end
selection ? selection.hero_id : nil
end
end | 2e3ce3a871c8f26244fd7d70892760075fe75979 | app/models/composition_row.rb | app/models/composition_row.rb | Ruby |
<|file_sep|>original/activerecord_any_of.gemspec
# Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end
<|file_sep|>current/activerecord_any_of.gemspec
# Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end
<|file_sep|>updated/activerecord_any_of.gemspec | # Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.license = 'MIT'
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end | <|file_sep|>original/activerecord_any_of.gemspec
# Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end
<|file_sep|>current/activerecord_any_of.gemspec
# Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end
<|file_sep|>updated/activerecord_any_of.gemspec
# Maintain your gem's version:
require "activerecord_any_of/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "activerecord_any_of"
s.version = ActiverecordAnyOf::VERSION
s.authors = ["Olivier El Mekki"]
s.email = ["olivier@el-mekki.com"]
s.homepage = "https://github.com/oelmekki/activerecord_any_of"
s.summary = "Mongoid's any_of like implementation for activerecord"
s.description = "Any_of allows to compute dynamic OR queries."
s.license = 'MIT'
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.13", '< 5'
s.add_development_dependency "sqlite3"
end | a2c530d3027591bad9b7d1a45d9c8f1cfea59cff | activerecord_any_of.gemspec | activerecord_any_of.gemspec | Ruby |
<|file_sep|>original/README.md
sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).
To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :
#NodeIP=10.1.1.100
<|file_sep|>current/README.md
sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).
To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :
#NodeIP=10.1.1.100
<|file_sep|>updated/README.md | sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
You can configure Apache vhost
https://github.com/24eme/tincview/blob/master/webviz/conf/tinc.conf.example
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*). | <|file_sep|>original/README.md
sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).
To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :
#NodeIP=10.1.1.100
<|file_sep|>current/README.md
sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).
To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :
#NodeIP=10.1.1.100
<|file_sep|>updated/README.md
sudo aptitude install graphviz
Get project :
git clone https://github.com/24eme/tincview.git
Html and Graph generation :
make
You can configure Apache vhost
https://github.com/24eme/tincview/blob/master/webviz/conf/tinc.conf.example
Install crontab to update html :
* * * * * cd path/to/tincview ; make > /dev/null
##Configuration
It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*). | 806501fd9c8587248ac20f8282bb432b37b54ab0 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- ubuntu-toolchain-r-test
updated:
- "ubuntu-toolchain-r-test"
<|file_sep|>.travis.yml.diff
original:
- g++-4.8
updated:
- "g++-4.8"
<|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- "node_modules"
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- "ubuntu-toolchain-r-test"
packages:
- "g++-4.8"
cache:
directories:
- "node_modules"
<|file_sep|>updated/.travis.yml | ---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- "ubuntu-toolchain-r-test"
packages:
- "g++-4.8"
cache:
directories:
- "node_modules"
env:
global:
- "CXX=g++-4.8" | <|file_sep|>.travis.yml.diff
original:
- ubuntu-toolchain-r-test
updated:
- "ubuntu-toolchain-r-test"
<|file_sep|>.travis.yml.diff
original:
- g++-4.8
updated:
- "g++-4.8"
<|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- "node_modules"
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- "ubuntu-toolchain-r-test"
packages:
- "g++-4.8"
cache:
directories:
- "node_modules"
<|file_sep|>updated/.travis.yml
---
language: "node_js"
node_js: "stable"
sudo: false
addons:
apt:
sources:
- "ubuntu-toolchain-r-test"
packages:
- "g++-4.8"
cache:
directories:
- "node_modules"
env:
global:
- "CXX=g++-4.8" | bafa580bf08a104983756be49f2a77f7bb0c9a48 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/macos.sh
#!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection
<|file_sep|>current/scripts/macos.sh
#!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection
<|file_sep|>updated/scripts/macos.sh | #!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 12.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection | <|file_sep|>original/scripts/macos.sh
#!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection
<|file_sep|>current/scripts/macos.sh
#!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection
<|file_sep|>updated/scripts/macos.sh
#!/bin/bash
# Disable Safari promotion
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 12.99
defaults write com.apple.Safari DefaultBrowserDateOfLastPrompt -date '2050-01-01T00:00:00Z'
defaults write com.apple.Safari DefaultBrowserPromptingState -int 2
# Disable Hyperlink Auditing Beacon
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
# Disable HotPlug for cameras
defaults write com.apple.ImageCapture disableHotPlug -bool YES
# Disable metadata file creation on network and USB drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Disable captive portal detection | 90c154fe7ea249641b5a05ae648e13f45ab3eb0e | scripts/macos.sh | scripts/macos.sh | Shell |
<|file_sep|>quality-metrics/qm-002-collaborators.md.diff
original:
Brief description of why the rule should be met.
updated:
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
<|file_sep|>original/quality-metrics/qm-002-collaborators.md
---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Brief description of why the rule should be met.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
points = cookbook.collaborators.count
points = 5 if points > 5
<|file_sep|>current/quality-metrics/qm-002-collaborators.md
---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
points = cookbook.collaborators.count
points = 5 if points > 5
<|file_sep|>updated/quality-metrics/qm-002-collaborators.md | ---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
passes? = cookbook.collaborators.count >= 1
| <|file_sep|>quality-metrics/qm-002-collaborators.md.diff
original:
Brief description of why the rule should be met.
updated:
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
<|file_sep|>original/quality-metrics/qm-002-collaborators.md
---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Brief description of why the rule should be met.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
points = cookbook.collaborators.count
points = 5 if points > 5
<|file_sep|>current/quality-metrics/qm-002-collaborators.md
---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
points = cookbook.collaborators.count
points = 5 if points > 5
<|file_sep|>updated/quality-metrics/qm-002-collaborators.md
---
SMQM: 002
Author: Nathen Harvey <nharvey@chef.io>
Status: Accepted
License: Apache 2.0
---
# Cookbook has collaborators on the Supermarket
The cookbook has one or more collaborators listed on the Supermarket.
Having a collaborator means that there is more than one person with permission to release new versions of the cookbook.
### Verification
Pseudocode or actual code that can be used to automatically verify the rule and/or assign appropriate points.
passes? = cookbook.collaborators.count >= 1
| dbeff617884c1399e637c293d5e1825cbaf60224 | quality-metrics/qm-002-collaborators.md | quality-metrics/qm-002-collaborators.md | Markdown |
<|file_sep|>original/563.html
<|file_sep|>current/563.html
<|file_sep|>updated/563.html | <!DOCTYPE html>
<html>
<head>
<title>Toggle pagination</title>
<meta charset="utf-8">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/bootstrap-table/src/bootstrap-table.css">
<link rel="stylesheet" href="assets/examples.css">
<script src="assets/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/bootstrap-table/src/bootstrap-table.js"></script>
<script src="ga.js"></script>
</head>
<body>
<div class="container">
<div class="ribbon">
<a href="https://github.com/wenzhixin/bootstrap-table-examples/blob/master/563.html" target="_blank">View Source on GitHub</a>
</div>
<h1>Change the background color on selected rows (<a href="https://github.com/wenzhixin/bootstrap-table/issues/563" target="_blank">#563</a>).</h1>
<table id="table"
data-toggle="table" | <|file_sep|>original/563.html
<|file_sep|>current/563.html
<|file_sep|>updated/563.html
<!DOCTYPE html>
<html>
<head>
<title>Toggle pagination</title>
<meta charset="utf-8">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/bootstrap-table/src/bootstrap-table.css">
<link rel="stylesheet" href="assets/examples.css">
<script src="assets/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/bootstrap-table/src/bootstrap-table.js"></script>
<script src="ga.js"></script>
</head>
<body>
<div class="container">
<div class="ribbon">
<a href="https://github.com/wenzhixin/bootstrap-table-examples/blob/master/563.html" target="_blank">View Source on GitHub</a>
</div>
<h1>Change the background color on selected rows (<a href="https://github.com/wenzhixin/bootstrap-table/issues/563" target="_blank">#563</a>).</h1>
<table id="table"
data-toggle="table" | b26ec2370a98c666be922bfa68c14caeecdd0408 | 563.html | 563.html | HTML |
<|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:metadata }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
<|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:discovery }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
<|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:login }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
<|file_sep|>original/src/LightSaml/SpBundle/Resources/config/routing.yml
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSamlSpBundle:Default:metadata }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSamlSpBundle:Default:discovery }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSamlSpBundle:Default:login }
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSamlSpBundle:Default:sessions }
<|file_sep|>current/src/LightSaml/SpBundle/Resources/config/routing.yml
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSamlSpBundle:Default:sessions }
<|file_sep|>updated/src/LightSaml/SpBundle/Resources/config/routing.yml | lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::sessionsAction } | <|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:metadata }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
<|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:discovery }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
<|file_sep|>src/LightSaml/SpBundle/Resources/config/routing.yml.diff
original:
defaults: { _controller: LightSamlSpBundle:Default:login }
updated:
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
<|file_sep|>original/src/LightSaml/SpBundle/Resources/config/routing.yml
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSamlSpBundle:Default:metadata }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSamlSpBundle:Default:discovery }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSamlSpBundle:Default:login }
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSamlSpBundle:Default:sessions }
<|file_sep|>current/src/LightSaml/SpBundle/Resources/config/routing.yml
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSamlSpBundle:Default:sessions }
<|file_sep|>updated/src/LightSaml/SpBundle/Resources/config/routing.yml
lightsaml_sp.metadata:
path: /metadata.xml
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::metadataAction }
lightsaml_sp.discovery:
path: /discovery
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::discoveryAction }
lightsaml_sp.login:
path: /login
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::loginAction}
lightsaml_sp.login_check:
path: /login_check
lightsaml_sp.sessions:
path: /sessions
defaults: { _controller: LightSaml\SpBundle\Controller\DefaultController::sessionsAction } | bd62c6aba9cf464009fa15465400a90e71b619f1 | src/LightSaml/SpBundle/Resources/config/routing.yml | src/LightSaml/SpBundle/Resources/config/routing.yml | YAML |
<|file_sep|>.drone.yml.diff
original:
updated:
- python setup.py develop
<|file_sep|>original/.drone.yml
- name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run setup.py test
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands:
- pip install twine
<|file_sep|>current/.drone.yml
- name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run setup.py test
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands:
<|file_sep|>updated/.drone.yml | - name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run -m unittest
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands: | <|file_sep|>.drone.yml.diff
original:
updated:
- python setup.py develop
<|file_sep|>original/.drone.yml
- name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run setup.py test
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands:
- pip install twine
<|file_sep|>current/.drone.yml
- name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run setup.py test
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands:
<|file_sep|>updated/.drone.yml
- name: Test Python
image: python:3.10
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- python setup.py develop
- pip install -r requirements-test.txt
- flake8
- mypy . --ignore-missing-imports
- cc-test-reporter before-build
- coverage run -m unittest
- exitcode="$?"
- coverage report -m
- coverage xml
- cc-test-reporter after-build --exit-code "$exitcode"
environment:
CC_TEST_REPORTER_ID: 2baac9a046cac4e8790932772e1c9954ed0d6786e55a011f32dcc30da97781a1
- name: Upload Python
image: python:3.10
commands: | 0840c2afc3ede520e8fd0900f4dc7570a4b4c8bc | .drone.yml | .drone.yml | YAML |
<|file_sep|>original/packages/altair-app/src/scss/components/_plugin-element.scss
app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
<|file_sep|>current/packages/altair-app/src/scss/components/_plugin-element.scss
app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
<|file_sep|>updated/packages/altair-app/src/scss/components/_plugin-element.scss | app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
.element__wrapper {
overflow: auto;
height: 100%;
} | <|file_sep|>original/packages/altair-app/src/scss/components/_plugin-element.scss
app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
<|file_sep|>current/packages/altair-app/src/scss/components/_plugin-element.scss
app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
<|file_sep|>updated/packages/altair-app/src/scss/components/_plugin-element.scss
app-plugin-element {
// overflow: auto;
}
.plugin__holder {
width: 100%;
height: 100%;
overflow: auto;
}
.plugin__hide-content {
display: none !important;
}
.element__wrapper {
overflow: auto;
height: 100%;
} | e540e45076e7763ac31896a1b771ae6b67f34658 | packages/altair-app/src/scss/components/_plugin-element.scss | packages/altair-app/src/scss/components/_plugin-element.scss | SCSS |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.0
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.0
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0
<|file_sep|>updated/requirements_dev.txt | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.1
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.0
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.0
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0
<|file_sep|>updated/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.1
pytest-cov==2.5.1
pytest-mock==1.6.2
pytest-pylint==0.7.1
requests-mock==1.3.0
spec==1.4.0 | 191dca1f9cd25033317b21930e03d805f2b80b3a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/README.md
# Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
```
<|file_sep|>current/README.md
# Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
```
<|file_sep|>updated/README.md | # Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh -l debug --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
``` | <|file_sep|>original/README.md
# Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
```
<|file_sep|>current/README.md
# Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
```
<|file_sep|>updated/README.md
# Kernel 4.x.y build system for CentOS6 on Vagrant
kernel 4.x.y build server for centos6 created by Vagrant and Itamae
## create build server
```
cd vagrant-build-kernel-centos6
vagrant up
itamae ssh -l debug --vagrant roles/build-kernel-for-cent64.rb
vagrant ssh
ls -l ~/linux-4.1.1
``` | a6c6b846f9c682c1048eccb8d49499b554f9030d | README.md | README.md | Markdown |
<|file_sep|>misc/move-objects.py.diff
original:
def moveObjects(appStore, start, limit=1000):
updated:
def moveObjects(appStore, start, limit):
<|file_sep|>original/misc/move-objects.py
ImmutableObject,
ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
appStore.transact(moveObjects, appStore, int(argv[2]))
<|file_sep|>current/misc/move-objects.py
ImmutableObject,
ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
appStore.transact(moveObjects, appStore, int(argv[2]))
<|file_sep|>updated/misc/move-objects.py | ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
limit = int(argv[3])
appStore.transact(moveObjects, appStore, int(argv[2]), int(argv[3])) | <|file_sep|>misc/move-objects.py.diff
original:
def moveObjects(appStore, start, limit=1000):
updated:
def moveObjects(appStore, start, limit):
<|file_sep|>original/misc/move-objects.py
ImmutableObject,
ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
appStore.transact(moveObjects, appStore, int(argv[2]))
<|file_sep|>current/misc/move-objects.py
ImmutableObject,
ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
appStore.transact(moveObjects, appStore, int(argv[2]))
<|file_sep|>updated/misc/move-objects.py
ImmutableObject.storeID >= start,
limit=limit):
oldPath = obj.content
bucket = obj.contentDigest[:4]
newPath = appStore.newFilePath(
'objects', 'immutable', bucket,
'%s:%s' % (obj.hash, obj.contentDigest))
if not newPath.parent().exists():
newPath.parent().makedirs()
oldPath.moveTo(newPath)
obj.content = newPath
if obj is None:
print 'No objects selected'
else:
print 'Last object seen: %s' % (obj.storeID,)
siteStore = Store(argv[1])
appStore = getAppStore(siteStore)
limit = int(argv[3])
appStore.transact(moveObjects, appStore, int(argv[2]), int(argv[3])) | e3545cf444aea043fa892caeaff5a66ce893a0bb | misc/move-objects.py | misc/move-objects.py | Python |
<|file_sep|>original/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java
<|file_sep|>current/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java
<|file_sep|>updated/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.xwiki.test.escaping.framework;
| <|file_sep|>original/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java
<|file_sep|>current/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java
<|file_sep|>updated/xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This 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 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.xwiki.test.escaping.framework;
| b7e2abad3047ca5ebe3307fab0f5932ffbe90686 | xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java | xwiki-enterprise-test/xwiki-enterprise-test-escaping/src/test/it/org/xwiki/test/escaping/framework/URLContent.java | Java |
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
function B<T>() {
updated:
class B3 extends A<number> {
}
function B1<U>() {
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
return class extends A<T> { }
updated:
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
class K extends B<number>() {
updated:
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
var c = new K();
updated:
var c = new C();
var k = new K();
var b3 = new B3();
<|file_sep|>original/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts
class A<T> {
genericVar: T
}
function B<T>() {
// class expression can use T
return class extends A<T> { }
}
// extends can call B
class K extends B<number>() {
name: string;
}
var c = new K();
c.genericVar = 12;
<|file_sep|>current/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts
}
class B3 extends A<number> {
}
function B1<U>() {
// class expression can use T
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
}
// extends can call B
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
name: string;
}
var c = new C();
var k = new K();
var b3 = new B3();
c.genericVar = 12;
<|file_sep|>updated/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts | }
function B1<U>() {
// class expression can use T
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
}
// extends can call B
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
name: string;
}
var c = new C();
var k = new K();
var b3 = new B3();
c.genericVar = 12;
k.genericVar = 12;
b3.genericVar = 12 | <|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
function B<T>() {
updated:
class B3 extends A<number> {
}
function B1<U>() {
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
return class extends A<T> { }
updated:
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
class K extends B<number>() {
updated:
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
<|file_sep|>tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts.diff
original:
var c = new K();
updated:
var c = new C();
var k = new K();
var b3 = new B3();
<|file_sep|>original/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts
class A<T> {
genericVar: T
}
function B<T>() {
// class expression can use T
return class extends A<T> { }
}
// extends can call B
class K extends B<number>() {
name: string;
}
var c = new K();
c.genericVar = 12;
<|file_sep|>current/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts
}
class B3 extends A<number> {
}
function B1<U>() {
// class expression can use T
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
}
// extends can call B
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
name: string;
}
var c = new C();
var k = new K();
var b3 = new B3();
c.genericVar = 12;
<|file_sep|>updated/tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts
}
function B1<U>() {
// class expression can use T
return class extends A<U> { }
}
class B2<V> {
anon = class extends A<V> { }
}
// extends can call B
class K extends B1<number>() {
namae: string;
}
class C extends (new B2<number>().anon) {
name: string;
}
var c = new C();
var k = new K();
var b3 = new B3();
c.genericVar = 12;
k.genericVar = 12;
b3.genericVar = 12 | 9223b02136f0ede6ebeacf0404a7c8c9a2851486 | tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts | tests/cases/conformance/classes/classExpressions/genericClassExpressionInFunction.ts | TypeScript |
<|file_sep|>original/.github/workflows/wrapper.yml
name: 'Wrapper'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
pull_request:
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
<|file_sep|>current/.github/workflows/wrapper.yml
name: 'Wrapper'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
pull_request:
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
<|file_sep|>updated/.github/workflows/wrapper.yml | #*******************************************************************************
# Copyright (c) Contributors to the Eclipse Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#*******************************************************************************
name: 'Wrapper'
on: | <|file_sep|>original/.github/workflows/wrapper.yml
name: 'Wrapper'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
pull_request:
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
<|file_sep|>current/.github/workflows/wrapper.yml
name: 'Wrapper'
on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
pull_request:
paths:
- 'gradle/wrapper/**'
- 'gradlew*'
- '.github/**/*wrapper*'
env:
LC_ALL: en_US.UTF-8
defaults:
run:
<|file_sep|>updated/.github/workflows/wrapper.yml
#*******************************************************************************
# Copyright (c) Contributors to the Eclipse Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#*******************************************************************************
name: 'Wrapper'
on: | 18f46cf829113084d8c0e477db0d816e2008739d | .github/workflows/wrapper.yml | .github/workflows/wrapper.yml | YAML |
<|file_sep|>original/src/router.tsx
this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
const target = await import('./containers/' + name);
this.setState({ Component: target.default });
}
render(): JSX.Element | null {
const { Component } = this.state;
if (Component) {
return <Component appStore={this.props.store} {...this.props.store.params} />;
}
<|file_sep|>current/src/router.tsx
this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
const target = await import('./containers/' + name);
this.setState({ Component: target.default });
}
render(): JSX.Element | null {
const { Component } = this.state;
if (Component) {
return <Component appStore={this.props.store} {...this.props.store.params} />;
}
<|file_sep|>updated/src/router.tsx | this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
let target;
switch (name) {
case 'activities':
target = await import('./containers/activities');
break;
case 'video':
target = await import('./containers/video');
break;
}
| <|file_sep|>original/src/router.tsx
this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
const target = await import('./containers/' + name);
this.setState({ Component: target.default });
}
render(): JSX.Element | null {
const { Component } = this.state;
if (Component) {
return <Component appStore={this.props.store} {...this.props.store.params} />;
}
<|file_sep|>current/src/router.tsx
this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
const target = await import('./containers/' + name);
this.setState({ Component: target.default });
}
render(): JSX.Element | null {
const { Component } = this.state;
if (Component) {
return <Component appStore={this.props.store} {...this.props.store.params} />;
}
<|file_sep|>updated/src/router.tsx
this.state = {
Component: null
};
}
componentDidMount() {
reaction(() => this.props.store.route, (name: Route) => this.route(name), { fireImmediately: true });
}
async route(name: Route) {
let target;
switch (name) {
case 'activities':
target = await import('./containers/activities');
break;
case 'video':
target = await import('./containers/video');
break;
}
| d7572de554268ac0f3fe05ae5fccaa338792ae16 | src/router.tsx | src/router.tsx | TypeScript |
<|file_sep|>original/.travis.yml
before_install:
- gem install mbj-inflector
language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net
<|file_sep|>current/.travis.yml
before_install:
- gem install mbj-inflector
language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net
<|file_sep|>updated/.travis.yml | language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net | <|file_sep|>original/.travis.yml
before_install:
- gem install mbj-inflector
language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net
<|file_sep|>current/.travis.yml
before_install:
- gem install mbj-inflector
language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net
<|file_sep|>updated/.travis.yml
language: ruby
script: 'bundle exec rake spec'
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-19mode
matrix:
allow_failures:
# No mutators for 1.8 specifc AST nodes
- rvm: rbx-18mode
- rvm: 1.8.7
notifications:
email:
- mbj@seonic.net | adf8ec139dd521327db1312e3fae82790cd593be | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/nexmo/signature.rb.diff
original:
::JWT.secure_compare(signature, digest(params, secret))
updated:
secure_compare(signature, digest(params, secret))
<|file_sep|>original/lib/nexmo/signature.rb
def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
::JWT.secure_compare(signature, digest(params, secret))
end
private
def self.digest(params, secret)
md5 = Digest::MD5.new
params.sort.each do |k, v|
md5.update("&#{k}=#{v}")
end
md5.update(secret)
md5.hexdigest
end
<|file_sep|>current/lib/nexmo/signature.rb
def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
secure_compare(signature, digest(params, secret))
end
private
def self.digest(params, secret)
md5 = Digest::MD5.new
params.sort.each do |k, v|
md5.update("&#{k}=#{v}")
end
md5.update(secret)
md5.hexdigest
end
<|file_sep|>updated/lib/nexmo/signature.rb | def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
secure_compare(signature, digest(params, secret))
end
private
if defined?(::JWT::SecurityUtils) # ruby-jwt v2
def self.secure_compare(left, right)
::JWT::SecurityUtils.secure_compare(left, right)
end
else
def self.secure_compare(left, right)
::JWT.secure_compare(left, right)
end
end
def self.digest(params, secret) | <|file_sep|>lib/nexmo/signature.rb.diff
original:
::JWT.secure_compare(signature, digest(params, secret))
updated:
secure_compare(signature, digest(params, secret))
<|file_sep|>original/lib/nexmo/signature.rb
def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
::JWT.secure_compare(signature, digest(params, secret))
end
private
def self.digest(params, secret)
md5 = Digest::MD5.new
params.sort.each do |k, v|
md5.update("&#{k}=#{v}")
end
md5.update(secret)
md5.hexdigest
end
<|file_sep|>current/lib/nexmo/signature.rb
def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
secure_compare(signature, digest(params, secret))
end
private
def self.digest(params, secret)
md5 = Digest::MD5.new
params.sort.each do |k, v|
md5.update("&#{k}=#{v}")
end
md5.update(secret)
md5.hexdigest
end
<|file_sep|>updated/lib/nexmo/signature.rb
def self.check(params, secret)
params = params.dup
signature = params.delete('sig')
secure_compare(signature, digest(params, secret))
end
private
if defined?(::JWT::SecurityUtils) # ruby-jwt v2
def self.secure_compare(left, right)
::JWT::SecurityUtils.secure_compare(left, right)
end
else
def self.secure_compare(left, right)
::JWT.secure_compare(left, right)
end
end
def self.digest(params, secret) | 4a71088554de9cd524a29e2eb6e041851ff4b0e8 | lib/nexmo/signature.rb | lib/nexmo/signature.rb | Ruby |
<|file_sep|>original/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.24.0</version>
</extension>
</extensions>
<|file_sep|>current/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.24.0</version>
</extension>
</extensions>
<|file_sep|>updated/.mvn/extensions.xml | <?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>1.3.0</version>
</extension>
</extensions> | <|file_sep|>original/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.24.0</version>
</extension>
</extensions>
<|file_sep|>current/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>0.24.0</version>
</extension>
</extensions>
<|file_sep|>updated/.mvn/extensions.xml
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pomless</artifactId>
<version>1.3.0</version>
</extension>
</extensions> | fdf1f4460bf43ec12d1d1c472ab3458041942e95 | .mvn/extensions.xml | .mvn/extensions.xml | XML |
<|file_sep|>original/_posts/2014-09-21-impatient-billionaire.md
<|file_sep|>current/_posts/2014-09-21-impatient-billionaire.md
<|file_sep|>updated/_posts/2014-09-21-impatient-billionaire.md | ---
title: "The Impatient Billionaire and the Mirror for Earth"
layout: post
tags: quote fiction writing
---
> "Wait!" said the impatient billionaire. "Is this mirror going to burn
> up the whole planet? Don't just 'yes' me on everything, really think
> about it: a mirror that big, reflecting the sun, facing us? I do not
> want to burn up the planet. I do not want to be 'that guy'."
-- B. J. Novak, [One More Thing](http://amazon.com/One-More-Thing-Stories-Other-ebook/dp/B00EGMQIIQ/) | <|file_sep|>original/_posts/2014-09-21-impatient-billionaire.md
<|file_sep|>current/_posts/2014-09-21-impatient-billionaire.md
<|file_sep|>updated/_posts/2014-09-21-impatient-billionaire.md
---
title: "The Impatient Billionaire and the Mirror for Earth"
layout: post
tags: quote fiction writing
---
> "Wait!" said the impatient billionaire. "Is this mirror going to burn
> up the whole planet? Don't just 'yes' me on everything, really think
> about it: a mirror that big, reflecting the sun, facing us? I do not
> want to burn up the planet. I do not want to be 'that guy'."
-- B. J. Novak, [One More Thing](http://amazon.com/One-More-Thing-Stories-Other-ebook/dp/B00EGMQIIQ/) | 563d51c4f92b109a6effa7a20cfda59d26606147 | _posts/2014-09-21-impatient-billionaire.md | _posts/2014-09-21-impatient-billionaire.md | Markdown |
<|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
PhoneGap.exec(function(e) {
console.log("init: " + e);
}, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
updated:
PhoneGap.exec(null, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
<|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
try {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
//FB.Auth.setSession(e.session, 'connected'); // never gets called because the plugin spawns Mobile Safari/Facebook app
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
} catch (e) {
alert(e);
}
updated:
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
<|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
try {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
} catch (e) {
alert(e);
}
updated:
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
<|file_sep|>original/www/pg-plugin-fb-connect.js
try {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
//FB.Auth.setSession(e.session, 'connected'); // never gets called because the plugin spawns Mobile Safari/Facebook app
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
} catch (e) {
alert(e);
}
},
logout: function(cb) {
try {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
} catch (e) {
alert(e);
}
},
getLoginStatus: function(cb) {
<|file_sep|>current/www/pg-plugin-fb-connect.js
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
},
logout: function(cb) {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
},
getLoginStatus: function(cb) {
try {
PhoneGap.exec(function(e) {
if (cb) cb(e);
console.log("getLoginStatus: " + e);
}, null, 'com.facebook.phonegap.Connect', 'getLoginStatus', []);
} catch (e) {
alert(e);
}
}
};
<|file_sep|>updated/www/pg-plugin-fb-connect.js | PhoneGap.exec(null, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
},
login: function(a, b) {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
},
logout: function(cb) {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
},
getLoginStatus: function(cb) {
PhoneGap.exec(function(e) {
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'getLoginStatus', []);
}
}; | <|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
PhoneGap.exec(function(e) {
console.log("init: " + e);
}, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
updated:
PhoneGap.exec(null, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
<|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
try {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
//FB.Auth.setSession(e.session, 'connected'); // never gets called because the plugin spawns Mobile Safari/Facebook app
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
} catch (e) {
alert(e);
}
updated:
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
<|file_sep|>www/pg-plugin-fb-connect.js.diff
original:
try {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
} catch (e) {
alert(e);
}
updated:
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
<|file_sep|>original/www/pg-plugin-fb-connect.js
try {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
//FB.Auth.setSession(e.session, 'connected'); // never gets called because the plugin spawns Mobile Safari/Facebook app
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
} catch (e) {
alert(e);
}
},
logout: function(cb) {
try {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
} catch (e) {
alert(e);
}
},
getLoginStatus: function(cb) {
<|file_sep|>current/www/pg-plugin-fb-connect.js
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
},
logout: function(cb) {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
},
getLoginStatus: function(cb) {
try {
PhoneGap.exec(function(e) {
if (cb) cb(e);
console.log("getLoginStatus: " + e);
}, null, 'com.facebook.phonegap.Connect', 'getLoginStatus', []);
} catch (e) {
alert(e);
}
}
};
<|file_sep|>updated/www/pg-plugin-fb-connect.js
PhoneGap.exec(null, null, 'com.facebook.phonegap.Connect', 'init', [apiKey]);
},
login: function(a, b) {
b = b || { perms: '' };
PhoneGap.exec(function(e) { // login
FB.Auth.setSession(e.session, 'connected');
if (a) a(e);
}, null, 'com.facebook.phonegap.Connect', 'login', b.perms.split(',') );
},
logout: function(cb) {
PhoneGap.exec(function(e) {
FB.Auth.setSession(null, 'notConnected');
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'logout', []);
},
getLoginStatus: function(cb) {
PhoneGap.exec(function(e) {
if (cb) cb(e);
}, null, 'com.facebook.phonegap.Connect', 'getLoginStatus', []);
}
}; | 0ebb23201bc8364368cb77c5b502a345d3144f0e | www/pg-plugin-fb-connect.js | www/pg-plugin-fb-connect.js | JavaScript |
<|file_sep|>docker-compose.override.yml.diff
original:
updated:
SIMPLETEST_BASE_URL: "http://nginx"
SIMPLETEST_DB: "${DB_DRIVER}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}#tests_"
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
<|file_sep|>original/docker-compose.override.yml
version: "3"
services:
php:
image: wodby/drupal:$DRUPAL_TAG
environment:
PHP_FPM_CLEAR_ENV: "no"
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
volumes:
codebase:
<|file_sep|>current/docker-compose.override.yml
version: "3"
services:
php:
image: wodby/drupal:$DRUPAL_TAG
environment:
PHP_FPM_CLEAR_ENV: "no"
SIMPLETEST_BASE_URL: "http://nginx"
SIMPLETEST_DB: "${DB_DRIVER}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}#tests_"
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
volumes:
codebase:
<|file_sep|>updated/docker-compose.override.yml | MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
chrome:
image: selenium/standalone-chrome:3.141.59
container_name: "${PROJECT_NAME}_chrome"
volumes:
- /dev/shm:/dev/shm
# ports:
# - "9515:9515" #no needs to expose the port as containers communicate within internal network.
entrypoint:
- chromedriver
- "--no-sandbox"
- "--disable-dev-shm-usage" | <|file_sep|>docker-compose.override.yml.diff
original:
updated:
SIMPLETEST_BASE_URL: "http://nginx"
SIMPLETEST_DB: "${DB_DRIVER}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}#tests_"
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
<|file_sep|>original/docker-compose.override.yml
version: "3"
services:
php:
image: wodby/drupal:$DRUPAL_TAG
environment:
PHP_FPM_CLEAR_ENV: "no"
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
volumes:
codebase:
<|file_sep|>current/docker-compose.override.yml
version: "3"
services:
php:
image: wodby/drupal:$DRUPAL_TAG
environment:
PHP_FPM_CLEAR_ENV: "no"
SIMPLETEST_BASE_URL: "http://nginx"
SIMPLETEST_DB: "${DB_DRIVER}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}/${DB_NAME}#tests_"
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
volumes:
codebase:
<|file_sep|>updated/docker-compose.override.yml
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","goog:chromeOptions":{"args":["--disable-gpu","--headless"]}}, "http://chrome:9515"]'
# SYMFONY_DEPRECATIONS_HELPER: enabled
volumes:
- codebase:/var/www/html
nginx:
volumes:
- codebase:/var/www/html
chrome:
image: selenium/standalone-chrome:3.141.59
container_name: "${PROJECT_NAME}_chrome"
volumes:
- /dev/shm:/dev/shm
# ports:
# - "9515:9515" #no needs to expose the port as containers communicate within internal network.
entrypoint:
- chromedriver
- "--no-sandbox"
- "--disable-dev-shm-usage" | 07626e1064c7da7c40be76dbdafcccd9f645660f | docker-compose.override.yml | docker-compose.override.yml | YAML |
<|file_sep|>original/Tests/DisplayTests/FullScreen.cs
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
<|file_sep|>current/Tests/DisplayTests/FullScreen.cs
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
<|file_sep|>updated/Tests/DisplayTests/FullScreen.cs | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class FullscreenTest : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
| <|file_sep|>original/Tests/DisplayTests/FullScreen.cs
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
<|file_sep|>current/Tests/DisplayTests/FullScreen.cs
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
<|file_sep|>updated/Tests/DisplayTests/FullScreen.cs
using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class FullscreenTest : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{
get { return "Display"; }
}
| 0d612efb38c83ecd71b89c83b10003947966e768 | Tests/DisplayTests/FullScreen.cs | Tests/DisplayTests/FullScreen.cs | C# |
<|file_sep|>original/.travis.yml
language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- sleep 5
- coveralls --exclude cmake --exclude External
notifications:
email: false
<|file_sep|>current/.travis.yml
language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- sleep 5
- coveralls --exclude cmake --exclude External
notifications:
email: false
<|file_sep|>updated/.travis.yml | language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- coveralls --exclude cmake --exclude External
notifications:
email: false | <|file_sep|>original/.travis.yml
language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- sleep 5
- coveralls --exclude cmake --exclude External
notifications:
email: false
<|file_sep|>current/.travis.yml
language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- sleep 5
- coveralls --exclude cmake --exclude External
notifications:
email: false
<|file_sep|>updated/.travis.yml
language: cpp
install:
- wget https://dl.dropboxusercontent.com/u/15529534/cmake-2.8.12.tgz
- tar -xf cmake-2.8.12.tgz
- sudo cp -r cmake/* /usr
- cmake --version
- sudo pip install cpp-coveralls
script: cmake -DCOVERAGE=true . && make && make test
after_success:
- coveralls --exclude cmake --exclude External
notifications:
email: false | 3daedfebee7cdd68471aab1e6f87af98fa343173 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
sqlviz
========
[](https://travis-ci.org/hawkw/sqlgraph)
Quick SQL schema analysis & visualization in Python
<|file_sep|>current/README.md
sqlviz
========
[](https://travis-ci.org/hawkw/sqlgraph)
Quick SQL schema analysis & visualization in Python
<|file_sep|>updated/README.md | sqlviz
========
[](https://travis-ci.org/hawkw/sqlviz)
Quick SQL schema analysis & visualization in Python | <|file_sep|>original/README.md
sqlviz
========
[](https://travis-ci.org/hawkw/sqlgraph)
Quick SQL schema analysis & visualization in Python
<|file_sep|>current/README.md
sqlviz
========
[](https://travis-ci.org/hawkw/sqlgraph)
Quick SQL schema analysis & visualization in Python
<|file_sep|>updated/README.md
sqlviz
========
[](https://travis-ci.org/hawkw/sqlviz)
Quick SQL schema analysis & visualization in Python | 4fbacc78eedb8ab0c65a03bbb243c43e460376a1 | README.md | README.md | Markdown |
<|file_sep|>original/lib/migrate.rb
require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 1
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) }
<|file_sep|>current/lib/migrate.rb
require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 1
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) }
<|file_sep|>updated/lib/migrate.rb | require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 2
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) } | <|file_sep|>original/lib/migrate.rb
require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 1
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) }
<|file_sep|>current/lib/migrate.rb
require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 1
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) }
<|file_sep|>updated/lib/migrate.rb
require_relative 'migration_helpers'
# Since we've designed metrics/docs tables to revolve around
# the pods table, but be independent of each other, we can
# run all trunk migrations first, then all others.
#
migrate_to :trunk, version: 13
# These next few lines mark the current production migration versions.
#
# Important:
# Update and push only just before you are going to migrate in production.
#
migrate_to :metrics, version: 5
migrate_to :cocoadocs, version: 10
migrate_to :stats, version: 2
# Write the resulting schema into a file.
#
File.open('migrations/schema.txt', 'w') { |file| file.write(schema) } | 35ddb04e4e84b2a20425160ee3ad511257dd4b34 | lib/migrate.rb | lib/migrate.rb | Ruby |
<|file_sep|>README.md.diff
original:
https://github.com/AppliedLogicSystems/ALSProlog.git
updated:
https://github.com/AppliedLogicSystems/ALSProlog
<|file_sep|>original/README.md
The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog.git
Build Instructions
------------------
Use 'git clone https://github.com/AppliedLogicSystems/ALSProlog.git' to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog
<|file_sep|>current/README.md
The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog
Build Instructions
------------------
Use 'git clone https://github.com/AppliedLogicSystems/ALSProlog.git' to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog
<|file_sep|>updated/README.md | The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog
Build Instructions
------------------
Use `git clone https://github.com/AppliedLogicSystems/ALSProlog.git` to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog | <|file_sep|>README.md.diff
original:
https://github.com/AppliedLogicSystems/ALSProlog.git
updated:
https://github.com/AppliedLogicSystems/ALSProlog
<|file_sep|>original/README.md
The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog.git
Build Instructions
------------------
Use 'git clone https://github.com/AppliedLogicSystems/ALSProlog.git' to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog
<|file_sep|>current/README.md
The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog
Build Instructions
------------------
Use 'git clone https://github.com/AppliedLogicSystems/ALSProlog.git' to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog
<|file_sep|>updated/README.md
The ALS Prolog source tree is divided into core and peripheral
directories. The core directory contains the source for the Prolog
compiler, runtime, and IDE. The peripheral directories contain manuals,
examples, extensions, etc. The tree is hosted on GitHub at
https://github.com/AppliedLogicSystems/ALSProlog
Build Instructions
------------------
Use `git clone https://github.com/AppliedLogicSystems/ALSProlog.git` to obtain the tree.
**Unix, include Mac OS X:**
Locate yourself in the toplevel 'unix' directory in the tree, and execute 'make'. When the build completes, you will find a folder
unix/linux/als-prolog
or
unix/darwin/als-prolog
or possibly
unix/<flavor>/als-prolog | 20902238c22bfe5022194fde85f13220323707b8 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.4.zip
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0
<|file_sep|>current/requirements.txt
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.4.zip
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0
<|file_sep|>updated/requirements.txt | Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
mysql-connector-python-rf==2.2.2
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0 | <|file_sep|>original/requirements.txt
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.4.zip
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0
<|file_sep|>current/requirements.txt
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.4.zip
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0
<|file_sep|>updated/requirements.txt
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
mysql-connector-python-rf==2.2.2
psycopg2==2.7.1
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0 | 190a1f62ad490d78e7a7be3180a03193704ae24e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java
<|file_sep|>current/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java
<|file_sep|>updated/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java | package com.orientechnologies.orient.core.sql.executor;
import com.orientechnologies.orient.core.db.*;
import com.orientechnologies.orient.core.metadata.security.OSecurityInternal;
import com.orientechnologies.orient.core.metadata.security.OSecurityPolicy;
import org.junit.*;
/**
* @author Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)
*/
public class OAlterSecurityPolicyStatementExecutionTest {
static OrientDB orient;
private ODatabaseSession db;
@BeforeClass
public static void beforeClass() {
orient = new OrientDB("plocal:.", OrientDBConfig.defaultConfig());
}
@AfterClass
public static void afterClass() { | <|file_sep|>original/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java
<|file_sep|>current/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java
<|file_sep|>updated/core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java
package com.orientechnologies.orient.core.sql.executor;
import com.orientechnologies.orient.core.db.*;
import com.orientechnologies.orient.core.metadata.security.OSecurityInternal;
import com.orientechnologies.orient.core.metadata.security.OSecurityPolicy;
import org.junit.*;
/**
* @author Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)
*/
public class OAlterSecurityPolicyStatementExecutionTest {
static OrientDB orient;
private ODatabaseSession db;
@BeforeClass
public static void beforeClass() {
orient = new OrientDB("plocal:.", OrientDBConfig.defaultConfig());
}
@AfterClass
public static void afterClass() { | 76a987ebe0d087de46ade1f9a7c9ca88e9ff4ab1 | core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java | core/src/test/java/com/orientechnologies/orient/core/sql/executor/OAlterSecurityPolicyStatementExecutionTest.java | Java |
<|file_sep|>original/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py
SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + MAIL_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls()
<|file_sep|>current/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py
SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + MAIL_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls()
<|file_sep|>updated/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py | SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + SMTP_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls() | <|file_sep|>original/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py
SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + MAIL_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls()
<|file_sep|>current/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py
SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + MAIL_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls()
<|file_sep|>updated/Function_blocks_Advanced/EPC_Email_Notification/email_notification.py
SMTP_USERNAME = 'yourname@server.com' #your login name, e.g. yourname@gmail.com
SMTP_PASSWORD = 'yourpassword' #CAUTION: This is stored in plain text!
#notification recipient and content
recipient = 'notification@recipient.com'
subject = 'Event notification [REX Control System]'
emailText = 'This is to inform you that an event ocurred.'
emailText = "" + emailText + ""
headers = ["From: " + SMTP_USERNAME,
"Subject: " + subject,
"To: " + recipient,
"MIME-Version: 1.0",
"Content-Type: text/html"]
headers = "\r\n".join(headers)
session = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
session.ehlo()
session.starttls() | 34e78e686b967bbc6d3cc64786b5d12757210e87 | Function_blocks_Advanced/EPC_Email_Notification/email_notification.py | Function_blocks_Advanced/EPC_Email_Notification/email_notification.py | Python |
<|file_sep|>original/packages/plugin-express/types/bugsnag-express.d.ts
import { Bugsnag } from '@bugsnag/node'
declare const bugsnagPluginExpress: Bugsnag.Plugin
export default bugsnagPluginExpress
<|file_sep|>current/packages/plugin-express/types/bugsnag-express.d.ts
import { Bugsnag } from '@bugsnag/node'
declare const bugsnagPluginExpress: Bugsnag.Plugin
export default bugsnagPluginExpress
<|file_sep|>updated/packages/plugin-express/types/bugsnag-express.d.ts | import { Plugin } from '@bugsnag/node'
declare const bugsnagPluginExpress: Plugin
export default bugsnagPluginExpress | <|file_sep|>original/packages/plugin-express/types/bugsnag-express.d.ts
import { Bugsnag } from '@bugsnag/node'
declare const bugsnagPluginExpress: Bugsnag.Plugin
export default bugsnagPluginExpress
<|file_sep|>current/packages/plugin-express/types/bugsnag-express.d.ts
import { Bugsnag } from '@bugsnag/node'
declare const bugsnagPluginExpress: Bugsnag.Plugin
export default bugsnagPluginExpress
<|file_sep|>updated/packages/plugin-express/types/bugsnag-express.d.ts
import { Plugin } from '@bugsnag/node'
declare const bugsnagPluginExpress: Plugin
export default bugsnagPluginExpress | cdf0bce0d23d03988b34bec93a9d8eb81a7d4b71 | packages/plugin-express/types/bugsnag-express.d.ts | packages/plugin-express/types/bugsnag-express.d.ts | TypeScript |
<|file_sep|>inonemonth/static/css/stage-indicator.css.diff
original:
position:relative;
updated:
<|file_sep|>original/inonemonth/static/css/stage-indicator.css
top:auto;
}
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:absolute;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
<|file_sep|>current/inonemonth/static/css/stage-indicator.css
}
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:absolute;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
}
<|file_sep|>updated/inonemonth/static/css/stage-indicator.css | }
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:fixed;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
} | <|file_sep|>inonemonth/static/css/stage-indicator.css.diff
original:
position:relative;
updated:
<|file_sep|>original/inonemonth/static/css/stage-indicator.css
top:auto;
}
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:absolute;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
<|file_sep|>current/inonemonth/static/css/stage-indicator.css
}
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:absolute;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
}
<|file_sep|>updated/inonemonth/static/css/stage-indicator.css
}
#stage-indicator {
position:absolute;
display:block;
top:0;
left:0;
width:200px;
overflow:hidden;
height:200px;
}
#stage-indicator a {
width:200px;
position:fixed;
top:60px;
left:-60px;
transform:rotate(-45deg);
-webkit-transform:rotate(-45deg);
box-shadow:4px 4px 10px rgba(0,0,0,0.8);
} | 52f4669effa5cb6f4ae3fc469f4cc2280f96bb5f | inonemonth/static/css/stage-indicator.css | inonemonth/static/css/stage-indicator.css | CSS |
<|file_sep|>original/gitconfig.erb
[core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
[merge]
<|file_sep|>current/gitconfig.erb
[core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
[merge]
<|file_sep|>updated/gitconfig.erb | [core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
pt = !git tag -l | xargs git tag -d && git fetch -t
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
| <|file_sep|>original/gitconfig.erb
[core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
[merge]
<|file_sep|>current/gitconfig.erb
[core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
[merge]
<|file_sep|>updated/gitconfig.erb
[core]
excludesfile = /home/cristian/.gitignore
editor = vim
[alias]
co = checkout
nff = merge --no-ff
prune-all = remote prune origin
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
pt = !git tag -l | xargs git tag -d && git fetch -t
[mergetool]
keepBackup = false
[rerere]
enabled = 1
[push]
default = tracking
| 5c5e5679b33e481c5b81f838afe23fc446712361 | gitconfig.erb | gitconfig.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
- '4.2'
- '5.1'
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install
- npm install istanbul coveralls | 420d4810d030111e8b9e52941d01f9bcf52f436a | .travis.yml | .travis.yml | YAML |
<|file_sep|>quilt/__init__.py.diff
original:
updated:
""" A python implementation of quilt """
<|file_sep|>original/quilt/__init__.py
# python-quilt - A Python implementation of the quilt patch system
#
# Copyright (C) 2012 Björn Ricks <bjoern.ricks@googlemail.com>
#
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
<|file_sep|>current/quilt/__init__.py
# Copyright (C) 2012 Björn Ricks <bjoern.ricks@googlemail.com>
#
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
""" A python implementation of quilt """
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
<|file_sep|>updated/quilt/__init__.py | #
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
""" A python implementation of quilt """
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
| <|file_sep|>quilt/__init__.py.diff
original:
updated:
""" A python implementation of quilt """
<|file_sep|>original/quilt/__init__.py
# python-quilt - A Python implementation of the quilt patch system
#
# Copyright (C) 2012 Björn Ricks <bjoern.ricks@googlemail.com>
#
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
<|file_sep|>current/quilt/__init__.py
# Copyright (C) 2012 Björn Ricks <bjoern.ricks@googlemail.com>
#
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
""" A python implementation of quilt """
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
<|file_sep|>updated/quilt/__init__.py
#
# 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 2.1 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
""" A python implementation of quilt """
__version_info__ = ("0", "1", "dev1")
__version__ = '.'.join(__version_info__)
| 9261db252969c69ede633d4a4c02bb87c7bc1434 | quilt/__init__.py | quilt/__init__.py | Python |
<|file_sep|>src/js/components/interests/CardContentList.js.diff
original:
if (this.props.onReport) {
this.props.onReport(contentId, reason);
}
updated:
this.props.onReport(contentId, reason);
<|file_sep|>src/js/components/interests/CardContentList.js.diff
original:
const {contents, userId, otherUserId, onClickHandler} = this.props;
updated:
const {contents, userId, otherUserId} = this.props;
<|file_sep|>original/src/js/components/interests/CardContentList.js
super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
if (this.props.onReport) {
this.props.onReport(contentId, reason);
}
}
render() {
const {contents, userId, otherUserId, onClickHandler} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.onReport}/>)}
</div>
);
<|file_sep|>current/src/js/components/interests/CardContentList.js
super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
this.props.onReport(contentId, reason);
}
render() {
const {contents, userId, otherUserId} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.onReport}/>)}
</div>
);
}
}
<|file_sep|>updated/src/js/components/interests/CardContentList.js | super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
this.props.onReport(contentId, reason);
}
render() {
const {contents, userId, otherUserId} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.props.onReport ? this.onReport : null}/>)}
</div>
);
}
} | <|file_sep|>src/js/components/interests/CardContentList.js.diff
original:
if (this.props.onReport) {
this.props.onReport(contentId, reason);
}
updated:
this.props.onReport(contentId, reason);
<|file_sep|>src/js/components/interests/CardContentList.js.diff
original:
const {contents, userId, otherUserId, onClickHandler} = this.props;
updated:
const {contents, userId, otherUserId} = this.props;
<|file_sep|>original/src/js/components/interests/CardContentList.js
super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
if (this.props.onReport) {
this.props.onReport(contentId, reason);
}
}
render() {
const {contents, userId, otherUserId, onClickHandler} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.onReport}/>)}
</div>
);
<|file_sep|>current/src/js/components/interests/CardContentList.js
super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
this.props.onReport(contentId, reason);
}
render() {
const {contents, userId, otherUserId} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.onReport}/>)}
</div>
);
}
}
<|file_sep|>updated/src/js/components/interests/CardContentList.js
super(props);
this.onReport = this.onReport.bind(this);
}
onReport(contentId, reason) {
this.props.onReport(contentId, reason);
}
render() {
const {contents, userId, otherUserId} = this.props;
return (
<div className="content-list">
{contents.map((content, index) => <CardContent key={index} hideLikeButton={false} {...content} loggedUserId={userId} otherUserId={otherUserId}
embed_id={content.embed ? content.embed.id : null} embed_type={content.embed ? content.embed.type : null}
fixedHeight={true}
onReport={this.props.onReport ? this.onReport : null}/>)}
</div>
);
}
} | f677fef8a3474eacd62a22ddedc25a3c91ec9c3f | src/js/components/interests/CardContentList.js | src/js/components/interests/CardContentList.js | JavaScript |
<|file_sep|>original/app/styles/layout/_layout.scss
body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 40px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
}
<|file_sep|>current/app/styles/layout/_layout.scss
body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 40px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
}
<|file_sep|>updated/app/styles/layout/_layout.scss | body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 48px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
} | <|file_sep|>original/app/styles/layout/_layout.scss
body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 40px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
}
<|file_sep|>current/app/styles/layout/_layout.scss
body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 40px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
}
<|file_sep|>updated/app/styles/layout/_layout.scss
body {
margin: 0;
margin-bottom: 40px;
}
// scss-lint:disable IdSelector
#site-container {
@include outer-container;
padding-left: 48px;
.fullwidth {
@include span-columns(12);
}
.halfwidth {
@include span-columns(5);
}
} | 2bec5c1c119185fa21b8f31a23e4cfe418b53c7d | app/styles/layout/_layout.scss | app/styles/layout/_layout.scss | SCSS |
<|file_sep|>tox.ini.diff
original:
flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics
updated:
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
<|file_sep|>original/tox.ini
[testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
<|file_sep|>current/tox.ini
[testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
<|file_sep|>updated/tox.ini | [testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 telethon/ telethon_generator/ tests/ --count --exit-zero --exclude telethon/tl/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics | <|file_sep|>tox.ini.diff
original:
flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics
updated:
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
<|file_sep|>original/tox.ini
[testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
<|file_sep|>current/tox.ini
[testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics
<|file_sep|>updated/tox.ini
[testenv]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
commands =
# NOTE: you can run any command line tool here - not just tests
pytest {posargs}
# run with tox -e flake
[testenv:flake]
deps =
-rrequirements.txt
-roptional-requirements.txt
-rdev-requirements.txt
flake8
commands =
# stop the build if there are Python syntax errors or undefined names
flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 telethon/ telethon_generator/ tests/ --count --exit-zero --exclude telethon/tl/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics | 86bb4b4e6c5ed3a92c5aed68c7c31bc5ef2a46ce | tox.ini | tox.ini | INI |
<|file_sep|>original/package.json
{
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "5.9.5",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7",
<|file_sep|>current/package.json
{
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "5.9.5",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7",
<|file_sep|>updated/package.json | {
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "^5.10.0",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7", | <|file_sep|>original/package.json
{
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "5.9.5",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7",
<|file_sep|>current/package.json
{
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "5.9.5",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7",
<|file_sep|>updated/package.json
{
"name": "hello-push-cloud",
"version": "0.1.0",
"dependencies": {
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"express": "~4.0.0",
"fh-mbaas-api": "^5.10.0",
"request": "~2.40.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-watch": "latest",
"grunt-env": "~0.4.1",
"grunt-node-inspector": "~0.1.5",
"grunt-nodemon": "0.2.0",
"grunt-open": "~0.2.3",
"grunt-plato": "~1.0.0",
"grunt-shell": "^0.7.0",
"istanbul": "0.2.7", | dccfe8395f1374290e7c846a83ad82bee49a6020 | package.json | package.json | JSON |
<|file_sep|>S14-roles/stubs.t.diff
original:
plan 8;
updated:
plan 9;
<|file_sep|>original/S14-roles/stubs.t
#?pugs todo
dies_ok { eval 'class A does WithStub { }' },
'need to implement stubbed methods at role-into-class composition time';
lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
<|file_sep|>current/S14-roles/stubs.t
#?pugs todo
dies_ok { eval 'class A does WithStub { }' },
'need to implement stubbed methods at role-into-class composition time';
lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
<|file_sep|>updated/S14-roles/stubs.t | lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
class HasA { has $.a }
lives_ok { eval 'class RT115212Child is HasA does WithStub { }' }, 'stubbed method can come from accessor in parent class'; | <|file_sep|>S14-roles/stubs.t.diff
original:
plan 8;
updated:
plan 9;
<|file_sep|>original/S14-roles/stubs.t
#?pugs todo
dies_ok { eval 'class A does WithStub { }' },
'need to implement stubbed methods at role-into-class composition time';
lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
<|file_sep|>current/S14-roles/stubs.t
#?pugs todo
dies_ok { eval 'class A does WithStub { }' },
'need to implement stubbed methods at role-into-class composition time';
lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
<|file_sep|>updated/S14-roles/stubs.t
lives_ok { eval 'role B does WithStub { }' },
'but roles are fine';
lives_ok { eval 'class C does WithStub { method a() { 3 } }' },
'directly implementing the stubbed method is fine';
lives_ok { eval 'class D does WithStub does ProvidesStub1 { }' },
'composing the stubbed method is fine';
#?pugs todo
dies_ok { eval 'class E does WithStub does ProvidesStub1 does ProvidesStub2 { }' },
'composing stub and 2 implementations dies again';
lives_ok { eval 'class F does WithStub does ProvidesStub1 does ProvidesStub2 {
method a() { 4 } }' },
'composing stub and 2 implementations allows custom implementation';
class ProvidesA { method a() { 5 } };
lives_ok { eval 'class ChildA is ProvidesA does WithStub { }' },
'stubbed method can come from parent class too';
lives_ok { eval 'class RT115212 does WithStub { has $.a }' }, 'stubbed method can come from accessor';
class HasA { has $.a }
lives_ok { eval 'class RT115212Child is HasA does WithStub { }' }, 'stubbed method can come from accessor in parent class'; | e248ff0cc404264367e4a6fbe9e984e1e7699c63 | S14-roles/stubs.t | S14-roles/stubs.t | Perl |
<|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0
<|file_sep|>current/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0
<|file_sep|>updated/test-requirements.txt | # The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0.1,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0 | <|file_sep|>original/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0
<|file_sep|>current/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0
<|file_sep|>updated/test-requirements.txt
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Metrics and style
hacking>=3.0.1,<3.1.0 # Apache-2.0
# Packaging
mock>=2.0.0 # BSD
# Backends
redis>=3.0.0 # MIT
pymongo>=3.6.0 # Apache-2.0
python-swiftclient>=3.2.0 # Apache-2.0
websocket-client>=0.44.0 # LGPLv2+
PyMySQL>=0.8.0 # MIT License
# Unit testing
coverage!=4.4,>=4.0 # Apache-2.0
cryptography>=2.7 # BSD/Apache-2.0
ddt>=1.0.1 # MIT
doc8>=0.8.1 # Apache-2.0 | 0c7e97bdac1694f9eac7c8ceb179032b60aef738 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/docs/_config.yml
title: Dotty Documentation
baseurl: "/dotty"
theme: minima
gems:
- jekyll-toc
<|file_sep|>current/docs/_config.yml
title: Dotty Documentation
baseurl: "/dotty"
theme: minima
gems:
- jekyll-toc
<|file_sep|>updated/docs/_config.yml | title: Dotty Documentation
baseurl: "/"
theme: minima
gems:
- jekyll-toc | <|file_sep|>original/docs/_config.yml
title: Dotty Documentation
baseurl: "/dotty"
theme: minima
gems:
- jekyll-toc
<|file_sep|>current/docs/_config.yml
title: Dotty Documentation
baseurl: "/dotty"
theme: minima
gems:
- jekyll-toc
<|file_sep|>updated/docs/_config.yml
title: Dotty Documentation
baseurl: "/"
theme: minima
gems:
- jekyll-toc | 21d94efc19618b2049fe135b27659df44f7d0be2 | docs/_config.yml | docs/_config.yml | YAML |
<|file_sep|>scripts/prepare-install4j.sh.diff
original:
if [ ! -f install4j_unix_6_1_1.tar.gz ]; then
wget --quiet http://download-aws.ej-technologies.com/install4j/install4j_unix_6_1_1.tar.gz
fi;
updated:
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
<|file_sep|>original/scripts/prepare-install4j.sh
# ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
if [ ! -f install4j_unix_6_1_1.tar.gz ]; then
wget --quiet http://download-aws.ej-technologies.com/install4j/install4j_unix_6_1_1.tar.gz
fi;
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_1.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
<|file_sep|>current/scripts/prepare-install4j.sh
# ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_1.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/windows-amd64-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/macosx-amd64-1.8.0_112_unpacked.tar.gz
<|file_sep|>updated/scripts/prepare-install4j.sh | # ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_3.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/windows-amd64-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/macosx-amd64-1.8.0_112_unpacked.tar.gz | <|file_sep|>scripts/prepare-install4j.sh.diff
original:
if [ ! -f install4j_unix_6_1_1.tar.gz ]; then
wget --quiet http://download-aws.ej-technologies.com/install4j/install4j_unix_6_1_1.tar.gz
fi;
updated:
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
<|file_sep|>original/scripts/prepare-install4j.sh
# ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
if [ ! -f install4j_unix_6_1_1.tar.gz ]; then
wget --quiet http://download-aws.ej-technologies.com/install4j/install4j_unix_6_1_1.tar.gz
fi;
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_1.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
<|file_sep|>current/scripts/prepare-install4j.sh
# ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_1.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/windows-amd64-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/macosx-amd64-1.8.0_112_unpacked.tar.gz
<|file_sep|>updated/scripts/prepare-install4j.sh
# ensure that downloads directory exists
if [ ! -d ~/downloads ]; then
mkdir ~/downloads
fi
# ensure that tar archive of install4j exists
cd ~/downloads
wget --quiet -nc http://download-keycdn.ej-technologies.com/install4j/install4j_unix_6_1_3.tar.gz
# extract tar archive of install4j into the source directory of JabRef
cd ~/jabref
tar -xzf ~/downloads/install4j_unix_6_1_3.tar.gz
# fetch JREs
if [ ! -d ~/.install4j6/jres/ ]; then
mkdir -p ~/.install4j6/jres/
fi
cd ~/.install4j6/jres/
wget --quiet -nc http://files.jabref.org/jres/windows-x86-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/windows-amd64-1.8.0_112.tar.gz
wget --quiet -nc http://files.jabref.org/jres/macosx-amd64-1.8.0_112_unpacked.tar.gz | b84b13830d3d44dd9fef650222852704afd0a284 | scripts/prepare-install4j.sh | scripts/prepare-install4j.sh | Shell |
<|file_sep|>original/src/components/notification/index.js
import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-bottom-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({
<|file_sep|>current/src/components/notification/index.js
import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-bottom-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({
<|file_sep|>updated/src/components/notification/index.js | import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-top-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({ | <|file_sep|>original/src/components/notification/index.js
import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-bottom-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({
<|file_sep|>current/src/components/notification/index.js
import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-bottom-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({
<|file_sep|>updated/src/components/notification/index.js
import { use, registerComponent, registerComponentProgrammatic } from '../../utils/plugins'
const NotificationProgrammatic = {
open(params) {
let message
let parent
if (typeof params === 'string') message = params
const defaultParam = {
message,
position: config.defaultNotificationPosition || 'is-top-right'
}
if (params.parent) {
parent = params.parent
delete params.parent
}
const propsData = Object.assign(defaultParam, typeof params === 'string' ? {} : params)
const vm = typeof window !== 'undefined' && window.Vue ? window.Vue : Vue
const NotificationNoticeComponent = vm.extend(NotificationNotice)
return new NotificationNoticeComponent({ | fd1d851226a3cef8bb9fa6e9d5a80dcad74c139d | src/components/notification/index.js | src/components/notification/index.js | JavaScript |
<|file_sep|>original/scripts/docker_setup.sh
#!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
cd openprescribing/media/js
npm install -s
<|file_sep|>current/scripts/docker_setup.sh
#!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
cd openprescribing/media/js
npm install -s
<|file_sep|>updated/scripts/docker_setup.sh | #!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
mkdir logs
cd openprescribing/media/js
npm install -s | <|file_sep|>original/scripts/docker_setup.sh
#!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
cd openprescribing/media/js
npm install -s
<|file_sep|>current/scripts/docker_setup.sh
#!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
cd openprescribing/media/js
npm install -s
<|file_sep|>updated/scripts/docker_setup.sh
#!/bin/bash
# Commands that should be run before starting a docker-based
# application session via docker-compose
python ./scripts/wait_for_postgres.py
pip install -q -r requirements/$1.txt
if ! [ -r openprescribing/media/js/node_modules ]; then
ln -s /npm/node_modules openprescribing/media/js/
else
echo "NOTICE: node_modules already exists in repo; refusing to use the node_modules provided by the docker image"
fi
mkdir logs
cd openprescribing/media/js
npm install -s | 10b35d90b4bb83dc17573ce018def2a5b3d7fb8b | scripts/docker_setup.sh | scripts/docker_setup.sh | Shell |
<|file_sep|>original/README.md
Allows to export [jQuery QueryBuilder](http://mistic100.github.io/jQuery-QueryBuilder) rules as an Elasticsearch [bool query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html).
### Dependencies
* jQuery QueryBuilder >= 2.0
## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
<|file_sep|>current/README.md
Allows to export [jQuery QueryBuilder](http://mistic100.github.io/jQuery-QueryBuilder) rules as an Elasticsearch [bool query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html).
### Dependencies
* jQuery QueryBuilder >= 2.0
## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
<|file_sep|>updated/README.md | ## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
## Dev
### Run tests
$ grunt test --verbose | <|file_sep|>original/README.md
Allows to export [jQuery QueryBuilder](http://mistic100.github.io/jQuery-QueryBuilder) rules as an Elasticsearch [bool query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html).
### Dependencies
* jQuery QueryBuilder >= 2.0
## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
<|file_sep|>current/README.md
Allows to export [jQuery QueryBuilder](http://mistic100.github.io/jQuery-QueryBuilder) rules as an Elasticsearch [bool query](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html).
### Dependencies
* jQuery QueryBuilder >= 2.0
## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
<|file_sep|>updated/README.md
## Usage
The plugin adds a new public method to all QueryBuilder instances.
### getESBool
Performs validation and returns the rules as a valid Elasticsearch bool query.
```js
var esQuery = $('#builder').queryBuilder('getESBool');
```
### Operators configuration
The Elasticsearch plugin requires special configuration for operators to convert rules. This configuration is stored in the ```ESBoolOperators``` option, see the source code for more details.
## Dev
### Run tests
$ grunt test --verbose | 67f25cc4a6bb9ea99469a6e8a3daf13cb92de303 | README.md | README.md | Markdown |
<|file_sep|>original/packages/te/tehepero.yaml
<|file_sep|>current/packages/te/tehepero.yaml
<|file_sep|>updated/packages/te/tehepero.yaml | homepage: ''
changelog-type: markdown
hash: 2c0f4e6413b9195323ce99ee97e3c0abbbb97e5e324397d35360e0c6bc7731c2
test-bench-deps: {}
maintainer: fumiexcel@gmail.com
synopsis: Prettier error
changelog: |
# Revision history for tehepero
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
exceptions: -any
base: '>=4.12.0.0 && <4.15'
fallible: -any
prettyprinter: -any
prettyprinter-ansi-terminal: -any
all-versions:
- '0'
author: Fumiaki Kinoshita | <|file_sep|>original/packages/te/tehepero.yaml
<|file_sep|>current/packages/te/tehepero.yaml
<|file_sep|>updated/packages/te/tehepero.yaml
homepage: ''
changelog-type: markdown
hash: 2c0f4e6413b9195323ce99ee97e3c0abbbb97e5e324397d35360e0c6bc7731c2
test-bench-deps: {}
maintainer: fumiexcel@gmail.com
synopsis: Prettier error
changelog: |
# Revision history for tehepero
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
basic-deps:
exceptions: -any
base: '>=4.12.0.0 && <4.15'
fallible: -any
prettyprinter: -any
prettyprinter-ansi-terminal: -any
all-versions:
- '0'
author: Fumiaki Kinoshita | dea8eb4d08dd61fdd5a1c8acb16a9bbae0b3e29c | packages/te/tehepero.yaml | packages/te/tehepero.yaml | YAML |
<|file_sep|>original/CMakeLists.txt
project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (iniparser)
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries")
<|file_sep|>current/CMakeLists.txt
project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (iniparser)
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries")
<|file_sep|>updated/CMakeLists.txt | project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (${PROJECT_NAME})
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries") | <|file_sep|>original/CMakeLists.txt
project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (iniparser)
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries")
<|file_sep|>current/CMakeLists.txt
project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (iniparser)
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries")
<|file_sep|>updated/CMakeLists.txt
project (iniparser C)
add_library (${PROJECT_NAME} iniparser.c)
IF (MSVC)
find_package (MSVC MODULE)
MSVC_CRT_SECURE_NO_WARNINGS (${PROJECT_NAME})
ENDIF (MSVC)
set (INIPARSER_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "IniParser headers")
set (INIPARSER_LIBRARIES iniparser CACHE INTERNAL "IniParser libraries") | 53f3635c6d7c52c6857d5cdf8748967118596d22 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/themes/novel/layouts/note/single.html
<section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }}
<li><a class="u-syndication" href="{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ if $webmentions }}{{ partial "mention-count" $webmentions }}{{ end }}
{{ if $webmentions }}{{ partial "conversation" $webmentions }}{{ end }}
<|file_sep|>current/themes/novel/layouts/note/single.html
<section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }}
<li><a class="u-syndication" href="{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ if $webmentions }}{{ partial "mention-count" $webmentions }}{{ end }}
{{ if $webmentions }}{{ partial "conversation" $webmentions }}{{ end }}
<|file_sep|>updated/themes/novel/layouts/note/single.html | <section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ with .Params.series }}
<div>
Part of the series
{{ range . }}<a class="p-category" href="/series/{{ . | urlize }}">{{ . }}</a>{{ end }}
</div>
{{ end }}
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }} | <|file_sep|>original/themes/novel/layouts/note/single.html
<section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }}
<li><a class="u-syndication" href="{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ if $webmentions }}{{ partial "mention-count" $webmentions }}{{ end }}
{{ if $webmentions }}{{ partial "conversation" $webmentions }}{{ end }}
<|file_sep|>current/themes/novel/layouts/note/single.html
<section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }}
<li><a class="u-syndication" href="{{ . }}">{{ . }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ if $webmentions }}{{ partial "mention-count" $webmentions }}{{ end }}
{{ if $webmentions }}{{ partial "conversation" $webmentions }}{{ end }}
<|file_sep|>updated/themes/novel/layouts/note/single.html
<section class="note h-entry">
<p class="note-content p-content">{{ .Content | markdownify }}</p>
<p class="meta-info">Published
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "Jan 02, 2006 15:04:05 MST" }}
</time>
</p>
{{ with .Params.series }}
<div>
Part of the series
{{ range . }}<a class="p-category" href="/series/{{ . | urlize }}">{{ . }}</a>{{ end }}
</div>
{{ end }}
{{ if .Params.syndicated }}
<h2>This post syndicated to:</h2>
<ul>
{{ range .Params.syndicated }} | d0533bd8e91036d5479fd8f65d8016fbd40fde9b | themes/novel/layouts/note/single.html | themes/novel/layouts/note/single.html | HTML |
<|file_sep|>original/content/themes/cameraman/index.hbs
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="40"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}}
<|file_sep|>current/content/themes/cameraman/index.hbs
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="40"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}}
<|file_sep|>updated/content/themes/cameraman/index.hbs | <div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="30"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}} | <|file_sep|>original/content/themes/cameraman/index.hbs
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="40"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}}
<|file_sep|>current/content/themes/cameraman/index.hbs
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="40"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}}
<|file_sep|>updated/content/themes/cameraman/index.hbs
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
<div class="photo-thumbnail-overlay">
<a href="{{url}}">
<div class="photo-thumbnail-overlay-inner">
<h2 class="photo-thumbnail-overlay-title">{{title}}</h2>
<hr>
<div class="photo-thumbnail-overlay-caption">
{{excerpt words="30"}}...
</div>
</div>
</a>
</div>
</article>
{{/foreach}}
</section>
{{pagination}} | aa785f07cc0226d90b95bf62c1a9d41537facc67 | content/themes/cameraman/index.hbs | content/themes/cameraman/index.hbs | Handlebars |
<|file_sep|>.travis.yml.diff
original:
- env: TARGET='-Pjava11'
updated:
- env: TARGET='-Pjava10'
<|file_sep|>.travis.yml.diff
original:
- env: TARGET='-Pjava11'
updated:
- env: TARGET='-Pjava10'
<|file_sep|>original/.travis.yml
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava11'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava11'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
<|file_sep|>current/.travis.yml
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava10'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava10'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
<|file_sep|>updated/.travis.yml |
install: echo "The default Travis install script is being skipped!"
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava10'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava10'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' | <|file_sep|>.travis.yml.diff
original:
- env: TARGET='-Pjava11'
updated:
- env: TARGET='-Pjava10'
<|file_sep|>.travis.yml.diff
original:
- env: TARGET='-Pjava11'
updated:
- env: TARGET='-Pjava10'
<|file_sep|>original/.travis.yml
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava11'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava11'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
<|file_sep|>current/.travis.yml
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava10'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava10'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw verify ${TARGET} -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
<|file_sep|>updated/.travis.yml
install: echo "The default Travis install script is being skipped!"
matrix:
include:
# Java 9
- jdk: oraclejdk9
env: TARGET='-Pjava9'
# Java 10
- env: TARGET='-Pjava10'
jdk: oraclejdk10
# Java 11
- env: TARGET='-Pjava10'
jdk: oraclejdk11
# Java 12
- env: TARGET='-Pjava10'
jdk: openjdk-ea
script:
- ./mvnw install ${TARGET} -DskipTests=true -Dmaven.javadoc.skip=true -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin'
- ./mvnw jacoco:prepare-agent verify jacoco:report ${TARGET} -Pintegration -Dnet.bytebuddy.test.ci=true -pl '!byte-buddy-gradle-plugin' | c57bfc14aff7f2bdc494443ed2b743d26bf3182b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/circle.yml
machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true
<|file_sep|>current/circle.yml
machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true
<|file_sep|>updated/circle.yml | machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
- npm install react@0.13
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true | <|file_sep|>original/circle.yml
machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true
<|file_sep|>current/circle.yml
machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true
<|file_sep|>updated/circle.yml
machine:
node:
version: v0.10.38
dependencies:
pre:
- npm update -g npm
- npm install react@0.13
test:
override:
- $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
- COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true | e2b6a28a5e07d59921572f43183e37e5d216e5b1 | circle.yml | circle.yml | YAML |
<|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'https://128.89.118.100:5002',
updated:
'https://bbn-cam-ctrl-1.gpolab.bbn.com:5002',
<|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'BBN-CAM GRAM (BBN-CAM)',
updated:
'GPO OpenGENI',
<|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'BBN-CAM GRAM Rack (BBN-CAM)',
updated:
'GPO OpenGENI Rack',
<|file_sep|>original/bin/add-gram-bbncam.sql
-- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'BBN-CAM GRAM Rack cert signer (self)',
-- URN
''
);
<|file_sep|>current/bin/add-gram-bbncam.sql
-- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'BBN-CAM GRAM Rack cert signer (self)',
-- URN
''
);
<|file_sep|>updated/bin/add-gram-bbncam.sql | -- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'GPO OpenGENI Rack cert signer (self)',
-- URN
''
); | <|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'https://128.89.118.100:5002',
updated:
'https://bbn-cam-ctrl-1.gpolab.bbn.com:5002',
<|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'BBN-CAM GRAM (BBN-CAM)',
updated:
'GPO OpenGENI',
<|file_sep|>bin/add-gram-bbncam.sql.diff
original:
'BBN-CAM GRAM Rack (BBN-CAM)',
updated:
'GPO OpenGENI Rack',
<|file_sep|>original/bin/add-gram-bbncam.sql
-- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'BBN-CAM GRAM Rack cert signer (self)',
-- URN
''
);
<|file_sep|>current/bin/add-gram-bbncam.sql
-- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'BBN-CAM GRAM Rack cert signer (self)',
-- URN
''
);
<|file_sep|>updated/bin/add-gram-bbncam.sql
-- URN
'urn:publicid:IDN+bbn-cam-ctrl-1.bbn.com+authority+am'
);
insert into service_registry
(service_type, service_url, service_cert, service_name,
service_description, service_urn)
values
( -- TYPE: 7 = CA
7,
-- URL
'',
-- CERT (self signed)
'/usr/share/geni-ch/sr/certs/gr-bbncam-ch.pem',
-- NAME
'',
-- DESCRIPTION
'GPO OpenGENI Rack cert signer (self)',
-- URN
''
); | 080f60766f5e7ed9ad87a82d7dff265f6e464bca | bin/add-gram-bbncam.sql | bin/add-gram-bbncam.sql | SQL |
<|file_sep|>original/test/CodeGen/AArch64/sve-fp.ll
<|file_sep|>current/test/CodeGen/AArch64/sve-fp.ll
<|file_sep|>updated/test/CodeGen/AArch64/sve-fp.ll | ; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
define <vscale x 8 x half> @fadd_h(<vscale x 8 x half> %a, <vscale x 8 x half> %b) {
; CHECK-LABEL: fadd_h:
; CHECK: fadd z0.h, z0.h, z1.h
; CHECK-NEXT: ret
%res = fadd <vscale x 8 x half> %a, %b
ret <vscale x 8 x half> %res
}
define <vscale x 4 x float> @fadd_s(<vscale x 4 x float> %a, <vscale x 4 x float> %b) {
; CHECK-LABEL: fadd_s:
; CHECK: fadd z0.s, z0.s, z1.s
; CHECK-NEXT: ret
%res = fadd <vscale x 4 x float> %a, %b
ret <vscale x 4 x float> %res
}
define <vscale x 2 x double> @fadd_d(<vscale x 2 x double> %a, <vscale x 2 x double> %b) {
; CHECK-LABEL: fadd_d:
; CHECK: fadd z0.d, z0.d, z1.d | <|file_sep|>original/test/CodeGen/AArch64/sve-fp.ll
<|file_sep|>current/test/CodeGen/AArch64/sve-fp.ll
<|file_sep|>updated/test/CodeGen/AArch64/sve-fp.ll
; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s
define <vscale x 8 x half> @fadd_h(<vscale x 8 x half> %a, <vscale x 8 x half> %b) {
; CHECK-LABEL: fadd_h:
; CHECK: fadd z0.h, z0.h, z1.h
; CHECK-NEXT: ret
%res = fadd <vscale x 8 x half> %a, %b
ret <vscale x 8 x half> %res
}
define <vscale x 4 x float> @fadd_s(<vscale x 4 x float> %a, <vscale x 4 x float> %b) {
; CHECK-LABEL: fadd_s:
; CHECK: fadd z0.s, z0.s, z1.s
; CHECK-NEXT: ret
%res = fadd <vscale x 4 x float> %a, %b
ret <vscale x 4 x float> %res
}
define <vscale x 2 x double> @fadd_d(<vscale x 2 x double> %a, <vscale x 2 x double> %b) {
; CHECK-LABEL: fadd_d:
; CHECK: fadd z0.d, z0.d, z1.d | df0575511d9180b70aaf61c05b62b176e7951ef2 | test/CodeGen/AArch64/sve-fp.ll | test/CodeGen/AArch64/sve-fp.ll | LLVM |
<|file_sep|>original/unit3/prob2/Subset.java
<|file_sep|>current/unit3/prob2/Subset.java
<|file_sep|>updated/unit3/prob2/Subset.java | import java.util.Scanner;
/**
* This program determines if two entered strings are subsets of each other.
**/
public class Subset {
public static boolean contains(String a, String b) {
int count = 0;
for (int i = 0; i < a.length(); i++) {
for (int j = 0; j < b.length(); j++) {
if (a.charAt(i) == b.charAt(j)) {
count++;
}
}
}
if (a.length() == count) {
return true;
} else {
return false; | <|file_sep|>original/unit3/prob2/Subset.java
<|file_sep|>current/unit3/prob2/Subset.java
<|file_sep|>updated/unit3/prob2/Subset.java
import java.util.Scanner;
/**
* This program determines if two entered strings are subsets of each other.
**/
public class Subset {
public static boolean contains(String a, String b) {
int count = 0;
for (int i = 0; i < a.length(); i++) {
for (int j = 0; j < b.length(); j++) {
if (a.charAt(i) == b.charAt(j)) {
count++;
}
}
}
if (a.length() == count) {
return true;
} else {
return false; | baa16e6e6be861489c9cd222b056572ed1dec3c6 | unit3/prob2/Subset.java | unit3/prob2/Subset.java | Java |
<|file_sep|>original/app/assets/javascripts/copy.js
Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
}
<|file_sep|>current/app/assets/javascripts/copy.js
Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
}
<|file_sep|>updated/app/assets/javascripts/copy.js | Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
e.trigger.nextElementSibling.focus()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
} | <|file_sep|>original/app/assets/javascripts/copy.js
Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
}
<|file_sep|>current/app/assets/javascripts/copy.js
Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
}
<|file_sep|>updated/app/assets/javascripts/copy.js
Copy.prototype.copyAction = function () {
// Copy to clipboard
try {
new ClipboardJS('.js-copy-button', {
target: function (trigger) {
return trigger.nextElementSibling
}
}).on('success', function (e) {
e.trigger.textContent = 'Code copied'
e.clearSelection()
e.trigger.nextElementSibling.focus()
setTimeout(function () {
e.trigger.textContent = 'Copy code'
}, 5000)
})
} catch (err) {
if (err) {
console.log(err.message)
}
}
} | a4e00e5e09c98db6c927560b6222dd19876529f5 | app/assets/javascripts/copy.js | app/assets/javascripts/copy.js | JavaScript |
<|file_sep|>original/buildouts/stylesheets.cfg
[buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.9
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template
<|file_sep|>current/buildouts/stylesheets.cfg
[buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.9
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template
<|file_sep|>updated/buildouts/stylesheets.cfg | [buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.11
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template | <|file_sep|>original/buildouts/stylesheets.cfg
[buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.9
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template
<|file_sep|>current/buildouts/stylesheets.cfg
[buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.9
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template
<|file_sep|>updated/buildouts/stylesheets.cfg
[buildout]
parts +=
rubygems
compass
compass.min
stylesheets
[rubygems]
recipe = rubygemsrecipe
gems =
sass==3.2.11
compass==0.13.alpha.4
[compass]
recipe = collective.recipe.template
input = ${buildout:directory}/etc/compass.rb.in
output = ${buildout:directory}/etc/compass.rb
mode = 755
[compass.min]
recipe = collective.recipe.template | 47d5d663ae57a82a22203e9163c8c7af0a984974 | buildouts/stylesheets.cfg | buildouts/stylesheets.cfg | INI |
<|file_sep|>original/chrome/browser/resources/options/add_startup_page_overlay.html
<div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input type="url" id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div>
<|file_sep|>current/chrome/browser/resources/options/add_startup_page_overlay.html
<div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input type="url" id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div>
<|file_sep|>updated/chrome/browser/resources/options/add_startup_page_overlay.html | <div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div> | <|file_sep|>original/chrome/browser/resources/options/add_startup_page_overlay.html
<div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input type="url" id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div>
<|file_sep|>current/chrome/browser/resources/options/add_startup_page_overlay.html
<div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input type="url" id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div>
<|file_sep|>updated/chrome/browser/resources/options/add_startup_page_overlay.html
<div class="page hidden" id="addStartupPageOverlay">
<h1 i18n-content="addStartupPageTitle"></h1>
<form id="addStartupPageForm">
<div class="content-area">
<label id="addURLBlock"><span
i18n-content="addStartupPageURLLabel"></span>
<input id="addStartupPageURL"></label>
<list id="addStartupRecentPageList"></list>
</div>
<div class="action-area">
<div class="button-strip">
<button type="reset"
i18n-content="addStartupPageCancelButton"></button>
<button type="submit" id="addStartupPageAddButton" disabled
i18n-content="addStartupPageAddButton"></button>
</div>
</div>
</form>
</div> | c76afea79cf77142ea752ef3367c7e66d0cf6996 | chrome/browser/resources/options/add_startup_page_overlay.html | chrome/browser/resources/options/add_startup_page_overlay.html | HTML |
<|file_sep|>original/features/lib/step_definitions/profile_steps.rb
Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
step 'a file named "cucumber.yml" with:', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end
<|file_sep|>current/features/lib/step_definitions/profile_steps.rb
Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
step 'a file named "cucumber.yml" with:', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end
<|file_sep|>updated/features/lib/step_definitions/profile_steps.rb | Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
write_file 'cucumber.yml', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end | <|file_sep|>original/features/lib/step_definitions/profile_steps.rb
Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
step 'a file named "cucumber.yml" with:', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end
<|file_sep|>current/features/lib/step_definitions/profile_steps.rb
Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
step 'a file named "cucumber.yml" with:', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end
<|file_sep|>updated/features/lib/step_definitions/profile_steps.rb
Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
write_file 'cucumber.yml', profiles
end
Then /^the (.*) profile should be used$/ do |profile|
step 'the stdout should contain:', profile
end
Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.rb)$/).flatten.should == files.split(/,\s+/)
end
Then /^exactly these features should be ran:\s*(.*)$/ do |files|
all_stdout.scan(/^ \* (.*\.feature)$/).flatten.should == files.split(/,\s+/)
end | bac79745ce352ca32c33e33d3047b0175c2f7532 | features/lib/step_definitions/profile_steps.rb | features/lib/step_definitions/profile_steps.rb | Ruby |
<|file_sep|>original/setup.py
from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib'])
<|file_sep|>current/setup.py
from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib'])
<|file_sep|>updated/setup.py | from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
long_description=open('README.rst').read(),
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib']) | <|file_sep|>original/setup.py
from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib'])
<|file_sep|>current/setup.py
from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib'])
<|file_sep|>updated/setup.py
from setuptools import setup
from pybib import __version__
setup(name='pybib',
version=__version__,
description='Fetch citation information, given a Digital Object Identifier',
long_description=open('README.rst').read(),
url='https://github.com/jgilchrist/pybib',
author='Jonny Gilchrist',
packages=['pybib'],
install_requires=[
'requests',
'python-termstyle',
],
scripts=['bin/bib']) | 6a84b18f584c7f9b8a3d7d53605bce5be919b056 | setup.py | setup.py | Python |
<|file_sep|>package.json.diff
original:
"leaflet": "^0.7.3",
updated:
<|file_sep|>original/package.json
"url": "git+https://github.com/makinacorpus/Leaflet.Spin.git"
},
"keywords": [
"Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"leaflet": "^0.7.3",
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
}
<|file_sep|>current/package.json
"url": "git+https://github.com/makinacorpus/Leaflet.Spin.git"
},
"keywords": [
"Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
}
}
<|file_sep|>updated/package.json | "Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
},
"peerDependencies": {
"leaflet": "^0.7.3"
}
} | <|file_sep|>package.json.diff
original:
"leaflet": "^0.7.3",
updated:
<|file_sep|>original/package.json
"url": "git+https://github.com/makinacorpus/Leaflet.Spin.git"
},
"keywords": [
"Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"leaflet": "^0.7.3",
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
}
<|file_sep|>current/package.json
"url": "git+https://github.com/makinacorpus/Leaflet.Spin.git"
},
"keywords": [
"Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
}
}
<|file_sep|>updated/package.json
"Leaflet",
"Leaflet.js",
"Spin.js",
"spinner"
],
"authors": "Makina Corpus (http://makina-corpus.com/)",
"license": "MIT",
"dependencies": {
"spin.js": "^2.3.1"
},
"bugs": {
"url": "https://github.com/makinacorpus/Leaflet.Spin/issues"
},
"homepage": "http://makinacorpus.github.io/Leaflet.Spin/",
"devDependencies": {
"minifier": "^0.8.0"
},
"peerDependencies": {
"leaflet": "^0.7.3"
}
} | a184a4bfd915b7868daf7de974adaef00ad0862e | package.json | package.json | JSON |
<|file_sep|>original/roles/doc_site/templates/mkdocs_build.sh
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod og+rX "$MKDOCS_SERVE_PATH"
<|file_sep|>current/roles/doc_site/templates/mkdocs_build.sh
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod og+rX "$MKDOCS_SERVE_PATH"
<|file_sep|>updated/roles/doc_site/templates/mkdocs_build.sh |
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod -R og+rX "$MKDOCS_SERVE_PATH" | <|file_sep|>original/roles/doc_site/templates/mkdocs_build.sh
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod og+rX "$MKDOCS_SERVE_PATH"
<|file_sep|>current/roles/doc_site/templates/mkdocs_build.sh
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod og+rX "$MKDOCS_SERVE_PATH"
<|file_sep|>updated/roles/doc_site/templates/mkdocs_build.sh
# If we have .git update, otherwise clone
if [ -d .git ] ; then
git pull
else
git clone "$MKDOCS_CLONE_URI" .
fi
# Build destdir if it doesn't exist
if [ ! -d "$MKDOCS_SERVE_PATH" ] ; then
mkdir -p "$MKDOCS_SERVE_PATH"
fi
# Build the site
mkdocs build
# Deploy the site
rsync -a site/ "$MKDOCS_SERVE_PATH"
# Fix the system permissions
chmod -R og+rX "$MKDOCS_SERVE_PATH" | 48976702401d9863bb3a069dea6925fc644da0a2 | roles/doc_site/templates/mkdocs_build.sh | roles/doc_site/templates/mkdocs_build.sh | Shell |
<|file_sep|>original/samples/issues/mix.exs
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
<|file_sep|>current/samples/issues/mix.exs
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
<|file_sep|>updated/samples/issues/mix.exs | elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :httpoison]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
# | <|file_sep|>original/samples/issues/mix.exs
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
<|file_sep|>current/samples/issues/mix.exs
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
<|file_sep|>updated/samples/issues/mix.exs
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :httpoison]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
# | 629780573ec2d160e567e985407c39a519093f10 | samples/issues/mix.exs | samples/issues/mix.exs | Elixir |
<|file_sep|>lib/travis/queue/sudo.rb.diff
original:
updated:
return 'required' if force_linux_sudo_required?
<|file_sep|>original/lib/travis/queue/sudo.rb
require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return specified if specified?
return 'required' if force_linux_sudo_required?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
<|file_sep|>current/lib/travis/queue/sudo.rb
require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return 'required' if force_linux_sudo_required?
return specified if specified?
return 'required' if force_linux_sudo_required?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
<|file_sep|>updated/lib/travis/queue/sudo.rb | require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return 'required' if force_linux_sudo_required?
return specified if specified?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
| <|file_sep|>lib/travis/queue/sudo.rb.diff
original:
updated:
return 'required' if force_linux_sudo_required?
<|file_sep|>original/lib/travis/queue/sudo.rb
require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return specified if specified?
return 'required' if force_linux_sudo_required?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
<|file_sep|>current/lib/travis/queue/sudo.rb
require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return 'required' if force_linux_sudo_required?
return specified if specified?
return 'required' if force_linux_sudo_required?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
<|file_sep|>updated/lib/travis/queue/sudo.rb
require 'travis/queue/force_linux_sudo_required'
require 'travis/queue/force_precise_sudo_required'
module Travis
class Queue
class Sudo < Struct.new(:repo, :job_config, :config)
def value
return 'required' if force_precise_sudo_required?
return 'required' if force_linux_sudo_required?
return specified if specified?
return 'required' if sudo_used?
default
end
private
def default
return false if repo_created_after_cutoff?
'required'
end
| 85fe25c3d0beddeffd6ef506a06ad613379eb35c | lib/travis/queue/sudo.rb | lib/travis/queue/sudo.rb | Ruby |
<|file_sep|>original/tasks/config.yml
---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
<|file_sep|>current/tasks/config.yml
---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
<|file_sep|>updated/tasks/config.yml | ---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
# TODO: Set the following?
# sysctl -w vm.overcommit_memory=1
# sysctl -w net.core.somaxconn=512
# echo never > /sys/kernel/mm/transparent_hugepage/enabled | <|file_sep|>original/tasks/config.yml
---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
<|file_sep|>current/tasks/config.yml
---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
<|file_sep|>updated/tasks/config.yml
---
# configuration tasks file for redis
- name: Configure redis settings
template:
src: redis.conf.j2
dest: "{{ redis_conf_file }}"
owner: root
group: "{{ redis_group }}"
mode: 0640
notify:
restart redis
# TODO: Set the following?
# sysctl -w vm.overcommit_memory=1
# sysctl -w net.core.somaxconn=512
# echo never > /sys/kernel/mm/transparent_hugepage/enabled | 33af313f3bc4c4035daaf3c1e79109d93ae42674 | tasks/config.yml | tasks/config.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- nvm install 8
updated:
- nvm install 6
<|file_sep|>original/.travis.yml
before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 8
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 8
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch
<|file_sep|>current/.travis.yml
before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 6
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 8
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch
<|file_sep|>updated/.travis.yml | before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 6
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 6
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch | <|file_sep|>.travis.yml.diff
original:
- nvm install 8
updated:
- nvm install 6
<|file_sep|>original/.travis.yml
before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 8
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 8
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch
<|file_sep|>current/.travis.yml
before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 6
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 8
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch
<|file_sep|>updated/.travis.yml
before_install:
- docker run -d -p 5984:5984 --net=host --name couch klaemo/couchdb:2.0.0
- nvm install 6
before_script:
- curl -X PUT http://127.0.0.1:5984/{_users,_replicator,_global_changes}
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
- gometalinter --deadline 120s --dupl-threshold 70 -D interfacer -D errcheck -D gocyclo -D dupl ./...
script:
- nvm use 6
- ./scripts/coverage.sh
- ./scripts/integration.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- docker ps -a
- docker logs couch | 222c41b3ab8b533a3388f19cb0e61967aed4a6ef | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/acceptance/LoginCept.php
$I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see user info');
$I->see('Logout (admin)');
<|file_sep|>current/tests/acceptance/LoginCept.php
$I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see user info');
$I->see('Logout (admin)');
<|file_sep|>updated/tests/acceptance/LoginCept.php | $I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
} | <|file_sep|>original/tests/acceptance/LoginCept.php
$I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see user info');
$I->see('Logout (admin)');
<|file_sep|>current/tests/acceptance/LoginCept.php
$I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see user info');
$I->see('Logout (admin)');
<|file_sep|>updated/tests/acceptance/LoginCept.php
$I->see('Login', 'h1');
$I->amGoingTo('try to login with empty credentials');
$loginPage->login('', '');
$I->expectTo('see validations errors');
$I->see('Username cannot be blank.');
$I->see('Password cannot be blank.');
$I->amGoingTo('try to login with wrong credentials');
$loginPage->login('admin', 'wrong');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
}
$I->expectTo('see validations errors');
$I->see('Incorrect username or password.');
$I->amGoingTo('try to login with correct credentials');
$loginPage->login('admin', 'admin');
if (method_exists($I, 'wait')) {
$I->wait(3); // only for selenium
} | bcf51a1156cb04b7c74756754addf360b8f24be8 | tests/acceptance/LoginCept.php | tests/acceptance/LoginCept.php | PHP |
<|file_sep|>original/ael_tracker.gemspec
spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
<|file_sep|>current/ael_tracker.gemspec
spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
<|file_sep|>updated/ael_tracker.gemspec | spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = Dir["{lib}/**/*.rb", "LICENSE", "*.md"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end | <|file_sep|>original/ael_tracker.gemspec
spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
<|file_sep|>current/ael_tracker.gemspec
spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end
<|file_sep|>updated/ael_tracker.gemspec
spec.version = AelTracker::VERSION
spec.authors = ["Bradley Sheehan"]
spec.email = ["bradpsheehan@gmail.com"]
spec.description = %q{Allows people to access the Advanced Energy Legislation Tracker API using ruby}
spec.summary = %q{Ruby wrapper for Advanced Energy Legislation Tracker API.}
spec.homepage = ""
spec.license = "MIT"
spec.add_development_dependency "rspec"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency 'json'
spec.files = Dir["{lib}/**/*.rb", "LICENSE", "*.md"]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
end | 6b84bd3b2c44a4cb693ff0a551b9c1525d863010 | ael_tracker.gemspec | ael_tracker.gemspec | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.