hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
521fb2830829ab4c86d687b5bcd7f8ed2cbb06a7
diff --git a/tasks/fontfactory.js b/tasks/fontfactory.js index <HASH>..<HASH> 100644 --- a/tasks/fontfactory.js +++ b/tasks/fontfactory.js @@ -145,9 +145,8 @@ module.exports = function(grunt) { // TODO: Handle possibility of no svg element var svg = doc.getElementsByTagName("svg")[0]; - // TODO: Handle p...
Removing px from the end of width and height definitions in SVG input files
cameronhunter_grunt-fontfactory
train
89e6f9314592d130ef01a8cff6c95803f7c81428
diff --git a/src/main/java/com/xebia/incubator/xebium/ExtendedSeleniumCommand.java b/src/main/java/com/xebia/incubator/xebium/ExtendedSeleniumCommand.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/xebia/incubator/xebium/ExtendedSeleniumCommand.java +++ b/src/main/java/com/xebia/incubator/xebium/ExtendedSeleni...
Use accessor method instead of direct access.
xebia_Xebium
train
bc351e5450e16f00407369fb9bc1a88976213447
diff --git a/src/OutputFilter.php b/src/OutputFilter.php index <HASH>..<HASH> 100644 --- a/src/OutputFilter.php +++ b/src/OutputFilter.php @@ -97,8 +97,8 @@ class OutputFilter // Remove any '-' from the string since they will be used as concatenaters $str = str_replace('-', ' ', $string); - $lang = Language::g...
Language <I> consistency To be consistent with Language package <I>, ``OutputFilter::stringURLSafe()`` should use ``LanguageFactory::getLanguage()`` rather than ``Language::getInstance()``. An issue would be to have an uninitialized LanguageFactory and throw the "The $path variable cannot be null when creating a n...
joomla-framework_filter
train
67119e8759a554f80d58f99bce3f8b1e21928a11
diff --git a/test/context/http/actions-test.js b/test/context/http/actions-test.js index <HASH>..<HASH> 100644 --- a/test/context/http/actions-test.js +++ b/test/context/http/actions-test.js @@ -141,6 +141,64 @@ vows.describe('actions').addBatch({ }, }, + 'redirect using framework function': { + topic: ...
Test cases for using framework-provided redirect.
jaredhanson_passport
train
841e895186fe8bc143c7cd7e16fe9468891dbca2
diff --git a/lib/excon/socket.rb b/lib/excon/socket.rb index <HASH>..<HASH> 100644 --- a/lib/excon/socket.rb +++ b/lib/excon/socket.rb @@ -25,11 +25,6 @@ module Excon @read_buffer = '' @eof = false - @data[:family] ||= ::Socket::Constants::AF_UNSPEC - if @data[:proxy] - @data[:proxy][:f...
connection data can not be mutated for thread safety
excon_excon
train
da2fc7babe70a8940c04665220cdd4a6bd4492f0
diff --git a/firebirdsql/wireprotocol.py b/firebirdsql/wireprotocol.py index <HASH>..<HASH> 100644 --- a/firebirdsql/wireprotocol.py +++ b/firebirdsql/wireprotocol.py @@ -138,8 +138,7 @@ class WireProtocol(object): n += 4 - nbytes % 4 # 4 bytes word alignment r = bs([]) while n: - ...
jython<I> support is deprecated
nakagami_pyfirebirdsql
train
8145d42e07770f3441b9e2a6b517ae0bf717842b
diff --git a/src/Objection/LiteObject.php b/src/Objection/LiteObject.php index <HASH>..<HASH> 100644 --- a/src/Objection/LiteObject.php +++ b/src/Objection/LiteObject.php @@ -154,7 +154,9 @@ abstract class LiteObject { $this->validateFieldAccess($name, AccessRestriction::NO_SET); $value = ValueValidation::fix...
Add support for properties of object type and SET only proeprties are not saved inside array
Oktopost_Objection
train
47ac579f092cef9128fa0c74798ecaffa2c888f9
diff --git a/cmd/web.go b/cmd/web.go index <HASH>..<HASH> 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -206,7 +206,7 @@ func runWeb(ctx *cli.Context) { m.Get("/issues", user.Issues) }, reqSignIn) - // API. + // ***** START: API ***** // FIXME: custom form error response. m.Group("/api", func() { m.Group("/...
only assign auto-admin when sign up by web
gogs_gogs
train
a54b2e28f7ec60ff91435590d34586be349215c1
diff --git a/tests/management/test_runner.py b/tests/management/test_runner.py index <HASH>..<HASH> 100644 --- a/tests/management/test_runner.py +++ b/tests/management/test_runner.py @@ -1,55 +1,12 @@ -import copy -import imp -import os - -import mock -from django.test import TestCase -from whitenoise.django import Dja...
Simplify tests for runner.py module Less mocking, more easy :P
mvantellingen_localshop
train
b045fc0ad3587e8620fb42a0dea882cf8c08aef9
diff --git a/radix.go b/radix.go index <HASH>..<HASH> 100644 --- a/radix.go +++ b/radix.go @@ -374,6 +374,38 @@ func (t *Tree) Walk(fn WalkFn) { recursiveWalk(t.root, fn) } +// WalkPrefix is used to walk the tree under a prefix +func (t *Tree) WalkPrefix(prefix string, fn WalkFn) { + n := t.root + search := prefix...
Adding support for walking a prefix
armon_go-radix
train
fb86cd307275ad9ae093eea6cfd77f64b0d6b079
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -82,6 +82,9 @@ class ElementPlot(BokehPlot, GenericElementPlot): * timeout - Timeout (in ms) for checking...
Added show_grid plot option to BokehPlot
pyviz_holoviews
train
017bde1ad41bdd37d87b0ad651ecab1b3d3da1d5
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index <HASH>..<HASH> 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -71,7 +71,7 @@ Timedelta Timezones ^^^^^^^^^ -- +- Bug in :func:`date_range` was raising AmbiguousTimeError for valid input with `ambi...
BUG: date_range doesn't propagate ambigous=False to tz_localize (#<I>)
pandas-dev_pandas
train
cc4e14e40b5b5b60d5e8b203985bbca3f8cbbe08
diff --git a/gerrit.go b/gerrit.go index <HASH>..<HASH> 100644 --- a/gerrit.go +++ b/gerrit.go @@ -244,7 +244,11 @@ func (c *Client) NewRequest(method, urlStr string, body interface{}) (*http.Requ // Request compact JSON // See https://gerrit-review.googlesource.com/Documentation/rest-api.html#output req.Header.A...
fix: no need to send content-type header if no header sent (#<I>) * fix: no need to send content-type header if no header sent close: #<I> * Update gerrit.go
andygrunwald_go-gerrit
train
e181a1d97ad3453ba52786852eecd667ae4ba704
diff --git a/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/testingWorker.js b/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/testingWorker.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/testingWorker.js +++ b/bundles/or...
Bug <I> - Create cross-file unit tests - support non-logical reads
eclipse_orion.client
train
aa56d1b1c881e3a237ede7c4cd96e1fb1b96a542
diff --git a/azure-kusto-ingest/tests/e2e.py b/azure-kusto-ingest/tests/e2e.py index <HASH>..<HASH> 100644 --- a/azure-kusto-ingest/tests/e2e.py +++ b/azure-kusto-ingest/tests/e2e.py @@ -38,8 +38,6 @@ from azure.kusto.ingest import ( ManagedStreamingIngestClient, ) -CLEAR_DB_CACHE = ".clear database cache strea...
E2E - Only clear cache once (#<I>) * Only clear cache once. * Added comment
Azure_azure-kusto-python
train
8654c66522cd0a41b5dc86db54ec58d5298d3f92
diff --git a/demo/memory.php b/demo/memory.php index <HASH>..<HASH> 100644 --- a/demo/memory.php +++ b/demo/memory.php @@ -12,7 +12,7 @@ Debugger::$showCalledFrom = false; * Debugger utility functions */ function debug($data) { - return Debugger::debug($data); + Debugger::debug($data); } /** diff --git a/demo/...
Correct use of the Debugger::debug in utility function
xicrow_php-debug
train
9f622596b4fb45183a5bf852fcecf1ad840883d7
diff --git a/src/Application/Routes.php b/src/Application/Routes.php index <HASH>..<HASH> 100644 --- a/src/Application/Routes.php +++ b/src/Application/Routes.php @@ -73,6 +73,7 @@ class Routes { $app->get($path . 'apps/modules', 'Hook\\Controllers\\ApplicationController:modules'); $app->get($path . '...
add evaluate command for server-side REPL from cli
doubleleft_hook
train
c28728112f30d27507d71de0b0dbaf91c0cd7933
diff --git a/lib/minify/matthiasmullie-pathconverter/src/Converter.php b/lib/minify/matthiasmullie-pathconverter/src/Converter.php index <HASH>..<HASH> 100644 --- a/lib/minify/matthiasmullie-pathconverter/src/Converter.php +++ b/lib/minify/matthiasmullie-pathconverter/src/Converter.php @@ -71,6 +71,14 @@ class Converte...
MDL-<I> core: Upgrade pathconverter lib to <I>
moodle_moodle
train
902c023cb6faec9ec554cc9d8d99eb5fb35c14aa
diff --git a/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientStarterTest.java b/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientStarterTest.java index <HASH>..<HASH> 100644 --- a/tests/src/main/java/com/hazelcast/simulator/tests/external/ExternalClientStarterTest.java +...
Made process count configurable in ExternalClientStarterTest. Added $PROCESS_INDEX and $IP_ADDRESS as variables for arguments.
hazelcast_hazelcast-simulator
train
b002f79c3254a0a780d103fcdcc8488b7d2dfadb
diff --git a/src/Manager.php b/src/Manager.php index <HASH>..<HASH> 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -213,6 +213,13 @@ class Manager ob_end_clean(); } + if ($this->enabled === false || $this->allowOutput === true) { + $this->response->addContent(ob_get_cont...
add buffered output to response before handler output
SlaxWeb_Output
train
2f498d8852a8e64e4912a5ef0b6274ba897a258e
diff --git a/grails-plugin-url-mappings/src/main/groovy/org/codehaus/groovy/grails/web/mapping/UrlMappingsHolderFactoryBean.java b/grails-plugin-url-mappings/src/main/groovy/org/codehaus/groovy/grails/web/mapping/UrlMappingsHolderFactoryBean.java index <HASH>..<HASH> 100644 --- a/grails-plugin-url-mappings/src/main/gro...
remove @Override from interface method impl
grails_grails-core
train
a03194e32533cfa88e975d91032ff1beb73ccd59
diff --git a/src/main/java/com/codeborne/selenide/Configuration.java b/src/main/java/com/codeborne/selenide/Configuration.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/Configuration.java +++ b/src/main/java/com/codeborne/selenide/Configuration.java @@ -86,6 +86,14 @@ public class Configura...
implement possibility to set browser version inside 'createCommonCapabilities'
selenide_selenide
train
835e557b5faea1bd22ae489dc2e00f316e64e965
diff --git a/CHANGELOG b/CHANGELOG index <HASH>..<HASH> 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -17,7 +17,7 @@ * Fat Zebra: Fix xid 3D Secure field [curiousepic] * SafeCharge: Mark support for European countries [curiousepic] * Checkout V2: Pass customer ip option [curiousepic] - +* Realex: Map AVS and CVV respons...
Realex: Map AVS and CVV response codes Closes #<I>
activemerchant_active_merchant
train
45d30e3ff671480dcc4bb4f87d9c8d54edf234f9
diff --git a/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java b/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java index <HASH>..<HASH> 100644 --- a/maven-plugin/src/main/java/net/revelc/code/formatter/FormatterMojo.java +++ b/maven-plugin/src/main/java/net/revelc/code/format...
[bug] Skipped items counted twice and failed items attempted anyway
revelc_formatter-maven-plugin
train
c99fbda8dc060f385a0831caa40f9779bb100bd6
diff --git a/src/Element/WebformNominatim.php b/src/Element/WebformNominatim.php index <HASH>..<HASH> 100644 --- a/src/Element/WebformNominatim.php +++ b/src/Element/WebformNominatim.php @@ -317,6 +317,9 @@ class WebformNominatim extends WebformLocationBase { ); } } + // Reset current selection,...
Humble attempt at making nominatim better This is a response to a detail that bothers me: When you search for a place and then select, the option you selected sticks during the whole session. Let's say selection has 4 results and you select number 4, if you search again, the selected option is again number 4, independ...
esmero_webform_strawberryfield
train
a00c5858e7fb4510f625e8a36a2b32398b942522
diff --git a/metric_learn/nca.py b/metric_learn/nca.py index <HASH>..<HASH> 100644 --- a/metric_learn/nca.py +++ b/metric_learn/nca.py @@ -11,8 +11,10 @@ from .base_metric import BaseMetricLearner class NCA(BaseMetricLearner): def __init__(self, max_iter=100, learning_rate=0.01): - self.max_iter = max_iter - ...
NCA params moved to dictionary
metric-learn_metric-learn
train
ef3834dcfb027d757bc9cda48428f121bd510f45
diff --git a/lib/svtplay_dl/service/nrk.py b/lib/svtplay_dl/service/nrk.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/nrk.py +++ b/lib/svtplay_dl/service/nrk.py @@ -2,12 +2,15 @@ # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- from __future__ import absolute_import import re +import sy...
nrk: better support for nrk.no
spaam_svtplay-dl
train
db4fd0a943782ee2070bfe1139891ebb359ac279
diff --git a/Tests/Integration/Traversable/IterationTest.php b/Tests/Integration/Traversable/IterationTest.php index <HASH>..<HASH> 100644 --- a/Tests/Integration/Traversable/IterationTest.php +++ b/Tests/Integration/Traversable/IterationTest.php @@ -57,6 +57,27 @@ class IterationTest extends TraversableTest /** ...
Added test for identical non scalar keys
TimeToogo_Pinq
train
3ccc017a85a07e975bbb015dcb31b4c5450820a8
diff --git a/shared/profile/pgp/index.js b/shared/profile/pgp/index.js index <HASH>..<HASH> 100644 --- a/shared/profile/pgp/index.js +++ b/shared/profile/pgp/index.js @@ -6,7 +6,7 @@ import Finished from './finished-generating-pgp' import PgpInfo from './add' import {TypedConnector} from '../../util/typed-connect' i...
Fix canceling from Add a PGP key leading to app front page
keybase_client
train
4d6b64ec49ef824c116b9cb795321552fe2859ce
diff --git a/docs/examples/patterns/navigation/_script.js b/docs/examples/patterns/navigation/_script.js index <HASH>..<HASH> 100644 --- a/docs/examples/patterns/navigation/_script.js +++ b/docs/examples/patterns/navigation/_script.js @@ -1,25 +1,24 @@ /** - Opens a given subnav by applying is-active class to it + T...
Updates to subnav example script.
canonical-web-and-design_vanilla-framework
train
dd469e2eddfb7db91a3e5c723acbd87d85050d6b
diff --git a/impl/src/main/java/org/jboss/weld/annotated/enhanced/jlr/AbstractEnhancedAnnotated.java b/impl/src/main/java/org/jboss/weld/annotated/enhanced/jlr/AbstractEnhancedAnnotated.java index <HASH>..<HASH> 100644 --- a/impl/src/main/java/org/jboss/weld/annotated/enhanced/jlr/AbstractEnhancedAnnotated.java +++ b/i...
Do not wrap multimap with SharedObjectCache as it is slow and does not save an apreciable amount of memory
weld_core
train
01465894084c77e135115ab3108d10e142baec40
diff --git a/cobra/core/Reaction.py b/cobra/core/Reaction.py index <HASH>..<HASH> 100644 --- a/cobra/core/Reaction.py +++ b/cobra/core/Reaction.py @@ -1,6 +1,6 @@ from __future__ import print_function -from ..external.six import iteritems +from ..external.six import string_types, iteritems #Is it better to rest...
Reaction.pop will accept a metabolite id If a string is given to Reaction.pop, the function will find the appropriate metabolite object and remove that from the reaction.
opencobra_cobrapy
train
52558e4f759b0825cfa35d84ec9088040fc0a89d
diff --git a/post-processor/vagrant-cloud/step_prepare_upload.go b/post-processor/vagrant-cloud/step_prepare_upload.go index <HASH>..<HASH> 100644 --- a/post-processor/vagrant-cloud/step_prepare_upload.go +++ b/post-processor/vagrant-cloud/step_prepare_upload.go @@ -30,9 +30,13 @@ func (s *stepPrepareUpload) Run(state ...
check for nil body from upload response
hashicorp_packer
train
98d97d59c711dbf7e84f0d60fb2e2bfaa34345ed
diff --git a/transitfeed/__init__.py b/transitfeed/__init__.py index <HASH>..<HASH> 100644 --- a/transitfeed/__init__.py +++ b/transitfeed/__init__.py @@ -85,4 +85,4 @@ from stoptime import * from transfer import * from trip import * -__version__ = '1.2.5' +__version__ = '1.2.6'
Increasing the version number to <I> in preparation of the release
google_transitfeed
train
7292aa6d3b520d54baaa8b061c0241b1ce057d8f
diff --git a/cmd/fluxctl/args_test.go b/cmd/fluxctl/args_test.go index <HASH>..<HASH> 100644 --- a/cmd/fluxctl/args_test.go +++ b/cmd/fluxctl/args_test.go @@ -20,14 +20,7 @@ func TestUserGitconfigMap(t *testing.T) { core.repositoryformatversion=0 core.filemode=true core.bare=false` - expected := map[string]string...
refactor: extract base git config map in tests
weaveworks_flux
train
1c8f1cb4a7f361784880f62c6c5e505e4f333b5b
diff --git a/core/src/main/java/org/jboss/jca/core/connectionmanager/pool/mcp/SemaphoreArrayListManagedConnectionPool.java b/core/src/main/java/org/jboss/jca/core/connectionmanager/pool/mcp/SemaphoreArrayListManagedConnectionPool.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/jboss/jca/core/connectionman...
JBJCA-<I> Pool is not prefilled after a database crash even if prefill option is set
ironjacamar_ironjacamar
train
4667c05fc9b2588d4c416b155716db2b5f82ae91
diff --git a/closure/goog/ui/editor/toolbarfactory.js b/closure/goog/ui/editor/toolbarfactory.js index <HASH>..<HASH> 100644 --- a/closure/goog/ui/editor/toolbarfactory.js +++ b/closure/goog/ui/editor/toolbarfactory.js @@ -207,7 +207,7 @@ goog.ui.editor.ToolbarFactory.addFormatOption = function(button, caption, tag) { ...
Prepare for goog.dom.TagName type change. To improve the type precision of created or accessed elements, the type of goog.dom.TagName members is going to change from string to object instance in cl/<I>. This CL prepares for that and wraps all string-only usages of goog.dom.TagName members into String(). RELNOTES: n/a...
google_closure-library
train
dd8d521d91b1f73bcb897cb9f41fd942f1f7188e
diff --git a/mod/assignment/index.php b/mod/assignment/index.php index <HASH>..<HASH> 100644 --- a/mod/assignment/index.php +++ b/mod/assignment/index.php @@ -56,7 +56,13 @@ $submitted = get_string("no"); } $due = userdate($assignment->timedue); - $link = "<A HREF=\"view.php?id=$as...
Changed to show the hidden assignments dimmed (bug #<I>)
moodle_moodle
train
e3a26c8b2c949badcf1f8b628fa6661d3bf86577
diff --git a/core/src/test/java/dagger/ModuleTest.java b/core/src/test/java/dagger/ModuleTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/dagger/ModuleTest.java +++ b/core/src/test/java/dagger/ModuleTest.java @@ -181,9 +181,14 @@ public final class ModuleTest { @Module(includes = ModuleMissingModuleAnn...
Fix (irrelevant) error in test, and strengthen it to ensure the right failure is being caught.
square_dagger
train
71744a6332524588bdfae271f762083ad0fe7e85
diff --git a/piplicenses.py b/piplicenses.py index <HASH>..<HASH> 100644 --- a/piplicenses.py +++ b/piplicenses.py @@ -138,9 +138,9 @@ def get_packages(args): pkg_dirname = "{}-{}.dist-info".format( pkg.project_name.replace("-", "_"), pkg.version) patterns = [] - [patterns.extend(g...
Use sorted glob.glob() results #<I> The 'LICENSE' is always selected when the following four LICENSE files exist: LICENSE LICENSE.APACHE LICENSE.BSD LICENSE.PSF
raimon49_pip-licenses
train
1e46aa758a1f34cd1ff9898d0377791aa7417987
diff --git a/lib/parser/document_parser.js b/lib/parser/document_parser.js index <HASH>..<HASH> 100644 --- a/lib/parser/document_parser.js +++ b/lib/parser/document_parser.js @@ -225,7 +225,13 @@ function getValidations(field) { } function formatPatternValidation(value) { - return value.split("'").join("\\'"); + ...
Made sure all the quotes are escaped in regex validations
jhipster_jhipster-core
train
f078b6f5ff92b110b7bc2b67c2ab1a9a2faa066b
diff --git a/publishable/lang/zh_TW/bread.php b/publishable/lang/zh_TW/bread.php index <HASH>..<HASH> 100644 --- a/publishable/lang/zh_TW/bread.php +++ b/publishable/lang/zh_TW/bread.php @@ -14,7 +14,7 @@ return [ 'error_creating_bread' => '很抱歉,在建立 BREAD 時出現了問題', 'error_removing_bread' => '很抱歉,在刪除 BREAD 時...
Translated 2 files for chinese (#<I>) Translated 2 files for chinese
the-control-group_voyager
train
6ce188f6a6f7ba93fb4da9d8c3eebbfce070c481
diff --git a/lib/tf-idf-similarity/collection.rb b/lib/tf-idf-similarity/collection.rb index <HASH>..<HASH> 100644 --- a/lib/tf-idf-similarity/collection.rb +++ b/lib/tf-idf-similarity/collection.rb @@ -156,12 +156,12 @@ class TfIdfSimilarity::Collection NMatrix.refer matrix / NMath.sqrt((matrix ** 2).sum(1).res...
make some progress on NMatrix support
jpmckinney_tf-idf-similarity
train
c1cfa5ff41df9b380fbd8ce14b042183cb1204b6
diff --git a/Model/Page.php b/Model/Page.php index <HASH>..<HASH> 100755 --- a/Model/Page.php +++ b/Model/Page.php @@ -705,7 +705,7 @@ abstract class Page implements PageInterface */ public function isHybrid() { - return $this->getRouteName() != self::PAGE_ROUTE_CMS_NAME && !$this->isInternal();...
Applied fixes from StyleCI (#<I>)
sonata-project_SonataPageBundle
train
f75e397492604060720d5138045701501ab19516
diff --git a/green/config.py b/green/config.py index <HASH>..<HASH> 100644 --- a/green/config.py +++ b/green/config.py @@ -12,15 +12,55 @@ of the last place the setting is seen. So, for example, if a setting is turned on in ~/.green and turned off by a command-line argument, then the setting will be turned off. """...
Wrapped the config files so that they automatically have a '[green]' section so users don't actually have to add a section header.
CleanCut_green
train
67dab5f3abac1d9f9db03611dd08de94c8802a79
diff --git a/lib/reek/smells/boolean_parameter.rb b/lib/reek/smells/boolean_parameter.rb index <HASH>..<HASH> 100644 --- a/lib/reek/smells/boolean_parameter.rb +++ b/lib/reek/smells/boolean_parameter.rb @@ -28,9 +28,10 @@ module Reek method_ctx.parameters.default_assignments.select do |param, value| ...
Avoid duplicate method calls In support of #<I>, here's a little fix to take a couple of things off that warning count!
troessner_reek
train
70b5b48c3e32c4f141198e9f8d0962aca8195aab
diff --git a/grade/report/outcomes/index.php b/grade/report/outcomes/index.php index <HASH>..<HASH> 100644 --- a/grade/report/outcomes/index.php +++ b/grade/report/outcomes/index.php @@ -108,7 +108,7 @@ foreach ($report_info as $outcomeid => $outcomedata) { if ($item->itemtype == 'mod') { ...
MDL-<I> Outcomes report display the name of the activity instead of the name of the outcome Merged from <I>
moodle_moodle
train
707b97a04b1650c9d315bfa81a2027c98a247480
diff --git a/openquake/engine/calculators/risk/classical/core.py b/openquake/engine/calculators/risk/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/risk/classical/core.py +++ b/openquake/engine/calculators/risk/classical/core.py @@ -109,6 +109,13 @@ def save_individual_outputs(containe...
first pass. implemented mean/quantile insured curves Former-commit-id: a7d1e3bcd2b1fe6eb5d<I>d<I>c7abd<I>a1b0a6
gem_oq-engine
train
d6a253c2bd5dd15ca014eaaae182d758cca1c5a6
diff --git a/lib/vaulted_billing/gateway.rb b/lib/vaulted_billing/gateway.rb index <HASH>..<HASH> 100644 --- a/lib/vaulted_billing/gateway.rb +++ b/lib/vaulted_billing/gateway.rb @@ -34,15 +34,15 @@ module VaultedBilling raise NotImplementedError end - def authorize(customer, credit_card, amount) + ...
Match transaction method fingerprints across gateways
envylabs_vaulted_billing
train
e269bc8adabc9cb0374b3a9565da7b1c5f3e49ab
diff --git a/tensorflow_datasets/scripts/download_and_prepare.py b/tensorflow_datasets/scripts/download_and_prepare.py index <HASH>..<HASH> 100644 --- a/tensorflow_datasets/scripts/download_and_prepare.py +++ b/tensorflow_datasets/scripts/download_and_prepare.py @@ -136,6 +136,7 @@ def main(_): raise ValueError(...
tfds download_and_prepare: log config being used. PiperOrigin-RevId: <I>
tensorflow_datasets
train
4f2d3d783a37ea2fffc988c42e8c67e36a6bfeef
diff --git a/tests/utils/test_preprocess.py b/tests/utils/test_preprocess.py index <HASH>..<HASH> 100644 --- a/tests/utils/test_preprocess.py +++ b/tests/utils/test_preprocess.py @@ -175,8 +175,9 @@ class PreprocessTestCase(TestCase): foo(not_int(1), 2, 3) self.assertEqual( ...
TEST: Template in module name. Fixes failures when tests are invoked from different paths.
quantopian_zipline
train
97d96cb3b7feaf22ce9b813313cd8ae20b3589b9
diff --git a/fasthttpadaptor/adaptor.go b/fasthttpadaptor/adaptor.go index <HASH>..<HASH> 100644 --- a/fasthttpadaptor/adaptor.go +++ b/fasthttpadaptor/adaptor.go @@ -62,7 +62,14 @@ func NewFastHTTPHandler(h http.Handler) fasthttp.RequestHandler { hdr := make(http.Header) ctx.Request.Header.VisitAll(func(k, v [...
Handle TransferEncoding in fasthttpadaptor (#<I>) When incoming http.Request is constructed, "Transfer-Encoding" header is removed, and http.Request.TransferEncoding is set instead. This behaviour is now emulated in fasthttpadaptor.
valyala_fasthttp
train
436b662a71d21264a0fd66234d486e8e88f8c02f
diff --git a/packages/core/src/api/index.js b/packages/core/src/api/index.js index <HASH>..<HASH> 100644 --- a/packages/core/src/api/index.js +++ b/packages/core/src/api/index.js @@ -10,16 +10,22 @@ const decode = text => new Buffer(text, "base64").toString(); const connect = (list, limit, previousList = []) => { c...
Fix pagination previous key Previously, "previous" key was wrong when you are on the second page. Now "previous" key correctly point to the first element.
phenomic_phenomic
train
60d02fe5940154e3f52bb5dde2d018418c70d135
diff --git a/storage_s3/indico_storage_s3/storage.py b/storage_s3/indico_storage_s3/storage.py index <HASH>..<HASH> 100644 --- a/storage_s3/indico_storage_s3/storage.py +++ b/storage_s3/indico_storage_s3/storage.py @@ -7,7 +7,6 @@ import hashlib import hmac -import sys import threading from base64 import b64encod...
Fix modernize/pyupgrade screwup modernize converted it to six.reraise() and somehow pyupgrade converted it to `raise None.with_traceback()` afterwards...
indico_indico-plugins
train
7a879ed91ccd6d74f235288d487fd6c406f5b5cc
diff --git a/opentracing-api/src/main/java/io/opentracing/tag/ShortTag.java b/opentracing-api/src/main/java/io/opentracing/tag/ShortTag.java index <HASH>..<HASH> 100644 --- a/opentracing-api/src/main/java/io/opentracing/tag/ShortTag.java +++ b/opentracing-api/src/main/java/io/opentracing/tag/ShortTag.java @@ -13,6 +13,...
Define tag SAMPLING_PRIORITY as an integer (#<I>) * Define tag SAMPLING_PRIORITY as an integer * Deprecate ShortTag * ShortTag deprecated javadoc
opentracing_opentracing-java
train
2004698e8b34a67c05a113626a9708ead182a97a
diff --git a/pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android/PythonActivity.java b/pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android/PythonActivity.java index <HASH>..<HASH> 100644 --- a/pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android/PythonActivity.java +++ b/pythonforandroid/bootstra...
Fix orientation and app path basically creating .kivy folder(logs), fetching files with paths relative to main.py and so on. ANDROID_APP_PATH has to be the folder of main.py file.
kivy_python-for-android
train
8f0731d51761f98422dd44bd39e10c34c91db52d
diff --git a/bootstrap.php b/bootstrap.php index <HASH>..<HASH> 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -8,7 +8,6 @@ * For the full copyright and license information, please view the MIT license */ - namespace Davis\SocialProfile; use Illuminate\Contracts\Events\Dispatcher; diff --git a/migrations/2...
Apply fixes from StyleCI (#<I>)
dav-is_flarum-ext-socialprofile
train
3d80d5eb9c74c8498101a3b333a7be39512ca6ad
diff --git a/tools/ContextGenerator.php b/tools/ContextGenerator.php index <HASH>..<HASH> 100644 --- a/tools/ContextGenerator.php +++ b/tools/ContextGenerator.php @@ -193,7 +193,7 @@ class ContextGenerator if ($i == 0) { $ret .= str_repeat(' ', $spaces); ...
Make more readable ContextGenerator.php
phpmyadmin_sql-parser
train
1b34ed2ed6c1d0b56891b5bd9b1850d9d31e1038
diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index <HASH>..<HASH> 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -641,9 +641,9 @@ func (api *ConsensusAPI) heartbeat() { } } else { if lastTransitionUpdate.IsZero() { - message = "Merge is configured, but no beacon client...
eth: fix typo in catalyst api (#<I>) eth: fix typo
ethereum_go-ethereum
train
a5b1e05108ef0817e856bde115b97f30c472b6ee
diff --git a/atx/device/__init__.py b/atx/device/__init__.py index <HASH>..<HASH> 100644 --- a/atx/device/__init__.py +++ b/atx/device/__init__.py @@ -65,7 +65,9 @@ class Pattern(object): if self._resolution is None: m = re.search(r'\.(\d+)x(\d+)\.png$', self._name) if m: - ...
ios screenshot add rotate support
NetEaseGame_ATX
train
2efa11be35641bda5dcab35f176c0f66b25983d0
diff --git a/lib/inject.js b/lib/inject.js index <HASH>..<HASH> 100644 --- a/lib/inject.js +++ b/lib/inject.js @@ -6,6 +6,7 @@ const fs = require('fs') let script = null , style = null + , scriptId = null module.exports = function(chrome) { @@ -17,7 +18,7 @@ module.exports = function(chrome) { Promis...
Ensure state is correct if user refreshes in window
porsager_wright
train
1ff9363d357cc2123b6b1fb1f56127628e0f49f0
diff --git a/features/product/viewing_products/viewing_different_price_for_different_product_variants.feature b/features/product/viewing_products/viewing_different_price_for_different_product_variants.feature index <HASH>..<HASH> 100644 --- a/features/product/viewing_products/viewing_different_price_for_different_produ...
[Core][Behat] Small changes in product variant prices display
Sylius_Sylius
train
17485767e43650389e19ea48f207663fda90e415
diff --git a/shared/actions/push.js b/shared/actions/push.js index <HASH>..<HASH> 100644 --- a/shared/actions/push.js +++ b/shared/actions/push.js @@ -1,10 +1,7 @@ // @flow import * as Constants from '../constants/push' - import {apiserverPostRpcPromise} from '../constants/types/flow-types' - -import {call, put, sel...
remove warnings about redux-saga effects (#<I>)
keybase_client
train
454703ed731944edb3bbd2a11ca3a2e404d8b005
diff --git a/generators/setup-workspace/index.js b/generators/setup-workspace/index.js index <HASH>..<HASH> 100644 --- a/generators/setup-workspace/index.js +++ b/generators/setup-workspace/index.js @@ -244,7 +244,28 @@ class Generator extends Base { } return this._mkdir(this.cwd + '/_backup') .then(()...
fix #<I> check if docker-compose is there
phovea_generator-phovea
train
edbf9d5cf89805f3d6c4bc7acd40d2b02b2d50b9
diff --git a/AnnotationReader.php b/AnnotationReader.php index <HASH>..<HASH> 100644 --- a/AnnotationReader.php +++ b/AnnotationReader.php @@ -211,21 +211,6 @@ final class AnnotationReader implements Reader $this->parser->setAnnotationNamespaceAlias($namespace, $alias); } - public function registerAn...
Forgot to remove this code, which is not needed anymore
doctrine_annotations
train
fa35d635af9487497edf457b07a83a8f36f1ad79
diff --git a/tofu/imas2tofu/_def.py b/tofu/imas2tofu/_def.py index <HASH>..<HASH> 100644 --- a/tofu/imas2tofu/_def.py +++ b/tofu/imas2tofu/_def.py @@ -266,7 +266,14 @@ _dshort = { '1drhopn': {'str': 'profiles_1d[time].grid.rho_pol_norm', 'dim': 'rho', 'quant': 'rhopn', 'units': '-'}, ...
[#<I>] core_profiles: added t_i_average (1dTi_av)
ToFuProject_tofu
train
8aec1e05c72d4775e83e24c5817b58c38ab8c472
diff --git a/presto-main/src/main/java/com/facebook/presto/byteCode/instruction/Constant.java b/presto-main/src/main/java/com/facebook/presto/byteCode/instruction/Constant.java index <HASH>..<HASH> 100644 --- a/presto-main/src/main/java/com/facebook/presto/byteCode/instruction/Constant.java +++ b/presto-main/src/main/j...
Fix compiling primitive class constants
prestodb_presto
train
3b3162cfd72936ae07f35bbe0b2f10f0a72d1bb3
diff --git a/eg/eg_config.py b/eg/eg_config.py index <HASH>..<HASH> 100644 --- a/eg/eg_config.py +++ b/eg/eg_config.py @@ -218,14 +218,12 @@ def get_priority(first, second, third): present, it will be returned. If only second and third, second will be returned. If all three are absent, will return None. ...
make get_priority respect False
srsudar_eg
train
33f832e208f80b2ea371f2c445c873b126ba4b80
diff --git a/tests/tests/kernel/classes/clusterfilehandlers/ezdfsfilehandler_test.php b/tests/tests/kernel/classes/clusterfilehandlers/ezdfsfilehandler_test.php index <HASH>..<HASH> 100644 --- a/tests/tests/kernel/classes/clusterfilehandlers/ezdfsfilehandler_test.php +++ b/tests/tests/kernel/classes/clusterfilehandlers...
- Tests: made sure that the previously active file handler is restored after DFS tests are executed. Again: isolation. git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I>
ezsystems_ezpublish-legacy
train
bcfe3a95d284fae08f98ec4c84d924a32161272a
diff --git a/API.md b/API.md index <HASH>..<HASH> 100644 --- a/API.md +++ b/API.md @@ -710,8 +710,11 @@ sig: Signature to add resolves: undefined ``` -##### listmonitor (verbose) +##### listmonitor ({verbose, current}) Setup a callback on all valid transports, so if anything is added to this list on the Dwe...
Update listmonitor and monitor to take {verbose, current}
internetarchive_dweb-objects
train
821d42795e0161d03dab1c7c3561127ef1a9390f
diff --git a/base/isomorphism/src/main/java/org/openscience/cdk/isomorphism/ComponentGrouping.java b/base/isomorphism/src/main/java/org/openscience/cdk/isomorphism/ComponentGrouping.java index <HASH>..<HASH> 100644 --- a/base/isomorphism/src/main/java/org/openscience/cdk/isomorphism/ComponentGrouping.java +++ b/base/is...
Watch out for null component ids.
cdk_cdk
train
b30a4c4f3ec1a743edb30bbb4c9aafbed2c70c68
diff --git a/lib/OpenLayers/Control/LayerSwitcher.js b/lib/OpenLayers/Control/LayerSwitcher.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Control/LayerSwitcher.js +++ b/lib/OpenLayers/Control/LayerSwitcher.js @@ -115,6 +115,7 @@ OpenLayers.Control.LayerSwitcher.prototype = */ doubleClick: function(evt) ...
Return false from DoubleClick and Click events in controls so that these events don't filter through and hit the onclick handlers that we might register on the map. git-svn-id: <URL>
openlayers_openlayers
train
b5fabb891b10746be700d085ef2a05c83724ba86
diff --git a/input/tangy-location.js b/input/tangy-location.js index <HASH>..<HASH> 100644 --- a/input/tangy-location.js +++ b/input/tangy-location.js @@ -443,7 +443,6 @@ class TangyLocation extends PolymerElement { /* End of Materialize Select Styles */ </style> <div id="container"></div> - <slot...
Add ability to show meta data of location list nodes
Tangerine-Community_tangy-form
train
2d84cbd3cc294cf1a25cde260702a344fd0031e2
diff --git a/libraries/core/classes/AppPermissionsRequest/RequestAppPermissionsRequest.js b/libraries/core/classes/AppPermissionsRequest/RequestAppPermissionsRequest.js index <HASH>..<HASH> 100644 --- a/libraries/core/classes/AppPermissionsRequest/RequestAppPermissionsRequest.js +++ b/libraries/core/classes/AppPermissi...
CCP-<I>: addad "notSupported" usage
shopgate_pwa
train
063f4fb92d862d3f759fba95ae811880329804ca
diff --git a/odl/operator/tensor_ops.py b/odl/operator/tensor_ops.py index <HASH>..<HASH> 100644 --- a/odl/operator/tensor_ops.py +++ b/odl/operator/tensor_ops.py @@ -342,8 +342,9 @@ class PointwiseNorm(PointwiseTensorFieldOperator): for gi in inner_vf: if self.exponent >= 2: with...
BUG/TST: update derivative of PointwiseInner and add test for it.
odlgroup_odl
train
68e0752ddee0d4e90baf55afe935820d1bec45a6
diff --git a/src/lib/builtins.js b/src/lib/builtins.js index <HASH>..<HASH> 100644 --- a/src/lib/builtins.js +++ b/src/lib/builtins.js @@ -57,16 +57,9 @@ export class FTLKeyword extends FTLBase { } export class FTLList extends Array { - constructor(arr = [], opts) { - super(arr.length); - this.opts = opts; -...
Make FTLList's constructor compatible with Array's It's dangerous to change the signature of Array's subclasses' constructors. It might be used by some of Array's methods, like map. In this commit I removed support for defining formatting options for lists. I'll add it back once we have a working polyfill for ListFo...
l20n_l20n.js
train
49dc009422d8f084d297a4f9ac590e867235a7f1
diff --git a/pycosio/_core/io_buffered.py b/pycosio/_core/io_buffered.py index <HASH>..<HASH> 100644 --- a/pycosio/_core/io_buffered.py +++ b/pycosio/_core/io_buffered.py @@ -53,6 +53,7 @@ class ObjectBufferedIOBase(BufferedIOBase, ObjectIOBase): # Instantiate raw IO self._raw = self._RAW_CLASS( ...
Add _get_buffer to raw, and avoid raw + buffered flushs.
Accelize_pycosio
train
d22612f727406706bde3aff70c151007d2b3a919
diff --git a/src/main/java/com/googlecode/objectify/impl/translate/CollectionTranslatorFactory.java b/src/main/java/com/googlecode/objectify/impl/translate/CollectionTranslatorFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/googlecode/objectify/impl/translate/CollectionTranslatorFactory.java +++ b/src/...
Ignore NULL value type as well as literal null
objectify_objectify
train
7e514e88e425b38cd51bdbe353b941b9cb1e50de
diff --git a/src/utils/theme_utils.js b/src/utils/theme_utils.js index <HASH>..<HASH> 100644 --- a/src/utils/theme_utils.js +++ b/src/utils/theme_utils.js @@ -1,12 +1,13 @@ // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +// @flow -export function make...
Added blendColors and added flow types to theme_utils (#<I>)
mattermost_mattermost-redux
train
7fb2516e36f3f2bb10d41567e2e064232c459e29
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,8 @@ def read(filename): """ Get the long description from a file. """ - with codecs.open(filename, encoding='utf-8') as f: + fname = os.path.join(here, filename) + with codecs.open(fname, enc...
small setup.py fix (readme path)
ransford_sllurp
train
a9fd0a5c0b3c248a2f2b42171d23b623cefc219a
diff --git a/src/gremlin.js b/src/gremlin.js index <HASH>..<HASH> 100644 --- a/src/gremlin.js +++ b/src/gremlin.js @@ -279,8 +279,8 @@ var Gremlin = (function () { Gremlin.prototype.orderMap = queryMain('orderMap'); /*** Filter ***/ - Gremlin.prototype.index = queryIndex(), //index(i; - Gremlin.protot...
Fix Gremlin prototype commas at end of lines
jbmusso_grex
train
8a20a8b2403f054c7bb1e89b6b881ba69ec0d6c9
diff --git a/common/src/main/java/tachyon/worker/WorkerClient.java b/common/src/main/java/tachyon/worker/WorkerClient.java index <HASH>..<HASH> 100644 --- a/common/src/main/java/tachyon/worker/WorkerClient.java +++ b/common/src/main/java/tachyon/worker/WorkerClient.java @@ -270,21 +270,21 @@ public final class WorkerCl...
[TACHYON-<I>] Refactor WorkClient for methods lockBlock, promoteBlock, and requestBlockLocation
Alluxio_alluxio
train
f7aca803b1f566fb03c52bab4427c36f50faa7ec
diff --git a/pyrogram/client/types/message.py b/pyrogram/client/types/message.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/types/message.py +++ b/pyrogram/client/types/message.py @@ -71,6 +71,9 @@ class Message(Object): text (``str``, *optional*): For text messages, the actual UTF-8 text...
Hint about text.markdown in docstrings
pyrogram_pyrogram
train
64e9cf9733b10d08ac42f1e14f4ab36a94fdffa2
diff --git a/api/allocations.go b/api/allocations.go index <HASH>..<HASH> 100644 --- a/api/allocations.go +++ b/api/allocations.go @@ -91,6 +91,7 @@ type Allocation struct { DeploymentID string DeploymentStatus *AllocDeploymentStatus PreviousAllocation string + NextAllocation string CreateIndex ...
Add a field to track the next allocation during a replacement
hashicorp_nomad
train
410d23a6926e5203e6616cab6d18daa51c89d3da
diff --git a/lib/fitgem_oauth2/client.rb b/lib/fitgem_oauth2/client.rb index <HASH>..<HASH> 100644 --- a/lib/fitgem_oauth2/client.rb +++ b/lib/fitgem_oauth2/client.rb @@ -57,12 +57,27 @@ module FitgemOauth2 parse_response(response) end + # This method is a helper method (like get_call) for 1.2 version ...
added new methods and updated existing methods for the sleep API <I> list of new methods added: * sleep_logs_by_date_range * sleep_logs_list
gupta-ankit_fitgem_oauth2
train
f6bca9a71bd57b778d4a948730c8dabd4f4c15af
diff --git a/lib/config/app-config.js b/lib/config/app-config.js index <HASH>..<HASH> 100644 --- a/lib/config/app-config.js +++ b/lib/config/app-config.js @@ -101,7 +101,9 @@ function findConfig_p(appDir){ function merge(src, target){ for (var el in src){ - if (typeof src[el] === 'object') { + // if it's an...
Don't try to merge arrays as objects.
rstudio_shiny-server
train
ef1ed928348861a55abb89c1ad17db313a9f1452
diff --git a/lib/orbacle/find_definition_under_position.rb b/lib/orbacle/find_definition_under_position.rb index <HASH>..<HASH> 100644 --- a/lib/orbacle/find_definition_under_position.rb +++ b/lib/orbacle/find_definition_under_position.rb @@ -8,6 +8,7 @@ module Orbacle ConstantResult = Struct.new(:const_ref) ...
Add ability to find definition as super keyword
swistak35_orbacle
train
507738a70634316656a019b1c1cd9fed11a544ef
diff --git a/src/CodeMojo/Client/Services/LoyaltyService.php b/src/CodeMojo/Client/Services/LoyaltyService.php index <HASH>..<HASH> 100644 --- a/src/CodeMojo/Client/Services/LoyaltyService.php +++ b/src/CodeMojo/Client/Services/LoyaltyService.php @@ -53,8 +53,17 @@ class LoyaltyService * @throws \CodeMojo\OAuth2\...
Critical fix for Loyalty layer meta data Adding points to Loyalty from the previous added in the wallet but not in the Loyalty layer due to misconfiguration on the SDK side.
codemojo-dr_startkit-php-sdk
train
ec663b75801b80fda14075b628fe3652529bcc96
diff --git a/lib/invoke.js b/lib/invoke.js index <HASH>..<HASH> 100644 --- a/lib/invoke.js +++ b/lib/invoke.js @@ -26,7 +26,7 @@ module.exports = (config, params) => { ) } else { throw new Error( - `Failed to invoke function ${params.functionId} and couldn't par...
improve error handling for listing functions and subscriptions
serverless_event-gateway-sdk
train
9913c3a44e0e12018e68268de91f53c84f3ea82d
diff --git a/phy/cluster/manual/clustering.py b/phy/cluster/manual/clustering.py index <HASH>..<HASH> 100644 --- a/phy/cluster/manual/clustering.py +++ b/phy/cluster/manual/clustering.py @@ -113,6 +113,10 @@ class Clustering(object): """Number of different clusters.""" return len(self.cluster_labels) ...
Added clustering.spikes_in_clusters() method.
kwikteam_phy
train
d34c835a18a7975690e6f8023041261a4295e63b
diff --git a/src/test/java/org/cactoos/map/MapEnvelopeTest.java b/src/test/java/org/cactoos/map/MapEnvelopeTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/cactoos/map/MapEnvelopeTest.java +++ b/src/test/java/org/cactoos/map/MapEnvelopeTest.java @@ -23,6 +23,7 @@ */ package org.cactoos.map; +import ja...
(#<I>) PR comment fix, refactoring Inner `DerivedMapEnvelope` class introduced. `Assertion.affirm()` call added. Test `emptyMapEnvelopeShouldBeEqualToEmptyDerivedMap` added
yegor256_cactoos
train
62708ba7fc50c00944ff3e8b5fa7d59effe00aee
diff --git a/test_twarc2.py b/test_twarc2.py index <HASH>..<HASH> 100644 --- a/test_twarc2.py +++ b/test_twarc2.py @@ -7,6 +7,8 @@ import logging import datetime import threading +import pytest + dotenv.load_dotenv() consumer_key = os.environ.get('CONSUMER_KEY') consumer_secret = os.environ.get('CONSUMER_SECRET'...
Update client tests to consider different approaches to app and user auth
DocNow_twarc
train
3133a0cca9a68498a7c3f9a463b89adbcc64e9d6
diff --git a/auto_ml/_version.py b/auto_ml/_version.py index <HASH>..<HASH> 100644 --- a/auto_ml/_version.py +++ b/auto_ml/_version.py @@ -1 +1 @@ -__version__ = "2.4.0" +__version__ = "2.4.1"
<I> for catboost support
ClimbsRocks_auto_ml
train
4b4ffa5c7578e74bc495bba8dc3028c7fb0ce49a
diff --git a/lib/celluloid/actor.rb b/lib/celluloid/actor.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/actor.rb +++ b/lib/celluloid/actor.rb @@ -149,17 +149,7 @@ module Celluloid def run begin while @running - begin - message = @mailbox.receive(timeout) - rescue E...
Factor system event handling into handle_system_event
celluloid_celluloid
train
7f33558714877d72a21c27e88fe140f264c9e7c9
diff --git a/swagger/model_builder.go b/swagger/model_builder.go index <HASH>..<HASH> 100644 --- a/swagger/model_builder.go +++ b/swagger/model_builder.go @@ -43,6 +43,12 @@ func (b modelBuilder) addModelFrom(sample interface{}) { } func (b modelBuilder) addModel(st reflect.Type, nameOverride string) *Model { + // ...
Accept pointers passed to model builder for swagger From a model perspective we treat "type.Struct" and "*type.Struct" identically when nested, but if "*type.Struct" is passed to go-restful via .Writes(). Since these are expected to be models, this is more friendly to integrators.
emicklei_go-restful
train
b4fa17721a1aa5518143dfdd12c082ac7bfab465
diff --git a/Kwc/Form/Dynamic/Admin.php b/Kwc/Form/Dynamic/Admin.php index <HASH>..<HASH> 100644 --- a/Kwc/Form/Dynamic/Admin.php +++ b/Kwc/Form/Dynamic/Admin.php @@ -30,6 +30,9 @@ class Kwc_Form_Dynamic_Admin extends Kwc_Abstract_Composite_Admin foreach ($components as $c) { $t = $c->getTitle(); ...
add domain name to resource name if domains are used else it can happen that there non unique names
koala-framework_koala-framework
train
4b652fdfe9eb37095b58f909406654e33895d5dd
diff --git a/src/feat/agents/host/host_agent.py b/src/feat/agents/host/host_agent.py index <HASH>..<HASH> 100644 --- a/src/feat/agents/host/host_agent.py +++ b/src/feat/agents/host/host_agent.py @@ -845,7 +845,7 @@ class StartAgentContractor(contractor.BaseContractor): @replay.immutable def _starting_failed(s...
When host agent fails to start the agent, don't send the actual failure to the other side. Only send the error message.
f3at_feat
train
6808b47a8a199b756b36dafd2dc14ed418606fe1
diff --git a/includes/class-theme-updater.php b/includes/class-theme-updater.php index <HASH>..<HASH> 100644 --- a/includes/class-theme-updater.php +++ b/includes/class-theme-updater.php @@ -84,7 +84,7 @@ class GitHub_Theme_Updater extends GitHub_Updater { $response->homepage = $theme->uri; $response->ver...
combine description and change log in theme view details, multisite only
afragen_github-updater
train
1273d7ddeee92152898eaa5f2ac0edd533bd5913
diff --git a/lib/weblib.php b/lib/weblib.php index <HASH>..<HASH> 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2957,6 +2957,16 @@ function style_sheet_setup($lastmodified=0, $lifetime=300, $themename='', $force } } + if (!isset($THEME->gradereportsheets) || $THEME->gradereportshee...
support for styles.php in grade reports
moodle_moodle
train
91d6fd4e04b0ef35ffe33b0a1da000cc1890fab0
diff --git a/lib/compact_index/gem_version.rb b/lib/compact_index/gem_version.rb index <HASH>..<HASH> 100644 --- a/lib/compact_index/gem_version.rb +++ b/lib/compact_index/gem_version.rb @@ -14,7 +14,7 @@ module CompactIndex number_comp = number <=> other.number if number_comp.zero? - [number, pl...
remove nil before comparison value of platform was nil cause we are building version in test with build_version(:number => "<I>") # if platform is not passed it is set to nil
bundler_compact_index
train