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
9dcb3ec005200718d37088b94f158840ec848013
diff --git a/oedialect/dialect.py b/oedialect/dialect.py index <HASH>..<HASH> 100644 --- a/oedialect/dialect.py +++ b/oedialect/dialect.py @@ -236,6 +236,9 @@ class OEExecutionContext(PGExecutionContext): def rowcount(self): return self.cursor.rowcount + def create_server_side_cursor(self): + ...
Enable server-side cursors
OpenEnergyPlatform_oedialect
train
py
d0bff8209ede88682f248106a19a5b48cd7ffcd9
diff --git a/holoviews/plotting/__init__.py b/holoviews/plotting/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/__init__.py +++ b/holoviews/plotting/__init__.py @@ -319,7 +319,7 @@ Store.options.GridSpace = Options('style', **{'font.size': 10, 'axes.labelsize': # Annotations Store.options.VLine = Op...
Fixed default Spline colour to be distinct from background color
pyviz_holoviews
train
py
3d916d45c1c5d2991230686707191ae13d0de0fc
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -83,12 +83,16 @@ var applySubTrees = function (tree, method) { var execAll = function (tree, msg) { - var subTreeExecution = applySubTrees(tree, function (subtree) { - return execAll(subtree, msg); - }); - ...
Fix synchronous callback for ** events.
plediii_HevEmitter
train
js
cd682f343a4c460a85a1037aae5d51a1edf35749
diff --git a/source/rafcon/gui/controllers/states_editor.py b/source/rafcon/gui/controllers/states_editor.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/controllers/states_editor.py +++ b/source/rafcon/gui/controllers/states_editor.py @@ -489,6 +489,13 @@ class StatesEditorController(ExtendedController): ...
states editor: add warning if selection is inconsistent - still performs selection but also mentions this inconsistency -> maybe can be moved to state machine model
DLR-RM_RAFCON
train
py
026c241051dcd4d0dffe906874723b4f3f5f4feb
diff --git a/lib/project_euler_cli/archive_viewer.rb b/lib/project_euler_cli/archive_viewer.rb index <HASH>..<HASH> 100644 --- a/lib/project_euler_cli/archive_viewer.rb +++ b/lib/project_euler_cli/archive_viewer.rb @@ -50,7 +50,7 @@ class ArchiveViewer init_index = @num_problems init_index.downto(init_index...
Actually fix the bug when loading recent problems, instead of just THINKING it is solved
ecssiah_project-euler-cli
train
rb
80c3b98a84a8d9b33871a949c7358d6516f9a988
diff --git a/test/response.test.js b/test/response.test.js index <HASH>..<HASH> 100644 --- a/test/response.test.js +++ b/test/response.test.js @@ -362,6 +362,7 @@ module.exports = { app.get('/', function(req, res){ res.cookie('rememberme', 'yes', { expires: new Date(1), httpOnly: true }); + res.c...
Added multiple Set-Cookie header tests
expressjs_express
train
js
4f38ff6cf06c5e90dde80d936ce4bed23dfa4e47
diff --git a/dwave/cloud/client.py b/dwave/cloud/client.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/client.py +++ b/dwave/cloud/client.py @@ -1077,6 +1077,9 @@ class Client(object): except BaseException as err: logger.exception(err) + finally: + session.close() + def ...
Close per-thread sessions on shutdown
dwavesystems_dwave-cloud-client
train
py
45632876ca533b20ff57070768c0ed0a50c12b9b
diff --git a/src/renderers/canvas.js b/src/renderers/canvas.js index <HASH>..<HASH> 100644 --- a/src/renderers/canvas.js +++ b/src/renderers/canvas.js @@ -273,6 +273,8 @@ Physics.renderer('canvas', function( proto ){ hiddenCtx.restore(); view.src = hiddenCanvas.toDataURL("image/png"); + ...
fix the problem that sometimes the body been rendered in the wrong position in ie<I> I don't know whether to add two temporary variables to store the values of "2 * hw + 2 + (2 * styles.lineWidth|0)" and "2 * hh + 2 + (2 * styles.lineWidth|0)",then assign them to hiddenCanvas.width,hiddenCanvas.height,view.width and v...
wellcaffeinated_PhysicsJS
train
js
b843a694a5c088a5cf602831bfe3540cde03acb2
diff --git a/lib/nrser/core_ext/array.rb b/lib/nrser/core_ext/array.rb index <HASH>..<HASH> 100644 --- a/lib/nrser/core_ext/array.rb +++ b/lib/nrser/core_ext/array.rb @@ -115,7 +115,7 @@ class Array when 0 raise NRSER::CountError.new \ "Can not create getter proc from empty array", - subject...
Change CountError creation re refactor
nrser_nrser.rb
train
rb
427bda0e322167036b57f37e8e528d4d128fa43a
diff --git a/carrot/messaging.py b/carrot/messaging.py index <HASH>..<HASH> 100644 --- a/carrot/messaging.py +++ b/carrot/messaging.py @@ -569,12 +569,12 @@ class Publisher(object): The default delivery mode used for messages. The value is an integer. The following delivery modes are supported by (at ...
Add intent revealing names for use with the delivery_mode attribute
ask_carrot
train
py
423bb90c717e913ef4a26f87c006e9738cb46683
diff --git a/authority/admin.py b/authority/admin.py index <HASH>..<HASH> 100644 --- a/authority/admin.py +++ b/authority/admin.py @@ -87,6 +87,10 @@ def edit_permissions(modeladmin, request, queryset): if all_valid(formsets): for formset in formsets: formset.save() + else:...
Show action form errors using message_user Not very neat, but way better than nothing when there are errors (previously the error was invisible and the action simply seemed to have completed).
jazzband_django-authority
train
py
6ccfca342856bf59654e6d846f4c6ed811c13415
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -11,8 +11,8 @@ var platform = os.platform(); var arch = os.arch(); var sliceDir = path.resolve(path.join(__dirname, 'ice', 'slice')); -var slice2js = path.join(path.join(__dirname, 'build', 'Release'), - ...
Add slice2js executable path to exports
zeroc-ice_npm-slice2js
train
js
eea6dd57c9b8a562fb3dd878fd8ef43ec1e6051b
diff --git a/lib/rspec-puppet/matchers/create_generic.rb b/lib/rspec-puppet/matchers/create_generic.rb index <HASH>..<HASH> 100644 --- a/lib/rspec-puppet/matchers/create_generic.rb +++ b/lib/rspec-puppet/matchers/create_generic.rb @@ -17,7 +17,7 @@ module RSpec::Puppet def without(*args, &block) param...
String#to_a doesn't work under <I>
rodjek_rspec-puppet
train
rb
c0e7109e857c58a0c9129309d52b02ffa0e3093f
diff --git a/lib/instrumental/version.rb b/lib/instrumental/version.rb index <HASH>..<HASH> 100644 --- a/lib/instrumental/version.rb +++ b/lib/instrumental/version.rb @@ -1,3 +1,3 @@ module Instrumental - VERSION = "0.5.0" + VERSION = "0.5.1" end
Version bump to <I>.
Instrumental_instrumental_agent-ruby
train
rb
054267bc74aa39fca99c8edd40530b100d648893
diff --git a/test/test-reconnection.js b/test/test-reconnection.js index <HASH>..<HASH> 100644 --- a/test/test-reconnection.js +++ b/test/test-reconnection.js @@ -120,10 +120,15 @@ exec('which rabbitmqctl', function(err,res){ } }); }); + // also create a temp queue, whi...
in reconnect test bind and subscribe the temp queue
postwait_node-amqp
train
js
3a052f55564c09c0eb322b73f43631698b6e0437
diff --git a/test/unit/Reflection/ReflectionClassTest.php b/test/unit/Reflection/ReflectionClassTest.php index <HASH>..<HASH> 100644 --- a/test/unit/Reflection/ReflectionClassTest.php +++ b/test/unit/Reflection/ReflectionClassTest.php @@ -459,6 +459,8 @@ class ReflectionClassTest extends TestCase self::asser...
Improved tests for default enum properties
Roave_BetterReflection
train
php
be8a6a5c642f267650f56a00931640e46f880e07
diff --git a/src/Codeception/Lib/InnerBrowser.php b/src/Codeception/Lib/InnerBrowser.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Lib/InnerBrowser.php +++ b/src/Codeception/Lib/InnerBrowser.php @@ -1244,6 +1244,11 @@ class InnerBrowser extends Module implements Web, PageSourceSaver, ElementLocato $thi...
Please set getResponseStatusCode as public (#<I>) * switch from protected to public for getResponseStatusCode * ReAdd Useless Space * use _ for public exposed method (as requested)
Codeception_base
train
php
d09baeaf85d4a147fd7be53af1aa490ad83abe25
diff --git a/spec/unit/upnp/ssdp_spec.rb b/spec/unit/upnp/ssdp_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/upnp/ssdp_spec.rb +++ b/spec/unit/upnp/ssdp_spec.rb @@ -130,6 +130,14 @@ describe UPnP::SSDP do end end + describe '.notify' do + pending 'Implementation of UPnP Devices' + end + + describe...
Note that .notify isn't yet implemented
turboladen_playful
train
rb
35c53352983a79b600e63b40ce96cf119353d3b2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -5,14 +5,14 @@ var bearing = require('turf-bearing'); var destination = require('turf-destination'); /** - * Slices a LineString at start and stop Points + * Takes a line, a start point, and a stop point and returns the li...
Switch doc to closure compiler templating
turf-junkyard_turf-line-slice
train
js
c4cd66ea1b8514cc9e7365edd4e0c0b586a13923
diff --git a/linkcheck/decorators.py b/linkcheck/decorators.py index <HASH>..<HASH> 100644 --- a/linkcheck/decorators.py +++ b/linkcheck/decorators.py @@ -94,7 +94,7 @@ def synchronize (lock, func, log_duration_secs=0): t = time.time() with lock: duration = time.time() - t - if...
Simplify decorator duration check logic.
wummel_linkchecker
train
py
12e0f839f98a92ec4aea6b0c34a6ee8022b6c600
diff --git a/src/EventListener/LoggerListener.php b/src/EventListener/LoggerListener.php index <HASH>..<HASH> 100644 --- a/src/EventListener/LoggerListener.php +++ b/src/EventListener/LoggerListener.php @@ -3,6 +3,7 @@ namespace Stampie\Extra\EventListener; use Psr\Log\LoggerInterface; +use Psr\Log\LogLevel; use S...
Allow caller to define log level for listener The current implementation always uses debug as log level. This makes the logger less flexible as it requires the caller to use debug log level for all logging to see the output. This change allows the caller to set the desired log level in the constructor. The default is...
Stampie_extra
train
php
bc07e134a4a71e336e1a370029a25a8a4151fefb
diff --git a/lib/markaby/rails.rb b/lib/markaby/rails.rb index <HASH>..<HASH> 100644 --- a/lib/markaby/rails.rb +++ b/lib/markaby/rails.rb @@ -27,10 +27,10 @@ module Markaby # "1.1.5", # "1.1.6", # "1.2.0", - # "1.2.1", - # "1.2.2", - # "1.2.3", - # "1.2.4", + "1.2.1", + ...
Enable rails <I>-<I> (it's passing)
markaby_markaby
train
rb
8dd573df3c2ca2290f20b07f0635c028c4cd0a0c
diff --git a/config/application.rb b/config/application.rb index <HASH>..<HASH> 100644 --- a/config/application.rb +++ b/config/application.rb @@ -8,9 +8,6 @@ Bundler.require(*Rails.groups) module Gemcutter class Application < Rails::Application - def config_for(name, env = Rails.env) - YAML.load_file(Rai...
don't need define config_for anymore
rubygems_rubygems.org
train
rb
2ded2bf71a1222384af096261783db2f7392a20e
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayPropertiesTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayPropertiesTests.java index <HASH>..<HASH> 100644 --- a/sprin...
Adapt to latest change in Spring Framework snapshots
spring-projects_spring-boot
train
java
f7df4959661f43a761c65fb4d6be8ac7affdbf5c
diff --git a/visidata/vdtui.py b/visidata/vdtui.py index <HASH>..<HASH> 100755 --- a/visidata/vdtui.py +++ b/visidata/vdtui.py @@ -1004,7 +1004,13 @@ class BaseSheet: def getCommand(self, keystrokes_or_longname): longname = bindkeys.get(keystrokes_or_longname) - return commands.get(longname if lo...
[vdtui] be specific with error msgs in getCommand
saulpw_visidata
train
py
4d11c933ac358015d5cd8c75bd62386c9d924074
diff --git a/lib/kernel.js b/lib/kernel.js index <HASH>..<HASH> 100644 --- a/lib/kernel.js +++ b/lib/kernel.js @@ -105,12 +105,6 @@ Kernel.prototype._demandResolveable = function(key) { return resolveable }) }.bind(this)) - /* synchronous - var resolveable = ResolveableComponent...
promisified internal demandResolveable
mnichols_ankh
train
js
7213316076531f8a65d4684dc8bebb12eddc3eda
diff --git a/lib/omnibus/licensing.rb b/lib/omnibus/licensing.rb index <HASH>..<HASH> 100644 --- a/lib/omnibus/licensing.rb +++ b/lib/omnibus/licensing.rb @@ -657,6 +657,7 @@ EOH "AGPL-3.0", # GNU Affero General Public License v3 "GPL-2.0", # GNU General Public License version 2.0 "GPL-3...
licensing: Add support of LGPL-<I> It was superseded by the GNU Lesser General Public License (LGPL-<I> and higher), but there are still projects licensed under LGPL-<I>.
chef_omnibus
train
rb
a394fdf55f628b914f1ad4fb31b9e148e18bc0df
diff --git a/lib/parser.js b/lib/parser.js index <HASH>..<HASH> 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -87,11 +87,10 @@ Parser.prototype._write = function (chunk, encoding, cb) { if (this._headerData.contentLength === 0) { this._emitMessage(this._headerData.message); - return cb(null); + ...
Don't `return` from parser when there's no body. This interferes with the loop we're building. Instead, change the if-statement to an if-else to accomplish the same here.
stephen_httplike
train
js
f120867a0614b4ec8563a7dc668d858f2e968c79
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,11 +3,19 @@ from setuptools import setup +try: + from pypandoc import convert + read_md = lambda f: convert(f, 'rst') +except ImportError: + print("warning: pypandoc module not found, could not convert Markdow...
[enh] convert md README to rst on release
PyCQA_baron
train
py
00b9df162dc8126decfab3d7d2892e42078eb553
diff --git a/common/entities/Category.php b/common/entities/Category.php index <HASH>..<HASH> 100755 --- a/common/entities/Category.php +++ b/common/entities/Category.php @@ -165,8 +165,9 @@ class Category extends ActiveRecord if (!empty($imageName)) { $fullPath = \Yii::$app->shop_imagable ...
Fixes getImage() method in Category model.
black-lamp_blcms-shop
train
php
37a8ce5534bf0e76d10a467ddcbf389c96504a54
diff --git a/pygccxml/declarations/type_traits.py b/pygccxml/declarations/type_traits.py index <HASH>..<HASH> 100644 --- a/pygccxml/declarations/type_traits.py +++ b/pygccxml/declarations/type_traits.py @@ -187,14 +187,17 @@ def array_size(type): assert isinstance( nake_type, cpptypes.array_t ) return nake_t...
array_item_type now can treat row pointer.
gccxml_pygccxml
train
py
59ca27501a899106cb4a6634bb1776a30e6fcb61
diff --git a/src/sos/tasks.py b/src/sos/tasks.py index <HASH>..<HASH> 100644 --- a/src/sos/tasks.py +++ b/src/sos/tasks.py @@ -681,10 +681,11 @@ def check_task(task): def has_res(): return os.path.isfile(res_file) and os.stat(res_file).st_mtime >= os.stat(task_file).st_mtime - job_file = os.path.join...
Revised status pending to consider job_id #<I>
vatlab_SoS
train
py
e9f1f4dc69dce1c0f145642d271fb09c86928c1f
diff --git a/tests/proxy/map_test.py b/tests/proxy/map_test.py index <HASH>..<HASH> 100644 --- a/tests/proxy/map_test.py +++ b/tests/proxy/map_test.py @@ -5,7 +5,7 @@ from hazelcast.proxy.map import EntryEventType from hazelcast.serialization.api import IdentifiedDataSerializable from hazelcast.serialization.predicat...
add <I> test category to test_add_entry_listener_item_loaded (#<I>) test since EntryLoaded event is added on IMDG <I>
hazelcast_hazelcast-python-client
train
py
e5ac7b613971b0474afdbe0f31a5a0fdb5c5034e
diff --git a/spec/adhearsion/dialplan_controller_spec.rb b/spec/adhearsion/dialplan_controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/adhearsion/dialplan_controller_spec.rb +++ b/spec/adhearsion/dialplan_controller_spec.rb @@ -4,8 +4,7 @@ module Adhearsion describe DialplanController do include CallCont...
[CS] Call controller spec helpers should instantiate the described object, not always a CallController
adhearsion_adhearsion
train
rb,rb
725202120c141fde7fa790f66b8548b7eb9cc33e
diff --git a/gcs/gcstesting/bucket_tests.go b/gcs/gcstesting/bucket_tests.go index <HASH>..<HASH> 100644 --- a/gcs/gcstesting/bucket_tests.go +++ b/gcs/gcstesting/bucket_tests.go @@ -1409,7 +1409,7 @@ func (t *composeTest) TwoSimpleSources() { ExpectEq(len("tacoburrito"), o.Size) ExpectEq("", o.ContentEncoding) E...
Oops, composite objects don't have an MD5 field. As documented.
jacobsa_gcloud
train
go
31ff5697dcf137d1fdb2b90ad353b1663182e340
diff --git a/plenum/__init__.py b/plenum/__init__.py index <HASH>..<HASH> 100644 --- a/plenum/__init__.py +++ b/plenum/__init__.py @@ -5,6 +5,10 @@ plenum package from __future__ import absolute_import, division, print_function import sys +import plenum if sys.version_info < (3, 5, 0): raise ImportError("Py...
Hotfix: Deps (#<I>)
hyperledger_indy-plenum
train
py
7f31beb50c2c58ed8b6702f0688f2bfe65daf65e
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,8 @@ module.exports = function(filePath) { var dom = cheerio.load(markup, { decodeEntities: false, - xmlMode: false + xmlMode: false, + lowerCaseAtt...
configure cheerio html parser to allow for camelCase attributes
viktorlarsson_gulp-inject-svg
train
js
b1f13997576a6200697f22a7b7ff9b9a17a1b2f7
diff --git a/packages/components/bolt-animate/src/animate.js b/packages/components/bolt-animate/src/animate.js index <HASH>..<HASH> 100644 --- a/packages/components/bolt-animate/src/animate.js +++ b/packages/components/bolt-animate/src/animate.js @@ -134,12 +134,17 @@ class BoltAnimate extends withLitHtml() { }) { ...
fix(bolt-animate): safari animation fixes
bolt-design-system_bolt
train
js
0ca4f560eeefbeeacc08621d1ebfc57c9cb89175
diff --git a/src/rest/simple.js b/src/rest/simple.js index <HASH>..<HASH> 100644 --- a/src/rest/simple.js +++ b/src/rest/simple.js @@ -51,7 +51,6 @@ export default (apiUrl) => { }; case CRUD_CREATE: return { - id: json.id, data: { ...payload.data, id: j...
Simplify CRUD_CREATE success response
marmelab_react-admin
train
js
2efee338cc08933b6e6adb765a015e9c9b55be3e
diff --git a/intranet/apps/eighth/views/admin/attendance.py b/intranet/apps/eighth/views/admin/attendance.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/views/admin/attendance.py +++ b/intranet/apps/eighth/views/admin/attendance.py @@ -168,7 +168,7 @@ def after_deadline_signup_view(request): ...
Descending time sort on after deadline
tjcsl_ion
train
py
666f57a35e04790d33e72978105d4c7488e4db18
diff --git a/src/main/java/org/jboss/netty/example/proxy/HexDumpProxyInboundHandler.java b/src/main/java/org/jboss/netty/example/proxy/HexDumpProxyInboundHandler.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jboss/netty/example/proxy/HexDumpProxyInboundHandler.java +++ b/src/main/java/org/jboss/netty/example...
Fixed a bug where a wrong channel is closed on connection failure
netty_netty
train
java
be22461ec263fc5e38a942f6ef52d3ff990ef5f5
diff --git a/src/Surfnet/StepupMiddlewareClientBundle/DependencyInjection/SurfnetStepupMiddlewareClientExtension.php b/src/Surfnet/StepupMiddlewareClientBundle/DependencyInjection/SurfnetStepupMiddlewareClientExtension.php index <HASH>..<HASH> 100644 --- a/src/Surfnet/StepupMiddlewareClientBundle/DependencyInjection/Su...
Conform to new Guzzle 6 API for command API as well
OpenConext_Stepup-Middleware-clientbundle
train
php
bda62e455eb97f6dea1e9ee52afaaed2117a1558
diff --git a/client/rpc/client.go b/client/rpc/client.go index <HASH>..<HASH> 100644 --- a/client/rpc/client.go +++ b/client/rpc/client.go @@ -262,7 +262,8 @@ func SignAndBroadcast(chainID string, nodeClient client.NodeClient, keyClient ke if broadcast { if wait { - wsClient, err := nodeClient.DeriveWebsocketC...
Client: fix shadowed error value in SignAndBroadcast
hyperledger_burrow
train
go
93d8b0d917e805360649ebfdae9c223494943faa
diff --git a/setuptools/config/pyprojecttoml.py b/setuptools/config/pyprojecttoml.py index <HASH>..<HASH> 100644 --- a/setuptools/config/pyprojecttoml.py +++ b/setuptools/config/pyprojecttoml.py @@ -29,6 +29,11 @@ def load_file(filepath: _Path) -> dict: def validate(config: dict, filepath: _Path) -> bool: from . ...
Disable automatic download of trove classifiers by default This helps to improve reproducibility. See #abravalheri/validate-pyproject#<I>.
pypa_setuptools
train
py
e933972d03f7ca1119fd9065f13eabd942945781
diff --git a/announce.go b/announce.go index <HASH>..<HASH> 100644 --- a/announce.go +++ b/announce.go @@ -137,10 +137,16 @@ func (a *Announce) gotNodeAddr(addr Addr) { func (a *Announce) contact(addr Addr) { a.numContacted++ a.triedAddrs.Add([]byte(addr.String())) - if err := a.getPeers(addr); err != nil { - ret...
Don't hold the Announce lock when calling Announce.getPeers
anacrolix_dht
train
go
34835a18ae9e0207f0a1eb26a00d78a095042e68
diff --git a/lib/pdf/reader/page.rb b/lib/pdf/reader/page.rb index <HASH>..<HASH> 100644 --- a/lib/pdf/reader/page.rb +++ b/lib/pdf/reader/page.rb @@ -63,13 +63,12 @@ module PDF } end - # returns the plain text content of this page encoded as UTF-8 that has - # been layed out in a manner som...
remove noise from Page class * There's now no difference in the Page class on this feature branch and master
yob_pdf-reader
train
rb
db5739474106b74a27f054ed02a405beed6057b9
diff --git a/stdlib/sql_test.go b/stdlib/sql_test.go index <HASH>..<HASH> 100644 --- a/stdlib/sql_test.go +++ b/stdlib/sql_test.go @@ -9,7 +9,7 @@ import ( ) func openDB(t *testing.T) *sql.DB { - db, err := sql.Open("pgx", "postgres://pgx_md5:secret@localhost:5432/pgx_test") + db, err := sql.Open("pgx", "postgres:/...
test ipv4 for travis simplicity
jackc_pgx
train
go
68276186011d6623adb3c00b1b061ad80d4632c3
diff --git a/spyder/otherplugins.py b/spyder/otherplugins.py index <HASH>..<HASH> 100644 --- a/spyder/otherplugins.py +++ b/spyder/otherplugins.py @@ -103,27 +103,20 @@ def _import_module_from_path(module_name, plugin_path): Return None if no module is found. """ module = None - if PY2: - i...
Catch any error when trying to load third-party plugins
spyder-ide_spyder
train
py
c91bf47b73bd08eff4a52c69e848947d632181fb
diff --git a/tests/pyalveo_test.py b/tests/pyalveo_test.py index <HASH>..<HASH> 100644 --- a/tests/pyalveo_test.py +++ b/tests/pyalveo_test.py @@ -208,10 +208,10 @@ class ClientTest(unittest.TestCase): # get annotations for this item of type 'speaker' anns = item_with.get_annotations(type=u'http://n...
Make test more robust to ordering changes.
Alveo_pyalveo
train
py
826a5219dacb9922aef74ecbc2b53e5059017339
diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index <HASH>..<HASH> 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -557,6 +557,7 @@ const ( // owner: @andrewsykim // kep: http://kep.k8s.io/1672 // alpha: v1.20 + // beta: v1.22 // // Enable Termina...
promote EndpointSliceTerminatingCondition to Beta
kubernetes_kubernetes
train
go
634362c2b290a174019bebc35900cd420831022c
diff --git a/lib/moodle2cc/canvas_cc/discussion_writer.rb b/lib/moodle2cc/canvas_cc/discussion_writer.rb index <HASH>..<HASH> 100644 --- a/lib/moodle2cc/canvas_cc/discussion_writer.rb +++ b/lib/moodle2cc/canvas_cc/discussion_writer.rb @@ -43,6 +43,7 @@ module Moodle2CC::CanvasCC xml.type 'topic' x...
moodle2: export topic workflow state
instructure_moodle2cc
train
rb
403e6b74bfe08cb37ea2500d7b4b90245eb73ca3
diff --git a/lib/mementus/integer_id.rb b/lib/mementus/integer_id.rb index <HASH>..<HASH> 100644 --- a/lib/mementus/integer_id.rb +++ b/lib/mementus/integer_id.rb @@ -2,15 +2,6 @@ require 'thread' module Mementus class IntegerId - def self.start_from(start_value) - @generator ||= self.new(start_value) - ...
Remove lazy initialization causing shared mutable state
maetl_mementus
train
rb,rb
1ae4378fbcd66efe1d086409e165ecc45c4a96bf
diff --git a/src/Themosis/Route/Router.php b/src/Themosis/Route/Router.php index <HASH>..<HASH> 100644 --- a/src/Themosis/Route/Router.php +++ b/src/Themosis/Route/Router.php @@ -75,7 +75,7 @@ class Router { */ public function post($condition, $action) { - return $this->addRoute('POST', $conditio...
Fix #<I>. Route match methods can be defined in lowercase.
themosis_framework
train
php
e6a758289c8167396f28acc138cdd41547fbe798
diff --git a/src/Templates/BasePackageTemplate.php b/src/Templates/BasePackageTemplate.php index <HASH>..<HASH> 100644 --- a/src/Templates/BasePackageTemplate.php +++ b/src/Templates/BasePackageTemplate.php @@ -5,4 +5,55 @@ namespace NewUp\Templates; abstract class BasePackageTemplate { + /** + * The paths t...
Added members and getters These will be used by the engine to get the ignore paths, remove paths and processing paths. This replaces all the need for the various YAML and JSON files. Very nice!
newup_core
train
php
22ee8bba2f7c081d5a9e488233584f69d1af0bd6
diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go index <HASH>..<HASH> 100644 --- a/test/helpers/kubectl.go +++ b/test/helpers/kubectl.go @@ -2417,6 +2417,11 @@ func (kub *Kubectl) ciliumControllersPreFlightCheck() error { } func (kub *Kubectl) ciliumHealthPreFlightCheck() error { + if IsIntegration(CI...
CI: On EKS, skip cilium-health --probe endpoint-endpoint checks fail, and the healthcheck --probe will do that.
cilium_cilium
train
go
4fd35b8c340b01ffbdb6921902d3b57fecad79e7
diff --git a/tornado/test/escape_test.py b/tornado/test/escape_test.py index <HASH>..<HASH> 100644 --- a/tornado/test/escape_test.py +++ b/tornado/test/escape_test.py @@ -121,6 +121,10 @@ linkify_tests = [ ("www.external-link.com", {"extra_params": 'rel="nofollow" class="external"'}, u'<a href="http://...
Added a test case for extra_params as a callable
tornadoweb_tornado
train
py
70f9ce6f77be1495dd4d8d43eff95cc6046db4df
diff --git a/src/com/google/javascript/jscomp/NodeTraversal.java b/src/com/google/javascript/jscomp/NodeTraversal.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/NodeTraversal.java +++ b/src/com/google/javascript/jscomp/NodeTraversal.java @@ -687,6 +687,10 @@ public class NodeTraversal { t....
Deprecate some NodeTraversal methods that are using the old scope creator. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
15d297bb5d0df7e39c177e1ec091c4b4ab4cc626
diff --git a/lib/steep/names.rb b/lib/steep/names.rb index <HASH>..<HASH> 100644 --- a/lib/steep/names.rb +++ b/lib/steep/names.rb @@ -24,7 +24,7 @@ module Steep end def hash - self.class.hash ^ name.hash ^ @absolute.hash + self.class.hash ^ name.hash ^ namespace.hash end a...
Fix Steep::Names::Base#hash compute the hash from the same values as the values used for # ==
soutaro_steep
train
rb
a9331e21e72fba32e379bba99777b443f37e770d
diff --git a/mqtt/packet/publish_test.go b/mqtt/packet/publish_test.go index <HASH>..<HASH> 100644 --- a/mqtt/packet/publish_test.go +++ b/mqtt/packet/publish_test.go @@ -66,3 +66,13 @@ func TestNewPUBLISH_optsNil(t *testing.T) { nilErrorExpected(t, err) } } + +func TestNewPUBLISH_validateErr(t *testing.T) { + _,...
Update mqtt/packet/publish_test.go
yosssi_gmq
train
go
2cdc4f83a00ec71259a9a5c2781c72a1c97c6f86
diff --git a/resources/js/zaa.js b/resources/js/zaa.js index <HASH>..<HASH> 100644 --- a/resources/js/zaa.js +++ b/resources/js/zaa.js @@ -195,10 +195,14 @@ var zaa = angular.module("zaa", ["ui.router", "ngResource", "ngDragDrop", "angul service.toggleSelection = function(lang) { var exists = service.selecti...
Unable to deselect language, as at least 1 langauge must be active closes #<I>
luyadev_luya-module-admin
train
js
01adbde0ee14d2c3da355e33f845bd3bc28aefcf
diff --git a/elastic-harvester.js b/elastic-harvester.js index <HASH>..<HASH> 100644 --- a/elastic-harvester.js +++ b/elastic-harvester.js @@ -27,6 +27,7 @@ var defaultOptions = { } }; function ElasticHarvest(harvest_app,es_url,index,type,options) { + console.warn('[Elastic-Harvest] delete functionality does ...
waring about deletes not working on ES 2.x or greater
agco_elastic-harvesterjs
train
js,js
c63f36986656d7c98fdd807653ed5eb1ac8081c2
diff --git a/autotest/pst_tests.py b/autotest/pst_tests.py index <HASH>..<HASH> 100644 --- a/autotest/pst_tests.py +++ b/autotest/pst_tests.py @@ -990,7 +990,7 @@ def pst_from_flopy_geo_draw_test(): spatial_list_props=spat_list_props) - num_reals = 1000 + num_reals = ...
more hacking in pp setup to force sorted ordered instead of hash order
jtwhite79_pyemu
train
py
05a8fa4c5dc99e4a268a2e17c7d76fa17fd03f66
diff --git a/rest-dashboard.go b/rest-dashboard.go index <HASH>..<HASH> 100644 --- a/rest-dashboard.go +++ b/rest-dashboard.go @@ -158,13 +158,19 @@ func (r *Client) GetRawDashboardBySlug(ctx context.Context, slug string) ([]byte // FoundBoard keeps result of search with metadata of a dashboard. type FoundBoard str...
Add folder meta data to FoundResult (#<I>)
grafana-tools_sdk
train
go
da0defa87a54edd1dd513113f850b1adf5419ac1
diff --git a/spec/ext/mongo_mapper_spec.rb b/spec/ext/mongo_mapper_spec.rb index <HASH>..<HASH> 100644 --- a/spec/ext/mongo_mapper_spec.rb +++ b/spec/ext/mongo_mapper_spec.rb @@ -5,10 +5,6 @@ begin require "awesome_print/ext/mongo_mapper" describe "AwesomePrint/MongoMapper" do - before do - stub_dotfile...
Resolved Mongoid/MongoMapper specs dependency
awesome-print_awesome_print
train
rb,rb
cc2f5bc16584af69a15a9ffaaa59d9b12ccfd1f7
diff --git a/env.js b/env.js index <HASH>..<HASH> 100755 --- a/env.js +++ b/env.js @@ -90,7 +90,7 @@ Promise.resolve() const peerDeps = adapterJson.peerDependencies; const installs = Object.keys(peerDeps) .filter(key => !key.startsWith('enzyme')) - .map(key => `${key}@${peerDeps[key]}`); + .m...
[Tests] be sure to install the proper version of react
airbnb_enzyme
train
js
bbf38cca8ae0633ebb6a15f06766d5dbd566c3cb
diff --git a/godet.go b/godet.go index <HASH>..<HASH> 100644 --- a/godet.go +++ b/godet.go @@ -391,11 +391,12 @@ func (remote *RemoteDebugger) CloseTab(tab *Tab) error { // NewTab creates a new tab. func (remote *RemoteDebugger) NewTab(url string) (*Tab, error) { - params := Params{} + path := "/json/new" if url ...
Fix NewTab, that wasn't really opening a new tab (apparently the request is /json/new?requesturl instead of /json/new?url=requesturl). Note that I had to "unroll" HttpClient.Get because of a bug (or feature) in net/url when encoding a query parameter that is not name=value.
raff_godet
train
go
25a7cd79d6065d4e85e6b4df69eec63e28d570ec
diff --git a/test-support/helpers/ember-power-select.js b/test-support/helpers/ember-power-select.js index <HASH>..<HASH> 100644 --- a/test-support/helpers/ember-power-select.js +++ b/test-support/helpers/ember-power-select.js @@ -13,7 +13,17 @@ function typeText(selector, text) { } function fireNativeMouseEvent(ev...
Fix error constructing Event in Internet Explorer <I> Tests which use the `clickTrigger` helper fail in IE<I>.
cibernox_ember-power-select
train
js
c9346f215ef3fb63a975d0a8e2e81653ee0b4987
diff --git a/thinc/layers/tensorflowwrapper.py b/thinc/layers/tensorflowwrapper.py index <HASH>..<HASH> 100644 --- a/thinc/layers/tensorflowwrapper.py +++ b/thinc/layers/tensorflowwrapper.py @@ -15,9 +15,7 @@ InT = TypeVar("InT") OutT = TypeVar("OutT") -def TensorFlowWrapper( - tensorflow_model: tf.keras.models...
remove tensorflow type from top-level scope - if TF isn't installed it's not present. The type isn't that important, there's a runtime assertion inside the fn
explosion_thinc
train
py
b6bfb95f2ccd9767198184be2b24e2a8476ff777
diff --git a/spec/suite/rom/gateway_spec.rb b/spec/suite/rom/gateway_spec.rb index <HASH>..<HASH> 100644 --- a/spec/suite/rom/gateway_spec.rb +++ b/spec/suite/rom/gateway_spec.rb @@ -134,5 +134,5 @@ RSpec.describe ROM::Gateway do ROM::MissingAdapterIdentifierError, /Test::CustomGateway/ ) end - en...
[rubocop] address Style/CommentedKeyword
rom-rb_rom
train
rb
c69a1362312ffd9de45f8627ae6a76f9a56da5c3
diff --git a/src/CollectionDataTable.php b/src/CollectionDataTable.php index <HASH>..<HASH> 100644 --- a/src/CollectionDataTable.php +++ b/src/CollectionDataTable.php @@ -255,7 +255,7 @@ class CollectionDataTable extends DataTableAbstract */ protected function searchPanesSearch() { - throw new \E...
Do not throw exception. Add TODO.
yajra_laravel-datatables
train
php
63e1f7c5e7575e304c3a03bee59fe82d6532c16d
diff --git a/lib/gcli/ui/terminal.js b/lib/gcli/ui/terminal.js index <HASH>..<HASH> 100644 --- a/lib/gcli/ui/terminal.js +++ b/lib/gcli/ui/terminal.js @@ -459,10 +459,21 @@ Terminal.prototype.handleKeyUp = function(ev) { } if (this.focusManager && ev.keyCode === KeyEvent.DOM_VK_ESCAPE) { - this.focusManager....
jsterm-<I>: Enable backspace to return to parent language Now pressing ':' takes you into command mode and pressing backspace takes you back again, similarly, pressing escape when there is no help to dismiss.
joewalker_gcli
train
js
d64bac4cdf158acf545629c8343fb87ac4f29feb
diff --git a/pandas/tests/test_indexing.py b/pandas/tests/test_indexing.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_indexing.py +++ b/pandas/tests/test_indexing.py @@ -1532,7 +1532,7 @@ class TestIndexing(unittest.TestCase): # related 236 # scalar/slicing of a float index - s = Ser...
TST: fix indexing test for windows failure
pandas-dev_pandas
train
py
b1c80207ebe985607770b851a01c93b698b0e3ec
diff --git a/billboard-top-100.js b/billboard-top-100.js index <HASH>..<HASH> 100644 --- a/billboard-top-100.js +++ b/billboard-top-100.js @@ -111,6 +111,9 @@ function getTitleFromChartItem(chartItem) { var title; try { title = chartItem.children[1].children[5].children[1].children[1].children[1].children[0].dat...
getting artist-<I> does not return title
darthbatman_billboard-top-100
train
js
d4af4c7c41de4e126ceeb36176295d82667dd067
diff --git a/lib/guard/notifiers/notifysend.rb b/lib/guard/notifiers/notifysend.rb index <HASH>..<HASH> 100644 --- a/lib/guard/notifiers/notifysend.rb +++ b/lib/guard/notifiers/notifysend.rb @@ -69,7 +69,7 @@ module Guard def notify(message, opts = {}) super - command = [title, message] + ...
Properly sending titles through notify-send
guard_guard
train
rb,rb
f27b2c4e6d1441148cb33b6a2dba85df4c1e1268
diff --git a/lib/locallib.php b/lib/locallib.php index <HASH>..<HASH> 100644 --- a/lib/locallib.php +++ b/lib/locallib.php @@ -101,7 +101,7 @@ function upgrade_local_db($continueto) { $db->debug=false; if (set_config('local_version', $local_version)) { notify(get_string('datab...
Prevent unnecessary scroll to warning message during local version installation/upgrade due to missing notification type on success
moodle_moodle
train
php
2694de7c2d2381f18db5766b63b00fb704ee4955
diff --git a/core-bundle/src/Resources/contao/widgets/ChmodTable.php b/core-bundle/src/Resources/contao/widgets/ChmodTable.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/widgets/ChmodTable.php +++ b/core-bundle/src/Resources/contao/widgets/ChmodTable.php @@ -65,7 +65,7 @@ class ChmodTable extend...
[Core] Also remove the obsolete class and format definition (see the previous commit)
contao_contao
train
php
684fd99e7a8a1f2b9ac0e3eae23c407508ee882c
diff --git a/matplotlib2tikz/__init__.py b/matplotlib2tikz/__init__.py index <HASH>..<HASH> 100644 --- a/matplotlib2tikz/__init__.py +++ b/matplotlib2tikz/__init__.py @@ -17,6 +17,10 @@ from matplotlib2tikz.__about__ import ( from matplotlib2tikz.save import get_tikz_code, save -import pipdated -if pipdated.needs_...
don't strictly require pipdate
nschloe_matplotlib2tikz
train
py,py
ac467c8d53de0c4dd94a2526d9e2bd885be2b29c
diff --git a/lib/archivist/base/db.rb b/lib/archivist/base/db.rb index <HASH>..<HASH> 100644 --- a/lib/archivist/base/db.rb +++ b/lib/archivist/base/db.rb @@ -23,7 +23,7 @@ module Archivist def create_archive_table if table_exists? && !archive_table_exists? - cols = self.content_columns...
take all columns not just content columns. Will need to deal with how to maintain referential integrity. But do not bring over the primary key column... perhaps we should
tpickett66_archivist
train
rb
f543a5749c63aee71d691a306e14471400e6ded0
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100755 --- a/python/setup.py +++ b/python/setup.py @@ -108,7 +108,7 @@ if platform.system() == 'Darwin': setup( name='neuroglancer', - version='1.1.2', + version='1.1.3', description='Python data backend for neuroglancer, a WebGL-bas...
chore(python): bump package version to <I>
google_neuroglancer
train
py
408600c728f31f27fc333b1ef7d9057c6618dac5
diff --git a/src/mobilebone.js b/src/mobilebone.js index <HASH>..<HASH> 100644 --- a/src/mobilebone.js +++ b/src/mobilebone.js @@ -97,11 +97,10 @@ Mobilebone.pushStateEnabled = true; if (// When running inside a FF iframe, calling replaceState causes an error. So set 'pushStateEnabled = false' - !( window.navi...
Only FF in iframe Only FF in iframe
zhangxinxu_mobilebone
train
js
09c26ce7e4c2e9766cf5c8dd82f0fc5c294ea888
diff --git a/meyda.js b/meyda.js index <HASH>..<HASH> 100644 --- a/meyda.js +++ b/meyda.js @@ -81,10 +81,11 @@ var Meyda = function(audioContext,source,bufferSize){ numerator += Math.log(powspec[i]); denominator += powspec[i]; } + console.log("spec", powspec); return Math.exp((1/powspec.length)*nume...
changed buffer size to spectrum size Former-commit-id: bb1f<I>a7a<I>cc<I>babf<I>fa<I>c<I>f4cf7c
meyda_meyda
train
js
8cdbe0e3e2b14749ab3323fc06f87ec07f69b82a
diff --git a/lib/rules.js b/lib/rules.js index <HASH>..<HASH> 100644 --- a/lib/rules.js +++ b/lib/rules.js @@ -28,6 +28,19 @@ var Rules = { }, message: "[NAME] is required." }, + requiredAllowEmptyString: { + value: "boolean", + validate: function(b) { + return function(v) { + var isNull...
Add requiredAllowEmptyString rule
shunjikonishi_api-first-spec
train
js
9a3d42022f3b3ca70cdf9a231120faa02e427a55
diff --git a/addon/models/learner-group.js b/addon/models/learner-group.js index <HASH>..<HASH> 100644 --- a/addon/models/learner-group.js +++ b/addon/models/learner-group.js @@ -119,7 +119,7 @@ export default Model.extend({ allParentTitles: computed('isTopLevelGroup', 'parent.{title,allParentTitles}', async functio...
fixed regression: typo - it is parent, not patent.
ilios_common
train
js
f662b3f81815418b092c35b3501b5450b136fff1
diff --git a/config/environment.rb b/config/environment.rb index <HASH>..<HASH> 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -8,7 +8,7 @@ require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| - config.gem 'jakewendt-calnet_authenticated' + config.gem 'ccls-calnet...
Changed from jakewendt to ccls calnet_authenticated.
jakewendt_simply_authorized
train
rb
c8c5bed2fb106736136b8e6e31beb5993c69942e
diff --git a/spec/attr_vault_spec.rb b/spec/attr_vault_spec.rb index <HASH>..<HASH> 100644 --- a/spec/attr_vault_spec.rb +++ b/spec/attr_vault_spec.rb @@ -442,7 +442,7 @@ describe "stress test" do Thread.new do s = item.create(secret: 'that captain keen level in DOOM II') 1000.times do - ...
Stress-test nil and empty string code paths too
uhoh-itsmaciek_attr_vault
train
rb
1db030b06ddde919ec2ce28fdf7c19bbd7f39bcf
diff --git a/keyring/backends/OS_X.py b/keyring/backends/OS_X.py index <HASH>..<HASH> 100644 --- a/keyring/backends/OS_X.py +++ b/keyring/backends/OS_X.py @@ -57,7 +57,7 @@ class Keyring(KeyringBackend): # check return code if code != 0: raise set_error - except: + ...
Only trap exceptions and not BaseExceptions such as KeyboardInterrupt.
jaraco_keyring
train
py
f8362689c4d8c2c7b59bb059d415f85569b31e92
diff --git a/openid.php b/openid.php index <HASH>..<HASH> 100644 --- a/openid.php +++ b/openid.php @@ -78,7 +78,7 @@ class LightOpenID || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') ) { - $this->trustRoot = 'https://' . $host...
Fixed a bug in parsing (#<I>).
Mewp_lightopenid
train
php
b1663954fe935beb0244002625e05402f59bd20e
diff --git a/lib/get-files.js b/lib/get-files.js index <HASH>..<HASH> 100644 --- a/lib/get-files.js +++ b/lib/get-files.js @@ -306,8 +306,7 @@ async function explode(paths, { accepts, debug }) { return path; }; - const many = async all => Promise.all(all.map(async file => list(file))); - + const many = all ...
Removed useless `async` decleration
zeit_now-cli
train
js
d58d2ff9b1a8e9a90f52d7a61288be19465deba4
diff --git a/lib/analyze/headless.js b/lib/analyze/headless.js index <HASH>..<HASH> 100644 --- a/lib/analyze/headless.js +++ b/lib/analyze/headless.js @@ -8,7 +8,7 @@ var path = require('path'), childProcess = require('child_process'), - phantomPath = require('phantomjs').path, + phantomPath = require('phantomj...
use phantomjs prebuilt
sitespeedio_sitespeed.io
train
js,js
a4833e7b35c7dcd1334aa4ddcb52ad2af9f061da
diff --git a/spec/spec.request.js b/spec/spec.request.js index <HASH>..<HASH> 100644 --- a/spec/spec.request.js +++ b/spec/spec.request.js @@ -303,6 +303,41 @@ describe 'Express' end end end + + describe '#notFound()' + describe 'when accepting "html"' + describe 'with "helpful 4...
Added specs for Request#notFound()
expressjs_express
train
js
c91ae374de90b38eb98ce75ca7f19706020c7937
diff --git a/test/spec/SpecRunnerUtils.js b/test/spec/SpecRunnerUtils.js index <HASH>..<HASH> 100644 --- a/test/spec/SpecRunnerUtils.js +++ b/test/spec/SpecRunnerUtils.js @@ -364,13 +364,15 @@ define(function (require, exports, module) { }; _testWindow.closeAllFiles = function cl...
Use runs when closing all the files.
adobe_brackets
train
js
edb20d51465c15bea775b43adf46556cac386b68
diff --git a/Connectors/SqlServerConnector.php b/Connectors/SqlServerConnector.php index <HASH>..<HASH> 100755 --- a/Connectors/SqlServerConnector.php +++ b/Connectors/SqlServerConnector.php @@ -160,6 +160,10 @@ class SqlServerConnector extends Connector implements ConnectorInterface $arguments['LoginTimeo...
Added Authentication keyword for ODBC driver (#<I>)
illuminate_database
train
php
3195162d53314181e024757c562b3bab370c7aca
diff --git a/config/webpack.config.base.js b/config/webpack.config.base.js index <HASH>..<HASH> 100644 --- a/config/webpack.config.base.js +++ b/config/webpack.config.base.js @@ -54,7 +54,7 @@ module.exports = { ] }, plugins: [ - new webpack.ContextReplacementPlugin(/date-fns[/\\]locale$/, /en/), + new...
feat(i<I>n): Include date-fns es and fr locale in build
cozy_cozy-bar
train
js
e5225702d7eba5994438115d5266913209eaa67e
diff --git a/tests/Support/SupportCollectionTest.php b/tests/Support/SupportCollectionTest.php index <HASH>..<HASH> 100755 --- a/tests/Support/SupportCollectionTest.php +++ b/tests/Support/SupportCollectionTest.php @@ -286,6 +286,14 @@ class SupportCollectionTest extends PHPUnit_Framework_TestCase { } + public...
Add test to collection->random() when collection is empty
laravel_framework
train
php
62dafd77338b92f90c46bccca224f937f751cbb8
diff --git a/lib/dates-between.js b/lib/dates-between.js index <HASH>..<HASH> 100644 --- a/lib/dates-between.js +++ b/lib/dates-between.js @@ -1,5 +1,4 @@ /** - * Dates-between module * @module dates-between */ 'use strict'; @@ -30,7 +29,7 @@ module.exports = function *datesBetween(startDate, endDate) { * @acce...
chore: fix eslint issues
rowanmanning_dates-between
train
js
3a6fadd865dd5cadbf35ca727c85d54ba189022a
diff --git a/swf/src/main/java/com/venky/swf/integration/IntegrationAdaptor.java b/swf/src/main/java/com/venky/swf/integration/IntegrationAdaptor.java index <HASH>..<HASH> 100644 --- a/swf/src/main/java/com/venky/swf/integration/IntegrationAdaptor.java +++ b/swf/src/main/java/com/venky/swf/integration/IntegrationAdapto...
Generalized JSON/XML output in the same way
venkatramanm_swf-all
train
java
e1ca0e72e5fa90649d0c11acdc6a97a224fe22fb
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -1627,6 +1627,15 @@ class HazardMap(djm.Model): class Meta: db_table = 'hzrdr\".\"hazard_map' + def __str__(self): + ...
db/models: Implemented `__str__` and `__repr__` for HazardMap. This makes debugging, etc. nicer.
gem_oq-engine
train
py
b115999a7519b27f67fe960555fca87216b4c9d6
diff --git a/smtp_client.js b/smtp_client.js index <HASH>..<HASH> 100644 --- a/smtp_client.js +++ b/smtp_client.js @@ -311,6 +311,7 @@ exports.get_client_plugin = function (plugin, connection, config, callback) { }); smtp_client.on('helo', function () { + connection.logdebug(plugin, 'Send...
Added logging line for debugging.
haraka_Haraka
train
js
070c1d74220d732713689f463969188e8e3afd6d
diff --git a/src/Graviton/CoreBundle/Service/CoreVersionUtils.php b/src/Graviton/CoreBundle/Service/CoreVersionUtils.php index <HASH>..<HASH> 100644 --- a/src/Graviton/CoreBundle/Service/CoreVersionUtils.php +++ b/src/Graviton/CoreBundle/Service/CoreVersionUtils.php @@ -105,7 +105,7 @@ class CoreVersionUtils ...
removed semver check for installed packages
libgraviton_graviton
train
php
90905d16d38f1f8adbdc587663123a9c8a91d5ab
diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/organizations_controller.rb +++ b/app/controllers/organizations_controller.rb @@ -12,7 +12,6 @@ # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. class Organ...
argh! found and removed explicit call to navigation in controller
Katello_katello
train
rb