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
d9314cb70695c572a2421eba347ecc80a1f82564
diff --git a/modules/system/console/OctoberInstall.php b/modules/system/console/OctoberInstall.php index <HASH>..<HASH> 100644 --- a/modules/system/console/OctoberInstall.php +++ b/modules/system/console/OctoberInstall.php @@ -33,6 +33,11 @@ class OctoberInstall extends Command protected $description = 'Set up Oct...
Logic error This created an infinite loop! Also added a retry counter
octobercms_october
train
php
4c3af01ce2aec41fca1a36d217e2b09bc98eca86
diff --git a/dropwizard/src/main/java/com/yammer/dropwizard/cli/UsagePrinter.java b/dropwizard/src/main/java/com/yammer/dropwizard/cli/UsagePrinter.java index <HASH>..<HASH> 100644 --- a/dropwizard/src/main/java/com/yammer/dropwizard/cli/UsagePrinter.java +++ b/dropwizard/src/main/java/com/yammer/dropwizard/cli/UsagePr...
Suppress some warnings for UsagePrinter.
dropwizard_dropwizard
train
java
df7424712838c1d21f11baa9727e3c8c3c850403
diff --git a/autoapi/__init__.py b/autoapi/__init__.py index <HASH>..<HASH> 100644 --- a/autoapi/__init__.py +++ b/autoapi/__init__.py @@ -1,3 +1,5 @@ """ -AutoAPI Top-level Comment +Sphinx AutoAPI """ + +from .extension import setup
Allow for toplevel module as Sphinx extension Instead of requiring: extensions = ['autoapi.extension'] This allows for the toplevel: extensions = ['autoapi'] This is more intuitive for users, as extension is an internal concept.
rtfd_sphinx-autoapi
train
py
b0c15848d78f98437d5f6078f6f50ee3351396ab
diff --git a/app/models/artefact.rb b/app/models/artefact.rb index <HASH>..<HASH> 100644 --- a/app/models/artefact.rb +++ b/app/models/artefact.rb @@ -86,6 +86,7 @@ class Artefact "cma_case", "drug_safety_update", "...
Add MAIB Report artefact kind In order to transition MAIB to GOV.UK we need to add their reports as an artefact kind. Owning App is Specialist Publisher.
alphagov_govuk_content_models
train
rb
fc5343b52fe7d104bc1062949e0830a0dd899fd9
diff --git a/salt/modules/git.py b/salt/modules/git.py index <HASH>..<HASH> 100644 --- a/salt/modules/git.py +++ b/salt/modules/git.py @@ -177,6 +177,8 @@ def _git_run(command, cwd=None, user=None, password=None, identity=None, if not id_file: log.error('identity {0} does not exist...
Ensure Identity files are mode <I> SSH will sometimes refuse to use identity files that are group/world readable. This hopefully fixes that issue.
saltstack_salt
train
py
2b568267b74482ed394286fd4b904a1b2ad28d0d
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -226,6 +226,13 @@ exports.get_objc_msgSend = function get_objc_msgSend (objcTypes) { } +// Struct type returned by `protocol_getMethodDescription`. +exports.objc_method_description = ffi.Struct([ + ['pointer', 'name'] + ,...
Add struct definition for 'objc_method_description'.
TooTallNate_NodObjC
train
js
44d12f3bd52ec4e0c8e7d645199b9169522b0019
diff --git a/carnifex/ssh/client.py b/carnifex/ssh/client.py index <HASH>..<HASH> 100644 --- a/carnifex/ssh/client.py +++ b/carnifex/ssh/client.py @@ -1,5 +1,6 @@ from twisted.internet.protocol import ClientFactory -from twisted.conch.ssh.transport import SSHClientTransport +from twisted.conch.ssh.transport import SSH...
Replace magic disconnect reason code number with proper definition
sporsh_carnifex
train
py
bac7dc15e528e4354f4149617c9611dea0d12907
diff --git a/spec/geo_faker/multi_polygon_spec.rb b/spec/geo_faker/multi_polygon_spec.rb index <HASH>..<HASH> 100644 --- a/spec/geo_faker/multi_polygon_spec.rb +++ b/spec/geo_faker/multi_polygon_spec.rb @@ -77,6 +77,22 @@ module GeoFaker ]) end end + + describe '#contains_point' do + ...
Add spec for contains_point ignoring holes for now
zweitag_GeoFaker
train
rb
1544d017095ea2186c4ab509674340f9a1fe0f99
diff --git a/xmantissa/signup.py b/xmantissa/signup.py index <HASH>..<HASH> 100644 --- a/xmantissa/signup.py +++ b/xmantissa/signup.py @@ -48,7 +48,7 @@ class TicketClaimer(Page): res = IResource(something) lgo = getattr(res, 'logout', lambda : None) ISession(ctx).setDefaultResour...
redirect to /private after ticket claiming, fixes #<I>
twisted_mantissa
train
py
57046617965fda9c79ed869e074c64fcbb3d5ba3
diff --git a/src/Control/LouverFieldSet.php b/src/Control/LouverFieldSet.php index <HASH>..<HASH> 100644 --- a/src/Control/LouverFieldSet.php +++ b/src/Control/LouverFieldSet.php @@ -140,7 +140,7 @@ class LouverFieldSet extends FieldSet if (!empty($this->templateData)) { - $walker = new PrepareWalker($...
Fix issue found by Scrutinizer.
SetBased_php-abc-form-louver
train
php
f9a303a9da922200cf294e62224d10f9be9dacbf
diff --git a/agent/lib/agent/message/configure.rb b/agent/lib/agent/message/configure.rb index <HASH>..<HASH> 100644 --- a/agent/lib/agent/message/configure.rb +++ b/agent/lib/agent/message/configure.rb @@ -125,7 +125,6 @@ module Bosh::Agent verify_networks write_ubuntu_network_interfaces - g...
HACK to send a gratuitous arp every <I> seconds for the first minute after networking has been reconfigured
cloudfoundry_bosh
train
rb,rb
6987c4f74bdceb147032af75b532ebea858a5ae4
diff --git a/src/level/TMXLayer.js b/src/level/TMXLayer.js index <HASH>..<HASH> 100644 --- a/src/level/TMXLayer.js +++ b/src/level/TMXLayer.js @@ -360,7 +360,7 @@ me.TMXLayer = me.Renderable.extend({ /** @ignore */ - init: function (tilewidth, tileheight, orientation, tilesets, z, hexsidelength, ...
These are unnecessary - The extra constructor arguments aren't even passed anywhere...
melonjs_melonJS
train
js
5466700b0f782e85579c4141316efe5600ebb5f5
diff --git a/spec/functional/resource/registry_spec.rb b/spec/functional/resource/registry_spec.rb index <HASH>..<HASH> 100644 --- a/spec/functional/resource/registry_spec.rb +++ b/spec/functional/resource/registry_spec.rb @@ -40,7 +40,7 @@ describe Chef::Resource::RegistryKey, :unix_only do end end -describe Che...
Disable broken registry_spec tests The registry_spec has been broken since we switched to rspec 3 :pending was running the tests, but expecting them to fail. There seems to be a bug where if there is a failure outside the test, in our case the before block was silently raising an exception accessing resource_name, th...
chef_chef
train
rb,rb
80c704679d299f1018514d48f862edf7ca08ddf5
diff --git a/src/Grant/AuthorizationCode.php b/src/Grant/AuthorizationCode.php index <HASH>..<HASH> 100644 --- a/src/Grant/AuthorizationCode.php +++ b/src/Grant/AuthorizationCode.php @@ -2,9 +2,9 @@ namespace League\OAuth2\Client\Grant; -use League\OAuth2\Client\Token\AccessToken as AccessToken; +use League\OAuth2...
Renamed Authorizationcode to AuthorizationCode PSR-0 and Ubuntu both care about case-sensitivity.
thephpleague_oauth2-client
train
php
7143765b7ab4757d3cd665450dc53a246aeff646
diff --git a/src/Handlers/Eloquent.php b/src/Handlers/Eloquent.php index <HASH>..<HASH> 100644 --- a/src/Handlers/Eloquent.php +++ b/src/Handlers/Eloquent.php @@ -76,7 +76,7 @@ class Eloquent extends DatabaseHandler */ protected function delete($key) { - $this->resolver()->where('id', '=', $id)->...
[<I>] Fix where call in delete for Eloquent handler
orchestral_memory
train
php
277489c2fb95ddfe1f9a405ce3ac5e4df35c5737
diff --git a/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java b/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java index <HASH>..<HASH> 100644 --- a/javacord-api/src/main/java/org/javacord/api/entity/server/Server.java +++ b/javacord-api/src/main/java/org/javacord/api/entity/serv...
Add Server#areYouSelfMuted
Javacord_Javacord
train
java
46b2e885fcb6de2dc93fa4bf3b9f6c90bba9110a
diff --git a/structr-ui/src/main/resources/structr/js/schema.js b/structr-ui/src/main/resources/structr/js/schema.js index <HASH>..<HASH> 100644 --- a/structr-ui/src/main/resources/structr/js/schema.js +++ b/structr-ui/src/main/resources/structr/js/schema.js @@ -2196,7 +2196,7 @@ let _Schema = { let unsavedChan...
Fixes broken link handler for editing schema relationship and linked schema node.
structr_structr
train
js
3b74092b9a83332bbf4f9ba50270de1f9da1cde9
diff --git a/src/frontend/org/voltdb/utils/Collector.java b/src/frontend/org/voltdb/utils/Collector.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/utils/Collector.java +++ b/src/frontend/org/voltdb/utils/Collector.java @@ -215,10 +215,14 @@ public class Collector { jsonObject = new JSONObje...
Added hooks to stop if invalid directory is given, and more useful error messages
VoltDB_voltdb
train
java
0f0880d4527bb922430b71b79d8f738d84902920
diff --git a/components/switch/index.js b/components/switch/index.js index <HASH>..<HASH> 100644 --- a/components/switch/index.js +++ b/components/switch/index.js @@ -98,10 +98,10 @@ export default class Switch extends Intact { } _onClick(e) { - this.trigger('click', e); if (!e._switchIgnore...
fix(Switch): should change value then trigger click event and should keep it consistent, close #<I>
ksc-fe_kpc
train
js
911f65b4b7ac6bc0ab436c09433bf3e6ec410759
diff --git a/lib/knapsack/allocator_builder.rb b/lib/knapsack/allocator_builder.rb index <HASH>..<HASH> 100644 --- a/lib/knapsack/allocator_builder.rb +++ b/lib/knapsack/allocator_builder.rb @@ -8,9 +8,9 @@ module Knapsack def allocator Knapsack::Allocator.new({ report: Knapsack.report.open, + ...
Change args order in allocator builder
ArturT_knapsack
train
rb
07d7e67e1add074e33c3bcc81ac5be7b503f3c0d
diff --git a/Core/InternalModule.php b/Core/InternalModule.php index <HASH>..<HASH> 100644 --- a/Core/InternalModule.php +++ b/Core/InternalModule.php @@ -39,6 +39,7 @@ class InternalModule extends InternalModule_parent { $this->checked = false; $this->state = self::FINE; + $this->metaData...
reset metadataversion on load as I remember this is needed for code that calls load multi le times with different module ids
OXIDprojects_oxid-module-internals
train
php
e6bf04e7bc316a8619afaec7e5eb3b3c7904cd05
diff --git a/src/test/java/net/fortuna/ical4j/model/RecurTest.java b/src/test/java/net/fortuna/ical4j/model/RecurTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/net/fortuna/ical4j/model/RecurTest.java +++ b/src/test/java/net/fortuna/ical4j/model/RecurTest.java @@ -542,7 +542,7 @@ public class RecurTest extend...
Updated test based on changed behaviour following recurrence refactor
ical4j_ical4j
train
java
584114daf7b4ab42906215cbffb798fc394ef61c
diff --git a/test/integration/active_model_searchable_test.rb b/test/integration/active_model_searchable_test.rb index <HASH>..<HASH> 100644 --- a/test/integration/active_model_searchable_test.rb +++ b/test/integration/active_model_searchable_test.rb @@ -26,9 +26,6 @@ module Slingshot should "save document into ...
Removing debugging information from ActiveModel integration test
karmi_retire
train
rb
03a5fa24ab4550579ba196e134524bd7e9d22e85
diff --git a/ohc-benchmark/src/main/java/org/caffinitas/ohc/benchmark/BenchmarkOHC.java b/ohc-benchmark/src/main/java/org/caffinitas/ohc/benchmark/BenchmarkOHC.java index <HASH>..<HASH> 100644 --- a/ohc-benchmark/src/main/java/org/caffinitas/ohc/benchmark/BenchmarkOHC.java +++ b/ohc-benchmark/src/main/java/org/caffinit...
use ThreadMXBean for timings
snazy_ohc
train
java
07d8504c3850dcfa1472da386d1a4ee192b60063
diff --git a/pylint/constants.py b/pylint/constants.py index <HASH>..<HASH> 100644 --- a/pylint/constants.py +++ b/pylint/constants.py @@ -8,11 +8,6 @@ from astroid.__pkginfo__ import version as astroid_version from pylint.__pkginfo__ import version as pylint_version -# Allow stopping after the first semicolon/has...
OPTION_RGX is redefined in pragma_parser.py, and is not used anywhere else. Removing this declaration, as it serves no purpose.
PyCQA_pylint
train
py
0aa7420146b7d1de35c02bdc042e8611326b1d82
diff --git a/lib/Vote.php b/lib/Vote.php index <HASH>..<HASH> 100644 --- a/lib/Vote.php +++ b/lib/Vote.php @@ -43,13 +43,13 @@ class Vote implements \Iterator // Vote - private $_ranking; + private array $_ranking; - private $_lastTimestamp; + private float $_lastTimestamp; - private $_count...
PHP <I> Type for refactoring Vote
julien-boudry_Condorcet
train
php
6b24c080a6a16a097a3335ab72fe76aaf84f0ca8
diff --git a/siphon/radarserver.py b/siphon/radarserver.py index <HASH>..<HASH> 100644 --- a/siphon/radarserver.py +++ b/siphon/radarserver.py @@ -37,7 +37,9 @@ class RadarQuery(DataQuery): class RadarServer(HTTPEndPoint): def _get_metadata(self): - self.get_path('dataset.xml') + ds_cat = TDSCatal...
RadarServer: Parse dataset catalog. Pull the metdata from our dataset catalog. Explicitly pull the variables out of this so they're readily available.
Unidata_siphon
train
py,py
ada8bfe1819c7f345b62370784d0ed1d36e4c580
diff --git a/unity_plugin/src/org/onepf/openiab/UnityPlugin.java b/unity_plugin/src/org/onepf/openiab/UnityPlugin.java index <HASH>..<HASH> 100644 --- a/unity_plugin/src/org/onepf/openiab/UnityPlugin.java +++ b/unity_plugin/src/org/onepf/openiab/UnityPlugin.java @@ -325,6 +325,18 @@ public class UnityPlugin { ...
#<I> - restored missing methods in unity helper class
onepf_OpenIAB
train
java
dbaf6a4bc372522db9615375698d1613e43e609d
diff --git a/src/hypercorn/asyncio/task_group.py b/src/hypercorn/asyncio/task_group.py index <HASH>..<HASH> 100644 --- a/src/hypercorn/asyncio/task_group.py +++ b/src/hypercorn/asyncio/task_group.py @@ -24,6 +24,10 @@ class TaskGroup: await task finally: task.cancel() + try...
Bugfix wait for tasks to complete when cancelled This seems to be the best practice to avoid any confusing additional errors.
pgjones_hypercorn
train
py,py
d2825470b6fe7183f0a6a67b79b4ed49f2d884fa
diff --git a/lib/dicom/SuperParent.rb b/lib/dicom/SuperParent.rb index <HASH>..<HASH> 100644 --- a/lib/dicom/SuperParent.rb +++ b/lib/dicom/SuperParent.rb @@ -226,6 +226,21 @@ module DICOM end end + # Returns an array of all child elements that belongs to the specified group. + # If no matches are f...
Added methods group() and remove_group() to SuperParent.
dicom_ruby-dicom
train
rb
b10b81c8d1e0123b4d9d58474503ae8e5f010e8a
diff --git a/lib/active_admin/view_helpers/method_or_proc_helper.rb b/lib/active_admin/view_helpers/method_or_proc_helper.rb index <HASH>..<HASH> 100644 --- a/lib/active_admin/view_helpers/method_or_proc_helper.rb +++ b/lib/active_admin/view_helpers/method_or_proc_helper.rb @@ -18,6 +18,8 @@ module MethodOrProcHelper ...
let MethodOrProcHelper's return the symbol_or_proc as fallback
activeadmin_activeadmin
train
rb
b2ecccb3e8a83a4263cba4a24552b7e8b062e34a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name="pylint-nose-checker", - version="0.0.1", + version="1.0.0", url='http://github.com/OddBloke/pylint-nose-checker', license='GPLv3', description...
Bump to <I>.
OddBloke_pylint-nose-checker
train
py
598e5fc0faf45990bc9761e7414fffa69377be75
diff --git a/salt/modules/augeas_cfg.py b/salt/modules/augeas_cfg.py index <HASH>..<HASH> 100644 --- a/salt/modules/augeas_cfg.py +++ b/salt/modules/augeas_cfg.py @@ -95,7 +95,7 @@ def execute(context=None, lens=None, commands=()): .. code-block:: bash - salt '*' augeas.execute commands='["set bind 0.0....
Add context to augeas.execute CLI example
saltstack_salt
train
py
a3958732581e1d9c26faf24c6679f30ddec3b0ee
diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBun...
[FrameworkBundle][Session] Add auto_start pass to the storage options
symfony_symfony
train
php
d6af155ee54be218079a4694310db080db26684c
diff --git a/livy/client.py b/livy/client.py index <HASH>..<HASH> 100644 --- a/livy/client.py +++ b/livy/client.py @@ -214,6 +214,10 @@ class LivyClient: ) interactive_session_params = {"kind": kind.value} + if heartbeat_timeout is not None: + interactive_session_params[ + ...
Set heartbeatTimeoutInSecond in create_session Prefer not to have it in helper intended for common params.
acroz_pylivy
train
py
5a3332d7c1f5e24343632e43f1e82d5b3eb847e1
diff --git a/lib/fb_graph/connections/permissions.rb b/lib/fb_graph/connections/permissions.rb index <HASH>..<HASH> 100644 --- a/lib/fb_graph/connections/permissions.rb +++ b/lib/fb_graph/connections/permissions.rb @@ -2,17 +2,17 @@ module FbGraph module Connections module Permissions def permissions(opt...
let node instance know api version
nov_fb_graph
train
rb,rb
9210a998b4c949a0d23438b5ed731e95a9adfa48
diff --git a/beaver/config.py b/beaver/config.py index <HASH>..<HASH> 100644 --- a/beaver/config.py +++ b/beaver/config.py @@ -27,7 +27,7 @@ class Config(): logger = logging.getLogger('beaver') logger.info('Processing config file %s' % configfile) - defaults = { + self._defaults = { ...
Partial fix for crashes caused by globbed files
python-beaver_python-beaver
train
py
86a064b3ac320088fb3926d0fb2c61e5429f8df9
diff --git a/wisdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/BundlePackagerExecutor.java b/wisdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/BundlePackagerExecutor.java index <HASH>..<HASH> 100644 --- a/wisdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/Bu...
Fix packager issue in reactor mode.
wisdom-framework_wisdom
train
java
0b6b1efad356e384fd4764e2f51a2d50dbdcc515
diff --git a/liquibase-core/src/main/java/liquibase/database/core/PostgresDatabase.java b/liquibase-core/src/main/java/liquibase/database/core/PostgresDatabase.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/database/core/PostgresDatabase.java +++ b/liquibase-core/src/main/java/liquibase/d...
CORE-<I> Missing escaping when creating an index in Postgres
liquibase_liquibase
train
java
1c67d2312fdddb624282baa7266fdeb3b2d26155
diff --git a/cgi.js b/cgi.js index <HASH>..<HASH> 100644 --- a/cgi.js +++ b/cgi.js @@ -98,11 +98,13 @@ function cgi(cgiBin, options) { //var unbase = new Buffer(auth[1], 'base64').toString().split(':'); } + var opts = extend({}, options); + // Now we can spawn the CGI executable debug('env: %...
cgi: ensure that the spawn opts don't trump the cgi options object Fixes #<I>.
TooTallNate_node-cgi
train
js
82b7d2cd1983e7240f97851b4a56f77b3044c156
diff --git a/tests/utils/misc/index.js b/tests/utils/misc/index.js index <HASH>..<HASH> 100644 --- a/tests/utils/misc/index.js +++ b/tests/utils/misc/index.js @@ -83,13 +83,13 @@ function wait(ms) { } module.exports = { - logger, - region, confirmCloudWatchLogs, - testServiceIdentifier, - serviceNameRegex, ...
test: Alphabetical order on exports
serverless_serverless
train
js
6a9b3c00319224a1a4f935eee060afc9059b8929
diff --git a/howdoi.rb b/howdoi.rb index <HASH>..<HASH> 100644 --- a/howdoi.rb +++ b/howdoi.rb @@ -50,6 +50,11 @@ class Howdoi < Formula sha256 "9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92" end + resource "urllib3" do + url "https://files.pythonhosted.org/packages/4c/13/2386233f7ee40aa8444...
Add urllib3 dependency to brew install
gleitz_howdoi
train
rb
d09eae33b0e7a9ee320266adc69f928d2b9d6d49
diff --git a/code/model/Order.php b/code/model/Order.php index <HASH>..<HASH> 100644 --- a/code/model/Order.php +++ b/code/model/Order.php @@ -268,6 +268,10 @@ class Order extends DataObject { )); $fields->addFieldToTab('Root.Main', new LiteralField('MainDetails', $htmlSummary)); + + //TODO: re-introduce thi...
Disabled OrderStatusLog creating and viewing. At least until it's implementation/purpose is properly sorted out.
silvershop_silvershop-core
train
php
361f394830eb0378a60e3cc80102530333bb443a
diff --git a/code/libraries/koowa/components/com_activities/controllers/behaviors/loggable.php b/code/libraries/koowa/components/com_activities/controllers/behaviors/loggable.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/components/com_activities/controllers/behaviors/loggable.php +++ b/code/libraries/koow...
Made loggable a bit smarter so that it plays well with before.x events.
joomlatools_joomlatools-framework
train
php
68a467386192b81315bcb4e1931fea82b64ad5b0
diff --git a/lib/Less/Parser.php b/lib/Less/Parser.php index <HASH>..<HASH> 100755 --- a/lib/Less/Parser.php +++ b/lib/Less/Parser.php @@ -1011,7 +1011,7 @@ class Parser { if ($this->match('(')) { $sel = $this->match('parseEntity'); - $this->expect(')'); + if (!$this->match(')')) { return null; } retur...
fix parser bug with mixin call being interpretted as selector
oyejorge_less.php
train
php
0d5952d3ce754ec8619b2d562612ee572ab865f5
diff --git a/tests/test_alldiff.py b/tests/test_alldiff.py index <HASH>..<HASH> 100644 --- a/tests/test_alldiff.py +++ b/tests/test_alldiff.py @@ -1,8 +1,12 @@ -import networkx -from networkx.algorithms import bipartite -from pyscipopt import Model, Conshdlr, SCIP_RESULT, SCIP_PARAMEMPHASIS, SCIP_PARAMSETTING -from typ...
skip failing "test" for alldiff example
SCIP-Interfaces_PySCIPOpt
train
py
d64f8d92851ad433a0d2d7e97fa95f3fca85c8c9
diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php index <HASH>..<HASH> 100644 --- a/features/bootstrap/FeatureContext.php +++ b/features/bootstrap/FeatureContext.php @@ -249,17 +249,13 @@ class FeatureContext implements SnippetAcceptingContext { $this->checkFileExi...
Further reduce duplication in featureContext
MageTest_MageSpec
train
php
a421f94909a1f98095dd707002b4cdf3c084d815
diff --git a/src/test/java/org/jboss/netty/bootstrap/BootstrapTest.java b/src/test/java/org/jboss/netty/bootstrap/BootstrapTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/jboss/netty/bootstrap/BootstrapTest.java +++ b/src/test/java/org/jboss/netty/bootstrap/BootstrapTest.java @@ -61,7 +61,10 @@ public cla...
A couple more test cases for Bootstrap
netty_netty
train
java
0386448b3fdf93f904f247b2c1564be6cec6fca0
diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvcImpl.java index <HASH>..<HASH> 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/BaseHapiTerminologySvcImpl....
Initial commit for work on ancestor filter with IN operator for LOINC.
jamesagnew_hapi-fhir
train
java
50c2ef752bc6549b26f4bcc51429eded0a0baac9
diff --git a/devices/lidl.js b/devices/lidl.js index <HASH>..<HASH> 100644 --- a/devices/lidl.js +++ b/devices/lidl.js @@ -441,6 +441,16 @@ module.exports = [ toZigbee: [], }, { + fingerprint: [{modelID: 'TS1001', manufacturerName: '_TYZB01_hww2py6b'}], + model: 'FB21-001', + ven...
Add FB<I>-<I> (#<I>) Add support for the Livarno remote control that is included in a Livarno Home LED ceiling light (see <URL>) Same type buttons as the model FB<I>-<I> but different look and layout.
Koenkk_zigbee-shepherd-converters
train
js
bbe55f93bd2aa324171a6d0be107822778e99148
diff --git a/src/chui/utils.js b/src/chui/utils.js index <HASH>..<HASH> 100755 --- a/src/chui/utils.js +++ b/src/chui/utils.js @@ -4,8 +4,11 @@ /////////////// // Create Uuid: /////////////// + UuidBit : 1, + Uuid : function() { - return Date.now().toString(36); + this.UuidBit++ + ...
Refactored creation of uuids. The $.Uuid method had a problem where if it were called in rapid succession it wouldn’t create a unique id. This has been corrected.
chocolatechip-ui_chocolatechipui
train
js
d7154fccc37142bbdf0443ddfcf8cc0d7fb2c669
diff --git a/src/JPush/Model/PushPayload.php b/src/JPush/Model/PushPayload.php index <HASH>..<HASH> 100644 --- a/src/JPush/Model/PushPayload.php +++ b/src/JPush/Model/PushPayload.php @@ -154,19 +154,14 @@ class PushPayload { } else if ($hasAlert) { $ios = $this->calculateLength(json_encode...
update feature that ios notification payload support <I> byte and ios message support <I> byte
jpush_jpush-api-php-client
train
php
c729c2a7b5f4557d502d081f02b5f780db5e753c
diff --git a/lib/metadata/linux/LinuxSystemd.rb b/lib/metadata/linux/LinuxSystemd.rb index <HASH>..<HASH> 100644 --- a/lib/metadata/linux/LinuxSystemd.rb +++ b/lib/metadata/linux/LinuxSystemd.rb @@ -130,7 +130,11 @@ module MiqLinux end def duplicated_link?(file) - existing_dirs.any? { |dir| @fs.getLink...
Changed to use array comparison to check duplicate links
ManageIQ_manageiq-smartstate
train
rb
26f25f5113a3155abe05ba06363f473a2589c2fb
diff --git a/tests/test_warnings.py b/tests/test_warnings.py index <HASH>..<HASH> 100644 --- a/tests/test_warnings.py +++ b/tests/test_warnings.py @@ -685,15 +685,9 @@ class TestSuite(unittest.TestCase): @unittest.skipIf(sys.platform == 'win32', WINDOWS_TMP_FILE_MSG) def test_bad_rsiz(self): """ - ...
Fix test for bad RSIZ value A test for a bad RSIZ value was incorrectly written. It assumed that the 'parse.full_codestream' option could turn off parsing the codestream when set to false. That's not true, we would still parse the codestream header, which is where RSIZ lives. Closes-Issue: #<I>
quintusdias_glymur
train
py
946adb0a5bbbb90176f60e124b1dc223e8755003
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,11 @@ var h = require('hyperscript') module.exports = function (img, onCrop) { + onCrop = onCrop || function () {} var width = img.width, height = img.height - var c = CANVAS = h('canvas', { - width: wid...
let user set size via css, etc
hyperhype_hypercrop
train
js
cecad3c3b0cba20d253220f13737055293a48524
diff --git a/O365/connection.py b/O365/connection.py index <HASH>..<HASH> 100644 --- a/O365/connection.py +++ b/O365/connection.py @@ -857,7 +857,7 @@ class Connection: There is no guarantee that this method will be called by the garbage collection But this is not an issue because this connections wil...
Update connection.py Added hasattr check to Connection __del__ method as it was giving an AttributeError
O365_python-o365
train
py
c6faa0ca3693a54cb4454988b6edb5acb24c3829
diff --git a/infoblox_client/objects.py b/infoblox_client/objects.py index <HASH>..<HASH> 100644 --- a/infoblox_client/objects.py +++ b/infoblox_client/objects.py @@ -18115,7 +18115,7 @@ class DNSZone(InfobloxObject): _all_searchable_fields = ['comment', 'dnssec_ksk_rollover_date', '...
Changes as per bug/NIOS-<I>
infobloxopen_infoblox-client
train
py
7af9e3768a4151b78a3191b5314968333561898a
diff --git a/lib/__init__.py b/lib/__init__.py index <HASH>..<HASH> 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -3,6 +3,8 @@ from .ds9_region_parser import RegionParser from .wcs_converter import check_wcs as _check_wcs from itertools import cycle +_builtin_open = open + class ShapeList(list): def _...
revert 7af<I>ef and do not use __builtins__ which needs py3 change
astropy_pyregion
train
py
723b5beec6d2b59bf2e3726fcf022227ea69509d
diff --git a/src/validators/common.js b/src/validators/common.js index <HASH>..<HASH> 100644 --- a/src/validators/common.js +++ b/src/validators/common.js @@ -8,6 +8,11 @@ export const req = value => { return false } + if (value instanceof Date) { + // invalid date won't pass + return !isNaN(value.getT...
Add date object support to required validator
vuelidate_vuelidate
train
js,js
b83fc00f6188b06aeb134820eb0af85d76bb843b
diff --git a/app/src/components/FileInfo/index.js b/app/src/components/FileInfo/index.js index <HASH>..<HASH> 100644 --- a/app/src/components/FileInfo/index.js +++ b/app/src/components/FileInfo/index.js @@ -23,9 +23,11 @@ type Props = {| export default function FileInfo(props: Props) { const { robot, sessionLoade...
refactor(app): fix no-steps-in-protocol warning clobbering upload errors (#<I>)
Opentrons_opentrons
train
js
6f63881020b1b52d2fd0d23de13aef078d6910d4
diff --git a/builder/amazon/common/step_security_group.go b/builder/amazon/common/step_security_group.go index <HASH>..<HASH> 100644 --- a/builder/amazon/common/step_security_group.go +++ b/builder/amazon/common/step_security_group.go @@ -80,7 +80,7 @@ func (s *StepSecurityGroup) Run(state multistep.StateBag) multistep...
fixes a typo introduced in a previous change
hashicorp_packer
train
go
0cc3fcc377fcd6b2183c490fba62cddda7fd40af
diff --git a/mdw-common/src/com/centurylink/mdw/cli/SwaggerGenerate.java b/mdw-common/src/com/centurylink/mdw/cli/SwaggerGenerate.java index <HASH>..<HASH> 100644 --- a/mdw-common/src/com/centurylink/mdw/cli/SwaggerGenerate.java +++ b/mdw-common/src/com/centurylink/mdw/cli/SwaggerGenerate.java @@ -296,15 +296,14 @@ pub...
Fix CLI codegen workflow generation.
CenturyLinkCloud_mdw
train
java
1e6fff812ad9b49fa81f44a548b2e9b1bc6fe451
diff --git a/lib/stemcell/builder.rb b/lib/stemcell/builder.rb index <HASH>..<HASH> 100644 --- a/lib/stemcell/builder.rb +++ b/lib/stemcell/builder.rb @@ -248,7 +248,7 @@ private end def definition_dest_dir - File.join(@prefix, "definitions", @name) + File.expand_path File.join(@prefix, "definitio...
Fix path bug in the definition_dest_dir
ankurcha_stemcell
train
rb
7befa9020ae207bd5f312711700876053470a364
diff --git a/lib/locomotive/steam/entities/content_entry.rb b/lib/locomotive/steam/entities/content_entry.rb index <HASH>..<HASH> 100644 --- a/lib/locomotive/steam/entities/content_entry.rb +++ b/lib/locomotive/steam/entities/content_entry.rb @@ -145,6 +145,7 @@ module Locomotive::Steam class FileField < Struct.ne...
url of a file field (content entry) should be nil if no filename (issue with documents loaded from MongoDB)
locomotivecms_steam
train
rb
074d0fe88e3887b02a7f31d6537cb784f6b1b599
diff --git a/grappa/operators/contain.py b/grappa/operators/contain.py index <HASH>..<HASH> 100644 --- a/grappa/operators/contain.py +++ b/grappa/operators/contain.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- +from array import array from six.moves import collections_abc import six + from ..operator import Operator ...
contain now supports dicts and arrays. Partially fix #<I>
grappa-py_grappa
train
py
e3f5d023fffa59ae593810c702f5d6be0ef45651
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb index <HASH>..<HASH> 100644 --- a/railties/test/application/rake/dbs_test.rb +++ b/railties/test/application/rake/dbs_test.rb @@ -168,9 +168,16 @@ module ApplicationTests end test 'db:test:load_structure...
run the load_structure test in the test environment
rails_rails
train
rb
6e4fea97354782ea89acc26f1cc291980ee2462c
diff --git a/lib/travis/model/build/matrix.rb b/lib/travis/model/build/matrix.rb index <HASH>..<HASH> 100644 --- a/lib/travis/model/build/matrix.rb +++ b/lib/travis/model/build/matrix.rb @@ -55,7 +55,7 @@ class Build def matrix_state tests = matrix.reject { |test| test.allow_failure? } if tests.blank...
fix an edge case with matrix_state some builds have single matrix allow_failure jobs, which was resulting in nil for matrix_state when it should just be :passed there are several ways we can solve this, but this is a good simple solution for the time being
travis-ci_travis-core
train
rb,rb
f39f3b1668d3ad64fa4269807e0f609fbbde4c96
diff --git a/src/ServerlessOffline.js b/src/ServerlessOffline.js index <HASH>..<HASH> 100644 --- a/src/ServerlessOffline.js +++ b/src/ServerlessOffline.js @@ -20,10 +20,16 @@ export default class ServerlessOffline { #lambda = null #serverless = null - constructor(serverless, cliOptions) { + constructor(server...
refactor: Adapt v3 log writing interfaces
dherault_serverless-offline
train
js
50ec64b841321ee7e90f9402219e91ef361945fb
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -88,16 +88,16 @@ install_requires = [ "python-benedict>=0.21.1", "pyparsing==2.4.7", "typing_extensions>=3.7.4", - "fsspec==2021.4.0", + "fsspec==2021.5.0", "diskcache>=5.2.1", ] # Extra depende...
setup: bump fsspec/s3fs/gcsfs to <I> (#<I>)
iterative_dvc
train
py
30d823db6e4ed85f338b3f16b17f0935f5fde866
diff --git a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/notifications/NotificationCenter.java b/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/notifications/NotificationCenter.java index <HASH>..<HASH> 100644 --- a/mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/notifications/NotificationCenter.java +++ b/mvvmfx/src/main/jav...
Adding `clear` operation to the `NotificationCenter` API
sialcasa_mvvmFX
train
java
babff90e7df6abfdbabd61f77fd40d8f4f7ef397
diff --git a/propagator.js b/propagator.js index <HASH>..<HASH> 100644 --- a/propagator.js +++ b/propagator.js @@ -10,9 +10,10 @@ function Propagator(func,input,output) { var self = this assert(func && input && output, "You need to call the propagator constructor with all three of a function, inpu...
added an additional invariant check for a missing case
eldritchreality_propagator.js
train
js
b5ab64ad1abb47277831d1dc6d6d78f94f194a7b
diff --git a/salt/modules/cpan.py b/salt/modules/cpan.py index <HASH>..<HASH> 100644 --- a/salt/modules/cpan.py +++ b/salt/modules/cpan.py @@ -217,6 +217,12 @@ def show(module): def show_config(): ''' Return a dict of CPAN configuration values + + CLI Example: + + .. code-block:: bash + + salt '...
Oops, forgot to finish a docstring
saltstack_salt
train
py
c937f0fa1d349c7679a5045e1e709887f356f353
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -138,6 +138,8 @@ setup( project_urls={ "Documentation": "https://python-tcod.readthedocs.io", "Changelog": "https://github.com/libtcod/python-tcod/blob/develop/CHANGELOG.rst", + "Source": "https:/...
Add source and issue tracker project URLs.
libtcod_python-tcod
train
py
9df0a96fa43b7be066f6f4b82bde8c1da0b5920a
diff --git a/app/assets/javascripts/pancore/simMatrix.js b/app/assets/javascripts/pancore/simMatrix.js index <HASH>..<HASH> 100644 --- a/app/assets/javascripts/pancore/simMatrix.js +++ b/app/assets/javascripts/pancore/simMatrix.js @@ -204,6 +204,7 @@ var constructSimMatrix = function constructSimMatrix(worker) { ...
removing needs to be fixed in the d3 code of the matrix
unipept_unipept-cli
train
js
c84e492d93458e0bb79bfa1810047841d5bb12ae
diff --git a/repo_file.go b/repo_file.go index <HASH>..<HASH> 100644 --- a/repo_file.go +++ b/repo_file.go @@ -13,3 +13,11 @@ import ( func (c *Client) GetFile(user, repo, ref, tree string) ([]byte, error) { return c.getResponse("GET", fmt.Sprintf("/repos/%s/%s/raw/%s/%s", user, repo, ref, tree), nil, nil) } + +// ...
Implement GetArchive (#<I>) * Implement GetArchive * Fix capitalization in error message.
gogs_go-gogs-client
train
go
9f824445013a8b4690f8327912727cad1cb459d7
diff --git a/src/main/java/com/treasure_data/client/AbstractClientAdaptor.java b/src/main/java/com/treasure_data/client/AbstractClientAdaptor.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/treasure_data/client/AbstractClientAdaptor.java +++ b/src/main/java/com/treasure_data/client/AbstractClientAdaptor.java @...
minor change of AbstractClientAdaptor class
treasure-data_td-client-java
train
java
16818d4585209c2a77066fb55f4f11787b91eb74
diff --git a/src/Listener/ViewListener.php b/src/Listener/ViewListener.php index <HASH>..<HASH> 100644 --- a/src/Listener/ViewListener.php +++ b/src/Listener/ViewListener.php @@ -314,6 +314,10 @@ class ViewListener extends BaseListener $table = $entity = []; $actions = $this->_crud()->config('action...
Add ability to blacklist actions from showing up on a particular template
FriendsOfCake_crud-view
train
php
05b6156d430970adcc628f7f1305d578094fa029
diff --git a/core/src/main/java/io/grpc/internal/ServiceConfigUtil.java b/core/src/main/java/io/grpc/internal/ServiceConfigUtil.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/io/grpc/internal/ServiceConfigUtil.java +++ b/core/src/main/java/io/grpc/internal/ServiceConfigUtil.java @@ -184,7 +184,7 @@ public fi...
core: using correct key for hedging max attempts
grpc_grpc-java
train
java
029b0dae0186a811deeecfbd9cb26a696f6cf514
diff --git a/src/server/pkg/hashtree/db.go b/src/server/pkg/hashtree/db.go index <HASH>..<HASH> 100644 --- a/src/server/pkg/hashtree/db.go +++ b/src/server/pkg/hashtree/db.go @@ -226,7 +226,6 @@ func glob(tx *bolt.Tx, pattern string) (map[string]*NodeProto, error) { return map[string]*NodeProto{clean(pattern): node}...
Make path cleaning for globbing consistent with the rest of the hashtree api
pachyderm_pachyderm
train
go
0d5875e86852126301f0f65b0f2d581f103539a5
diff --git a/h2o-core/src/main/java/water/init/NetworkTest.java b/h2o-core/src/main/java/water/init/NetworkTest.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/init/NetworkTest.java +++ b/h2o-core/src/main/java/water/init/NetworkTest.java @@ -177,7 +177,7 @@ public class NetworkTest extends Iced { ...
Cosmetic fix for display of TwoDimTable for NetworkTest.
h2oai_h2o-3
train
java
535bb9949a345207fc06b6d70be7392958eb30a5
diff --git a/lib/spork/diagnoser.rb b/lib/spork/diagnoser.rb index <HASH>..<HASH> 100644 --- a/lib/spork/diagnoser.rb +++ b/lib/spork/diagnoser.rb @@ -58,9 +58,12 @@ class Spork::Diagnoser private def filter_callstack(callstack, entry_file = @entry_file) - callstack = callstack.select { |f| ! f...
make diagnoser leave less footprint on the callstack
sporkrb_spork
train
rb
e284b26a2cb367f5fb00f1a7112a4bdf869eb187
diff --git a/lib/api-client/resources/tenant.js b/lib/api-client/resources/tenant.js index <HASH>..<HASH> 100644 --- a/lib/api-client/resources/tenant.js +++ b/lib/api-client/resources/tenant.js @@ -194,4 +194,22 @@ Tenant.delete = function (options, done) { }); }; +Tenant.options = function(options, done) { + v...
feat(api-client): add options request to tenant resource Related to: #CAM-<I>
camunda_camunda-bpm-sdk-js
train
js,js
2adec37515b2fb43f33d4d1580531fe2e13ce81e
diff --git a/lib/knapsack_pro/client/connection.rb b/lib/knapsack_pro/client/connection.rb index <HASH>..<HASH> 100644 --- a/lib/knapsack_pro/client/connection.rb +++ b/lib/knapsack_pro/client/connection.rb @@ -91,7 +91,7 @@ module KnapsackPro @http_response = http.post(uri.path, request_body, json_headers) ...
Show N/A when X-Request-Id header is not available * X-Request-Id is set by Knapsack Pro API rails app * nginx returns <I> when request never touched unicorn due to busy unicorn then X-Request-Id is empty
KnapsackPro_knapsack_pro-ruby
train
rb
a5cac7aee212a4c1855aee76e90c32e21eb85cd9
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -209,7 +209,7 @@ module.exports = function (grunt) { var browsers = { safari: 'Safari', chrome: 'Google Chrome', - firefox: 'Firefox' + firefox: 'firefox' }; // creates browser_tests:...
changed application name for firefox to match the commandline executible
elastic_elasticsearch-js
train
js
ca0bcacbd08e5deb2cd18575f2b9ac1d2a057661
diff --git a/lib/page-object/widgets.rb b/lib/page-object/widgets.rb index <HASH>..<HASH> 100644 --- a/lib/page-object/widgets.rb +++ b/lib/page-object/widgets.rb @@ -20,15 +20,7 @@ module PageObject define_nested_elements(Elements::Element, widget_tag) define_locators(PageObject, widget_tag) - ...
removed dynamic platform creating from Widget
cheezy_page-object
train
rb
2c8afb357ef159822c4fdab722f81a74168912a9
diff --git a/spec/strategy_spec.rb b/spec/strategy_spec.rb index <HASH>..<HASH> 100644 --- a/spec/strategy_spec.rb +++ b/spec/strategy_spec.rb @@ -75,6 +75,29 @@ describe Devise::Strategies::CasAuthenticatable, :type => "acceptance" do User.count.should == 2 User.find_by_username("newuser").should_not be_nil ...
Add a test case for cas_create_users? method
nbudin_devise_cas_authenticatable
train
rb
f8b0cadb8803a589ffc01e59ceceb6e0bf362bfc
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -8,7 +8,7 @@ const tap = require('tap'); const rewire = require('rewire'); const sinon = require('sinon'); -const bakery = rewire('./bakery'); +const bakery = rewire('./index'); let TextEncoder; if (typeof window === 'unde...
Import the bakery index into the test.
juju_bakeryjs
train
js
a7e1e7fdef33a45ae44e82b16f68de790312678c
diff --git a/src/charts/line.js b/src/charts/line.js index <HASH>..<HASH> 100644 --- a/src/charts/line.js +++ b/src/charts/line.js @@ -192,12 +192,11 @@ function ChartLine(config) { for (var z = 0; z < set.data.length; z++) { ctx.beginPath(); ctx.fillStyle = (set.pointsColor) ? set.pointsColor ...
Only changed chartline function in origami.js
raphamorim_origami.js
train
js
055ceac0ea628d4e37b7b58b0d5e3b74d690f428
diff --git a/lib/processMultipart.js b/lib/processMultipart.js index <HASH>..<HASH> 100644 --- a/lib/processMultipart.js +++ b/lib/processMultipart.js @@ -59,8 +59,8 @@ module.exports = (options, req, res, next) => { : memHandler(options, field, filename); // Upload into RAM. // Define upload timer. ...
Destroy file stream in case of upload timeout.
richardgirges_express-fileupload
train
js
ac974ebc00a91b0af6aada84c455bdc826ffd782
diff --git a/fmn/rules/anitya.py b/fmn/rules/anitya.py index <HASH>..<HASH> 100644 --- a/fmn/rules/anitya.py +++ b/fmn/rules/anitya.py @@ -55,7 +55,10 @@ def anitya_specific_distro(config, message, distro=None, *args, **kw): if d.get('name', '').lower() == distro.lower(): return True - d = me...
Fix processing messages from anitya Messages such as: <URL>` method of course. With this change, we do things in two steps but at least it should work.
fedora-infra_fmn.rules
train
py
0fd5421d1cfa29deedb86cb36379c2617da6d0dc
diff --git a/application/mqttpubsub/backend_test.go b/application/mqttpubsub/backend_test.go index <HASH>..<HASH> 100644 --- a/application/mqttpubsub/backend_test.go +++ b/application/mqttpubsub/backend_test.go @@ -19,7 +19,6 @@ func TestBackend(t *testing.T) { token := c.Connect() token.Wait() So(token.Error(...
Do not close the connection now we get a random id.
brocaar_loraserver
train
go,go
18f82f9b70ea24710db1c104814e5da9341bba68
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,8 @@ import 'es5-shim'; import moment from 'moment'; import momentLocalizer from '../src/lib/localization/momentDateLocalizer'; +import numbro from 'numbro'; +import numbroLocalizer from '../src/...
Fixing unit testes (Numbro localizer wasn't working)
redux-autoform_redux-autoform
train
js
d390f8ef3241e0e9e807d350d45aa29d5a49062a
diff --git a/spec/transliteration_spec.rb b/spec/transliteration_spec.rb index <HASH>..<HASH> 100644 --- a/spec/transliteration_spec.rb +++ b/spec/transliteration_spec.rb @@ -9,7 +9,7 @@ module ICU [ ["Any-Hex", "abcde", "\\u0061\\u0062\\u0063\\u0064\\u0065"], ["Lower", "ABC", "abc"], - ["en", "...
fix a broken test in transliteration
fantasticfears_ffi-icu
train
rb
45682d7a0f2f689cf644b54128efa52e4029b10f
diff --git a/mockgen/reflect.go b/mockgen/reflect.go index <HASH>..<HASH> 100644 --- a/mockgen/reflect.go +++ b/mockgen/reflect.go @@ -27,6 +27,7 @@ import ( "os/exec" "path/filepath" "runtime" + "strings" "text/template" "github.com/golang/mock/mockgen/model" @@ -116,7 +117,7 @@ func runInDir(program []byt...
Pass -build_flags as Multiple Args (#<I>) Value of -build_flags was passed to 'go' as a single argument. For example when passing -build_flags "-mod vendor", the invoked commandline was `go -mod\ vendor` and the go command errored out because there is no such arg. That has caused confusion, e.g. in #<I> Solve...
golang_mock
train
go
bb08f67cbfa178a8e89ad7f9ec131531f5598d0b
diff --git a/yargy/labels.py b/yargy/labels.py index <HASH>..<HASH> 100644 --- a/yargy/labels.py +++ b/yargy/labels.py @@ -1,5 +1,8 @@ GENDERS = ("masc", "femn", "neut", "Ms-f", "GNdr") +def get_token_features(candidate, case, grammemes): + return ((g in t.grammemes for g in grammemes) for t in (case, candidate))...
Create get_token_features function
natasha_yargy
train
py
8d30d8581601dcd4325b9da0658e5675346b0a6a
diff --git a/src/main/java/org/graylog/plugins/usagestatistics/collectors/ElasticsearchCollector.java b/src/main/java/org/graylog/plugins/usagestatistics/collectors/ElasticsearchCollector.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/graylog/plugins/usagestatistics/collectors/ElasticsearchCollector.java +++ ...
add TODO for future removal of HostInfo
Graylog2_graylog-plugin-anonymous-usage-statistics
train
java
ec74d2fedaf848359c03796bd991587ed2194a72
diff --git a/lib/iptocountry.js b/lib/iptocountry.js index <HASH>..<HASH> 100644 --- a/lib/iptocountry.js +++ b/lib/iptocountry.js @@ -182,6 +182,8 @@ exports = module.exports = function() { } if(!isAnyIP) { return {error: 'Missing IP address.'}; + } else if(ipListLen > 10) { + return {error: '...
Add limit for IP addresses (HTTP)
devfacet_iptocountry
train
js
64add90c6b6b70a431628b02aff1b2cf8cff40e1
diff --git a/djlotrek/tests/test_aes.py b/djlotrek/tests/test_aes.py index <HASH>..<HASH> 100644 --- a/djlotrek/tests/test_aes.py +++ b/djlotrek/tests/test_aes.py @@ -31,6 +31,6 @@ class AESTestCase(TestCase): dec = djlotrek.aes.decode(enc) self.assertEqual(dec, 'marco123@gmail.com') - enc = ...
tests: change aes test in order to cover encoding with no padding
lotrekagency_djlotrek
train
py
fc3a841f37e1162531cd412f42f07aae944aacda
diff --git a/tests/Validator/IPValidatorTest.php b/tests/Validator/IPValidatorTest.php index <HASH>..<HASH> 100755 --- a/tests/Validator/IPValidatorTest.php +++ b/tests/Validator/IPValidatorTest.php @@ -16,8 +16,9 @@ class IPValidatorTest extends PHPUnit_Framework_TestCase /** @test **/ public function it_sho...
amended test input of domain name test to avoid false negatives
au-research_ANDS-DOI-Service
train
php
904d8f29c6ed3c1bf12d4f3f6c637dc5f29ef0ac
diff --git a/lib/media/streaming_engine.js b/lib/media/streaming_engine.js index <HASH>..<HASH> 100644 --- a/lib/media/streaming_engine.js +++ b/lib/media/streaming_engine.js @@ -1187,8 +1187,9 @@ shaka.media.StreamingEngine = class { try { const isMP4 = stream.mimeType == 'video/mp4' || stre...
feat(LL-Dash): Check whether ReadableStream is supported If low latency mode is enabled and ReadableStream is supported by the browser, use the streamDataCallback to handle the chunked data of the ReadableStream. If low latency mode is enabled but ReadableStream is not supported, show a warning message, and fall back ...
google_shaka-player
train
js