hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
b05180b80d8629aa4f85c98525b0b621d1f5098d
diff --git a/samples/recv.js b/samples/recv.js index <HASH>..<HASH> 100644 --- a/samples/recv.js +++ b/samples/recv.js @@ -35,8 +35,8 @@ var shorthands = { h: ["--help"] }; var parsed = nopt(types, shorthands, process.argv, 2); var remain = parsed.argv.remain; -if (parsed.help || remain.length < 1) { - console.log...
undo multi-address change in recv.js
mqlight_nodejs-mqlight
train
js
ebae8c88e96ac4b0a7d81fe9ba3b1cf96516c1e9
diff --git a/lib/session.js b/lib/session.js index <HASH>..<HASH> 100644 --- a/lib/session.js +++ b/lib/session.js @@ -55,6 +55,8 @@ Session.prototype._setupSocketConnection = function(opts) { } Session.prototype._socketConnectionToHost = function(opts) { + var _this = this; + if (opts.legacySSL) { ...
Fixed bug when using the option legacySSL:true. There was a logic error when using 'this' reference in a callback in the file session.js, in the code, 'this' was pointing to a tls socket instance instad of pointing to our session object. It was solved keeping a session reference in a local variable called _this so, eve...
xmppjs_xmpp.js
train
js
a07daf1b88d3f7144e95a9151229f39dd3ebd3b2
diff --git a/lib/wechat/message.rb b/lib/wechat/message.rb index <HASH>..<HASH> 100644 --- a/lib/wechat/message.rb +++ b/lib/wechat/message.rb @@ -122,7 +122,10 @@ module Wechat end def to_xml - message_hash.tap { |hs| hs.delete(:WechatSession) }.to_xml(root: 'xml', children: 'item', skip_instruct: tru...
Still need to keep WechatSession and add back after to_xml called.
Eric-Guo_wechat
train
rb
9b39898b3699ea06b80abc09736e42f8484848d4
diff --git a/cli/multipass.js b/cli/multipass.js index <HASH>..<HASH> 100755 --- a/cli/multipass.js +++ b/cli/multipass.js @@ -29,14 +29,14 @@ mp.importQueue = async.queue(function(source, next) { importer.collect(source, function(err, status) { if (err) log.error(err); else log.important("importing finished fr...
multipass: fixed a few other critical bugs
jaruba_multipass-torrent
train
js
140da7ab50984d1c97b2aa144025edf29121a899
diff --git a/lib/Boris/DumpInspector.php b/lib/Boris/DumpInspector.php index <HASH>..<HASH> 100644 --- a/lib/Boris/DumpInspector.php +++ b/lib/Boris/DumpInspector.php @@ -7,10 +7,12 @@ namespace Boris; /** * Passes values through var_dump() to inspect them. */ -class DumpInspector implements Inspector { - public ...
clean DumpInspector.php
borisrepl_boris
train
php
a546730d639c50efd91c43d4c7593e4d473a776c
diff --git a/ezp/Persistence/Content/Type/ContentTypeCreateStruct.php b/ezp/Persistence/Content/Type/ContentTypeCreateStruct.php index <HASH>..<HASH> 100644 --- a/ezp/Persistence/Content/Type/ContentTypeCreateStruct.php +++ b/ezp/Persistence/Content/Type/ContentTypeCreateStruct.php @@ -115,7 +115,7 @@ class ContentType...
Fixed: Property name (IDs -> Ids).
ezsystems_ezpublish-kernel
train
php
b80d6190892784133b729daa36650e9a794784c3
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -207,7 +207,11 @@ class Tag(object): elif isinstance(s, type(u'')): innerHTML = innerHTML + s.encode('utf-8') else: - innerHTML = innerHTML + s.repr(client,...
Rendering: improves repr of Python types. Makes it more robust against trying to render regular Python types. For example if you fill in a table by matrix that has integers in it.
dddomodossola_remi
train
py
abceacfc8e320b98339730f69d25ed3f453a3dcb
diff --git a/src/controllers/PlanController.php b/src/controllers/PlanController.php index <HASH>..<HASH> 100644 --- a/src/controllers/PlanController.php +++ b/src/controllers/PlanController.php @@ -186,7 +186,7 @@ class PlanController extends CrudController 'columns' => [ 'object->name', ...
fixed missing price history details (#<I>)
hiqdev_hipanel-module-finance
train
php,php
0cefdcd4b2aeae8debfe4243f260d0bd77d507ab
diff --git a/lib/transit/decoder.rb b/lib/transit/decoder.rb index <HASH>..<HASH> 100644 --- a/lib/transit/decoder.rb +++ b/lib/transit/decoder.rb @@ -81,7 +81,7 @@ module Transit end def parse_string(str, cache, as_map_key) - if /^#{ESC}/ =~ str + if str[0] == ESC case str[1] wh...
read optimization: match substr instead of regex match - cut seattle benchmark from ~<I>ms to ~<I>ms
cognitect_transit-ruby
train
rb
7425860b660332883fbc6245a64904a5b6734950
diff --git a/src/Authentication.php b/src/Authentication.php index <HASH>..<HASH> 100644 --- a/src/Authentication.php +++ b/src/Authentication.php @@ -246,7 +246,9 @@ class Authentication if (substr($hash, 0, 1) !== "$") { $salt = $this->config->dget('salt', ''); - $pw_hash = h...
Configurable placement of salt before or after password before hashing
Wedeto_Auth
train
php
690fb9cc2e40ff5348b75ed0afe5b42f850bb266
diff --git a/src/preferences/PreferencesManager.js b/src/preferences/PreferencesManager.js index <HASH>..<HASH> 100644 --- a/src/preferences/PreferencesManager.js +++ b/src/preferences/PreferencesManager.js @@ -274,7 +274,7 @@ define(function (require, exports, module) { _userScopeCorrupt = true; ...
Add the rest of the scopes always.
adobe_brackets
train
js
93bdbfb03c2dbf4d57c65c75a0ad1b4732810a60
diff --git a/ncclient/transport/ssh.py b/ncclient/transport/ssh.py index <HASH>..<HASH> 100644 --- a/ncclient/transport/ssh.py +++ b/ncclient/transport/ssh.py @@ -13,6 +13,7 @@ # limitations under the License. import os +import sys import socket import getpass from binascii import hexlify @@ -167,10 +168,12 @@ c...
ssh: enable `ssh_config=True` to default to `~/.ssh/config` Instead of specifying the path to `ssh_config`, a user can just use `True` to use the default path.
ncclient_ncclient
train
py
a539b4ccb4788ed0b6c47edcfa7a123e4522fa3e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -64,8 +64,6 @@ if __name__ == "__main__": long_description=LONG, author=find_meta("author"), author_email=find_meta("email"), - maintainer="Hynek Schlawack", - maintainer_email="hs@ox.c...
Stop lawyers from emailing Hynek (#<I>) * Stop lawyers from emailing Hynek * Update setup.py
pyca_pyopenssl
train
py
a74366dc399305873fef77ffecc9bb8104de74ad
diff --git a/metator/version.py b/metator/version.py index <HASH>..<HASH> 100644 --- a/metator/version.py +++ b/metator/version.py @@ -1 +1 @@ -__version__ = '0.1.7' +__version__ = '1.0.0' diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,9 +27,9 @@ CLASSIFIERS = [ nam...
Bump to version <I>
koszullab_metaTOR
train
py,py
7c8a4c275d7908a115ddfc950ab7f7d993ed00df
diff --git a/tasks/changelog.rb b/tasks/changelog.rb index <HASH>..<HASH> 100644 --- a/tasks/changelog.rb +++ b/tasks/changelog.rb @@ -1,13 +1,18 @@ class Changelog def cut_version(header) - old_content = File.read(changelog_file).split("\n") - new_content = [old_content[0..3], header, "", old_content[4..-1]]...
Extract a couple of helper methods for later reuse
activeadmin_activeadmin
train
rb
1e2200bbbff97b25d49c3d0927e02ab36888431c
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,14 +1,13 @@ 'use strict'; var path = require('path'); +var _ = require('lodash'); +var yargs = require('yargs'); var PLUGIN_NAME = 'kalabox-plugin-git'; module.exports = function(kbox) { - var _ = require('loda...
Solidarity for global deps
pirog_kalabox-plugin-git
train
js
37ef72539222aa98dee5d1966abc53af6a410d6d
diff --git a/tests/plots/test_skewt.py b/tests/plots/test_skewt.py index <HASH>..<HASH> 100644 --- a/tests/plots/test_skewt.py +++ b/tests/plots/test_skewt.py @@ -481,7 +481,8 @@ def test_hodograph_wind_vectors(): return fig -@pytest.mark.xfail +@pytest.mark.skipif(matplotlib.__version__ < '3.0.1', + ...
MNT: Remove xfail from test (Fixes #<I>) Pint <I> made this test start passing, fixing the issue. Skip on early versions of matplotlib.
Unidata_MetPy
train
py
70c20c6324fe4c5193ab8681ec0d2c2d62df3161
diff --git a/test/OAuth/OAuthTest.php b/test/OAuth/OAuthTest.php index <HASH>..<HASH> 100644 --- a/test/OAuth/OAuthTest.php +++ b/test/OAuth/OAuthTest.php @@ -24,7 +24,7 @@ use Yoast\PHPUnitPolyfills\TestCases\TestCase; final class OAuthTest extends TestCase { /** - * Test OAuth method. + * Test OAuth cl...
Rearrange tests to deal with version issues
PHPMailer_PHPMailer
train
php
c4ad7b1fcaa009fcb944c4322227cec9addecae9
diff --git a/picocontainer/src/test/java/cucumber/runtime/java/picocontainer/RunCukesTest.java b/picocontainer/src/test/java/cucumber/runtime/java/picocontainer/RunCukesTest.java index <HASH>..<HASH> 100644 --- a/picocontainer/src/test/java/cucumber/runtime/java/picocontainer/RunCukesTest.java +++ b/picocontainer/src/t...
Update explicit feature path (but keep it commented out)
cucumber_cucumber-jvm
train
java
3d6c2853f116a59f76dd0395fdbfae919da08642
diff --git a/syn/five/__init__.py b/syn/five/__init__.py index <HASH>..<HASH> 100644 --- a/syn/five/__init__.py +++ b/syn/five/__init__.py @@ -10,8 +10,15 @@ range = lambda *args, **kwargs: list(xrange(*args, **kwargs)) if PY2: raw_input = raw_input + import itertools + izip = itertools.izip + imap = i...
Adding izip, imap, ifilter
mbodenhamer_syn
train
py
f255c238b3a3edea58d837fefe0bf0a510299a91
diff --git a/s3transfer/manager.py b/s3transfer/manager.py index <HASH>..<HASH> 100644 --- a/s3transfer/manager.py +++ b/s3transfer/manager.py @@ -515,13 +515,15 @@ class TransferManager(object): # wrapped in a try statement because this can be interrupted # with a KeyboardInterrupt that needs...
Add better messaging when Cntrl-C occurs in wait()
boto_s3transfer
train
py
7c47c55bd6a0f6882e6b99e7e146fe91c0f25704
diff --git a/pycbc/workflow/workflow.py b/pycbc/workflow/workflow.py index <HASH>..<HASH> 100644 --- a/pycbc/workflow/workflow.py +++ b/pycbc/workflow/workflow.py @@ -264,7 +264,7 @@ class Workflow(PegasusWorkflow): args : argparse.ArgumentParser The command line options to initialize a CBC workfl...
Fix call to superclass in Workflow definition
gwastro_pycbc
train
py
c561ce97937da1cbdc280d90c6a09a297a6eed90
diff --git a/bagmaker/bagmaker.go b/bagmaker/bagmaker.go index <HASH>..<HASH> 100644 --- a/bagmaker/bagmaker.go +++ b/bagmaker/bagmaker.go @@ -87,12 +87,12 @@ func main() { return } - if info := parse_info(os.Args); len(info) > 0 { - bag.AddTagfile("bag-info.txt") - if tf, err := bag.BagInfo(); err != nil { - ...
Updated TagFields to use ordered list of TagFields.
APTrust_bagins
train
go
11c62ae3695f18da72847e704cf5f4e652f18d44
diff --git a/lib/passenger/dependencies.rb b/lib/passenger/dependencies.rb index <HASH>..<HASH> 100644 --- a/lib/passenger/dependencies.rb +++ b/lib/passenger/dependencies.rb @@ -185,17 +185,11 @@ module Dependencies # :nodoc: all Rake = Dependency.new do |dep| dep.name = "Rake" dep.define_checker do |result| -...
Added PlatformInfo::RAKE as a dependency. Don't bother falling back to the command in ENV['PATH'] because the installer would have failed in this case anyway.
phusion_passenger
train
rb,rb
121d03566fc58fa55d8fade20492ea63e79774dd
diff --git a/test/helpers.js b/test/helpers.js index <HASH>..<HASH> 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -645,7 +645,7 @@ helpers.describeTagging = function(getCache) { }; }), function(err) { - assert.isNull(err); + assert.isUndefined(err); done(); } ...
updating assert from async bump
selfcontained_cashbox
train
js
a8886615e45b13e4dce076e577d468da01743568
diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -60,12 +60,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface...
bumped Symfony version to <I>
symfony_symfony
train
php
45d344c69da52c0a41421c4c2dfa0e8f66732b40
diff --git a/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OProperty.java b/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OProperty.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OProperty.java +++ b/core/src/main...
Fixed issue <I>: when the loaded property index has can't find the underlying index, the index is null
orientechnologies_orientdb
train
java
32153c65ae301dbddc42868d1a9eea0b247ac579
diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java index <HASH>..<HASH> 100644 --- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/Solo.java +++ b/robotium-solo/src/main/java/com/jayway/android/robot...
Removed getAllOpenedActivities() as the handling of activities has changed since this method was introduced
RobotiumTech_robotium
train
java
e8a55220adb9db1354683faa4482a965dae30dd0
diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index <HASH>..<HASH> 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -11,6 +11,9 @@ patterns = ['permission denied', 'requested operation requires superuser privilege', 'must be run as root', 'must be sup...
Forgot to commit the actual rule :-1:
nvbn_thefuck
train
py
5269251352dfa4e32aa3da2fd2d121d0c8b1092f
diff --git a/heron/statemgrs/src/java/org/apache/heron/statemgr/FileSystemStateManager.java b/heron/statemgrs/src/java/org/apache/heron/statemgr/FileSystemStateManager.java index <HASH>..<HASH> 100644 --- a/heron/statemgrs/src/java/org/apache/heron/statemgr/FileSystemStateManager.java +++ b/heron/statemgrs/src/java/org...
fixtypo (#<I>)
apache_incubator-heron
train
java
8f1058b5846ac73bd7f345fa8e9847b73c6759d4
diff --git a/app/controllers/search.rb b/app/controllers/search.rb index <HASH>..<HASH> 100644 --- a/app/controllers/search.rb +++ b/app/controllers/search.rb @@ -71,7 +71,7 @@ Ladder.controllers :search do # query for the provided query string b.positive do |p| # p.match @fields...
Enable snowball analyzer for indexing and querying (NB: distorts facets)
ladder_ladder
train
rb,rb
3f47b0cce4436aa638e0b914ff8ab1c9fbf67552
diff --git a/lib/puppet/util/command_line.rb b/lib/puppet/util/command_line.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/util/command_line.rb +++ b/lib/puppet/util/command_line.rb @@ -93,13 +93,19 @@ module Puppet if zero == 'puppet' case argv.first - when nil; [ stdin.tty...
(#<I>) Layout cleanup for subcommand extraction. This transforms the layout of the code, to make it easier to work with, but makes no functional changes. Done separately to make clearer the functional changes vs the non-functional changes.
puppetlabs_puppet
train
rb
d1b9f5ac4a49a693999144363f425d77437ae472
diff --git a/tests/simulation_test.py b/tests/simulation_test.py index <HASH>..<HASH> 100644 --- a/tests/simulation_test.py +++ b/tests/simulation_test.py @@ -20,7 +20,10 @@ class TestSimulation(unittest.TestCase): # In fact it is hard to tell how "correctness" of a Monte Carlo process should # be judged. ...
improved comments on test_watermap_rng_stability
Mindwerks_worldengine
train
py
f96bf2f0e68c2245541f2e1df3f4b2f9e9cb46ae
diff --git a/lib/express/core.js b/lib/express/core.js index <HASH>..<HASH> 100644 --- a/lib/express/core.js +++ b/lib/express/core.js @@ -10,6 +10,7 @@ Route = Class({ this.method = method this.originalPath = path this.path = pathToRegexp(normalizePath(path)) + print(this.path) this.fn = fn }...
Added NotFoundError
expressjs_express
train
js
b568d8600fbbc4b44bea8185e6d55b4328903988
diff --git a/OpenPNM/Geometry/models/throat_length.py b/OpenPNM/Geometry/models/throat_length.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Geometry/models/throat_length.py +++ b/OpenPNM/Geometry/models/throat_length.py @@ -61,13 +61,3 @@ def c2c(network, geometry, **kwargs): for i in range(len(connections)): ...
Removing constant model from throat length models...should've been removed ages ago
PMEAL_OpenPNM
train
py
28d67f4af7f8d8f25cac94bcabbfdaae4a645142
diff --git a/js/hitbtc2.js b/js/hitbtc2.js index <HASH>..<HASH> 100644 --- a/js/hitbtc2.js +++ b/js/hitbtc2.js @@ -516,9 +516,15 @@ module.exports = class hitbtc2 extends hitbtc { }); } - currencyId (currency) { - if (currency == 'BitClave') - return 'CAT'; + commonCurrencyCode (...
added missing USD → USDT conversion to HitBTC2 fix #<I>
ccxt_ccxt
train
js
342275912548b7e6566c02a8c32c9346c9c8b4bc
diff --git a/protocol.go b/protocol.go index <HASH>..<HASH> 100644 --- a/protocol.go +++ b/protocol.go @@ -54,10 +54,10 @@ type protocolIntroConn interface { type protocolIntroParams struct { MinVersion byte MaxVersion byte + Outbound bool Features map[string]string Conn protocolIntroConn Password ...
Optimise struct packing to shut the linter up
weaveworks_mesh
train
go,go
e10b8a1e6487a0061a7c1da12b8e15c76ca4784e
diff --git a/src/Codeception/SuiteManager.php b/src/Codeception/SuiteManager.php index <HASH>..<HASH> 100644 --- a/src/Codeception/SuiteManager.php +++ b/src/Codeception/SuiteManager.php @@ -149,7 +149,7 @@ class SuiteManager { protected function relativeName($file) { - return $name = basename($file)...
fix tests filename to be presented with relative path
Codeception_base
train
php
f2cde433f0c4f63304150616c2836b2b78e048c5
diff --git a/lib/ridgepole/version.rb b/lib/ridgepole/version.rb index <HASH>..<HASH> 100644 --- a/lib/ridgepole/version.rb +++ b/lib/ridgepole/version.rb @@ -1,3 +1,3 @@ module Ridgepole - VERSION = '0.6.6.beta2' + VERSION = '0.7.0.alpha' end
Bump up version [ci skip]
winebarrel_ridgepole
train
rb
e2da9868a59e2b00d603915df3593a660e20e1ad
diff --git a/src/main/java/com/codeborne/selenide/DOM.java b/src/main/java/com/codeborne/selenide/DOM.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/DOM.java +++ b/src/main/java/com/codeborne/selenide/DOM.java @@ -515,10 +515,16 @@ public class DOM { WebElement element; do { ...
Fixed waitUntil method: it should not fail for stolen (disappeared) elements
selenide_selenide
train
java
c64524dc22c20bff46893a6f604ed1e921b7b975
diff --git a/resources/prepublish.js b/resources/prepublish.js index <HASH>..<HASH> 100644 --- a/resources/prepublish.js +++ b/resources/prepublish.js @@ -15,6 +15,7 @@ // (2) We start off with a check to bail out when not invoked as part of // "npm publish". +var fs = require('fs'); var path = require('path')...
Guard against hoistDependencies foot-gun It is too easy to accidentally publish these changes, which only exist for local development or running under Travis.
graphql_graphiql
train
js
88aaf89a083eafc971722668b178498ab396c7bc
diff --git a/openstack_dashboard/dashboards/project/stacks/template_versions/tables.py b/openstack_dashboard/dashboards/project/stacks/template_versions/tables.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/stacks/template_versions/tables.py +++ b/openstack_dashboard/dashboards/project/stac...
Add filter action to Template Versions tables Orchestration Template Versions table and Template Functions tables (which are actually template versions details) need filter function. This patch adds filters and removes appeared checkboxes. Change-Id: If3c5dfdb3f<I>ee0b<I>c<I>d<I>f<I>ebb<I>be3 Closes-Bug: #<I>
openstack_horizon
train
py
a332063ccdddc2d98236fabee108a5018f3a3eb1
diff --git a/lib/veritas/relation/operation/unary.rb b/lib/veritas/relation/operation/unary.rb index <HASH>..<HASH> 100644 --- a/lib/veritas/relation/operation/unary.rb +++ b/lib/veritas/relation/operation/unary.rb @@ -2,7 +2,6 @@ module Veritas class Relation module Operation module Unary - inclu...
Remove Immutable from Relation::Operation::Unary * Immutable is inherited from Operation::Unary
dkubb_axiom
train
rb
4ce73b1915f7da5353f60a7004c891a3f0b0a784
diff --git a/currencies/models.py b/currencies/models.py index <HASH>..<HASH> 100644 --- a/currencies/models.py +++ b/currencies/models.py @@ -41,6 +41,10 @@ class Currency(models.Model): if self.is_default is True: self.__class__._default_manager.filter(is_default=True).update(is_default=False) ...
make sure default / base curreny is active
panosl_django-currencies
train
py
960707aeda1909c5a56d21e6fa5200acc47cf459
diff --git a/activerecord/test/cases/migrator_test.rb b/activerecord/test/cases/migrator_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/migrator_test.rb +++ b/activerecord/test/cases/migrator_test.rb @@ -92,7 +92,7 @@ module ActiveRecord def test_relative_migrations list = Dir.chdir(MIG...
No need for trailing slash on migration path. Causes a double // in Dir.glob that breaks Ruby <I>-trunk. Not really a bug, but not relevant to this test either. Originally added in ed<I>f0c<I>ddb<I>acfdaea<I>ffd<I>a3
rails_rails
train
rb
a61674f1324778f8b231c569325eab60e0e78482
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index <HASH>..<HASH> 100755 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -22,7 +22,7 @@ def walk_revctrl(dirname=''): #TODO will need test case class re_finder(object): - def __init__(self, path, pattern, postproc=No...
Use a default that generates to the default behavior; no need to employ None as a sentry value. --HG-- extra : source : 2c7c<I>ddc<I>ee<I>b<I>e1fafd<I>ab<I>dc<I>
pypa_setuptools
train
py
317966b7b5876cab4fac353161ac5dcc5b61f7b4
diff --git a/lib/express_templates/components/configurable.rb b/lib/express_templates/components/configurable.rb index <HASH>..<HASH> 100644 --- a/lib/express_templates/components/configurable.rb +++ b/lib/express_templates/components/configurable.rb @@ -86,7 +86,9 @@ module ExpressTemplates if !!value[:at...
Fix bug on boolean default assignment
aelogica_express_templates
train
rb
0c164c3c7273f327f6918e15e8320d6bde9fa1ce
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -22,7 +22,7 @@ var fs = require('fs'); var path = require('path'); var Q = require('q'); var which = require('which'); -var iswin32 = process.platform == 'win32'; +var iswin32 = 'win32' === process.platform;...
strict comparison + yoda-style
MarcDiethelm_superspawn
train
js
ad8a6c046a24ced56cac3b8661d6a05518e0935d
diff --git a/lib/wool/rake/task.rb b/lib/wool/rake/task.rb index <HASH>..<HASH> 100644 --- a/lib/wool/rake/task.rb +++ b/lib/wool/rake/task.rb @@ -13,7 +13,7 @@ module Wool def initialize(task_name) @settings = Settings.new - yield @settings + yield @settings if block_given? ...
Creating the rake task and whatnot is all specced now
michaeledgar_laser
train
rb,rb
cf56d106cafbd038aa4f8992938c68ac07ac8743
diff --git a/lib/phony/countries.rb b/lib/phony/countries.rb index <HASH>..<HASH> 100644 --- a/lib/phony/countries.rb +++ b/lib/phony/countries.rb @@ -207,10 +207,9 @@ Phony.define do # New Zealand. # - # TODO Mobile? - # country '64', - fixed(1) >> split(3,4) + match(/^(2\d)\d+$/) >> spl...
adding formating for New Zealand mobile numbers
floere_phony
train
rb,rb
cc0d1beb2a089f75d5d50c9ba727514e23442622
diff --git a/torchvision/models/detection/keypoint_rcnn.py b/torchvision/models/detection/keypoint_rcnn.py index <HASH>..<HASH> 100644 --- a/torchvision/models/detection/keypoint_rcnn.py +++ b/torchvision/models/detection/keypoint_rcnn.py @@ -188,16 +188,18 @@ class KeypointRCNN(FasterRCNN): keypoint_roi_pool=...
Modifying keypoint_rcnn.py for keypoint_predictor issue (#<I>) * Modifying keypoint_rcnn.py * Update torchvision/models/detection/keypoint_rcnn.py
pytorch_vision
train
py
5b69ced1e8455352f081ff2d1f6df48923195f75
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,6 +41,7 @@ extensions = [ "sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx.ext.viewcode", + "sphinx.ext.napoleon", ] # Add any paths that contain templates here, relative to this d...
Add ability to use Google style docstrings Use and configure the `napoleon` Sphinx extension
carpedm20_fbchat
train
py
993cc9dc0e3492b76e56d3b7bb1914d70e4e5d21
diff --git a/muttdown/main.py b/muttdown/main.py index <HASH>..<HASH> 100644 --- a/muttdown/main.py +++ b/muttdown/main.py @@ -159,7 +159,7 @@ def main(): if args.print_message: print(rebuilt.as_string()) elif args.sendmail_passthru: - cmd = [c.sendmail, '-f', args.envelope_from] + args.addres...
Split Config.sendmail on spaces for passing to Popen
Roguelazer_muttdown
train
py
37266cf552363def093f5e3f23ffcbcdf0642531
diff --git a/ghost/sdk/layer1/index.js b/ghost/sdk/layer1/index.js index <HASH>..<HASH> 100644 --- a/ghost/sdk/layer1/index.js +++ b/ghost/sdk/layer1/index.js @@ -5,6 +5,7 @@ var events = require('minivents'); module.exports = function layer1(options) { var members = { getToken, + getConfig, ...
Added getConfig method to members layer1 no-issue This can be used for fetching information about the members api
TryGhost_Ghost
train
js
d98a99a8553e3559705e0fbed4d8ca1bdb1402b1
diff --git a/tarbell/slughifi.py b/tarbell/slughifi.py index <HASH>..<HASH> 100644 --- a/tarbell/slughifi.py +++ b/tarbell/slughifi.py @@ -10,7 +10,7 @@ def slugify(value): and spaces to underscores. """ value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore') - value = re.sub('[^\w\s-]'...
Avoid returning bytes from slughifi
tarbell-project_tarbell
train
py
2d55c859d3e35ce1004ba1edfb7033ce111dc6ec
diff --git a/spectrum.js b/spectrum.js index <HASH>..<HASH> 100644 --- a/spectrum.js +++ b/spectrum.js @@ -195,6 +195,10 @@ function applyOptions() { + if (opts.showPaletteOnly) { + opts.showPalette = true; + } + container.toggleClass("sp-flat", flat); ...
Setting `showPaletteOnly` should force `showPalette` to be on. Issue #<I>
bgrins_spectrum
train
js
a4c15303cbc96fffd66c68abdeebe73d8883e5ab
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -97,15 +97,14 @@ module ActiveSupport end def |(chain) - ...
Slight optimization to CallbackChain#union and delete.
rails_rails
train
rb
d66904085b89ba8e558358cf958fef7f5332a938
diff --git a/backbone-associations.js b/backbone-associations.js index <HASH>..<HASH> 100644 --- a/backbone-associations.js +++ b/backbone-associations.js @@ -244,6 +244,7 @@ var relationKey = relation.key, relatedModel = relation.relatedModel, coll...
introduce a separate property to avoid confusion with set options - Issue #<I>
dhruvaray_backbone-associations
train
js,js
f114bfa6ad7bacb72800adb71281e6028c63bc35
diff --git a/lib/generators/cucumber/feature/feature_generator.rb b/lib/generators/cucumber/feature/feature_generator.rb index <HASH>..<HASH> 100644 --- a/lib/generators/cucumber/feature/feature_generator.rb +++ b/lib/generators/cucumber/feature/feature_generator.rb @@ -13,7 +13,6 @@ module Cucumber end ...
removed empty_folder from FeaturesGenerator to prevent rovokation of step_definitions on destroy
cucumber_cucumber-rails
train
rb
38c7ead72ff247a5f4887fff49b464fd914de1ed
diff --git a/lib/riemann/client.rb b/lib/riemann/client.rb index <HASH>..<HASH> 100644 --- a/lib/riemann/client.rb +++ b/lib/riemann/client.rb @@ -31,9 +31,8 @@ class Riemann::Client if block_given? begin yield self - rescue Object => err + ensure close - raise err ...
Just use ensure block to close sockets
riemann_riemann-ruby-client
train
rb
d3d90302bf5917043472553b01b73082f99f4c7f
diff --git a/environs/manual/agent.go b/environs/manual/agent.go index <HASH>..<HASH> 100644 --- a/environs/manual/agent.go +++ b/environs/manual/agent.go @@ -81,7 +81,7 @@ func provisionMachineAgentScript(args provisionMachineAgentArgs) (string, error) if err != nil { return "", err } - mcfg.MachineEnvironment[...
environs/manual: assign "null" provider type Set the machine agent's "provider type" to be the "null" provider (which doesn't exist yet, but we have to refer to something...)
juju_juju
train
go,go
279ff7d463db39575aeed18d92b881f2b337185a
diff --git a/configargparse.py b/configargparse.py index <HASH>..<HASH> 100644 --- a/configargparse.py +++ b/configargparse.py @@ -492,7 +492,7 @@ class ArgumentParser(argparse.ArgumentParser): # open the config file(s) config_streams = [] - if config_file_contents: + if config_file_co...
Handle empty config_file_contents To suppress loading configuration files, config_file_contents='' seems like the natural solution. However, this does not what is expected. This fixes this.
bw2_ConfigArgParse
train
py
47a11a4f4e6b2184610c2c28a611279b23f58051
diff --git a/examples/pure-chart/components/pie-chart.js b/examples/pure-chart/components/pie-chart.js index <HASH>..<HASH> 100644 --- a/examples/pure-chart/components/pie-chart.js +++ b/examples/pure-chart/components/pie-chart.js @@ -130,6 +130,7 @@ class PieChart extends React.Component { ) } drawPie (angl...
backupPieChartRefactoring
oksktank_react-native-pure-chart
train
js
e38130ef4af7f1fcafb4c00c6ea3b615c527f15d
diff --git a/eventsourcing/application/process.py b/eventsourcing/application/process.py index <HASH>..<HASH> 100644 --- a/eventsourcing/application/process.py +++ b/eventsourcing/application/process.py @@ -163,7 +163,7 @@ class ProcessApplication(Pipeable, Application): # Todo: Optionally send eve...
Changed ProcessApplication to prompt only if event is notifiable. .
johnbywater_eventsourcing
train
py
6d56337f789c7ca3e94cfcadc1596cbe34cdf4d4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -80,7 +80,7 @@ class BuildWithQtResources(setuptools.command.build_py.build_py): compiled_qt_resources_file.write(compiled_qt_resources) else: # If here, compilation failed fo...
Packaging: Also include the icons for autokey-qt if not compiling the Qt resources. Do not ship resources.qrc, because this file is not needed at run-time. It is only read by pyrcc5.
autokey_autokey
train
py
99babf9a6fc699a521e1dbc82e216565f8596a7f
diff --git a/mesh_tensorflow/transformer/utils.py b/mesh_tensorflow/transformer/utils.py index <HASH>..<HASH> 100644 --- a/mesh_tensorflow/transformer/utils.py +++ b/mesh_tensorflow/transformer/utils.py @@ -47,9 +47,12 @@ from tensorflow.python.ops import resources # pylint: disable=g-direct-tensorfl from tensorflow....
try to create gin related flags and pass if the flags are created. PiperOrigin-RevId: <I>
tensorflow_mesh
train
py
75098d6feb0ea12f5e48112ef32db2c78da69bd2
diff --git a/httpcache4j-storage-api/src/main/java/org/codehaus/httpcache4j/cache/Vary.java b/httpcache4j-storage-api/src/main/java/org/codehaus/httpcache4j/cache/Vary.java index <HASH>..<HASH> 100644 --- a/httpcache4j-storage-api/src/main/java/org/codehaus/httpcache4j/cache/Vary.java +++ b/httpcache4j-storage-api/src/...
- Removed pointless constant git-svn-id: file:///home/projects/httpcache4j/tmp/scm-svn-tmp/trunk@<I> aeef7db8-<I>a-<I>-b<I>-bac<I>ff<I>f6
httpcache4j_httpcache4j
train
java
43fc13b136346326c11b104aab5246fb26993915
diff --git a/hypervisor/libvirt/libvirt.go b/hypervisor/libvirt/libvirt.go index <HASH>..<HASH> 100644 --- a/hypervisor/libvirt/libvirt.go +++ b/hypervisor/libvirt/libvirt.go @@ -606,7 +606,7 @@ func (lc *LibvirtContext) Launch(ctx *hypervisor.VmContext) { glog.V(3).Infof("domainXML: %v", domainXml) var domain libv...
use VIR_DOMAIN_START_PAUSED
hyperhq_runv
train
go
0ff3624691dc3764aaec8fc27d4c54fcf064f773
diff --git a/webit-script/src/main/java/webit/script/asm/ASMUtil.java b/webit-script/src/main/java/webit/script/asm/ASMUtil.java index <HASH>..<HASH> 100644 --- a/webit-script/src/main/java/webit/script/asm/ASMUtil.java +++ b/webit-script/src/main/java/webit/script/asm/ASMUtil.java @@ -1,5 +1,4 @@ // Copyright (c) 201...
fix classLoader could not find class in some environment
febit_wit
train
java
488b304e0566d3be9654d4e08295e6a93ac443df
diff --git a/core/src/main/java/com/orientechnologies/orient/core/command/traverse/OTraverseRecordProcess.java b/core/src/main/java/com/orientechnologies/orient/core/command/traverse/OTraverseRecordProcess.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/command/traverse/OTrav...
Fix previous fix: traversal with brackets and dot just a fix on the fix, a <I> difference in char indexes…
orientechnologies_orientdb
train
java
38485b4fa094df5a732090bb35454555b1ab3fc9
diff --git a/openstack_dashboard/dashboards/project/networks/forms.py b/openstack_dashboard/dashboards/project/networks/forms.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/dashboards/project/networks/forms.py +++ b/openstack_dashboard/dashboards/project/networks/forms.py @@ -36,6 +36,7 @@ class UpdateNetwork...
removed asterisk for admin state in network create In network create and update, the admin_state parameter is optional but in horizon forms, asterisk is shown for admin state choice field which is wrong. In this patch, asterisk mark is removed for admin state choice field in network create and update forms. Change-I...
openstack_horizon
train
py,py
8d0d60ce9c18d816105d896d2afc33a51302ff33
diff --git a/src/TwentyOneRunTaxableCountries.php b/src/TwentyOneRunTaxableCountries.php index <HASH>..<HASH> 100644 --- a/src/TwentyOneRunTaxableCountries.php +++ b/src/TwentyOneRunTaxableCountries.php @@ -2,7 +2,7 @@ namespace LizardsAndPumpkins; -class TwentyOneRunTaxableCountries implements \IteratorAggregate,...
Issue #<I>: Remove superfluous implements interface statement
lizards-and-pumpkins_catalog
train
php
ea4548c3f2520cda714496945285c97aaab67e0c
diff --git a/lib/websearchadminlib.py b/lib/websearchadminlib.py index <HASH>..<HASH> 100644 --- a/lib/websearchadminlib.py +++ b/lib/websearchadminlib.py @@ -710,9 +710,9 @@ def perform_addexistingportalbox(colID, ln, pbxID=-1, score=0, position='', sel_ <option value="-1">- Select portalbox -</option> ...
When adding a portalbox, do not exclude those already added, because one may want to reuse them for different language. Thanks to Ferran.
inveniosoftware_invenio-records
train
py
c52dc493dbcb04545c03f6d6208787dcf8546f17
diff --git a/hwrt/serve.py b/hwrt/serve.py index <HASH>..<HASH> 100755 --- a/hwrt/serve.py +++ b/hwrt/serve.py @@ -252,7 +252,11 @@ def work(): req = requests.Request('POST', url, headers=headers, data=payload) prepared = req.prepare() response = s.send(prepared) - response = json.load...
hwrt/serve.py: Deal with non-json output from the server
MartinThoma_hwrt
train
py
e51c003af1ca5b4a6829f385e4e368da18cb35aa
diff --git a/stacker/lookups/handlers/ssmstore.py b/stacker/lookups/handlers/ssmstore.py index <HASH>..<HASH> 100644 --- a/stacker/lookups/handlers/ssmstore.py +++ b/stacker/lookups/handlers/ssmstore.py @@ -1,4 +1,4 @@ -import boto3 +from stacker.session_cache import get_session from ...util import read_value_from_p...
Update ssmstore handler to use cred cache
cloudtools_stacker
train
py
9c392e92c7d6adfa24fb7faa873e5b7506040279
diff --git a/core/classes/Router.core.php b/core/classes/Router.core.php index <HASH>..<HASH> 100644 --- a/core/classes/Router.core.php +++ b/core/classes/Router.core.php @@ -306,7 +306,7 @@ class Router { public function where($k,$v=null){ if(is_array($k)){ $this->variableRestrictions = $k; ...
was not returning $this from where() method when array of conditions was passed in
discophp_framework
train
php
9523597f578d76253d1fff80868bc0ee5669454b
diff --git a/cleverhans/future/torch/attacks/fast_gradient_method.py b/cleverhans/future/torch/attacks/fast_gradient_method.py index <HASH>..<HASH> 100644 --- a/cleverhans/future/torch/attacks/fast_gradient_method.py +++ b/cleverhans/future/torch/attacks/fast_gradient_method.py @@ -28,7 +28,14 @@ def fast_gradient_meth...
Add tests against invalid arguments for FGM
tensorflow_cleverhans
train
py
685ea524cd1c4f4a501581eb767d6d7c3dffc424
diff --git a/src/Rah/Backup.php b/src/Rah/Backup.php index <HASH>..<HASH> 100644 --- a/src/Rah/Backup.php +++ b/src/Rah/Backup.php @@ -448,7 +448,7 @@ EOF; new \Rah\Danpu\Export($dump); - if (get_pref('rah_backup_copy_paths')) { + if (get_pref('rah_backup_copy_paths') && !is_disabled('exec') ...
Check whether exec is accessible.
gocom_rah_backup
train
php
90cb771f655b390b6521c9f883a98ca472816074
diff --git a/aiolifx/aiolifx.py b/aiolifx/aiolifx.py index <HASH>..<HASH> 100644 --- a/aiolifx/aiolifx.py +++ b/aiolifx/aiolifx.py @@ -1192,9 +1192,8 @@ class LifxDiscovery(aio.DatagramProtocol): # rediscovered light = self.lights[mac_addr] - # nothing changed, just register again...
Always reconnect when rediscovering a light
frawau_aiolifx
train
py
edc43504e678d37c0d8624ba7eb7c063946d549a
diff --git a/packages/swagger2openapi/validate.js b/packages/swagger2openapi/validate.js index <HASH>..<HASH> 100644 --- a/packages/swagger2openapi/validate.js +++ b/packages/swagger2openapi/validate.js @@ -290,7 +290,7 @@ function checkSchema(schema, parent, prop, openapi, options) { validateUrl(schema.extern...
validate; top-level schema prop isn't empty any more
Mermade_oas-kit
train
js
ceec16db4cec0c8df2e5d265d9f4fa12b4e6c600
diff --git a/src/responsive-fixed-data-table.js b/src/responsive-fixed-data-table.js index <HASH>..<HASH> 100644 --- a/src/responsive-fixed-data-table.js +++ b/src/responsive-fixed-data-table.js @@ -4,6 +4,7 @@ var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var Table = requir...
Allow styles to be passed to the container div
vaiRk_responsive-fixed-data-table
train
js
eb253c1772dc7fcb138ba7d8c18870c216910611
diff --git a/src/js/EventHandler.js b/src/js/EventHandler.js index <HASH>..<HASH> 100644 --- a/src/js/EventHandler.js +++ b/src/js/EventHandler.js @@ -178,7 +178,7 @@ define([ var layoutInfo = dom.makeLayoutInfo(event.currentTarget || event.target); modules.editor.removeBogus(layoutInfo.editable()); ...
Fixed jshint warning.
summernote_summernote
train
js
fbdcd75326ac016fa59e17a40f09d98b46daae3a
diff --git a/bosh_cli/spec/unit/commands/job_management_spec.rb b/bosh_cli/spec/unit/commands/job_management_spec.rb index <HASH>..<HASH> 100644 --- a/bosh_cli/spec/unit/commands/job_management_spec.rb +++ b/bosh_cli/spec/unit/commands/job_management_spec.rb @@ -265,7 +265,7 @@ describe Bosh::Cli::Command::JobManagemen...
Fixes job management spec for Ruby <I>
cloudfoundry_bosh
train
rb
98b7b4a85758df8c76bcd3c20788f78623ffef3e
diff --git a/rails/init.rb b/rails/init.rb index <HASH>..<HASH> 100644 --- a/rails/init.rb +++ b/rails/init.rb @@ -1,2 +1,2 @@ -require File.dirname(__FILE__) + '/lib/acts_as_indexed' -require File.dirname(__FILE__) + '/lib/will_paginate_search' +'acts_as_indexed' +'will_paginate_search'
Proper load paths for Rails plugin.
dougal_acts_as_indexed
train
rb
ac658124afeba062b41cb07b81921f6ac1878d50
diff --git a/modules/currency.js b/modules/currency.js index <HASH>..<HASH> 100644 --- a/modules/currency.js +++ b/modules/currency.js @@ -185,6 +185,9 @@ export function addBidResponseHook(fn, adUnitCode, bid) { return (parseFloat(this.cpm) * getCurrencyConversion(this.currency, toCurrency)).toFixed(3); }; +...
always adding originalCpm and originalCurrency to bid object (#<I>)
prebid_Prebid.js
train
js
4b10f3953498ce8c77a073816f9e4f5c0a82721c
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php index <HASH>..<HASH> 100644 --- a/tests/PHPUnit/bootstrap.php +++ b/tests/PHPUnit/bootstrap.php @@ -52,6 +52,10 @@ foreach (glob(PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Fixtures/*.php') as $file) { require_once $file; } +foreach (glob(PIWIK_INC...
refs #<I> load fixtures from plugins when running UI tests
matomo-org_matomo
train
php
3a1bf9c32e24f79a7925702bff0ffa2b31a3170f
diff --git a/lib/wordwrapjs.js b/lib/wordwrapjs.js index <HASH>..<HASH> 100644 --- a/lib/wordwrapjs.js +++ b/lib/wordwrapjs.js @@ -23,9 +23,10 @@ function wrap(text, options){ var result = w.reduce(function(prev, curr){ total += curr.length + (prev ? 1 : 0); - if (total > options.width) {...
fix for words longer than options.width
75lb_wordwrapjs
train
js,js
967396748e8a336b46045648ef5737db4072cf97
diff --git a/lib/Downloader.js b/lib/Downloader.js index <HASH>..<HASH> 100644 --- a/lib/Downloader.js +++ b/lib/Downloader.js @@ -3,7 +3,7 @@ var http = require('http'), url = require("url"), fs = require("fs"), zlib = require('zlib'), - events = require( 'events'); + events = require('events'); ...
Fix #4 - Subtitle file is not complete
divhide_node-subtitler
train
js
8549e05755d2b6f7bb7446f3be4c36e243040fcf
diff --git a/src/Symfony/Bridge/PhpUnit/ErrorAssert.php b/src/Symfony/Bridge/PhpUnit/ErrorAssert.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bridge/PhpUnit/ErrorAssert.php +++ b/src/Symfony/Bridge/PhpUnit/ErrorAssert.php @@ -53,7 +53,7 @@ final class ErrorAssert $triggeredMessages[] = $message; ...
use call_user_func() for PHP <I> compatibility Not all callables can be called directly on PHP <I> (for example, `array('className', 'methodName')` does not work).
symfony_symfony
train
php
cc68c0891b37a4356d47b9a85fc81876d4c94741
diff --git a/lib/core.js b/lib/core.js index <HASH>..<HASH> 100644 --- a/lib/core.js +++ b/lib/core.js @@ -50,6 +50,8 @@ Raja.prototype.init = function(cb) { // internal function Raja.prototype.receive = function(msg) { + if (!msg.url) return; + if (!msg.parents) msg.parents = []; this.emit('message', msg); thi...
Separate concerns - msg changed by core not io
kapouer_raja
train
js,js
e1bf9052f201c517d4e4b08cd766dcea3fb99054
diff --git a/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js b/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js index <HASH>..<HASH> 100644 --- a/lib/active_scaffold/bridges/date_picker/public/javascripts/date_picker_bridge.js +++ b/lib/active_scaffold/br...
Bugfix: open datepicker if input element is focused
activescaffold_active_scaffold
train
js
a5f75155a5d215b11a617a350ec82bdac7b7817e
diff --git a/sunspot_rails/lib/sunspot/rails/request_lifecycle.rb b/sunspot_rails/lib/sunspot/rails/request_lifecycle.rb index <HASH>..<HASH> 100644 --- a/sunspot_rails/lib/sunspot/rails/request_lifecycle.rb +++ b/sunspot_rails/lib/sunspot/rails/request_lifecycle.rb @@ -8,8 +8,13 @@ module Sunspot #:nodoc: module ...
Gracefully rescue attempts to constantize anonymous controller classes The Rails #subclasses method returns string class names, which makes it impossible to restore anonymous subclasses. Just rescue the error and ignore them in this case, rather than completely erroring out. [#<I> state:resolved]
sunspot_sunspot
train
rb
2028adbd5ba4e67a73a12a9ef43ddb8759611411
diff --git a/lib/rollbar/configuration.rb b/lib/rollbar/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/rollbar/configuration.rb +++ b/lib/rollbar/configuration.rb @@ -63,6 +63,7 @@ module Rollbar if value require 'rollbar/delay/sidekiq' if defined?(Sidekiq) @use_async = true + ...
Set Configuration#use_sidekiq to `true` when used for consistency
rollbar_rollbar-gem
train
rb
2d38f8c584dce948622c75b5bc4a4d62039d167a
diff --git a/lib/handlers/file-proxy.js b/lib/handlers/file-proxy.js index <HASH>..<HASH> 100644 --- a/lib/handlers/file-proxy.js +++ b/lib/handlers/file-proxy.js @@ -1,4 +1,5 @@ var fs = require('fs'); +var path = require('path'); var extend = require('util')._extend; var util = require('../util'); var url = requi...
feat: Supports tpl rule.root
avwo_whistle
train
js
b662b1975bed527e7e4f376692abb8203ed89a30
diff --git a/Class/Auth/Auth.class.php b/Class/Auth/Auth.class.php index <HASH>..<HASH> 100644 --- a/Class/Auth/Auth.class.php +++ b/Class/Auth/Auth.class.php @@ -232,7 +232,7 @@ public function profile($provider) { public function getConnectedProfile($provider) { try { $adapter = $this->getAdapter($provider); - ...
Fix typo in session class (check function)
PhpGt_WebEngine
train
php,php
1e706aa691c8d8d27e6a268840ce5cf8da2cf633
diff --git a/test/soap.test.js b/test/soap.test.js index <HASH>..<HASH> 100644 --- a/test/soap.test.js +++ b/test/soap.test.js @@ -83,9 +83,17 @@ describe("soap", function() { }]; before(function(done) { + // Because ver >= 38.0 metadata API doesn't return picklist values in standard field, + // f...
fix to use api ver <I> when retrieving lead status from metadata API
jsforce_jsforce
train
js
52bd13a306a702c1c361368b6e3e82ac43138914
diff --git a/lib/graph_matching/graph/weighted.rb b/lib/graph_matching/graph/weighted.rb index <HASH>..<HASH> 100644 --- a/lib/graph_matching/graph/weighted.rb +++ b/lib/graph_matching/graph/weighted.rb @@ -68,7 +68,7 @@ module GraphMatching e.is_a?(Array) && e.length == 3 && e[0, 2...
Fix weighted graph not working with Numerics other than integers and floats
jaredbeck_graph_matching
train
rb
bedeac8a1c2d05ac6898b83080a0698d49532daa
diff --git a/lib/rbbt/util/misc/omics.rb b/lib/rbbt/util/misc/omics.rb index <HASH>..<HASH> 100644 --- a/lib/rbbt/util/misc/omics.rb +++ b/lib/rbbt/util/misc/omics.rb @@ -173,7 +173,7 @@ module Misc muts = muts.collect do |m| case - when ref.empty? + when (ref.empty? or ref == '-') "+" ...
Fix a corner case in reading VCF mutations
mikisvaz_rbbt-util
train
rb
29a99f2586d5a00b9ab6665ac9d8fffce858efff
diff --git a/lib/page.js b/lib/page.js index <HASH>..<HASH> 100644 --- a/lib/page.js +++ b/lib/page.js @@ -23,7 +23,7 @@ function test (opts) { return Promise.resolve() .then(() => { if (opts.scroll || opts.reporter === 'fps') { - return session.execute('function f () { win...
Only scroll up and down by 1px We use this scrolling test to test initial scrolling settlement, when the page is scrollable fast, so we don't scroll too much down to avoid new content to change (e.g.: other ads) and affect the initial metrics.
newsuk_timeliner
train
js
6ab77a23285f06b3ecae9a11b52b100427c7fdf6
diff --git a/src/HasType.php b/src/HasType.php index <HASH>..<HASH> 100644 --- a/src/HasType.php +++ b/src/HasType.php @@ -8,27 +8,7 @@ trait HasType { public function getNormalisedType() : string { - $param = $this->getType(); - if (is_object($param) && !($param instanceof Closure)) { - ...
this works better in php<I>+
monomelodies_reflex
train
php