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|>ynr/apps/candidates/views/version_data.py.diff
original:
def get_change_metadata(request, information_source):
updated:
def get_change_metadata(request, information_source, user=None):
"""
:type user: django.contrib.auth.models.User
"""
<|file_sep|>original/ynr/apps/candidates/views/version_dat... |
def get_current_timestamp():
return datetime.utcnow().isoformat()
def get_change_metadata(request, information_source, user=None):
"""
:type user: django.contrib.auth.models.User
"""
result = {
"information_source": information_source,
"version_id": create_version_id(),
... | <|file_sep|>ynr/apps/candidates/views/version_data.py.diff
original:
def get_change_metadata(request, information_source):
updated:
def get_change_metadata(request, information_source, user=None):
"""
:type user: django.contrib.auth.models.User
"""
<|file_sep|>original/ynr/apps/candidates/views/version_dat... | 01ef56e5ef825897648de792d1734a336499fb0b | ynr/apps/candidates/views/version_data.py | ynr/apps/candidates/views/version_data.py | Python |
<|file_sep|>original/languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt
gmail
grand-daughter
grand-daughters
grand-father
grand-fathers
grand-mother
grand-mothers
grand-son
grand-sons
# In BrE and in AmE, the verb is 'improvise':
improvize
improvized
improvizer
improv... | grand-daughter
grand-daughters
grand-father
grand-fathers
grand-mother
grand-mothers
grand-son
grand-sons
# In BrE and in AmE, the verb is 'improvise':
improvize
improvized
improvizer
improvizes
improvizing
ing
# seems to be very rare and is a potential misspelling of 'means':
meas
maladjust
nauseam
ne
personnels | <|file_sep|>original/languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt
gmail
grand-daughter
grand-daughters
grand-father
grand-fathers
grand-mother
grand-mothers
grand-son
grand-sons
# In BrE and in AmE, the verb is 'improvise':
improvize
improvized
improvizer
improv... | d9a4c4e5f99400ceeeb04e476f8af55ab7283486 | languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt | languagetool-language-modules/en/src/main/resources/org/languagetool/resource/en/hunspell/prohibit.txt | Text |
<|file_sep|>cypress/integration/starting-game.spec.js.diff
original:
updated:
it('displays the morning screen', function() {
cy.visit('/')
cy.get('h1').within(function() {
cy.queryByText('The Republia Times').should('exist')
})
})
<|file_sep|>original/cypress/integration/starting-game.spec.js
de... | describe('starting a game', function() {
it('displays the morning screen', function() {
cy.visit('/')
cy.get('h1').within(function() {
cy.queryByText('The Republia Times').should('exist')
})
})
it('starts the first day', function() {
cy.getByText('Start Work').click()
cy.get('h1').withi... | <|file_sep|>cypress/integration/starting-game.spec.js.diff
original:
updated:
it('displays the morning screen', function() {
cy.visit('/')
cy.get('h1').within(function() {
cy.queryByText('The Republia Times').should('exist')
})
})
<|file_sep|>original/cypress/integration/starting-game.spec.js
de... | aa6f6b65e7cf3c17c52cb4e11f9641923b86402a | cypress/integration/starting-game.spec.js | cypress/integration/starting-game.spec.js | JavaScript |
<|file_sep|>original/src/resources/forrest-shbat/bin/forrest.bat
Rem ----- use the location of this script to infer $FORREST_HOME -------
set FORREST_HOME=%~dp0\..
Rem ----- set the ant file to use --------------------------------------
set ANTFILE="%FORREST_HOME%\forrest.build.xml"
Rem ----- Save old ANT_HOME ------... |
Rem ----- use the location of this script to infer $FORREST_HOME -------
set FORREST_HOME=%~dp0\..
Rem ----- set the ant file to use --------------------------------------
set ANTFILE="%FORREST_HOME%\forrest.build.xml"
Rem ----- Save old ANT_HOME --------------------------------------------
set OLD_ANT_HOME=%ANT_HOM... | <|file_sep|>original/src/resources/forrest-shbat/bin/forrest.bat
Rem ----- use the location of this script to infer $FORREST_HOME -------
set FORREST_HOME=%~dp0\..
Rem ----- set the ant file to use --------------------------------------
set ANTFILE="%FORREST_HOME%\forrest.build.xml"
Rem ----- Save old ANT_HOME ------... | 948caf38b90f5feb167e40e087075f4ce28c5504 | src/resources/forrest-shbat/bin/forrest.bat | src/resources/forrest-shbat/bin/forrest.bat | Batchfile |
<|file_sep|>src/routes/main/about/index.js.diff
original:
// try to fix a strange ReferenceError in production server build
// by defining and assigning About first
let About = () => null;
updated:
<|file_sep|>src/routes/main/about/index.js.diff
original:
async action(context) {
About = await loadComponent(
upd... | const title = 'About / Privacy';
export default {
path: '/about',
action(context) {
return loadComponent(
() => require.ensure([], require => require('./About').default, 'about')
).then(About => ({
title,
chunk: 'about',
component: (
<LayoutContainer path={context.url}>
... | <|file_sep|>src/routes/main/about/index.js.diff
original:
// try to fix a strange ReferenceError in production server build
// by defining and assigning About first
let About = () => null;
updated:
<|file_sep|>src/routes/main/about/index.js.diff
original:
async action(context) {
About = await loadComponent(
upd... | 77be797fc02b092d8bbdb2c7b1f68eca08b431ed | src/routes/main/about/index.js | src/routes/main/about/index.js | JavaScript |
<|file_sep|>original/recipes/_package.rb
#
# Cookbook:: cmake
# Recipe:: _package
#
package "cmake" do
not_if { platform_family?('windows') }
end
cmake_version = node["cmake"]["version"]
windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do
source "http://www.cmake.org/files/v#{... | # Cookbook:: cmake
# Recipe:: _package
#
package "cmake" do
not_if { platform_family?('windows') }
end
cmake_version = node["cmake"]["version"]
windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do
source "http://www.cmake.org/files/v#{cmake_version[/^\d\.\d/, 0]}/cmake-#{cmake_... | <|file_sep|>original/recipes/_package.rb
#
# Cookbook:: cmake
# Recipe:: _package
#
package "cmake" do
not_if { platform_family?('windows') }
end
cmake_version = node["cmake"]["version"]
windows_package "CMake #{cmake_version}, a cross-platform, open-source build system" do
source "http://www.cmake.org/files/v#{... | c24884e107aeaf1c2ef6747367dc81c7d1532469 | recipes/_package.rb | recipes/_package.rb | Ruby |
<|file_sep|>original/requirements.txt
<|file_sep|>current/requirements.txt
<|file_sep|>updated/requirements.txt | -e git+https://github.com/NeuralEnsemble/libNeuroML.git#egg=libNeuroML
-e git+https://github.com/zopefoundation/ZODB.git#egg=ZODB
-e git+https://github.com/RDFLib/FuXi#egg=FuXi
# runs setup.py
-e . | <|file_sep|>original/requirements.txt
<|file_sep|>current/requirements.txt
<|file_sep|>updated/requirements.txt
-e git+https://github.com/NeuralEnsemble/libNeuroML.git#egg=libNeuroML
-e git+https://github.com/zopefoundation/ZODB.git#egg=ZODB
-e git+https://github.com/RDFLib/FuXi#egg=FuXi
# runs setup.py
-e . | 7631c24cbc15a8f7dcd8ffc0df1c4cdb24c918af | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7)
## Tool Docs
- [Feathers](https://docs.feathersjs.com)
- [SocketIO](https://socket.io/docs/)
updated:
<|file_sep|>README.md.diff
origi... | - Initiate RethinkDB database
`$ npm db`
- Dev server with reloading
`$ npm dev`
- Production mode server
`$ npm start`
## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7)
## Tool Docs
- [Feathers](https://docs.feathers... | <|file_sep|>README.md.diff
original:
## If you'd like to contribute, checkout our [Trello Board](https://trello.com/b/mffBye8Z) and come [hangout with us](https://discord.gg/vJjgKT7)
## Tool Docs
- [Feathers](https://docs.feathersjs.com)
- [SocketIO](https://socket.io/docs/)
updated:
<|file_sep|>README.md.diff
origi... | 6fb1648bb0de01132d6727a25b24197d2beb8fd9 | README.md | README.md | Markdown |
<|file_sep|>original/app/assets/javascripts/effective_datatables/scopes.js.coffee
$(document).on 'click', 'a[data-clear-form]', (event) ->
event.preventDefault()
$(event.currentTarget).closest('form').trigger('clear')
$(document).on 'clear', '.effective-datatable-scopes form', (event) ->
$(this).find('.radio.act... | $(document).on 'click', 'a[data-clear-form]', (event) ->
event.preventDefault()
$(event.currentTarget).closest('form').trigger('clear')
$(document).on 'clear', '.effective-datatable-scopes form', (event) ->
$(this).find('.radio.active').removeClass('active');
$(this).find(':radio').prop('checked', false);
$(... | <|file_sep|>original/app/assets/javascripts/effective_datatables/scopes.js.coffee
$(document).on 'click', 'a[data-clear-form]', (event) ->
event.preventDefault()
$(event.currentTarget).closest('form').trigger('clear')
$(document).on 'clear', '.effective-datatable-scopes form', (event) ->
$(this).find('.radio.act... | dcacca98b66d3cb196431f99e1fa679a51d8689f | app/assets/javascripts/effective_datatables/scopes.js.coffee | app/assets/javascripts/effective_datatables/scopes.js.coffee | CoffeeScript |
<|file_sep|>recipes/gvcftools/build.sh.diff
original:
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include^' src/Makefile
updated:
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile
<|file_sep|>original/recipes/gvcftools/build.sh
sed -i.bak 's^TABIX_LIB_DIR)$^TAB... | sed -i.bak 's^TABIX_LIB_DIR)$^TABIX_LIB_DIR) -L$(PREFIX)/lib^' src/Makefile
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile
sed -r -i.bak "s^tabix: (.*)^tabix: \1\n\tsed -i.bak 's@CFLAGS =@CFLAGS = -I$\(PREFIX\)/include@' tabix*/Makefile^" redist/Makefile
make BIN_DIR=$PREFIX/bi... | <|file_sep|>recipes/gvcftools/build.sh.diff
original:
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include^' src/Makefile
updated:
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -I$(PREFIX)/include^' src/Makefile
<|file_sep|>original/recipes/gvcftools/build.sh
sed -i.bak 's^TABIX_LIB_DIR)$^TAB... | 3ad0f82d71b47d1aeef01bdc9612f3c73645fe1d | recipes/gvcftools/build.sh | recipes/gvcftools/build.sh | Shell |
<|file_sep|>original/test/CodeGen/PowerPC/vrspill.ll
; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s
; XFAIL: *
; This verifies that we generate correct spill/r... | ; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -verify-machineinstrs < %s | FileCheck %s
; This verifies that we generate correct spill/reload code for vector regs.
define void @addrtaken(... | <|file_sep|>original/test/CodeGen/PowerPC/vrspill.ll
; RUN: llc -O0 -mtriple=powerpc-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s
; RUN: llc -O0 -mtriple=powerpc64-unknown-linux-gnu -maltivec -verify-machineinstrs < %s | FileCheck %s
; XFAIL: *
; This verifies that we generate correct spill/r... | e0bc37579b5562b7aae3ba225b4e7a4332ee0973 | test/CodeGen/PowerPC/vrspill.ll | test/CodeGen/PowerPC/vrspill.ll | LLVM |
<|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff
original:
if (lastResult != null) {
updated:
if (lastResult != null && lastResult != "") {
if (!lastResult.startsWith("~")) return null;
<|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff
original:
upda... |
List<String> splits = lastResult.split(":");
String msgType = splits[1];
int time = int.parse(splits[0].substring(1));
if (msgType == "Log" && splits[2] == "SEVERE") return lastResult;
}
}
String close() {
String lastResult = message.toString();
if (lastResult == null || lastR... | <|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff
original:
if (lastResult != null) {
updated:
if (lastResult != null && lastResult != "") {
if (!lastResult.startsWith("~")) return null;
<|file_sep|>sintr_analysis_server_example/lib/instrumentation_lib.dart.diff
original:
upda... | d9cad33aebbbd3162fc753244d6daca2b8d2aa87 | sintr_analysis_server_example/lib/instrumentation_lib.dart | sintr_analysis_server_example/lib/instrumentation_lib.dart | Dart |
<|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff
original:
updated:
var hasPWSHCategory = false;
var hasPWSHKeywords = false;
<|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff
original:
updated:
hasPWSHCategory = item.Categories... | {
var keywords = element.GetObject<string>();
hasPowerShellKeywords = keywords.ToLowerInvariant().Contains("powershell");
hasPWSHKeywords = keywords.ToLowerInvariant().Contains("pwsh");
}
}
var hasPowerS... | <|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff
original:
updated:
var hasPWSHCategory = false;
var hasPWSHKeywords = false;
<|file_sep|>src/Firehose.Web/Extensions/SyndicationItemExtensions.cs.diff
original:
updated:
hasPWSHCategory = item.Categories... | 7097ac5f52cd26b8d4f8f5a0cec169c8fade49fa | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | C# |
<|file_sep|>plugins/delayer/index.js.diff
original:
delayPath = conf.delaypath || '/.*';
updated:
delayPath = conf.delaypath || '/.*',
delayDisabled = !!conf.delaydisabled;
<|file_sep|>original/plugins/delayer/index.js
handler: function(req, res, next) {
setTimeout(function()... | setTimeout(function() {
next(req, res);
}, delayMilliseconds);
}
}));
return {
heads: [
new RoboHydraHead({
name: 'delayer-config',
detached: delayDisabled,
path: '/robohydra-admin/delay/:delayVa... | <|file_sep|>plugins/delayer/index.js.diff
original:
delayPath = conf.delaypath || '/.*';
updated:
delayPath = conf.delaypath || '/.*',
delayDisabled = !!conf.delaydisabled;
<|file_sep|>original/plugins/delayer/index.js
handler: function(req, res, next) {
setTimeout(function()... | a0627e423f5bf4dc00eda084552e1e5d3fcc6012 | plugins/delayer/index.js | plugins/delayer/index.js | JavaScript |
<|file_sep|>original/requirements.txt
aiohttp==3.5.1
attrs==18.2.0
flake8==3.6.0
ipdb==0.11
ipython==7.2.0
pytest==4.1.0
pytest-cov==2.6.1
pytest-mock==1.10.0
tox==3.6.1
docker==3.6.0
isort==4.3.4
-e .
<|file_sep|>current/requirements.txt
aiohttp==3.5.1
attrs==18.2.0
flake8==3.6.0
ipdb==0.11
ipython==7.2.0
pytest==4.1.... | aiohttp==3.5.4
attrs==18.2.0
flake8==3.6.0
ipdb==0.11
ipython==7.2.0
pytest==4.1.0
pytest-cov==2.6.1
pytest-mock==1.10.0
tox==3.6.1
docker==3.6.0
isort==4.3.4
-e . | <|file_sep|>original/requirements.txt
aiohttp==3.5.1
attrs==18.2.0
flake8==3.6.0
ipdb==0.11
ipython==7.2.0
pytest==4.1.0
pytest-cov==2.6.1
pytest-mock==1.10.0
tox==3.6.1
docker==3.6.0
isort==4.3.4
-e .
<|file_sep|>current/requirements.txt
aiohttp==3.5.1
attrs==18.2.0
flake8==3.6.0
ipdb==0.11
ipython==7.2.0
pytest==4.1.... | af9e3afe1f102d2e9e8997f300b36fb4462fbb48 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/Monolog/SocketIOEmitterHandler.php.diff
original:
updated:
use Monolog\Formatter\FormatterInterface;
use Monolog\Formatter\NormalizerFormatter;
<|file_sep|>original/src/Monolog/SocketIOEmitterHandler.php
public function __construct(Emitter $emitter, $level = Logger::DEBUG, $bubble = true)
{
... | }
/**
* {@inheritdoc}
*/
protected function write(array $record)
{
$event = $record['formatted']['message'];
$data = $record['formatted']['context'];
$this->emitter->emit($event, $data);
}
/**
* @inheritdoc
*/
protected function getDefaultFormat... | <|file_sep|>src/Monolog/SocketIOEmitterHandler.php.diff
original:
updated:
use Monolog\Formatter\FormatterInterface;
use Monolog\Formatter\NormalizerFormatter;
<|file_sep|>original/src/Monolog/SocketIOEmitterHandler.php
public function __construct(Emitter $emitter, $level = Logger::DEBUG, $bubble = true)
{
... | bfa799cbaee383656473939ff68d669253d59769 | src/Monolog/SocketIOEmitterHandler.php | src/Monolog/SocketIOEmitterHandler.php | PHP |
<|file_sep|>original/Gruntfile.coffee
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
shell:
clean:
command: '[ -e gametime.db ] && rm gametime.db'
init_db:
command: 'sqlite3 gametime.db < db.sql'
noin... | module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
shell:
clean:
command: '[ ! -e gametime.db ] || rm gametime.db'
init_db:
command: 'sqlite3 gametime.db < db.sql'
nointro:
command: 'coffee nointr... | <|file_sep|>original/Gruntfile.coffee
module.exports = (grunt) ->
require('load-grunt-tasks')(grunt)
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
shell:
clean:
command: '[ -e gametime.db ] && rm gametime.db'
init_db:
command: 'sqlite3 gametime.db < db.sql'
noin... | 3cfb9bb9fe78c41adc9c9d44e1c7e36070a2c94d | Gruntfile.coffee | Gruntfile.coffee | CoffeeScript |
<|file_sep|>bulbs/utils/filters.py.diff
original:
val = request.QUERY_PARAMS[field]
if val in ['true', 'True']:
updated:
val = request.QUERY_PARAMS[field].lower()
if val == 'true':
<|file_sep|>original/bulbs/utils/filters.py
def filter_queryset(self, ... |
def filter_queryset(self, request, queryset, view):
boolean_fields = getattr(view, 'boolean_fields', None)
if not boolean_fields:
return queryset
boolean_filters = {}
for field in boolean_fields:
if field in request.QUERY_PARAMS:
val = requ... | <|file_sep|>bulbs/utils/filters.py.diff
original:
val = request.QUERY_PARAMS[field]
if val in ['true', 'True']:
updated:
val = request.QUERY_PARAMS[field].lower()
if val == 'true':
<|file_sep|>original/bulbs/utils/filters.py
def filter_queryset(self, ... | aa360309f387f19f6566d08325cd1aa1131768da | bulbs/utils/filters.py | bulbs/utils/filters.py | Python |
<|file_sep|>original/app/assets/stylesheets/application.css.scss
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets... | *
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*... | <|file_sep|>original/app/assets/stylesheets/application.css.scss
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets... | 269ad640be78eae09d448fa26481a7e5b20ae59f | app/assets/stylesheets/application.css.scss | app/assets/stylesheets/application.css.scss | SCSS |
<|file_sep|>original/resources/views/partials/menu.blade.php
@if(Admin::user()->visible($item['roles']))
@if(!isset($item['children']))
<li>
<a href="{{ admin_base_path($item['uri']) }}"><i class="fa {{$item['icon']}}"></i>
<span>{{$item['title']}}</span>
</a>
... | @if(Admin::user()->visible($item['roles']))
@if(!isset($item['children']))
<li>
@if(url()->isValidUrl($item['uri']))
<a href="{{ $item['uri'] }}" target="_blank">
@else
<a href="{{ admin_base_path($item['uri']) }}">
@endif
... | <|file_sep|>original/resources/views/partials/menu.blade.php
@if(Admin::user()->visible($item['roles']))
@if(!isset($item['children']))
<li>
<a href="{{ admin_base_path($item['uri']) }}"><i class="fa {{$item['icon']}}"></i>
<span>{{$item['title']}}</span>
</a>
... | 7e68c6c9c3b5fc0c5cb979c8e20e511d9da6ac4e | resources/views/partials/menu.blade.php | resources/views/partials/menu.blade.php | PHP |
<|file_sep|>original/schemes/tomorrow-solarized.yml
scheme: "tomorrow-solarized"
author: "Keith Smiley (http://keith.so)"
base00: "cccccc"
base01: "999999"
base02: "393939"
base03: "2d2d2d"
base0: "ebe4d3"
base1: "93a1a1"
base2: "eee8d5"
base3: "fdf6e3"
blue: "99cccc"
cyan: "... | scheme: "tomorrow-solarized"
author: "Keith Smiley (http://keith.so)"
base00: "cccccc"
base01: "999999"
base02: "393939"
base03: "2d2d2d"
base0: "ebe4d3"
base1: "93a1a1"
base2: "eee8d5"
base3: "fdf6e3"
blue: "99cccc"
cyan: "d2fdfe"
green: "99cc99"
magenta: "d567af"
oran... | <|file_sep|>original/schemes/tomorrow-solarized.yml
scheme: "tomorrow-solarized"
author: "Keith Smiley (http://keith.so)"
base00: "cccccc"
base01: "999999"
base02: "393939"
base03: "2d2d2d"
base0: "ebe4d3"
base1: "93a1a1"
base2: "eee8d5"
base3: "fdf6e3"
blue: "99cccc"
cyan: "... | 9ad5678590e5f5e25f933847beddef46a56e3748 | schemes/tomorrow-solarized.yml | schemes/tomorrow-solarized.yml | YAML |
<|file_sep|>original/lib/collective/collectors/rabbitmq.rb
end
end
end
end
def instrument_queues
queues = client.get('queues').body
queues.each do |queue|
group 'rabbitmq.queue' do |group|
instrument_hash(group, queue, source: "rabbitmq.queue.#{queue['name... | end
end
end
end
def instrument_queues
queues = client.get('queues').body
queues.each do |queue|
group 'rabbitmq.queue' do |group|
instrument_hash(group, queue, source: queue['name'])
end
end
end
def instrument_hash(group, hash, optio... | <|file_sep|>original/lib/collective/collectors/rabbitmq.rb
end
end
end
end
def instrument_queues
queues = client.get('queues').body
queues.each do |queue|
group 'rabbitmq.queue' do |group|
instrument_hash(group, queue, source: "rabbitmq.queue.#{queue['name... | 327ddd181ac2379e3afb83b1ec080148b91f92d4 | lib/collective/collectors/rabbitmq.rb | lib/collective/collectors/rabbitmq.rb | Ruby |
<|file_sep|>original/serial/low-speed-transmitter/low-speed-transmitter.ino
<|file_sep|>current/serial/low-speed-transmitter/low-speed-transmitter.ino
<|file_sep|>updated/serial/low-speed-transmitter/low-speed-transmitter.ino | void setup() {
pinMode(LED_BUILTIN, OUTPUT);
SerialUSB.begin(2000000);
}
void loop() {
static int counter = 0;
SerialUSB.println(counter, DEC);
counter = (counter + 1) % (1 << 8);
digitalWrite(LED_BUILTIN, counter >> 7 ? HIGH : LOW);
delay(20);
} | <|file_sep|>original/serial/low-speed-transmitter/low-speed-transmitter.ino
<|file_sep|>current/serial/low-speed-transmitter/low-speed-transmitter.ino
<|file_sep|>updated/serial/low-speed-transmitter/low-speed-transmitter.ino
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
SerialUSB.begin(2000000);
}
void loop() {
... | 6dd824617791b455e89ff75aa02337549539e509 | serial/low-speed-transmitter/low-speed-transmitter.ino | serial/low-speed-transmitter/low-speed-transmitter.ino | Arduino |
<|file_sep|>examples/calculate_single_person_1.json.diff
original:
"parents": ["individu0"],
"enfants": []
updated:
"parents": ["individu0"]
<|file_sep|>original/examples/calculate_single_person_1.json
"scenarios": [
{
"test_case": {
"familles": [
{
... | "scenarios": [
{
"test_case": {
"familles": [
{
"parents": ["individu0"]
}
],
"foyers_fiscaux": [
{
"declarants": ["individu0"]
}
],
"individus": [
{
"birth": "1980-01-01",
... | <|file_sep|>examples/calculate_single_person_1.json.diff
original:
"parents": ["individu0"],
"enfants": []
updated:
"parents": ["individu0"]
<|file_sep|>original/examples/calculate_single_person_1.json
"scenarios": [
{
"test_case": {
"familles": [
{
... | 2c7342ac1f6d8cba425d0097c6d39515bfbd562d | examples/calculate_single_person_1.json | examples/calculate_single_person_1.json | JSON |
<|file_sep|>original/app/views/layers/new.html.erb
<h2>New Mosaic</h2>
<em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed but they could be seen on the final map image.</em>
<%= error_messages_for @layer %>
<%= render :partial => "form", :locals => {:page => "new"} %>
<|file_sep|>... | <h2>New Mosaic</h2>
<em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed<br />
but they could be seen on the final map image.</em>
<%= error_messages_for @layer %>
<%= render :partial => "form", :locals => {:page => "new"} %> | <|file_sep|>original/app/views/layers/new.html.erb
<h2>New Mosaic</h2>
<em>Note: All Mosaics are public, you can add unlisted maps to them they won't be listed but they could be seen on the final map image.</em>
<%= error_messages_for @layer %>
<%= render :partial => "form", :locals => {:page => "new"} %>
<|file_sep|>... | 40ed0b579030ca4b372a54d4176a5f19b6e47fcb | app/views/layers/new.html.erb | app/views/layers/new.html.erb | HTML+ERB |
<|file_sep|>original/requirements-prod.txt
gunicorn==19.5 # Used as a http server in production
psycopg2 # Postgres adapter
<|file_sep|>current/requirements-prod.txt
gunicorn==19.5 # Used as a http server in production
psycopg2 # Postgres a... | gunicorn==19.6 # Used as a http server in production
psycopg2 # Postgres adapter | <|file_sep|>original/requirements-prod.txt
gunicorn==19.5 # Used as a http server in production
psycopg2 # Postgres adapter
<|file_sep|>current/requirements-prod.txt
gunicorn==19.5 # Used as a http server in production
psycopg2 # Postgres a... | bbedf82aa3bae5891dd23290416fdfc720a10040 | requirements-prod.txt | requirements-prod.txt | Text |
<|file_sep|>original/core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala
*/
package org.openmole.plugin.domain.modifier
import java.io.File
import org.openmole.core.model.domain._
import org.openmole.core.model.data._
import org.openmole... | */
package org.openmole.plugin.domain.modifier
import java.io.File
import org.openmole.core.model.domain._
import org.openmole.core.model.data._
import org.openmole.misc.exception._
class SortByNameDomain(val domain: Domain[File] with Finite[File]) extends Domain[File] with Finite[File] {
override def computeVal... | <|file_sep|>original/core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala
*/
package org.openmole.plugin.domain.modifier
import java.io.File
import org.openmole.core.model.domain._
import org.openmole.core.model.data._
import org.openmole... | 2490beffc15d6eff241cd23c6d223702ed53799c | core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala | core/openmole/plugins/org.openmole.plugin.domain.modifier/src/main/scala/org/openmole/plugin/domain/modifier/SortByNameDomain.scala | Scala |
<|file_sep|>src/lib/md5.ts.diff
original:
return "Base64 Encoded"
updated:
return "as Base64"
<|file_sep|>original/src/lib/md5.ts
}
export class StringToMD5Base64Transformer extends StringToMD5Transformer{
protected get digestMethodDescription(): string {
return "Base64 Encoded"
}
protected get digestMethod(... | }
export class StringToMD5Base64Transformer extends StringToMD5Transformer{
protected get digestMethodDescription(): string {
return "as Base64"
}
protected get digestMethod(): crypto.HexBase64Latin1Encoding {
return "base64"
}
}
export class StringToMD5HexTransformer extends StringToMD5Transformer {
protec... | <|file_sep|>src/lib/md5.ts.diff
original:
return "Base64 Encoded"
updated:
return "as Base64"
<|file_sep|>original/src/lib/md5.ts
}
export class StringToMD5Base64Transformer extends StringToMD5Transformer{
protected get digestMethodDescription(): string {
return "Base64 Encoded"
}
protected get digestMethod(... | 752d8394993880d1e09ef0c3e379a1874ba6f588 | src/lib/md5.ts | src/lib/md5.ts | TypeScript |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.6
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.8.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
cer... | beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.6
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.9.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15 | <|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
certifi==2016.9.26
click==6.6
Flask==0.12
future==0.16.0
itsdangerous==0.24
Jinja2==2.8.1
MarkupSafe==0.23
python-telegram-bot==5.3.0
PyYAML==3.12
requests==2.12.4
urllib3==1.19.1
Werkzeug==0.11.15
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
cer... | 5bdf603afbf67c24e41584d4020fe71f99f6610f | requirements.txt | requirements.txt | Text |
<|file_sep|>client/app/helpers.js.diff
original:
updated:
displayPricePerUnit,
<|file_sep|>original/client/app/helpers.js
}
if (price % 1 === 0) {
return `$${price}`;
}
return `$${price.toFixed(2)}`;
}
function findTypeId(types, name) {
let type = _.findWhere(types, { name });
return type && type.... | price = Number(price);
}
if (price % 1 === 0) {
return `$${price}`;
}
return `$${price.toFixed(2)}`;
}
function displayPricePerUnit(price, unit) {
if (unit) {
return `${displayPrice(price)} / ${unit}`;
}
return `${displayPrice(price)} / `;
}
function findTypeId(types, name) {
let type =... | <|file_sep|>client/app/helpers.js.diff
original:
updated:
displayPricePerUnit,
<|file_sep|>original/client/app/helpers.js
}
if (price % 1 === 0) {
return `$${price}`;
}
return `$${price.toFixed(2)}`;
}
function findTypeId(types, name) {
let type = _.findWhere(types, { name });
return type && type.... | 71a5ceb81dad1e6c221fde0d23a1424c114ca791 | client/app/helpers.js | client/app/helpers.js | JavaScript |
<|file_sep|>original/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
<|file_sep|>current/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
<|file_sep|>updated/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java | package jme3test.scene;
import com.jme3.app.SimpleApplication;
import com.jme3.material.Material;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
import com.jme3.scene.shape.Box;
public class TestRefreshFlagBug extends SimpleApplication {
private float time = 0;
private boolean attached = false;
... | <|file_sep|>original/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
<|file_sep|>current/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
<|file_sep|>updated/jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java
package jme3test.scene;
import com.jme3.app.SimpleAppli... | e19be328a79de757eb044a6fb096a28d9c1b72ad | jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java | jme3-examples/src/main/java/jme3test/scene/TestRefreshFlagBug.java | Java |
<|file_sep|>original/server/server.js
import webpackConfig from '../webpack.dev.babel';
import universalRender from './universalRender';
const PORT = process.env.PORT || 3000;
// Initialize the Express App
const app = new Express();
// Run Webpack dev server in development mode
if (process.env.NODE_ENV === 'developm... | import webpackConfig from '../webpack.dev.babel';
import universalRender from './universalRender';
const PORT = process.env.PORT || 3000;
// Initialize the Express App
const app = new Express();
// Run Webpack dev server in development mode
if (process.env.NODE_ENV === 'development') {
require.extensions['.svg'] =... | <|file_sep|>original/server/server.js
import webpackConfig from '../webpack.dev.babel';
import universalRender from './universalRender';
const PORT = process.env.PORT || 3000;
// Initialize the Express App
const app = new Express();
// Run Webpack dev server in development mode
if (process.env.NODE_ENV === 'developm... | 77baf7471184b0603f9ec0c93e040bd9b23d03ce | server/server.js | server/server.js | JavaScript |
<|file_sep|>original/requirements.txt
aioamqp==0.10.0
aiobotocore==0.4.4
aiohttp==2.2.5
appdirs==1.4.3
async-timeout==1.2.1
botocore==1.5.78
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.1
pyt... | aioamqp==0.10.0
aiobotocore==0.4.4
aiohttp==2.2.5
appdirs==1.4.3
async-timeout==1.3.0
botocore==1.5.78
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.1
pytest-cov==2.5.1
python-dateutil==2.6.1
... | <|file_sep|>original/requirements.txt
aioamqp==0.10.0
aiobotocore==0.4.4
aiohttp==2.2.5
appdirs==1.4.3
async-timeout==1.2.1
botocore==1.5.78
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.14
jmespath==0.9.3
multidict==3.1.3
mypy==0.521
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.2.1
pyt... | 67dc8f77430a472b85f48841028494d823633696 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/AbstractFactory/php/tests/ListLinkTest.php
use PHPUnit\Framework\TestCase as TestCase;
require_once dirname(__DIR__) . '/listfactory/ListLink.php';
/**
* AbstractFactory ListLink Test
*/
final class AbstractFactoryListLinkTest extends TestCase
{
public function testCreate()
{
$... |
use PHPUnit\Framework\TestCase as TestCase;
require_once dirname(__DIR__) . '/listfactory/ListLink.php';
/**
* AbstractFactory ListLink Test
*/
final class AbstractFactoryListLinkTest extends TestCase
{
public function test_makeHTMLでフォーマット化されたHTMLを返す()
{
$expected = '';
$expected .= '<li>';... | <|file_sep|>original/AbstractFactory/php/tests/ListLinkTest.php
use PHPUnit\Framework\TestCase as TestCase;
require_once dirname(__DIR__) . '/listfactory/ListLink.php';
/**
* AbstractFactory ListLink Test
*/
final class AbstractFactoryListLinkTest extends TestCase
{
public function testCreate()
{
$... | 4320a318d476adb27203d8b763acc35ba0dc39d1 | AbstractFactory/php/tests/ListLinkTest.php | AbstractFactory/php/tests/ListLinkTest.php | PHP |
<|file_sep|>original/src/doc/unstable-book/src/library-features/format-args-capture.md
<|file_sep|>current/src/doc/unstable-book/src/library-features/format-args-capture.md
<|file_sep|>updated/src/doc/unstable-book/src/library-features/format-args-capture.md | # `format_args_capture`
The tracking issue for this feature is: [#67984]
[#67984]: https://github.com/rust-lang/rust/issues/67984
------------------------
Enables `format_args!` (and macros which use `format_args!` in their implementation, such
as `format!`, `print!` and `panic!`) to capture variables from the surr... | <|file_sep|>original/src/doc/unstable-book/src/library-features/format-args-capture.md
<|file_sep|>current/src/doc/unstable-book/src/library-features/format-args-capture.md
<|file_sep|>updated/src/doc/unstable-book/src/library-features/format-args-capture.md
# `format_args_capture`
The tracking issue for this featur... | a1217cb29de22aae3cda717e78d1edd3e9d8ffd1 | src/doc/unstable-book/src/library-features/format-args-capture.md | src/doc/unstable-book/src/library-features/format-args-capture.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '8'
- '9'
- '10'
- 'node'
before_install:
- npm install -g grunt-cli
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '8'
- '9'
- '10'
- 'node'
before_install:
- npm install -g grunt-cli
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '8'
- '9'
- '10'
- '11'
- '12'
before_install:
- npm install -g grunt-cli | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '8'
- '9'
- '10'
- 'node'
before_install:
- npm install -g grunt-cli
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '8'
- '9'
- '10'
- 'node'
before_install:
- npm install -g grunt-cli
<|file_sep|>updated/.travis.yml
languag... | 963b67dec3c75a754e37cfaf3f5699ee51305bb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/cbio_client_test.py
<|file_sep|>current/test/cbio_client_test.py
<|file_sep|>updated/test/cbio_client_test.py | from bioagents import cbio_client
def test_get_cancer_studies():
study_ids = cbio_client.get_cancer_studies('pancreatic')
assert(len(study_ids) > 0)
assert('paad_tcga' in study_ids)
def test_get_cancer_types():
type_ids = cbio_client.get_cancer_types('lung')
assert(len(type_ids) > 0)
def test_get... | <|file_sep|>original/test/cbio_client_test.py
<|file_sep|>current/test/cbio_client_test.py
<|file_sep|>updated/test/cbio_client_test.py
from bioagents import cbio_client
def test_get_cancer_studies():
study_ids = cbio_client.get_cancer_studies('pancreatic')
assert(len(study_ids) > 0)
assert('paad_tcga' i... | 4c4564c7e00adeb56f18a192f9544145d8512232 | test/cbio_client_test.py | test/cbio_client_test.py | Python |
<|file_sep|>original/demo/router-components/echo.tsx
import app, { Component } from '../../index-jsx';
var model = 'world';
const Hello = ({name}) => <div>Hello: {name}</div>;
const view = (val) => {
return <div>
<Hello name={val}/>
<input value={val} oninput={function() { app.run('render', this.value)}}/>... | import app from '../../index-jsx';
var model = 'world';
const Hello = ({name}) => <div>Hello: {name}</div>;
const view = (val) => {
return <div>
<Hello name={val}/>
<input value={val} oninput={function() { app.run('render', this.value)}}/>
</div>
};
const update = {
'#echo': (model, pushState) => push... | <|file_sep|>original/demo/router-components/echo.tsx
import app, { Component } from '../../index-jsx';
var model = 'world';
const Hello = ({name}) => <div>Hello: {name}</div>;
const view = (val) => {
return <div>
<Hello name={val}/>
<input value={val} oninput={function() { app.run('render', this.value)}}/>... | 12ccfab25a885a6c69685bb48dc783ecc358c86b | demo/router-components/echo.tsx | demo/router-components/echo.tsx | TypeScript |
<|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
# Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
sudo: false
language: no... | # Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
dist: trusty
sudo: false
language: node_js
matrix:
include:
- node_js: 4
- node_js: 5
- node_js: 6
-... | <|file_sep|>.travis.yml.diff
original:
updated:
dist: trusty
<|file_sep|>original/.travis.yml
# Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/
sudo: false
language: no... | 2232bc2cab4462dd0a910e392d935031e942aa30 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/features/caching/README.md
<|file_sep|>current/features/caching/README.md
<|file_sep|>updated/features/caching/README.md | It would be better to install/upgrade Vim plugins as fast as possible.
Since `vim-flavor` manages Vim plugins with Git, it has to clone each plugin's
repository at first, and it also has to fetch changes from time to time.
But network access is typically time-consuming.
Therefore `vim-flavor` caches fetched stuffs. T... | <|file_sep|>original/features/caching/README.md
<|file_sep|>current/features/caching/README.md
<|file_sep|>updated/features/caching/README.md
It would be better to install/upgrade Vim plugins as fast as possible.
Since `vim-flavor` manages Vim plugins with Git, it has to clone each plugin's
repository at first, and i... | 8cd6c4fb733e1c9e5893baddb9465775d871a48e | features/caching/README.md | features/caching/README.md | Markdown |
<|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.m2
matrix:
include:
- os: linux
sudo: false
dist: trusty
language: java
jdk: oraclejdk8
- os: osx
language: java
osx_image: xcode9.2
notifications:
email:
- ben.alex@acegi.com.au
- stoffe@gmail.com
before_install:
... | cache:
directories:
- $HOME/.m2
matrix:
include:
- os: linux
language: java
jdk: oraclejdk8
- os: osx
language: java
osx_image: xcode9.2
notifications:
email:
- ben.alex@acegi.com.au
- stoffe@gmail.com
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/us... | <|file_sep|>original/.travis.yml
cache:
directories:
- $HOME/.m2
matrix:
include:
- os: linux
sudo: false
dist: trusty
language: java
jdk: oraclejdk8
- os: osx
language: java
osx_image: xcode9.2
notifications:
email:
- ben.alex@acegi.com.au
- stoffe@gmail.com
before_install:
... | 5da571dee2a0c12160d155747ceeaf373c513f2e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Gruntfile.js
reporter: "xunit",
captureFile: testOutputLocation + "/mocha/results.xml",
quiet: true
}
}
},
mocha_istanbul: {
coverage: {
src: ["test/**/*.js"],
... | reporter: "xunit",
captureFile: testOutputLocation + "/mocha/results.xml",
quiet: true
}
}
},
mocha_istanbul: {
coverage: {
src: ["test/**/*.js"],
options: {
... | <|file_sep|>original/Gruntfile.js
reporter: "xunit",
captureFile: testOutputLocation + "/mocha/results.xml",
quiet: true
}
}
},
mocha_istanbul: {
coverage: {
src: ["test/**/*.js"],
... | cf3200a37bf58f26cf8ffe9f8650bd9d39bffbc5 | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>original/app/helpers/application_helper.rb
module ApplicationHelper
def page_title(*title_parts)
if title_parts.any?
title_parts.push("Admin") if params[:controller] =~ /^admin\//
title_parts.push("GOV.UK")
@page_title = title_parts.reject(&:blank?).join(" - ")
else
@page_t... | module ApplicationHelper
def page_title(*title_parts)
title_parts.push("Admin") if params[:controller] =~ /^admin\//
title_parts.push("GOV.UK")
title_parts.reject(&:blank?).join(" - ")
end
def page_class(css_class)
content_for(:page_class, css_class)
end
def govspeak(text)
if text
... | <|file_sep|>original/app/helpers/application_helper.rb
module ApplicationHelper
def page_title(*title_parts)
if title_parts.any?
title_parts.push("Admin") if params[:controller] =~ /^admin\//
title_parts.push("GOV.UK")
@page_title = title_parts.reject(&:blank?).join(" - ")
else
@page_t... | 06b9c804f9d0a0f9287baa069ff3a78666fd5eec | app/helpers/application_helper.rb | app/helpers/application_helper.rb | Ruby |
<|file_sep|>original/core/spec/models/spree/wallet_payment_source_spec.rb
require 'spec_helper'
describe Spree::WalletPaymentSource, type: :model do
subject { Spree::WalletPaymentSource }
describe "validation" do
it "is valid with a `credit_card` as `payment_source`" do
valid_attrs = {
payment_s... | require 'spec_helper'
describe Spree::WalletPaymentSource, type: :model do
subject { Spree::WalletPaymentSource }
describe "validation" do
context 'with a non-PaymentSource model' do
with_model 'NonPaymentSource', scope: :all do
model do
# We have to set this up or else `inverse_of` pr... | <|file_sep|>original/core/spec/models/spree/wallet_payment_source_spec.rb
require 'spec_helper'
describe Spree::WalletPaymentSource, type: :model do
subject { Spree::WalletPaymentSource }
describe "validation" do
it "is valid with a `credit_card` as `payment_source`" do
valid_attrs = {
payment_s... | 588147580f2a285ecf72b9a7243e06e0352a82df | core/spec/models/spree/wallet_payment_source_spec.rb | core/spec/models/spree/wallet_payment_source_spec.rb | Ruby |
<|file_sep|>original/deploy/staging/prison-visits-public-secrets.yaml
GITCRYPT
de{@{TnᘆHt"L0{`)3pŎ'l@48ȟ\P>I4F9RJ[
QP玎
^8ip'^Ū&W92:ME#JLJMLtjtib
Gy
jO)#ǭp^$!+ALR[B@$MÊ?5(
ŕMixZjM/1(>*U'ʽOVO|ks=v
?MɯI]0"yL0.dm if+EDKx>V$RFv1SdD
\z ¶ڻƙ̂"}(^{XGkw9~M8V"#
EAt6g"
/3B%aޢٯ߭_IG
}n><0... |