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
4a4a635d2fe5eab711cca2f429e758c0301cbb6f
diff --git a/Collection.php b/Collection.php index <HASH>..<HASH> 100644 --- a/Collection.php +++ b/Collection.php @@ -161,7 +161,7 @@ class Collection implements ArrayAccess, ArrayableInterface, Countable, Iterator */ public function map(Closure $callback) { - return array_map($callback, $this->items); + ...
Collection `map` and `filter` both return new `Collection` instances now. Closes #<I>.
illuminate_support
train
php
fe2c5d5de09149634f29bca9ce17624dd91e4629
diff --git a/frontend-maven-plugin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/InstallNodeAndNpmMojo.java b/frontend-maven-plugin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/InstallNodeAndNpmMojo.java index <HASH>..<HASH> 100644 --- a/frontend-maven-plugin/src/main/java/com/github/ei...
ThreadSafe Node and NPM installation add threadsafe annotation to InstallNodeAndNpmMojo
eirslett_frontend-maven-plugin
train
java
52a22db7d5b61e2474c69680dc2b1119ec0f064e
diff --git a/lxd/network/network_load.go b/lxd/network/network_load.go index <HASH>..<HASH> 100644 --- a/lxd/network/network_load.go +++ b/lxd/network/network_load.go @@ -1,9 +1,6 @@ package network import ( - "github.com/pkg/errors" - - "github.com/lxc/lxd/lxd/project" "github.com/lxc/lxd/lxd/state" ) @@ -43,...
lxd/network/network/load: Removes unused Validate
lxc_lxd
train
go
30cbca675d20e36ce42481b77f8e53cef2805be8
diff --git a/contribs/gmf/src/controllers/abstractdesktop.js b/contribs/gmf/src/controllers/abstractdesktop.js index <HASH>..<HASH> 100644 --- a/contribs/gmf/src/controllers/abstractdesktop.js +++ b/contribs/gmf/src/controllers/abstractdesktop.js @@ -94,7 +94,9 @@ gmf.AbstractDesktopController = function(config, $scope...
Load tiles while animating and interacting (desktop)
camptocamp_ngeo
train
js
ea58a68ee3b1b0a51a47055f2346921cde9e6238
diff --git a/Tests/Unit/System/DateTime/FormatServiceTest.php b/Tests/Unit/System/DateTime/FormatServiceTest.php index <HASH>..<HASH> 100644 --- a/Tests/Unit/System/DateTime/FormatServiceTest.php +++ b/Tests/Unit/System/DateTime/FormatServiceTest.php @@ -116,7 +116,7 @@ class FormatServiceTest extends UnitTest */...
Fixed one test that would yield another result with PHP <I>
TYPO3-Solr_ext-solr
train
php
5402dc1ec896ace83e163b52efea47ef9a8e681d
diff --git a/bcbio/variation/mutect2.py b/bcbio/variation/mutect2.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/mutect2.py +++ b/bcbio/variation/mutect2.py @@ -106,7 +106,7 @@ def mutect2_caller(align_bams, items, ref_file, assoc_files, params += _add_tumor_params(paired, items, gatk_type) ...
Only do that when all BAMs are paired
bcbio_bcbio-nextgen
train
py
cf628f88b8c77b59325f8184fc64c281722c0386
diff --git a/hollow/src/main/java/com/netflix/hollow/api/codegen/CodeGeneratorConfig.java b/hollow/src/main/java/com/netflix/hollow/api/codegen/CodeGeneratorConfig.java index <HASH>..<HASH> 100644 --- a/hollow/src/main/java/com/netflix/hollow/api/codegen/CodeGeneratorConfig.java +++ b/hollow/src/main/java/com/netflix/h...
added comment about initWithNextMajorVersionDefaults_V3
Netflix_hollow
train
java
c308312c15096f67c1e2875913a7f7b474e7e0f3
diff --git a/SpiffWorkflow/task.py b/SpiffWorkflow/task.py index <HASH>..<HASH> 100644 --- a/SpiffWorkflow/task.py +++ b/SpiffWorkflow/task.py @@ -279,6 +279,10 @@ class Task(object): self.children[0]._set_state(self.FUTURE) else: self._drop_children(force=True) + if taskinfo['...
Make sure that this task is predicted - in hindsight, this may also set the state to FUTURE and I won't have to do it above
knipknap_SpiffWorkflow
train
py,py
54d1b2d691238e692df680a36fc95ca51a882dac
diff --git a/latex/build.py b/latex/build.py index <HASH>..<HASH> 100644 --- a/latex/build.py +++ b/latex/build.py @@ -6,6 +6,14 @@ from tempdir import TempDir class LaTeXError(Exception): + """LaTeX call exception.""" + + #: Contents of the log-file that was generated (if any). + log = None + + #: The...
Added docs for LaTeXError.
mbr_latex
train
py
73225a083aec8545a8f6c2adb57e826217bed98f
diff --git a/src/main/org/openscience/cdk/dict/DictionaryDatabase.java b/src/main/org/openscience/cdk/dict/DictionaryDatabase.java index <HASH>..<HASH> 100644 --- a/src/main/org/openscience/cdk/dict/DictionaryDatabase.java +++ b/src/main/org/openscience/cdk/dict/DictionaryDatabase.java @@ -56,7 +56,7 @@ public class Di...
Fixed reading of the cdk/dict/data/elements.owl database which is now in OWL
cdk_cdk
train
java
3b6cd85a94e13fb626eada5e81849dd1a8901ae7
diff --git a/DataFixtures/ORM/LoadOrdersData.php b/DataFixtures/ORM/LoadOrdersData.php index <HASH>..<HASH> 100644 --- a/DataFixtures/ORM/LoadOrdersData.php +++ b/DataFixtures/ORM/LoadOrdersData.php @@ -100,7 +100,7 @@ class LoadOrdersData extends DataFixture $payment->setCurrency($order->getCurrency()); ...
Deprecate the old getPayment and setPayment methods.
Sylius_SyliusFixturesBundle
train
php
4833cad86e374cc971a12797df27453533fa7a2c
diff --git a/lib/nrser/rspex.rb b/lib/nrser/rspex.rb index <HASH>..<HASH> 100644 --- a/lib/nrser/rspex.rb +++ b/lib/nrser/rspex.rb @@ -102,6 +102,8 @@ module NRSER::RSpex end end # #called_with + alias_method :when_called_with, :called_with + end # module ExampleGroup end # module NRSER...
Add when_called_with alias for called_with
nrser_nrser.rb
train
rb
237f75c58d83a5483b341e4252b3301ab6c83591
diff --git a/aiogram/types/reply_keyboard.py b/aiogram/types/reply_keyboard.py index <HASH>..<HASH> 100644 --- a/aiogram/types/reply_keyboard.py +++ b/aiogram/types/reply_keyboard.py @@ -41,7 +41,7 @@ class ReplyKeyboardMarkup(base.TelegramObject): :rtype: :obj:`types.ReplyKeyboardMarkup` """ ...
Fix ReplyKeyboardMarkup's add method Fix when add method taking multiple buttons was adding one button to a new row and then adding items to rows according to row_width
aiogram_aiogram
train
py
5ceee4e7b573459eeb8ee6f14a13f7c23cfafc05
diff --git a/views/js/ui/usermgr.js b/views/js/ui/usermgr.js index <HASH>..<HASH> 100644 --- a/views/js/ui/usermgr.js +++ b/views/js/ui/usermgr.js @@ -61,9 +61,9 @@ define([ type: 'GET' }).done(function(response) { - $rendering = $(layout(response)); - ...
'use strict' but forgot to add var statements.
oat-sa_tao-core
train
js
23073787eea11fe591d6ebd6336284be2f634f14
diff --git a/view/frontend/web/js/view/payment/method-renderer/checkoutcom_google_pay.js b/view/frontend/web/js/view/payment/method-renderer/checkoutcom_google_pay.js index <HASH>..<HASH> 100755 --- a/view/frontend/web/js/view/payment/method-renderer/checkoutcom_google_pay.js +++ b/view/frontend/web/js/view/payment/met...
Removed unused code in google pay js
checkout_checkout-magento2-plugin
train
js
13758ed6a61a1f2c209f197534f48423cc2dddd2
diff --git a/bundle/Controller/Controller.php b/bundle/Controller/Controller.php index <HASH>..<HASH> 100644 --- a/bundle/Controller/Controller.php +++ b/bundle/Controller/Controller.php @@ -7,7 +7,7 @@ use eZ\Bundle\EzPublishCoreBundle\Controller as BaseController; abstract class Controller extends BaseController { ...
Fix base controller to not load root location twice
netgen_ezplatform-site-api
train
php
09059ecd5d1f079e6842b37efbf01198b519a7f3
diff --git a/src/main/java/me/moocar/logbackgelf/Transport.java b/src/main/java/me/moocar/logbackgelf/Transport.java index <HASH>..<HASH> 100644 --- a/src/main/java/me/moocar/logbackgelf/Transport.java +++ b/src/main/java/me/moocar/logbackgelf/Transport.java @@ -7,6 +7,7 @@ import java.net.InetAddress; import java.net...
d<I>ac6aab9b2e<I>dda<I>df<I>abd fixed an issue with Windows but broke Linux system, this should work across both
Moocar_logback-gelf
train
java
45bf55cc90045e748211c8e35fceef34639da913
diff --git a/lib/lita/handlers/users.rb b/lib/lita/handlers/users.rb index <HASH>..<HASH> 100644 --- a/lib/lita/handlers/users.rb +++ b/lib/lita/handlers/users.rb @@ -5,9 +5,9 @@ module Lita class Users extend Lita::Handler::ChatRouter - route /^users\s+find\s+(.+)/i, :find, command: true, help: { + ...
Parenthesize method call with ambiguous regex literal.
litaio_lita
train
rb
9b46fe3b229d27a2455a0cc9946998dc2c89d227
diff --git a/src/style_manager/model/PropertyStack.js b/src/style_manager/model/PropertyStack.js index <HASH>..<HASH> 100644 --- a/src/style_manager/model/PropertyStack.js +++ b/src/style_manager/model/PropertyStack.js @@ -10,6 +10,9 @@ export default Property.extend({ // The separator used to join layer values ...
Add `prepend` option to the stack style manager type
artf_grapesjs
train
js,js
452f5939aab125aa4cacbdd0435f8d09804b7669
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -26,7 +26,7 @@ Dir["./spec/support/**/*.rb"].sort.each {|f| require f} Capybara.app = Rack::ShowExceptions.new(Testbed::Application) # Checks for pending migrations before tests ar...
Modify spec helper to try and get travis to run again
kjayma_surveyor_gui
train
rb
5bd6bc57301d3a187923daf8cc44564dc0354f48
diff --git a/bika/lims/browser/fields/uidreferencefield.py b/bika/lims/browser/fields/uidreferencefield.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/fields/uidreferencefield.py +++ b/bika/lims/browser/fields/uidreferencefield.py @@ -101,6 +101,8 @@ class UIDReferenceField(StringField): :rtype: BaseCo...
Remove verbosity of UIDReference.get when no value is assigned
senaite_senaite.core
train
py
3804d38c6d654880ec642862f1819c97c7f426e6
diff --git a/shared/chat/conversation/messages/message-popup/header.js b/shared/chat/conversation/messages/message-popup/header.js index <HASH>..<HASH> 100644 --- a/shared/chat/conversation/messages/message-popup/header.js +++ b/shared/chat/conversation/messages/message-popup/header.js @@ -76,7 +76,7 @@ const MessagePo...
Fix mobile crasher (#<I>)
keybase_client
train
js
084fa910d07cef6ef70be7da60e6f1c978dc4eef
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,8 @@ function load(filename) { /** * Get a function that a client can use to update metadata with authentication - * information from a Google Auth credential object. + * information from a Google Auth credentia...
Added comment about where Google credentials come from
grpc_grpc-node
train
js
64172a6e9fb83824a8d364f3021f09482f6e7731
diff --git a/py3status/modules/xrandr_rotate.py b/py3status/modules/xrandr_rotate.py index <HASH>..<HASH> 100644 --- a/py3status/modules/xrandr_rotate.py +++ b/py3status/modules/xrandr_rotate.py @@ -58,6 +58,9 @@ class Py3status: vertical_icon = 'V' vertical_rotation = 'left' + def __init__(self): + ...
Fix not initialized 'displayed' field in xrandr_rotate
ultrabug_py3status
train
py
32b5ecfbd3bb7a3d88e555d30d24f146f4379133
diff --git a/src/helpers/DiffHelper.php b/src/helpers/DiffHelper.php index <HASH>..<HASH> 100644 --- a/src/helpers/DiffHelper.php +++ b/src/helpers/DiffHelper.php @@ -16,11 +16,13 @@ class DiffHelper } $content = '<div class="pull-right">'; - $content .= '<span class="badge ' . $class . '" st...
Making dashboard diffs a bit more readable
remp2020_crm-application-module
train
php
9ac053ac7b173bc53547d577f4e6954b46870f8c
diff --git a/host/scan_analog.py b/host/scan_analog.py index <HASH>..<HASH> 100644 --- a/host/scan_analog.py +++ b/host/scan_analog.py @@ -12,7 +12,7 @@ class AnalogScan(ScanBase): def __init__(self, config_file, definition_file=None, bit_file=None, device=None, scan_identifier="scan_analog", scan_data_path=None):...
MAINT: should be <I> by default
SiLab-Bonn_pyBAR
train
py
eba1ad6cbd3313d1a456e11449ef9da07f71390b
diff --git a/src/bezier/_curve_helpers.py b/src/bezier/_curve_helpers.py index <HASH>..<HASH> 100644 --- a/src/bezier/_curve_helpers.py +++ b/src/bezier/_curve_helpers.py @@ -334,8 +334,10 @@ def _compute_length(nodes): first_deriv = (num_nodes - 1) * (nodes[:, 1:] - nodes[:, :-1]) if num_nodes == 0: ...
Fixing lint error (unnecessary else after raise/return).
dhermes_bezier
train
py
73dc376b6a4fbde2af653fa4400cdd725a58d71d
diff --git a/src/ToastContainer.js b/src/ToastContainer.js index <HASH>..<HASH> 100644 --- a/src/ToastContainer.js +++ b/src/ToastContainer.js @@ -78,7 +78,12 @@ module.exports = React.createClass({ toastId, key, ref: `toasts__${ key }`, - handleOnClick: this._handle_toast_on_click, + ...
feat(ToastContainer): add support for optionsOverride.handleOnClick * So react component actions can be dispatched * Closes #<I> * Original
tomchentw_react-toastr
train
js
3dec89d5d692ab0fabf85b22a20e7e030bb4635a
diff --git a/core/src/main/java/org/jboss/jca/core/connectionmanager/listener/TxConnectionListener.java b/core/src/main/java/org/jboss/jca/core/connectionmanager/listener/TxConnectionListener.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/jboss/jca/core/connectionmanager/listener/TxConnectionListener.jav...
JBJCA-<I> fixing the condition with doSetRollbackOnly boolean (#<I>)
ironjacamar_ironjacamar
train
java
fb5c1141b68d80bfbac4c91a03149f7c49b9b103
diff --git a/wtforms_html5.py b/wtforms_html5.py index <HASH>..<HASH> 100644 --- a/wtforms_html5.py +++ b/wtforms_html5.py @@ -1,3 +1,5 @@ +# -*- coding: UTF-8 -*- + """ Generates render keywords for widgets of WTForms HTML5 fields.
added encoding for py<I> support
brutus_wtforms-html5
train
py
d6864e52f96a58dbc62d3db49f67bb5e9d58880c
diff --git a/zappa/handler.py b/zappa/handler.py index <HASH>..<HASH> 100644 --- a/zappa/handler.py +++ b/zappa/handler.py @@ -9,6 +9,7 @@ import json import inspect import collections import zipfile +import base64 import boto3 import sys @@ -457,8 +458,14 @@ class LambdaHandler(object): zappa_r...
fixed error when using this for normal HTTP endpoints.
Miserlou_Zappa
train
py
fe9ccdf21a8e6af72fd5e2eb1ff36e6d8003ee32
diff --git a/p2p/transport/websocket/conn_browser.go b/p2p/transport/websocket/conn_browser.go index <HASH>..<HASH> 100644 --- a/p2p/transport/websocket/conn_browser.go +++ b/p2p/transport/websocket/conn_browser.go @@ -64,22 +64,21 @@ func (c *Conn) Read(b []byte) (int, error) { for { c.currDataMut.RLock() - n,...
Simplify Conn.Read logic
libp2p_go-libp2p
train
go
5b6de53b18a037a5b3ba0c20e7472ccbf1afccba
diff --git a/Editor/src/com/kotcrab/vis/editor/module/project/FontCacheModule.java b/Editor/src/com/kotcrab/vis/editor/module/project/FontCacheModule.java index <HASH>..<HASH> 100644 --- a/Editor/src/com/kotcrab/vis/editor/module/project/FontCacheModule.java +++ b/Editor/src/com/kotcrab/vis/editor/module/project/FontCa...
Change default text to actually include all letters
kotcrab_vis-ui
train
java
bb81275e62d11234dff1d944fc0f10e92dcb209d
diff --git a/shared/util/feature-flags.native.js b/shared/util/feature-flags.native.js index <HASH>..<HASH> 100644 --- a/shared/util/feature-flags.native.js +++ b/shared/util/feature-flags.native.js @@ -17,7 +17,7 @@ const ff: FeatureFlags = { newTeamBuildingForChatAllowMakeTeam: false, outOfDateBanner: false, ...
no new router on master (#<I>)
keybase_client
train
js
2d29e1ab5da130dca41d380d2047aad0c7f5699f
diff --git a/lib/acts_as_revisable/acts/deletable.rb b/lib/acts_as_revisable/acts/deletable.rb index <HASH>..<HASH> 100644 --- a/lib/acts_as_revisable/acts/deletable.rb +++ b/lib/acts_as_revisable/acts/deletable.rb @@ -2,6 +2,9 @@ module WithoutScope module ActsAsRevisable module Deletable def self.inclu...
add callbacks for revisions created on destroy
rich_acts_as_revisable
train
rb
119e406bbedc48d18767fbb1125866fd2bfa7861
diff --git a/parsers/AcfunFormat.js b/parsers/AcfunFormat.js index <HASH>..<HASH> 100644 --- a/parsers/AcfunFormat.js +++ b/parsers/AcfunFormat.js @@ -43,7 +43,7 @@ function AcfunParser(jsond){ console.log('[Dbg] ' + data.text); continue; } - data.text = x.n.replace(/\r/g,"\n"); + data.text = x.n...
Fixed AcFun parser to not change \r to \n
jabbany_CommentCoreLibrary
train
js
e99a0c5bc9d920b5d1780e81d7ed8d61f0737384
diff --git a/pyensembl/ensembl_release.py b/pyensembl/ensembl_release.py index <HASH>..<HASH> 100644 --- a/pyensembl/ensembl_release.py +++ b/pyensembl/ensembl_release.py @@ -44,6 +44,10 @@ class EnsemblRelease(Genome): species = check_species_object(species) return (release, species, server) + #...
added comment explaining use of WeakValueDictionary
openvax_pyensembl
train
py
588f3046dbd13e737f5e9c665b981dfaa401e6ab
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -9,11 +9,15 @@ __author__ = 'Edgar Walker, Fabian Sinz, Dimitri Yatsenko' import logging from os import environ + +# turn on verbose logging +logging.basicConfig(level=logging.DEBUG) + ...
move logging verbosity to top
datajoint_datajoint-python
train
py
bf708aa824bf082f7041039dd1e9c1a3c8a0ef7b
diff --git a/framework/yii/db/pgsql/Schema.php b/framework/yii/db/pgsql/Schema.php index <HASH>..<HASH> 100644 --- a/framework/yii/db/pgsql/Schema.php +++ b/framework/yii/db/pgsql/Schema.php @@ -225,7 +225,7 @@ SQL; } $citem = [$foreignTable]; foreach ($columns as $idx => $column) { - $citem[$fcolumns[$i...
Fixes #<I>: foreign key is incorrectly determined for pgsql.
yiisoft_yii2-debug
train
php
5f83cd879e69ae64c5bd361a6e0e6b6fbc96df46
diff --git a/website/siteConfig.js b/website/siteConfig.js index <HASH>..<HASH> 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -37,7 +37,7 @@ const siteConfig = { {doc: 'design/index', label: 'Docs'}, {href: '/community/', label: 'Community'}, {href: 'https://www.apache.org', label: 'A...
Fix download link in header links (#<I>)
apache_incubator-druid
train
js
1f11bf0a33e9b468fe4f7203bdb3a58f4fd75299
diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/model/SegmentOpsBase.java b/richtextfx/src/main/java/org/fxmisc/richtext/model/SegmentOpsBase.java index <HASH>..<HASH> 100644 --- a/richtextfx/src/main/java/org/fxmisc/richtext/model/SegmentOpsBase.java +++ b/richtextfx/src/main/java/org/fxmisc/richtext/model/S...
Fix bug: empty segment has no text
FXMisc_RichTextFX
train
java
4aa115f67741bdf2284a78816112ffd4b02d462f
diff --git a/packages/hoc-input/src/index.js b/packages/hoc-input/src/index.js index <HASH>..<HASH> 100644 --- a/packages/hoc-input/src/index.js +++ b/packages/hoc-input/src/index.js @@ -1 +1,2 @@ export { default, formInputProps } from "./formInput"; +export { default as styledInput } from "./styledComponents/Wrapper...
feat(hoc-input): export the wrapper style as part of the lib affects: @crave/farmblocks-hoc-input
CraveFood_farmblocks
train
js
e150429296bd555df06f7f0ef59d3e92bdbda9a1
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100755 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -4474,6 +4474,34 @@ def test_blackwing_corruptor(): assert game.player1.hero.health == 27 +def test_crackle(): + game = prepare_game(SHAMAN, SHAMAN) + crackle = game.player1.give("...
Add tests for Crackle and I Am Murloc
jleclanche_fireplace
train
py
c4890d949bb975a9824ecabd9c64d678ac9c6293
diff --git a/cmd/admin-trace.go b/cmd/admin-trace.go index <HASH>..<HASH> 100644 --- a/cmd/admin-trace.go +++ b/cmd/admin-trace.go @@ -111,7 +111,7 @@ EXAMPLES: `, } -const timeFormat = "15:04:05.000" +const timeFormat = "2006-01-02T15:04:05:000" var ( colors = []color.Attribute{color.FgCyan, color.FgWhite, co...
trace: display time in UTC format (#<I>)
minio_mc
train
go
2b40ce8d70b4d16544933d402ef0e30cf72d0cb9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open('requirements.txt') as f: setuptools.setup( name="luthor-for-lex", - version='0.0.11', + version='0.0.12.dev0', author="Troy Larson", author_email="troylar@gmail.com", descri...
Back to development: <I>
troylar_luthor-for-lex
train
py
fcc78dae1f7ecef76abacadc98657d5780a713f0
diff --git a/modules_v4/example-theme.disable/module.php b/modules_v4/example-theme.disable/module.php index <HASH>..<HASH> 100644 --- a/modules_v4/example-theme.disable/module.php +++ b/modules_v4/example-theme.disable/module.php @@ -20,8 +20,7 @@ use const PATHINFO_EXTENSION; * Example theme. Here we are extending...
Apply fixes from StyleCI (#<I>)
fisharebest_webtrees
train
php
b337905bfeaef123fd9a59b4c8510863a881b8df
diff --git a/goldman/response.py b/goldman/response.py index <HASH>..<HASH> 100644 --- a/goldman/response.py +++ b/goldman/response.py @@ -17,6 +17,31 @@ class Response(FalconResponse): super(Response, self).__init__(*args, **kwargs) self.serializer = None + self._init_default_headers() + + ...
include a Vary header on our responses by default The value is currently 'Accept, Prefer' & the comments in the commit describe the rational
sassoo_goldman
train
py
c33f3b34bad9a7bc44dccb2c27b2f33dd5bb9c07
diff --git a/test/regression/issue_4383.py b/test/regression/issue_4383.py index <HASH>..<HASH> 100755 --- a/test/regression/issue_4383.py +++ b/test/regression/issue_4383.py @@ -55,10 +55,18 @@ with driver.Cluster(initial_servers=['source1', 'source2', 'target'], output_fol }).run(conn) utils.print...
makign regression/issue_<I> less timing dependent
rethinkdb_rethinkdb
train
py
8cd6163975c6c0cf2ac776d87ffef8f4c16f5668
diff --git a/ecell4/deprecated.py b/ecell4/deprecated.py index <HASH>..<HASH> 100644 --- a/ecell4/deprecated.py +++ b/ecell4/deprecated.py @@ -16,7 +16,11 @@ def deprecated(suggest=None): doc = "[Deprecated]\n" else: doc = "[Deprecated] Use '" + suggest + "' instead.\n" - wrapp...
fix: Check whether the original docstring is not None when deprecated
ecell_ecell4
train
py
08e3c14c67e6d58eb642073ce676849a9198d911
diff --git a/app/resonant-reference-app/Router.js b/app/resonant-reference-app/Router.js index <HASH>..<HASH> 100644 --- a/app/resonant-reference-app/Router.js +++ b/app/resonant-reference-app/Router.js @@ -90,6 +90,7 @@ var Router = Backbone.Router.extend({ window.mainPage.switchToolchain(toolchainId) ...
Close the overlay when URLs are pasted
Kitware_candela
train
js
f6be26e4b58bc70920f272ef850b9a9f6f8dc9d5
diff --git a/test/complex.js b/test/complex.js index <HASH>..<HASH> 100644 --- a/test/complex.js +++ b/test/complex.js @@ -332,7 +332,7 @@ describe('Complex Queue', function() { }) it('drain should still work with persistent queues', function (done) { - var initialQueue = new Queue(function (n, cb) { + va...
Not sure why travis is complaining...
diamondio_better-queue
train
js
01342788496f46b47f075950fde2d15ec3a375ff
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -185,6 +185,7 @@ def classical(sources, src_filter, gsims, param, monitor): truncation_level = param['truncation_leve...
Cleanup [skip CI]
gem_oq-engine
train
py,py
1a7a56a70629ca086ef7939af9a0c92351fd01db
diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js index <HASH>..<HASH> 100644 --- a/src/playbacks/hls/hls.js +++ b/src/playbacks/hls/hls.js @@ -230,6 +230,7 @@ class HLS extends Playback { if (this.dvrInUse !== previousDvrInUse) { this.updateSettings() this.trigger('playback:dvr', this...
hls: dispatch dvrInUse stats (close #<I>)
clappr_clappr
train
js
989419d9af9a8a87ba40188f64d97dd267b3f6a7
diff --git a/src/app/drivers/options.py b/src/app/drivers/options.py index <HASH>..<HASH> 100644 --- a/src/app/drivers/options.py +++ b/src/app/drivers/options.py @@ -486,6 +486,6 @@ peptable_options.update({ 'phosphorylation from the protein expression variation in the sample. ' 'This file can also b...
Correction in options help, it is not a bad idea to total-protein-correct with a median-centered protein table
glormph_msstitch
train
py
9f77c2af26352f060b8d1016f9d9a554914ecc58
diff --git a/lib/gzipped_tar/reader.rb b/lib/gzipped_tar/reader.rb index <HASH>..<HASH> 100644 --- a/lib/gzipped_tar/reader.rb +++ b/lib/gzipped_tar/reader.rb @@ -10,8 +10,9 @@ module GZippedTar end def read(path) - result = reader.detect { |entry| entry.full_name == path } - result && result.read...
Tar results don't include Enumerable in old Rubygems. Also, we need to read the value while enumerating, rather than afterwards.
pat_gzipped_tar
train
rb
4833bcafd4a0ae086c1ac2a431956d129fecb27e
diff --git a/ninja-appengine-module/src/main/java/ninja/appengine/NinjaAppengineEnvironmentImpl.java b/ninja-appengine-module/src/main/java/ninja/appengine/NinjaAppengineEnvironmentImpl.java index <HASH>..<HASH> 100644 --- a/ninja-appengine-module/src/main/java/ninja/appengine/NinjaAppengineEnvironmentImpl.java +++ b/n...
force high replication datastore in test mode
ninjaframework_ninja-appengine
train
java
6da1af90467aadc1d89c7a8c1d36a4a811df85fe
diff --git a/vdf/__init__.py b/vdf/__init__.py index <HASH>..<HASH> 100644 --- a/vdf/__init__.py +++ b/vdf/__init__.py @@ -89,7 +89,7 @@ def parse(fp, mapper=dict, merge_duplicate_keys=True, escaped=True): re_keyvalue = re.compile(r'^("(?P<qkey>(?:\\.|[^\\"])+)"|(?P<key>#?[a-z0-9\-\_\\\?$%]+))' ...
Added support for single / inside unquoted values
ValvePython_vdf
train
py
d8bdb19c0ec665c5ced27f3c07fe8fc47ff1573a
diff --git a/dataviews/plots.py b/dataviews/plots.py index <HASH>..<HASH> 100644 --- a/dataviews/plots.py +++ b/dataviews/plots.py @@ -1459,7 +1459,7 @@ class ScatterPlot(CurvePlot): self._stack = self._check_stack(points, Scatter) self.ax = None - super(ScatterPlot, self).__init__(zorder, **...
Fixed bug in ScatterPlot, not allowing display of unstacked View
pyviz_holoviews
train
py
10211b0c0d5d2a74bae7d52465a13e2a1c5d81f1
diff --git a/pyarlo/__init__.py b/pyarlo/__init__.py index <HASH>..<HASH> 100644 --- a/pyarlo/__init__.py +++ b/pyarlo/__init__.py @@ -184,7 +184,8 @@ class PyArlo(object): device.get('state') == 'provisioned': base = ArloBaseStation(name, device, self.__token, self) de...
Fixes memory leak on self.__base_stations list (#<I>)
tchellomello_python-arlo
train
py
7a2f17c007c18d152fa3a1fcf5e06fc4dac902f1
diff --git a/lib/model-api/renderer.rb b/lib/model-api/renderer.rb index <HASH>..<HASH> 100644 --- a/lib/model-api/renderer.rb +++ b/lib/model-api/renderer.rb @@ -85,7 +85,7 @@ module ModelApi end end opts = ModelApi::Utils.contextual_metadata_opts(attr_metadata, opts) - opts[:operat...
Bug fix for issue whereby current operation was getting corrupted rendering nested objects.
PrecisionHawk_model-api
train
rb
f816987edca374f144b175540cafbcd4e134c65e
diff --git a/src/Mpociot/BotMan/Button.php b/src/Mpociot/BotMan/Button.php index <HASH>..<HASH> 100644 --- a/src/Mpociot/BotMan/Button.php +++ b/src/Mpociot/BotMan/Button.php @@ -96,4 +96,4 @@ class Button implements JsonSerializable { return $this->toArray(); } -} \ No newline at end of file +}
Apply fixes from StyleCI (#<I>)
botman_botman
train
php
76016ad4e1c20b49cd94c0b9f3fdc0b5c783ed27
diff --git a/pypot/server/snap.py b/pypot/server/snap.py index <HASH>..<HASH> 100644 --- a/pypot/server/snap.py +++ b/pypot/server/snap.py @@ -151,17 +151,17 @@ class SnapRobotServer(AbstractServer): return rr.get_primitive_properties_list(primitive) # Hacks (no restfull) to record movements - ...
ajout multi motor recording in Snap!
poppy-project_pypot
train
py
cfb19f48ac2eb558a39828c9290e26b166dc6e1d
diff --git a/pypump/models/collection.py b/pypump/models/collection.py index <HASH>..<HASH> 100644 --- a/pypump/models/collection.py +++ b/pypump/models/collection.py @@ -23,7 +23,9 @@ _log = logging.getLogger(__name__) class Collection(AbstractModel): - def __init__(self, id): + def __init__(self, id=No...
Fix #<I> (collections)
xray7224_PyPump
train
py
9d29f1ee543ae585119bfb2414186f559cbef99d
diff --git a/bin/samp-server-cli.py b/bin/samp-server-cli.py index <HASH>..<HASH> 100755 --- a/bin/samp-server-cli.py +++ b/bin/samp-server-cli.py @@ -346,8 +346,22 @@ def main(argv): config = options.pop('config') if config is not None: - shutil.copy(os.path.join(workdir, convert_path(config, workdir)), - ...
Search for config file in <workdir>/configs/
Zeex_samp-server-cli
train
py
acd75c6a5daa41c70178baddd3d777ac1472a452
diff --git a/lib/rack/test/uploaded_file.rb b/lib/rack/test/uploaded_file.rb index <HASH>..<HASH> 100644 --- a/lib/rack/test/uploaded_file.rb +++ b/lib/rack/test/uploaded_file.rb @@ -57,9 +57,7 @@ module Rack tempfile.rewind buf = String.new - until tempfile.eof? - buffer << tempfile...
Satisfy pointless rubucop demands
rack-test_rack-test
train
rb
6c0303dadf7a60c48127ce0c837c1678ecdc01a2
diff --git a/src/test/java/org/jdbdt/DBSetupTest.java b/src/test/java/org/jdbdt/DBSetupTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/jdbdt/DBSetupTest.java +++ b/src/test/java/org/jdbdt/DBSetupTest.java @@ -57,6 +57,7 @@ public class DBSetupTest extends DBTestCase { if (populate) { populate(...
DBSetupTest: additional assertion to check if a data set becomes read-only after being used with populate()
JDBDT_jdbdt
train
java
70351009ac268210eb7d8b8ccfee9fc409e7e54e
diff --git a/src/Contao/View/Contao2BackendView/Subscriber/WidgetBuilder.php b/src/Contao/View/Contao2BackendView/Subscriber/WidgetBuilder.php index <HASH>..<HASH> 100644 --- a/src/Contao/View/Contao2BackendView/Subscriber/WidgetBuilder.php +++ b/src/Contao/View/Contao2BackendView/Subscriber/WidgetBuilder.php @@ -201,7...
Not detected if the widget is a checkbox class with reflection #<I>
contao-community-alliance_dc-general
train
php
21beb86f8fb38ff44b9cfa4668c4e67f95d8b344
diff --git a/forms/gridfield/GridFieldAddNewButton.php b/forms/gridfield/GridFieldAddNewButton.php index <HASH>..<HASH> 100644 --- a/forms/gridfield/GridFieldAddNewButton.php +++ b/forms/gridfield/GridFieldAddNewButton.php @@ -23,7 +23,7 @@ class GridFieldAddNewButton implements GridField_HTMLProvider { public functi...
MINOR Using localized name rather than model class for GridFieldAddNewButton UI (related to <I>d<I>cf and pull request #<I>)
silverstripe_silverstripe-framework
train
php
969ab319f89dbf9abda83f30b32dc4c88388c5e1
diff --git a/lib/dimples/version.rb b/lib/dimples/version.rb index <HASH>..<HASH> 100644 --- a/lib/dimples/version.rb +++ b/lib/dimples/version.rb @@ -1,3 +1,3 @@ module Dimples - VERSION = "0.1" + VERSION = "1.0.0" end \ No newline at end of file
Switched to semantic versioning.
waferbaby_dimples
train
rb
4e4e0926da5500fe52a7afab1635f8df410c43ac
diff --git a/salt/utils/minions.py b/salt/utils/minions.py index <HASH>..<HASH> 100644 --- a/salt/utils/minions.py +++ b/salt/utils/minions.py @@ -348,18 +348,18 @@ class CkMinions(object): tgt = ipaddress.ip_network(tgt) # Target is a network proto = 'ipv{...
Utilize prepared grains var in master-side ipcidr matching At least partially fixes #<I> et al. (tnx @fantasy<I> for analysis)
saltstack_salt
train
py
4ee7be97dcd2ef4fb5c044f0bf507bcf22b359c3
diff --git a/src/PathReducer/WeightedRandomPathReducer.php b/src/PathReducer/WeightedRandomPathReducer.php index <HASH>..<HASH> 100644 --- a/src/PathReducer/WeightedRandomPathReducer.php +++ b/src/PathReducer/WeightedRandomPathReducer.php @@ -31,14 +31,15 @@ class WeightedRandomPathReducer extends AbstractPathReducer ...
Improve weighted random path reducer
tienvx_mbt-bundle
train
php
663d33e9b4d6bb488889a8ff6aa272cbb44cec10
diff --git a/codalib/bagatom.py b/codalib/bagatom.py index <HASH>..<HASH> 100644 --- a/codalib/bagatom.py +++ b/codalib/bagatom.py @@ -42,7 +42,8 @@ def wrapAtom(xml, id, title, author=None, updated=None, author_uri=None, alt=Non entryTag, ATOM + "link", rel='alternate', - ...
added type attr to alternate links, added relevant assert in simple feed test
unt-libraries_codalib
train
py,py
c388cbdce7a5c04be0a2b7fd8a8d562a598c9653
diff --git a/plugin/summernote-ext-video.js b/plugin/summernote-ext-video.js index <HASH>..<HASH> 100644 --- a/plugin/summernote-ext-video.js +++ b/plugin/summernote-ext-video.js @@ -94,6 +94,7 @@ .attr('width', '640').attr('height', '360'); } else { // this is not a known video link. Now what, Cat...
Fixed video plugin for urls that don't match any of the video url patterns
summernote_summernote
train
js
33a76aea37f2f790f45d3c1103cafe2c9945f654
diff --git a/pyclustering/cluster/kmeans.py b/pyclustering/cluster/kmeans.py index <HASH>..<HASH> 100755 --- a/pyclustering/cluster/kmeans.py +++ b/pyclustering/cluster/kmeans.py @@ -602,7 +602,10 @@ class kmeans: maximum_change = float('inf') else: - changes = self.__metric(self._...
Fix kmeans for user defined metrics
annoviko_pyclustering
train
py
aeab6cd578fa8e06c5683b8eebb69bff245a8aeb
diff --git a/python/bigdl/utils/common.py b/python/bigdl/utils/common.py index <HASH>..<HASH> 100644 --- a/python/bigdl/utils/common.py +++ b/python/bigdl/utils/common.py @@ -283,14 +283,17 @@ def create_spark_conf(): sparkConf.setAll(bigdl_conf.items()) return sparkConf - def get_spark_context(conf = None...
Ignore some folders from doctest scanning (#<I>) * remove movielens downloading from unittest * fix spark<I> Lock problem * fix return
intel-analytics_BigDL
train
py
8be2f63973a70e21f1d9c1dff777f5a11e8f9981
diff --git a/backgrid-grouped-columns.js b/backgrid-grouped-columns.js index <HASH>..<HASH> 100644 --- a/backgrid-grouped-columns.js +++ b/backgrid-grouped-columns.js @@ -117,6 +117,8 @@ }); }); + column.set("childcolumn",true); + // Add main column rows[colNesti...
- added option to rotate child header text - ability to add prefix text to child header text
FortesSolutions_backgrid-grouped-columns
train
js
6931f822faf92ec2ec32d3a5202de9ef16abcec3
diff --git a/salt/engines/thorium.py b/salt/engines/thorium.py index <HASH>..<HASH> 100644 --- a/salt/engines/thorium.py +++ b/salt/engines/thorium.py @@ -1,10 +1,7 @@ -# -*- coding: utf-8 -*- """ Manage the Thorium complex event reaction system """ -from __future__ import absolute_import, print_function, unicode_li...
Drop Py2 and six on salt/engines/thorium.py
saltstack_salt
train
py
3c7649932b235f0bee48b5113f0cfdd0e282d774
diff --git a/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb b/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb index <HASH>..<HASH> 100644 --- a/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb +++ b/spec/knapsack_pro/runners/queue/rspec_runner_spec.rb @@ -129,6 +129,36 @@ describe KnapsackPro::Runners::Q...
test case to raise exception when tag option is used with rspec split by test examples feature
KnapsackPro_knapsack_pro-ruby
train
rb
1084bdf27488316469f407b2ff1dc2846bb49b95
diff --git a/test/aria/widgets/skin/button/verticalAlign/VerticalAlignParent.js b/test/aria/widgets/skin/button/verticalAlign/VerticalAlignParent.js index <HASH>..<HASH> 100644 --- a/test/aria/widgets/skin/button/verticalAlign/VerticalAlignParent.js +++ b/test/aria/widgets/skin/button/verticalAlign/VerticalAlignParent....
fix #<I> ButtonVerticalAlignTestSuite Allowing tests from ButtonVerticalAlignTestSuite to pass for other skins than atskin and atflatskin.
ariatemplates_ariatemplates
train
js
b70f9cc3a15629f7fc06e383794cd818676dd6e9
diff --git a/src/main/ruby/resque/jruby_worker.rb b/src/main/ruby/resque/jruby_worker.rb index <HASH>..<HASH> 100644 --- a/src/main/ruby/resque/jruby_worker.rb +++ b/src/main/ruby/resque/jruby_worker.rb @@ -496,8 +496,9 @@ module Resque ( JRubyWorker::RESQUE_2x ? WorkerRegistry : Worker ).class_eval do # Retu...
Resque::Worker#find has an optional second options arg (since <I>) ... also set hostname/pid like super does - just to be a better citizen
kares_jruby-rack-worker
train
rb
830db5ed7733165835521eb3ed2b4cc4cf696e14
diff --git a/astar.go b/astar.go index <HASH>..<HASH> 100644 --- a/astar.go +++ b/astar.go @@ -61,20 +61,22 @@ func Path(from, to Pather) (path []Pather, distance float64, found bool) { current := heap.Pop(nq).(*node) current.open = false current.closed = true + + if current == nm.get(to) { + // Found a pat...
Patch for beefsack/go-astar Issue 1, moving goal condition check in astar.go to preserve optimality
beefsack_go-astar
train
go
01814bba896e72eb26954b4e2069469cb5e06f3b
diff --git a/test/test_helper.rb b/test/test_helper.rb index <HASH>..<HASH> 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -15,6 +15,7 @@ if ENV["COVERAGE"] end require 'bundler' +Bundler.setup require 'minitest/autorun' require 'action_pack' require 'action_controller'
This will allow you to run the "rake" command by itself, as mentioned in the README, without requiring you to prefix with bundle exec
haml_haml
train
rb
e28096260e38293957389d21f639e8fdd8271df6
diff --git a/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCHeaderGenerator.java b/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCHeaderGenerator.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCHeaderGenerator.java +++ b/src/main/java/com/google/devtools/j2o...
Only define typedefs for unprefixed types if they are top-level types.
google_j2objc
train
java
d9a5396c1dee5f848ee997a440d4a4f2d9158823
diff --git a/records.py b/records.py index <HASH>..<HASH> 100644 --- a/records.py +++ b/records.py @@ -189,6 +189,10 @@ class RecordCollection(object): return rows + def as_dict(self, ordered=False): + return self.all(as_dict=not(ordered), as_ordereddict=ordered) + + class Database(object): ...
allow calling as_dict on entire RecordCollection
kennethreitz_records
train
py
de70d1787cf8b6f109199b9d7e71cdb890bf1665
diff --git a/moto/core/access_control.py b/moto/core/access_control.py index <HASH>..<HASH> 100644 --- a/moto/core/access_control.py +++ b/moto/core/access_control.py @@ -1,3 +1,17 @@ +""" +This implementation is NOT complete, there are many things to improve. +The following is a list of the most important missing feat...
Collected TODOs in the header of the access_control file.
spulec_moto
train
py
b5ae61016c0c3450ec9b04db34831990786c0e4a
diff --git a/src/Str.php b/src/Str.php index <HASH>..<HASH> 100644 --- a/src/Str.php +++ b/src/Str.php @@ -135,6 +135,8 @@ final class Str implements \Countable { * * This operation is case-insensitive * + * The empty string is not considered to be a part of any other string + * * @param string $suffix th...
Clarify existing behavior of 'endsWithIgnoreCase' with empty needle
delight-im_PHP-Str
train
php,php
be3de2f3b67c88f615d8d01e084354a904e4a509
diff --git a/bitshares/transactionbuilder.py b/bitshares/transactionbuilder.py index <HASH>..<HASH> 100644 --- a/bitshares/transactionbuilder.py +++ b/bitshares/transactionbuilder.py @@ -184,6 +184,7 @@ class TransactionBuilder(dict): unsigned/partial transaction in order to simplify later sig...
[txbuilder] construct tx prior to adding additional data
bitshares_python-bitshares
train
py
cfbf61f60c56ba7b710882ad1c8f296d40b09a87
diff --git a/src/SilverStripe/BehatExtension/Context/BasicContext.php b/src/SilverStripe/BehatExtension/Context/BasicContext.php index <HASH>..<HASH> 100644 --- a/src/SilverStripe/BehatExtension/Context/BasicContext.php +++ b/src/SilverStripe/BehatExtension/Context/BasicContext.php @@ -115,8 +115,8 @@ JS; $j...
wait for DOM to remove attribute use window.jQuery instead of $ updated to removeAttr method
jeffreyguo_SS-Behat-quicksetup
train
php
a4434a352344a722bc205df9ad598bb0f38e16fb
diff --git a/src/ServiceContainer/WordpressBehatExtension.php b/src/ServiceContainer/WordpressBehatExtension.php index <HASH>..<HASH> 100644 --- a/src/ServiceContainer/WordpressBehatExtension.php +++ b/src/ServiceContainer/WordpressBehatExtension.php @@ -162,6 +162,7 @@ class WordpressBehatExtension implements Extensio...
Create `wordpress.path` param for Symphony
paulgibbs_behat-wordpress-extension
train
php
039661156116cb6d3c5c8e372ed4d81af221453b
diff --git a/spec/unit/application/face_base_spec.rb b/spec/unit/application/face_base_spec.rb index <HASH>..<HASH> 100755 --- a/spec/unit/application/face_base_spec.rb +++ b/spec/unit/application/face_base_spec.rb @@ -55,6 +55,7 @@ describe Puppet::Application::FaceBase do it "should stop if the first thing found...
maint: better error reporting when test fails This test ensures, among other things, that we get a log message. If that fails, we were trying to call a random method on nil; making that an assertion means that we get a nice message rather than a failure that needs decoding.
puppetlabs_puppet
train
rb
35ecf52fccf8626e8db91e8c4abf3f5a9a556f5d
diff --git a/lib/tasks.php b/lib/tasks.php index <HASH>..<HASH> 100644 --- a/lib/tasks.php +++ b/lib/tasks.php @@ -23,6 +23,7 @@ group('deploy',function() { }else { $cmd[] = "mkdir -p {$app->env->shared_dir}/uploads"; + $cmd[] = "mkdir -p {$app->env->release_dir}/public"; $cmd[] = "rm -rf {$app->env->re...
Make sure there is a public folder, just in case there isn't one in the repo.
tamagokun_pomander-wordpress
train
php
d587a2bc75294c4874d3049d485b3c9ab55f3c2e
diff --git a/lib/generators/cantango/permit_generator.rb b/lib/generators/cantango/permit_generator.rb index <HASH>..<HASH> 100644 --- a/lib/generators/cantango/permit_generator.rb +++ b/lib/generators/cantango/permit_generator.rb @@ -35,7 +35,7 @@ module Cantango return "#{name}_permit.erb" if user? ...
fixed role and role_group generators
kristianmandrup_cantango
train
rb,rb
39089dcc028b7cbec65ef73b1d2253f520b0a61a
diff --git a/lib/Bugsnag.js b/lib/Bugsnag.js index <HASH>..<HASH> 100644 --- a/lib/Bugsnag.js +++ b/lib/Bugsnag.js @@ -155,14 +155,17 @@ export class Configuration { * an instance of Report. */ registerBeforeSendCallback = (callback) => { - this.beforeSendCallbacks.add(callback) + this.beforeSendCallba...
[js] Remove shim in register/unregister callbacks s/add/push s/remove/splice
bugsnag_bugsnag-react-native
train
js
33ba6c3bc10aa7fa5d97c736c649569de7e058a9
diff --git a/tests/unit/grains/test_disks.py b/tests/unit/grains/test_disks.py index <HASH>..<HASH> 100644 --- a/tests/unit/grains/test_disks.py +++ b/tests/unit/grains/test_disks.py @@ -117,9 +117,13 @@ class DisksGrainsTestCase(TestCase, LoaderModuleMockMixin): "1", "1", ] - ...
Added autospec=True to test_disks.py unit test - Added autospec=True to "patch" instructions - Extracted patches from "with" block and pre-defined them to improve the code readability
saltstack_salt
train
py
a0aebf3b6c89ef9cef2b93b57b2baa947a285c20
diff --git a/tests/PHPUnit/Fixtures/InvalidVisits.php b/tests/PHPUnit/Fixtures/InvalidVisits.php index <HASH>..<HASH> 100644 --- a/tests/PHPUnit/Fixtures/InvalidVisits.php +++ b/tests/PHPUnit/Fixtures/InvalidVisits.php @@ -73,7 +73,7 @@ class Test_Piwik_Fixture_InvalidVisits extends Test_Piwik_BaseFixture ...
Investigating travis build failure... (<I>th commit)
matomo-org_matomo
train
php
50ca669149b0c4a92f10c5a33cd71aeae500c16b
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -155,7 +155,7 @@ describe('chai-immutable (' + typeEnv + ')', function () { // } fail(function () { expect(actual).to.equal(expected); - }, 'AssertionError: expected { Objec...
Fix tests around AssertionError messages
astorije_chai-immutable
train
js
11f7e9652701664cf63ee60319dcddc2dcf203a4
diff --git a/dbt/compilation.py b/dbt/compilation.py index <HASH>..<HASH> 100644 --- a/dbt/compilation.py +++ b/dbt/compilation.py @@ -112,8 +112,8 @@ class Compiler(object): src_fqn = ".".join(source_model) ref_fqn = ".".join(other_model_fqn) - if not self.model_can_reference(mod...
disable model scoping (for now)
fishtown-analytics_dbt
train
py
358165225aee6a6382a93761948b0efa3051ab90
diff --git a/test/require.plain.js b/test/require.plain.js index <HASH>..<HASH> 100644 --- a/test/require.plain.js +++ b/test/require.plain.js @@ -1,3 +1,4 @@ +'use strict'; /* * This is an ugly hack that simply reads a couple of source files * and adds `module.exports` so we can require it: @@ -5,7 +6,7 @@ * v...
fixing require.plain to satisfy jshint
medialize_sass.js
train
js
4deab89876e1771815bf47c2bb15b5b20b379fa1
diff --git a/lib/twingly/url.rb b/lib/twingly/url.rb index <HASH>..<HASH> 100644 --- a/lib/twingly/url.rb +++ b/lib/twingly/url.rb @@ -22,7 +22,7 @@ module Twingly def extract_url_and_domain(potential_url) url = Addressable::URI.heuristic_parse(potential_url) - domain = PublicSuffix.parse(url.host...
Don't extract domain if there's no valid url
twingly_twingly-url
train
rb,rb
df364c3c7a198e33ab3b34544915d5c9cdc3b1d6
diff --git a/opentsdb/__init__.py b/opentsdb/__init__.py index <HASH>..<HASH> 100644 --- a/opentsdb/__init__.py +++ b/opentsdb/__init__.py @@ -2,4 +2,4 @@ from .tsdb_client import TSDBClient, TSDBConnectProtocols from .metrics import Counter, Gauge from .exceptions import * -__version__ = '0.5.0' +__version__ = '0....
Remove unused override for __getattr__. It may help to avoid cycling in some cases.
scarchik_opentsdb-py
train
py,py