hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
797ecfc613573ffee616caf60cefd520a6fd9c22
diff --git a/mzgtfs/export.py b/mzgtfs/export.py index <HASH>..<HASH> 100644 --- a/mzgtfs/export.py +++ b/mzgtfs/export.py @@ -13,7 +13,7 @@ if __name__ == "__main__": args = parser.parse_args() g = feed.Feed(args.filename) - f.preload() + g.preload() print "===== GTFS: %s ====="%g.filename for agency i...
Fix f is not defined in export.py
transitland_mapzen-gtfs
train
762787a4fe4ebf90af7647cf2fdddcc17829faaa
diff --git a/zipline/pipeline/pipeline.py b/zipline/pipeline/pipeline.py index <HASH>..<HASH> 100644 --- a/zipline/pipeline/pipeline.py +++ b/zipline/pipeline/pipeline.py @@ -14,11 +14,11 @@ class Pipeline(object): `Term` instances, and 'screen', a Filter representing criteria for including an asset in the re...
DOC: Tweaks to pipeline language.
quantopian_zipline
train
d8984d57c4c68ba5642fd1a03965f9b1eaf68446
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js b/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js +++ b/bundles/org.eclipse.orion.client.ui/web/ori...
Bug <I> - DND of file in nav does not update folder nav on the RHS (directory case)
eclipse_orion.client
train
87b8e5d05687b02b86559b27823607f7b7486d10
diff --git a/server/container_create_linux.go b/server/container_create_linux.go index <HASH>..<HASH> 100644 --- a/server/container_create_linux.go +++ b/server/container_create_linux.go @@ -136,6 +136,14 @@ func (s *Server) createSandboxContainer(ctx context.Context, ctr ctrIface.Contai // eventually, we'd like to...
server: FilterDisallowedAnnotations of containers earlier
cri-o_cri-o
train
bbb90ea5f4fe3156106a564e8d4ed00a020fad24
diff --git a/example.js b/example.js index <HASH>..<HASH> 100644 --- a/example.js +++ b/example.js @@ -1,9 +1,9 @@ var Pokeio = require('./poke.io') -var location = 'Stockflethsvej 39'; - -var username = 'Arm4x'; -var password = 'OHSHITWADDUP'; +//Set environment variables or replace placeholder text +var location =...
Add optional env vars to prevent additional leakage of personal info
Armax_Pokemon-GO-node-api
train
f436c842daf5330c188141a6f092d6b604f96f18
diff --git a/recommonmark/parser.py b/recommonmark/parser.py index <HASH>..<HASH> 100644 --- a/recommonmark/parser.py +++ b/recommonmark/parser.py @@ -36,6 +36,9 @@ class _SectionHandler(object): class CommonMarkParser(object, parsers.Parser): supported = ('md', 'markdown') + def __init__(self, env=None): + ...
Add extension block parsing that renders RST blocks inline.
rtfd_recommonmark
train
f70b3b01522394e918c764b33d8f56b6803da552
diff --git a/src/Composer/Command/SelfUpdateCommand.php b/src/Composer/Command/SelfUpdateCommand.php index <HASH>..<HASH> 100644 --- a/src/Composer/Command/SelfUpdateCommand.php +++ b/src/Composer/Command/SelfUpdateCommand.php @@ -84,8 +84,10 @@ EOT $versionsUtil = new Versions($config, $remoteFilesystem); ...
Avoid warning about --2 usage when no channel is requested
composer_composer
train
467c2646a8bab51f21abd21172a57322b32aa679
diff --git a/exa/container.py b/exa/container.py index <HASH>..<HASH> 100644 --- a/exa/container.py +++ b/exa/container.py @@ -216,7 +216,7 @@ class Container: edges[(n0, n1)] = edge_color_map['index-index'] edges[(n1, n0)] = edge_color_map['index-index'] ...
Fixed a typo in relational.isotope
exa-analytics_exa
train
6f182a799364a6ad31675e0fad974c6d47ea47e4
diff --git a/codegen/src/main/java/io/sundr/codegen/model/JavaProperty.java b/codegen/src/main/java/io/sundr/codegen/model/JavaProperty.java index <HASH>..<HASH> 100644 --- a/codegen/src/main/java/io/sundr/codegen/model/JavaProperty.java +++ b/codegen/src/main/java/io/sundr/codegen/model/JavaProperty.java @@ -79,4 +79,...
Add equals and hashCode to JavaProperty.
sundrio_sundrio
train
5549491cbbcbd5fe578c37964fc5378ee7a7af05
diff --git a/library/ZExt/Di/InitializerAbstract.php b/library/ZExt/Di/InitializerAbstract.php index <HASH>..<HASH> 100755 --- a/library/ZExt/Di/InitializerAbstract.php +++ b/library/ZExt/Di/InitializerAbstract.php @@ -152,7 +152,7 @@ abstract class InitializerAbstract implements InitializerInterface, LocatorAware ...
ZExt\Di\InitializerAbstract::initialize() initialize with args bugfix
mikemirten_ZExt
train
89dbe2df8930f5bd2a61d34d5099f161ab892324
diff --git a/struct.js b/struct.js index <HASH>..<HASH> 100644 --- a/struct.js +++ b/struct.js @@ -108,7 +108,7 @@ StructRW.prototype.readFrom = function readFrom(buffer, offset) { obj[field.name] = res.value; } } - return ReadResult(null, offset, obj); + return ReadResult.just(offset, ...
StructRW: trivial change for clarity
uber_bufrw
train
7a643ca28cb40aa6559015e99f85b2d873b6f4d3
diff --git a/integration-tests/src/test/java/org/torquebox/integration/MessagingTest.java b/integration-tests/src/test/java/org/torquebox/integration/MessagingTest.java index <HASH>..<HASH> 100644 --- a/integration-tests/src/test/java/org/torquebox/integration/MessagingTest.java +++ b/integration-tests/src/test/java/or...
Break up the loading of gem and execution. Increase timeout. More cowbell.
torquebox_torquebox
train
1ea85d84b3bab5e468c87eb5c4d63fd9eac780b7
diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py index <HASH>..<HASH> 100644 --- a/parsl/dataflow/dflow.py +++ b/parsl/dataflow/dflow.py @@ -9,7 +9,6 @@ import typeguard import inspect import threading import sys -# import multiprocessing import datetime from getpass import getuser diff --git a/par...
Make assorted changes to human readable text/comments (#<I>) * Fix docstring typo * Remove commented out imports * Rearrange exception human text spaces * Expand "for eg" to "for example"
Parsl_parsl
train
73027752fcd12e3a352a26958a064edfc8ba717c
diff --git a/src/aws_encryption_sdk/materials_managers/__init__.py b/src/aws_encryption_sdk/materials_managers/__init__.py index <HASH>..<HASH> 100644 --- a/src/aws_encryption_sdk/materials_managers/__init__.py +++ b/src/aws_encryption_sdk/materials_managers/__init__.py @@ -223,6 +223,9 @@ class EncryptionMaterials(Cry...
add is_complete properties to EncryptionMaterials and DecryptionMaterials
aws_aws-encryption-sdk-python
train
79ed6206e88f6d8bb79558afdf30809d7681339c
diff --git a/openxc/sources/usb.py b/openxc/sources/usb.py index <HASH>..<HASH> 100644 --- a/openxc/sources/usb.py +++ b/openxc/sources/usb.py @@ -60,7 +60,7 @@ class UsbDataSource(DataSource): def read(self, num_bytes=None, timeout=None): num_bytes = num_bytes or self.DEFAULT_READ_REQUEST_SIZE t...
Check the correct endpoint when doing error checking before reading.
openxc_openxc-python
train
d8714e55ced58c7291dbd550c549e99ade068d38
diff --git a/lib/paper-house/version.rb b/lib/paper-house/version.rb index <HASH>..<HASH> 100644 --- a/lib/paper-house/version.rb +++ b/lib/paper-house/version.rb @@ -17,7 +17,7 @@ module PaperHouse - VERSION = "0.1.15" + VERSION = "0.1.16" end
Version bump to <I>.
trema_paper-house
train
03d3e166f1f9389a31fa7b78e4cadd6e96452038
diff --git a/stagpy/_helpers.py b/stagpy/_helpers.py index <HASH>..<HASH> 100644 --- a/stagpy/_helpers.py +++ b/stagpy/_helpers.py @@ -2,13 +2,13 @@ from __future__ import annotations from inspect import getdoc -import typing +from typing import TYPE_CHECKING, Generic, TypeVar import matplotlib.pyplot as plt ...
Declare CachedReadOnlyProperty as generic It allows type checking of instances and property values.
StagPython_StagPy
train
f7af10a0e1b6d952654c82f434c6a52381e79ceb
diff --git a/bin/webpack.js b/bin/webpack.js index <HASH>..<HASH> 100755 --- a/bin/webpack.js +++ b/bin/webpack.js @@ -1,17 +1,19 @@ #!/usr/bin/env node +const { exec, execSync } = require("child_process"); +const inquirer = require("inquirer"); + function runCommand(command, options) { - const cp = require("child_pr...
* Pipe stdout and stderr from child_process to main process * code refactoring and using promises
webpack_webpack
train
7bb71195a0d99287f42913be0324b96e12817852
diff --git a/lib/conf/cli.js b/lib/conf/cli.js index <HASH>..<HASH> 100755 --- a/lib/conf/cli.js +++ b/lib/conf/cli.js @@ -8,6 +8,7 @@ var fs = require('fs'), util = require('util'), path = require('path'), + os = require('os'), dialog = require('dialog'), co...
Fixed osx/cocoa require in prey-config for Mavericks or newer Macs.
prey_prey-node-client
train
d044cdd02f554a0517c5173e3e412efd91c28c27
diff --git a/cake/tests/cases/libs/view/helpers/paginator.test.php b/cake/tests/cases/libs/view/helpers/paginator.test.php index <HASH>..<HASH> 100644 --- a/cake/tests/cases/libs/view/helpers/paginator.test.php +++ b/cake/tests/cases/libs/view/helpers/paginator.test.php @@ -1574,7 +1574,7 @@ class PaginatorHelperTest e...
Fixing test case that was missing request access.
cakephp_cakephp
train
80f7568bd448f4d63811d48b79d1fe0ce73073d3
diff --git a/go/vt/mysqlctl/mysqld.go b/go/vt/mysqlctl/mysqld.go index <HASH>..<HASH> 100644 --- a/go/vt/mysqlctl/mysqld.go +++ b/go/vt/mysqlctl/mysqld.go @@ -148,6 +148,7 @@ func (mysqld *Mysqld) RunMysqlUpgrade() error { "--defaults-file=" + mysqld.config.path, "--socket", mysqld.config.SocketFile, "--user",...
Add --force to mysql_upgrade. Without it, mysql_upgrade dies with exit code 1 if the database doesn't need to be upgraded.
vitessio_vitess
train
5ff2ec563de9743c6113f0e8491d23ef66fc7715
diff --git a/lib/netsuite/records/assembly_item.rb b/lib/netsuite/records/assembly_item.rb index <HASH>..<HASH> 100644 --- a/lib/netsuite/records/assembly_item.rb +++ b/lib/netsuite/records/assembly_item.rb @@ -50,6 +50,7 @@ module NetSuite attr_reader :internal_id attr_accessor :external_id + attr...
Update assembly_item.rb Added attr_accessor for :search_joins
NetSweet_netsuite
train
344f378096d93d7bcb34fd4aea46138c388159b9
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -161,6 +161,9 @@ gulp.task("mocha", [ "istanbul:hook" ], function() { "test/**/*.test.js" ]) .pipe(mocha({ui: "bdd"})) + .on("error", function (err) { + process.exit(1); + }) .pip...
Prevents green builds with failing tests (#<I>) e.g. <URL>
inversify_InversifyJS
train
c30d78b2c763e8872d88b72363d65fff0fade188
diff --git a/detox/test/e2e/l-permissions.js b/detox/test/e2e/l-permissions.js index <HASH>..<HASH> 100644 --- a/detox/test/e2e/l-permissions.js +++ b/detox/test/e2e/l-permissions.js @@ -1,13 +1,13 @@ describe('Permissions', () => { it('Permissions is granted', async () => { - await device.relaunchApp({permiss...
test permissions with new `launchApp` API
wix_Detox
train
e5a1c8b4982dc5c4dd4224e5ec0f8530e25efa99
diff --git a/lib/queue_classic/setup.rb b/lib/queue_classic/setup.rb index <HASH>..<HASH> 100644 --- a/lib/queue_classic/setup.rb +++ b/lib/queue_classic/setup.rb @@ -5,7 +5,7 @@ module QC CreateTable = File.join(Root, "/sql/create_table.sql") DropSqlFunctions = File.join(Root, "/sql/drop_ddl.sql") Upgra...
rename variable in QC Setup
QueueClassic_queue_classic
train
c1874cfac0238b2b0078ee9c97da8d6664a700f7
diff --git a/lib/epp-client/client.rb b/lib/epp-client/client.rb index <HASH>..<HASH> 100644 --- a/lib/epp-client/client.rb +++ b/lib/epp-client/client.rb @@ -147,28 +147,6 @@ module EPP command(ack) end - # Calls an EPP command after connecting to the EPP Server and logging in. - # - # @overload...
Remove method_missing from EPP::Client
m247_epp-client
train
44a56b2139e9629342bcc32fc55b31c8a3242cca
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( include_package_data=True, author='Roman Miroshnychenko (fork author)', author_email='romanvm@yandex.ua', - description='A Django application that provides' + description='A Django ap...
Fixes description in setup.py
romanvm_django-tinymce4-lite
train
baf4579e63facdbcad4ada09077004e28b7f6e3b
diff --git a/salt/cloud/clouds/msazure.py b/salt/cloud/clouds/msazure.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/msazure.py +++ b/salt/cloud/clouds/msazure.py @@ -1591,7 +1591,7 @@ def cleanup_unattached_disks(kwargs=None, conn=None, call=None): for disk in disks: if disks[disk]['attached_to']...
Update cleanup function for azure
saltstack_salt
train
2c4e591e3ae9d84c8f6150f8c15235d45f53ae7a
diff --git a/src/cf/terminal/color.go b/src/cf/terminal/color.go index <HASH>..<HASH> 100644 --- a/src/cf/terminal/color.go +++ b/src/cf/terminal/color.go @@ -61,7 +61,7 @@ func ColorizeBold(message string, color Color) string { var decolorizerRegex = regexp.MustCompile(`\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]`) -f...
Decolorize strings in ContainsSubstrings matcher [Finishes #<I>] Closes #<I>
cloudfoundry_cli
train
75e3335a30d9c0fb7de0d52a4739fa05f025c46d
diff --git a/lib/yard-tomdoc.rb b/lib/yard-tomdoc.rb index <HASH>..<HASH> 100644 --- a/lib/yard-tomdoc.rb +++ b/lib/yard-tomdoc.rb @@ -60,7 +60,8 @@ module YARD yard.create_tag(:deprecated, 'Do not use this in new code, and replace it when updating old code.') if tomdoc.deprecated? - yard.create_tag(:pr...
Use @api private tag instead of @private for Internal status.
rubyworks_yard-tomdoc
train
0985a76566ab18537d4e459c7513adb6c53ade99
diff --git a/mode/javascript/javascript.js b/mode/javascript/javascript.js index <HASH>..<HASH> 100644 --- a/mode/javascript/javascript.js +++ b/mode/javascript/javascript.js @@ -322,7 +322,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) { register(value); return isTS ? cont(maybet...
[javascript mode] Also count on semicolon omittance in var lists Issue #<I>
codemirror_CodeMirror
train
ec1721dd74b70ae9353e48daad97b5f1a6299d50
diff --git a/bankwire.php b/bankwire.php index <HASH>..<HASH> 100644 --- a/bankwire.php +++ b/bankwire.php @@ -163,7 +163,7 @@ class BankWire extends PaymentModule $payment_options = array( 'cta_text' => $this->l('Pay by Bank Wire'), - 'logo' => Media::getMediaPath(dirname(__FILE__).'/bankwire.jpg'), + 'lo...
[-] MO: Fix issue on bankwire logo path from displayPayment hook
PrestaShop_ps_wirepayment
train
6af4386f368e110da231434f7d0ce3ded9f677a1
diff --git a/dpr/main.go b/dpr/main.go index <HASH>..<HASH> 100644 --- a/dpr/main.go +++ b/dpr/main.go @@ -11,6 +11,7 @@ import ( var ( dataDir = flag.String("D", os.Getenv("HOME")+"/.dpr", "Location of data dir") addr = flag.String("H", ":80", "Address to bind to") + bucket = flag.String("B", "", "S3 bucket t...
move bucket name into cli flags
dynport_dgtk
train
d9ef89b6bc76ecc89f5aed4668d78d2feb63ddbc
diff --git a/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractBaseElementBuilder.java b/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractBaseElementBuilder.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/camunda/bpm/model/bpmn/builder/AbstractBaseElementBuilder.java +++ b/src/main/java/org/camu...
fix(fluent-builder): adjust code to be backward compatible
camunda_camunda-bpmn-model
train
57af8637f022e8bf7f313f6156d9873b7f5ebaba
diff --git a/proto/extensions_test.go b/proto/extensions_test.go index <HASH>..<HASH> 100644 --- a/proto/extensions_test.go +++ b/proto/extensions_test.go @@ -97,7 +97,7 @@ func TestGetExtensionForIncompleteDesc(t *testing.T) { Name: "a.c", Tag: "bytes,123456790,opt", } - ext2 := []byte{0,1,2...
proto: robustify tests that compare error messages (#<I>) For now, use fmt.Sprintf to get the proper type name that is agnostic to the package that the type is defined in. However, in the future, we should avoid such brittle testing and have more distinguishable errors.
golang_protobuf
train
19e7e6b4b831da6f17052e8e588d29894e28d599
diff --git a/lib/lwm2m-common.js b/lib/lwm2m-common.js index <HASH>..<HASH> 100644 --- a/lib/lwm2m-common.js +++ b/lib/lwm2m-common.js @@ -614,7 +614,7 @@ export class LwM2MClientProxy extends EventEmitter { let procs = lines.map((line) => { let body = line.split(':'); let command = body[0]; - ...
Skip entire request handling process only when body[1] is undefined
CANDY-LINE_node-red-contrib-lwm2m
train
443a70e334586992f01be63d14b5bee50596e639
diff --git a/.codeclimate.yml b/.codeclimate.yml index <HASH>..<HASH> 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,14 +1,3 @@ -languages: - Ruby: true - JavaScript: false - PHP: false - Python: false -exclude_paths: - - "lib/active_model/jobs/engine.rb" - - "lib/active_model/jobs/version.rb" -engine...
Update linting and autocorrect to latest style guide
tubbo_active_model_jobs
train
d48872de0aecf516b26dabbc7702757a6aa9cfbf
diff --git a/pyuavcan/transport/can/_can.py b/pyuavcan/transport/can/_can.py index <HASH>..<HASH> 100644 --- a/pyuavcan/transport/can/_can.py +++ b/pyuavcan/transport/can/_can.py @@ -228,19 +228,20 @@ class CANTransport(pyuavcan.transport.Transport): assert not frame.loopback ss = can_id.to_input_sess...
Don't forget to check the destination node ID upon reception
UAVCAN_pyuavcan
train
4c5092a504037410a5dbf5ea2f2277892846112a
diff --git a/Transferable.js b/Transferable.js index <HASH>..<HASH> 100644 --- a/Transferable.js +++ b/Transferable.js @@ -125,36 +125,28 @@ this.transferable = function(obj_or_address) { entries=[]; for(var i=0;i<logs.length;i++) { var data = logs[i].data; - if(data.le...
Removed log outout from transferable class (JS)
energychain_StromDAO-BusinessObject
train
e2ab38d31f7a5ee50bb5d5e01fd6bfa4a3c5085f
diff --git a/spec/unit/provider/exec/posix_spec.rb b/spec/unit/provider/exec/posix_spec.rb index <HASH>..<HASH> 100755 --- a/spec/unit/provider/exec/posix_spec.rb +++ b/spec/unit/provider/exec/posix_spec.rb @@ -64,7 +64,7 @@ describe Puppet::Type.type(:exec).provider(:posix) do provider.resource[:path] = [File...
(maint) Use parameter matchers in tests This uses the mocha parameter matchers in the tests rather than a custom with() block. This is a little shorter and should provide better error messages when it fails.
puppetlabs_puppet
train
cb8b59509a23d3f48a71cc197679582abd097932
diff --git a/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/BlobTest.java b/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/BlobTest.java index <HASH>..<HASH> 100644 --- a/android/CouchbaseLite/src/androidTest/java/com/couchbase/lite/BlobTest.java +++ b/android/CouchbaseLite/src/androidTest...
test: add blob from file check (#<I>) * check blob from file * check blob read(), read(toDifferentByteArray), skip() methods
couchbase_couchbase-lite-android
train
e49f9ba3cedc6015c411fb78ae11838c011334ef
diff --git a/src/Enhavo/Bundle/MediaBundle/EventListener/DoctrineSubscriber.php b/src/Enhavo/Bundle/MediaBundle/EventListener/DoctrineSubscriber.php index <HASH>..<HASH> 100644 --- a/src/Enhavo/Bundle/MediaBundle/EventListener/DoctrineSubscriber.php +++ b/src/Enhavo/Bundle/MediaBundle/EventListener/DoctrineSubscriber.p...
fix nesting exception on delete formats (#<I>) * fix nesting exception on delete formats while listening on doctrine pre remove * rename argument
enhavo_enhavo
train
4458bfa2d9c8c879bb7d100d1cc5d3fda759389e
diff --git a/squad/api/rest.py b/squad/api/rest.py index <HASH>..<HASH> 100644 --- a/squad/api/rest.py +++ b/squad/api/rest.py @@ -1259,10 +1259,7 @@ class TestJobViewSet(ModelViewSet): @action(detail=True, methods=['post'], suffix='cancel') def cancel(self, request, **kwargs): testjob = self.get_obj...
ci: improve TestJob.cancel() When test job is not yet submitted cancel() marks it as submitted and fetched and sets failure message.
Linaro_squad
train
934090cfe460eac721a9357caf8f780dd3f801c4
diff --git a/test/helper_pagify.rb b/test/helper_pagify.rb index <HASH>..<HASH> 100644 --- a/test/helper_pagify.rb +++ b/test/helper_pagify.rb @@ -1,5 +1,8 @@ class TestPagify < TestCase + def test_silent_unit_test_in_ruby18 + end + def self.data; @data ||= (0..100).to_a; end def for_pager pager # assum...
[test/helper_pagify.rb] silent unit test warning in ruby <I>, which is: there's no tests in TestPagify. so i'll give you an empty one.
godfat_pagify
train
ad1ad7123d8793bc5f12d65e497e887be3438bae
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -30,6 +30,9 @@ module.exports = function (list, callback) { } if (!len && !err) return callback(null, result); }; - fn(cb); + var _cb = (function (len, result, i) { + return cb; + })(len, resul...
pass proper scopes to the callback
madhums_lll
train
947fbb2fc770f9b3d922df5ce952710eb2c407bc
diff --git a/src/G4/Mcache/Driver/Couchbase/Couchbase2x.php b/src/G4/Mcache/Driver/Couchbase/Couchbase2x.php index <HASH>..<HASH> 100644 --- a/src/G4/Mcache/Driver/Couchbase/Couchbase2x.php +++ b/src/G4/Mcache/Driver/Couchbase/Couchbase2x.php @@ -55,15 +55,21 @@ class Couchbase2x implements CouchbaseInterface ...
Moved serialize and unserialize only to couchbase2x driver because of the serialize/unserialize performance issues
g4code_mcache
train
c772ff7fe5853022906b85aafa08eb2fd8f5b6ed
diff --git a/src/Chief.php b/src/Chief.php index <HASH>..<HASH> 100644 --- a/src/Chief.php +++ b/src/Chief.php @@ -26,29 +26,23 @@ class Chief implements CommandBus } /** - * Map a command to a handler by name - * - * @param $commandName - * @param $handlerName - * @return mixed - */...
Removed CommandBus::mapHandler() method in favor of routing pushing of all handlers through pushHandler()
adamnicholson_Chief
train
2ad6419716c13e67eb48006def66f977d39f96b0
diff --git a/apiserver/watcher.go b/apiserver/watcher.go index <HASH>..<HASH> 100644 --- a/apiserver/watcher.go +++ b/apiserver/watcher.go @@ -11,6 +11,7 @@ import ( "github.com/juju/juju/apiserver/common" "github.com/juju/juju/apiserver/common/storagecommon" "github.com/juju/juju/apiserver/params" + "github.com/...
apiserver: migration status watcher now uses NONE phase when no migration This is to handle the case of the initial watcher event when there's never been a migration attempt for the model.
juju_juju
train
32b7338bdf731e784b33a2357d2d6439cc563c98
diff --git a/modules/custom/social_magic_login/src/Controller/MagicLoginController.php b/modules/custom/social_magic_login/src/Controller/MagicLoginController.php index <HASH>..<HASH> 100644 --- a/modules/custom/social_magic_login/src/Controller/MagicLoginController.php +++ b/modules/custom/social_magic_login/src/Contr...
#<I> - Fixed minor issues.
goalgorilla_open_social
train
978dfb9216b088d92bb8db14b6ddb409cc7c7f76
diff --git a/js/bootstrap-alerts.js b/js/bootstrap-alerts.js index <HASH>..<HASH> 100644 --- a/js/bootstrap-alerts.js +++ b/js/bootstrap-alerts.js @@ -94,9 +94,11 @@ return this.each(function () { var $this = $(this) + , data if ( typeof options == 'string' ) { - var data = $this.da...
clean up var defintion
twbs_bootstrap
train
29584e3c5161073e25898f18f65dab1db5f8f28b
diff --git a/dbt/config.py b/dbt/config.py index <HASH>..<HASH> 100644 --- a/dbt/config.py +++ b/dbt/config.py @@ -99,7 +99,7 @@ class ConfigRenderer(object): self.context['var'] = Var(None, self.context, cli_vars) @staticmethod - def _is_hook_path(keypath): + def _is_hook_or_model_vars_path(keypa...
Fix a bug where vars were rendered under models/seeds in the config
fishtown-analytics_dbt
train
566b4e7b3dc6097bfcf62c7192a1584ebfe00a97
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,9 @@ module.exports = function(schema, options) { options.usernameQueryFields = [options.usernameField]; } + // option to find username case insensitively + options.usernameCaseInsensitive = Boolean(optio...
add option usernameCaseInsensitive Add an option to find username case insensitively
saintedlama_passport-local-mongoose
train
08e98283d42a96f3a6cc9d9ca46e1770f66eea02
diff --git a/otree_redwood/abstract_views.py b/otree_redwood/abstract_views.py index <HASH>..<HASH> 100644 --- a/otree_redwood/abstract_views.py +++ b/otree_redwood/abstract_views.py @@ -144,6 +144,12 @@ class ContinuousDecisionPage(Page): end_decision.save() +output_functions = [] +def output_table(f)...
Added preliminary interface for data output functions.
Leeps-Lab_otree-redwood
train
7c8556e38b935e8ed18d9462ece6a842acc8e632
diff --git a/client/src/main/java/com/paypal/selion/reports/reporter/runtimereport/RuntimeReporterListener.java b/client/src/main/java/com/paypal/selion/reports/reporter/runtimereport/RuntimeReporterListener.java index <HASH>..<HASH> 100644 --- a/client/src/main/java/com/paypal/selion/reports/reporter/runtimereport/Run...
Code changes to fix FileNotFoundException when reexecuting TestNG failed test cases
paypal_SeLion
train
2a97ac651b2870ba53cd76e4d2f11294f54dd71f
diff --git a/src/openaccess_epub/opf/opf.py b/src/openaccess_epub/opf/opf.py index <HASH>..<HASH> 100644 --- a/src/openaccess_epub/opf/opf.py +++ b/src/openaccess_epub/opf/opf.py @@ -80,10 +80,10 @@ class OPF(object): instance with the title argument, or calling set_title() at any time before writing ...
fixing error caused by reordering of resets
SavinaRoja_OpenAccess_EPUB
train
5ccc6d2727145a36c06e502758c5957d96491b3b
diff --git a/pkg/controller/deployment/deployment_controller_test.go b/pkg/controller/deployment/deployment_controller_test.go index <HASH>..<HASH> 100644 --- a/pkg/controller/deployment/deployment_controller_test.go +++ b/pkg/controller/deployment/deployment_controller_test.go @@ -497,16 +497,13 @@ func TestPodDeletio...
controller: don't run informers in unit tests when unnecessary
kubernetes_kubernetes
train
49ae2e39d8a4dd3fad7a08a1c5f8d0e4d4599e4b
diff --git a/cassandra/cqlengine/query.py b/cassandra/cqlengine/query.py index <HASH>..<HASH> 100644 --- a/cassandra/cqlengine/query.py +++ b/cassandra/cqlengine/query.py @@ -550,25 +550,13 @@ class AbstractQuerySet(object): clone._transaction.append(operator) for col_name, val in kwargs.items()...
cqle: don't mess with Token values in iff conditional
datastax_python-driver
train
873c97440168eddce1f56141eacf5b04f8925f8e
diff --git a/tests/Database/QueryBuilder/LimitClauseTest.php b/tests/Database/QueryBuilder/LimitClauseTest.php index <HASH>..<HASH> 100644 --- a/tests/Database/QueryBuilder/LimitClauseTest.php +++ b/tests/Database/QueryBuilder/LimitClauseTest.php @@ -1,10 +1,6 @@ <?php namespace Zephyrus\Tests\Database\QueryBuilder; ...
test: adapt LimitClause tests
dadajuice_zephyrus
train
ead8f6c11cea5af6eca3448a6bdacc77231b5f27
diff --git a/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java b/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java index <HASH>..<HASH> 100644 --- a/xchange-bitcoinde/src/main/java/com/xeiam/xchange/bitcoinde/BitcoindeAdapters.java +++ b/xchange-bitcoind...
fixed hardcoded null OrderBook timestamp value so that timestamp only has to be added to BitcoindeOrderBook class
knowm_XChange
train
09b10b10e76a7fba7297fa22ea496cdc9efd3dae
diff --git a/src/Provide/Transfer/CliResponder.php b/src/Provide/Transfer/CliResponder.php index <HASH>..<HASH> 100644 --- a/src/Provide/Transfer/CliResponder.php +++ b/src/Provide/Transfer/CliResponder.php @@ -18,7 +18,7 @@ class CliResponder implements TransferInterface public function __invoke(ResourceObject $r...
replace __string() to toString() for expection thrown
bearsunday_BEAR.Package
train
a85002e0ee88ce0e9c7c46ed655c8730354d5a14
diff --git a/Lib/pyhsm/basic_cmd.py b/Lib/pyhsm/basic_cmd.py index <HASH>..<HASH> 100644 --- a/Lib/pyhsm/basic_cmd.py +++ b/Lib/pyhsm/basic_cmd.py @@ -146,7 +146,7 @@ class YHSM_Cmd_Temp_Key_Load(YHSM_Cmd): status = None def __init__(self, stick, nonce, key_handle, aead): - self.nonce = pyhsm.util.in...
Remember nonce as 6 byte string too, for convenience.
Yubico_python-pyhsm
train
6a9fd8772f72e569693f6e4750bbec37ea3120ef
diff --git a/dark/reads.py b/dark/reads.py index <HASH>..<HASH> 100644 --- a/dark/reads.py +++ b/dark/reads.py @@ -3,6 +3,7 @@ from collections import Counter from Bio.Seq import translate from Bio.Data.IUPACData import ( ambiguous_dna_complement, ambiguous_rna_complement) +from warnings import warn from dark...
Added function to test whether a read is aa or nt.
acorg_dark-matter
train
12314626af40878b101adb82ff5c094adae143e6
diff --git a/code/libraries/koowa/components/com_activities/databases/rows/activity.php b/code/libraries/koowa/components/com_activities/databases/rows/activity.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/components/com_activities/databases/rows/activity.php +++ b/code/libraries/koowa/components/com_acti...
re #<I> Improved strategy getter. The strategy now returns null if the activity object isn't new or is modified. It also now accepts an argument which may hold an identifier for forcing a given strategy. This may be useful when overriding.
joomlatools_joomlatools-framework-activities
train
f61650d4b38a665e25417dbf7899f90b85d2793c
diff --git a/lib/merch_calendar/stitch_fix_fiscal_year_calendar.rb b/lib/merch_calendar/stitch_fix_fiscal_year_calendar.rb index <HASH>..<HASH> 100644 --- a/lib/merch_calendar/stitch_fix_fiscal_year_calendar.rb +++ b/lib/merch_calendar/stitch_fix_fiscal_year_calendar.rb @@ -143,7 +143,6 @@ module MerchCalendar ...
added more tests to the merch_year_from_date method looking solid :)
stitchfix_merch_calendar
train
d43af0d51533a28e5fb089074cffed1fa1d6cab0
diff --git a/app/lib/staypuft/seeder.rb b/app/lib/staypuft/seeder.rb index <HASH>..<HASH> 100644 --- a/app/lib/staypuft/seeder.rb +++ b/app/lib/staypuft/seeder.rb @@ -323,7 +323,7 @@ module Staypuft 'mysql_host' => mysql_host, 'swift_shared_secret' ...
Add at least some fake IPs to swift_storage_ips param
theforeman_staypuft
train
be7251f185513a26167d2abb6fc131ee9feb0376
diff --git a/builder/proxmox/config.go b/builder/proxmox/config.go index <HASH>..<HASH> 100644 --- a/builder/proxmox/config.go +++ b/builder/proxmox/config.go @@ -53,6 +53,7 @@ type Config struct { Agent bool `mapstructure:"qemu_agent"` SCSIController string `mapstructure:"scsi_controller"` ...
add option to disable kvm hardware virtualization
hashicorp_packer
train
8e3e27b0a0b93d5c8b7bf682f7fd515be14e1315
diff --git a/dynamic_dynamodb/core/table.py b/dynamic_dynamodb/core/table.py index <HASH>..<HASH> 100644 --- a/dynamic_dynamodb/core/table.py +++ b/dynamic_dynamodb/core/table.py @@ -285,8 +285,6 @@ def __ensure_provisioning_reads(table_name, key_name, num_consec_read_checks): # Increase needed due to high CU ...
Removed debugging log entries from core/table.py
sebdah_dynamic-dynamodb
train
b42ede40e2699a9993520ec029decb4d7059e8f6
diff --git a/base64.js b/base64.js index <HASH>..<HASH> 100644 --- a/base64.js +++ b/base64.js @@ -1,7 +1,7 @@ ;(function () { var - object = typeof window != 'undefined' ? window : exports, + object = typeof exports != 'undefined' ? exports : window, chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnop...
Add compatibility with client side CommonJS
davidchambers_Base64.js
train
9904517576bef4d2835b089a8b29a80862762c6a
diff --git a/xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/AbstractMessageMacro.java b/xwiki-rendering-macros/xwiki-rendering-macro-message/src/main/java/org/xwiki/rendering/internal/macro/message/AbstractMessageMacro.java index <HASH>..<HASH> 100644 --- a...
XRENDERING-<I>: Message macro should rely on AbstractBoxMacro * Use the macro id instead of relying on the context
xwiki_xwiki-rendering
train
7fa5149934352c6d2019e7ce3258eb31644cef2f
diff --git a/tasky/loop.py b/tasky/loop.py index <HASH>..<HASH> 100644 --- a/tasky/loop.py +++ b/tasky/loop.py @@ -126,8 +126,11 @@ class Tasky(object): elif task != self.all_tasks[task.name]: raise Exception('Duplicate task %s' % task.name) - task.task = asyncio.ensure_future(self.start_...
Track but don't start disabled tasks
jreese_tasky
train
f52f2397af0a3dda05bf52d4aee9d22f9891f643
diff --git a/crispy_forms/tests/test_settings_bootstrap.py b/crispy_forms/tests/test_settings_bootstrap.py index <HASH>..<HASH> 100644 --- a/crispy_forms/tests/test_settings_bootstrap.py +++ b/crispy_forms/tests/test_settings_bootstrap.py @@ -25,3 +25,4 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'urls' CRISPY_TEMPLAT...
Added compulsory SECRET_KEY to test settings
django-crispy-forms_django-crispy-forms
train
a6bc141d460138da463f1108ff0c5388fed92db8
diff --git a/Bundle/InstallableInterface.php b/Bundle/InstallableInterface.php index <HASH>..<HASH> 100644 --- a/Bundle/InstallableInterface.php +++ b/Bundle/InstallableInterface.php @@ -6,8 +6,8 @@ use Symfony\Component\HttpKernel\Bundle\BundleInterface; interface InstallableInterface extends BundleInterface { - ...
[InstallationBundle] Added environment argument
claroline_Distribution
train
b02e9fbbc01497688faadeec5bb0f952421d732e
diff --git a/src/python/twitter/pants/tasks/task.py b/src/python/twitter/pants/tasks/task.py index <HASH>..<HASH> 100644 --- a/src/python/twitter/pants/tasks/task.py +++ b/src/python/twitter/pants/tasks/task.py @@ -303,7 +303,11 @@ class Task(object): from twitter.pants.tasks.ivy_utils import IvyUtils from tw...
Temporary fix to the nailgun/ivy deadlock Auditors: benjy (sapling split of <I>d9e6a<I>c<I>a<I>ba<I>c6b0bafbaac3d)
pantsbuild_pants
train
dbb01029ec6f7f02ba47250a78fe5cba60825aa8
diff --git a/sgp4/exporter.py b/sgp4/exporter.py index <HASH>..<HASH> 100644 --- a/sgp4/exporter.py +++ b/sgp4/exporter.py @@ -24,10 +24,13 @@ def export_tle(satrec): append(str(satrec.satnum).zfill(5)) # Add classification code (use "U" if empty) - append((satrec.classification.strip() or "U") + " "...
Fix test failing locally: exporter AttributeError Alas! I had hoped that Travis CI Python <I> testing would fail exactly when “tox” Python <I> fails locally, but the two are apparently not the same, so I accepted this code from a PR when it in fact broke the tests for me. Here’s a fix that hopefully works in both ca...
brandon-rhodes_python-sgp4
train
0faf7ff33dba59b7e040cf551132b36371ec672e
diff --git a/simpleauth2/adapters/gae_webapp2.py b/simpleauth2/adapters/gae_webapp2.py index <HASH>..<HASH> 100644 --- a/simpleauth2/adapters/gae_webapp2.py +++ b/simpleauth2/adapters/gae_webapp2.py @@ -119,6 +119,14 @@ class NDBOpenIDStore(ndb.Model, interface.OpenIDStore): if entity: r...
Implemented the removeAssociation() with test.
authomatic_authomatic
train
5c2d3233bf933c1a24a0c28e1e5356294269217b
diff --git a/upload/admin/controller/common/filemanager.php b/upload/admin/controller/common/filemanager.php index <HASH>..<HASH> 100644 --- a/upload/admin/controller/common/filemanager.php +++ b/upload/admin/controller/common/filemanager.php @@ -29,7 +29,7 @@ class ControllerCommonFileManager extends Controller { ...
Update Pagination in Filemanager Replace function array_splice to array_slice
opencart_opencart
train
4394cc39af961a9b988d974df2351855ce385065
diff --git a/chainregistry.go b/chainregistry.go index <HASH>..<HASH> 100644 --- a/chainregistry.go +++ b/chainregistry.go @@ -785,6 +785,7 @@ func initNeutrinoBackend(cfg *Config, chainDir string) (*neutrino.ChainService, neutrino.MaxPeers = 8 neutrino.BanDuration = time.Hour * 48 + neutrino.UserAgentName = cfg....
lnd: expose user agent name as config option Expose the neutrino `UserAgentName` config option. This can be set by starting lnd with the `--neutrino.useragentname=` flag.
lightningnetwork_lnd
train
d675075b9798b4da1f13a547fbf44e3dcb79c01a
diff --git a/engine/src/test/java/org/camunda/bpm/engine/test/api/authorization/history/HistoricIdentityLinkLogAuthorizationTest.java b/engine/src/test/java/org/camunda/bpm/engine/test/api/authorization/history/HistoricIdentityLinkLogAuthorizationTest.java index <HASH>..<HASH> 100644 --- a/engine/src/test/java/org/camu...
fix(engine): Changed case sensitive xml file name related to #CAM-<I>
camunda_camunda-bpm-platform
train
18f096b6a38d4274cf0479be6132d8dcedd9231b
diff --git a/pkg/client/deploymentconfigs.go b/pkg/client/deploymentconfigs.go index <HASH>..<HASH> 100644 --- a/pkg/client/deploymentconfigs.go +++ b/pkg/client/deploymentconfigs.go @@ -159,7 +159,12 @@ func (c *deploymentConfigs) UpdateStatus(deploymentConfig *deployapi.DeploymentC // Instantiate instantiates a new ...
client: fix instantiate call to handle <I>
openshift_origin
train
d13b3ecfd7e8194fd45fc51274202b7ff61c6c6f
diff --git a/packages/veritone-react-common/src/components/FilePicker/index.js b/packages/veritone-react-common/src/components/FilePicker/index.js index <HASH>..<HASH> 100644 --- a/packages/veritone-react-common/src/components/FilePicker/index.js +++ b/packages/veritone-react-common/src/components/FilePicker/index.js @...
Remove react-modal and use Material UI Dialog component instead.
veritone_veritone-sdk
train
cce101bb173a7f79e2559d4bd88305034b15d914
diff --git a/inc/class-public-scripts.php b/inc/class-public-scripts.php index <HASH>..<HASH> 100644 --- a/inc/class-public-scripts.php +++ b/inc/class-public-scripts.php @@ -105,13 +105,23 @@ class CareLib_Public_Scripts extends CareLib_Scripts { /** * Register front-end stylesheets for the framework. * - * @...
Implemented theme version and simplified another method
cipherdevgroup_carelib
train
0db306a8283b26f605cf995fc283f9b3468b4606
diff --git a/test/test_push_queues.rb b/test/test_push_queues.rb index <HASH>..<HASH> 100644 --- a/test/test_push_queues.rb +++ b/test/test_push_queues.rb @@ -195,7 +195,7 @@ class TestPushQueues < TestBase subscribers.each do |s| p s assert_equal 202, s["status_code"] - assert_equal "re...
after <I>s, the msg is reserved again
iron-io_iron_mq_ruby
train
beadaab87d677c8543a9759f5b0883fbdca407a3
diff --git a/imager/models/Imager_ImageModel.php b/imager/models/Imager_ImageModel.php index <HASH>..<HASH> 100644 --- a/imager/models/Imager_ImageModel.php +++ b/imager/models/Imager_ImageModel.php @@ -1,13 +1,50 @@ <?php namespace Craft; +/** + * Imager by André Elvan + * + * @author André Elvan <http://vaer...
Extended the Imager_ImageModel with more properties to make it more similar to AssetFileModel.
aelvan_Imager-Craft
train
cd4999c10ca44cc33dff7d25232784e112b5c735
diff --git a/controller.php b/controller.php index <HASH>..<HASH> 100644 --- a/controller.php +++ b/controller.php @@ -10,7 +10,7 @@ use Brain\Hierarchy\Hierarchy; */ function get_sage_function() { - $function_name = apply_filters('sober/controller/sage-namespace', 'App') . '\sage'; + $function_name = apply_f...
Make filter name snake case (as per wordpress)
soberwp_controller
train
f6dbf210db55c3c2d242a939b9d31bccd3e7d0c6
diff --git a/lib/utils.js b/lib/utils.js index <HASH>..<HASH> 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -44,7 +44,7 @@ exports.dateFormat = function(str) { , defaults = [null, ' 00:00', ':00', ' +0000'] , match = str.match(rx) - if (!match) { + if (!match || str === (new Date(str)).toISOString()...
Added support for ISO <I> date strings
majorleaguesoccer_respectify
train
6f3ac539478417204864c8e542d8279b8d2ad743
diff --git a/packages/react-server-website/pages/homepage.js b/packages/react-server-website/pages/homepage.js index <HASH>..<HASH> 100644 --- a/packages/react-server-website/pages/homepage.js +++ b/packages/react-server-website/pages/homepage.js @@ -5,7 +5,7 @@ import './homepage.less'; export default class Homepage ...
Change title for home page To get more SEO traffic, we should adjust the title for what people search for. Change recommended by Joe Lei.
redfin_react-server
train
e56fd56ac1bf9455b32cfe7e2a2d94d9f2a09fd0
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index <HASH>..<HASH> 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1116,7 +1116,7 @@ class Chef elsif superclass.respond_to?(:default_action) superclass.default_action else - :nothing + [:nothing] end...
Make sure the default case gives an array too.
chef_chef
train
f82480c0b62dc7769e7e86dc4c2bc2cf80e95468
diff --git a/modules/es.promise.js b/modules/es.promise.js index <HASH>..<HASH> 100644 --- a/modules/es.promise.js +++ b/modules/es.promise.js @@ -1,7 +1,6 @@ 'use strict'; var IS_PURE = require('./_is-pure'); var global = require('./_global'); -var ctx = require('./_ctx'); var classof = require('./_classof'); var...
unbind internal `resolve` and `reject`
zloirock_core-js
train
eea506218af0d6b4924748dffb7679721f7d9b8b
diff --git a/dimod/binary_quadratic_model/model.py b/dimod/binary_quadratic_model/model.py index <HASH>..<HASH> 100644 --- a/dimod/binary_quadratic_model/model.py +++ b/dimod/binary_quadratic_model/model.py @@ -433,47 +433,12 @@ class BinaryQuadraticModel(object): new = mapping[old] - ...
Change relabel_variables to use the new add/remove methods
dwavesystems_dimod
train
25f705c8c9f20a3b4b28deaa14daaf0675b81677
diff --git a/mediafile.py b/mediafile.py index <HASH>..<HASH> 100644 --- a/mediafile.py +++ b/mediafile.py @@ -1994,18 +1994,27 @@ class MediaFile(object): StorageStyle('MUSICBRAINZ_ALBUMID'), ASFStorageStyle('MusicBrainz/Album Id'), ) - mb_artistid = MediaField( - MP3DescStorageStyle(u...
Add multi-value variants of `mb_artistid` and `mb_albumartistid`. Tags are now interpreted as lists. Resolves #<I>
beetbox_mediafile
train
d8d186d7ec98dae72b45ee124cc17ee166617852
diff --git a/spec/factories/transplants/donor_stage_position.rb b/spec/factories/transplants/donor_stage_position.rb index <HASH>..<HASH> 100644 --- a/spec/factories/transplants/donor_stage_position.rb +++ b/spec/factories/transplants/donor_stage_position.rb @@ -2,6 +2,6 @@ FactoryBot.define do factory :donor_sta...
Use a random string rather than Faker::Lorem.word in specs Faker::Lorem.word is causing random ‘Name already taken’ failures on CI because when it serves up a duplicate
airslie_renalware-core
train
78369aef4573578bed55526632db8acb5677f8d1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -33,6 +33,8 @@ module.exports = function(config) { var questions = new Questions(opts); fn._questions = questions; + questions.on('ask', app.emit.bind(app, 'ask')); + questions.on('answer', app.emit.b...
bubble up events from `question-store`
base_base-questions
train
ebe320d17f300d41e1b94c79fd62168112a69597
diff --git a/lib/util.js b/lib/util.js index <HASH>..<HASH> 100644 --- a/lib/util.js +++ b/lib/util.js @@ -533,7 +533,7 @@ var util = { each: function each(object, iterFunction) { for (var key in object) { - if (object.hasOwnProperty(key)) { + if (Object.prototype.hasOwnProperty.call(object, key)) {...
Allowing use of bare objects to be passed in to utils.each so that constructors for services may use them.
aws_aws-sdk-js
train
162a19d750d691c87be7783e9a07b69c3e042061
diff --git a/config/unicorn.rb b/config/unicorn.rb index <HASH>..<HASH> 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,4 +1,4 @@ -app_root = Rails.root +app_root = ENV['APP_PATH'] || Rails.root worker_processes 2
I guess we can't use Rails.root in server unicorn config
cortex-cms_cortex
train
a04fb62f48aa27050b6ebe4f52ea89397c8437ce
diff --git a/salt/modules/zpool.py b/salt/modules/zpool.py index <HASH>..<HASH> 100644 --- a/salt/modules/zpool.py +++ b/salt/modules/zpool.py @@ -875,6 +875,95 @@ def detach(zpool, device): return ret +def split(zpool, newzpool, **kwargs): + ''' + .. versionadded:: Oxygen + + Splits devices off pool ...
Add support for zpool.split
saltstack_salt
train
4176de52e715d74410b0ad1c8e7aa7d79716d378
diff --git a/classes/Connection.php b/classes/Connection.php index <HASH>..<HASH> 100644 --- a/classes/Connection.php +++ b/classes/Connection.php @@ -16,6 +16,20 @@ class Connection implements Contract\Connection protected $pdo; /** + * PDO query wrapper + * + * @var \Closure + */ + prot...
Fix query/execute methods and fetching single values by column index.
neat-php_database
train
13db69bf41a7dfda2900165200836f02da932ab5
diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/domain/EntityScanPackages.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/domain/EntityScanPackages.java index <HASH>..<HASH> 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springf...
Drop superfluous `@Order` annotation Remove `@Order` which has no effect on `ImportBeanDefinitionRegistrar`. Fixes gh-<I>
spring-projects_spring-boot
train
b449fcb5f01f3d75c9816e353c4bcc3457b912f7
diff --git a/lib/core/builder.js b/lib/core/builder.js index <HASH>..<HASH> 100644 --- a/lib/core/builder.js +++ b/lib/core/builder.js @@ -34,7 +34,7 @@ function build (dataFilePath, presskit, { console.log(`- "${presskit.title}" -> ${chalk.blue(htmlFilePath)}`) // Templates and images. - const template = crea...
Give access to destination in template helpers
pixelnest_presskit.html
train
7f997e81dbd3b132d5831065af48122e7a009a1d
diff --git a/docs/changelog.md b/docs/changelog.md index <HASH>..<HASH> 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,7 +4,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [0.32.0] -- unreleased - +- unify exceptions related to remote YAML file reading in `rea...
unify exceptions related to remote YAML file reading in function
pepkit_peppy
train
6a7ab57b0c52ac859155426d86ee587869a52742
diff --git a/lib/migrator.js b/lib/migrator.js index <HASH>..<HASH> 100644 --- a/lib/migrator.js +++ b/lib/migrator.js @@ -1,7 +1,7 @@ 'use strict'; const TurndownService = require('turndown'); -const request = require('request-promise-native'); +const got = require('got'); const { parse } = require('url'); const...
refactor: replace 'request' with 'got'
hexojs_hexo-migrator-rss
train