hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
96fdd33377576611f331899938523863fb23373b
diff --git a/test/fakefs_test.rb b/test/fakefs_test.rb index <HASH>..<HASH> 100644 --- a/test/fakefs_test.rb +++ b/test/fakefs_test.rb @@ -102,10 +102,10 @@ class FakeFSTest < Test::Unit::TestCase end def test_knows_directories_are_directories_with_periods - FileUtils.mkdir_p(periodPath = "/path/to/periodfil...
Fixes variable names in test_knows_directories_are_directories_with_periods to follow the correct naming convention.
fakefs_fakefs
train
611b794c5ff39d60db90dd4a5e3a5c0e8d22fd12
diff --git a/pysecure/adapters/ssha.py b/pysecure/adapters/ssha.py index <HASH>..<HASH> 100644 --- a/pysecure/adapters/ssha.py +++ b/pysecure/adapters/ssha.py @@ -1,7 +1,7 @@ import logging -from ctypes import c_char_p, c_void_p, c_ubyte, byref, POINTER, cast, c_uint, \ - c_int, c_long, pointer +fr...
add-bt: set blocking flag during session setup
dsoprea_PySecure
train
df1ac404fc9d9286c5437a94135940df68acdb5d
diff --git a/helper/schema/provider_test.go b/helper/schema/provider_test.go index <HASH>..<HASH> 100644 --- a/helper/schema/provider_test.go +++ b/helper/schema/provider_test.go @@ -341,7 +341,7 @@ func TestProviderDiff_timeoutInvalidValue(t *testing.T) { if err == nil { t.Fatal("Expected provider.Diff to fail wi...
fix error string matching in test This package is no longer used, but we are retaining it for now for its help in protocol test coverage.
hashicorp_terraform
train
12e06a68414aa5d24313e333e0338dc627ef5ae0
diff --git a/hazelcast/src/test/java/com/hazelcast/executor/SingleNodeTest.java b/hazelcast/src/test/java/com/hazelcast/executor/SingleNodeTest.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/test/java/com/hazelcast/executor/SingleNodeTest.java +++ b/hazelcast/src/test/java/com/hazelcast/executor/SingleNodeTest.ja...
Minimal cleanup of SingleNodeTest
hazelcast_hazelcast
train
71d36dd75c531135994b65bb42411b395ac4a1bc
diff --git a/src/org/opencms/file/CmsObject.java b/src/org/opencms/file/CmsObject.java index <HASH>..<HASH> 100644 --- a/src/org/opencms/file/CmsObject.java +++ b/src/org/opencms/file/CmsObject.java @@ -3215,7 +3215,11 @@ public final class CmsObject { public List<CmsResource> readResources(CmsResource resource, C...
Improved readResources to use the same queries as getResourceInFolder in case of readTree==false calls.
alkacon_opencms-core
train
63378eb303f927ff1ef52b05d869f5ff69095555
diff --git a/prow/crier/reporters/gcs/util/util.go b/prow/crier/reporters/gcs/util/util.go index <HASH>..<HASH> 100644 --- a/prow/crier/reporters/gcs/util/util.go +++ b/prow/crier/reporters/gcs/util/util.go @@ -41,6 +41,7 @@ type Author interface { type StorageAuthor struct { Opener pkgio.Opener + Opts *pkgio.Wr...
Upload build cluster status file with options to serve with 'Cache-Control: no-cache'.
kubernetes_test-infra
train
9609875c7dd469536ebe5df4157a2155a7db8dfe
diff --git a/client/extensions/woocommerce/components/extended-header/index.js b/client/extensions/woocommerce/components/extended-header/index.js index <HASH>..<HASH> 100644 --- a/client/extensions/woocommerce/components/extended-header/index.js +++ b/client/extensions/woocommerce/components/extended-header/index.js @...
Switch span to div to be semantic
Automattic_wp-calypso
train
af4d2845384c020f02511fc3a4f27af546eec64e
diff --git a/dali/src/main/java/at/favre/lib/dali/builder/blur/BlurBuilder.java b/dali/src/main/java/at/favre/lib/dali/builder/blur/BlurBuilder.java index <HASH>..<HASH> 100644 --- a/dali/src/main/java/at/favre/lib/dali/builder/blur/BlurBuilder.java +++ b/dali/src/main/java/at/favre/lib/dali/builder/blur/BlurBuilder.ja...
[bugfix] new TransitionDrawable point to old drawable array, which cause memory leak
patrickfav_Dali
train
dc07d58f65ab1e27b0ca60b2ebd3e361c699e245
diff --git a/lib/Gitlab/Api/Groups.php b/lib/Gitlab/Api/Groups.php index <HASH>..<HASH> 100644 --- a/lib/Gitlab/Api/Groups.php +++ b/lib/Gitlab/Api/Groups.php @@ -91,15 +91,16 @@ class Groups extends AbstractApi /** * @param integer $id + * @param integer|null $user_id * @param array $parameters ...
List all members of a group or project including inherited members with optional user id filter
m4tthumphrey_php-gitlab-api
train
96fef2f527ea8ac2bf4c89ed1928d66213bb6d8f
diff --git a/src/Command/report/report-acsf.tpl.php b/src/Command/report/report-acsf.tpl.php index <HASH>..<HASH> 100644 --- a/src/Command/report/report-acsf.tpl.php +++ b/src/Command/report/report-acsf.tpl.php @@ -62,7 +62,7 @@ <div class="col-sm-12"> <h2>Sites</h2> - <table class="table"> + <t...
New rowspan on ACSF reports.
drutiny_drutiny
train
b63afd6f09fa50fc7b5789f78714a17eab3750c1
diff --git a/src/components/VoicemailPlayer/index.js b/src/components/VoicemailPlayer/index.js index <HASH>..<HASH> 100644 --- a/src/components/VoicemailPlayer/index.js +++ b/src/components/VoicemailPlayer/index.js @@ -73,8 +73,8 @@ class VoicemailPlayer extends Component { return; } if (!this.st...
play uri with new token (#<I>)
ringcentral_ringcentral-js-widgets
train
13f7c66629d8a35ba866403a6567802e1b93632d
diff --git a/lib/RuntimeTemplate.js b/lib/RuntimeTemplate.js index <HASH>..<HASH> 100644 --- a/lib/RuntimeTemplate.js +++ b/lib/RuntimeTemplate.js @@ -133,7 +133,7 @@ class RuntimeTemplate { * @returns {string} generated error IIFE */ missingModule({ request }) { - return `!(${this.throwMissingModuleErrorFunct...
fix(template): Syntax error caused by runtime template
webpack_webpack
train
44744fb68a84ce7c308cde333c51ee2cc7bc6374
diff --git a/decoder.go b/decoder.go index <HASH>..<HASH> 100644 --- a/decoder.go +++ b/decoder.go @@ -154,15 +154,15 @@ func (this *BinaryDecoder) ReadString() (string, error) { if err := checkEOF(this.buf, this.pos, 1); err != nil { return "", err } - length, err := this.ReadInt() + length, err := this.ReadLon...
Use Long for both encoding and decoding strings in BinaryDecoder.
elodina_go-avro
train
6228e38c35d96b3e418ff2bc6e172ff292ecf642
diff --git a/lib/common/abs_node.rb b/lib/common/abs_node.rb index <HASH>..<HASH> 100644 --- a/lib/common/abs_node.rb +++ b/lib/common/abs_node.rb @@ -44,7 +44,7 @@ class AbsNode def path_from_root return @path_from_root unless @path_from_root.nil? if @parent.nil? - @path_from_root = "root" + @pa...
moving from svn repository (dreamhost) to git
26fe_tree.rb
train
9570f5234fee197c5037ede97029c830cb894249
diff --git a/nfpm.go b/nfpm.go index <HASH>..<HASH> 100644 --- a/nfpm.go +++ b/nfpm.go @@ -185,6 +185,9 @@ func (c *Config) expandEnvVars() { if apkPassphrase != "" { c.Info.APK.Signature.KeyPassphrase = apkPassphrase } + + // RPM specific + c.Info.RPM.Packager = os.Expand(c.RPM.Packager, c.envMappingFunc) } ...
feat: custom packager configuration for rpm pkg (#<I>)
goreleaser_nfpm
train
fe85bdeae61cac99430eb8d620bbd7f4eb0e5e9d
diff --git a/coreir/util.py b/coreir/util.py index <HASH>..<HASH> 100644 --- a/coreir/util.py +++ b/coreir/util.py @@ -38,8 +38,6 @@ class LazyDict(Mapping): _dict[ct.cast(c_keys[i], ct.c_char_p).value.decode()] = \ self.return_type(c_values[i], self.parent.context) libcoreir_...
Remove explicit pointer free because I think they are handled by __del__
leonardt_pycoreir
train
cf57cfb2eccece4fe465e93d041475da07be8e0e
diff --git a/src/editors/string.js b/src/editors/string.js index <HASH>..<HASH> 100644 --- a/src/editors/string.js +++ b/src/editors/string.js @@ -295,7 +295,10 @@ JSONEditor.defaults.editors.string = JSONEditor.AbstractEditor.extend({ // Any special formatting that needs to happen after the input is added to th...
skip afterInputReady for temporary string editor otherwise if the input is an ACE code editor, it will try to add an element to the missing input parentNode, causing an error
jdorn_json-editor
train
98739b8eed71cd500a64d0a7fa2b8b7ac77eef86
diff --git a/drivers/src/main/java/de/uniulm/omi/cloudiator/sword/drivers/openstack/strategy/OpenstackCreateVirtualMachineStrategy.java b/drivers/src/main/java/de/uniulm/omi/cloudiator/sword/drivers/openstack/strategy/OpenstackCreateVirtualMachineStrategy.java index <HASH>..<HASH> 100644 --- a/drivers/src/main/java/de/...
Implemented support for openstack hosts when starting virtual machines
cloudiator_sword
train
96660b802a2428f47371ab2907388fb0c87f6dbe
diff --git a/go/mysqlconn/server_test.go b/go/mysqlconn/server_test.go index <HASH>..<HASH> 100644 --- a/go/mysqlconn/server_test.go +++ b/go/mysqlconn/server_test.go @@ -299,6 +299,10 @@ func TestClearTextServer(t *testing.T) { if ok { t.Fatalf("mysql should have failed but returned: %v", output) } + if strings...
Handling missing clear text auth plugin. Seems to happen on Travis.
vitessio_vitess
train
fed48608c74e30b224feedaa4615ee645d9fe80c
diff --git a/lib/database/converter.js b/lib/database/converter.js index <HASH>..<HASH> 100644 --- a/lib/database/converter.js +++ b/lib/database/converter.js @@ -22,7 +22,7 @@ var db = require('./index.js'); converter.convertToEmberJSFile = function convertToEmberJSFile (modelName, wejsModel, appName) { // ember...
fix ember.js converter for models how dont have options
wejs_we-core
train
1cd6a908d4fda7f890d2b34bb8e6d886e2ecdfba
diff --git a/test/test_base.js b/test/test_base.js index <HASH>..<HASH> 100644 --- a/test/test_base.js +++ b/test/test_base.js @@ -264,10 +264,6 @@ describe ('ccxt base code', () => { const actual = exchange.parseBalance (input) - log ('Actual:', '\t', actual) - - log ('Expected:', '\t', expe...
removed excessive logging from parseBalance test
ccxt_ccxt
train
11dd8e04e96b2c55be6ef522f3e810914d52cccf
diff --git a/src/Model/CustomPostType/ModelEntity.php b/src/Model/CustomPostType/ModelEntity.php index <HASH>..<HASH> 100644 --- a/src/Model/CustomPostType/ModelEntity.php +++ b/src/Model/CustomPostType/ModelEntity.php @@ -160,26 +160,21 @@ class ModelEntity { $ourData = Hash::extract($requestData, $this-...
added a way for entities to raise their own validation errors programmatically; formhelper now add error class all the time, but wont print the message when error is set to false
strata-mvc_strata
train
4f25e54fb6328a802c2a8c27c9419b07fabdf14b
diff --git a/jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/Inflector.java b/jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/Inflector.java index <HASH>..<HASH> 100644 --- a/jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/util/Inflector.java +++ b/jsonschema2pojo-core/src/main/java/org/j...
Resolved #<I>. Couldn't use the irregular feature as the "men" would still use "speciman" as the singular.
joelittlejohn_jsonschema2pojo
train
378af52aee916d7e0975ef00e801325d12946ce8
diff --git a/pyfolio/tests/test_timeseries.py b/pyfolio/tests/test_timeseries.py index <HASH>..<HASH> 100644 --- a/pyfolio/tests/test_timeseries.py +++ b/pyfolio/tests/test_timeseries.py @@ -303,15 +303,14 @@ class TestStats(TestCase): expected) @parameterized.expand([ - (-simple_rets[:5], 'c...
TST Fix sortino ratio tests This changes the tests for the sortino ratio. It tests 3 cases 1. -simple_rets[:5], five negative elements 2. -simple_rets, entire array where elements[5:] are 0. this should have a higher sortino than the first case 3. simple_rets, all elements are >= 0, so infinity is the correct an...
quantopian_pyfolio
train
e4480cd3edd49b7036c73a4806ead5e180b6e939
diff --git a/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterHeartbeatManager.java b/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterHeartbeatManager.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterHeartbeatManager.java +++ ...
Fix master confirmation timeout bug during mastership claim If the mastership claim process is still running, we should not suspect any member because of master confirmation timeout because members may not have sent their periodic master confirmations yet.
hazelcast_hazelcast
train
181ae598444246bb0d04f115ab3cef87643f0a6e
diff --git a/src/main/java/com/github/toastshaman/dropwizard/auth/jwt/hmac/HmacVerifier.java b/src/main/java/com/github/toastshaman/dropwizard/auth/jwt/hmac/HmacVerifier.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/toastshaman/dropwizard/auth/jwt/hmac/HmacVerifier.java +++ b/src/main/java/com/github/...
Unnecessary code removed
ToastShaman_dropwizard-auth-jwt
train
fb146d8de5f8e6ff3a55129dcf50a024b13a768d
diff --git a/lib/jitsu/common/index.js b/lib/jitsu/common/index.js index <HASH>..<HASH> 100644 --- a/lib/jitsu/common/index.js +++ b/lib/jitsu/common/index.js @@ -4,7 +4,7 @@ * (C) 2010, Nodejitsu Inc. * */ - + var fs = require('fs'), path = require('path'), util = require('util'), @@ -14,11 +14,11 @@...
[ui] show drone usage and max drones on `apps view`.
nodejitsu_jitsu
train
bf9e829922dfc211ff17a2a568714e743c9014a0
diff --git a/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AuthenticationBaseMessageTask.java b/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AuthenticationBaseMessageTask.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/Authentic...
Skip auth if it is already authenticated An authentication message can be send over a connection to upgrade client to owner node. In that case, authentication does not need to work again. Adding a check to prevent authentication if the connection is already authenticated.
hazelcast_hazelcast
train
442ec321d0c28db16efb18a020be4a0ea6420dde
diff --git a/lib/ndr_ui/version.rb b/lib/ndr_ui/version.rb index <HASH>..<HASH> 100644 --- a/lib/ndr_ui/version.rb +++ b/lib/ndr_ui/version.rb @@ -1,4 +1,4 @@ # This stores the current version of the NdrUi gem. Use semantic versioning http://semver.org module NdrUi - VERSION = '1.0.1' + VERSION = '1.1.0' end
# bumped to <I>
PublicHealthEngland_ndr_ui
train
b52843ad8ae580c1c87add55200db44b7f1ab313
diff --git a/test/eureka-client.test.js b/test/eureka-client.test.js index <HASH>..<HASH> 100644 --- a/test/eureka-client.test.js +++ b/test/eureka-client.test.js @@ -571,14 +571,14 @@ describe('Eureka client', () => { metadataSpy = sinon.spy(); //let awsClientStub = sinon.createStubInstance(AwsMetadata...
switching stub method on test to stub the actual instance
jquatier_eureka-js-client
train
ccc321c7845b777b1f436cf71cff11b6a7770153
diff --git a/DetectsLostConnections.php b/DetectsLostConnections.php index <HASH>..<HASH> 100644 --- a/DetectsLostConnections.php +++ b/DetectsLostConnections.php @@ -26,7 +26,6 @@ trait DetectsLostConnections 'decryption failed or bad record mac', 'server closed the connection unexpectedly', ...
Revert #<I> & #<I>: Handle InnoDB Deadlocks By Re-Attempting Transactions (#<I>)
illuminate_database
train
0c0f09310dff6bac398158f64b6b50f62c711cad
diff --git a/src/com/opera/core/systems/OperaDriver.java b/src/com/opera/core/systems/OperaDriver.java index <HASH>..<HASH> 100644 --- a/src/com/opera/core/systems/OperaDriver.java +++ b/src/com/opera/core/systems/OperaDriver.java @@ -16,6 +16,7 @@ limitations under the License. package com.opera.core.systems; +im...
Using an immutable map for list of services
operasoftware_operaprestodriver
train
783e5fb11b461bcc7d6db4d283128e4fe37fefd8
diff --git a/resmix.js b/resmix.js index <HASH>..<HASH> 100644 --- a/resmix.js +++ b/resmix.js @@ -22,27 +22,23 @@ const raw = value => ({ } }); -function Cursor(trees, path = [], root) { - if (!root) root = trees; +function Cursor(metadata, state, path = []) { return { - // get() { return trees;...
refactor: further simplify checkMatchAndHandleAction
hex13_feedbacks
train
7710abbea0a8cec5d69c90334858ba16f2c332dd
diff --git a/FetchActions.js b/FetchActions.js index <HASH>..<HASH> 100644 --- a/FetchActions.js +++ b/FetchActions.js @@ -1,6 +1,6 @@ var alt = require('./alt'); -class Actions { +class FetchActions { fetch(route, data){ this.dispatch({route, data}); } @@ -23,4 +23,4 @@ class Actions { } -mo...
Add string names to avoid obfuscation Uglify tends to obfuscate class names. Adding a string to the alt.createXXX methods tends to help.
aksonov_react-native-router-flux
train
b21af7d6ca2dad7e249e7171891f046837248cad
diff --git a/btree/plus/btree_test.go b/btree/plus/btree_test.go index <HASH>..<HASH> 100644 --- a/btree/plus/btree_test.go +++ b/btree/plus/btree_test.go @@ -147,3 +147,18 @@ func TestTreeInsert3_4_5WithEarlyDuplicate(t *testing.T) { assert.Equal(t, keys, result) } + +func TestTreeInsert3_4_5WithDuplicateID(t *te...
Test insert keys with duplicate ID and fix an issue with a switch statement.
Workiva_go-datastructures
train
7d93c57bd32809825a4267fd0f65708df4dff944
diff --git a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php index <HASH>..<HASH> 100644 --- a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php +++ b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php @@ -248,9 +248,22 @@ class CakeHtmlReporter extends CakeBaseReporter ...
Use the diff style provided by PHPUnit in the webrunner. Displaying actual vs expected messages when the result is an array or string. Fixes #GH-<I>
cakephp_cakephp
train
b7ce746717ec619be36945581fed188089217973
diff --git a/message.go b/message.go index <HASH>..<HASH> 100644 --- a/message.go +++ b/message.go @@ -217,51 +217,6 @@ type File struct { Reader io.Reader } -// StickerFormat is the file format of the Sticker. -type StickerFormat int - -// Defines all known Sticker types. -const ( - StickerFormatTypePNG S...
Add get guild stickers support (#<I>) * Add get guild stickers support * fix: change the type of Stickers of StickerPack to array pointer
bwmarrin_discordgo
train
e71251f5af2f1c164b97bc95d0b09b1d2d407445
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Note: prior to v8.2.5 the Maven groupId was `com.helger`. * Updated to Bootstrap 4.6.1 * Updated to FineUploader 5.16.2 * Updated to Jetty 9.4.44 + * Updated to ph-commons 10.1.4 * M...
Updated to ph-commons <I>
phax_ph-oton
train
6d33d4ab9d607ae7973ccaca0a318ca25ba5a847
diff --git a/userprofiles/contrib/accountverification/views.py b/userprofiles/contrib/accountverification/views.py index <HASH>..<HASH> 100644 --- a/userprofiles/contrib/accountverification/views.py +++ b/userprofiles/contrib/accountverification/views.py @@ -1,15 +1,20 @@ # -*- coding: utf-8 -*- -from django.shortcuts...
Changed accountverification views to cbv.
stephrdev_django-userprofiles
train
da5667da26e4f4bdf9583f198785c6b87275bbdb
diff --git a/src/Auth/NoDatabaseUserProvider.php b/src/Auth/NoDatabaseUserProvider.php index <HASH>..<HASH> 100644 --- a/src/Auth/NoDatabaseUserProvider.php +++ b/src/Auth/NoDatabaseUserProvider.php @@ -54,7 +54,13 @@ class NoDatabaseUserProvider extends Provider public function validateCredentials(Authenticatable...
Update the NoDatabaseUserProvider
Adldap2_Adldap2-Laravel
train
c53c3ad01bf6e9a288bab896ddafd98edbb7fc44
diff --git a/stub/src/main/java/io/grpc/stub/ClientCalls.java b/stub/src/main/java/io/grpc/stub/ClientCalls.java index <HASH>..<HASH> 100644 --- a/stub/src/main/java/io/grpc/stub/ClientCalls.java +++ b/stub/src/main/java/io/grpc/stub/ClientCalls.java @@ -58,8 +58,8 @@ public final class ClientCalls { @VisibleForTe...
stub: enable GRPC_CLIENT_CALL_REJECT_RUNNABLE in ThreadlessExecutor shutdown (#<I>)
grpc_grpc-java
train
c81858dc707e5ca9e0e61ec31ddf4cfb7568f89f
diff --git a/flask_dance/consumer/base.py b/flask_dance/consumer/base.py index <HASH>..<HASH> 100644 --- a/flask_dance/consumer/base.py +++ b/flask_dance/consumer/base.py @@ -4,10 +4,11 @@ import six from lazy import lazy from abc import ABCMeta, abstractmethod, abstractproperty from distutils.version import StrictV...
Replace Dictective with werkzeug's CallbackDict Does the same thing, but better. Also better tested, i.e. at all.
singingwolfboy_flask-dance
train
03842b5f259d6007db02c465e6c55929e551e9cd
diff --git a/js/src/base-component.js b/js/src/base-component.js index <HASH>..<HASH> 100644 --- a/js/src/base-component.js +++ b/js/src/base-component.js @@ -36,7 +36,10 @@ class BaseComponent { dispose() { Data.remove(this._element, this.constructor.DATA_KEY) EventHandler.off(this._element, `.${this.cons...
Refactor: move disposing properties into the base class (#<I>) Moves more functionality to `base-component`, transferring the responsibility of disposal to parent class. Each component, dusting disposal, sets its protected properties to `null`. So the same can be done in one place for all children components .
twbs_bootstrap
train
f66e4d77b719d1f3f1b42e8ffe83e79c56db5110
diff --git a/spec/support/config_alias.rb b/spec/support/config_alias.rb index <HASH>..<HASH> 100644 --- a/spec/support/config_alias.rb +++ b/spec/support/config_alias.rb @@ -1,3 +1,3 @@ require 'rbconfig' -::Config = RbConfig +::Config = RbConfig unless defined?(::Config)
Fix specs to only set ::Config when it is not already set
dkubb_adamantium
train
fdbb55022cbf9f2552dc3adccaa80eec45172018
diff --git a/packages/react-dev-utils/InlineChunkHtmlPlugin.js b/packages/react-dev-utils/InlineChunkHtmlPlugin.js index <HASH>..<HASH> 100644 --- a/packages/react-dev-utils/InlineChunkHtmlPlugin.js +++ b/packages/react-dev-utils/InlineChunkHtmlPlugin.js @@ -17,7 +17,7 @@ class InlineChunkHtmlPlugin { if (tag.tagN...
InlineChunkHtmlPlugin works with empty publicPath (#<I>) * InlineChunkHtmlPlugin works with empty publicPath * Update as requested
facebook_create-react-app
train
ba96bff4f0f003aa4c041758894a097ab6eca2a5
diff --git a/lib/socket.js b/lib/socket.js index <HASH>..<HASH> 100644 --- a/lib/socket.js +++ b/lib/socket.js @@ -276,14 +276,6 @@ this.of('').packet({ type: 'disconnect' }); } - // ensure disconnection - var xhr = io.util.request(); - xhr.open('GET', this.resource + '/' + io.protocol ...
Removed sync logic from main disconnect function.
tsjing_socket.io-client
train
02deb9c1a1fc6f3df1ae6e8d13cfd45b01444aff
diff --git a/core/src/test/java/io/grpc/internal/CensusStreamTracerModuleTest.java b/core/src/test/java/io/grpc/internal/CensusStreamTracerModuleTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/io/grpc/internal/CensusStreamTracerModuleTest.java +++ b/core/src/test/java/io/grpc/internal/CensusStreamTracerM...
core: Remove unused mocks which broke @DoNotMock
grpc_grpc-java
train
e59babfe7b65e4c5255a1f17eb8268d9a117cd39
diff --git a/app/controllers/api/api_controller.rb b/app/controllers/api/api_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/api/api_controller.rb +++ b/app/controllers/api/api_controller.rb @@ -69,7 +69,7 @@ class Api::ApiController < ActionController::Base end def exception_with_response(excep...
fixing more katello-cli tests
Katello_katello
train
add8ecb58972aed55c05f011deab9ce06420555f
diff --git a/UWG/simparam.py b/UWG/simparam.py index <HASH>..<HASH> 100644 --- a/UWG/simparam.py +++ b/UWG/simparam.py @@ -46,9 +46,10 @@ class SimParam(object): self.hourDay = 0 # current hours in day def __repr__(self): - return "SimParam: star...
making changes to __repr__ for checking timestep
ladybug-tools_uwg
train
51e2e349f7d80642ce06b2630e121bdf1481f43d
diff --git a/silverberg/marshal.py b/silverberg/marshal.py index <HASH>..<HASH> 100644 --- a/silverberg/marshal.py +++ b/silverberg/marshal.py @@ -128,10 +128,10 @@ def unmarshal_list(objtype, bytesstr): p = 2 for n in range(numelements): # Two bytes of list element size, as an integer - lengt...
More lint formatting fixes that didn't show up in local tests.
rackerlabs_silverberg
train
8476bf62150003c082a95f625012ebe953d6f695
diff --git a/client/views/widget-frame.js b/client/views/widget-frame.js index <HASH>..<HASH> 100644 --- a/client/views/widget-frame.js +++ b/client/views/widget-frame.js @@ -73,7 +73,7 @@ module.exports = View.extend({ }, editSecondary: function (e) { e.preventDefault(); // prevent browser right-mou...
BUGFIX: typo in if statement preventing facets edit page to open for secondary facet
NLeSC_spot
train
16de606e1ca5e395d725086a5925d2ed657090ad
diff --git a/lib/rom/support/inflector.rb b/lib/rom/support/inflector.rb index <HASH>..<HASH> 100644 --- a/lib/rom/support/inflector.rb +++ b/lib/rom/support/inflector.rb @@ -3,48 +3,65 @@ module ROM # # @private module Inflector - def self.setup - @inflector = - begin - require 'active...
Refactor inflector backend selection Refactored inflector backend selection for better testability. Note: the inflector is now detected lazily the first time the API is used.
rom-rb_rom
train
6c724fde3b9fcdeacf517038ed1b8932342954fe
diff --git a/Kwc/Chained/Abstract/Component.php b/Kwc/Chained/Abstract/Component.php index <HASH>..<HASH> 100644 --- a/Kwc/Chained/Abstract/Component.php +++ b/Kwc/Chained/Abstract/Component.php @@ -243,6 +243,7 @@ abstract class Kwc_Chained_Abstract_Component extends Kwc_Abstract } } if ...
Fix _getChainedByMaster when master actually is not a master Problem occured in Kwc_Basic_DownloadTag_Trl_Events::onMasterMediaCacheChanged Du to own_download DownloadTag_Trl has a DownloadTag-component beneath which results in this event handler get called with the non-master downloadTagTrl-download component.
koala-framework_koala-framework
train
ceab5b46e891edaebc78a5c755004ab8a22e4467
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -24,9 +24,9 @@ class MoleculeTest(object): def test_coords(self): """Tests the sanity of the coordinates for each atom.""" - assert self.mol.atoms[0] == np.array([...
added a senseful comparison for the array equals tests
chemlab_chemlab
train
2c1942ac80a9ee48c5dc468a32a35759ea7bc072
diff --git a/modules/social_features/social_follow_user/config/install/core.entity_view_display.profile.profile.preview.yml b/modules/social_features/social_follow_user/config/install/core.entity_view_display.profile.profile.preview.yml index <HASH>..<HASH> 100644 --- a/modules/social_features/social_follow_user/config...
Issue #<I> by chmez: Apply avatar styling to user picture
goalgorilla_open_social
train
9e3ccd29bc47f92140925d785453153d1af36729
diff --git a/packages/react-jsx-highcharts/src/components/PlotBandLine/PlotBandLineLabel.js b/packages/react-jsx-highcharts/src/components/PlotBandLine/PlotBandLineLabel.js index <HASH>..<HASH> 100644 --- a/packages/react-jsx-highcharts/src/components/PlotBandLine/PlotBandLineLabel.js +++ b/packages/react-jsx-highchart...
Fix plotband to work when used outside of axis context
whawker_react-jsx-highcharts
train
dbf1d8d99a8a5dd24e25b62d32a9797562e5b99e
diff --git a/model/behavior/thumbnailable.php b/model/behavior/thumbnailable.php index <HASH>..<HASH> 100644 --- a/model/behavior/thumbnailable.php +++ b/model/behavior/thumbnailable.php @@ -47,7 +47,7 @@ class ComFilesModelBehaviorThumbnailable extends KModelBehaviorAbstract $value = $state->thumbnails; ...
#<I> Properly filter state value
joomlatools_joomlatools-framework
train
7f0a8cb3e49a60283092d6b74066d841d68ddf82
diff --git a/tests/TestCase.php b/tests/TestCase.php index <HASH>..<HASH> 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -116,7 +116,11 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase 'useJsonp' => true, ], ], - ] + ...
Added more testing web application config to fix more tests
yiisoft_yii-core
train
c91fa4a03e6a4ef6f3120d52244ce9cb298e20b3
diff --git a/runtimeconfig/google/cloud/runtimeconfig/client.py b/runtimeconfig/google/cloud/runtimeconfig/client.py index <HASH>..<HASH> 100644 --- a/runtimeconfig/google/cloud/runtimeconfig/client.py +++ b/runtimeconfig/google/cloud/runtimeconfig/client.py @@ -42,11 +42,13 @@ class Client(ClientWithProject): ...
Changing runtimeconfig Connection to only accept client.
googleapis_google-cloud-python
train
145bf9d2cd2f985c56e2884b428725770d2a77cd
diff --git a/src/ReCaptcha/RequestParameters.php b/src/ReCaptcha/RequestParameters.php index <HASH>..<HASH> 100644 --- a/src/ReCaptcha/RequestParameters.php +++ b/src/ReCaptcha/RequestParameters.php @@ -98,6 +98,6 @@ class RequestParameters */ public function toQueryString() { - return http_build...
Solved parameters arguments seperator Problem with generating param URI. On server with php [<I>-1] is generated with argument separator like html entity &amp;. It was problem because script returns error "missing-input-response". Now the separator is "&" - NOT html entity.
google_recaptcha
train
7a00afee58f59e54039c1c28ad1150bb3227c8c2
diff --git a/src/overwrite_object_field_value.js b/src/overwrite_object_field_value.js index <HASH>..<HASH> 100644 --- a/src/overwrite_object_field_value.js +++ b/src/overwrite_object_field_value.js @@ -1,5 +1,3 @@ -"use strict"; - module.exports = function overwriteObjectFieldValue(abstractPath, value, object, delimi...
Update overwrite_object_field_value.js
explore-node-js_node.js-object-field-resolver
train
d5f7b74b0f7426f97015fe33af9c01c09eb22743
diff --git a/test/spec/services/angular-apimock.js b/test/spec/services/angular-apimock.js index <HASH>..<HASH> 100644 --- a/test/spec/services/angular-apimock.js +++ b/test/spec/services/angular-apimock.js @@ -109,7 +109,7 @@ describe('Service: apiMock', function () { } function assertFail() { - expect(true)...
docs(apimock): fix spelling in comment
seriema_angular-apimock
train
28fd289b448164b77affd8103c0d96fd8110daf9
diff --git a/runtime.go b/runtime.go index <HASH>..<HASH> 100644 --- a/runtime.go +++ b/runtime.go @@ -187,7 +187,7 @@ func (runtime *Runtime) Destroy(container *Container) error { return fmt.Errorf("Container %v not found - maybe it was already destroyed?", container.Id) } - if err := container.Stop(10); err !=...
Reduce the Destroy timeout from <I> to 3 seconds
containers_storage
train
c450dbff3c602a4867e1eba426471a682fb3c988
diff --git a/spyderlib/widgets/sourcecode/codeeditor.py b/spyderlib/widgets/sourcecode/codeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/sourcecode/codeeditor.py +++ b/spyderlib/widgets/sourcecode/codeeditor.py @@ -528,11 +528,13 @@ class CodeEditor(TextEditBaseWidget): self.codecomp_sc = QShor...
(Fixes Issue <I>) Editor: changed duplicate/copy line default shortcuts to "Shift+Alt+Up/Down" on platforms other than Windows (on which default is still "Ctrl+Alt+Up/Down"
spyder-ide_spyder
train
c09c8b111fca53466f8b6419b24c0bfeeaa6a886
diff --git a/extensions.py b/extensions.py index <HASH>..<HASH> 100644 --- a/extensions.py +++ b/extensions.py @@ -21,11 +21,14 @@ class JinjaFilterManager(PluginManager, PluginMixin): class JinjaFilter(PluginInfo): - def __init__(self, filter_name): + def __init__(self): super(JinjaFilter, self).__...
Jinja plugin optimization (#<I>) * :hammer: code refactoring. allow function names to be used for jinja filter and test * :shirt: address review feedback * :bug: reverse the logic for tagging jinja test
moremoban_moban-handlebars
train
507c1c421b2b1339b0cfc822be1eb980d6fe5686
diff --git a/securesystemslib/gpg/constants.py b/securesystemslib/gpg/constants.py index <HASH>..<HASH> 100644 --- a/securesystemslib/gpg/constants.py +++ b/securesystemslib/gpg/constants.py @@ -15,29 +15,29 @@ aggregates all the constant definitions and lookup structures for signature handling """ + +import shl...
Assume and test that gpg2 exists. Otherwise, assume gpg exists.
secure-systems-lab_securesystemslib
train
c27c78ebf7caf6f3cc73c9b43fa629cbe3a11fbe
diff --git a/kaminari-core/lib/kaminari/models/array_extension.rb b/kaminari-core/lib/kaminari/models/array_extension.rb index <HASH>..<HASH> 100644 --- a/kaminari-core/lib/kaminari/models/array_extension.rb +++ b/kaminari-core/lib/kaminari/models/array_extension.rb @@ -50,7 +50,7 @@ module Kaminari # total item...
No need to rb_ary_count here
kaminari_kaminari
train
17083208ba7e22b2121353dcfca65cef895ab205
diff --git a/src/main/java/com/milaboratory/core/alignment/AbstractAlignmentScoring.java b/src/main/java/com/milaboratory/core/alignment/AbstractAlignmentScoring.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/milaboratory/core/alignment/AbstractAlignmentScoring.java +++ b/src/main/java/com/milaboratory/core/a...
getMinimalMatchScore, getMaximalMatchScore, getMinimalMismatchScore, getMaximalMismatchScore for Alignment scoring object.
milaboratory_milib
train
84e02828d0600fa1b653b100d74a32de96068ad8
diff --git a/test/vendor/qunit-html.js b/test/vendor/qunit-html.js index <HASH>..<HASH> 100644 --- a/test/vendor/qunit-html.js +++ b/test/vendor/qunit-html.js @@ -41,11 +41,21 @@ } if ( node.nodeType === 1 ) { - stub = { tag: node.tagName, children: [], attributes: {} }; + stub = { _tag: node.tagName }; -...
make test runner HTML comparisons easier to read
ractivejs_ractive
train
b3dab426ac3c6e211ebdcabecc7bf72dac67738b
diff --git a/irco/scripts/graphs.py b/irco/scripts/graphs.py index <HASH>..<HASH> 100644 --- a/irco/scripts/graphs.py +++ b/irco/scripts/graphs.py @@ -3,8 +3,9 @@ import sys from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker +from sqlalchemy.sql.expression import true, false -from irco i...
Adding a command line argument to filter by year.
GaretJax_irco
train
886a485d05e619297edce24288a0afa53fa0d90f
diff --git a/message.go b/message.go index <HASH>..<HASH> 100644 --- a/message.go +++ b/message.go @@ -70,7 +70,7 @@ type messageRequest struct { Validity int `json:"validity,omitempty"` Gateway int `json:"gateway,omitempty"` TypeDetails TypeDetails `json:"typeDetails,omit...
Fix 'datacoding' attribute error The datacoding used in SMS message is always 'plain' after I tried different values for DataCoding. It looks like the json name for datacoding attribute is 'datacoding' rather than 'dataCoding'.
messagebird_go-rest-api
train
a7e1313c340b6a7b1c970894599eb1bd258a7246
diff --git a/hazelcast/src/main/java/com/hazelcast/cluster/MemberRemover.java b/hazelcast/src/main/java/com/hazelcast/cluster/MemberRemover.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/cluster/MemberRemover.java +++ b/hazelcast/src/main/java/com/hazelcast/cluster/MemberRemover.java @@ -5...
fix on serialization of MemberRemover
hazelcast_hazelcast
train
693b17122a6ee70b37cbac8603448aa4f139f282
diff --git a/git/index/base.py b/git/index/base.py index <HASH>..<HASH> 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -8,7 +8,6 @@ from io import BytesIO import os from stat import S_ISLNK import subprocess -import sys import tempfile from git.compat import ( @@ -18,7 +17,6 @@ from git.compat import ...
Allow mmap not just for py<I>/<I>/<I>+ but also <I>+
gitpython-developers_GitPython
train
9d8f6f4af016424f15bb106b5a11b60e036361d5
diff --git a/lang/en/message.php b/lang/en/message.php index <HASH>..<HASH> 100644 --- a/lang/en/message.php +++ b/lang/en/message.php @@ -46,6 +46,7 @@ $string['context'] = 'context'; $string['conversations'] = 'Conversations'; $string['defaultmessageoutputs'] = 'Default message outputs'; $string['defaults'] = 'Def...
MDL-<I> message: confirmation modal when deleting conversation
moodle_moodle
train
337740f9cc6a069da6fc7e955799d8a6f56dfa6b
diff --git a/lib/webmock/http_lib_adapters/em_http_request.rb b/lib/webmock/http_lib_adapters/em_http_request.rb index <HASH>..<HASH> 100644 --- a/lib/webmock/http_lib_adapters/em_http_request.rb +++ b/lib/webmock/http_lib_adapters/em_http_request.rb @@ -113,6 +113,13 @@ if defined?(EventMachine::HttpRequest) ...
Fix bug with em-http-request adapter. Stubbed responses with a `Transer-Encoding: chunked` header were not working properly. WebMock's internal processing caused the stubbed body to be ignored.
bblimke_webmock
train
50edc66e9bb298be616e987680a9eebe1ff2a7e4
diff --git a/lib/sass/util.rb b/lib/sass/util.rb index <HASH>..<HASH> 100644 --- a/lib/sass/util.rb +++ b/lib/sass/util.rb @@ -439,9 +439,9 @@ module Sass # Like `Dir.glob`, but works with backslash-separated paths on Windows. # # @param path [String] - def glob(path) + def glob(path, &block) ...
Fix recursive mode (by passing block from Sass::Util.glob to Dir.glob)
sass_ruby-sass
train
2f04dc681be634fb27388f55db1364dbcd609675
diff --git a/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java b/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java +++ b/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java @@ -1...
Fix build on OpenJDK 8
liquibase_liquibase
train
da4fd05469625e2b090d7a7b7dcdee1f1b21d24a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='pymata-aio', version='2.12', packages=['pymata_aio'], - install_requires=['pyserial==3.0.1', 'autobahn[asyncio]===0.10.4'], + install_requires=['pyserial==2.7', 'autobahn[asyncio]...
Updated setup.py to bring in latest versions of
MrYsLab_pymata-aio
train
f3eae29909f825f618b55f07ff0cc8b90ac7edcd
diff --git a/tests/main_test.py b/tests/main_test.py index <HASH>..<HASH> 100644 --- a/tests/main_test.py +++ b/tests/main_test.py @@ -20,23 +20,49 @@ from __future__ import (print_function, division, absolute_import, import unittest import subprocess import os +import glob -import test_helpers - - -class MainTest...
Add a test that calls build_masters
googlefonts_glyphsLib
train
a9ff4c66e8a3e941fc70235970198065167d511c
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -57,7 +57,7 @@ test('yaml', function (t) { }) test('node version', function (t) { - const range = '4.x || 6.x' + const range = '10.x || 12.x' const active = semver.satisfies(process.version, range) t.plan(active ? 2 ...
test: update node verison tests to match reality
watson_test-all-versions
train
4d4267739c1a2169146c24f1f513b325b58cc438
diff --git a/course/grades.php b/course/grades.php index <HASH>..<HASH> 100644 --- a/course/grades.php +++ b/course/grades.php @@ -26,7 +26,7 @@ /// Get a list of all students - if (!$students = get_course_students($course->id)) { + if (!$students = get_course_students($course->id, "u.lastname ASC")) { ...
Some minor visual improvements - firstname/lastname separated, initialised some variables
moodle_moodle
train
0d935742c054c7b9d6ea17743bfbbdd2d851d99d
diff --git a/latools/helpers.py b/latools/helpers.py index <HASH>..<HASH> 100644 --- a/latools/helpers.py +++ b/latools/helpers.py @@ -141,15 +141,27 @@ def bool_2_indices(bool_array): """ if ~isinstance(bool_array, np.ndarray): bool_array = np.array(bool_array) - if bool_array[-1]: - bool_...
improved bool_2_indices
oscarbranson_latools
train
be5fa32c0c144fe08be2b41ebe8fb82ef8d48575
diff --git a/test/integration/057_oauth_tests/test_oauth.py b/test/integration/057_oauth_tests/test_oauth.py index <HASH>..<HASH> 100644 --- a/test/integration/057_oauth_tests/test_oauth.py +++ b/test/integration/057_oauth_tests/test_oauth.py @@ -30,9 +30,24 @@ Log in as the test user, get a resonse page with some envi...
PR feedback: make oauth test skippable
fishtown-analytics_dbt
train
bdda1c915fc2206720b8d43f98ee90c6c1db1989
diff --git a/src/main/java/com/firebase/geofire/GeoFire.java b/src/main/java/com/firebase/geofire/GeoFire.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/firebase/geofire/GeoFire.java +++ b/src/main/java/com/firebase/geofire/GeoFire.java @@ -236,7 +236,7 @@ public class GeoFire { return new GeoQuery(t...
Make raisedEvent method public (#<I>)
firebase_geofire-java
train
cee0dc6f81fa4ac6ff6fc6f64425d5f28a21c96f
diff --git a/common/src/main/java/io/netty/util/NetUtil.java b/common/src/main/java/io/netty/util/NetUtil.java index <HASH>..<HASH> 100644 --- a/common/src/main/java/io/netty/util/NetUtil.java +++ b/common/src/main/java/io/netty/util/NetUtil.java @@ -21,6 +21,8 @@ import io.netty.util.internal.logging.InternalLoggerFac...
Add IPv4 and IPv6 specific localhost constants to NetUtil
netty_netty
train
56bb4ce3fa1b5aab5a2657add05d3c74333aec09
diff --git a/plenum/server/primary_selector.py b/plenum/server/primary_selector.py index <HASH>..<HASH> 100644 --- a/plenum/server/primary_selector.py +++ b/plenum/server/primary_selector.py @@ -147,32 +147,32 @@ class PrimarySelector(PrimaryDecider): # in cases when it is possible votes = self._vie...
move notification of node about primary change to _complete_view_change
hyperledger_indy-plenum
train
f49e6a5f271378bebf2f2d98189733d09067d7a8
diff --git a/lxc/init.go b/lxc/init.go index <HASH>..<HASH> 100644 --- a/lxc/init.go +++ b/lxc/init.go @@ -168,11 +168,31 @@ func (c *cmdInit) create(conf *config.Config, args []string) (lxd.InstanceServer return nil, "", err } - if network.Type == "bridge" { - devicesMap[c.flagNetwork] = map[string]string{...
lxc/init: When using network flag support managed networks
lxc_lxd
train
51db4de2d08a8d88eef97d8d7342c42f7b92e8f8
diff --git a/lib/backup/storage/s3.rb b/lib/backup/storage/s3.rb index <HASH>..<HASH> 100644 --- a/lib/backup/storage/s3.rb +++ b/lib/backup/storage/s3.rb @@ -50,46 +50,46 @@ module Backup transfer! end - private - - ## - # Establishes a connection to Amazon S3 and returns the Fog object - ...
Forgot to indent a few commits ago.
backup_backup
train
09f9af79e2901d860a16c519a65fbf4533d969c1
diff --git a/cmd/plugins/juju-restore/restore.go b/cmd/plugins/juju-restore/restore.go index <HASH>..<HASH> 100644 --- a/cmd/plugins/juju-restore/restore.go +++ b/cmd/plugins/juju-restore/restore.go @@ -19,7 +19,6 @@ import ( "github.com/juju/cmd" "github.com/juju/errors" "github.com/juju/loggo" - "github.com/juj...
Use machine id rather than tag for PublicAddress
juju_juju
train
86d294a4ede718f638d799fb3c448dfc5b64eff6
diff --git a/src/algoliasearch.helper.js b/src/algoliasearch.helper.js index <HASH>..<HASH> 100644 --- a/src/algoliasearch.helper.js +++ b/src/algoliasearch.helper.js @@ -22,12 +22,18 @@ function AlgoliaSearchHelper( client, index, options ) { util.inherits( AlgoliaSearchHelper, events.EventEmitter ); +/** + * Sta...
Rename search to setQuery, now use search() to trigger the search with the current state
algolia_algoliasearch-helper-js
train
ba8058500f3e0538e7fa3ec19130d9452a97a528
diff --git a/cake/tests/cases/libs/view/helper.test.php b/cake/tests/cases/libs/view/helper.test.php index <HASH>..<HASH> 100644 --- a/cake/tests/cases/libs/view/helper.test.php +++ b/cake/tests/cases/libs/view/helper.test.php @@ -807,6 +807,20 @@ class HelperTest extends CakeTestCase { } /** + * test that a helpe...
Adding test for attachedness of Helper helpers.
cakephp_cakephp
train
d594a176a354e86bd02af1955ae2a39aff4c1b66
diff --git a/lib/flame/dispatcher/cookies.rb b/lib/flame/dispatcher/cookies.rb index <HASH>..<HASH> 100644 --- a/lib/flame/dispatcher/cookies.rb +++ b/lib/flame/dispatcher/cookies.rb @@ -23,10 +23,11 @@ module Flame ## @example Delete `cat` cookie ## cookies['cat'] = nil def []=(key, new_value) - # rub...
RuboCop issue updated, code changed for new `Lint/ReturnInVoidContext` cop
AlexWayfer_flame
train
770f10f09c1b075d319b2bc19aaa47fe773c1d92
diff --git a/seleniumbase/fixtures/js_utils.py b/seleniumbase/fixtures/js_utils.py index <HASH>..<HASH> 100755 --- a/seleniumbase/fixtures/js_utils.py +++ b/seleniumbase/fixtures/js_utils.py @@ -307,14 +307,14 @@ def add_css_link(driver, css_link): def add_js_link(driver, js_link): script_to_add_js = ( "...
Optimize JS by putting html <script> tags before the end of <body>
seleniumbase_SeleniumBase
train
bd20d6208824a36172cd01e161e9c0ed5ff58122
diff --git a/scripts/build.js b/scripts/build.js index <HASH>..<HASH> 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -1,5 +1,5 @@ const ncc = require("../src/index.js"); -const { statSync, writeFileSync, readFileSync } = require("fs"); +const { statSync, writeFileSync, readFileSync, unlinkSync } = require("fs...
ensure build folder is cleared properly on each run (#<I>)
zeit_ncc
train
a7a98119ed55cfba7d16e43c048a4b2addd8e0db
diff --git a/flask_dotenv.py b/flask_dotenv.py index <HASH>..<HASH> 100644 --- a/flask_dotenv.py +++ b/flask_dotenv.py @@ -38,7 +38,7 @@ class DotEnv(object): for line in f: try: key, val = line.strip().split('=', 1) - key = key.replace('export ', ''...
Ensures 'export ' is stripped only from the beginning of the line
grauwoelfchen_flask-dotenv
train
cdaed5c3f545987e5bf1b91c264e83e8a5d2e2d0
diff --git a/plowshare/settings.py b/plowshare/settings.py index <HASH>..<HASH> 100644 --- a/plowshare/settings.py +++ b/plowshare/settings.py @@ -1,7 +1,3 @@ -# Minimum upload success percentage of available hosts to ensure proper file redundancy -MIN_FILE_REDUNDANCY = 0.6 - -try: - from local_settings import ...
Remove unused local settings import. This is Django style anyways.
StorjOld_plowshare-wrapper
train
4faf5aa221b9d430a1fe893c89fa4c8b34c6d9b0
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -34,16 +34,9 @@ if (CONFIG.coordinates) { } } + var dateObj = new Date(date.year, date.month, date.day, date.hour); + for (var i = 0; i < 366; ++i) { - // console.log("> Date: ", date, "DAYS IN M...
Use setDate - getDate for going to the next day. Added return; for testing...
IonicaBizau_github-contributions
train
8474fcb21083f9a774e4a0e679a8fdf951e091fa
diff --git a/bosh-director/lib/bosh/director/deployment_plan/ip_provider/database_ip_provider.rb b/bosh-director/lib/bosh/director/deployment_plan/ip_provider/database_ip_provider.rb index <HASH>..<HASH> 100644 --- a/bosh-director/lib/bosh/director/deployment_plan/ip_provider/database_ip_provider.rb +++ b/bosh-director...
Static network reservations keep their IP when changed to dynamic [#<I>](<URL>)
cloudfoundry_bosh
train
ad6ef3295ae4f000c6b0234eafa873970e3cec9e
diff --git a/saspy/sasdata.py b/saspy/sasdata.py index <HASH>..<HASH> 100644 --- a/saspy/sasdata.py +++ b/saspy/sasdata.py @@ -196,6 +196,8 @@ class SASdata: """ topts = dict(self.dsopts) topts['obs'] = obs + if 'firstobs' in self.dsopts.keys(): + topts['obs'] = self.dsopts['...
fixes for obs/firstobs in head, tail, obs; issue<I>
sassoftware_saspy
train
74093e04ea251d727805271d4a4612b6fc33f08b
diff --git a/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpGraphResponse.java b/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpGraphResponse.java index <HASH>..<HASH> 100755 --- a/server/src/main/java/com/orientechnologies/orient/server/network/...
Delegated send and checkConnection
orientechnologies_orientdb
train