hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
2609a7d77471455882aacab96e7f174c0195c327
diff --git a/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb b/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb index <HASH>..<HASH> 100644 --- a/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +++ b/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb @@ -85,7 +85,...
Only activate macOS High Sierra fork workaround on MRI JRuby can't fork anyway.
phusion_passenger
train
eb42033b09ef506cce63442623f939a19e3c3585
diff --git a/lib/esx.rb b/lib/esx.rb index <HASH>..<HASH> 100644 --- a/lib/esx.rb +++ b/lib/esx.rb @@ -194,6 +194,7 @@ module ESX ds = spec[:datastore]||'datastore1' ds = ds.gsub('[','').gsub(']','') vmx_path = "/vmfs/volumes/#{ds}/#{spec[:vm_name]}/#{spec[:vm_name]}.vmx" + remote_comm...
Ensure target irectory exists before uploading vmx
maintux_esx
train
419873bd43e17eb11a45fd02c5df109f980a98e9
diff --git a/.rubocop.yml b/.rubocop.yml index <HASH>..<HASH> 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -36,5 +36,5 @@ ChefRuby/UnlessDefinedRequire: Include: - 'lib/**/*' - 'chef-bin/**/*' - - 'chef-config/**/*' - - 'chef-utils/**/*' + - 'chef-config/lib/**/*' + - 'chef-utils/lib/**/*' d...
Back out one of the requires gatings This seems to break specs
chef_chef
train
02a86cd161af7ebf9db1bf0eb4681044e5a3f451
diff --git a/plex/objects/library/media/album.py b/plex/objects/library/media/album.py index <HASH>..<HASH> 100644 --- a/plex/objects/library/media/album.py +++ b/plex/objects/library/media/album.py @@ -25,4 +25,4 @@ class Album(Directory, Metadata): 'thumb': 'parentThumb' } - return attr...
Fixed media/metadata objects to work with new object construction
fuzeman_plex.py
train
67992af4d5dad3ed8eb7952694cfa58af1ba9de3
diff --git a/tests/test_qtcpp_helper.py b/tests/test_qtcpp_helper.py index <HASH>..<HASH> 100644 --- a/tests/test_qtcpp_helper.py +++ b/tests/test_qtcpp_helper.py @@ -125,7 +125,7 @@ def test_default_value(): # check for enum prop = interface._propertyMap['status'] answer = qtcpp.Filters.defaultValue(pro...
Fixed test to test for correct Enum prefix
Pelagicore_qface
train
de483434a50e1a262056d63426ad17d1b9159414
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php index <HASH>..<HASH> 100644 --- a/config/environment/ui-test.php +++ b/config/environment/ui-test.php @@ -18,6 +18,9 @@ return array( $result = str_replace(realpath(PIWIK_INCLUDE_PATH), '', $result); }), + array(...
Fix failing Dashboard test by removing RSS widget contents for UI tests.
matomo-org_matomo
train
3c5ebd468aa77e4ade4fcb872ce3cfdc928230b1
diff --git a/models/Comment.php b/models/Comment.php index <HASH>..<HASH> 100644 --- a/models/Comment.php +++ b/models/Comment.php @@ -72,7 +72,7 @@ class Comment extends \yii\db\ActiveRecord [['created_by'], 'default', 'value'=>function ($model, $attribute) { return Yii::$app->user->isGuest ? null : Yii::$a...
fixed bug in comment created_by default
asinfotrack_yii2-comments
train
85918b8e89d92a761b5cd5d2a1a695a5bacdc4b3
diff --git a/lptest.py b/lptest.py index <HASH>..<HASH> 100644 --- a/lptest.py +++ b/lptest.py @@ -25,16 +25,20 @@ import pytest import listparser.dates try: + # Python 2 import BaseHTTPServer import SimpleHTTPServer except ImportError: + # Python 3 import http.server BaseHTTPServer = htt...
Add comments to document which Python versions the imports are intended for
kurtmckee_listparser
train
5dae4e615f90811decc2666e178370ac737842e7
diff --git a/lxd/instance/drivers/driver_qemu.go b/lxd/instance/drivers/driver_qemu.go index <HASH>..<HASH> 100644 --- a/lxd/instance/drivers/driver_qemu.go +++ b/lxd/instance/drivers/driver_qemu.go @@ -779,10 +779,10 @@ func (vm *qemu) Start(stateful bool) error { } // Get a UUID for Qemu. - vmUUID := vm.localCo...
lxd/instance/drivers/driver/qemu: Updates Start to use and populate volatile.uuid instead of volatile.vm.uuid
lxc_lxd
train
8e605b760c689dc0649f92a482cc4560be2bbf1c
diff --git a/enrol/paypal/ipn.php b/enrol/paypal/ipn.php index <HASH>..<HASH> 100644 --- a/enrol/paypal/ipn.php +++ b/enrol/paypal/ipn.php @@ -98,6 +98,13 @@ die; } + // If currency is incorrectly set then someone maybe trying to cheat the system + + if ($data->mc_...
paypal MDL-<I> Make sure the currency is set correctly.
moodle_moodle
train
5453474857e87200726380fe3b7b4deb0e1154bc
diff --git a/export_pipeline.py b/export_pipeline.py index <HASH>..<HASH> 100644 --- a/export_pipeline.py +++ b/export_pipeline.py @@ -8,49 +8,23 @@ def main(): """Main script entry point.""" parser = argparse.ArgumentParser( description='Promote an SDC pipeine from one environment to another.') - ...
Logic for exporting pipleine and saving json
phdata_sdc-api-tool
train
faf6c8ad47f08171d7625c549ea3d805b23960bd
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -90,13 +90,15 @@ class API(object): @property def home_timeline(self): """ :reference: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline - ...
Added missing allowed params to home_timeline in api.py
tweepy_tweepy
train
447cb673027ac826e96dfb55ee21d4d6b5909453
diff --git a/Branch-SDK/src/io/branch/referral/Branch.java b/Branch-SDK/src/io/branch/referral/Branch.java index <HASH>..<HASH> 100644 --- a/Branch-SDK/src/io/branch/referral/Branch.java +++ b/Branch-SDK/src/io/branch/referral/Branch.java @@ -340,7 +340,7 @@ public class Branch { debugHandler_ = new Handler(); de...
Fixing sdks crashing when used below API level <I> Hot fix for SDK crash on Api level <<I>
BranchMetrics_android-branch-deep-linking
train
4e26b252b3f2b1821e70f20f3c3c7541ec406710
diff --git a/lib/ghpages_deploy/deployer.rb b/lib/ghpages_deploy/deployer.rb index <HASH>..<HASH> 100644 --- a/lib/ghpages_deploy/deployer.rb +++ b/lib/ghpages_deploy/deployer.rb @@ -29,12 +29,12 @@ module GithubPages # @return [Boolean] true if there were changes to the destination def deploy_site_to(dest)...
Create the destination directory _after_ clearing files.
rideliner_ghpages_deploy
train
1d4cf86a560c3e711f8f631c3ca2bffca4050a2d
diff --git a/lib/server.js b/lib/server.js index <HASH>..<HASH> 100644 --- a/lib/server.js +++ b/lib/server.js @@ -2590,6 +2590,7 @@ WalletService.prototype._normalizeTxHistory = function(txs) { confirmations: tx.confirmations, blockheight: tx.blockheight, fees: parseInt((tx.fees * 1e8).toFixed(0))...
detect low fee txs in tx history
bitpay_bitcore-wallet-service
train
b895ebf4dcdd7b7e3106db096c323565718480b9
diff --git a/src/org/jgroups/blocks/GroupRequest.java b/src/org/jgroups/blocks/GroupRequest.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/blocks/GroupRequest.java +++ b/src/org/jgroups/blocks/GroupRequest.java @@ -48,7 +48,7 @@ import java.util.concurrent.TimeoutException; * confirmation. * * @author Be...
wrapped waitForResults() into a lock, or else completed.await() would throw an exception because a non-owner tried to release it
belaban_JGroups
train
ea9e3c3c38d8faab5511da47f499452781703a0d
diff --git a/test/chunker-rabin.js b/test/chunker-rabin.js index <HASH>..<HASH> 100644 --- a/test/chunker-rabin.js +++ b/test/chunker-rabin.js @@ -7,13 +7,21 @@ chai.use(require('dirty-chai')) const expect = chai.expect const pull = require('pull-stream') const loadFixture = require('aegir/fixtures') +const os = req...
fix: skip rabin tests on windows
ipfs_js-ipfs-unixfs-importer
train
0853e6e09b256c72c0721457a34e830860914d8f
diff --git a/src/Extractors/Json.php b/src/Extractors/Json.php index <HASH>..<HASH> 100644 --- a/src/Extractors/Json.php +++ b/src/Extractors/Json.php @@ -20,7 +20,7 @@ class Json extends Extractor implements ExtractorInterface $messages = json_decode($string, true); if (is_array($messages)) { - ...
Use late static binding in `Extractors\Json` This avoids extending classes unexpectedly breaking.
oscarotero_Gettext
train
b9737726f1ab6c527add59e6e7ea35d00a1af20d
diff --git a/lib/rspec-puppet/setup.rb b/lib/rspec-puppet/setup.rb index <HASH>..<HASH> 100644 --- a/lib/rspec-puppet/setup.rb +++ b/lib/rspec-puppet/setup.rb @@ -20,10 +20,15 @@ module RSpec::Puppet end def self.safe_setup_directories(module_name=nil, verbose=true) + if control_repo? + $stderr....
Don't setup directory structure if in a control repo
rodjek_rspec-puppet
train
68f2a69a7b3686de717999f775dcb0d9e511f214
diff --git a/db/seeds/demo/140_pathology_requests_drug_categories.rb b/db/seeds/demo/140_pathology_requests_drug_categories.rb index <HASH>..<HASH> 100644 --- a/db/seeds/demo/140_pathology_requests_drug_categories.rb +++ b/db/seeds/demo/140_pathology_requests_drug_categories.rb @@ -5,6 +5,7 @@ module Renalware log...
Fix missing 'logcounts' in path request drug seeds
airslie_renalware-core
train
fd372af3c60f61d2397636813a7476982625b235
diff --git a/nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java b/nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java index <HASH>..<HASH> 100644 --- a/nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java +++ b/nifty-client/src/main/java/com/facebook/nifty/client/Ni...
Improve exception handling for NiftyClient connections - Translate all exceptions to TTransportException - Catch any exceptions in the ChannelFutureListener to make sure we always set a value or exception on the ListenableFuture - Catch failure of cancel() call in the ChannelFutureListener to make sure we *always* set...
facebookarchive_nifty
train
67d613dc819dc213eacebd6e5c01a7f41a836acd
diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/SubProcessActivityBehavior.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/SubProcessActivityBehavior.java index <HASH>..<HASH> 100644 --- a/modules/activiti-engine/src/main/java/org/activiti/en...
ACT-<I> adding support for sub processes without end event
Activiti_Activiti
train
6eea5dcec8b48de31b876b24569fef0bf562afe1
diff --git a/builtin/providers/aws/structure_test.go b/builtin/providers/aws/structure_test.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/structure_test.go +++ b/builtin/providers/aws/structure_test.go @@ -36,7 +36,7 @@ func testConf() map[string]string { } } -func Test_expandIPPerms(t *testing.T) { +...
rename structure tests to be more idiomatic
hashicorp_terraform
train
8d568b9ec04735b109f0fe8118dbee25ea0117c0
diff --git a/master/buildbot/buildslave/base.py b/master/buildbot/buildslave/base.py index <HASH>..<HASH> 100644 --- a/master/buildbot/buildslave/base.py +++ b/master/buildbot/buildslave/base.py @@ -430,23 +430,7 @@ class AbstractBuildSlave(config.ReconfigurableServiceMixin, def _disconnected(rref): ...
Move the disconnect hack to the protocol layer
buildbot_buildbot
train
1a8bdba56b149dd949af0e9e1eaf5a3db0786304
diff --git a/examples/with-apollo-auth/lib/withApollo.js b/examples/with-apollo-auth/lib/withApollo.js index <HASH>..<HASH> 100644 --- a/examples/with-apollo-auth/lib/withApollo.js +++ b/examples/with-apollo-auth/lib/withApollo.js @@ -24,7 +24,6 @@ export default App => { static async getInitialProps(ctx) { ...
[with-apollo-auth] Remove useless apolloState from App's props (#<I>) App component does not need/use apolloState prop, so let's remove it. If I'm wrong please explain me the purpose of this.
zeit_next.js
train
0b73d8509517f52d8e2047042cdd88ae4d442db0
diff --git a/lib/exceptions.js b/lib/exceptions.js index <HASH>..<HASH> 100644 --- a/lib/exceptions.js +++ b/lib/exceptions.js @@ -1,17 +1,17 @@ module.exports = { - 'country.3148': { + 'fr': { 'name': 'France', 'bbox': [[-4.59235, 41.380007], [9.560016, 51.148506]] }, - 'country.3145': { + 'us': { ...
remove use of hardcoded feature IDs
mapbox_mapbox-gl-geocoder
train
fe9c5e11e8f6f5663e16c39390c8f049bd94e52c
diff --git a/lib/right_amqp/ha_client/broker_client.rb b/lib/right_amqp/ha_client/broker_client.rb index <HASH>..<HASH> 100644 --- a/lib/right_amqp/ha_client/broker_client.rb +++ b/lib/right_amqp/ha_client/broker_client.rb @@ -294,7 +294,7 @@ module RightAMQP # === Return # true:: Always return true def ...
acu<I> - Queue unsubscribe request if disconnected but not if failed
rightscale_right_amqp
train
4385dff48620fd84b6b922dcad5b1a224a813e85
diff --git a/src/Module.js b/src/Module.js index <HASH>..<HASH> 100644 --- a/src/Module.js +++ b/src/Module.js @@ -14,7 +14,27 @@ export default class Module extends Dispatcher { super() this._app = app; this._name = name; + this.loaded = false app.on('stop', this.removeAllListeners.bind(this)); ...
Added in provideBefore and provideAfter
nxus_core
train
491d36b09e9c2466abcc847eb9d0819c48bbc378
diff --git a/test/controller.js b/test/controller.js index <HASH>..<HASH> 100644 --- a/test/controller.js +++ b/test/controller.js @@ -127,6 +127,7 @@ describe('Controller', function(){ it('should work with leap.loop', function(done){ this.timeout(500); + Leap.loopController = fakeController(); ...
Fix some tests which would actually connect to the running leap software
leapmotion_leapjs
train
d3fc0014c25754f2e6188c50f66bfd643196dca0
diff --git a/features/request/RequestContext.php b/features/request/RequestContext.php index <HASH>..<HASH> 100644 --- a/features/request/RequestContext.php +++ b/features/request/RequestContext.php @@ -357,7 +357,7 @@ class RequestContext implements Context /** * @When I call assessPassword */ - pu...
correct search-and-replace errors
silinternational_idp-id-broker-php-client
train
af4b81820174ac77876b1273f25b145131788487
diff --git a/Buffer.php b/Buffer.php index <HASH>..<HASH> 100644 --- a/Buffer.php +++ b/Buffer.php @@ -77,6 +77,12 @@ class Buffer extends EventEmitter implements WritableStreamInterface public function handleWrite() { + if (!is_resource($this->stream) || feof($this->stream)) { + $this->em...
Emit correct exception when trying to write to closed stream
reactphp_stream
train
1df142a188a1d6551cfb6ba45fc2e48bb8e91b31
diff --git a/gomock/controller.go b/gomock/controller.go index <HASH>..<HASH> 100644 --- a/gomock/controller.go +++ b/gomock/controller.go @@ -105,7 +105,7 @@ type Controller struct { // T should only be called within a generated mock. It is not intended to // be used in user code and may be changed in future versi...
Fix small typo (#<I>)
golang_mock
train
77a5576782b85f2e3fdaf1b65eda2543eedb6b12
diff --git a/lib/rest-client-wrapper.rb b/lib/rest-client-wrapper.rb index <HASH>..<HASH> 100644 --- a/lib/rest-client-wrapper.rb +++ b/lib/rest-client-wrapper.rb @@ -2,6 +2,8 @@ module OpenTox class RestClientWrapper + attr_accessor :request, :response + # REST methods # Raises OpenTox::Erro...
request and response as RestClientWrapper instance variables
opentox_lazar
train
2ef8c65dbca2039e63e799043e2c997ff5b6c4e1
diff --git a/azurerm/resource_arm_security_center_contact.go b/azurerm/resource_arm_security_center_contact.go index <HASH>..<HASH> 100644 --- a/azurerm/resource_arm_security_center_contact.go +++ b/azurerm/resource_arm_security_center_contact.go @@ -38,7 +38,7 @@ func resourceArmSecurityCenterContact() *schema.Resourc...
[azurerm_security_center_contact] Security center contacts opti… (#<I>) * Make phone optional in azurerm_security_center_contact * Edit documentation that phone is now optional in security center contact
terraform-providers_terraform-provider-azurerm
train
b9c8819423ab8933000e69ad5592f1ef96d24afc
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -2639,7 +2639,12 @@ class Instrument(object): """ - exp_dict = input_meta.to_translated_dict(self._meta_translation_table) + meta_dict = self.meta.to_d...
BUG: Fix code update for `generic_meta_translator` to remove functions deleted from update.
rstoneback_pysat
train
042d9624bbb87b2634d7e3a7fcc70c8acfa724d0
diff --git a/docs/gulpfile.js b/docs/gulpfile.js index <HASH>..<HASH> 100644 --- a/docs/gulpfile.js +++ b/docs/gulpfile.js @@ -43,7 +43,19 @@ var opts = { path.resolve(__dirname, '../src/scss'), path.resolve(__dirname, '../node_modules') ] - } + }, + module: { + loaders: [ + ...
Removing Doc specific loaders from gulp-tasks.
grommet_grommet
train
5d7e0bc1e586006b478a338bc8904bcfa0a38bf2
diff --git a/src/lib/storage/local/local-storage.js b/src/lib/storage/local/local-storage.js index <HASH>..<HASH> 100644 --- a/src/lib/storage/local/local-storage.js +++ b/src/lib/storage/local/local-storage.js @@ -690,7 +690,7 @@ class LocalStorage { 'time': { modified: item.tim...
Use singlequote instead of doublequote modified: src/lib/storage/local/local-storage.js
verdaccio_verdaccio
train
3fa4a0418caa5d396c8ac08998d329936680c532
diff --git a/library/CM/Log/Handler/Fluentd.php b/library/CM/Log/Handler/Fluentd.php index <HASH>..<HASH> 100644 --- a/library/CM/Log/Handler/Fluentd.php +++ b/library/CM/Log/Handler/Fluentd.php @@ -6,7 +6,7 @@ class CM_Log_Handler_Fluentd extends CM_Log_Handler_Abstract { /** @var \Fluent\Logger\FluentLogger */...
sanitize for fluentD
cargomedia_cm
train
31ed22c3a8c8c30e0269d7582638c67fd259739a
diff --git a/concrete/src/Updater/Migrations/Migrations/Version20141017000000.php b/concrete/src/Updater/Migrations/Migrations/Version20141017000000.php index <HASH>..<HASH> 100644 --- a/concrete/src/Updater/Migrations/Migrations/Version20141017000000.php +++ b/concrete/src/Updater/Migrations/Migrations/Version20141017...
Avoid problems if migration <I> is re-executed
concrete5_concrete5
train
c32c0a56eb91062b056acc438648ff3b831d30c3
diff --git a/react-mixin-manager.js b/react-mixin-manager.js index <HASH>..<HASH> 100644 --- a/react-mixin-manager.js +++ b/react-mixin-manager.js @@ -31,8 +31,7 @@ }); } else if (typeof exports !== 'undefined' && typeof require !== 'undefined') { // CommonJS - var React = require('react')...
bug fix: in-browser source include loading
jhudson8_react-mixin-manager
train
a4a75b1c7c1ab4733df852eaba303cd47d46ec2e
diff --git a/test/mode_test.js b/test/mode_test.js index <HASH>..<HASH> 100644 --- a/test/mode_test.js +++ b/test/mode_test.js @@ -67,7 +67,7 @@ }; function esc(str) { - return str.replace('&', '&amp;').replace('<', '&lt;').replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;"); + return st...
Escape all occurences of & and < in mode test output
codemirror_CodeMirror
train
0eaae014ec2205754bf6a8dac329776f97c292d8
diff --git a/clc-java-sdk/sdk/src/main/java/com/centurylink/cloud/sdk/servers/services/domain/server/TimeToLive.java b/clc-java-sdk/sdk/src/main/java/com/centurylink/cloud/sdk/servers/services/domain/server/TimeToLive.java index <HASH>..<HASH> 100644 --- a/clc-java-sdk/sdk/src/main/java/com/centurylink/cloud/sdk/server...
<I> Implement support of server TTL at create server operation. refactoring
CenturyLinkCloud_clc-java-sdk
train
e64f0f0c150a79152c4e40730df095c8800280f5
diff --git a/src/Authentication/Identifier/AbstractIdentifier.php b/src/Authentication/Identifier/AbstractIdentifier.php index <HASH>..<HASH> 100644 --- a/src/Authentication/Identifier/AbstractIdentifier.php +++ b/src/Authentication/Identifier/AbstractIdentifier.php @@ -21,8 +21,18 @@ abstract class AbstractIdentifier ...
Refactoring the Ldap identifier a little
cakephp_authentication
train
63d1c89e86ac251cac2998c2f64920f2a03152fa
diff --git a/go/chat/teams.go b/go/chat/teams.go index <HASH>..<HASH> 100644 --- a/go/chat/teams.go +++ b/go/chat/teams.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/hashicorp/golang-lru" + lru "github.com/hashicorp/golang-lru" "github.com/keybase/client/go/chat/globals" "github.com/keybase/client...
resolve both sides of name check before throwing an error (#<I>)
keybase_client
train
93e0c2a20db6da8c58fb5abf1f06d211e756016f
diff --git a/src/Command/Environment/EnvironmentPushCommand.php b/src/Command/Environment/EnvironmentPushCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/Environment/EnvironmentPushCommand.php +++ b/src/Command/Environment/EnvironmentPushCommand.php @@ -114,6 +114,6 @@ class EnvironmentPushCommand extends Comm...
push command: don't throw an exception if the Git command fails
platformsh_platformsh-cli
train
2d2c999d0f8b21c0259a9581dbdb4bccee3effa8
diff --git a/src/python/twitter/common/python/http/crawler.py b/src/python/twitter/common/python/http/crawler.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/common/python/http/crawler.py +++ b/src/python/twitter/common/python/http/crawler.py @@ -5,7 +5,7 @@ import re import threading from ..compatibility i...
Have http raise a FetchError that crawler can catch instead of having http leak out exceptions from urllib and httplib (sapling split of dac<I>b<I>dbbee<I>df<I>f7b<I>bb3f<I>f<I>a)
pantsbuild_pex
train
bc1adbde03308cb046dbc14e562a85b5e42d6ed1
diff --git a/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java b/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java index <HASH>..<HASH> 100644 --- a/graylog2-shared/src/main/java/org/graylog2/shared/inputs/InputRegistry.java +++ b/graylog2-shared/src/main/java/org/gra...
Fixing removal from InputRegistry
Graylog2_graylog2-server
train
14b6334133ed2924321b25789838e7c319216f20
diff --git a/reportbuilder/classes/local/report/action.php b/reportbuilder/classes/local/report/action.php index <HASH>..<HASH> 100644 --- a/reportbuilder/classes/local/report/action.php +++ b/reportbuilder/classes/local/report/action.php @@ -118,7 +118,12 @@ final class action { ); $this->attribute...
MDL-<I> reportbuilder: allow pre-defined action title attribute.
moodle_moodle
train
e5dd89a53fae41c3a592bc57af88ddc5fd2c81a9
diff --git a/python/board/nodemcu.py b/python/board/nodemcu.py index <HASH>..<HASH> 100644 --- a/python/board/nodemcu.py +++ b/python/board/nodemcu.py @@ -1,18 +1,16 @@ -from microcontroller.pin import * -# note GPIO0 and GPIO2 have built-in pull-ups on common ESP8266 -# breakout boards making them suitable for I2C SDA...
Avoided polluting board namespace with microcontroller pin names added note re I2C.
adafruit_Adafruit_Blinka
train
38ab2aebd4f3cac653da8ff05405ba0cf3d201ca
diff --git a/src/main/java/redis/clients/jedis/BinaryJedis.java b/src/main/java/redis/clients/jedis/BinaryJedis.java index <HASH>..<HASH> 100644 --- a/src/main/java/redis/clients/jedis/BinaryJedis.java +++ b/src/main/java/redis/clients/jedis/BinaryJedis.java @@ -2507,7 +2507,6 @@ public class BinaryJedis implements Bas...
Removed checkIsInMultiOrPipeline from private methods. (#<I>) checkIsInMultiOrPipeline is the responsibility of calling methods and it is done properly in those methods. This also led checkIsInMultiOrPipeline to being called twice for same operation.
xetorthio_jedis
train
b9a568c812e36287ef11093230e5c9f1ef296630
diff --git a/src/View.js b/src/View.js index <HASH>..<HASH> 100644 --- a/src/View.js +++ b/src/View.js @@ -1055,7 +1055,7 @@ var View = createClass( { if(modelArgs[k].charAt(0) === '@') { - modelArgs[k] = modelArgs[k].slice(1).split('.'); + modelArgs[k] = modelArgs[k].slice(1).replace(leading...
fix(View): relative keyPath in "model" arguments of bindings should not require to have leading or trailing asterisk characters
karfcz_kff
train
7d2c46823fe0d268ad11b7199962107b96fe4505
diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/SpeechToText.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/SpeechToText.java index <HASH>..<HASH> 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/SpeechToText.java +++ b/speech-to-text/src/main/j...
docs(Speech to Text): Update code comments
watson-developer-cloud_java-sdk
train
2287b7045e3ee53f555fc2e81f78e3d5357d820d
diff --git a/changelog.md b/changelog.md index <HASH>..<HASH> 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +- add an "expanded_path" step to Manifest#find to also search for files at an expanded path. + # 0.8.1 - change the "binary" check to instead check for valid encoding diff --git a/lib/borrower...
add a step to file lookups that expands the path
stevenosloan_borrower
train
21fb58d433411285a299cdfd339826ce688dac8a
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,9 @@ module.exports = function precision (value) { var exponential = parseExponential(value.toExponential()) var coefficient = exponential[0] - var exponent = exponential[1] + var exponent = parseInt(expone...
Properly handle round powers of <I> Closes bendrucker/round.js#3
bendrucker_precision
train
e7b3f390647dcffaa603557a7a17a3baddcd1e49
diff --git a/cmd/storage-rest-client.go b/cmd/storage-rest-client.go index <HASH>..<HASH> 100644 --- a/cmd/storage-rest-client.go +++ b/cmd/storage-rest-client.go @@ -446,9 +446,8 @@ func (client *storageRESTClient) VerifyFile(volume, path string, size int64, alg values.Set(storageRESTBitrotAlgo, algo.String()) val...
xl: Fix verifying non streaming highway algo with a dist setup (#<I>) VerifyFile in the distributed setup does not work with the non streaming highway hash. The reason is that the internode mux router did not expect `storageRESTBitrotHash` parameter.
minio_minio
train
7c8e4acd5ba1f3e1d6c33a817b58d049539de853
diff --git a/test/introspection_test_helper.rb b/test/introspection_test_helper.rb index <HASH>..<HASH> 100644 --- a/test/introspection_test_helper.rb +++ b/test/introspection_test_helper.rb @@ -63,6 +63,7 @@ module IntrospectionTestExtensions end VERSION_GUARDS = { + '1.59.4' => %w(Regress test_array_struc...
Add version check for gobject-introspection <I>
mvz_gir_ffi
train
620ddc05c2caf94ff91f0ed6931167754878efbf
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ -var fs = require('fs'); -var isects = require('2d-polygon-self-intersections'); +var isects = require('../geojson-polygon-self-intersections'); /** * Takes a complex (i.e. self-intersecting) polygon, and retu...
started implementing rings trough geojson-polygon-self-intersection
mclaeysb_simplepolygon
train
b384c21e1ce9e719553e3c01eaa41538574c2bb9
diff --git a/pyup/bot.py b/pyup/bot.py index <HASH>..<HASH> 100644 --- a/pyup/bot.py +++ b/pyup/bot.py @@ -169,17 +169,42 @@ class Bot(object): pr.is_open and \ pr.title != pull_request.title and \ pr.requirement == update.requirement.key: - ...
fix update race condition bug\n\nthere's a possible race condition where multiple updates with more than one
pyupio_pyup
train
abcc2c6edea587558bfb184287f5d9ee6cfc7bb8
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ Former `:color`, `:drb`, `:fail_fast` and `:formatter` options are deprecated an :run_all => { :cli => "-p" } # cli arguments to use when running all specs, default: same as :cli :spec_paths => ["spec"] ...
zeus support with :zeus => true option
guard_guard-rspec
train
39dd9d11a456e642354ee12f55b0bd32cd7ee8be
diff --git a/actions/promote/index.js b/actions/promote/index.js index <HASH>..<HASH> 100644 --- a/actions/promote/index.js +++ b/actions/promote/index.js @@ -130,17 +130,12 @@ async function main() { data: 'Latest', header: true, }, - { - data: 'Link', - ...
refactor(actions): improve promote flow summary
carbon-design-system_carbon-components
train
f1b4d6a946b00d756dd8c5e2d21797ef4807ef8b
diff --git a/src/Console/ConfigurationResolver.php b/src/Console/ConfigurationResolver.php index <HASH>..<HASH> 100644 --- a/src/Console/ConfigurationResolver.php +++ b/src/Console/ConfigurationResolver.php @@ -23,7 +23,6 @@ use PhpCsFixer\ConfigInterface; use PhpCsFixer\ConfigurationException\InvalidConfigurationExce...
Fixed failing tests on <I> due to unused import after merge
FriendsOfPHP_PHP-CS-Fixer
train
7c794c829bb7cf6ec446c23624cedd42ede3bf6f
diff --git a/osgi/service/src/main/java/org/jboss/as/osgi/deployment/BundleContextJndiBindingProcessor.java b/osgi/service/src/main/java/org/jboss/as/osgi/deployment/BundleContextJndiBindingProcessor.java index <HASH>..<HASH> 100644 --- a/osgi/service/src/main/java/org/jboss/as/osgi/deployment/BundleContextJndiBindingP...
Get the past three commits compiling
wildfly_wildfly
train
9575204cd9344018fcec4d014ca3e1d11089f7f4
diff --git a/lib/spout/commands/deploy.rb b/lib/spout/commands/deploy.rb index <HASH>..<HASH> 100644 --- a/lib/spout/commands/deploy.rb +++ b/lib/spout/commands/deploy.rb @@ -171,15 +171,16 @@ module Spout def graph_generation # failure '' - require 'spout/commands/graphs' - Spout::Comma...
Spout deploy now uploads images to specified server for editors, addresses #<I>.
nsrr_spout
train
7b5f094930ea2a931bc4c2a01403e09d473fd2af
diff --git a/hgvs/dataproviders/uta.py b/hgvs/dataproviders/uta.py index <HASH>..<HASH> 100644 --- a/hgvs/dataproviders/uta.py +++ b/hgvs/dataproviders/uta.py @@ -41,11 +41,16 @@ def connect(db_url=default_db_url): A local postgresql database: postgresql://localhost/uta + + A local SQLite databas...
revert sqlite support in hgvs.dataproviders.uta.py (needed for test, but not test-quick)
biocommons_hgvs
train
37e8d18b90fa07c1b2172ee1e9bf25a1af905ff5
diff --git a/lib/pseudohiki/plaintextformat.rb b/lib/pseudohiki/plaintextformat.rb index <HASH>..<HASH> 100644 --- a/lib/pseudohiki/plaintextformat.rb +++ b/lib/pseudohiki/plaintextformat.rb @@ -185,7 +185,10 @@ module PseudoHiki class TableNodeFormatter < self class MalFormedTableError < StandardError; e...
changed the error message of MalFormedTableError
nico-hn_PseudoHikiParser
train
ba5a92a82daafa4d9bc93fcf21be7167b56599f8
diff --git a/test/spec/integration/TreeIntegrationSpec.js b/test/spec/integration/TreeIntegrationSpec.js index <HASH>..<HASH> 100644 --- a/test/spec/integration/TreeIntegrationSpec.js +++ b/test/spec/integration/TreeIntegrationSpec.js @@ -464,9 +464,11 @@ describe("Trees", function() { var this_status = null; ...
Avoid NPE on <I>
openphacts_ops.js
train
a78ab7991d6fa0030bd6fb8674334d6fab424e51
diff --git a/lib/devise_g5_authenticatable/g5/auth_user_updater.rb b/lib/devise_g5_authenticatable/g5/auth_user_updater.rb index <HASH>..<HASH> 100644 --- a/lib/devise_g5_authenticatable/g5/auth_user_updater.rb +++ b/lib/devise_g5_authenticatable/g5/auth_user_updater.rb @@ -3,31 +3,40 @@ require 'g5_authentication_clie...
Refactor AuthUserUpdater to store model on instance
G5_devise_g5_authenticatable
train
957db1cd41bdbb3be656f2e86feec5cac7c0b93b
diff --git a/fluids/particle_size_distribution.py b/fluids/particle_size_distribution.py index <HASH>..<HASH> 100644 --- a/fluids/particle_size_distribution.py +++ b/fluids/particle_size_distribution.py @@ -236,6 +236,10 @@ class ParticleSizeDistribution(object): Attributes ---------- + length_fractions...
Area, length distributions for discrete ones
CalebBell_fluids
train
4d1b37a58de1cadd8c3fc3511cf024bab96af0cf
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -34,7 +34,7 @@ def _need_func(testfunc, name, description): def check_func(func): def newfunc(*args, **kwargs): if not testfunc(name): - raise pytes...
Call instead of raise pytest.raise() Why: * pytest.raise is not an exception.
wummel_patool
train
98873b8e59640edbc670ad18aa6cf39882218944
diff --git a/src/Symfony/Component/CssSelector/Node/Specificity.php b/src/Symfony/Component/CssSelector/Node/Specificity.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/CssSelector/Node/Specificity.php +++ b/src/Symfony/Component/CssSelector/Node/Specificity.php @@ -83,7 +83,7 @@ class Specificity * @...
Rename Specificity->compare() to compareTo() Update for #<I> as proposed in the comments
symfony_symfony
train
78747b5d8714f92c6ac56e0dcfc2c3711a7d2924
diff --git a/salt/modules/virt.py b/salt/modules/virt.py index <HASH>..<HASH> 100644 --- a/salt/modules/virt.py +++ b/salt/modules/virt.py @@ -1542,8 +1542,6 @@ def is_kvm_hyper(): salt '*' virt.is_kvm_hyper ''' - if __grains__['virtual'] != 'physical': - return False try: if 'kv...
Remove check for physical virt type for KVM KVM can run in VMs when VT-x is passed through the VM, as can be done on VMWare Fusion, and Workstation, perhaps even KVM itself.
saltstack_salt
train
f8ea0224307727b2d7e7294f53208e6a8203d1ff
diff --git a/pycbc/array.py b/pycbc/array.py index <HASH>..<HASH> 100644 --- a/pycbc/array.py +++ b/pycbc/array.py @@ -54,7 +54,6 @@ def _convert_to_scheme(ary): ary._data = converted_array._data ary._scheme = _scheme.mgr.state - class Array(object): """Array used to do numeric calculations on...
example timeseries, frequencyseries, fixed array so that operations return the derived type (not just Array)
gwastro_pycbc
train
1d59a5e53a8da5ce048fb6b829d6eb1f70da4dbc
diff --git a/src/PostType.php b/src/PostType.php index <HASH>..<HASH> 100644 --- a/src/PostType.php +++ b/src/PostType.php @@ -496,7 +496,7 @@ class PostType $orderby = $query->get('orderby'); // if the sorting a custom column - if (array_key_exists($orderby, $this->columns()->sortable)) { + ...
Make sure the "orderby" is a string when sorting by columns.
jjgrainger_PostTypes
train
d55512b3be186993b674fef55c30f2838bf4b587
diff --git a/lib/process-data.js b/lib/process-data.js index <HASH>..<HASH> 100644 --- a/lib/process-data.js +++ b/lib/process-data.js @@ -74,7 +74,7 @@ function processModule(moduleName, packageJson, options) { function processData(options) { var projectPackageJson = options.packageJson; - var nodeModulesPa...
endsWith not in node <I>.x
dylang_npm-check
train
b3c17c489a379e230352e73297e3b963afa469c5
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -51,6 +51,10 @@ var Pokedex = (function() { return getJSON(pokeUrl + '/api/v2/encounter-condition/' + name); }; + Pokedex.prototype.getEncounterConditionValueByName = function(name) { + return getJSON(pokeUrl + '...
added getEncounterConditionValue
PokeAPI_pokedex-promise-v2
train
8f1935b6707e9493310bd868481e58632f378315
diff --git a/core-bundle/src/Translation/Translator.php b/core-bundle/src/Translation/Translator.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Translation/Translator.php +++ b/core-bundle/src/Translation/Translator.php @@ -47,7 +47,7 @@ class Translator implements TranslatorInterface, TranslatorBagInterface, Lo...
Remove a useless check in the translator
contao_contao
train
059e5434e55abac094c75b67980458969c2765b9
diff --git a/src/models/cart-line-item-model.js b/src/models/cart-line-item-model.js index <HASH>..<HASH> 100644 --- a/src/models/cart-line-item-model.js +++ b/src/models/cart-line-item-model.js @@ -7,7 +7,7 @@ const CartLineItem = BaseModel.extend({ }, get id() { - return this[GUID_KEY]; + return this.at...
Proxy line item IDs properly This didn't create any issues with how the SDK works, but for anyone consuming the SDK, they wouldn't have had unique IDs on enumerables that are persisted. This could have made it more difficult to implement client side work using line items.
Shopify_js-buy-sdk
train
0a6b7cff87d52c5fcd9d10c6f7b5fb0cc4d199d8
diff --git a/tests/unit/modules/test_cmdmod.py b/tests/unit/modules/test_cmdmod.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_cmdmod.py +++ b/tests/unit/modules/test_cmdmod.py @@ -329,7 +329,7 @@ class CMDMODTestCase(TestCase, LoaderModuleMockMixin): if not salt.utils.platform.is_dar...
feat: skip test if platform is not macOS Skip test test_shell_properly_handled_on_macOS if platform is not macOS
saltstack_salt
train
255d287f9ced4d0ff9ab22cce9164e50038717d8
diff --git a/src/Stream/Stream.php b/src/Stream/Stream.php index <HASH>..<HASH> 100644 --- a/src/Stream/Stream.php +++ b/src/Stream/Stream.php @@ -54,9 +54,7 @@ final class Stream implements StreamInterface public function position(): Position { if ($this->closed()) { - return new Position...
fix inconsistency of Stream::position() once closed
Innmind_Stream
train
689a01304808ee69ab7841ac20f0bff5e8fd2b26
diff --git a/openquake/server/views.py b/openquake/server/views.py index <HASH>..<HASH> 100644 --- a/openquake/server/views.py +++ b/openquake/server/views.py @@ -347,7 +347,7 @@ def calc_abort(request, calc_id): message = {'error': 'Unknown job %s' % calc_id} return HttpResponse(content=json.dumps(me...
Fix abort in the WebUI
gem_oq-engine
train
17d65fa54707cbe142912d19ae46c6caf238bc73
diff --git a/web/check.php b/web/check.php index <HASH>..<HASH> 100644 --- a/web/check.php +++ b/web/check.php @@ -9,7 +9,8 @@ if (!in_array(@$_SERVER['REMOTE_ADDR'], array( '::1', ))) { header('HTTP/1.0 403 Forbidden'); - exit('This script is only accessible from localhost.'); + header('Content-Type: ...
also change failmessage to json
libgraviton_graviton
train
d5fa619c11d41adcc22ca23808f29f6ee66bf7ff
diff --git a/cron/controllers/CronRouter.php b/cron/controllers/CronRouter.php index <HASH>..<HASH> 100644 --- a/cron/controllers/CronRouter.php +++ b/cron/controllers/CronRouter.php @@ -181,6 +181,10 @@ class CronRouter extends BaseMiddle public function writeLog($sLine) { $sLine = ' [' . $this->sMo...
chore: Echoing when running cron on DEVELOPMENT environments, logging elsewhere
nails_module-cron
train
5a96b4881e3f67a2f9304b2c16d82924f3e3c91d
diff --git a/src/image/core/__tests__/save.js b/src/image/core/__tests__/save.js index <HASH>..<HASH> 100644 --- a/src/image/core/__tests__/save.js +++ b/src/image/core/__tests__/save.js @@ -6,7 +6,7 @@ describe('save to disk', () => { afterEach(refreshTmpDir); it('load then save', async () => { - const img ...
test: show that load then save does not break alpha channel Closes <URL>
image-js_image-js
train
d5dad8f866bc36f7a18f1a202b14fc874ec4b2df
diff --git a/theanets/recurrent.py b/theanets/recurrent.py index <HASH>..<HASH> 100644 --- a/theanets/recurrent.py +++ b/theanets/recurrent.py @@ -353,7 +353,7 @@ class LSTM(Network): self.updates.update(updates) self.weights.extend(W) self.biases.extend(B) - self.preacts.append(hid) ...
Make preactivation None for LSTM layers.
lmjohns3_theanets
train
04b3f479437291c04e997a56f55c524f61e75686
diff --git a/pysparkling/utils.py b/pysparkling/utils.py index <HASH>..<HASH> 100644 --- a/pysparkling/utils.py +++ b/pysparkling/utils.py @@ -7,7 +7,10 @@ import re import sys from operator import itemgetter -from pysparkling.sql.types import Row +from pysparkling.sql.internal_utils.joins import * +from pysparklin...
Implement all join types for join on values
svenkreiss_pysparkling
train
a8f271147c9f4987d49c2915ac0f55cb27511505
diff --git a/lib/Nails.js b/lib/Nails.js index <HASH>..<HASH> 100644 --- a/lib/Nails.js +++ b/lib/Nails.js @@ -209,11 +209,14 @@ Nails.prototype.init = function() { .processEvery('5 seconds') .maxConcurrency(20) .defaultConcurrency(5) + .on('start', function(job) { + taskLogger.info('St...
Nails: Tidy task scheduler logging
jameswyse_nails-framework
train
d33aa5d8054cfc045e84d6810d7bf9d532930bb7
diff --git a/Generator/Collection/ComponentCollection.php b/Generator/Collection/ComponentCollection.php index <HASH>..<HASH> 100644 --- a/Generator/Collection/ComponentCollection.php +++ b/Generator/Collection/ComponentCollection.php @@ -6,6 +6,10 @@ use DrupalCodeBuilder\Generator\BaseGenerator; /** * The collec...
Moved tree assembly to the collection.
drupal-code-builder_drupal-code-builder
train
785130ca51d7ae48aeb43d78a1f27f6830fe03aa
diff --git a/tests/test_jp2box_uuid.py b/tests/test_jp2box_uuid.py index <HASH>..<HASH> 100644 --- a/tests/test_jp2box_uuid.py +++ b/tests/test_jp2box_uuid.py @@ -329,6 +329,7 @@ class TestSuite(unittest.TestCase): expected = 'UTM Zone 16N NAD27"|Clarke, 1866 by Default| ' self.assertEqual(box.data['G...
Skip GDAL printing test if no GDAL The intended geotiff information doesn't make much sense if GDAL is not installed anyway. Closes-Issue: #<I>
quintusdias_glymur
train
09a4f52acf420a478f9b478ecaf76aaca221f950
diff --git a/test/cssjanus.test.js b/test/cssjanus.test.js index <HASH>..<HASH> 100644 --- a/test/cssjanus.test.js +++ b/test/cssjanus.test.js @@ -547,8 +547,10 @@ for ( var msg in tests ) { } if ( failures === 1 ) { console.log( applyStyle( '1 test failed', 'error' ) ); + process.exit( 1 ); } else if ( failures >...
test: Use proper exit code when tests fail Locally npm-test was giving no sign of failure. Travis CI was all-green as well.
cssjanus_cssjanus
train
6661d30553d50d897c837e4b53fdaf44075d898d
diff --git a/lib/knapsack_pro/base_allocator_builder.rb b/lib/knapsack_pro/base_allocator_builder.rb index <HASH>..<HASH> 100644 --- a/lib/knapsack_pro/base_allocator_builder.rb +++ b/lib/knapsack_pro/base_allocator_builder.rb @@ -74,6 +74,8 @@ module KnapsackPro def get_slow_test_files_from_api(test_file_paths) ...
add method to ensure test files still exist on disk
KnapsackPro_knapsack_pro-ruby
train
dbe062993a9868eb71e30cb382ce4da02406d59d
diff --git a/src/Zerg/DataSet.php b/src/Zerg/DataSet.php index <HASH>..<HASH> 100644 --- a/src/Zerg/DataSet.php +++ b/src/Zerg/DataSet.php @@ -48,13 +48,13 @@ class DataSet implements \ArrayAccess, \Iterator */ public function setData(array $data) { - $this->data = (array) $data; + $this->...
fix docs and remove unnecessary casting
klermonte_zerg
train
bf918bcfa6b118a1c1b752f7e1fd1f3a10935ebc
diff --git a/src/constants/css.js b/src/constants/css.js index <HASH>..<HASH> 100644 --- a/src/constants/css.js +++ b/src/constants/css.js @@ -1,3 +1,4 @@ module.exports = { globalValues: ['inherit', 'initial', 'unset'], + variableRegex: /var\(--[^)]+\)/, }; diff --git a/src/isValidDeclaration.js b/src/isValidDec...
Add Css Variable Support for Property Validation
mahirshah_css-property-parser
train
b0e513a53e76c198ab6bc814cd116788ccd4507d
diff --git a/tests/src/test/java/alluxio/master/MasterFaultToleranceIntegrationTest.java b/tests/src/test/java/alluxio/master/MasterFaultToleranceIntegrationTest.java index <HASH>..<HASH> 100644 --- a/tests/src/test/java/alluxio/master/MasterFaultToleranceIntegrationTest.java +++ b/tests/src/test/java/alluxio/master/Ma...
Explicitly wait for worker to reregister.
Alluxio_alluxio
train
a00d1374aff8f848a580182290f31e5ac8f1b9e1
diff --git a/lib/puppet/environments.rb b/lib/puppet/environments.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/environments.rb +++ b/lib/puppet/environments.rb @@ -387,23 +387,30 @@ module Puppet::Environments # @!macro loader_get def get(name) + entry = get_entry(name) + entry&.value + end ...
(PUP-<I>) Refactor get_entry logic Extract `get_entry` logic to a private method. Update `get` to call the latter to return the entry's value.
puppetlabs_puppet
train
999a0a42c20b1c921db924eae709c5956b33df0f
diff --git a/websocket_server.go b/websocket_server.go index <HASH>..<HASH> 100644 --- a/websocket_server.go +++ b/websocket_server.go @@ -43,7 +43,12 @@ func newWebSocketServer(listener net.Listener) *WebSocketServer { listener: listener, upgrader: &websocket.Upgrader{ HandshakeTimeout: 60 * time.Second, - ...
added mqtt<I> for compatibility and disable check origin method
256dpi_gomqtt
train
cc7c955848fdb13fc6ee9ac111c48c14a55f9d17
diff --git a/lib/radar_client_rb/client.rb b/lib/radar_client_rb/client.rb index <HASH>..<HASH> 100644 --- a/lib/radar_client_rb/client.rb +++ b/lib/radar_client_rb/client.rb @@ -4,6 +4,10 @@ module Radar class Client attr_accessor :subdomain + def self.redis_retriever_defined? + defined?(@@redis_retr...
Provide mechanism for detecting if redis_retriever is already defined
zendesk_radar_client_rb
train
362b4936cd24878431b18720a4ccdbfde44a86df
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -21,10 +21,13 @@ angular.module('SmoothScrollbar', []) * callback wiil be invoked after instance is created * * @param {String} name: scrollbar name - * @param {Function} f...
fix: fix getInstance called before instance is created
idiotWu_angular-smooth-scrollbar
train
2c197cfdcd587274614ab63fef96bbaaa1c01f10
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -23,6 +23,7 @@ type Client struct { connection chan *Connection subscriptions map[int]*Subscription disconnecting bool + lock *sync.Mutex ConnectedCallback func() @@ -47,6 +48,7 @@ func NewClient() ...
lock around yagnats subscriptions
cloudfoundry_yagnats
train
1957d5e6effeb05e8dfbd7faebecdf09fe075083
diff --git a/ToTwitter.py b/ToTwitter.py index <HASH>..<HASH> 100755 --- a/ToTwitter.py +++ b/ToTwitter.py @@ -14,6 +14,7 @@ Username and password are read from the weather.ini file in data_dir. import getopt import os +import socket import sys import twitter @@ -26,6 +27,7 @@ def ToTwitter(params, file): ...
Increase default timeout to cope better when Twitter is busy.
jim-easterbrook_pywws
train
8a774ddb932fbdffd72389cfbc55daf0ef6010f6
diff --git a/lib/active_merchant/billing/gateways/cyber_source.rb b/lib/active_merchant/billing/gateways/cyber_source.rb index <HASH>..<HASH> 100644 --- a/lib/active_merchant/billing/gateways/cyber_source.rb +++ b/lib/active_merchant/billing/gateways/cyber_source.rb @@ -550,7 +550,7 @@ module ActiveMerchant #:nodoc: ...
[Gateways::Cybersource] Send tokenization data when card is :master (#<I>) Currently it will only send tokenization data for MasterCard when the card type is :mastercard which is an invalid card type. This commit makes it so it will send tokenization data when the card type is :master and not :mastercard
activemerchant_active_merchant
train