hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
e9e805f36f767ace53791e88830042fcf69b7513
diff --git a/src/Illuminate/Support/Facades/Blade.php b/src/Illuminate/Support/Facades/Blade.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Support/Facades/Blade.php +++ b/src/Illuminate/Support/Facades/Blade.php @@ -17,7 +17,7 @@ namespace Illuminate\Support\Facades; * @method static void compile(string|null $...
Update Blade.php (#<I>)
laravel_framework
train
php
f93aef5e86c83cac8bc990d8adf9d84136744a52
diff --git a/lib/json_schemer/schema/base.rb b/lib/json_schemer/schema/base.rb index <HASH>..<HASH> 100644 --- a/lib/json_schemer/schema/base.rb +++ b/lib/json_schemer/schema/base.rb @@ -93,6 +93,8 @@ module JSONSchemer validate_custom_format(instance, formats.fetch(format), &block) end + d...
Fix keywords option `data` was referenced before it was assigned. Need some tests...
davishmcclurg_json_schemer
train
rb
7c1a19ec9b8491a3ad45bb01b9c9ae9fb225b1ea
diff --git a/Kwc/Shop/Products/Detail/AddToCartGenerator.php b/Kwc/Shop/Products/Detail/AddToCartGenerator.php index <HASH>..<HASH> 100644 --- a/Kwc/Shop/Products/Detail/AddToCartGenerator.php +++ b/Kwc/Shop/Products/Detail/AddToCartGenerator.php @@ -6,12 +6,11 @@ class Kwc_Shop_Products_Detail_AddToCartGenerator exten...
access own child components, don't get them from class settings with fixed generator key
koala-framework_koala-framework
train
php
7374891d0a9b455ff7d20e84efd0e6b1e3705c11
diff --git a/examples/merge_config.py b/examples/merge_config.py index <HASH>..<HASH> 100644 --- a/examples/merge_config.py +++ b/examples/merge_config.py @@ -37,7 +37,7 @@ # # Ops... assigned twice # # CONFIG_FOO is not set # -# Ops... this symbol doesn't exist +# # Ops... this symbol doesn't exist ...
merge_config.py: Clean up name_and_loc_str() - Rename to name_and_loc(), to be consistent with the kconfiglib.py version - Use a comment instead of a docstring. Shorten the description a bit too. - Piggyback a missing # in conf3 in the module docstring. Typo.
ulfalizer_Kconfiglib
train
py
23f725dd3c2ab030b248b10539b7a2b50c1ea363
diff --git a/src/org/parosproxy/paros/model/SiteMap.java b/src/org/parosproxy/paros/model/SiteMap.java index <HASH>..<HASH> 100644 --- a/src/org/parosproxy/paros/model/SiteMap.java +++ b/src/org/parosproxy/paros/model/SiteMap.java @@ -33,6 +33,7 @@ // ZAP: 2014/01/06 Issue 965: Support 'single page' apps and 'non stan...
Changed SiteMap to initialise the root node with a reference to SiteMap itself so the root node can notify SiteMap of changes (through SiteNode#nodeChangedEventHandler()).
zaproxy_zaproxy
train
java
8460500b6356b0aea15dc8bab2252f26b8904c10
diff --git a/lib/app.js b/lib/app.js index <HASH>..<HASH> 100644 --- a/lib/app.js +++ b/lib/app.js @@ -45,7 +45,13 @@ function App(config) { } }); - // this.meteorApp.stdout.pipe(process.stdout); + this.meteorApp.stdout.on('data', function(data) { + data = data.toString(); + if(data.match(...
print stdout with error information to the console
arunoda_laika
train
js
dacda031fb228bf6fb1b7aa8de33afa4e1704562
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxclient.py +++ b/src/python/test/test_dxclient.py @@ -1794,7 +1794,7 @@ dxpy.run() # download tar.gz file gen_file_tar("test-file", "test.tar.gz", proj_id) ...
DEVEX-<I> Change assert to fix the OSX test
dnanexus_dx-toolkit
train
py
9b55de65d9efe4794204720b78a4b57e4d32fbc7
diff --git a/Request/ParamFetcher.php b/Request/ParamFetcher.php index <HASH>..<HASH> 100644 --- a/Request/ParamFetcher.php +++ b/Request/ParamFetcher.php @@ -161,7 +161,7 @@ class ParamFetcher implements ParamFetcherInterface if ('' !== $config->requirements && ($param !== $default || null === ...
Update ParamFetcher to handle UTF8 requirements Added the 'u' modifier to the regex in cleanParamWithRequirements() so that parameters with UTF8 content will work with the regex. Fixes #<I>
FriendsOfSymfony_FOSRestBundle
train
php
07e6f6a78485bb52fd9879dbcf0bedfbe5d8dfdc
diff --git a/src/shared/js/ch.Expandable.js b/src/shared/js/ch.Expandable.js index <HASH>..<HASH> 100644 --- a/src/shared/js/ch.Expandable.js +++ b/src/shared/js/ch.Expandable.js @@ -10,7 +10,7 @@ options = { 'content': options }; - }2 + } return options...
# <I> Expandable: Delete number '2' from line <I>.
mercadolibre_chico
train
js
d239bc9ed1eb7014c174f5fbed754f0f02d6e1b9
diff --git a/gff3/gff3.py b/gff3/gff3.py index <HASH>..<HASH> 100644 --- a/gff3/gff3.py +++ b/gff3/gff3.py @@ -47,7 +47,7 @@ CODON_TABLE = dict(zip(CODONS, AMINO_ACIDS)) def translate(seq): seq = seq.lower().replace('\n', '').replace(' ', '') peptide = '' - for i in xrange(0, len(seq), 3): + for i in r...
remove xrange to make it compatible to Python 3
hotdogee_gff3-py
train
py
56676f70bde856d9e900a07f6b77870be5ed4e81
diff --git a/src/screenfull.js b/src/screenfull.js index <HASH>..<HASH> 100644 --- a/src/screenfull.js +++ b/src/screenfull.js @@ -6,8 +6,7 @@ var fn = (function () { var val; - var valLength; - + var fnMap = [ [ 'requestFullscreen', @@ -62,7 +61,7 @@ for (; i < l; i++) { val = fnMap[i]; ...
Minor code tweak (#<I>)
sindresorhus_screenfull.js
train
js
de7cbb2821922ee83819c9c7f7e541916c9486d2
diff --git a/lib/ruby-lint/definitions/core/kernel.rb b/lib/ruby-lint/definitions/core/kernel.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-lint/definitions/core/kernel.rb +++ b/lib/ruby-lint/definitions/core/kernel.rb @@ -492,4 +492,13 @@ RubyLint.global_scope.define_constant('Kernel') do |klass| klass.define_insta...
Properly include Kernel into the global scope. This code was removed by accident when the definitions for Kernel were re-generated.
YorickPeterse_ruby-lint
train
rb
5c4a4f54c2cb1e5aa9539612b3eb9452ad40242d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,6 +73,7 @@ setup( "ukpostcodeparser>=1.1.1", "mock", "pytest>=3.8.0,<3.9", + "more-itertools<6.0.0", ], extras_require={ ':python_version=="2.7"': [
Pin more-itertools to a version compatible with py<I> (#<I>)
joke2k_faker
train
py
3a0321ae24de1c111440c515dbb64c945e3c4cdb
diff --git a/azurerm/helpers/validate/api_management.go b/azurerm/helpers/validate/api_management.go index <HASH>..<HASH> 100644 --- a/azurerm/helpers/validate/api_management.go +++ b/azurerm/helpers/validate/api_management.go @@ -71,7 +71,7 @@ func ApiManagementApiName(v interface{}, k string) (ws []string, es []error...
Update path validation for api management api Adding support for paths that start with the character '.' This is important for path implementations such as ".well-known" in universal links
terraform-providers_terraform-provider-azurerm
train
go
b4484d21c74c504d62601764279c7eff9ee33ca0
diff --git a/src/FOM/UserBundle/Form/Type/ACLType.php b/src/FOM/UserBundle/Form/Type/ACLType.php index <HASH>..<HASH> 100644 --- a/src/FOM/UserBundle/Form/Type/ACLType.php +++ b/src/FOM/UserBundle/Form/Type/ACLType.php @@ -133,13 +133,13 @@ class ACLType extends AbstractType $permissions = is_string($options['...
Resolve deprecated CollectionType option usage
mapbender_fom
train
php
49b3c46b5bcf89c7552af85c733526fc1ca60879
diff --git a/test/integration/rails/dummy/config/application.rb b/test/integration/rails/dummy/config/application.rb index <HASH>..<HASH> 100644 --- a/test/integration/rails/dummy/config/application.rb +++ b/test/integration/rails/dummy/config/application.rb @@ -1,12 +1,12 @@ require File.expand_path('../boot', __FILE...
use slim instead of slim/rails
slim-template_slim
train
rb
964972035ce0df8484aac54774da6f9e4b846504
diff --git a/src/Chrisguitarguy/Annotation/Tokens.php b/src/Chrisguitarguy/Annotation/Tokens.php index <HASH>..<HASH> 100644 --- a/src/Chrisguitarguy/Annotation/Tokens.php +++ b/src/Chrisguitarguy/Annotation/Tokens.php @@ -43,8 +43,10 @@ final class Tokens const T_WHITESPACE = 'T_WHITESPACE'; const T_EOF...
ignore Tokens::__construct on code coverage reports
chrisguitarguy_Annotation
train
php
11c3aef6ae0a3149feb532965fe3cf4a4dc874eb
diff --git a/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js b/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js index <HASH>..<HASH> 100644 --- a/packages/veritone-react-common/src/helpers/withMuiThemeProvider.js +++ b/packages/veritone-react-common/src/helpers/withMuiThemeProvider....
fix theme colors, bring in button override from vda
veritone_veritone-sdk
train
js
29f4759cb9a03f1fc2c224106fa2be6de5588f77
diff --git a/build/fn.js b/build/fn.js index <HASH>..<HASH> 100644 --- a/build/fn.js +++ b/build/fn.js @@ -60,7 +60,7 @@ fn.concat = function () { var args = fn.toArray(arguments); var first = args[ 0 ]; - if (!fn.is(first, 'array') && !fn.is(first, 'string')) { + if (!fn.is('array', first) && !fn.is('string', fi...
The order of arguments has changed for 'is'
CrowdHailer_fn.js
train
js,js
1d7497bd9be760548128583b99af8f1ef97301cf
diff --git a/tests/CollectionExtendedTest.php b/tests/CollectionExtendedTest.php index <HASH>..<HASH> 100644 --- a/tests/CollectionExtendedTest.php +++ b/tests/CollectionExtendedTest.php @@ -607,8 +607,11 @@ class CollectionExtendedTest extends $exampleDocument = Document::createFromArray(array('someNewA...
Extended test with getCount() for byExample()
arangodb_arangodb-php
train
php
1941cfca63e0874c8bd71a24f27a80a66532a9f1
diff --git a/config.js b/config.js index <HASH>..<HASH> 100644 --- a/config.js +++ b/config.js @@ -14,7 +14,10 @@ config.items = , invalidRequestMessage: { def: "Invalid request. Make sure you are respecting the sprite maker api (https://github.com/vigour-io/vigour-img/blob/master/README.md#user-content-api) and t...
Add command-line option to change port
vigour-io_shutter
train
js
37f7b8c2f1fe42ccc798792fee27c26452abdb08
diff --git a/src/bin/nca-release.js b/src/bin/nca-release.js index <HASH>..<HASH> 100644 --- a/src/bin/nca-release.js +++ b/src/bin/nca-release.js @@ -28,7 +28,8 @@ export default function run() { console.log(chalk.green(`The tag "${version}" was successfully released.`)) } else { - console.lo...
show how to release in circleci when release fails
CureApp_node-circleci-autorelease
train
js
172571639cd27f41ba8e4358157e01821b76f98f
diff --git a/phpsec/phpsec.crypt.php b/phpsec/phpsec.crypt.php index <HASH>..<HASH> 100644 --- a/phpsec/phpsec.crypt.php +++ b/phpsec/phpsec.crypt.php @@ -140,12 +140,12 @@ class phpsecCrypt { */ public static function pbkdf2($p, $s, $c, $dkLen, $a = 'sha256') { $hLen = strlen(hash($a, null, true)); /* Hash...
Fixed typo in error message in phpsecCrypt::pbkdf2(), and also made some coding style improvements.
phpsec_phpSec
train
php
a9dca920cdb423015d5824abb931b05a14632859
diff --git a/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java b/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java index <HASH>..<HASH> 100644 --- a/simulator/src/main/java/com/hazelcast/simulator/protocol/registry/ComponentRegistry.java +++ ...
Added tests to cluster layout: fix #<I>
hazelcast_hazelcast-simulator
train
java
96013181941c53ff805686d1f898e1ebb643c5e5
diff --git a/src/Datachore.php b/src/Datachore.php index <HASH>..<HASH> 100644 --- a/src/Datachore.php +++ b/src/Datachore.php @@ -504,10 +504,10 @@ class Datachore break; } } + + $this->_where($property, $chain, $operator, $value); + return $this; } - - $this->_where($property, $ch...
FIX: move call to _where in _call to avoid an undefined property variable error.
pwhelan_datachore
train
php
0354c7e13e0b6976879fcfbd3fb9f83f6c13a272
diff --git a/tests/spec/fs.stat.spec.js b/tests/spec/fs.stat.spec.js index <HASH>..<HASH> 100644 --- a/tests/spec/fs.stat.spec.js +++ b/tests/spec/fs.stat.spec.js @@ -91,4 +91,33 @@ describe('fs.stat', function() { }); }); }); + + it('(promise) should be a function', function() { + var fs = util.fs()...
Fix #<I>: added proimse support for fs.stat (#<I>) * added promise support to fs.stat * restored package lock * fixed lint issues * made tests more promise freindly * removed .catch statement from promise and fixed style issues * removed .catch statement from promise and fixed style issues
filerjs_filer
train
js
273deeec186a556e74730704ff9ed269f0b87da3
diff --git a/lib/chef_zero/cookbook_data.rb b/lib/chef_zero/cookbook_data.rb index <HASH>..<HASH> 100644 --- a/lib/chef_zero/cookbook_data.rb +++ b/lib/chef_zero/cookbook_data.rb @@ -36,7 +36,7 @@ module ChefZero file = filename(directory, 'metadata.rb') || "(#{name}/metadata.rb)" metadata.instanc...
Support attribute() and grouping() in cookbook metadata
chef_chef-zero
train
rb
b3eb17162e451b602575ec8e5927d9adbd72f0d8
diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js index <HASH>..<HASH> 100644 --- a/src/layer/tile/TileLayer.js +++ b/src/layer/tile/TileLayer.js @@ -12,8 +12,8 @@ Z.TileLayer = Z.Layer.extend(/** @lends maptalks.TileLayer.prototype */{ options: { - 'errorTileUrl' : 'images/system/t...
change TileLayer's renderSpanWhenPanning to -1 on mobile devices.
maptalks_maptalks.js
train
js
16b6ac9b059023d2e83b42f2ae8355690549dc45
diff --git a/lib/fog/aws/models/storage/file.rb b/lib/fog/aws/models/storage/file.rb index <HASH>..<HASH> 100644 --- a/lib/fog/aws/models/storage/file.rb +++ b/lib/fog/aws/models/storage/file.rb @@ -1,6 +1,5 @@ require 'fog/core/model' require 'fog/aws/models/storage/versions' -require 'digest/md5' module Fog m...
Whoops, don't need to require digest/md5
fog_fog
train
rb
36b95b116ac7520ced018f3e2e1ce430a8c94b84
diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb index <HASH>..<HASH> 100644 --- a/spec/httparty/request_spec.rb +++ b/spec/httparty/request_spec.rb @@ -86,7 +86,7 @@ describe HTTParty::Request do end it "should use digest auth when configured" do - FakeWeb.register_uri(:head,...
Update test to use correct method instead of always using HEAD
jnunemaker_httparty
train
rb
184e5e1104ccc3edf2870f562cdefd1148393743
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -20,7 +20,7 @@ function Rela(opts){ opts = {}; this.clients = opts.dummies || []; - this.server = opts.server || new Server(handler.bind(this)); + this.server = opts.server || new Server(handler); ...
Change back to no bind, changed to arrow function.
scrapjs_rela
train
js
1e15e55689085d506cdd1d0cc86d34dc8d156080
diff --git a/linkcheck/checker/urlbase.py b/linkcheck/checker/urlbase.py index <HASH>..<HASH> 100644 --- a/linkcheck/checker/urlbase.py +++ b/linkcheck/checker/urlbase.py @@ -920,7 +920,7 @@ class UrlBase (object): try: app = winutil.get_word_app() try: - doc = winutil....
Fix errors in Word file parsing.
wummel_linkchecker
train
py,py
1738d50c17763eca2655ac5cda087a89c04b9fc4
diff --git a/mmcv/cnn/builder.py b/mmcv/cnn/builder.py index <HASH>..<HASH> 100644 --- a/mmcv/cnn/builder.py +++ b/mmcv/cnn/builder.py @@ -1,5 +1,4 @@ -import torch.nn as nn - +from ..runner import Sequential from ..utils import Registry, build_from_cfg @@ -22,7 +21,7 @@ def build_model_from_cfg(cfg, registry, def...
Use Sequential rather than nn.Sequential in build_model_from_cfg. (#<I>)
open-mmlab_mmcv
train
py
d978c83cd1848fe8e19c04f9f4c7af96ce4842ed
diff --git a/plan/column_pruning.go b/plan/column_pruning.go index <HASH>..<HASH> 100644 --- a/plan/column_pruning.go +++ b/plan/column_pruning.go @@ -165,10 +165,6 @@ func (ds *DataSource) PruneColumns(parentUsedCols []*expression.Column) { } // PruneColumns implements LogicalPlan interface. -func (p *LogicalTable...
plan: remove unneeded lines of code (#<I>)
pingcap_tidb
train
go
f4360dbc4055ad17397d8344f4050871beec8896
diff --git a/src/Container/AbstractProjectionManagerFactory.php b/src/Container/AbstractProjectionManagerFactory.php index <HASH>..<HASH> 100644 --- a/src/Container/AbstractProjectionManagerFactory.php +++ b/src/Container/AbstractProjectionManagerFactory.php @@ -87,7 +87,7 @@ abstract class AbstractProjectionManagerFac...
event_store is not mandatory (because of defaults)
prooph_pdo-event-store
train
php
15e34d1f07d0c687d040af22dbc66f3978715217
diff --git a/src/effects.js b/src/effects.js index <HASH>..<HASH> 100644 --- a/src/effects.js +++ b/src/effects.js @@ -363,9 +363,17 @@ jQuery.fx.prototype = { t.elem = this.elem; if ( t() && jQuery.timers.push(t) && !timerId ) { - timerId = jQuery.support.requestAnimationFrame ? - !window[jQuery.support.r...
reduce impact of requestAnimationFrame on incompatible browsers by minimizing number of lookups
jquery_jquery
train
js
b30444489ec6933ef27113c88087583d7960f002
diff --git a/src/Resource/Source.php b/src/Resource/Source.php index <HASH>..<HASH> 100644 --- a/src/Resource/Source.php +++ b/src/Resource/Source.php @@ -13,4 +13,94 @@ use Nails\Common\Resource; class Source extends Resource { + /** + * The ID of the source + * + * @var int + */ + public $id...
Adds field information to the Source Resource
nails_module-invoice
train
php
655f683c10e1aba824d68cd9808b8209b88830cd
diff --git a/src/Category.php b/src/Category.php index <HASH>..<HASH> 100644 --- a/src/Category.php +++ b/src/Category.php @@ -78,7 +78,8 @@ class Category implements SerializableInterface, JsonLdSerializableInterface } /** - * {@inheritdoc} + * @param array $data + * @return Category */ ...
Document return types where it's impossible to set one because of bad inheritance behaviour
cultuurnet_udb3-php
train
php,php,php
eef1885fadd806721f5c4f11136ba1efdff60336
diff --git a/src/io/bt.js b/src/io/bt.js index <HASH>..<HASH> 100644 --- a/src/io/bt.js +++ b/src/io/bt.js @@ -19,7 +19,7 @@ class BT extends JSONRPCWebSocket { this._ws = ws; this._ws.onopen = this.requestPeripheral.bind(this); // only call request peripheral after socket opens - this._ws.on...
On websocket error, use sendRequestError instead of disconnect (#<I>)
LLK_scratch-vm
train
js
2f54a110acca680d4fcd78b45573e532a91eb61a
diff --git a/pytodoist/test/api.py b/pytodoist/test/api.py index <HASH>..<HASH> 100644 --- a/pytodoist/test/api.py +++ b/pytodoist/test/api.py @@ -1,6 +1,7 @@ #!/usr/bin/env python """This module contains unit tests for the pytodoist.api module.""" +from __future__ import print_function import sys import unittest...
make api test run under Python 3
Garee_pytodoist
train
py
4f7b2760aefea06d4860af6ee2b0d52b2e93b78b
diff --git a/src/Illuminate/Foundation/Testing/TestResponse.php b/src/Illuminate/Foundation/Testing/TestResponse.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Foundation/Testing/TestResponse.php +++ b/src/Illuminate/Foundation/Testing/TestResponse.php @@ -73,7 +73,7 @@ class TestResponse { PHPUnit:...
Apply fixes from StyleCI (#<I>)
laravel_framework
train
php
c3312a5171367dfd0c6df9d56f8b26c8e9277df5
diff --git a/src/Tweech/Chat/Chat.php b/src/Tweech/Chat/Chat.php index <HASH>..<HASH> 100644 --- a/src/Tweech/Chat/Chat.php +++ b/src/Tweech/Chat/Chat.php @@ -59,7 +59,7 @@ class Chat $this->client->listen('tick.second', function(){ $this->secondsElapsed++; - if ($this->secondsElapsed...
Wait 2 seconds before calculating mps
raideer_tweech-framework
train
php
8627b3a40630726eeb17a09b09252a796a8c4282
diff --git a/cloudsmith_cli/cli/validators.py b/cloudsmith_cli/cli/validators.py index <HASH>..<HASH> 100644 --- a/cloudsmith_cli/cli/validators.py +++ b/cloudsmith_cli/cli/validators.py @@ -145,7 +145,8 @@ def validate_optional_tokens(ctx, param, value): for token in value.split(","): if not toke...
Removed Python3-only f-strings
cloudsmith-io_cloudsmith-cli
train
py
e53872e4a781788fa007b3517e29a4c1fb1fc157
diff --git a/cmd/util/deps/deps.go b/cmd/util/deps/deps.go index <HASH>..<HASH> 100644 --- a/cmd/util/deps/deps.go +++ b/cmd/util/deps/deps.go @@ -66,7 +66,7 @@ func LoadDeps(pkgs ...Pkg) (*Deps, error) { } // get all dependencies for applications defined above - dependencies := set.New() + dependencies := set.Ne...
fix set usage in deps.go
koding_kite
train
go
4c605ba403c6f7a4f9b5e61fe7bbd85da8196964
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -78,10 +78,10 @@ setup( "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", ...
Add Python <I> support, remove Python <I> support As of #<I>, Python <I> is supported, so reflect that in the Trove classifiers. As of <I>-<I>-<I>, Python <I> is end-of-life and no longer receives updates of any kind (including security fixes), so remove it from the list of supported versions.
spulec_moto
train
py
bf87924cf4bb84a22e46d2c08cbbd81c7c420a70
diff --git a/test/environments.js b/test/environments.js index <HASH>..<HASH> 100644 --- a/test/environments.js +++ b/test/environments.js @@ -63,10 +63,6 @@ class ReplicaSetEnvironment extends EnvironmentBase { genReplsetConfig(31004, { arbiter: true }) ]; - this.manager = new ReplSetManager('mongod',...
test: add `enableMajorityReadConcern` before starting nodes
mongodb_node-mongodb-native
train
js
eaf0ebb09768133cb1a1a4436b2d5b84504c8fa9
diff --git a/src/Application.php b/src/Application.php index <HASH>..<HASH> 100644 --- a/src/Application.php +++ b/src/Application.php @@ -9,7 +9,6 @@ use Limber\Exceptions\NotFoundHttpException; use Limber\Middleware\CallableMiddleware; use Limber\Middleware\PrepareHttpResponse; use Limber\Middleware\RequestHandler...
Removing unused import statements.
nimbly_Limber
train
php
4ae6349f355014899bb30c9d84abf9fc906f85b7
diff --git a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java +++ b/core/src/main/java/com/google/bitcoin/crypto/MnemonicCode.java @@ -67,7 +67,...
Fix for Android ART vs Dalvik difference.
bitcoinj_bitcoinj
train
java
b77792464a951bd75e4405c0ec6476bd7a41f70c
diff --git a/grimoire_elk/elastic_items.py b/grimoire_elk/elastic_items.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/elastic_items.py +++ b/grimoire_elk/elastic_items.py @@ -81,6 +81,11 @@ class ElasticItems(): from .utils import get_connector_name return get_connector_name(type(self)) + def...
[ocean] Filter always the raw items using the backend_name field to support that in a raw index there are items from different data sources (arthur).
chaoss_grimoirelab-elk
train
py
3cc5267a84826f7e796939fbb9dadc539b920679
diff --git a/cluster_analyticsquery.go b/cluster_analyticsquery.go index <HASH>..<HASH> 100644 --- a/cluster_analyticsquery.go +++ b/cluster_analyticsquery.go @@ -425,7 +425,7 @@ func (c *Cluster) doAnalyticsQuery(tracectx opentracing.SpanContext, b *Bucket, return nil, err } - if !retryBehavior.CanRetry(ret...
Check that retrybehavior is not nil before using. Motivation ---------- It's possible for a user to provide a retrybehavior for search or analytics so we should check that they aren't nil before use. Changes ------- Added nil checks before use in search and analytics query execution. Change-Id: I8c<I>b9bf<I>fded<I>b...
couchbase_gocb
train
go,go
1116161fe60ab729165db3e4620a2fa9127e4ddd
diff --git a/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java b/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java index <HASH>..<HASH> 100644 --- a/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java +++ b/src-gwt/org/opencms/gwt/client/ui/CmsListItemWidget.java @@ -139,7 +139,7 @@ HasClickHandlers,...
Changed additional info lines in resource info boxes to escape HTML.
alkacon_opencms-core
train
java
219ab2c1df4382e359220bd08635809b45142fa8
diff --git a/twitter_bot/since_id/redis_provider.py b/twitter_bot/since_id/redis_provider.py index <HASH>..<HASH> 100644 --- a/twitter_bot/since_id/redis_provider.py +++ b/twitter_bot/since_id/redis_provider.py @@ -6,11 +6,11 @@ from twitter_bot.since_id.base_provider import BaseSinceIdProvider class RedisSinceIdPro...
Default redis_url to empty string, not None
jessamynsmith_twitterbot
train
py
4551780479a7f23d0292e187604ae57a3de07a5a
diff --git a/uproot/_connect/to_pandas.py b/uproot/_connect/to_pandas.py index <HASH>..<HASH> 100644 --- a/uproot/_connect/to_pandas.py +++ b/uproot/_connect/to_pandas.py @@ -137,7 +137,7 @@ def futures2df(futures, outputtype, entrystart, entrystop, flatten, flatname, aw index = array.index ...
try to improve error message for common TTree.pandas.df() failure
scikit-hep_uproot
train
py
a829db9c2af6323adab371be930ac213b388f6c3
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,9 +1,14 @@ -require "coveralls" -Coveralls.wear! - require "bundler" Bundler.setup(:default, :development) +require "simplecov" +require "coveralls" + +SimpleCov.formatter = C...
tell coverall to ignore spec support files
savonrb_savon
train
rb
2c29290ad7d85f7224db1b9eb2fa25b5c2ff0f12
diff --git a/src/Services/Database.php b/src/Services/Database.php index <HASH>..<HASH> 100644 --- a/src/Services/Database.php +++ b/src/Services/Database.php @@ -19,7 +19,7 @@ class Database extends BaseService { /** * @var array */ - protected $configurations; + protected $configurations = []; /** * @v...
Fix database service for reading configuration file when it is not exist
php-rise_rise
train
php
d22682469efd5140ec010f9f0c5990ee7013e4db
diff --git a/source/Parser.php b/source/Parser.php index <HASH>..<HASH> 100755 --- a/source/Parser.php +++ b/source/Parser.php @@ -15,7 +15,7 @@ define( class Parser { - private $macro = []; + private $macros = []; private $compilers = []; public function addMacro($macro)
Fix typeo in Parser discovered by @phpstan Fixes #<I>
preprocess_pre-plugin
train
php
ab9036f3bd3091d12b1860ab4a53d95ece1f7201
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py index <HASH>..<HASH> 100644 --- a/flask_oidc/__init__.py +++ b/flask_oidc/__init__.py @@ -254,11 +254,15 @@ class OpenIDConnect(object): def _get_cookie_id_token(self): try: - id_token_cookie = request.cookies[current_app.config[ - ...
Do not complain if the user has no cookie
puiterwijk_flask-oidc
train
py
f03c5b5d1717f2ebec64032d269316dc74476056
diff --git a/lib/audited/auditor.rb b/lib/audited/auditor.rb index <HASH>..<HASH> 100644 --- a/lib/audited/auditor.rb +++ b/lib/audited/auditor.rb @@ -175,12 +175,13 @@ module Audited private def audited_changes + all_changes = respond_to?(:attributes_in_database) ? attributes_in_database : chang...
Use updated AR::Dirty API to find changed attributes
collectiveidea_audited
train
rb
1296a06706c033b66180b438bd46b92862fc0e2c
diff --git a/packages/teraslice/lib/storage/assets.js b/packages/teraslice/lib/storage/assets.js index <HASH>..<HASH> 100644 --- a/packages/teraslice/lib/storage/assets.js +++ b/packages/teraslice/lib/storage/assets.js @@ -234,7 +234,7 @@ module.exports = async function assetsStore(context) { logger.info(`...
Don't block in the asset save now
terascope_teraslice
train
js
fe7bc1bcccde50349e23bcec1039597c4ac3220e
diff --git a/lib/engine.go b/lib/engine.go index <HASH>..<HASH> 100644 --- a/lib/engine.go +++ b/lib/engine.go @@ -72,6 +72,7 @@ loop: e.Status.Running = false e.Status.VUs = 0 e.Status.Pooled = 0 + e.reportInternalStats() return nil }
[fix] Stopped tests should report 0/0 VUs
loadimpact_k6
train
go
98bb5335df77b8d185d1b92918bf251558687d1f
diff --git a/tests/integration/modules/config.py b/tests/integration/modules/config.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/config.py +++ b/tests/integration/modules/config.py @@ -32,7 +32,7 @@ class ConfigTest(integration.ModuleCase): # interpereter is breaking it for remote calls ...
Disable failing config.manage_mode test, we will need to clean this
saltstack_salt
train
py
e8e066b48688e20269568e62173d7f91a3f64b7a
diff --git a/ezp/Persistence/Content/Type/Interfaces/Handler.php b/ezp/Persistence/Content/Type/Interfaces/Handler.php index <HASH>..<HASH> 100644 --- a/ezp/Persistence/Content/Type/Interfaces/Handler.php +++ b/ezp/Persistence/Content/Type/Interfaces/Handler.php @@ -84,12 +84,22 @@ interface Handler public functio...
Added link method Added a link method to make it possible to associate groups with content types.
ezsystems_ezpublish-kernel
train
php
a369a07f0deb420bcabe41fce77d21377801c64d
diff --git a/lib/combine_pdf/renderer.rb b/lib/combine_pdf/renderer.rb index <HASH>..<HASH> 100644 --- a/lib/combine_pdf/renderer.rb +++ b/lib/combine_pdf/renderer.rb @@ -107,7 +107,7 @@ module CombinePDF end end # remove extra page references. - object[:Contents].delete(is_reference_only: t...
object[:Contents] needs to be an Array This line is used to remove "empty" edits to PDF pages. This means that pages were expected to have data added to them but where eventually left alone (or the data added was another PDF page instead of a text object).
boazsegev_combine_pdf
train
rb
da3d7eda16fe2d28813ce8bd29115a3ee7aaee81
diff --git a/src/PhpPact/Standalone/Runner/ProcessRunner.php b/src/PhpPact/Standalone/Runner/ProcessRunner.php index <HASH>..<HASH> 100644 --- a/src/PhpPact/Standalone/Runner/ProcessRunner.php +++ b/src/PhpPact/Standalone/Runner/ProcessRunner.php @@ -193,27 +193,17 @@ class ProcessRunner */ public function s...
fix: simplify ProcessRunner::stop() to work on windows systems
pact-foundation_pact-php
train
php
3663c7e8470fd025636e1d97c8d010c082a12e2a
diff --git a/filterpy/__init__.py b/filterpy/__init__.py index <HASH>..<HASH> 100644 --- a/filterpy/__init__.py +++ b/filterpy/__init__.py @@ -14,4 +14,4 @@ This is licensed under an MIT license. See the readme.MD file for more information. """ -__version__ = "1.2.0" +__version__ = "1.2.1" diff --git a/filterpy/com...
Fixed import error For some reason I was trying to do an absolute import for kalman.
rlabbe_filterpy
train
py,py
4f73fe370c5c43895ebac890720356fbdb68d6e6
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,6 +15,10 @@ class User def send_create_notification; end end +class ActionView::TestCase::TestController + include Rails.application.routes.url_helpers +end + # Requires ...
Allow stand-alone running of view specs
publify_publify
train
rb
47a3bb217387843d2e26a4743929f7b5b3f2a7dd
diff --git a/bokeh/core/compat/bokeh_renderer.py b/bokeh/core/compat/bokeh_renderer.py index <HASH>..<HASH> 100644 --- a/bokeh/core/compat/bokeh_renderer.py +++ b/bokeh/core/compat/bokeh_renderer.py @@ -402,7 +402,8 @@ class BokehRenderer(Renderer): widths = get_props_cycled(col, col.get_linewidth()) ...
don't set colors and alphas to None explicity! (use default instead)
bokeh_bokeh
train
py
1472e09ef5d798b4f165e560891bcc2b79ee5659
diff --git a/falafel/mappers/multinode.py b/falafel/mappers/multinode.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/multinode.py +++ b/falafel/mappers/multinode.py @@ -8,7 +8,12 @@ def _metadata(context, product_filter=None): md = marshalling.unmarshal("\n".join(context.content)) produc...
Ensure multinode mappers don't fire on single-node metadata.json
RedHatInsights_insights-core
train
py
8731f03bf14c5ad43c253579db441dd56df40f4f
diff --git a/lib/ticket_evolution/version.rb b/lib/ticket_evolution/version.rb index <HASH>..<HASH> 100644 --- a/lib/ticket_evolution/version.rb +++ b/lib/ticket_evolution/version.rb @@ -1,3 +1,3 @@ module TicketEvolution - VERSION = '0.7.12' + VERSION = '0.7.13' end
Bump minor version for ShippingSettings endpoint addition
ticketevolution_ticketevolution-ruby
train
rb
feac2c60a674c3245e79b9e596983aba6ea4ae21
diff --git a/test/test_platform.rb b/test/test_platform.rb index <HASH>..<HASH> 100644 --- a/test/test_platform.rb +++ b/test/test_platform.rb @@ -43,14 +43,14 @@ class TestPlatform < Test::Unit::TestCase end def test_copy_command_windows - Boom::Platform.stubs(:windows?).returns(true) - Boom::Platform.st...
fixed error in test_platform.rb
holman_boom
train
rb
2e9d96bb980a818ea597503805fc9fe402e9902d
diff --git a/src/Pagination/Paginator.php b/src/Pagination/Paginator.php index <HASH>..<HASH> 100644 --- a/src/Pagination/Paginator.php +++ b/src/Pagination/Paginator.php @@ -128,6 +128,7 @@ class Paginator extends AbstractSettablePaginator protected function getPagesCount() { $query = $this->getQuer...
Use ResultCache for count too
facile-it_paginator-bundle
train
php
55494cc836dd2ba64efb29c429e5aa123b640cca
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,4 +50,4 @@ setup(name = 'logdissect', version = str(__version__), "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 2", - "Topi...
Update classifiers in setup.py
dogoncouch_logdissect
train
py
d9e80627a42deb516a4f75ddc41b745a73a2548a
diff --git a/store.go b/store.go index <HASH>..<HASH> 100644 --- a/store.go +++ b/store.go @@ -98,7 +98,9 @@ func (c *controller) getNetworkFromStore(nid string) (*network, error) { } n.epCnt = ec - n.scope = store.Scope() + if n.scope == "" { + n.scope = store.Scope() + } return n, nil } @@ -132,7 ...
Do not reset network scope during store read - Unless it is needed
docker_libnetwork
train
go
09ed6593658af6302ef2ae2cee28949c5eaf89f7
diff --git a/presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraMetadata.java b/presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraMetadata.java index <HASH>..<HASH> 100644 --- a/presto-cassandra/src/main/java/com/facebook/presto/cassandra/CassandraMetadata.java +++ b/presto-cassan...
Simplify condition `SchemaTablePrefix.schemaName` being null implies its `tableName` to be null as well.
prestodb_presto
train
java
9e840a1b9bc051baef16473c66a0084fc87cf091
diff --git a/lib/Elastica/Client.php b/lib/Elastica/Client.php index <HASH>..<HASH> 100644 --- a/lib/Elastica/Client.php +++ b/lib/Elastica/Client.php @@ -674,7 +674,7 @@ class Client * @param array $query OPTIONAL Query params * @param string $contentType Content-Type sent with this requ...
Improve PHPDoc annotation (#<I>) Change generic \Exception to more specific one.
ruflin_Elastica
train
php
48120cee7c14a87c9954fabca3277342338222b5
diff --git a/lib/webpacker/compiler.rb b/lib/webpacker/compiler.rb index <HASH>..<HASH> 100644 --- a/lib/webpacker/compiler.rb +++ b/lib/webpacker/compiler.rb @@ -18,9 +18,8 @@ class Webpacker::Compiler def compile if stale? - record_compilation_digest run_webpack.tap do |success| - remove_...
Only record compilation digest if webpack runs successfully. (#<I>) This fixes an issue where current request gets an stale pack, because previous request wrote the compilation digest before webpack ends up running.
rails_webpacker
train
rb
76bb33781fb7a512587d4bdd1a671e4f79b7d712
diff --git a/integration/v3_watch_test.go b/integration/v3_watch_test.go index <HASH>..<HASH> 100644 --- a/integration/v3_watch_test.go +++ b/integration/v3_watch_test.go @@ -1128,9 +1128,13 @@ func TestV3WatchWithFilter(t *testing.T) { } func TestV3WatchWithPrevKV(t *testing.T) { + defer testutil.AfterTest(t) cl...
integration: cancel Watch when TestV3WatchWithPrevKV exits Missing ctx cancel was causing goroutine leaks for the proxy tests.
etcd-io_etcd
train
go
2e65951b9df9935906dd993ed1d207aa446d0e11
diff --git a/src/Net/HTTP/Request.php b/src/Net/HTTP/Request.php index <HASH>..<HASH> 100644 --- a/src/Net/HTTP/Request.php +++ b/src/Net/HTTP/Request.php @@ -123,7 +123,7 @@ class Net_HTTP_Request extends ADT_List_Dictionary }*/ $this->setMethod( strtoupper( getEnv( 'REQUEST_METHOD' ) ) ); // store HTT...
Disable update of body while setting or removing parameters.
CeusMedia_Common
train
php
f1f901c3ea2bb4a642136da36721b539ce435b91
diff --git a/admin/index.php b/admin/index.php index <HASH>..<HASH> 100644 --- a/admin/index.php +++ b/admin/index.php @@ -71,7 +71,7 @@ $db->debug=false; if (set_field("config", "value", "$version", "name", "version")) { notify($strdatabasesuccess); - ...
After upgrading version, stay on admin page rather than going to home page, just in case there is more to do.
moodle_moodle
train
php
c77e149243f8aab9d11853bef57c3ced089e25be
diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index <HASH>..<HASH> 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{ } func main() { - pf := rootCommand.PersistentFlags() - pf.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to ...
change var naming to match helm
helm_helm
train
go
c24f9652ae518c61c0333ffa78395256c1ba9ae2
diff --git a/sdk/python/sawtooth_sdk/consensus/zmq_service.py b/sdk/python/sawtooth_sdk/consensus/zmq_service.py index <HASH>..<HASH> 100644 --- a/sdk/python/sawtooth_sdk/consensus/zmq_service.py +++ b/sdk/python/sawtooth_sdk/consensus/zmq_service.py @@ -80,7 +80,7 @@ class ZmqService(Service): # -- Block Creati...
Give Python CSDK initialize_block default None arg This is specified by the interface.
hyperledger_sawtooth-core
train
py
c3433a5d7b24f6eb530ab347c4e5d983e544b3c8
diff --git a/languagetool-standalone/src/main/java/org/languagetool/gui/LanguageToolSupport.java b/languagetool-standalone/src/main/java/org/languagetool/gui/LanguageToolSupport.java index <HASH>..<HASH> 100644 --- a/languagetool-standalone/src/main/java/org/languagetool/gui/LanguageToolSupport.java +++ b/languagetool-...
fix drawing problems: selected text could sometimes disappear (e.g. when selecting text after start up, but before the first errors were marked)
languagetool-org_languagetool
train
java
9d2cf8879dcb1d1183d3cead641e7658a72c1b01
diff --git a/src/Event/Http/HttpRequestEvent.php b/src/Event/Http/HttpRequestEvent.php index <HASH>..<HASH> 100644 --- a/src/Event/Http/HttpRequestEvent.php +++ b/src/Event/Http/HttpRequestEvent.php @@ -38,7 +38,7 @@ final class HttpRequestEvent implements LambdaEvent throw new InvalidLambdaEvent('API Gate...
Default HTTP request event version to <I>
mnapoli_bref
train
php
e6bb0294ce788912d6ee885685aaf8113beaa25f
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index <HASH>..<HASH> 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -300,8 +300,8 @@ module ChefZero # def stop(wait = 5) if @running - @server.shutdown - @thread.join(wait) + @server.shutdown if ...
Handle exceptional conditions where stops are being called all over
chef_chef-zero
train
rb
6b190addbb11af4a3d624d3f9619974680f634ea
diff --git a/lib/fuel-soap.js b/lib/fuel-soap.js index <HASH>..<HASH> 100644 --- a/lib/fuel-soap.js +++ b/lib/fuel-soap.js @@ -283,11 +283,11 @@ FuelSoap.prototype.makeRequest = function (action, req, callback) { requestOptions.headers = this.defaultHeaders; requestOptions.headers.SOAPAction = action; - this.Auth...
Changed AuthClient binding from .on to .once.
salesforce-marketingcloud_FuelSDK-Node-SOAP
train
js
a239ac562bff9559eb371d71fe671ee68c3bb89d
diff --git a/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/AbstractNodeData.php b/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/AbstractNodeData.php index <HASH>..<HASH> 100644 --- a/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/AbstractNodeData.php +++ b/TYPO3.TYPO3CR/Classes/TYPO3/TYPO3CR/Domain/Model/Abstra...
[TASK] Add safe guard in getProperty() for non-existing node reference This adds a safe guard to Node::getProperty() which returns NULL if the node the property is referring to does not exist (anymore). Change-Id: I1a3e9c<I>f<I>ce8d<I>bed8bbce<I>efc<I> Reviewed-on: <URL>
neos_neos-development-collection
train
php
0d1a23e7fc7b1e812a60c9c4aa16258e7dc82cb4
diff --git a/tests/Monolog/Handler/SyslogUdpHandlerTest.php b/tests/Monolog/Handler/SyslogUdpHandlerTest.php index <HASH>..<HASH> 100644 --- a/tests/Monolog/Handler/SyslogUdpHandlerTest.php +++ b/tests/Monolog/Handler/SyslogUdpHandlerTest.php @@ -2,6 +2,9 @@ namespace Monolog\Handler; +/** + * @requires extension ...
avoid test suites failed with Fatal error when sockets extension is not available
Seldaek_monolog
train
php,php
d4b15580d7a45e2fb71f32632538be20589b0699
diff --git a/raiden/transfer/node.py b/raiden/transfer/node.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/node.py +++ b/raiden/transfer/node.py @@ -867,8 +867,6 @@ def is_transaction_successful(chain_state, transaction, state_change): isinstance(state_change, ContractReceiveSecretReveal) and is...
bugfix: ContractSendSecretReveal doesnt have the registry address [ci integration]
raiden-network_raiden
train
py
4e3e182516587f7bf1017b7f22aabfb6d2d6ddea
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -2,6 +2,14 @@ import os import sys +from pip.req import parse_requirements + +# parse_requirements() returns generator of pip.req.InstallRequirement objects +install_reqs = parse_requirements('requirements.txt') + +# reqs ...
install requires from requirements.txt
arve0_leicaexperiment
train
py
f6d0f04411ff4177fb8b504e2339c30f114f1e01
diff --git a/py/test/selenium/webdriver/common/api_examples.py b/py/test/selenium/webdriver/common/api_examples.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/api_examples.py +++ b/py/test/selenium/webdriver/common/api_examples.py @@ -177,9 +177,6 @@ class ApiExampleTest (unittest.TestCase): ...
DavidBurns updating test to desired behavior for getattribute of href r<I>
SeleniumHQ_selenium
train
py
9a4a0ba56b2c41f057ef56b08229f4721c0dff91
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open('README.md', 'r') as f: long_description = f.read() setup(name='carpi-obddaemon', - version='0.3.0', + version='0.3.1', description='OBD II Daemon (developed for CarPi)', ...
Fixed a packaging issue, created a <I> patch
rGunti_CarPi-OBDDaemon
train
py
5d52cd7c9a27a1cb765f1ca358f5392aa1d4c4ec
diff --git a/api/src/opentrons/data_storage/database_migration.py b/api/src/opentrons/data_storage/database_migration.py index <HASH>..<HASH> 100755 --- a/api/src/opentrons/data_storage/database_migration.py +++ b/api/src/opentrons/data_storage/database_migration.py @@ -116,8 +116,18 @@ def _do_schema_changes(): d...
fix(api): apiv1: handle partial db schema changes (#<I>) If the labware database has been partially migrated - one or both of the schema changes creating tables have occurred, but the sqlite user version has not yet been set - then the next time the robot boots, it will try to recreate the tables and die from an un...
Opentrons_opentrons
train
py
3bf9457a127d01bb1c37a119d2ed735df10c0793
diff --git a/spec/jekyll-timeago_spec.rb b/spec/jekyll-timeago_spec.rb index <HASH>..<HASH> 100644 --- a/spec/jekyll-timeago_spec.rb +++ b/spec/jekyll-timeago_spec.rb @@ -18,6 +18,7 @@ describe Jekyll::Timeago do end it 'process successfully the site using filters and tags' do + allow(Date).to receive(...
fix tests by mocking Date.today
markets_jekyll-timeago
train
rb
fe7bbdc6382aeca71544e41c06b212ce1153aa44
diff --git a/generators/fix-entity/index.js b/generators/fix-entity/index.js index <HASH>..<HASH> 100644 --- a/generators/fix-entity/index.js +++ b/generators/fix-entity/index.js @@ -87,7 +87,7 @@ module.exports = generator.extend({ } // Add/Change/Keep tableNameDBH - { + const replace...
assign a block to a function and call it
bastienmichaux_generator-jhipster-db-helper
train
js
5bcc7745dfd03547ddf2a97b1eda782816c4f47d
diff --git a/tests/testpatch.py b/tests/testpatch.py index <HASH>..<HASH> 100644 --- a/tests/testpatch.py +++ b/tests/testpatch.py @@ -726,8 +726,8 @@ class PatchTest(unittest2.TestCase): patcher = patch('%s.something' % __name__) self.assertIs(something, original) mock = patcher.start() - ...
Some test fixes to always clean up patches
testing-cabal_mock
train
py
5e021c793a9b8f3a85ecf61b14512c14d63029ba
diff --git a/lib/bson/array.rb b/lib/bson/array.rb index <HASH>..<HASH> 100644 --- a/lib/bson/array.rb +++ b/lib/bson/array.rb @@ -73,11 +73,11 @@ module BSON # @example Convert the array to a normalized value. # array.to_bson_normalized_value # - # @return [ Array ] The normazlied array. + # @re...
RUBY-<I> Array#to_bson_normalized_value shouldn't mutate the receiver Ref. <URL>
mongodb_bson-ruby
train
rb,rb
ce10d320c42a3b081856f9255f382cfb9820c5a7
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -239,7 +239,7 @@ class Language(object): if not hasattr(component, '__call__'): msg = ("Not a valid pipeline component. Expected callable, but " "go...
Fix component check in self.factories (see #<I>)
explosion_spaCy
train
py
c186fba2414649bc6cae7a64231e73b4f4879bda
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ setup( 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', ...
Mark Python <I> support in setup.py
zsiciarz_django-pgallery
train
py
a2bd510ccc4d7f4324a22bae1e2ccf1579500806
diff --git a/Route.php b/Route.php index <HASH>..<HASH> 100755 --- a/Route.php +++ b/Route.php @@ -263,7 +263,9 @@ class Route continue; } - $mapValue = (is_array($mapValue) && isset($mapValue["to"])) ? $mapValue["to"] : ""; + if (is_array($mapValue)) { + ...
Little fix for when mapping was defined only with transform action
phpalchemy_phpalchemy
train
php
5d8559495a4aac15a0af978cbd89496ee6106b60
diff --git a/lib/utils/write.js b/lib/utils/write.js index <HASH>..<HASH> 100644 --- a/lib/utils/write.js +++ b/lib/utils/write.js @@ -13,7 +13,9 @@ const co = Promise.coroutine; * @param {String} data The data to write. */ module.exports = co(function * (file, data) { - file = p.normalize(file); - yield mkdirp(p...
wrap $.write in try/catch; prevent ESDIR error
lukeed_taskr
train
js,js