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
3023cc111f675898bb47f79a99aec91b77072696
diff --git a/core-bundle/src/Resources/contao/library/Contao/Controller.php b/core-bundle/src/Resources/contao/library/Contao/Controller.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/library/Contao/Controller.php +++ b/core-bundle/src/Resources/contao/library/Contao/Controller.php @@ -1003,6 +1...
[Core] Make sure there's never // in Controller::redirect() because Environment::get('base') always contains one
contao_contao
train
php
11890436898fc470682dc4fd8c291f5d2f5f7a97
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,10 +1,14 @@ var fs = require('fs'); var PI_MODEL_NO = [ + // https://www.raspberrypi.org/documentation/hardware/raspberrypi/ 'BCM2708', 'BCM2709', 'BCM2710', - 'BCM2835', - 'BCM2837B0' + 'BCM2835', // Raspber...
Update index.js Added additional Raspberry Pi model numbers (Pi 2, 3, 4B), and commented which device each refers to. Source of the information also commented.
fourcube_detect-rpi
train
js
84c08e4a3ab7468e6f57099f92034e2ee19f28a6
diff --git a/rdoupdate/actions.py b/rdoupdate/actions.py index <HASH>..<HASH> 100644 --- a/rdoupdate/actions.py +++ b/rdoupdate/actions.py @@ -89,7 +89,7 @@ def download_updates_builds(*files, **kwargs): def get_last_commit_update(dir='.'): with helpers.cdir(dir): - out = git('diff', '--name-status', 'HE...
Don't be overly verbose
yac_rdoupdate
train
py
1145fb57ed2a26c8e50153ceb2fb640f75fe2988
diff --git a/addrmanager.go b/addrmanager.go index <HASH>..<HASH> 100644 --- a/addrmanager.go +++ b/addrmanager.go @@ -595,14 +595,12 @@ func deserialiseNetAddress(addr string) (*btcwire.NetAddress, error) { if err != nil { return nil, err } - ip := net.ParseIP(host) port, err := strconv.ParseUint(portStr, 10,...
handle .onion addresses in deserialising addrmanager. Use the generic function that already handles this.
btcsuite_btcd
train
go
bacbf62b90f1bf8dc08c6f04f9c481424cb6999e
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -40,7 +40,7 @@ if dev_version is not None: version += "-dev" + str(dev_version) install_requires = [ - "astroid>=2.5.0,<=2.6", + "astroid>=2.4.0,<=2.6", "i...
Back to astroid <I>
PyCQA_pylint
train
py
4346e5f80284c65a40162f6508f3e63464036862
diff --git a/src/Bootstrap/Drupal.php b/src/Bootstrap/Drupal.php index <HASH>..<HASH> 100644 --- a/src/Bootstrap/Drupal.php +++ b/src/Bootstrap/Drupal.php @@ -44,12 +44,20 @@ class Drupal } try { - // Add support for Acquia Dev Desktop sites on Mac OS X - // @TODO: Check if thi...
Compatibility with Windows Acquia Dev Desktop (#<I>)
hechoendrupal_drupal-console
train
php
80560de2fd9d0956bb0ac5d474c47ddbf6995139
diff --git a/Kwf/Controller/Action/Media/UploadController.php b/Kwf/Controller/Action/Media/UploadController.php index <HASH>..<HASH> 100644 --- a/Kwf/Controller/Action/Media/UploadController.php +++ b/Kwf/Controller/Action/Media/UploadController.php @@ -14,6 +14,8 @@ class Kwf_Controller_Action_Media_UploadController ...
Show better exception text when file upload error UPLOAD_ERR_INI_SIZE
koala-framework_koala-framework
train
php
df220007da891a9b5b7b6581de39c4b100acd8eb
diff --git a/src/addToReport.js b/src/addToReport.js index <HASH>..<HASH> 100644 --- a/src/addToReport.js +++ b/src/addToReport.js @@ -10,7 +10,7 @@ export function addToReport(pluginInstance, timelineArg) { const { timeline, invocationInstance } = pluginInstance; const entries = (timelineArg || timeline).getEntr...
Replacing .concat with faster array definition with spread operator
iopipe_iopipe-js-trace
train
js
bf3776b47a450e45a7e69792231d7aa0e87c88b0
diff --git a/lib/Predis.php b/lib/Predis.php index <HASH>..<HASH> 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -13,17 +13,13 @@ use Predis\Distribution\IDistributionStrategy; class Client { private $_options, $_profile, $_connection; - public function __construct($parameters = null, $clientOptions = n...
Improve initialization code of Predis\Client instances.
imcj_predis
train
php
7fdc9b91e12c5d624d0efdcde8a329b1b55b5080
diff --git a/spyder/widgets/variableexplorer/utils.py b/spyder/widgets/variableexplorer/utils.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/variableexplorer/utils.py +++ b/spyder/widgets/variableexplorer/utils.py @@ -421,9 +421,12 @@ def value_to_display(value, minmax=False, level=0): display = value...
Display date/times in human readible format in Variable Explorer
spyder-ide_spyder
train
py
470a2841a3a488c7aed2a0f6c3ed3f97bfb8a629
diff --git a/code/controller/CMSMain.php b/code/controller/CMSMain.php index <HASH>..<HASH> 100755 --- a/code/controller/CMSMain.php +++ b/code/controller/CMSMain.php @@ -243,10 +243,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr $def[$class]['defaultChild'] = $obj->defaultChi...
MINOR Removed redundant allowedParents information from siteTreeHints, already contained in allowedChildren
silverstripe_silverstripe-siteconfig
train
php
2b40cbc48ea3744be372672ca6b5ec92b85fdbcd
diff --git a/app/src/Bolt/Extensions.php b/app/src/Bolt/Extensions.php index <HASH>..<HASH> 100644 --- a/app/src/Bolt/Extensions.php +++ b/app/src/Bolt/Extensions.php @@ -698,7 +698,7 @@ class Extensions } // then, attempt to insert it after the last <script> tag within context, matching indentation...
Fix regex for "insertAfterJs" hook.
bolt_bolt
train
php
b75a1e0b794e6a9230735a2f4baa772d7ce83448
diff --git a/SingularityBase/src/main/java/com/hubspot/mesos/SingularityDockerInfo.java b/SingularityBase/src/main/java/com/hubspot/mesos/SingularityDockerInfo.java index <HASH>..<HASH> 100644 --- a/SingularityBase/src/main/java/com/hubspot/mesos/SingularityDockerInfo.java +++ b/SingularityBase/src/main/java/com/hubspo...
also support old constructor, make it deprecated
HubSpot_Singularity
train
java
b984a6f2521b882f5e3d9ec493e6ceaaf4a1f3a6
diff --git a/src/SharpServiceProvider.php b/src/SharpServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/SharpServiceProvider.php +++ b/src/SharpServiceProvider.php @@ -21,7 +21,7 @@ use Code16\Sharp\Http\Middleware\SharpRedirectIfAuthenticated; use Code16\Sharp\Http\SharpContext; use Illuminate\Support\Facades...
Updated for compatability with intervention/image <I>
code16_sharp
train
php
455af85c0c39e621e2e21abbfa0e79dc94b3ccb3
diff --git a/bika/lims/browser/listing/ajax.py b/bika/lims/browser/listing/ajax.py index <HASH>..<HASH> 100644 --- a/bika/lims/browser/listing/ajax.py +++ b/bika/lims/browser/listing/ajax.py @@ -11,6 +11,7 @@ from bika.lims.browser.listing.decorators import returns_safe_json from bika.lims.browser.listing.decorators i...
Include reference analyses in check (#<I>)
senaite_senaite.core
train
py
d9170f12f124f8b75d35acf45aa8dd05c47d9581
diff --git a/core/model/model_test.go b/core/model/model_test.go index <HASH>..<HASH> 100644 --- a/core/model/model_test.go +++ b/core/model/model_test.go @@ -36,7 +36,7 @@ func (*ModelSuite) TestValidateSeries(c *gc.C) { ctrl := gomock.NewController(c) defer ctrl.Finish() cm := NewMockCharmMeta(ctrl) - cm.EX...
TestValidateSeries: expect Meta() more than once
juju_juju
train
go
6f194ba36413816da275c54b1c14c03383fc294b
diff --git a/ELiDE/app.py b/ELiDE/app.py index <HASH>..<HASH> 100644 --- a/ELiDE/app.py +++ b/ELiDE/app.py @@ -17,7 +17,6 @@ from kivy.uix.textinput import TextInput from kivy.factory import Factory -from .charsheet import CharSheet from .board import Board from .texturestack import ImageStack @@ -28,7 +27,6 @...
no such thing as CharSheet anymore
LogicalDash_LiSE
train
py
35080b5f1995cd3a70820d9a9d42a1b9d3ce3e4f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -67,10 +67,10 @@ setup( # Check that the pandoc-fignos script is on the PATH -if not shutil.which('pandoc-xnos'): +if not shutil.which('pandoc-fignos'): msg = """ - ERROR: `pandoc-fignos` script not found. ...
Check that pandoc-fignos is on path.
tomduck_pandoc-fignos
train
py
71f80389d08e570918f19f4df59d8cbbead69374
diff --git a/lib/pg_search/document.rb b/lib/pg_search/document.rb index <HASH>..<HASH> 100644 --- a/lib/pg_search/document.rb +++ b/lib/pg_search/document.rb @@ -1,12 +1,14 @@ -require "logger" +require 'logger' module PgSearch class Document < ActiveRecord::Base include PgSearch + self.table_name = 'p...
Do a nil check, as the association may no longer be present (#<I>)
Casecommons_pg_search
train
rb
66aae47f019b9687b32e1a60e76583595257c468
diff --git a/app/inventory/completed/controller.js b/app/inventory/completed/controller.js index <HASH>..<HASH> 100644 --- a/app/inventory/completed/controller.js +++ b/app/inventory/completed/controller.js @@ -1,7 +1,4 @@ import AbstractPagedController from 'hospitalrun/controllers/abstract-paged-controller'; export...
Removed descending sort due to conflict w/paging
HospitalRun_hospitalrun-frontend
train
js
a3b62f0844d34fe4151c2df72ebbdbdae92b41af
diff --git a/tests/test_menu_launcher.py b/tests/test_menu_launcher.py index <HASH>..<HASH> 100644 --- a/tests/test_menu_launcher.py +++ b/tests/test_menu_launcher.py @@ -415,7 +415,7 @@ def test_running_menu(): child.sendline('5') child.expect('Return to Mode menu') # return to mode - child.sendline(...
Testing 2 for returning from configure to plugins menu.
CyberReboot_vent
train
py
039759814143e33f385294a51dad3abb88c2e4e5
diff --git a/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java b/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java +++ b/c...
double write log: check style violation was fixed.
orientechnologies_orientdb
train
java
51574fa72baf0a82758902ca2623c5492573155f
diff --git a/test/test.js b/test/test.js index <HASH>..<HASH> 100644 --- a/test/test.js +++ b/test/test.js @@ -43,7 +43,7 @@ var token; var createUser = function(user){ return new Promise(function(resolve, reject){ var options = { - url: getClusterPostServer() + "/clusterauth/user", + ...
BUG: Change route for user auth in test
juanprietob_clusterpost
train
js
c00a93aca0aca3e1dd6ef493cb3ef68dfbbb84b4
diff --git a/src/obj.js b/src/obj.js index <HASH>..<HASH> 100644 --- a/src/obj.js +++ b/src/obj.js @@ -66,6 +66,23 @@ constructWrapper(Object, 'obj', { return prop !== undefined; }, /** + * Checks if an object is empty + * @public + * @static + * @method ob...
- added isEmpty to obj
unnoon_bottom_line
train
js
3485bc12220f306663117ef521c1b2cf0283626d
diff --git a/comparators/landmark_score.js b/comparators/landmark_score.js index <HASH>..<HASH> 100644 --- a/comparators/landmark_score.js +++ b/comparators/landmark_score.js @@ -67,6 +67,7 @@ function landmark_score(newVersion, oldVersion, callback) { if (record) { result['result:landmark_score']['DB...
Include record score in wikipedia tag involved
mapbox_osm-compare
train
js
979a121132b82b513f54b5044309c386f843ba04
diff --git a/ratelimit_test.go b/ratelimit_test.go index <HASH>..<HASH> 100644 --- a/ratelimit_test.go +++ b/ratelimit_test.go @@ -121,7 +121,7 @@ func (r *runnerImpl) afterFunc(d time.Duration, fn func()) { }) } -// goWait runs a function in a goroutine and makes sure the gouritine was scheduled. +// goWait runs ...
goWait: Fix typo in comments (#<I>)
uber-go_ratelimit
train
go
dd70310d16631d1765306f5290c51c08a64417a8
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100755 --- a/devices.js +++ b/devices.js @@ -5331,6 +5331,7 @@ const devices = [ 'genGroups', 'hvacThermostat', 'hvacUserInterfaceCfg', + 'msRelativeHumidity', 'msTemperatureMeasu...
Update devices.js (#<I>) Added humidity device bind for Stelpro SMT<I> thermostat
Koenkk_zigbee-shepherd-converters
train
js
86d42af1d7ce034a5289b37dbd73380e42c2d35c
diff --git a/src/main/java/net/sf/mpxj/common/SplitTaskFactory.java b/src/main/java/net/sf/mpxj/common/SplitTaskFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/sf/mpxj/common/SplitTaskFactory.java +++ b/src/main/java/net/sf/mpxj/common/SplitTaskFactory.java @@ -121,7 +121,10 @@ public final class Split...
Don't set complete through for completed split tasks.
joniles_mpxj
train
java
6545f4dbf41ba5f99666b365bcc5dfe445ece8e7
diff --git a/ibis/backends/pandas/execution/strings.py b/ibis/backends/pandas/execution/strings.py index <HASH>..<HASH> 100644 --- a/ibis/backends/pandas/execution/strings.py +++ b/ibis/backends/pandas/execution/strings.py @@ -237,6 +237,8 @@ def execute_group_concat_series_gb_mask( op, data, sep, mask, aggcontext...
fix(pandas): properly handle empty groups when aggregating with `GroupConcat`
ibis-project_ibis
train
py
b93370fd8566be3e2d31bb8ab309116e51126eed
diff --git a/spec/bin_spec.rb b/spec/bin_spec.rb index <HASH>..<HASH> 100644 --- a/spec/bin_spec.rb +++ b/spec/bin_spec.rb @@ -25,7 +25,7 @@ RSpec.describe 'command line invocation' do end it 'outputs the attribution' do - expect(stdout).to match('2014-2016 Ben Balter') + expect(stdout).to match('...
make test match updated (c) year
licensee_licensee
train
rb
f260a748a27bfbc4cf4ad882bbb3cf82e3b2c98d
diff --git a/lib/plugins/deploy/deploy.js b/lib/plugins/deploy/deploy.js index <HASH>..<HASH> 100644 --- a/lib/plugins/deploy/deploy.js +++ b/lib/plugins/deploy/deploy.js @@ -17,11 +17,9 @@ class Deploy { options: { stage: { usage: 'Stage of the service', - required: false, ...
Remove unnecessary "required: false" entries
serverless_serverless
train
js
a4812504df8c479d5065b9faaafbfeda1c9f4eb4
diff --git a/pkg/cmd/cli/cmd/deploy.go b/pkg/cmd/cli/cmd/deploy.go index <HASH>..<HASH> 100644 --- a/pkg/cmd/cli/cmd/deploy.go +++ b/pkg/cmd/cli/cmd/deploy.go @@ -156,7 +156,8 @@ func (o *DeployOptions) Complete(f *clientcmd.Factory, args []string, out io.Wri func (o DeployOptions) Validate() error { if len(o.depl...
Suggest `oc get dc` in output of `oc deploy` This patch suggests `<root_cmd> get dc` as part of the output in `oc deploy` in order to help a user find a list of available deployment configs. `$ oc deploy` ``` error: a deployment config name is required. Use "oc get dc" for a list of available deployment configs. See ...
openshift_origin
train
go
f994c7f8e62aaef41ffa519c588c926def9da95c
diff --git a/pyzotero/zotero.py b/pyzotero/zotero.py index <HASH>..<HASH> 100644 --- a/pyzotero/zotero.py +++ b/pyzotero/zotero.py @@ -1,5 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# pylint: disable=R0904 """ zotero.py
Disabling Pylint warning about too many public methods It's an API wrapper ffs
urschrei_pyzotero
train
py
329791418e91e063a10477876cc834ea4a3775a4
diff --git a/holoviews/plotting/mpl/tabular.py b/holoviews/plotting/mpl/tabular.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/tabular.py +++ b/holoviews/plotting/mpl/tabular.py @@ -115,7 +115,7 @@ class TablePlot(ElementPlot): for col in range(element.cols): if summarize and ...
Fixed missing called to self.pprint_value
pyviz_holoviews
train
py
7da2ae4c4db6f202d8ba612940a2f1f9f0eb6bb0
diff --git a/vagrant.py b/vagrant.py index <HASH>..<HASH> 100644 --- a/vagrant.py +++ b/vagrant.py @@ -382,11 +382,9 @@ class Vagrant(object): started_parsing = True if not started_parsing or not line.strip() or line.strip().startswith('#'): continue - keyval = ...
Simplify cleaning and small fix.
todddeluca_python-vagrant
train
py
36a34b89f63cb6319d340c03234d153c0c986cd7
diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index <HASH>..<HASH> 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -2388,12 +2388,12 @@ function lti_get_shared_secrets_by_key($key) { // Look up the shared secret for the specified key in both the types_config table (for configured tools) ...
MDL-<I> mod_lti: Oracle support for retrieving shared secrets. Thanks to Mark van Hoek!
moodle_moodle
train
php
fedc253a8750b560936975efa4a11e3c69c19964
diff --git a/lib/rubycards/deck.rb b/lib/rubycards/deck.rb index <HASH>..<HASH> 100644 --- a/lib/rubycards/deck.rb +++ b/lib/rubycards/deck.rb @@ -30,7 +30,7 @@ module RubyCards # # @return [Deck] The shuffled deck def shuffle! - @cards = nil + @cards.shuffle! self end diff --git ...
Write a test that verifies the shuffle.
jdan_rubycards
train
rb,rb
34d8ce53048574e866603d947cfb03a319187577
diff --git a/src/Input.js b/src/Input.js index <HASH>..<HASH> 100644 --- a/src/Input.js +++ b/src/Input.js @@ -27,6 +27,7 @@ import {WebMidi} from "./WebMidi.js"; * @fires Input#disconnected * @fires Input#closed * @fires Input#midimessage + * * @fires Input#sysex * @fires Input#timecode * @fires Input#song...
Cosmetic changes in jsdoc comments
djipco_webmidi
train
js
947ac5d7e26daad6082019827e73b1d535f03958
diff --git a/Shared/src/org/bimserver/shared/reflector/RealtimeReflectorFactoryBuilder.java b/Shared/src/org/bimserver/shared/reflector/RealtimeReflectorFactoryBuilder.java index <HASH>..<HASH> 100644 --- a/Shared/src/org/bimserver/shared/reflector/RealtimeReflectorFactoryBuilder.java +++ b/Shared/src/org/bimserver/sha...
Made volatile because of javassist.CannotCompileException: by java.lang.LinkageError: loader (instance of org/apache/catalina/loader/WebappClassLoader): attempted duplicate class definition for name: "org/bimserver/generated/LowLevelInterfaceImpl3"
opensourceBIM_BIMserver
train
java
102bb3d397bd6e6d32848b3a5e4dda91970954fb
diff --git a/lib/ma-zmq/reply.rb b/lib/ma-zmq/reply.rb index <HASH>..<HASH> 100644 --- a/lib/ma-zmq/reply.rb +++ b/lib/ma-zmq/reply.rb @@ -1,11 +1,34 @@ module MaZMQ class Reply < MaZMQ::SocketHandler - # mergear con RoundRobin - #socket_type ZMQ::REP + attr_reader :state def initialize(use_eventmac...
Added @state on Reply object
al-nattahnam_ma-zmq
train
rb
2c30d5757a8d07e4dcae6bd59a4021a8e365e207
diff --git a/bot/action/extra/messages/analyzer.py b/bot/action/extra/messages/analyzer.py index <HASH>..<HASH> 100644 --- a/bot/action/extra/messages/analyzer.py +++ b/bot/action/extra/messages/analyzer.py @@ -145,8 +145,12 @@ class TextMessageAnalyzer(MessageAnalyzer): class PhotoMessageAnalyzer(MessageAnalyzer): ...
Add caption if present in photo summary
alvarogzp_telegram-bot-framework
train
py
21e89df897dcdaa8389dc528cf3cbcef8daa08c5
diff --git a/gitpress/__init__.py b/gitpress/__init__.py index <HASH>..<HASH> 100644 --- a/gitpress/__init__.py +++ b/gitpress/__init__.py @@ -13,4 +13,3 @@ __version__ = '0.2' from . import command from .runner import run -from .server import preview
Expose nothing in API until needed or documented.
joeyespo_gitpress
train
py
dca452f0ed773557f5a5013cd77f76edfcbbb74e
diff --git a/ez_setup.py b/ez_setup.py index <HASH>..<HASH> 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -125,12 +125,7 @@ def _do_download(version, download_base, to_dir, download_delay): # Remove previously-imported pkg_resources if present (see # https://bitbucket.org/pypa/setuptools/pull-request/7/ for d...
Uses an existing method to delete pkg_resources
pypa_setuptools
train
py
61c62e12fe33027bb282b9645be723320e749587
diff --git a/src/actions/SmartDeleteAction.php b/src/actions/SmartDeleteAction.php index <HASH>..<HASH> 100644 --- a/src/actions/SmartDeleteAction.php +++ b/src/actions/SmartDeleteAction.php @@ -22,4 +22,13 @@ class SmartDeleteAction extends SmartPerformAction ], ], 'first'); } + + public ...
SmartDeleteAction now accepts data from GET valiables in POST request
hiqdev_hipanel-core
train
php
58bf52d8ba052fd4f3b51c821badc17327ce60b5
diff --git a/tests/dummy/config/deprecation-workflow.js b/tests/dummy/config/deprecation-workflow.js index <HASH>..<HASH> 100644 --- a/tests/dummy/config/deprecation-workflow.js +++ b/tests/dummy/config/deprecation-workflow.js @@ -12,5 +12,10 @@ window.deprecationWorkflow.config = { { handler: 'silence', matchId: ...
Silence new ember deprecations Some of these are in Ember 4, others are from modifiers, but are very noisy.
ilios_common
train
js
8fa9960e95eac3d711c4367bbd9c02686f56f8ec
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 @@ -6,4 +6,3 @@ include Celerity::Exception java.lang.System.setProperty("java.awt.headless", "true") WatirSpec.browser_args = [{ :log_level => $DEBUG ? :all : :off }] -WatirSpec::S...
Remove example route from spec_helper
jarib_celerity
train
rb
9f3019fd4337337bcbc6b327f13e596d687bd9f5
diff --git a/lib/class-wp-json-server.php b/lib/class-wp-json-server.php index <HASH>..<HASH> 100644 --- a/lib/class-wp-json-server.php +++ b/lib/class-wp-json-server.php @@ -245,7 +245,7 @@ class WP_JSON_Server { * @param WP_JSON_Response $result * @param WP_JSON_Request $request */ - $result = apply_filt...
Make json_pre_dispatch and json_post_dispatch consistent Currentlt `json_post_dispatch` passes the response data and the request object, whereas the `json_pre_dispatch` passes the response data (null), the server and the request object. These filters should be consistent.
WP-API_WP-API
train
php
17c35413138beddc1718a8593ab5149537cba0d5
diff --git a/src/defaults.js b/src/defaults.js index <HASH>..<HASH> 100644 --- a/src/defaults.js +++ b/src/defaults.js @@ -2,9 +2,13 @@ import parsers from './parse/parsers'; const defaults = { beautifier: { - indent_size: 1, - indent_char: ' ', - indent_with_tabs: true + indent_size: 2, + indent_c...
Match HTML beautifier config with what has been used recently on another project
cloudfour_drizzle-builder
train
js
985dc4edaa01614d77cc5b0bbca6772ab622f56c
diff --git a/lib/rack/stream/app.rb b/lib/rack/stream/app.rb index <HASH>..<HASH> 100644 --- a/lib/rack/stream/app.rb +++ b/lib/rack/stream/app.rb @@ -89,6 +89,14 @@ module Rack run_callbacks(:open) { @status, @headers, app_body = @app.call(@env) + app_body = if app_body.respond_to?(:body...
add compatibility with Rail's ActionDispatch::Response bodies
jch_rack-stream
train
rb
cb328caca6287c7995ee5285c6446bffd4ef496b
diff --git a/handler/oauth2/validator.go b/handler/oauth2/validator.go index <HASH>..<HASH> 100644 --- a/handler/oauth2/validator.go +++ b/handler/oauth2/validator.go @@ -1,8 +1,6 @@ package oauth2 import ( - "fmt" - "github.com/ory-am/fosite" "github.com/pkg/errors" "golang.org/x/net/context" @@ -31,10 +29,8...
validator: removed unnecessary logging (#<I>)
ory_fosite
train
go
c9c9fc4adfd3f81f0f0e0dd32cc0e3d4dabe24eb
diff --git a/spec/gibbon/api_request_spec.rb b/spec/gibbon/api_request_spec.rb index <HASH>..<HASH> 100644 --- a/spec/gibbon/api_request_spec.rb +++ b/spec/gibbon/api_request_spec.rb @@ -60,12 +60,6 @@ describe Gibbon::APIRequest do end end - context 'Faraday::Error::ClientError' do - let(:error_class) { ...
test: remove failing deprecated suite
amro_gibbon
train
rb
5160b54aef6ec76f50148a925ddb2674f9a7d1fd
diff --git a/tests/test_git.py b/tests/test_git.py index <HASH>..<HASH> 100644 --- a/tests/test_git.py +++ b/tests/test_git.py @@ -10,6 +10,7 @@ from waliki.git import Git from waliki.settings import WALIKI_DATA_DIR, WALIKI_COMMITTER_EMAIL, WALIKI_COMMITTER_NAME from .factories import PageFactory +git = git.bake("-...
Run git with output to pipe instead of virtual terminal. Default SELinux policy (at least, on Fedora) doesn't allow processes running from Apache HTTP server to create virtual terminals. By default, sh Python module runs processes with output to virtual terminal. This is not needed for git, so it's better to explicit...
mgaitan_waliki
train
py,py
8df68d0fb6f7ebab9541fda0bf806f9d54bff02b
diff --git a/src/libs/Api.php b/src/libs/Api.php index <HASH>..<HASH> 100644 --- a/src/libs/Api.php +++ b/src/libs/Api.php @@ -201,9 +201,6 @@ class Api $modelObj = new $modelClass($route->getQueryParams('model_id')); - if (!$modelObj->can('edit', $this->app['user'])) - return false; - ...
remove advance model permissions check when editing or deleting
infusephp_rest-api
train
php
1758b1dc68fb3d393c95ad7a0ea7deb514a4a0dc
diff --git a/lib/linner.rb b/lib/linner.rb index <HASH>..<HASH> 100644 --- a/lib/linner.rb +++ b/lib/linner.rb @@ -95,12 +95,12 @@ private end def revision + dump_manifest return unless File.exist?(rev = File.join(env.public_folder, env.revision.to_s)) doc = Nokogiri::HTML.parse(File.read rev) ...
dump manifest first, next if didn't exsit revision file
SaitoWu_linner
train
rb
36079e3fa54cd845739db9c8e30f5d4d3c3fe9ab
diff --git a/src/test/java/io/vlingo/actors/plugin/mailbox/concurrentqueue/ExecutorDispatcherTest.java b/src/test/java/io/vlingo/actors/plugin/mailbox/concurrentqueue/ExecutorDispatcherTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/io/vlingo/actors/plugin/mailbox/concurrentqueue/ExecutorDispatcherTest.java +...
Disable excessive logs in test.
vlingo_vlingo-actors
train
java
53e9eaa5e438e721da1b8fd3cb06aa1248442879
diff --git a/lib/Pico.php b/lib/Pico.php index <HASH>..<HASH> 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -965,7 +965,8 @@ class Pico // use REQUEST_URI (requires URL rewriting); e.g. /pico/sub/page if (($this->requestUrl === null) && $this->isUrlRewritingEnabled()) { - $basePath = di...
Fix Pico's REQUEST_URI routing method when installed to /
picocms_Pico
train
php
a412e662e577276f8e23662a2992b1dba78f0272
diff --git a/Event/Log/LogWorkspaceRoleChangeRightEvent.php b/Event/Log/LogWorkspaceRoleChangeRightEvent.php index <HASH>..<HASH> 100644 --- a/Event/Log/LogWorkspaceRoleChangeRightEvent.php +++ b/Event/Log/LogWorkspaceRoleChangeRightEvent.php @@ -139,9 +139,8 @@ class LogWorkspaceRoleChangeRightEvent extends LogGeneric...
No notification on resource for ROLE_ANONYMOUS and ROLE_USER
claroline_CoreBundle
train
php
9ea306aa1b5c7b93d3256902e57fb5898bab5144
diff --git a/ssllabs-scan.go b/ssllabs-scan.go index <HASH>..<HASH> 100644 --- a/ssllabs-scan.go +++ b/ssllabs-scan.go @@ -17,6 +17,7 @@ package main +import "crypto/tls" import "encoding/json" import "flag" import "fmt" @@ -489,7 +490,12 @@ func (manager *Manager) startAssessment(h string) { } func (manage...
Temporarily allow self-signed certificates.
ssllabs_ssllabs-scan
train
go
89ab80d868bc733403c327f949515a6515e36170
diff --git a/health_check/storage/backends.py b/health_check/storage/backends.py index <HASH>..<HASH> 100644 --- a/health_check/storage/backends.py +++ b/health_check/storage/backends.py @@ -3,7 +3,6 @@ import uuid from django.conf import settings from django.core.files.base import ContentFile from django.core.files...
storage: Remove usage of django.utils.six
KristianOellegaard_django-health-check
train
py
a575e2a311776547b606168fbd4e9316d268ab69
diff --git a/libs/linkBankOperations.js b/libs/linkBankOperations.js index <HASH>..<HASH> 100644 --- a/libs/linkBankOperations.js +++ b/libs/linkBankOperations.js @@ -172,6 +172,9 @@ class Linker { */ linkBillsToOperations (bills, options) { const result = {} + + bills = bills.filter(bill => !bill.isThir...
feat: linkBankOperations: ignore third party bills
konnectors_libs
train
js
42dcde2121f8d090381608fe030fa3041b5059ef
diff --git a/marklogic-sesame-functionaltests/src/test/java/com/marklogic/sesame/functionaltests/MarkLogicRepositoryConnectionTest.java b/marklogic-sesame-functionaltests/src/test/java/com/marklogic/sesame/functionaltests/MarkLogicRepositoryConnectionTest.java index <HASH>..<HASH> 100644 --- a/marklogic-sesame-function...
fix functional test, should fail with RepositoryException
marklogic_marklogic-sesame
train
java
9f85c55444362d631896477dbfb4f6336745d39a
diff --git a/ledgerautosync/ledger.py b/ledgerautosync/ledger.py index <HASH>..<HASH> 100644 --- a/ledgerautosync/ledger.py +++ b/ledgerautosync/ledger.py @@ -142,4 +142,7 @@ class HLedger(object): cmd = ["reg", "-w200", "desc:%s"%(payee)] lines = self.run(cmd).splitlines() accts = [ l[92:172...
hledger: if we find many accounts, use the last
egh_ledger-autosync
train
py
56956a84aafaff472dcb06250c4728f7f6864d39
diff --git a/framework/core/views/index.blade.php b/framework/core/views/index.blade.php index <HASH>..<HASH> 100644 --- a/framework/core/views/index.blade.php +++ b/framework/core/views/index.blade.php @@ -8,7 +8,7 @@ $url = app('Flarum\Forum\UrlGenerator'); @foreach ($document->data as $discussion) ...
Use stored slug for generating server-rendered link to discussion Fixes #<I>.
flarum_core
train
php
72ed33a8039fadc549bc775f88aeae042f93b75c
diff --git a/lib/bond/mission.rb b/lib/bond/mission.rb index <HASH>..<HASH> 100644 --- a/lib/bond/mission.rb +++ b/lib/bond/mission.rb @@ -68,7 +68,7 @@ module Bond @matched = @input = @list_prefix = nil if (match = handle_valid_match(input)) @input.instance_variable_set("@matched", @matched) - ...
fixed invalid instance_eval in <I>
cldwalker_bond
train
rb
8dfb2f5c1035da0cfb46a6d60ff0f6c63c2df3b6
diff --git a/src/apps/rings.js b/src/apps/rings.js index <HASH>..<HASH> 100644 --- a/src/apps/rings.js +++ b/src/apps/rings.js @@ -260,7 +260,7 @@ d3plus.apps.rings.draw = function(vars) { if (domain[0] == domain[1]) { domain[0] = 0 } - + var radius = d3.scale.linear() .domain(domain) ...
quickfix for primary Rings node sizing
alexandersimoes_d3plus
train
js
9dce6d0314663a56710abc8fcbb70351ed898b2c
diff --git a/src/main/java/hex/NeuralNet.java b/src/main/java/hex/NeuralNet.java index <HASH>..<HASH> 100644 --- a/src/main/java/hex/NeuralNet.java +++ b/src/main/java/hex/NeuralNet.java @@ -780,7 +780,7 @@ public class NeuralNet extends ValidatedJob { float[] valid_samples = new float[validation_errors.leng...
Fix: Use the number of training points at the time the validation error was computed for the validation error plot.
h2oai_h2o-2
train
java
2f1ca0ffd55a994638175b909e4ce8878a32aaf2
diff --git a/Mixtape/subset_featurizer.py b/Mixtape/subset_featurizer.py index <HASH>..<HASH> 100644 --- a/Mixtape/subset_featurizer.py +++ b/Mixtape/subset_featurizer.py @@ -246,7 +246,19 @@ class SubsetFeatureUnion(TrajFeatureUnion): @property def n_max_i(self): - return [featurizer.n_max for (_, f...
More helper functions on subset union
msmbuilder_msmbuilder
train
py
eca9743ab00f719f6c8619143af729765257f4fb
diff --git a/lib/alfred/task_manager.rb b/lib/alfred/task_manager.rb index <HASH>..<HASH> 100644 --- a/lib/alfred/task_manager.rb +++ b/lib/alfred/task_manager.rb @@ -12,7 +12,7 @@ module Alfred def self.load_tasks task_dirs.each do |dir| - Dir[dir + '/lib/tasks/**_task.rb'].each { |task_file| load...
Fix TaskManager.load_tasks so the tasks in namespaces are also loaded.
anvil-src_anvil-core
train
rb
09a5ea8ba165a071b4439ae675563856616ceb01
diff --git a/lib/modules/blockchain_process/blockchain.js b/lib/modules/blockchain_process/blockchain.js index <HASH>..<HASH> 100644 --- a/lib/modules/blockchain_process/blockchain.js +++ b/lib/modules/blockchain_process/blockchain.js @@ -305,6 +305,13 @@ Blockchain.prototype.isClientInstalled = function (callback) { ...
test if client version is supported, warn if not or can't determine
embark-framework_embark
train
js
c9098d44250491c57d200d59067de247639eddb7
diff --git a/cartoframes/viz/source.py b/cartoframes/viz/source.py index <HASH>..<HASH> 100644 --- a/cartoframes/viz/source.py +++ b/cartoframes/viz/source.py @@ -79,14 +79,17 @@ class Source: raise ValueError('Wrong source input. Valid values are str and DataFrame.') def get_credentials(self): - ...
Return Credentials only for Query Sources
CartoDB_cartoframes
train
py
437e5b731feb5f5b0e7205ff94d15c07c32e83a4
diff --git a/command/upload.py b/command/upload.py index <HASH>..<HASH> 100644 --- a/command/upload.py +++ b/command/upload.py @@ -186,7 +186,7 @@ class upload(PyPIRCCommand): http.putheader('Authorization', auth) http.endheaders() http.send(body) - except socket.error as e...
Issue #<I>: get rid of socket.error, replace with OSError
pypa_setuptools
train
py
edb967fa1baecf26888171f1af3f6dd0089b77da
diff --git a/src/Codeception/Module/Laravel4.php b/src/Codeception/Module/Laravel4.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Module/Laravel4.php +++ b/src/Codeception/Module/Laravel4.php @@ -52,13 +52,13 @@ class Laravel4 extends \Codeception\Util\Framework implements \Codeception\Util\ protected $c...
fixed the laravel 4 module so that it doesn't make assumptions about a directory separator.
Codeception_base
train
php
ee7f008ff54ea9b5f81589af8e47b39f3216b619
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -158,7 +158,7 @@ if command.startswith('install') or \ ) check_external_program( program='unpaper', - need_version='0.4.2', + need_version='6.1', package='unpaper', optional=T...
Require unpaper <I>; no messing around with broken versions
jbarlow83_OCRmyPDF
train
py
fe51d4c4c82821ccca3914b299074f7aa291e97d
diff --git a/lib/einhorn.rb b/lib/einhorn.rb index <HASH>..<HASH> 100644 --- a/lib/einhorn.rb +++ b/lib/einhorn.rb @@ -148,6 +148,7 @@ module Einhorn def self.bind(addr, port, flags) log_info("Binding to #{addr}:#{port} with flags #{flags.inspect}") sd = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0) ...
Make sure sockets we open aren't cloexec
stripe_einhorn
train
rb
66cee3efb8e1c9e4dfab6ca33f4534023909fbf6
diff --git a/react-native/react/constants/platform.native.desktop.js b/react-native/react/constants/platform.native.desktop.js index <HASH>..<HASH> 100644 --- a/react-native/react/constants/platform.native.desktop.js +++ b/react-native/react/constants/platform.native.desktop.js @@ -18,6 +18,10 @@ function findSocketRoo...
Support prod runmode on Linux (On Linux the service doesn't append .prod if it's prod, for some reason.)
keybase_client
train
js
8a9a62e1e9eeb3c6b2537df804d3c8991515cbc1
diff --git a/client/state/push-notifications/actions.js b/client/state/push-notifications/actions.js index <HASH>..<HASH> 100644 --- a/client/state/push-notifications/actions.js +++ b/client/state/push-notifications/actions.js @@ -43,6 +43,9 @@ import { recordTracksEvent, bumpStat } from 'state/analytics/actions';...
Do not init PN support if SU is active
Automattic_wp-calypso
train
js
82546bb6918ee8fe94d27466d1a3d287d382660c
diff --git a/src/Config.php b/src/Config.php index <HASH>..<HASH> 100755 --- a/src/Config.php +++ b/src/Config.php @@ -46,7 +46,7 @@ { foreach ($data as $key => $value) { - list($head, $tail) = explode("_", strtolower($key), 2); + list($head, $tail) = array_pad(explode("_", strtolower($key), 2), 2...
Catch issues when inflating config
irwtdvoys_bolt-core
train
php
addac2734d5f7e5c11707ddff36920cfb8f58b64
diff --git a/src/runSymfonyCommands.php b/src/runSymfonyCommands.php index <HASH>..<HASH> 100755 --- a/src/runSymfonyCommands.php +++ b/src/runSymfonyCommands.php @@ -5,6 +5,7 @@ namespace CubeTools\CubeCommonDevelop; $_mainFile = !\debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1); if ($_mainFile) { + require_onc...
[general] fix runSymfonyCommands, runs successfully now
EmchBerger_cube-common-develop
train
php
7d1835ee986cb48d8bdc22ae87e7d90bdbfe1930
diff --git a/lib/fog/storage.rb b/lib/fog/storage.rb index <HASH>..<HASH> 100644 --- a/lib/fog/storage.rb +++ b/lib/fog/storage.rb @@ -1,4 +1,9 @@ -require "mime/types" +begin + # Use mime/types/columnar if available, for reduced memory usage + require 'mime/types/columnar' +rescue LoadError + require 'mime/types' +...
Decrease Fog Memory footprint Mail <I>+ has a columnar store that only loads the data that is needed for a drastically reduced memory footprint. cc/ @jeremyevans @halostatue
fog_fog-core
train
rb
fb3a6cf5e2f08efdf05447cf1c753bf10384defc
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( 'pillow', 'python-magic', 'requests', 'nltk'], packages=find_packages(exclude=['pliers/tests']), license='MIT', - package_data={'pliers': ['data/*'], + package_data=...
Added datasets to package_data
tyarkoni_pliers
train
py
bd8f7b98808185434b2358143ca1766641da4396
diff --git a/lib/ruby-lint/virtual_machine.rb b/lib/ruby-lint/virtual_machine.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-lint/virtual_machine.rb +++ b/lib/ruby-lint/virtual_machine.rb @@ -304,15 +304,23 @@ module RubyLint name = SEND_MAPPING.fetch(name, name) callback = "on_send_#{name}" + v...
Re-introduced basic method call evaluation.
YorickPeterse_ruby-lint
train
rb
1d8ea2ce35f5a242f0e5c2564736c4fcc73b1eb8
diff --git a/extended-cpts.php b/extended-cpts.php index <HASH>..<HASH> 100644 --- a/extended-cpts.php +++ b/extended-cpts.php @@ -895,7 +895,7 @@ class Extended_CPT_Admin { $num = number_format_i18n( $count->publish ); # This is absolutely not localisable. WordPress 3.8 didn't add a new post type label. - $...
Update the 'At a Glance' code for WordPress <I>
johnbillion_extended-cpts
train
php
2a6353c18db5bbff846d505ad9093fe77251e57f
diff --git a/test/components/loader_spec.js b/test/components/loader_spec.js index <HASH>..<HASH> 100644 --- a/test/components/loader_spec.js +++ b/test/components/loader_spec.js @@ -24,7 +24,6 @@ describe('Loader', function() { }) it('should not contain the MSE/Flash based playbacks when PLAIN_HTML5_ONLY i...
test(loader): remove unnecessary lines from test files
clappr_clappr
train
js
0b9b510f70c6b5f44d578a110549e9fdc1581198
diff --git a/src/Command/CacheRebuildCommand.php b/src/Command/CacheRebuildCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/CacheRebuildCommand.php +++ b/src/Command/CacheRebuildCommand.php @@ -80,7 +80,7 @@ class CacheRebuildCommand extends ContainerAwareCommand $cache = $dialog->askAndValidate( ...
The cache_keys use argument is declared but never used in src/Command/CacheRebuildCommand.php, line <I>.
hechoendrupal_drupal-console
train
php
019c40675abc974f0f9dde30b160aca3e482ddb5
diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js index <HASH>..<HASH> 100644 --- a/converters/fromZigbee.js +++ b/converters/fromZigbee.js @@ -4751,7 +4751,7 @@ const converters = { } return {brightness: mapNumberRange(value, 10, 1000, 0, 254)}; ...
Fix "Received unexpected Tuya DataPoint #2" error for _TZE<I>_dfxkcots. <URL>
Koenkk_zigbee-shepherd-converters
train
js
2eae54b84ae459d15b18b172778763e41cbda82d
diff --git a/lib/sem4r/campaign/campaign_service.rb b/lib/sem4r/campaign/campaign_service.rb index <HASH>..<HASH> 100644 --- a/lib/sem4r/campaign/campaign_service.rb +++ b/lib/sem4r/campaign/campaign_service.rb @@ -34,6 +34,7 @@ module Sem4r @service_namespace = "https://adwords.google.com/api/adwords/cm/v201008...
ummm, fixing the missing production service url for campaigns, how did this get through a release?
26fe_sem4r
train
rb
1323b8410cec4c5baaa4a2cdfc0cccf9bff7ff58
diff --git a/spec/mongo/database_spec.rb b/spec/mongo/database_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongo/database_spec.rb +++ b/spec/mongo/database_spec.rb @@ -322,7 +322,7 @@ describe Mongo::Database do end end - describe '#fs' do + describe '#fs', unless: sharded? do let(:database) do ...
Don't test insert then read on sharded clusters in #fs test, write concern is not set
mongodb_mongo-ruby-driver
train
rb
08e9809c79c9b75c5fc4bd41d96777d937baf9f1
diff --git a/custodian/cp2k/jobs.py b/custodian/cp2k/jobs.py index <HASH>..<HASH> 100644 --- a/custodian/cp2k/jobs.py +++ b/custodian/cp2k/jobs.py @@ -127,7 +127,10 @@ class Cp2kJob(Job): os.mkdir(f"relax{self.suffix}") for f in fs: if not os.path.isdir(f): - ...
Move (not copy) if its the last calc in series.
materialsproject_custodian
train
py
79073d63679bd7ed3bec1ae7ec38b1c7b8afa318
diff --git a/src/Viewable.php b/src/Viewable.php index <HASH>..<HASH> 100644 --- a/src/Viewable.php +++ b/src/Viewable.php @@ -17,6 +17,10 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\MorphMany; use CyrildeWit\EloquentViewable\Contracts\View as ViewContract; +/** + * @meth...
Update Viewable Add PHPDoc block to allow IDE to pick on query scope easily
cyrildewit_eloquent-viewable
train
php
d38710f29d7a02ea17321cd840412386b8efe392
diff --git a/src/ox_modules/module-pdf.js b/src/ox_modules/module-pdf.js index <HASH>..<HASH> 100644 --- a/src/ox_modules/module-pdf.js +++ b/src/ox_modules/module-pdf.js @@ -258,6 +258,11 @@ function validateReverse(arg, name) { } function resolvePath(pdfFilePath, options) { + + pdfFilePath = pdfFilePath.trim()...
pdf resolvePath refactor
oxygenhq_oxygen
train
js
521fe8deb5cd06160aa28163727c46497db461d0
diff --git a/python-package/lightgbm/basic.py b/python-package/lightgbm/basic.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/basic.py +++ b/python-package/lightgbm/basic.py @@ -3160,7 +3160,7 @@ class Booster: Returns ------- - upper_bound : double + upper_bound : float ...
[docs][python] Fix return types in docstrings (#<I>) Update basic.py
Microsoft_LightGBM
train
py
74195affdf872f5a6f7774a5987866d45359b132
diff --git a/lib/getFilterInfosAndTargetContentTypeFromQueryString.js b/lib/getFilterInfosAndTargetContentTypeFromQueryString.js index <HASH>..<HASH> 100644 --- a/lib/getFilterInfosAndTargetContentTypeFromQueryString.js +++ b/lib/getFilterInfosAndTargetContentTypeFromQueryString.js @@ -1080,6 +1080,7 @@ module.exports ...
Flush the operations pipeline when switching to a different engine, fixes #<I>
papandreou_express-processimage
train
js,js
7095a7ca7d985d5447aed80cf3e41a4f8c19b954
diff --git a/src/utils.js b/src/utils.js index <HASH>..<HASH> 100644 --- a/src/utils.js +++ b/src/utils.js @@ -71,7 +71,7 @@ function defaultGetLocalIdent( let relativeMatchResource = ""; // eslint-disable-next-line no-underscore-dangle - if (loaderContext._module.matchResource) { + if (loaderContext._module ...
fix: crash with thread-loader (#<I>)
webpack-contrib_css-loader
train
js
644aeb5313fd8f5884c65deff139277ef2fa97dd
diff --git a/RetryTrait.php b/RetryTrait.php index <HASH>..<HASH> 100644 --- a/RetryTrait.php +++ b/RetryTrait.php @@ -9,6 +9,14 @@ trait RetryTrait $e = null; $numberOfRetires = $this->getNumberOfRetries(); + if (false == is_numeric($numberOfRetires)) { + throw new \LogicException...
[sqs] fix hanged tests.
php-enqueue_test
train
php
3f92b77af7af983d31a336d215d10e2aaa19fe86
diff --git a/cmd2.py b/cmd2.py index <HASH>..<HASH> 100755 --- a/cmd2.py +++ b/cmd2.py @@ -2030,6 +2030,10 @@ class Cmd2TestCase(unittest.TestCase): self.cmdapp = self.CmdApp() self.fetchTranscripts() + # Make sure any required initialization gets done and flush the output buffer ...
Transcript testing now calls preloop() before and postloop() after
python-cmd2_cmd2
train
py
253183ffc8c38823c6841f16787e2784b9c51db3
diff --git a/src/frontend/org/voltdb/export/ExportCoordinator.java b/src/frontend/org/voltdb/export/ExportCoordinator.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/export/ExportCoordinator.java +++ b/src/frontend/org/voltdb/export/ExportCoordinator.java @@ -355,7 +355,6 @@ public class ExportCoordinato...
ENG-<I>: do not reset mastership on leadership change (#<I>)
VoltDB_voltdb
train
java
2b6fd77db5473ce74fea5363ce25ff9b488cd0d7
diff --git a/lib/capybara/server.rb b/lib/capybara/server.rb index <HASH>..<HASH> 100644 --- a/lib/capybara/server.rb +++ b/lib/capybara/server.rb @@ -55,6 +55,7 @@ class Capybara::Server end def boot + return self unless @app find_available_port Capybara.log "application has already booted" and re...
Make sure server does nothing when no app given
teamcapybara_capybara
train
rb,rb
0653e617bd3c4091cbddf6ed12aced356e265970
diff --git a/src/doc/conf.py b/src/doc/conf.py index <HASH>..<HASH> 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -23,9 +23,9 @@ if MOCK_MODULES and on_rtd: project = 'Astral' author = 'Simon Kennedy' -copyright = '2009-2014, %s' % author +copyright = '2009-2015, %s' % author version = '0.8' -release...
* Version number changed to <I> * Copyright year updated
sffjunkie_astral
train
py
245396d12f36876e7edd389af00de9788132f915
diff --git a/js/carousel.js b/js/carousel.js index <HASH>..<HASH> 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -397,7 +397,7 @@ if (n === undefined) { n = 1; } - target = offset + dim * n; + target = (dim * Math.round(offset / dim) + dim * n); if (o...
Fixing carousel misalign when switching slides too quickly
Dogfalo_materialize
train
js
179d5b97d68c6cc86d479fa714f1590c4f55ac97
diff --git a/src/Model/Resource.php b/src/Model/Resource.php index <HASH>..<HASH> 100644 --- a/src/Model/Resource.php +++ b/src/Model/Resource.php @@ -168,6 +168,15 @@ class Resource implements \ArrayAccess // A create action can simply return 201 Created with a location. if (isset($data['status']) ...
Work around HTTP / HTTPS issue with <I> responses
platformsh_platformsh-client-php
train
php