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
e7a8821af552d8dd6738e5c710bcbe3cd7233170
diff --git a/app/assets/javascripts/pageflow/widgets/page_navigation_list.js b/app/assets/javascripts/pageflow/widgets/page_navigation_list.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/pageflow/widgets/page_navigation_list.js +++ b/app/assets/javascripts/pageflow/widgets/page_navigation_list.js @@ -25,10...
Improve page navigation list widget Highlight current chapter even if current page is not displayed in navigation bar.
codevise_pageflow
train
js
04f43987a26f73ce13fdd0ee1b06343336441c38
diff --git a/master/buildbot/scripts/logwatcher.py b/master/buildbot/scripts/logwatcher.py index <HASH>..<HASH> 100644 --- a/master/buildbot/scripts/logwatcher.py +++ b/master/buildbot/scripts/logwatcher.py @@ -132,8 +132,7 @@ class LogWatcher(LineOnlyReceiver): break if "message from master...
rename LogWatcher result "buildslave" to "worker" LogWatcher success result is not used actually.
buildbot_buildbot
train
py
989827ad7b3fc75e90ee9e309af95965126e2cdb
diff --git a/sos/sos_executor.py b/sos/sos_executor.py index <HASH>..<HASH> 100755 --- a/sos/sos_executor.py +++ b/sos/sos_executor.py @@ -157,7 +157,8 @@ class SoS_Worker(mp.Process): self.args = args self.reset_dict() # we are in a separate process and need to set verbosity from workflow co...
Fix tests caused by the verbosity change
vatlab_SoS
train
py
279d6208222298f9a39d9ca7afd39a9a4f33791d
diff --git a/ignite/contrib/handlers/tqdm_logger.py b/ignite/contrib/handlers/tqdm_logger.py index <HASH>..<HASH> 100644 --- a/ignite/contrib/handlers/tqdm_logger.py +++ b/ignite/contrib/handlers/tqdm_logger.py @@ -161,7 +161,7 @@ class ProgressBar(BaseLogger): def attach( # type: ignore[override] self, ...
fix: Corrects type hint for ProgressBar (#<I>)
pytorch_ignite
train
py
ad5d2f8bcdb35245b86dabc0c36c0e280f938afb
diff --git a/.eslintrc.js b/.eslintrc.js index <HASH>..<HASH> 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -7,8 +7,7 @@ var options = { browser: true, node: true, es6: true - }, - globals: { + }, globals: { "Promise": true, "ArrayBuffer": true, "ArrayBufferView": true, @@ -42,7 +41,1...
Disable eslint new-cap for Authorize/Discover
remotestorage_remotestorage.js
train
js
978c776677493e6ab25127077c82e89908799ce7
diff --git a/dougrain/document.py b/dougrain/document.py index <HASH>..<HASH> 100644 --- a/dougrain/document.py +++ b/dougrain/document.py @@ -310,7 +310,7 @@ class Document(object): href_filter = lambda x: x == href links = self.o['_links'] - links_for_rel = links[rel] + links_for...
Stop KeyError when deleting links for non-existent rel.
wharris_dougrain
train
py
039628356ffbb577e5f65fc270a5b0c4bc7cb3cc
diff --git a/doc/_ext/aafig.py b/doc/_ext/aafig.py index <HASH>..<HASH> 100644 --- a/doc/_ext/aafig.py +++ b/doc/_ext/aafig.py @@ -183,7 +183,7 @@ def render_aafigure(app, text, options): try: f = open(metadata_fname, 'r') extra = f.read() - ...
flake8: Fix bare except in try/catch
tmux-python_tmuxp
train
py
c969afcddc530e45d1f783365c237673006e199e
diff --git a/src/ol/format/TextFeature.js b/src/ol/format/TextFeature.js index <HASH>..<HASH> 100644 --- a/src/ol/format/TextFeature.js +++ b/src/ol/format/TextFeature.js @@ -1,7 +1,6 @@ /** * @module ol/format/TextFeature */ -import {inherits} from '../util.js'; import FeatureFormat from '../format/Feature.js'; ...
Use extends and super for format/TextFeature
openlayers_openlayers
train
js
e0027eeaf400be0f42f074af871b595493ece53a
diff --git a/pixmaps.py b/pixmaps.py index <HASH>..<HASH> 100644 --- a/pixmaps.py +++ b/pixmaps.py @@ -28,7 +28,7 @@ from PyQt4.Qt import * PYSIGNAL = SIGNAL; -from Timba.utils import verbosity +from utils import verbosity import sys
Some fixes to the startupWizard() -- paths weren't always handled correctly in the "create" case. Made the startupWizard() have a modeless option, used when starting from within scripts.
ska-sa_kittens
train
py
03dc2355afe8c13e816bade2801105df3c50d379
diff --git a/test/integration/requester-spec/timing.test.js b/test/integration/requester-spec/timing.test.js index <HASH>..<HASH> 100644 --- a/test/integration/requester-spec/timing.test.js +++ b/test/integration/requester-spec/timing.test.js @@ -26,7 +26,7 @@ describe('Requester Spec: timings', function () { ...
Minor grammer change in timing.test.js
postmanlabs_postman-runtime
train
js
af7e3d2211c7cba5597ab2214d1f75107655454d
diff --git a/salt/output/nested.py b/salt/output/nested.py index <HASH>..<HASH> 100644 --- a/salt/output/nested.py +++ b/salt/output/nested.py @@ -1,6 +1,8 @@ ''' Recursively display nested data, this is the default outputter. ''' +# Import python libs +from numbers import Number # Import salt libs import salt.u...
Improve nested outputter to check all number types
saltstack_salt
train
py
04aea8c60d9335f743ac78fe46c31d46d33f43c9
diff --git a/lib/event_source/expected_version.rb b/lib/event_source/expected_version.rb index <HASH>..<HASH> 100644 --- a/lib/event_source/expected_version.rb +++ b/lib/event_source/expected_version.rb @@ -3,6 +3,7 @@ module EventSource class Error < RuntimeError; end def self.canonize(expected_version) + ...
Expected version is incremented for each event in a batch
eventide-project_message-store
train
rb,rb
49fa22e83b27dbf497654aac76ac854e25a1ffc9
diff --git a/mmtf/__init__.py b/mmtf/__init__.py index <HASH>..<HASH> 100644 --- a/mmtf/__init__.py +++ b/mmtf/__init__.py @@ -64,8 +64,8 @@ class MMTFDecoder(): else: self.seq_res_group_list = [] # Get the number of chains per model - self.chains_per_model = int(input_data[b"chain...
Undo a bad cast to int
rcsb_mmtf-python
train
py
9514be0df0613f4c7c6dd8e0b25f62f026ace9d3
diff --git a/config.go b/config.go index <HASH>..<HASH> 100644 --- a/config.go +++ b/config.go @@ -175,7 +175,7 @@ func (c *config) discoverSingle(glob string, m *map[string]string) error { // One Windows, ignore any plugins that don't end in .exe. // We could do a full PATHEXT parse, but this is probably good ...
lowercase the extension of plugins just in case
hashicorp_packer
train
go
8880510d404ca0d9f47a80c4ec709aef8f837a60
diff --git a/admin/tool/dataprivacy/classes/api.php b/admin/tool/dataprivacy/classes/api.php index <HASH>..<HASH> 100644 --- a/admin/tool/dataprivacy/classes/api.php +++ b/admin/tool/dataprivacy/classes/api.php @@ -418,7 +418,7 @@ class api { $message->courseid = $SITE->id; $message->componen...
MDL-<I> tool_privacy: pass correct user to message_send
moodle_moodle
train
php
472a47fa329b6a84c953066b08e023e50219807f
diff --git a/src/components/body/body.js b/src/components/body/body.js index <HASH>..<HASH> 100644 --- a/src/components/body/body.js +++ b/src/components/body/body.js @@ -128,6 +128,10 @@ var Body = { update: function (prevData) { var data = this.data; + if (data.type !== prevData.type) { + console.wa...
add warning if changing the body type, since its technically not supported in CannonJS
donmccurdy_aframe-physics-system
train
js
25f4b1faf803b1e4239bc6d0f79c5f6d3fc4cb20
diff --git a/src/Foundation/Bootstrap/LoadConfiguration.php b/src/Foundation/Bootstrap/LoadConfiguration.php index <HASH>..<HASH> 100644 --- a/src/Foundation/Bootstrap/LoadConfiguration.php +++ b/src/Foundation/Bootstrap/LoadConfiguration.php @@ -37,7 +37,7 @@ class LoadConfiguration $this->loadConfiguration...
Fixes a bug introduced in #<I>
wordplate_framework
train
php
c69991f3a497e4d7175832a805b01948e4425411
diff --git a/lib/hub/context.rb b/lib/hub/context.rb index <HASH>..<HASH> 100644 --- a/lib/hub/context.rb +++ b/lib/hub/context.rb @@ -233,8 +233,9 @@ module Hub end def project - if urls.find { |u| u =~ %r{\bgithub\.com[:/](.+)/(.+).git$} } - GithubProject.new local_repo, $1, $2 + ...
GitHub remote urls don't have to necessarily end in ".git"
github_hub
train
rb,rb
c246b9e0dfce95fd7a8c3fc08f94a856e42e9fbb
diff --git a/src/ExportMap.js b/src/ExportMap.js index <HASH>..<HASH> 100644 --- a/src/ExportMap.js +++ b/src/ExportMap.js @@ -330,17 +330,19 @@ ExportMap.parse = function (path, content, context) { }) // attempt to collect module doc - ast.comments.some(c => { - if (c.type !== 'Block') return false - tr...
#<I> Fixes Cannot read property 'some' of undefined
benmosher_eslint-plugin-import
train
js
df46a251b672bef0ffb2dd41bcce2f38819e5361
diff --git a/lib/crash_log/logging.rb b/lib/crash_log/logging.rb index <HASH>..<HASH> 100644 --- a/lib/crash_log/logging.rb +++ b/lib/crash_log/logging.rb @@ -1,5 +1,3 @@ -require 'active_support/core_ext/module/delegation' -require 'active_support/core_ext/module/aliasing' require 'logger' module CrashLog @@ -16,7...
Removed active support dependencies in Logger
crashlog_crashlog
train
rb
03fcf87140d1f1e19738adb0220dfcb0139b0e29
diff --git a/controller/CompatibilityChecker.php b/controller/CompatibilityChecker.php index <HASH>..<HASH> 100644 --- a/controller/CompatibilityChecker.php +++ b/controller/CompatibilityChecker.php @@ -151,7 +151,7 @@ class CompatibilityChecker extends \tao_actions_CommonModule{ else{ $data['logi...
if empty ip adress mark it as unknown
oat-sa_extension-tao-clientdiag
train
php
65b3ca2c10eb2b3784217f55a2a3cbd867f8edf9
diff --git a/moment-timezone.js b/moment-timezone.js index <HASH>..<HASH> 100644 --- a/moment-timezone.js +++ b/moment-timezone.js @@ -150,7 +150,7 @@ // console.log('adding last zone', lastZone.until.format()); lastZoneRule = new RuleYear(year - 1, lastZone.lastRule()); lastZoneRule.start = lastZone.unt...
Only setting the lastZoneRule.isLast if its ruleset is different than the current ruleset (<I>/<I>)
moment_moment-timezone
train
js
697f16d62c6dc0c6a0619a850c5d1ce56a64f6c8
diff --git a/shutit_global.py b/shutit_global.py index <HASH>..<HASH> 100644 --- a/shutit_global.py +++ b/shutit_global.py @@ -466,7 +466,7 @@ class ShutIt(object): # - otherwise, default to doing the check if check_exit == None: # If we are in video mode, ignore exit value - if cfg['build']['video']: + i...
exit checking in video/walkthrough/training
ianmiell_shutit
train
py
983d487b59d3fc30c19fa9bd1ab472468c0958d1
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index <HASH>..<HASH> 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -298,6 +298,8 @@ public class Ecli...
Starting eclipse with an open file containing an enum with @Getter on it would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed.
rzwitserloot_lombok
train
java
9de15ab4f37e3cebc17bab43fa30c000cb109bfd
diff --git a/concrete/src/Cache/CacheServiceProvider.php b/concrete/src/Cache/CacheServiceProvider.php index <HASH>..<HASH> 100644 --- a/concrete/src/Cache/CacheServiceProvider.php +++ b/concrete/src/Cache/CacheServiceProvider.php @@ -9,11 +9,16 @@ class CacheServiceProvider extends ServiceProvider { public funct...
Be sure that caches are singletons
concrete5_concrete5
train
php
59692f556041c4aa1096e9516595d2d7b3d2acd0
diff --git a/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java b/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java +++ b/hazelcast/src/test/java/com/hazelcast/test/TestNodeRegistry.java @@ -2...
Null check node engine before creating MockConnection
hazelcast_hazelcast
train
java
5824463cd1d63c00a720295bf97566976679af5a
diff --git a/bin/cumulus.rb b/bin/cumulus.rb index <HASH>..<HASH> 100755 --- a/bin/cumulus.rb +++ b/bin/cumulus.rb @@ -539,7 +539,7 @@ end # read in the optional path to the configuration file to use options = { - :config => File.expand_path(File.join(File.dirname(__FILE__), "../conf")), + :config => Dir.pwd, ...
Use working directory as config directory by default
lucidsoftware_cumulus
train
rb
df75f6ecc43c79a0a50a1683b602e73f5047d477
diff --git a/test/test_project.py b/test/test_project.py index <HASH>..<HASH> 100644 --- a/test/test_project.py +++ b/test/test_project.py @@ -2,16 +2,7 @@ import os import unittest - class ProjectTests(unittest.TestCase): - # ./docker - def test_docker_dir(self): - self.assertTrue(os.path.isfile("./...
fix: drop the silly docker file tests
sendgrid_sendgrid-python
train
py
a8bf19f88e89bef571b7c1f952010bf405054987
diff --git a/kafka/conn.py b/kafka/conn.py index <HASH>..<HASH> 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -278,7 +278,7 @@ class BrokerConnection(object): def connect(self): """Attempt to connect and return ConnectionState""" - if self.state is ConnectionStates.DISCONNECTED: + if s...
Honor reconnect_backoff in conn.connect() (#<I>) * Honor reconnect_backoff in conn.connect()
dpkp_kafka-python
train
py,py
fe49010f7de06949d293432e68f3389020fc3d1c
diff --git a/nsq/connection.py b/nsq/connection.py index <HASH>..<HASH> 100644 --- a/nsq/connection.py +++ b/nsq/connection.py @@ -26,6 +26,11 @@ class Connection(object): # Establish our connection self.connect() + def __str__(self): + state = 'alive' if self.alive() else 'dead' + ...
Nicer string representation of a connection
dlecocq_nsq-py
train
py
31be1dbdb0cdca3774e5bd7a2d16665676443f4b
diff --git a/txaws/testing/ec2.py b/txaws/testing/ec2.py index <HASH>..<HASH> 100644 --- a/txaws/testing/ec2.py +++ b/txaws/testing/ec2.py @@ -13,12 +13,13 @@ from txaws.ec2.model import Keypair, SecurityGroup class FakeEC2Client(object): - def __init__(self, creds, endpoint, instances=None, keypairs=None, - ...
Add query_factory to FakeEC2Client since it is in the real EC2Client.
twisted_txaws
train
py
03aeda6a010bf37e4cd0140521c14296500872bb
diff --git a/src/internal_coordinates.py b/src/internal_coordinates.py index <HASH>..<HASH> 100644 --- a/src/internal_coordinates.py +++ b/src/internal_coordinates.py @@ -522,7 +522,10 @@ class Collection(object): def yield_related_internal_coordinates(self, tag1, tag2, order_related=2): for ic1 in self[t...
Safer code for taking related coordinates.
molmod_molmod
train
py
932192d755eb8ce543520084a2f72a451cdfae7a
diff --git a/tests/php/ProtectedFileControllerTest.php b/tests/php/ProtectedFileControllerTest.php index <HASH>..<HASH> 100644 --- a/tests/php/ProtectedFileControllerTest.php +++ b/tests/php/ProtectedFileControllerTest.php @@ -186,8 +186,8 @@ class ProtectedFileControllerTest extends FunctionalTest public functi...
Revert filename for fixtured text file in testAccessWithCanViewAccess()
silverstripe_silverstripe-assets
train
php
3ea74047e3cc6865bd6e6a853561b0160444c2ed
diff --git a/spec/balance_spec.rb b/spec/balance_spec.rb index <HASH>..<HASH> 100644 --- a/spec/balance_spec.rb +++ b/spec/balance_spec.rb @@ -40,9 +40,9 @@ describe Monzo::Balance do account_id = "acc_123" - @stub = stub_request(:get, "https://api.monzo.com/balance?account_id=#{account_id}"). - ...
Tidy up balance spec.
murraysum_monzo
train
rb
50b0d1afd9b90620ab64bdf06a26ce0120c67f50
diff --git a/src/InstallerServiceProvider.php b/src/InstallerServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/InstallerServiceProvider.php +++ b/src/InstallerServiceProvider.php @@ -33,6 +33,8 @@ class InstallerServiceProvider extends ServiceProvider $this->addViewComponent('orchestra/installer', 'o...
Should be able to cache routes. Closes #2
orchestral_installer
train
php
d80e998a12ffcae19de224b6bf522b2bc01ae14e
diff --git a/openprovider/models.py b/openprovider/models.py index <HASH>..<HASH> 100644 --- a/openprovider/models.py +++ b/openprovider/models.py @@ -216,6 +216,7 @@ class Customer(Model): email """ + name = submodel(Name, "name") address = submodel(Address, "address") phone = submodel(Phone, ...
Map Customer.name to the Name model
AntagonistHQ_openprovider.py
train
py
7f5cd5e41525e9fe85a572165adf0b6dd916762f
diff --git a/lib/ServerlessComponent.js b/lib/ServerlessComponent.js index <HASH>..<HASH> 100644 --- a/lib/ServerlessComponent.js +++ b/lib/ServerlessComponent.js @@ -29,7 +29,7 @@ class ServerlessComponent { // Default Properties _this.name = _this._config.component || 'component' + SUtils.genera...
Use a passed-in runtime, but default to nodejs
serverless_serverless
train
js
de457c7ff84f7f45193844df024a692487390968
diff --git a/scot/connectivity.py b/scot/connectivity.py index <HASH>..<HASH> 100644 --- a/scot/connectivity.py +++ b/scot/connectivity.py @@ -270,7 +270,7 @@ class Connectivity(object): def sPDC(self): """Squared partial directed coherence. - .. math:: \mathrm{sPDC}{ij}(f) = \frac{\left| A{ij}(f...
Fixed sPDC equation docstring
scot-dev_scot
train
py
7bc9048d43c71b4e2e6cb5d1b4434c994b9cfe47
diff --git a/src/store.overflow.js b/src/store.overflow.js index <HASH>..<HASH> 100644 --- a/src/store.overflow.js +++ b/src/store.overflow.js @@ -9,7 +9,7 @@ * * Status: EXPERIMENTAL - not likely to serve any useful purpose */ -;(function(_) { +;(function(store, _) { var set = _.set, get = _.get, remove = _...
make overflow pass lint
nbubna_store
train
js
e0bddf56174a7b7210c6097eea830b436ebdbd1d
diff --git a/lib/plain_old_model/version.rb b/lib/plain_old_model/version.rb index <HASH>..<HASH> 100644 --- a/lib/plain_old_model/version.rb +++ b/lib/plain_old_model/version.rb @@ -1,3 +1,3 @@ module PlainOldModel - VERSION = "0.1.6" + VERSION = "0.1.7" end
bumped version to <I>
gettyimages_plain_old_model
train
rb
6bd2ef294ef21a944facc6bfe5d215140311fae6
diff --git a/Classes/IndexQueue/Queue.php b/Classes/IndexQueue/Queue.php index <HASH>..<HASH> 100644 --- a/Classes/IndexQueue/Queue.php +++ b/Classes/IndexQueue/Queue.php @@ -378,7 +378,7 @@ class Tx_Solr_IndexQueue_Queue { # temporary until we have a query builder to take care of this $additionalRecordFields = ...
[FIX] IndexQueue doesn’t get filled if new page with allowed doktype is created via backend check for allowed page types is missing uid of new created record Resolves: #<I> Releases: <I> Change-Id: I<I>a<I>b<I>ce<I>ced<I>a<I>a0ce4c<I>b1ddce Reviewed-on: <URL>
TYPO3-Solr_ext-solr
train
php
10fe45e2bbab2273f822de953bcbd69e597fdaa4
diff --git a/jws/jwt.go b/jws/jwt.go index <HASH>..<HASH> 100644 --- a/jws/jwt.go +++ b/jws/jwt.go @@ -10,6 +10,7 @@ import ( // NewJWT creates a new JWT with the given claims. func NewJWT(claims Claims, method crypto.SigningMethod) jwt.JWT { j := New(claims, method).(*jws) + j.sb[0].protected.Set("typ", "JWT") j...
jws: jwt.go - added "typ":"JWT" to protected header.
SermoDigital_jose
train
go
6327ed00415be30bba083c13c8a993ff8dc3ff03
diff --git a/nats.go b/nats.go index <HASH>..<HASH> 100644 --- a/nats.go +++ b/nats.go @@ -265,7 +265,7 @@ type Conn struct { urls map[string]struct{} // Keep track of all known URLs (used by processInfo) bw *bufio.Writer pending *bytes.Buffer - fch chan bool + fch chan struct{} info serverIn...
Use empty struct for signaling flusher
nats-io_go-nats
train
go
3a0df6741c00882518baa45966cec98a86bd909e
diff --git a/libkbfs/kbfs_cr_test.go b/libkbfs/kbfs_cr_test.go index <HASH>..<HASH> 100644 --- a/libkbfs/kbfs_cr_test.go +++ b/libkbfs/kbfs_cr_test.go @@ -331,12 +331,12 @@ func TestUnmergedAfterRestart(t *testing.T) { select { case <-c: default: - t.Fatalf("No update!") + t.Fatal("No update!") } select { ...
kbfs_cr_test: fix Fatal call, suggested by @akalin-keybase Issue: #<I>
keybase_client
train
go
8cef1df7fbe905911fe8da05fc2f9b096f5099b0
diff --git a/lib/webhookr/engine.rb b/lib/webhookr/engine.rb index <HASH>..<HASH> 100644 --- a/lib/webhookr/engine.rb +++ b/lib/webhookr/engine.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/kernel/singleton_class' + module Webhookr class Engine < ::Rails::Engine isolate_namespace Webhookr
Added include for compat with Ruby <I>
dark-panda_webhookr
train
rb
52174990a7bf581054b3691d4953f26f2da9dac9
diff --git a/pedant/decorators.py b/pedant/decorators.py index <HASH>..<HASH> 100644 --- a/pedant/decorators.py +++ b/pedant/decorators.py @@ -37,6 +37,14 @@ def patch_string_if_invalid(new): ) +def get_string_if_invalid(): + if django.VERSION < (1, 8): + return settings.TEMPLATE_STRING_IF_INVALI...
Get value of invalid template string in version agnostic way.
counsyl_django-pedant
train
py
f95af0e01a7576362e088790a8296f227e3b7d46
diff --git a/src/main/java/org/dasein/cloud/aws/AWSCloud.java b/src/main/java/org/dasein/cloud/aws/AWSCloud.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/aws/AWSCloud.java +++ b/src/main/java/org/dasein/cloud/aws/AWSCloud.java @@ -867,7 +867,7 @@ public class AWSCloud extends AbstractCloud { ...
Removed String toLower during signing process
dasein-cloud_dasein-cloud-aws
train
java
4a722347c4c35d7df2acba8e10842b5432133699
diff --git a/js/btcchina.js b/js/btcchina.js index <HASH>..<HASH> 100644 --- a/js/btcchina.js +++ b/js/btcchina.js @@ -153,6 +153,7 @@ module.exports = class btcchina extends Exchange { parseTicker (ticker, market) { let timestamp = ticker['date'] * 1000; + let last = parseFloat (ticker['last']);...
restored btcchina close = last, added previousClose #<I>
ccxt_ccxt
train
js
dc571192062c6e3792189f18b5ed03723118216d
diff --git a/pkg/engine/events.go b/pkg/engine/events.go index <HASH>..<HASH> 100644 --- a/pkg/engine/events.go +++ b/pkg/engine/events.go @@ -114,16 +114,23 @@ func makeEventEmitter(events chan<- Event, update Update) eventEmitter { if !v.Secure() { continue } + secret, err := v.Value(target.Decrypter) ...
Only replace secret text if it is longer than 2 characters This is inline with what Travis does. Otherwise, for very short secrets our regex based approach will throw `[secret]` all over the place.
pulumi_pulumi
train
go
83dfc1e8231ded2ce0065080b066e7edfbe1a7c1
diff --git a/reference.go b/reference.go index <HASH>..<HASH> 100644 --- a/reference.go +++ b/reference.go @@ -46,6 +46,16 @@ func New(jsonReferenceString string) (Ref, error) { } +// MustCreateRef parses the ref string and panics when it's invalid. +// Use the New method for a version that returns an error +func ...
refactor to use jsonreference.Ref
go-openapi_jsonreference
train
go
61792008b3cb2cd6dac82e7c5382a2b2912fb7f8
diff --git a/core/src/test/java/com/orientechnologies/orient/core/record/impl/DefaultValueSerializationTest.java b/core/src/test/java/com/orientechnologies/orient/core/record/impl/DefaultValueSerializationTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/com/orientechnologies/orient/core/record/impl/Defaul...
attempt to fix assert with java8
orientechnologies_orientdb
train
java
c05c7d437c8a651f94f717da4ade4834d645779c
diff --git a/buildozer/__init__.py b/buildozer/__init__.py index <HASH>..<HASH> 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -6,7 +6,7 @@ Generic Python packager for Android / iOS. Desktop later. ''' -__version__ = '0.36' +__version__ = '0.37.dev0' import os import re
Bump to <I>.dev0
kivy_buildozer
train
py
60a463da310966bc981d0ee4d47ba35f278c40ba
diff --git a/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java b/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java index <HASH>..<HASH> 100644 --- a/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.java +++ b/check_api/src/main/java/com/google/errorprone/util/ASTHelpers.ja...
Remove comment from self-explanatory private constructor PiperOrigin-RevId: <I>
google_error-prone
train
java
4134d44530b287186b55d31ae33036de3ce81a81
diff --git a/vcspull/repo/base.py b/vcspull/repo/base.py index <HASH>..<HASH> 100644 --- a/vcspull/repo/base.py +++ b/vcspull/repo/base.py @@ -167,7 +167,7 @@ class BaseRepo(collections.MutableMapping, RepoLoggingAdapter): mkdir_p(self['parent_dir']) else: if not os.path.exists(self['...
set check_destination log to debug
vcs-python_vcspull
train
py
b8fc5d235b37233a096990710377b5426cb03195
diff --git a/examples/solvers/functional_basic_example_solver.py b/examples/solvers/functional_basic_example_solver.py index <HASH>..<HASH> 100644 --- a/examples/solvers/functional_basic_example_solver.py +++ b/examples/solvers/functional_basic_example_solver.py @@ -40,7 +40,7 @@ n = 10 space = odl.rn(n) # Create p...
BUG: fix minor bug in functional_basic_example_solvers
odlgroup_odl
train
py
9f40f23126a087255a9688a866c61e1a4cfb648c
diff --git a/lib/rib/runner.rb b/lib/rib/runner.rb index <HASH>..<HASH> 100644 --- a/lib/rib/runner.rb +++ b/lib/rib/runner.rb @@ -4,7 +4,8 @@ require 'rib' module Rib::Runner module_function def options - [['-e, --eval LINE' , + [['ruby options:', ''] ...
runner.rb: adding separation lines (ruby options and rib options)
godfat_rib
train
rb
688d4154b38e2c051b1b7c433f01624442d936a4
diff --git a/packages/blueprint-sequelize/app/services/sequelize.js b/packages/blueprint-sequelize/app/services/sequelize.js index <HASH>..<HASH> 100644 --- a/packages/blueprint-sequelize/app/services/sequelize.js +++ b/packages/blueprint-sequelize/app/services/sequelize.js @@ -190,7 +190,8 @@ module.exports = Service....
fix: always cleared the database, even when false
onehilltech_blueprint
train
js
f58f1cc2c0a07459ea9524407dfdc8b2eec9369a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,19 @@ +import os from distutils.core import setup from setuptools import find_packages -version = '1.1.7' +version = '1.1.8' long_description = """ With this package you can convert dicom images to nifti files. ...
MSMET-<I>: Include testdata in installation
icometrix_dicom2nifti
train
py
7161cf22ef2b194cfd4406e85b81e39a49104d9d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def readfile(filename): setup( name='Metatools', - version='0.1', + version='0.1.1', author='Kevin L. Mitchell', author_email='klmitch@mit.edu', url='http://github.com/klmitch/metato...
Bump the metatools version number.
klmitch_metatools
train
py
58ddb68e3de6a1692c637c25aebfef134391f1f6
diff --git a/packages/mobx-little-router/src/scheduling/Scheduler.js b/packages/mobx-little-router/src/scheduling/Scheduler.js index <HASH>..<HASH> 100644 --- a/packages/mobx-little-router/src/scheduling/Scheduler.js +++ b/packages/mobx-little-router/src/scheduling/Scheduler.js @@ -68,7 +68,7 @@ export default class Sc...
uses done flag in Scheduler for determining whether to cancel current navigation or not
mobx-little-router_mobx-little-router
train
js
d52deed3e9bec8fa32528fe6fc1c58ee517dbf41
diff --git a/lib/rosemary/api.rb b/lib/rosemary/api.rb index <HASH>..<HASH> 100644 --- a/lib/rosemary/api.rb +++ b/lib/rosemary/api.rb @@ -242,7 +242,7 @@ module Rosemary content_type = Parser.format_from_mimetype(result.content_type) parsed_response = Parser.call(result.body...
Wrap parsed object into block to work with latest httparty.
sozialhelden_rosemary
train
rb
e8fe0d10806c89e4526b367ee9f616517bb5a06b
diff --git a/src/utils/fs.js b/src/utils/fs.js index <HASH>..<HASH> 100644 --- a/src/utils/fs.js +++ b/src/utils/fs.js @@ -1,10 +1,22 @@ import Promise from 'es6-promise/lib/es6-promise/promise'; import * as fs from 'fs'; -import { resolve } from './path'; +import { dirname } from './path'; + +function mkdirpath ( pa...
make intermediate dirs in writeFile helper
rollup_rollup
train
js
2a22790506ed73c05050b1ebc8a42cdee1557404
diff --git a/lib/Thelia/Controller/BaseController.php b/lib/Thelia/Controller/BaseController.php index <HASH>..<HASH> 100644 --- a/lib/Thelia/Controller/BaseController.php +++ b/lib/Thelia/Controller/BaseController.php @@ -320,13 +320,13 @@ abstract class BaseController extends ContainerAware $e->g...
Moved the throw to the right place.
thelia_core
train
php
2007e003d579d2b7e9c76d924a70c0c2751ee7c2
diff --git a/src/components/_examples/bubble-chart/bubble-chart.js b/src/components/_examples/bubble-chart/bubble-chart.js index <HASH>..<HASH> 100644 --- a/src/components/_examples/bubble-chart/bubble-chart.js +++ b/src/components/_examples/bubble-chart/bubble-chart.js @@ -115,6 +115,14 @@ define([ ...
Help to find wrong dispatching of events
vizabi_vizabi
train
js,js
6915ae9f604b5b752e3f82ef0c288b89c19fea81
diff --git a/xdot.py b/xdot.py index <HASH>..<HASH> 100755 --- a/xdot.py +++ b/xdot.py @@ -1615,9 +1615,8 @@ class DotWidget(gtk.DrawingArea): width = abs(x1 - x2) height = abs(y1 - y2) if width == 0 and height == 0: - self.zoom_ratio /= 2 + self.zoom_ratio *= self.ZOOM_...
Zoom instead. Seems more consistent with Shift-drag.
jrfonseca_xdot.py
train
py
398ec3d7043416ea4089b0132b933a2d680b4abd
diff --git a/tests/Pagination/PaginatorAdapterTest.php b/tests/Pagination/PaginatorAdapterTest.php index <HASH>..<HASH> 100644 --- a/tests/Pagination/PaginatorAdapterTest.php +++ b/tests/Pagination/PaginatorAdapterTest.php @@ -81,6 +81,13 @@ class PaginatorAdapterTest extends PHPUnit_Framework_TestCase $metada...
table was null, causing a test failiure on PHP <I>
laravel-doctrine_orm
train
php
8ac70a6cadf91c18bb0b6a313461757f725884a0
diff --git a/web/concrete/src/Application/Application.php b/web/concrete/src/Application/Application.php index <HASH>..<HASH> 100644 --- a/web/concrete/src/Application/Application.php +++ b/web/concrete/src/Application/Application.php @@ -411,6 +411,7 @@ class Application extends Container $url = Url::createFr...
Make running c5 on a non-standard port work Former-commit-id: <I>eb<I>fc0ec<I>ae<I>f1c0b<I>cce<I>dc<I>
concrete5_concrete5
train
php
07bb8a0476a60c5ee546aea82280be71aee8d36f
diff --git a/library/Soliant/SimpleFM/Adapter.php b/library/Soliant/SimpleFM/Adapter.php index <HASH>..<HASH> 100644 --- a/library/Soliant/SimpleFM/Adapter.php +++ b/library/Soliant/SimpleFM/Adapter.php @@ -306,7 +306,7 @@ class Adapter return (boolean) $this->sslverifypeer; } - /** + /** * @pa...
Allow for datetime objects when persisting
soliantconsulting_SimpleFM
train
php
cfc45c2a06ff96d851524d179ea3557203196977
diff --git a/orderer/common/cluster/comm_test.go b/orderer/common/cluster/comm_test.go index <HASH>..<HASH> 100644 --- a/orderer/common/cluster/comm_test.go +++ b/orderer/common/cluster/comm_test.go @@ -1220,8 +1220,8 @@ func TestMetrics(t *testing.T) { assert.NoError(t, err) stream := assertEventualEstabli...
FAB-<I> Fix TestMetrics flake Ensure that too many messages are actually sent. FAB-<I> #done Change-Id: If<I>de<I>d<I>c1a6afe<I>d<I>eeccc<I>f<I>d3f2
hyperledger_fabric
train
go
bca74886b6775f5ed7cb7821973f460813a7b67c
diff --git a/gherkin/ruby/lib/gherkin/errors.rb b/gherkin/ruby/lib/gherkin/errors.rb index <HASH>..<HASH> 100644 --- a/gherkin/ruby/lib/gherkin/errors.rb +++ b/gherkin/ruby/lib/gherkin/errors.rb @@ -1,6 +1,6 @@ module Gherkin class ParserError < StandardError; end - class AstNodeNotLocatedException < Exception; en...
AstNodeNotLocatedException now inherits from StandardError
cucumber_cucumber
train
rb
7b6ad99744b980dc5bf8ca8ef9873b74b92a2b79
diff --git a/src/edeposit/amqp/aleph/export.py b/src/edeposit/amqp/aleph/export.py index <HASH>..<HASH> 100755 --- a/src/edeposit/amqp/aleph/export.py +++ b/src/edeposit/amqp/aleph/export.py @@ -30,8 +30,9 @@ import isbn_validator from httpkie import Downloader import settings +from datastructures import Author fr...
export.py: Imports splitted to own lines.
edeposit_edeposit.amqp.aleph
train
py
227441b1fca53bbbc1cff982038d90b150effb27
diff --git a/fmn/rules/bodhi.py b/fmn/rules/bodhi.py index <HASH>..<HASH> 100644 --- a/fmn/rules/bodhi.py +++ b/fmn/rules/bodhi.py @@ -78,7 +78,7 @@ def bodhi_update_request_unpush(config, message): def bodhi_update_epel_sync(config, message): - """ Bodhi: a user requested an update be unpushed + """ Bodhi: ...
fix topic description in bodhi
fedora-infra_fmn.rules
train
py
fbc87a5b87d481bdc3671537e19d5da542179551
diff --git a/tests/test_tokenize.py b/tests/test_tokenize.py index <HASH>..<HASH> 100644 --- a/tests/test_tokenize.py +++ b/tests/test_tokenize.py @@ -196,24 +196,26 @@ class TestTokenizePackage(unittest.TestCase): self.assertIsNotNone(word_tokenize(long_text, engine="newmm")) self.assertIsNotNone(wor...
Update test_tokenize.py
PyThaiNLP_pythainlp
train
py
c8d46a969182bdfbb3358f9e7e05d0d0627c977a
diff --git a/Listener/ForumListener.php b/Listener/ForumListener.php index <HASH>..<HASH> 100644 --- a/Listener/ForumListener.php +++ b/Listener/ForumListener.php @@ -142,12 +142,14 @@ class ForumListener extends ContainerAware $em = $this->container->get('doctrine.orm.entity_manager'); $notificationR...
fixed bug delete if notifications are empty
claroline_ForumBundle
train
php
2817499ec1a4c10ad16bf99c5c01a18c5dfa453e
diff --git a/client_test.go b/client_test.go index <HASH>..<HASH> 100644 --- a/client_test.go +++ b/client_test.go @@ -658,7 +658,7 @@ func TestCanDepartChannel(t *testing.T) { config := &tls.Config{ Certificates: []tls.Certificate{cer}, } - ln, err := tls.Listen("tcp", ":4328", config) + ln, err := tls.Lis...
Changed port to a none-existing one
gempir_go-twitch-irc
train
go
779fad4906ba8c1c4ab25814b9c9767d5225c8f2
diff --git a/plugins/TestRunner/Commands/TestsRunUI.php b/plugins/TestRunner/Commands/TestsRunUI.php index <HASH>..<HASH> 100644 --- a/plugins/TestRunner/Commands/TestsRunUI.php +++ b/plugins/TestRunner/Commands/TestsRunUI.php @@ -108,6 +108,7 @@ class TestsRunUI extends ConsoleCommand // If the file wasn't ge...
More travis debugging.
matomo-org_matomo
train
php
67dc1ab6be5095e07bd1ee24487763c342587a2a
diff --git a/lib/sup/maildir.rb b/lib/sup/maildir.rb index <HASH>..<HASH> 100644 --- a/lib/sup/maildir.rb +++ b/lib/sup/maildir.rb @@ -94,7 +94,7 @@ class Maildir < Source next if prev_mtime >= mtime @mtimes[d] = mtime - old_ids = benchmark(:index) { Enumerator.new(Index, :each_source_info, self.id...
workaround bad interaction between Singleton and Enumerator
sup-heliotrope_sup
train
rb
8ef3dccce691acbae1c2a6377c510afcd388f24d
diff --git a/graylog2-server/src/test/java/org/graylog/testing/graylognode/MavenPackager.java b/graylog2-server/src/test/java/org/graylog/testing/graylognode/MavenPackager.java index <HASH>..<HASH> 100644 --- a/graylog2-server/src/test/java/org/graylog/testing/graylognode/MavenPackager.java +++ b/graylog2-server/src/te...
print version etc. during internal build (#<I>)
Graylog2_graylog2-server
train
java
6f832716ce62ca0c6c956769ab5ca738dbef9689
diff --git a/scriptabit/plugins/trello/trello.py b/scriptabit/plugins/trello/trello.py index <HASH>..<HASH> 100644 --- a/scriptabit/plugins/trello/trello.py +++ b/scriptabit/plugins/trello/trello.py @@ -9,9 +9,12 @@ from __future__ import ( print_function, unicode_literals) from builtins import * + import l...
fixing string encoding issue on python 2
DC23_scriptabit
train
py
37579c015f1438ca32a32c31d0411e1105136f6a
diff --git a/core/common/validation/fullflow_test.go b/core/common/validation/fullflow_test.go index <HASH>..<HASH> 100644 --- a/core/common/validation/fullflow_test.go +++ b/core/common/validation/fullflow_test.go @@ -201,7 +201,7 @@ func TestTXWithTwoActionsRejected(t *testing.T) { simRes := []byte("simulation_resu...
[FAB-<I>] Fix break in master The signature of CreateProposalResponse was changed but not all of the places from which it was called were updated. Change-Id: Iac<I>c<I>d<I>fd<I>e<I>c0a1d<I>ff
hyperledger_fabric
train
go
e46d6f33bbfd8ca4c093ec7ba17aa25237b5e073
diff --git a/src/scs_core/estate/mqtt_control_auth.py b/src/scs_core/estate/mqtt_control_auth.py index <HASH>..<HASH> 100644 --- a/src/scs_core/estate/mqtt_control_auth.py +++ b/src/scs_core/estate/mqtt_control_auth.py @@ -23,8 +23,8 @@ class MQTTControlAuthSet(PersistentJSONable): __FILENAME = "mqtt_control_au...
Added mqtt_control_auth.py top-level script.
south-coast-science_scs_core
train
py
64fd0ccb0036237b2eec32a38163607eedce4936
diff --git a/docs/src/examples.js b/docs/src/examples.js index <HASH>..<HASH> 100644 --- a/docs/src/examples.js +++ b/docs/src/examples.js @@ -21,7 +21,7 @@ routesConfig.push({ component: DemoList }); const router = new VueRouter({ - mode: 'history', + mode: 'hash', base: '/zanui/vue/examples', routes: rou...
feat: change doc router mode to hash (#<I>)
youzan_vant
train
js,js
04e263c548c9d306c1743b72c3258cf3ee5871a6
diff --git a/classes/Boom/Asset/Factory.php b/classes/Boom/Asset/Factory.php index <HASH>..<HASH> 100644 --- a/classes/Boom/Asset/Factory.php +++ b/classes/Boom/Asset/Factory.php @@ -6,6 +6,11 @@ use \Model_Asset; class Factory { + public static function byId($assetId) + { + return static::fromModel(ne...
Added method Asset\Factory::byId()
boomcms_boom-core
train
php
86bf8bf2c3ecb65d278ff657db89e04a80a1b882
diff --git a/lib/util/http-mgr.js b/lib/util/http-mgr.js index <HASH>..<HASH> 100644 --- a/lib/util/http-mgr.js +++ b/lib/util/http-mgr.js @@ -136,7 +136,7 @@ function updateBody(url, callback, init) { } if (!err) { var code = res.statusCode; - if (code >= 400 && code < 500) { + if (code === ...
refactor: handle the statusCode of remote rules response
avwo_whistle
train
js
f3073c7816ce6d3ddae8a2db409ee88c262579fe
diff --git a/django_choice_object/choice.py b/django_choice_object/choice.py index <HASH>..<HASH> 100644 --- a/django_choice_object/choice.py +++ b/django_choice_object/choice.py @@ -13,7 +13,7 @@ class ChoiceMetaclass(type): if isinstance(value, tuple) and len(value) > 1: value, d...
Split at '_' instead of ' ' While it is possible to add attributes with spaces, it is completely out of scope of the intended use case.
orf_django-choice-object
train
py
e8a373dad5a8ea3a99e5c5831f3a0d9c5b5303b4
diff --git a/lib/dynamic-cache.js b/lib/dynamic-cache.js index <HASH>..<HASH> 100644 --- a/lib/dynamic-cache.js +++ b/lib/dynamic-cache.js @@ -3,6 +3,10 @@ var fs = require('fs'); function objectValues(obj) { + if (typeof obj !== 'object') { + return []; + } + return Object.keys(obj).map(function (key) { r...
implementing fix from #<I>
ForbesLindesay_browserify-middleware
train
js
1ce7a5b459c47d6c960850a8a97eacc53a851452
diff --git a/lib/rb/spec/server_spec.rb b/lib/rb/spec/server_spec.rb index <HASH>..<HASH> 100644 --- a/lib/rb/spec/server_spec.rb +++ b/lib/rb/spec/server_spec.rb @@ -97,6 +97,7 @@ describe 'Server' do @prot = mock("BaseProtocol") @client = mock("Client") @server = described_class.new(@processor, @...
THRIFT-<I>: fix random CI build failures in lib/rb test 'Thrift::ThreadPoolServer should serve inside a thread' Client: rb This closes #<I>
limingxinleo_thrift
train
rb
caf1d74c0309fb4b9cddaa0432f4803513f5647d
diff --git a/lib/spidr/rules.rb b/lib/spidr/rules.rb index <HASH>..<HASH> 100644 --- a/lib/spidr/rules.rb +++ b/lib/spidr/rules.rb @@ -20,8 +20,11 @@ module Spidr # The patterns to reject data with. # def initialize(options={}) - @accept = (options[:accept] || []) - @reject = (options[:reject...
Spidr::Rules: Default @accept and @reject to and Arrays, and merge in the values.
postmodern_spidr
train
rb
5789324d5c7e6b2fad4cae25aae3b34944eae3aa
diff --git a/lib/MyHomeKitTypes.js b/lib/MyHomeKitTypes.js index <HASH>..<HASH> 100644 --- a/lib/MyHomeKitTypes.js +++ b/lib/MyHomeKitTypes.js @@ -63,7 +63,7 @@ class MyHomeKitTypes extends homebridgeLib.CustomHomeKitTypes { * <br>Used by: homebridge-rpi. * @property {Class} CpuUnderVoltage - CPU under vo...
Update MyHomeKitTypes.js Change _CPU Voltage_ to integer mV (from float in V).
ebaauw_homebridge-lib
train
js
4bcc08eaa901cab20ad82fcce5f3b97e4c626eb9
diff --git a/lib/core/riaknode.js b/lib/core/riaknode.js index <HASH>..<HASH> 100644 --- a/lib/core/riaknode.js +++ b/lib/core/riaknode.js @@ -189,6 +189,7 @@ function RiakNode(options) { } if ((now - conn.lastUsed) >= idleTimeout) { + /* jshint validthis:true */ ...
Make jshint happy, fix this/self bug
basho_riak-nodejs-client
train
js
e0470c500386c9b1ff57135921bae55ad7cb6c74
diff --git a/lib/tty/file.rb b/lib/tty/file.rb index <HASH>..<HASH> 100644 --- a/lib/tty/file.rb +++ b/lib/tty/file.rb @@ -434,8 +434,7 @@ module TTY # the URI address # @param [String, Pathname] dest # the relative path to save - # @param [Hash[Symbol]] options - # @param options [Symbol] :lim...
Change to forward and use only the limit keyword
piotrmurach_tty-file
train
rb,rb
28ecce1163115a41a880dfb84c5ddceff523dae9
diff --git a/doublestar.go b/doublestar.go index <HASH>..<HASH> 100644 --- a/doublestar.go +++ b/doublestar.go @@ -436,7 +436,10 @@ func doGlob(vos OS, basedir, pattern string, matches []string) (m []string, e er } defer dir.Close() - files, _ := dir.Readdir(-1) + files, err := dir.Readdir(-1) + if err != nil { +...
don't ignore errors from Readdir
bmatcuk_doublestar
train
go
5ea1012443c194b62a10b05a80d7d897f35f77e8
diff --git a/apps/nsq_to_file/file_logger.go b/apps/nsq_to_file/file_logger.go index <HASH>..<HASH> 100644 --- a/apps/nsq_to_file/file_logger.go +++ b/apps/nsq_to_file/file_logger.go @@ -212,16 +212,13 @@ func (f *FileLogger) Write(p []byte) (int, error) { } func (f *FileLogger) Sync() error { - var err error if ...
nsq_to_file: don't open multiple GZIP streams This changes the structure of output files to be continuous GZIP streams rather than concatenated GZIP streams. This is likely slightly more compatible and expected.
nsqio_nsq
train
go
ccefd492169640631e4d914b1774158c1b3db8a3
diff --git a/src/Functions/Polynomial.php b/src/Functions/Polynomial.php index <HASH>..<HASH> 100644 --- a/src/Functions/Polynomial.php +++ b/src/Functions/Polynomial.php @@ -67,7 +67,8 @@ class Polynomial implements ObjectArithmetic public function __construct(array $coefficients, $variable = "x") { ...
Fix Polynomial degree calculation in constructor when dealing with zeros.
markrogoyski_math-php
train
php
330be2361f669a35b8e5c7925427031f6ed60769
diff --git a/src/Entities/PaymentInstruments/BankAccountPaymentInstrument.php b/src/Entities/PaymentInstruments/BankAccountPaymentInstrument.php index <HASH>..<HASH> 100644 --- a/src/Entities/PaymentInstruments/BankAccountPaymentInstrument.php +++ b/src/Entities/PaymentInstruments/BankAccountPaymentInstrument.php @@ -1...
Fix missing import (#<I>)
Rebilly_rebilly-php
train
php
70cd72d66e24b47d2ae738e4f2cd8b170c59ba3d
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -76,7 +76,7 @@ PDFImage.prototype = { var outputImagePath = "\""+this.getOutputImagePathForPage(pageNumber)+"\""; var convertOptionsString = this.constructConvertOptions(); return util.format( - "convert %s...
Update index.js Added Single quotes to avoid file opening error when the file name contains spaces.
mooz_node-pdf-image
train
js
77f9899b3a5e7a70a605dc8e154e0d091bd14b61
diff --git a/lib/rspec/pending_for/version.rb b/lib/rspec/pending_for/version.rb index <HASH>..<HASH> 100644 --- a/lib/rspec/pending_for/version.rb +++ b/lib/rspec/pending_for/version.rb @@ -1,5 +1,5 @@ module Rspec module PendingFor - VERSION = '0.1.11'.freeze + VERSION = '0.1.12'.freeze end end
Bump rspec-pending_for to <I>
pboling_rspec-pending_for
train
rb
3f753bc817533fd830396320b02c97329e6da36b
diff --git a/astrobase/periodbase/kbls.py b/astrobase/periodbase/kbls.py index <HASH>..<HASH> 100644 --- a/astrobase/periodbase/kbls.py +++ b/astrobase/periodbase/kbls.py @@ -2,7 +2,7 @@ '''kbls.py - Waqas Bhatti (wbhatti@astro.princeton.edu) - Jan 2017 -Contains the Kovacs, et al. (2002) Box-Least-squart-Search ...
kbls: minor update
waqasbhatti_astrobase
train
py
e90f41d83f2bc20e73fa8840c8ce73b987250bb1
diff --git a/bugzoo/cli/controllers/bug.py b/bugzoo/cli/controllers/bug.py index <HASH>..<HASH> 100644 --- a/bugzoo/cli/controllers/bug.py +++ b/bugzoo/cli/controllers/bug.py @@ -151,6 +151,7 @@ class BugController(cement.Controller): def coverage(self) -> None: name_bug = self.app.pargs.bug bz =...
Fixed use-before-define bug in "bugzoo bug coverage" command (#<I>)
squaresLab_BugZoo
train
py
8c0bff8da5489fce18c72b92804a64d8efa73989
diff --git a/request.js b/request.js index <HASH>..<HASH> 100644 --- a/request.js +++ b/request.js @@ -255,6 +255,7 @@ TChannelRequest.prototype.shouldRetry = function shouldRetry(err, res, arg2, arg return !!self.options.retryFlags.onTimeout; case 'tchannel.socket': + case 't...
Request: handle tchannel.network error type in shouldRetry
uber_tchannel-node
train
js