hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
dcfdf6b622a49d06bf519758853266e1a471094c
diff --git a/amaascore/corporate_actions/utils.py b/amaascore/corporate_actions/utils.py index <HASH>..<HASH> 100644 --- a/amaascore/corporate_actions/utils.py +++ b/amaascore/corporate_actions/utils.py @@ -11,6 +11,20 @@ from amaascore.corporate_actions.split import Split def json_to_corporate_action(json_corpora...
Corporate Action children need to be cast to the correct class type when parsing the JSON. AMAAS-<I>.
amaas-fintech_amaas-core-sdk-python
train
1ade407e23d60f412b8425591676d89980ac011e
diff --git a/src/BigNumber.php b/src/BigNumber.php index <HASH>..<HASH> 100644 --- a/src/BigNumber.php +++ b/src/BigNumber.php @@ -72,7 +72,7 @@ abstract class BigNumber return new BigDecimal((string) $value); case BigRational::class: - return new BigRational(n...
Remove BigRational::get(), redundant with of()
brick_math
train
33f101287be0c63e1467c2f51e58c889055ff8e7
diff --git a/lib/docker_cloud/service.rb b/lib/docker_cloud/service.rb index <HASH>..<HASH> 100644 --- a/lib/docker_cloud/service.rb +++ b/lib/docker_cloud/service.rb @@ -68,7 +68,7 @@ module DockerCloud # def stack; info[:stack]; end def stack - @stack ||= client.stacks.find_by_uri(info[:stack]) + ...
API method is #get_from_uri Fix retrieval of stack via a service
jntullo_ruby-docker-cloud
train
69d4cdc7935bddf44b214ca01486faf58ac3334d
diff --git a/src/Authenticator.js b/src/Authenticator.js index <HASH>..<HASH> 100644 --- a/src/Authenticator.js +++ b/src/Authenticator.js @@ -118,13 +118,14 @@ class Authenticator { */ async getUserByToken (accessToken, accessSecret) { const isOAuthOne = this._driverInstance instanceof One - if (isOAuth...
refactor(authenticator): cleanup nested if statements
adonisjs_adonis-ally
train
cdde9e3e35657d39ffc0cdc9038ad36ff942856d
diff --git a/lib/vips/writer.rb b/lib/vips/writer.rb index <HASH>..<HASH> 100644 --- a/lib/vips/writer.rb +++ b/lib/vips/writer.rb @@ -171,7 +171,7 @@ module VIPS end def layout_str - s = @layout + s = @layout.to_s s << ":#{@tile_size.join 'x'}" if @layout == :tile s end
Fix attempt to use "<<" on symbol
libvips_ruby-vips
train
240c66cf224671c7467a609d1d47958f74b974c4
diff --git a/lib/disposable/twin/struct.rb b/lib/disposable/twin/struct.rb index <HASH>..<HASH> 100644 --- a/lib/disposable/twin/struct.rb +++ b/lib/disposable/twin/struct.rb @@ -4,29 +4,18 @@ # # Twin.new(id: 1) module Struct - def setup_properties!(options={}) - hash_representer.new(self)...
instead of using Representable's #from_hash in Struct#initialize, use the normal twin API and simply do the hash lookup in #read_value_for.
apotonick_disposable
train
3c512568ceb92da8825cbf4c6bcd7ccc290ea25b
diff --git a/bindings/ruby/rdoc_parser_swig.rb b/bindings/ruby/rdoc_parser_swig.rb index <HASH>..<HASH> 100644 --- a/bindings/ruby/rdoc_parser_swig.rb +++ b/bindings/ruby/rdoc_parser_swig.rb @@ -249,11 +249,10 @@ class RDoc::Parser::SWIG < RDoc::Parser def do_methods klass, name, content # Find class constructo...
rdoc: recognize functions returning pointer
Openwsman_openwsman
train
84c64173f3ffb724e572d3aeb45bed348fd45f18
diff --git a/sass_processor/utils.py b/sass_processor/utils.py index <HASH>..<HASH> 100644 --- a/sass_processor/utils.py +++ b/sass_processor/utils.py @@ -14,7 +14,7 @@ def get_setting(*args): try: return getattr(settings, args[0]) except AttributeError as e: - raise TemplateSyntaxError(e.mess...
added unit tests for functions python-callX
jrief_django-sass-processor
train
94c2b2d5f4acf9248596d6ea688b60566d24aa9e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -220,7 +220,9 @@ def classy_extension_config(): config['name'] = 'classylss.classy' config['extra_link_args'] = ['-g', '-fPIC'] config['extra_compile_args'] = ['-fopenmp'] - config['language'] = 'c++' + #...
comment on the importance of setting the language.
nickhand_classylss
train
4bc573ab437408b019397bfac1faa6f21af2736b
diff --git a/inc/class-cloner.php b/inc/class-cloner.php index <HASH>..<HASH> 100644 --- a/inc/class-cloner.php +++ b/inc/class-cloner.php @@ -1030,6 +1030,7 @@ class Cloner { if ( is_wp_error( $bookname ) ) { $_SESSION['pb_errors'][] = $bookname->get_error_message(); } else { + @set_time_limit( 300...
Add 5 minute time limit to Cloner, coding standards (fixes #<I>) (#<I>)
pressbooks_pressbooks
train
7262f83c607746ce092bbca56ad05db0776c28d6
diff --git a/tests/test_registry.py b/tests/test_registry.py index <HASH>..<HASH> 100644 --- a/tests/test_registry.py +++ b/tests/test_registry.py @@ -10,7 +10,7 @@ def test_register(): def foo(x): return x registry.register("bar", foo) - assert registry._name_to_method_info["bar"].get_method() ==...
Removed get_method for 'method' field
palantir_typedjsonrpc
train
4c84f3f91da3e7ccce7cb37d3a847a88a16c6024
diff --git a/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php b/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php index <HASH>..<HASH> 100644 --- a/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php +++ b/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php @@ -165,7 +165,16 @@ class DefaultCacheStorage implements CacheStorageInt...
Adding cache.key_filter to DefaultCacheStorage to add the ability to remove cache-busting query string variables from a request URL based cache key
guzzle_guzzle3
train
1fe201c5288a8361223f465d9c88d23a84e7bdde
diff --git a/pywb/rewrite/html_rewriter.py b/pywb/rewrite/html_rewriter.py index <HASH>..<HASH> 100644 --- a/pywb/rewrite/html_rewriter.py +++ b/pywb/rewrite/html_rewriter.py @@ -40,6 +40,7 @@ class HTMLRewriterMixin(object): 'embed': {'src': 'oe_'}, 'head': {'': defmod}, # for head rewr...
rewrite: html: rewrite svg <image> tag client: update textContent after rewrite_style() in rewrite_elem()
webrecorder_pywb
train
752943be559d739a2b3b2f6009c7f8dc80171819
diff --git a/scrapelib.py b/scrapelib.py index <HASH>..<HASH> 100644 --- a/scrapelib.py +++ b/scrapelib.py @@ -20,8 +20,18 @@ try: except ImportError: USE_HTTPLIB2 = False +try: + import lxml.html + USE_LXML = True +except ImportError: + USE_LXML = False + class RobotExclusionError(Exception): + ...
lxml_context and a little documentation
jamesturk_scrapelib
train
9186424d82b8869450ab0530bc09e43d509c4379
diff --git a/src/StaticAlert/StaticAlert.js b/src/StaticAlert/StaticAlert.js index <HASH>..<HASH> 100644 --- a/src/StaticAlert/StaticAlert.js +++ b/src/StaticAlert/StaticAlert.js @@ -34,14 +34,14 @@ export default class StaticAlert extends Component { typeCheck = () => { if (this.props.type === 'Error') { ...
fix: Update classNames to avoid collision with other Alerts
Pearson-Higher-Ed_compounds
train
9657f72b5a2216ba240bc00382f992a22c211cbc
diff --git a/lib/Disco.php b/lib/Disco.php index <HASH>..<HASH> 100644 --- a/lib/Disco.php +++ b/lib/Disco.php @@ -172,7 +172,7 @@ class Disco extends PowerIdPDisco private $proxyIdpEntityId; - private $authId; + private $state; public function __construct(array $metadataSets, $instance) { @@...
fix: Rewrites aarc_idp_hint
CESNET_perun-simplesamlphp-module
train
e2c079a4cd1f966ec2a90d244286db2e782d7bd9
diff --git a/hazelcast/src/test/java/com/hazelcast/test/JmxLeakHelper.java b/hazelcast/src/test/java/com/hazelcast/test/JmxLeakHelper.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/test/java/com/hazelcast/test/JmxLeakHelper.java +++ b/hazelcast/src/test/java/com/hazelcast/test/JmxLeakHelper.java @@ -19,7 +19,9 @@...
Additional helper methods for JmxLeakHelper. (#<I>)
hazelcast_hazelcast
train
f2f89b86d5b2951298adfa41843084ba53c79ac0
diff --git a/java/client/test/org/openqa/selenium/testing/IgnoreComparator.java b/java/client/test/org/openqa/selenium/testing/IgnoreComparator.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/testing/IgnoreComparator.java +++ b/java/client/test/org/openqa/selenium/testing/IgnoreComparator.ja...
[java] A silly mistake, forgot to remove old code that should be replaced by the new one
SeleniumHQ_selenium
train
94024eda6bdc4c10bffc5d235bcc8f56ac070291
diff --git a/src/config.inc.php b/src/config.inc.php index <HASH>..<HASH> 100644 --- a/src/config.inc.php +++ b/src/config.inc.php @@ -85,7 +85,7 @@ require_once(dirname(__FILE__).'/libs/phpseclib/crypt/NostoCryptAES.php'); require_once(dirname(__FILE__).'/libs/phpseclib/crypt/NostoCryptRandom.php'); // Parse .env ...
The __DIR__ constant was introduced in PHP <I> and the sdks supports <I>
Nosto_nosto-php-sdk
train
737db116bda80da97c9139dee9b5cbbb409c8bf5
diff --git a/nodeconductor/server/base_settings.py b/nodeconductor/server/base_settings.py index <HASH>..<HASH> 100644 --- a/nodeconductor/server/base_settings.py +++ b/nodeconductor/server/base_settings.py @@ -147,6 +147,7 @@ CELERY_RESULT_SERIALIZER = 'json' CELERY_QUEUES = { 'tasks': {'exchange': 'tasks'}, ...
Run background tasks in separate queue - nc-<I>
opennode_waldur-core
train
62faf5a314430bd310d7a0029300ecaa8c9fc160
diff --git a/lib/resqued/listener.rb b/lib/resqued/listener.rb index <HASH>..<HASH> 100644 --- a/lib/resqued/listener.rb +++ b/lib/resqued/listener.rb @@ -30,8 +30,8 @@ module Resqued ENV['RESQUED_CONFIG_PATH'] = @config_paths.join(':') ENV['RESQUED_STATE'] = (@running_workers.map { |r| "#{r[:pid]}|...
Accept an override for the listener path.
spraints_resqued
train
483bd3f612055220fd470dc7d5bf0c0b0a1a945d
diff --git a/src/Illuminate/Cache/Repository.php b/src/Illuminate/Cache/Repository.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Cache/Repository.php +++ b/src/Illuminate/Cache/Repository.php @@ -308,7 +308,7 @@ class Repository implements CacheContract, ArrayAccess } /** - * Get an item from the...
[<I>] Fixed doc blocks for the Cache repository methods. (#<I>)
laravel_framework
train
09a869307696d97eba199c31ef37a9b52e5bc0ec
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 @@ -1,5 +1,5 @@ import unittest -from xigt.core import XigtCorpus, Igt, Tier, Item, Metadata +from xigt import XigtCorpus, Igt, Tier, Item, Metadata class TestMetadata(unittest.TestCase...
Added more convenient interface to the modules through xigt/__init__.py, and verified it works by changing the unittest import statement.
xigt_xigt
train
a888c6d06a36baa0aa4dc6262d1b54a8f858a0ab
diff --git a/executor/executor.go b/executor/executor.go index <HASH>..<HASH> 100644 --- a/executor/executor.go +++ b/executor/executor.go @@ -857,12 +857,6 @@ func (e *SelectLockExec) Open(ctx context.Context) error { return err } - txnCtx := e.ctx.GetSessionVars().TxnCtx - for id := range e.tblID2Handle { - /...
*: add the tid to the schema-change related tables only when keys need to be locked (#<I>)
pingcap_tidb
train
33883c9dc3b4dbf8098de444ba069e9b8de6432e
diff --git a/lib/techs/css-fast.js b/lib/techs/css-fast.js index <HASH>..<HASH> 100644 --- a/lib/techs/css-fast.js +++ b/lib/techs/css-fast.js @@ -10,7 +10,7 @@ var INHERIT = require('inherit'), urlStringRx = new RegExp('^' + urlRe + '$'); exports.Tech = INHERIT(cssbase.Tech, { - File: INHERIT(cssbase.File, ...
techs/css-fast add File to exports
borschik_borschik
train
42b4adfbcf0b0196f29efab9ea5d7ba7739dfa30
diff --git a/flask_praetorian/base.py b/flask_praetorian/base.py index <HASH>..<HASH> 100644 --- a/flask_praetorian/base.py +++ b/flask_praetorian/base.py @@ -850,12 +850,6 @@ class Praetorian: user is not None, "Could not identify the user from the reset token", ) - # TODO: th...
dusktreader/flask-praetorian/pull/<I>#discussion_r<I> removed extra field `active_reset` to simplify usage
dusktreader_flask-praetorian
train
f0beece095acb273a18bbef05d03cf9949d6b19b
diff --git a/core/src/main/java/org/infinispan/factories/MarshallerFactory.java b/core/src/main/java/org/infinispan/factories/MarshallerFactory.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/factories/MarshallerFactory.java +++ b/core/src/main/java/org/infinispan/factories/MarshallerFactory.ja...
ISPN-<I> Fix support for custom marshallers
infinispan_infinispan
train
7f415c365caae90d12bb5c8baeb9cceeb29f645c
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,3 +15,9 @@ DataMapper.setup(:default, 'rest://admin:secret@localhost:4000/?format=xml') Pathname.glob((ROOT + 'spec/fixtures/**/*.rb').to_s).each { |file| require file } Fake...
Make sure to finalize the models before using them
datamapper_dm-rest-adapter
train
ba68be5672814d0f0ad502164183b28bc638c2ba
diff --git a/builtin/providers/aws/resource_aws_instance.go b/builtin/providers/aws/resource_aws_instance.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_instance.go +++ b/builtin/providers/aws/resource_aws_instance.go @@ -1,6 +1,8 @@ package aws import ( + "crypto/sha1" + "encoding/hex" "...
providers/aws: use StateFunc to process the user_data
hashicorp_terraform
train
53b4e94f3ebcf8d0e316a34fdaf5361a10d870df
diff --git a/milo/buildsource/buildbucket/pubsub.go b/milo/buildsource/buildbucket/pubsub.go index <HASH>..<HASH> 100644 --- a/milo/buildsource/buildbucket/pubsub.go +++ b/milo/buildsource/buildbucket/pubsub.go @@ -240,13 +240,16 @@ func pubSubHandlerImpl(c context.Context, r *http.Request) error { return err } ...
[milo] add more pubsub handler logging points This will help us diagnose the performance issue of the handler when handling updates for high traffic builders. R=nqmtuan, orodley Bug: <I> Change-Id: I3ae<I>b<I>c<I>e6f1e7ea<I>d8c8ea<I>e<I>ef Reviewed-on: <URL>
luci_luci-go
train
61dcc7787fc3ccce6f86f7bac1ff1864216b77c5
diff --git a/publ/image/__init__.py b/publ/image/__init__.py index <HASH>..<HASH> 100644 --- a/publ/image/__init__.py +++ b/publ/image/__init__.py @@ -92,6 +92,10 @@ class ImageNotFound(Image): def _css_background(self, **kwargs): return '/* not found: {} */'.format(self.path) + @property + def _f...
Change images to have default alt_text of their filename
PlaidWeb_Publ
train
2966df371945c908dd09ac3e283e8a43ec57d2be
diff --git a/cyclotron_aio/driver/httpd.py b/cyclotron_aio/driver/httpd.py index <HASH>..<HASH> 100644 --- a/cyclotron_aio/driver/httpd.py +++ b/cyclotron_aio/driver/httpd.py @@ -1,3 +1,4 @@ +import traceback import os from enum import Enum import asyncio @@ -28,14 +29,16 @@ StartServer.__new__.defaults__ = ('localh...
httpd: headers can now be configured per route
MainRo_cyclotron-aio
train
e436ce8e2aa36390bbb05bfdbfc21f45e4094175
diff --git a/src/contributor/contributor.js b/src/contributor/contributor.js index <HASH>..<HASH> 100644 --- a/src/contributor/contributor.js +++ b/src/contributor/contributor.js @@ -77,7 +77,7 @@ Contributor.Prototype = function() { if (blob) { return window.URL.createObjectURL(blob); } else { - ...
Removed default urls from model.
substance_nodes
train
8c2b12a8223d8abdffab4eb37371b83be3a0d8de
diff --git a/tldap/tests/tests.py b/tldap/tests/tests.py index <HASH>..<HASH> 100644 --- a/tldap/tests/tests.py +++ b/tldap/tests/tests.py @@ -1092,6 +1092,8 @@ class ModelTest(unittest.TestCase): self.assertEqual(len(r), 1) group = r[0].primary_group.get() + self.assertEqual(group, g1) + ...
Extra assert tests. This errors would be detected later anyway, but this having them fail here is less confusing. Change-Id: I<I>a<I>ae<I>e<I>a<I>b6f<I>ee<I>e<I>f3dab<I>
Karaage-Cluster_python-tldap
train
5c0a1e176990e4aa19d672d39403d8dc54622796
diff --git a/vcr/stubs/__init__.py b/vcr/stubs/__init__.py index <HASH>..<HASH> 100644 --- a/vcr/stubs/__init__.py +++ b/vcr/stubs/__init__.py @@ -29,8 +29,6 @@ class VCRHTTPResponse(object): # I have to add it to both. self.msg.headers.append("{0}:{1}".format(key, val)) - #self.msg.h...
persist on _vcr_request
kevin1024_vcrpy
train
3c6ae03738e67bcce8618d2f4f0e4170783e8364
diff --git a/lib/plugins/load-plugin.js b/lib/plugins/load-plugin.js index <HASH>..<HASH> 100644 --- a/lib/plugins/load-plugin.js +++ b/lib/plugins/load-plugin.js @@ -1290,9 +1290,7 @@ module.exports = function(options, callback) { } headers = formatRawHeaders(headers, svrRes); ...
refactor: auto add trailers
avwo_whistle
train
6669db12b33c34a65e1b8f2a5fa13399a1944bf5
diff --git a/samples/helloworld-hs/src/main/java/org/ops4j/pax/web/samples/helloworld/hs/internal/Activator.java b/samples/helloworld-hs/src/main/java/org/ops4j/pax/web/samples/helloworld/hs/internal/Activator.java index <HASH>..<HASH> 100644 --- a/samples/helloworld-hs/src/main/java/org/ops4j/pax/web/samples/helloworl...
In HS example register also a servlet mapped to "/".
ops4j_org.ops4j.pax.web
train
7128c5ede79441486b277c679d43fb53d952b183
diff --git a/dataviews/dataviews.py b/dataviews/dataviews.py index <HASH>..<HASH> 100644 --- a/dataviews/dataviews.py +++ b/dataviews/dataviews.py @@ -815,24 +815,6 @@ class TableStack(Stack): _type_map = None - def dframe(self): - """ - Gets a dframe for each Table in the Stack, appends the d...
Moved concatenation based dframe method from TableStack to Stack For real support for exporting dframes from Stacks all the View dframes receive the Stack dimensions and are concatenated.
pyviz_holoviews
train
eece9b728ba9e615aedb90d9951c319e77dfcaf6
diff --git a/src/TCPDF.php b/src/TCPDF.php index <HASH>..<HASH> 100644 --- a/src/TCPDF.php +++ b/src/TCPDF.php @@ -21,11 +21,11 @@ class TCPDF public function reset() { $this->tcpdf = new TCPDFHelper( - Config::get('laravel-tcpdf.page_orientation', 'P'), - Config::get('laravel-tcpdf.page_unit', 'mm'), - st...
Update TCPDF.php fixed loading wrong configuration
elibyy_tcpdf-laravel
train
b151d7123a846dd003e520e6a174f1455a6d2bcf
diff --git a/src/loaders/animation-mixer.js b/src/loaders/animation-mixer.js index <HASH>..<HASH> 100644 --- a/src/loaders/animation-mixer.js +++ b/src/loaders/animation-mixer.js @@ -8,7 +8,8 @@ module.exports = { schema: { clip: {default: '*'}, - duration: {default: 0} + duration: {default: 0}, + cr...
[animation-mixer] Add 'crossFadeDuration' property.
donmccurdy_aframe-extras
train
3f19718c0e4f950a7043217f990e2a1561ac4964
diff --git a/qtc/parser.go b/qtc/parser.go index <HASH>..<HASH> 100644 --- a/qtc/parser.go +++ b/qtc/parser.go @@ -402,13 +402,9 @@ func (p *parser) parseIf() error { if elseUsed { return fmt.Errorf("duplicate else branch found for %q at %s", ifStr, s.Context()) } - tok, err := expectToken(s, tagCont...
A follow-up after #<I>: deny extra values after all single-word tags
valyala_quicktemplate
train
4b6261ba3e901d96a805d4fd24f2af363259d8a8
diff --git a/lib/heroku/command/addons.rb b/lib/heroku/command/addons.rb index <HASH>..<HASH> 100644 --- a/lib/heroku/command/addons.rb +++ b/lib/heroku/command/addons.rb @@ -308,15 +308,19 @@ module Heroku::Command addon_attachments = get_attachments(:resource => addon['id']) action("Destroying #{a...
Display price on addons:destroy
heroku_legacy-cli
train
697f5d9ea685a86698f99fa0cec6fa53fefa802e
diff --git a/arca-app/arca-dispatcher/src/main/java/io/pivotal/arca/dispatcher/Query.java b/arca-app/arca-dispatcher/src/main/java/io/pivotal/arca/dispatcher/Query.java index <HASH>..<HASH> 100644 --- a/arca-app/arca-dispatcher/src/main/java/io/pivotal/arca/dispatcher/Query.java +++ b/arca-app/arca-dispatcher/src/main/...
James C - added “append to query” method
cfmobile_arca-android
train
a7b2587cd8c205ea8a52c9d04cb0ea7b8d2affce
diff --git a/lxd/container_lxc.go b/lxd/container_lxc.go index <HASH>..<HASH> 100644 --- a/lxd/container_lxc.go +++ b/lxd/container_lxc.go @@ -1399,6 +1399,13 @@ func (c *containerLXC) Start(stateful bool) error { } } + shared.LogInfo("Starting container", + log.Ctx{"name": c.name, + "action": op.actio...
lxd/container_lxc: improve log for container start
lxc_lxd
train
a826715c89d1a531792c5c40ac361c35d2ee1879
diff --git a/synapse/eventbus.py b/synapse/eventbus.py index <HASH>..<HASH> 100644 --- a/synapse/eventbus.py +++ b/synapse/eventbus.py @@ -22,6 +22,7 @@ class EventBus(object): self._syn_funcs = collections.defaultdict(list) + self._syn_refs = 1 # one ref for the ctor self._syn_links = [] ...
added optional reference counting for eventbus fini()
vertexproject_synapse
train
ed77810af9ab67007d129417b4bd5c6847dbb1a9
diff --git a/environs/ec2/state.go b/environs/ec2/state.go index <HASH>..<HASH> 100644 --- a/environs/ec2/state.go +++ b/environs/ec2/state.go @@ -43,12 +43,7 @@ func (e *environ) loadState() (*bootstrapState, error) { func (e *environ) deleteState() error { // TODO delete the bucket contents and the bucket itself...
removing a file that doesn't exist is no longer an error for Environ.RemoveFile
juju_juju
train
ed0691a071c0d52581b9b927ac7a79d2be5b47a4
diff --git a/framework/core/js/forum/dist/app.js b/framework/core/js/forum/dist/app.js index <HASH>..<HASH> 100644 --- a/framework/core/js/forum/dist/app.js +++ b/framework/core/js/forum/dist/app.js @@ -20163,6 +20163,7 @@ System.register('flarum/components/Composer', ['flarum/Component', 'flarum/utils if ...
Automatically focus on composer textarea on iOS. closes flarum/core#<I>
flarum_core
train
de936ec5ecdfaa59c7aa8395e9b4e6ab188a516a
diff --git a/docs/processors/components-generate.js b/docs/processors/components-generate.js index <HASH>..<HASH> 100644 --- a/docs/processors/components-generate.js +++ b/docs/processors/components-generate.js @@ -122,9 +122,14 @@ module.exports = { .forEach(function(file) { var moduleS...
docs(): output sass errors when compilation fails
angular_material
train
265f037225aae68fff7f442c7b7b53f3e27ae84f
diff --git a/src/javascript/xhr/XMLHttpRequest.js b/src/javascript/xhr/XMLHttpRequest.js index <HASH>..<HASH> 100644 --- a/src/javascript/xhr/XMLHttpRequest.js +++ b/src/javascript/xhr/XMLHttpRequest.js @@ -806,6 +806,7 @@ define("moxie/xhr/XMLHttpRequest", [ function exec(runtime) { _xhr.bind('LoadStart', fun...
XHR: Set XMLHttpRequest.LOADING state, only if it's not yet set.
moxiecode_moxie
train
abdd6e3101e78d45e8dd99531b73d6c46e82f7ae
diff --git a/lib/db.js b/lib/db.js index <HASH>..<HASH> 100644 --- a/lib/db.js +++ b/lib/db.js @@ -450,7 +450,7 @@ class LimitDB extends EventEmitter { const typeParams = this._getTypeParams(type, params.key); type.db.get(params.key, (err, value) => { - if (!value || err && err.name !== 'NotFoundError'...
Remove error check. Value would be falsey anyways.
limitd_limitdb
train
71e17e23e30bf6892ae09aba032620a505cf6892
diff --git a/tests/foglet-communication-test.js b/tests/foglet-communication-test.js index <HASH>..<HASH> 100644 --- a/tests/foglet-communication-test.js +++ b/tests/foglet-communication-test.js @@ -56,7 +56,7 @@ describe('Foglet High-level communication', function () { }); it('should send messages to all peers...
garbage all foglets before calling done() function after each tests
RAN3D_foglet-core
train
09a1814f271373918710ec3fbc16c4f4f3b630d5
diff --git a/lxd/storage/storage.go b/lxd/storage/storage.go index <HASH>..<HASH> 100644 --- a/lxd/storage/storage.go +++ b/lxd/storage/storage.go @@ -66,12 +66,6 @@ func GetImageMountPoint(poolName string, fingerprint string) string { return shared.VarPath("storage-pools", poolName, "images", fingerprint) } -// G...
lxd/storage/storage: Removes unused GetStoragePoolVolumeMountPoint
lxc_lxd
train
d14049c8ad32a52c3d53f5eb4f48cc908b3ce644
diff --git a/builtin/providers/aws/resource_aws_network_acl.go b/builtin/providers/aws/resource_aws_network_acl.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_network_acl.go +++ b/builtin/providers/aws/resource_aws_network_acl.go @@ -151,6 +151,12 @@ func resourceAwsNetworkAclRead(d *schema.Res...
aws: Don't try to modify or delete the untouchable network_acl rules. AWS includes default rules with all network ACL resources which cannot be modified by the user. Don't attempt to store them locally or change them remotely if they are already stored -- it'll consistently result in hashing problems.
hashicorp_terraform
train
22a299187526af6b1b73c6fba6babc8776226742
diff --git a/app/controllers/neighborly/admin/users_controller.rb b/app/controllers/neighborly/admin/users_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/neighborly/admin/users_controller.rb +++ b/app/controllers/neighborly/admin/users_controller.rb @@ -20,7 +20,7 @@ module Neighborly::Admin end ...
Use .joins instead of .includes on users controller That was not working on rails <I>
FromUte_dune-admin
train
94e01756378eabe83c5190ceac01d6e80c599d87
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -23,9 +23,10 @@ "groupstage": "^3.1.0" }, "devDependencies": { - "ffa": "^3.1.0", "bandage": "^0.4.0", - "istanbul": "^0.4.1" + "ffa": "^3.1.0", + "istanbul": "^0.4.1", + "smell":...
let logs to be configurable with new tournament properly - and clean up tap output
clux_tiebreaker
train
ba2c13c57c795c3acc9bf529026ae7ff92780682
diff --git a/analytical/tests/test_tag_uservoice.py b/analytical/tests/test_tag_uservoice.py index <HASH>..<HASH> 100644 --- a/analytical/tests/test_tag_uservoice.py +++ b/analytical/tests/test_tag_uservoice.py @@ -18,6 +18,12 @@ class UserVoiceTagTestCase(TagTestCase): Tests for the ``uservoice`` template tag. ...
assertIn fallback for py<I>/dj<I>
jazzband_django-analytical
train
2449a2b5c639384de75a55ef752e2efba8c513f3
diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index <HASH>..<HASH> 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1779,7 +1779,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid "root" => _t("SiteTree.PARENTTYPE_ROOT", "Top-level page"),...
BUGFIX Using SiteTree->MenuTitle in SiteTree->getCMSFields() parent page tree field, to stay consistent with CMS tree (fixes #<I>)
silverstripe_silverstripe-framework
train
a7409ef6b9f2e714b4ac4f4e79499851574d6687
diff --git a/src/components/tag/tag.js b/src/components/tag/tag.js index <HASH>..<HASH> 100644 --- a/src/components/tag/tag.js +++ b/src/components/tag/tag.js @@ -10,6 +10,11 @@ import Text from '../typography/text'; import { CloseBoldIcon } from '../icons'; import styles from './tag.mod.css'; +const getTextDetailC...
chore: fix tag (#<I>) * chore: fix tag * chore: use correct color
commercetools_ui-kit
train
8c1147de9a2a4d479421f41744fc6eed5e9d27c1
diff --git a/lib/Segment/Client.php b/lib/Segment/Client.php index <HASH>..<HASH> 100644 --- a/lib/Segment/Client.php +++ b/lib/Segment/Client.php @@ -166,7 +166,7 @@ class Segment_Client { } /** - * Add common fields to the gvien `message` + * Add common fields to the given `message` * * @param arr...
Add Rfc <I> compliant user agent into request header
segmentio_analytics-php
train
e6a0570794682d424dafffa8da13ac288b08436e
diff --git a/sos/policies/debian.py b/sos/policies/debian.py index <HASH>..<HASH> 100644 --- a/sos/policies/debian.py +++ b/sos/policies/debian.py @@ -12,6 +12,7 @@ class DebianPolicy(LinuxPolicy): _debq_cmd = "dpkg-query -W -f='${Package}|${Version}\\n'" _debv_cmd = "dpkg --verify" _debv_filter = "" + ...
[policies/debian] Make sosreport archive names friendly From the source, currently it's on legacy legacy - 'sosreport-tux<I>-<I>' friendly - 'sosreport-tux-mylabel-<I>-<I>-<I>-<I>-ezcfcop.tar.xz' This also makes adding a label actually do something. Resolves: #<I>
sosreport_sos
train
371b4800266cbf1c659a9068f58412cb7a88e244
diff --git a/activerecord/lib/active_record/associations/builder/singular_association.rb b/activerecord/lib/active_record/associations/builder/singular_association.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/associations/builder/singular_association.rb +++ b/activerecord/lib/active_record/associ...
Inline constructable checking for singular associations It is the only use of it, and just check whether polymorphic association or not.
rails_rails
train
ecacea8dc0422277cc80e7ebd2979df0113d3afb
diff --git a/src/js/services/print.js b/src/js/services/print.js index <HASH>..<HASH> 100755 --- a/src/js/services/print.js +++ b/src/js/services/print.js @@ -15,20 +15,20 @@ module.exports = function(shariff) { 'da': '', 'de': 'drucken', 'en': 'print', - 'es': '', + 'es': 'impresión', ...
Update print.js Adding translation for French, Italian, Polish, Russian, Dutch (nl)
heiseonline_shariff
train
5908e86fc0ba61eccb64726e8920e25ad98b4c04
diff --git a/PHPCI/BuildFactory.php b/PHPCI/BuildFactory.php index <HASH>..<HASH> 100644 --- a/PHPCI/BuildFactory.php +++ b/PHPCI/BuildFactory.php @@ -21,11 +21,16 @@ class BuildFactory /** * @param $buildId * @return Build + * @throws \Exception */ public static function getBuildById($b...
Enabling the exception / error handler for console mode only. Also fixing a catchable fatal error in the BuildFactory class.
dancryer_PHPCI
train
ed53c77c25d3ba54a4d3c0251ca6b8cb13f5a4d8
diff --git a/src/angular-leaflet-directive.js b/src/angular-leaflet-directive.js index <HASH>..<HASH> 100644 --- a/src/angular-leaflet-directive.js +++ b/src/angular-leaflet-directive.js @@ -121,22 +121,62 @@ leafletDirective.directive('leaflet', [ * Set up broadcasting of map events to the rootScope ...
Have rest of map events setup and ensured they work together. Had to pass in the event name and build broadcastName within the leaflet map event so that the needed variable was available inside safeApply()
tombatossals_angular-leaflet-directive
train
20d026265b0294aadb22a462fadfed49ec203b68
diff --git a/colorama/tests/initialise_test.py b/colorama/tests/initialise_test.py index <HASH>..<HASH> 100644 --- a/colorama/tests/initialise_test.py +++ b/colorama/tests/initialise_test.py @@ -11,7 +11,7 @@ from .utils import platform, redirected_output, replace_by_none from ..initialise import init from ..ansito...
fix and add tests to issue #<I>
tartley_colorama
train
cd89727aaf96cd51e5fa9794dee8b010e10310a0
diff --git a/src/attributes/memberattribute.js b/src/attributes/memberattribute.js index <HASH>..<HASH> 100644 --- a/src/attributes/memberattribute.js +++ b/src/attributes/memberattribute.js @@ -22,6 +22,7 @@ var _gpfAttributesMemberAttribute = _gpfDefine({ $class: "gpf.attributes.MemberAttribute", $extend: ...
Singleton (#<I>)
ArnaudBuchholz_gpf-js
train
c0a6ed5c02ab382c24535ec07acb078bde345dd8
diff --git a/lib/global_id/global_id.rb b/lib/global_id/global_id.rb index <HASH>..<HASH> 100644 --- a/lib/global_id/global_id.rb +++ b/lib/global_id/global_id.rb @@ -18,7 +18,7 @@ class GlobalID def parse(gid) gid.is_a?(self) ? gid : new(gid) - rescue URI::InvalidURIError + rescue URI::Error ...
Ensure that invalid Global ID URIs return nil when located. Raise URI::Error subclasses instead of ArgumentError and rescue them in Locator.locate, since it's expected to return nil regardless of error.
rails_globalid
train
5416376192b2a58cdca96c61beb6aa93685f33f2
diff --git a/lib/Thelia/Controller/Admin/ProductController.php b/lib/Thelia/Controller/Admin/ProductController.php index <HASH>..<HASH> 100644 --- a/lib/Thelia/Controller/Admin/ProductController.php +++ b/lib/Thelia/Controller/Admin/ProductController.php @@ -315,9 +315,10 @@ class ProductController extends AbstractSeoC...
Add to the context the site URL based on the language (Used in the SEO tab)
thelia_core
train
cbac17b607c0b566e894c252fb9aff2f2687c81f
diff --git a/lib/dalli.rb b/lib/dalli.rb index <HASH>..<HASH> 100644 --- a/lib/dalli.rb +++ b/lib/dalli.rb @@ -3,6 +3,22 @@ require 'dalli/ring' require 'dalli/server' require 'dalli/version' +require 'logger' + module Dalli + # socket communication error class NetworkError < RuntimeError; end + class ServerE...
Very coarse error handling, logging, socket timeouts.
petergoldstein_dalli
train
f0f5496dd86bc8abc8e207119e69ed06072d9e31
diff --git a/lib/Context.js b/lib/Context.js index <HASH>..<HASH> 100644 --- a/lib/Context.js +++ b/lib/Context.js @@ -32,8 +32,8 @@ module.exports = class Context extends EventEmitter { // Method full path this.fullPath = method.fullPath(); - // Mark args as unbuilt - this.argsBuilt = false; + // ...
avoid params built twice when using setArgs
baijijs_baiji
train
5270d844d69e4df296cd4af76df18288ce49ce53
diff --git a/smartcard/CardService.py b/smartcard/CardService.py index <HASH>..<HASH> 100644 --- a/smartcard/CardService.py +++ b/smartcard/CardService.py @@ -30,6 +30,7 @@ along with pyscard; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA """ +from __f...
Python3: Add missing support of Python2 print() The print statement were converted to print() but the Python 2 backward compatibility support was missing. Add missing line: from __future__ import print_function
LudovicRousseau_pyscard
train
39ba4e0cb80d0b71ad0a3fba9233c640d66c3170
diff --git a/test/src/test/java/hudson/slaves/JNLPLauncherTest.java b/test/src/test/java/hudson/slaves/JNLPLauncherTest.java index <HASH>..<HASH> 100644 --- a/test/src/test/java/hudson/slaves/JNLPLauncherTest.java +++ b/test/src/test/java/hudson/slaves/JNLPLauncherTest.java @@ -28,11 +28,13 @@ import com.gargoylesoftwa...
Wait longer for the salve to go online as the tests often timeouts here
jenkinsci_jenkins
train
6f8d17f9a18f46ce55e7cd8764fcfe7b0b72686f
diff --git a/lib/travis/api/v1/pusher/job/created.rb b/lib/travis/api/v1/pusher/job/created.rb index <HASH>..<HASH> 100644 --- a/lib/travis/api/v1/pusher/job/created.rb +++ b/lib/travis/api/v1/pusher/job/created.rb @@ -14,7 +14,10 @@ module Travis 'queue' => job.queue, 'state' => job.s...
send build:created and job:created, add result, started_at and finished_at to job:created pusher payloads
travis-ci_travis-core
train
c4d418eda690410a7899945da4db2b167fceab51
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ instructions. setup( name="django-prometheus", - version="1.0.1", + version="1.0.2", author="Uriel Corfa", author_email="uriel@corfa.fr", description=(
Release <I> Changes: * Fixes crash on startup when no database is configured (#7).
korfuri_django-prometheus
train
57be82f5a178a9d14b56090bd812b9d20b8ae468
diff --git a/lib/Unexpected.js b/lib/Unexpected.js index <HASH>..<HASH> 100644 --- a/lib/Unexpected.js +++ b/lib/Unexpected.js @@ -477,6 +477,7 @@ function handleNestedExpects(expect, e, assertion) { }); var newError = errorWithMessage(e, message); delete newError.createDiff; + del...
Do not hoist the label of the nested exception in errorMode:'nested'.
unexpectedjs_unexpected
train
b7f8eda7b673f044017fb4fb9b3d78cdef7f556f
diff --git a/rapidoid-utils/src/main/java/org/rapidoid/prop/BeanProp.java b/rapidoid-utils/src/main/java/org/rapidoid/prop/BeanProp.java index <HASH>..<HASH> 100644 --- a/rapidoid-utils/src/main/java/org/rapidoid/prop/BeanProp.java +++ b/rapidoid-utils/src/main/java/org/rapidoid/prop/BeanProp.java @@ -171,6 +171,9 @@ p...
Fixed type conversion in property setter.
rapidoid_rapidoid
train
ad5a6e1fb964ec54dea765ae7b7da51d9f58da08
diff --git a/src/Providers/OEmbed/WordPress.php b/src/Providers/OEmbed/WordPress.php index <HASH>..<HASH> 100644 --- a/src/Providers/OEmbed/WordPress.php +++ b/src/Providers/OEmbed/WordPress.php @@ -22,7 +22,7 @@ class WordPress extends OEmbedImplementation */ public static function getPatterns() { - ...
fixed non utf-8 assertions
oscarotero_Embed
train
7b74a29eecb9adbe92beb800a177eb6626950fd3
diff --git a/lib/chef/knife/dependencies_essentials.rb b/lib/chef/knife/dependencies_essentials.rb index <HASH>..<HASH> 100644 --- a/lib/chef/knife/dependencies_essentials.rb +++ b/lib/chef/knife/dependencies_essentials.rb @@ -43,12 +43,12 @@ class Chef def print_flattened_dependencies(entry, dependencies) ...
Print dependencies in the order in which they would need to be loaded
jkeiser_knife-essentials
train
e1beb4f169831e987ec5bce1a318b93213198553
diff --git a/metpy/io/tests/test_upperair.py b/metpy/io/tests/test_upperair.py index <HASH>..<HASH> 100644 --- a/metpy/io/tests/test_upperair.py +++ b/metpy/io/tests/test_upperair.py @@ -17,6 +17,7 @@ def test_wyoming(): data = get_upper_air_data(datetime(1999, 5, 4, 0), 'OUN', source='wyoming') assert_...
Added height to all of the upperair tests
Unidata_MetPy
train
9f119fc72e98df78b7b5fbad8e829a5d1d782468
diff --git a/app/controllers/backend/assets_controller.rb b/app/controllers/backend/assets_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/backend/assets_controller.rb +++ b/app/controllers/backend/assets_controller.rb @@ -36,8 +36,7 @@ class Backend::AssetsController < Backend::BaseController end ...
Implement the asset#deletable? method.
udongo_udongo
train
f1df8b163ca93b34b4d419fdc6bd5311f400eec9
diff --git a/test/RedisCommandsTest.php b/test/RedisCommandsTest.php index <HASH>..<HASH> 100644 --- a/test/RedisCommandsTest.php +++ b/test/RedisCommandsTest.php @@ -1095,6 +1095,11 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase { $this->redis->zrange('zset', 0, 2, 'withscores') ...
Add tests for the new options handling for the ZRANGE commands family.
nrk_predis
train
a67bcab54dd406e7c4951d9ed670eb49fcc4984d
diff --git a/client/src/app.js b/client/src/app.js index <HASH>..<HASH> 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -417,7 +417,7 @@ _kiwi.global = { } // Set any random numbers if needed - defaults.nick = defaults.nick.replace('?', Math.floor(Math.random() * 100000).toString...
Replacing multiple ? in the nick with a random number
prawnsalad_KiwiIRC
train
5b5331a5e1c741ba35f4933f2d247456c075968b
diff --git a/src/webroot/cms/content-manager/pagecontent/includes/contents/mediagallery.js b/src/webroot/cms/content-manager/pagecontent/includes/contents/mediagallery.js index <HASH>..<HASH> 100644 --- a/src/webroot/cms/content-manager/pagecontent/includes/contents/mediagallery.js +++ b/src/webroot/cms/content-manager...
Media gallery block slide list data should be sent as "false" when there are no slides
sitesupra_sitesupra
train
02f6b8132814b247d4a025dd6831ebc38c73d62b
diff --git a/plugin/fs/plugin.go b/plugin/fs/plugin.go index <HASH>..<HASH> 100644 --- a/plugin/fs/plugin.go +++ b/plugin/fs/plugin.go @@ -54,7 +54,7 @@ func main() { plugin.Field{ Mode: "target", Name: "exclude", - Type: "abspath", + Type: "string", Title: "Files to Exclude", Help: "...
fs: exclude value is a string, not an abspath
starkandwayne_shield
train
40d76801001ef7cc4cfc6cf10b20bbbef241939a
diff --git a/packages/vue-remark/index.js b/packages/vue-remark/index.js index <HASH>..<HASH> 100644 --- a/packages/vue-remark/index.js +++ b/packages/vue-remark/index.js @@ -49,7 +49,7 @@ const createCustomBlockRule = (config, type) => { config.module.rule(type) .resourceQuery(re) .use('babel-loader') - ...
fix(vue-remark): require.resolve webpack loaders
gridsome_gridsome
train
905cc358894d3eb90bbc22d441965591003f4334
diff --git a/lib/auth.js b/lib/auth.js index <HASH>..<HASH> 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -76,7 +76,7 @@ function isProtectedRoute(req) { * @returns {string} */ function getAuthUrl(site) { - var base = references.uriToUrl(site.prefix, null, site.port); + var base = references.uriToUrl(site.prefix...
Allows for using https auth urls (#<I>) * Allows for using https auth urls * Cleaning up eslint gratuitous parens warning. I still like the second set. ()
clay_amphora
train
588c5ca570132980c090f37f9786cda916eab327
diff --git a/lib/beaker-pe/version.rb b/lib/beaker-pe/version.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/version.rb +++ b/lib/beaker-pe/version.rb @@ -3,7 +3,7 @@ module Beaker module PE module Version - STRING = '1.13.0' + STRING = '1.14.0' end end
(GEM) update beaker-pe version to <I>
puppetlabs_beaker-pe
train
bf9bfa7b9bddf75bc0fc7065d868da3752577cfb
diff --git a/public/js/summernote-ext-bootstrap.js b/public/js/summernote-ext-bootstrap.js index <HASH>..<HASH> 100644 --- a/public/js/summernote-ext-bootstrap.js +++ b/public/js/summernote-ext-bootstrap.js @@ -205,6 +205,7 @@ '<div class="list-group" style="margin: 0px; height: auto; max-heigh...
added img-reponsive class
uthando-cms_uthando-admin
train
88afddfba7029b7f91eed249b47b328bb6d46c73
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefCompariso...
Treat compareTo as an equals method for determining whether to complain about the use of == git-svn-id: <URL>
spotbugs_spotbugs
train
2293a55455b5f04f0f0d8be6f084681c6e7e311f
diff --git a/google-cloud-spanner/acceptance/spanner/instance_test.rb b/google-cloud-spanner/acceptance/spanner/instance_test.rb index <HASH>..<HASH> 100644 --- a/google-cloud-spanner/acceptance/spanner/instance_test.rb +++ b/google-cloud-spanner/acceptance/spanner/instance_test.rb @@ -36,7 +36,7 @@ describe "Spanner I...
Fix Spanner acceptance test use of Map The Protobuf Map object does not directly implement to_h. The to_h method comes from the Enumerable mixin, but in Ruby <I> it does not have the to_h method. Use map_to_hash to convert the map to a hash safely.
googleapis_google-cloud-ruby
train
d2c4e21cca21adef53e9e7757033ec1df58c63da
diff --git a/src/cellmanager.js b/src/cellmanager.js index <HASH>..<HASH> 100644 --- a/src/cellmanager.js +++ b/src/cellmanager.js @@ -517,9 +517,12 @@ export default class CellManager { } promise = valuePromise.then((value) => { - const done = editor.setValue(valu...
fix: Dont save if value is same
frappe_datatable
train
935acf53e7961f18ee60c223fb6bbb2466cdda80
diff --git a/navigator.go b/navigator.go index <HASH>..<HASH> 100644 --- a/navigator.go +++ b/navigator.go @@ -250,6 +250,23 @@ func (n navigator) Post(bodyType string, body io.Reader) (*http.Response, error) return n.HttpClient.Do(req) } +// Delete performs a DELETE request on the tip of the follow queue. +// +//...
Added a Delete method for completeness
jagregory_halgo
train
88b1aa43439287632642d96d9dfcb604c409c9de
diff --git a/DependencyContainer.php b/DependencyContainer.php index <HASH>..<HASH> 100644 --- a/DependencyContainer.php +++ b/DependencyContainer.php @@ -52,7 +52,7 @@ class DependencyContainer implements DependencyContainerInterface $name = $entry; } } - return new $name(...
Directly instantiated objects get the DIC as the first parameter.
JustsoSoftware_JustAPI
train
6b9eef45b436bd124a9337dd5dfd3329c1d796be
diff --git a/lib/chef_attrdoc.rb b/lib/chef_attrdoc.rb index <HASH>..<HASH> 100644 --- a/lib/chef_attrdoc.rb +++ b/lib/chef_attrdoc.rb @@ -55,13 +55,11 @@ module ChefAttrdoc new_group else @newline = true - if @code - @code << content - end + ...
@code is always true (empty Array in ruby)
mapleoin_chef_attrdoc
train
0556e5fbf9555a630f16d7500a39ef60799f8f50
diff --git a/cobra_test.go b/cobra_test.go index <HASH>..<HASH> 100644 --- a/cobra_test.go +++ b/cobra_test.go @@ -1,8 +1,7 @@ -package cobra_test +package cobra import ( "bytes" - . "cobra" "fmt" "strings" "testing"
Moving cobra_test into package cobra for easier testing
spf13_cobra
train
a45012fbba42bc275d68c6ebf93dd3ec6cff7d2b
diff --git a/src/Storage.php b/src/Storage.php index <HASH>..<HASH> 100644 --- a/src/Storage.php +++ b/src/Storage.php @@ -115,6 +115,9 @@ class Storage } $update = $this->changesCollector->changes($model); + if (empty($update)) { + return; + } $result = $this->co...
Do not perform update when no changes found.
formapro_yadm
train
5f30f8865075719773057cf7ef4a70929b966716
diff --git a/src/Fixtures/Crawlers.php b/src/Fixtures/Crawlers.php index <HASH>..<HASH> 100644 --- a/src/Fixtures/Crawlers.php +++ b/src/Fixtures/Crawlers.php @@ -1241,7 +1241,7 @@ class Crawlers extends AbstractProvider 'WhoAPI\/', 'WhoRunsCoinHive', 'Whynder Magnet', - 'WinHTTP', + ...
Refine pattern for WinHTTP library
JayBizzle_Crawler-Detect
train
1706a3954a7ec0aad2ff3f5c7ba47e010b87d207
diff --git a/workflow/cron/controller.go b/workflow/cron/controller.go index <HASH>..<HASH> 100644 --- a/workflow/cron/controller.go +++ b/workflow/cron/controller.go @@ -56,8 +56,8 @@ type Controller struct { const ( cronWorkflowResyncPeriod = 20 * time.Minute - cronWorkflowWorkers = 2 - cronWorkflowWo...
fix: Increase deafult number of CronWorkflow workers (#<I>)
argoproj_argo
train
69ed5322b66650a48673472fbaac14bef1cf55b9
diff --git a/neo/Wallets/KeyPair.py b/neo/Wallets/KeyPair.py index <HASH>..<HASH> 100644 --- a/neo/Wallets/KeyPair.py +++ b/neo/Wallets/KeyPair.py @@ -64,13 +64,14 @@ class KeyPair(object): @staticmethod def PrivateKeyFromWIF(wif): - if wif is None: - raise Exception('Please provide wif') ...
Fix invalid format check Add wif length check before b<I>decode (as that call can throw a ValueError)
CityOfZion_neo-python
train
ec51a556dae79d34ab263ae840fbe0b25fa2879e
diff --git a/test/0A_IdArray.js b/test/0A_IdArray.js index <HASH>..<HASH> 100644 --- a/test/0A_IdArray.js +++ b/test/0A_IdArray.js @@ -13,6 +13,17 @@ test('A.a init', function(test){ equal(arr.at(0),v1.substr(1)); equal(arr.at(1),v2); equal(arr.at(2),v3); + + var limits = new IdArray(); + limits.pu...
soem more IdArray tests
gritzko_swarm
train