hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
c5b43d6ce89a45675e7f7cc0340955c220b29b69
diff --git a/vue.go b/vue.go index <HASH>..<HASH> 100644 --- a/vue.go +++ b/vue.go @@ -276,6 +276,20 @@ type Vue struct { // and `exported fields` should have proper `js struct tag` for // bidirectionaly data bindings // +/////////////// ONE IMPORTANT NOTICE `struct exported funcs` /////////////////// +// +// Rule...
Add more documentation for gopherjs side VM struct rules
oskca_gopherjs-vue
train
f9c6e4ca52c78484284abf679914431d77810725
diff --git a/collector/diskstats.go b/collector/diskstats.go index <HASH>..<HASH> 100644 --- a/collector/diskstats.go +++ b/collector/diskstats.go @@ -27,7 +27,7 @@ type diskStat struct { } var ( - ignoredDevices = flag.String("diskstatsIgnoredDevices", "^(ram|loop)\\d+$", "Regexp of devices to ignore for diskstats...
Ignore disk partitions by default, it's the disks themselves you usually want.
prometheus_node_exporter
train
1fa43907020abea72f12de53202192d6aadde0c8
diff --git a/marklogic-client-api/src/main/java/com/marklogic/client/datamovement/impl/QueryBatcherImpl.java b/marklogic-client-api/src/main/java/com/marklogic/client/datamovement/impl/QueryBatcherImpl.java index <HASH>..<HASH> 100644 --- a/marklogic-client-api/src/main/java/com/marklogic/client/datamovement/impl/Query...
reword log messages to identify hosts without implying connection #<I>
marklogic_java-client-api
train
85861ef7fa7850aff0a99e28b8bf39e4e6823958
diff --git a/packages/xod-client/src/project/actions.js b/packages/xod-client/src/project/actions.js index <HASH>..<HASH> 100644 --- a/packages/xod-client/src/project/actions.js +++ b/packages/xod-client/src/project/actions.js @@ -8,7 +8,7 @@ export const createProject = (projectName) => ({ type: ActionType.PROJECT_...
fix(xod-client): fix id of mainPatch on creating new project
xodio_xod
train
59fdf6f3f45697ac38467b18f13041c40b203c0d
diff --git a/support/src/main/java/com/yanzhenjie/recyclerview/SwipeMenuView.java b/support/src/main/java/com/yanzhenjie/recyclerview/SwipeMenuView.java index <HASH>..<HASH> 100644 --- a/support/src/main/java/com/yanzhenjie/recyclerview/SwipeMenuView.java +++ b/support/src/main/java/com/yanzhenjie/recyclerview/SwipeMen...
Menu is centered vertically, close #<I>.
yanzhenjie_SwipeRecyclerView
train
ad49f68a45ab198144ed6af71fe58bbe836ebc26
diff --git a/lib/opentok/client.rb b/lib/opentok/client.rb index <HASH>..<HASH> 100644 --- a/lib/opentok/client.rb +++ b/lib/opentok/client.rb @@ -199,17 +199,17 @@ module OpenTok when 204 response when 400 - raise OpenTokBroadcastError, "The request was invalid." + raise OpenTokArc...
Fixing exception classes in Client#select_streams_for_archive
opentok_OpenTok-Ruby-SDK
train
9cd0b38c7e319df90c20d979c9993cd62c6f3c94
diff --git a/run_mass_consistency.py b/run_mass_consistency.py index <HASH>..<HASH> 100755 --- a/run_mass_consistency.py +++ b/run_mass_consistency.py @@ -15,6 +15,8 @@ if __name__ == '__main__': parser.add_argument('--compounds', metavar='compoundfile', action='append', type=argparse.File...
run_mass_consistency: Allow certain reactions to be excluded from check
zhanglab_psamm
train
9d45cfd8c6bbfdf4b9311fc3843ecfae0cd8c336
diff --git a/src/main/java/dtest/actions/HttpRequest.java b/src/main/java/dtest/actions/HttpRequest.java index <HASH>..<HASH> 100644 --- a/src/main/java/dtest/actions/HttpRequest.java +++ b/src/main/java/dtest/actions/HttpRequest.java @@ -3,6 +3,7 @@ package dtest.actions; import dtest.base.TestAction; import dtest....
Log response details in HttpRequest action
mcdcorp_opentest
train
c54ce97bf675ab4c3264df1f6fd74bcc2ced34b9
diff --git a/src/main/java/com/github/pgasync/impl/netty/NettyPgProtocolStream.java b/src/main/java/com/github/pgasync/impl/netty/NettyPgProtocolStream.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/pgasync/impl/netty/NettyPgProtocolStream.java +++ b/src/main/java/com/github/pgasync/impl/netty/NettyPgP...
Catch errors from writing to netty context
alaisi_postgres-async-driver
train
c9ac8ce47638027d8b0808b4b038d2a36f778a23
diff --git a/pymatgen/analysis/defects/point_defects.py b/pymatgen/analysis/defects/point_defects.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/defects/point_defects.py +++ b/pymatgen/analysis/defects/point_defects.py @@ -38,7 +38,7 @@ from pymatgen.io.zeopp import get_voronoi_nodes, get_void_volume_surfarea, ...
Completed move of ValenceIonicRadiusEvaluator
materialsproject_pymatgen
train
e196fd85810fc1dc6e723c2ebda1fe8a3cc0da60
diff --git a/lib/groupdate/relation_builder.rb b/lib/groupdate/relation_builder.rb index <HASH>..<HASH> 100644 --- a/lib/groupdate/relation_builder.rb +++ b/lib/groupdate/relation_builder.rb @@ -194,12 +194,12 @@ module Groupdate if @time_range.end op = @time_range.exclude_end? ? "<" : "<=" ...
Use begin and end in code (same as first and last with no arguments)
ankane_groupdate
train
54b9800f7766b2f3072074cd4346df31bc5241cf
diff --git a/src/main/java/com/j256/ormlite/db/PostgresDatabaseType.java b/src/main/java/com/j256/ormlite/db/PostgresDatabaseType.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/j256/ormlite/db/PostgresDatabaseType.java +++ b/src/main/java/com/j256/ormlite/db/PostgresDatabaseType.java @@ -76,11 +76,16 @@ publi...
Added better support for "schema"."table". Thanks to Johny Jugianto.
j256_ormlite-jdbc
train
bde1cd68ed58e76da2dab647d14f6efbe714849e
diff --git a/easybatch-core/src/main/java/io/github/benas/easybatch/core/impl/EasyBatchEngine.java b/easybatch-core/src/main/java/io/github/benas/easybatch/core/impl/EasyBatchEngine.java index <HASH>..<HASH> 100644 --- a/easybatch-core/src/main/java/io/github/benas/easybatch/core/impl/EasyBatchEngine.java +++ b/easybat...
if total records count cannot be calculated in advance, do not log 0 but "N/A" instead which is more adequate
j-easy_easy-batch
train
1d63b305f9c7761e833031f601f750d50dd1115f
diff --git a/test/Transaction/PayPalTransactionUTest.php b/test/Transaction/PayPalTransactionUTest.php index <HASH>..<HASH> 100644 --- a/test/Transaction/PayPalTransactionUTest.php +++ b/test/Transaction/PayPalTransactionUTest.php @@ -66,14 +66,6 @@ class PayPalTransactionUTest extends \PHPUnit_Framework_TestCase ...
Add test for cancelling a capture
wirecard_paymentSDK-php
train
d30df346b43180a5a5e90b84b0f19b7f379985e2
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartition.java b/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartition.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/parti...
[hotfix][network] various minor improvements
apache_flink
train
8a6efa8733eb13fdee54329d9d7242295a689eb1
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -3,7 +3,6 @@ * CLI harness module. Comes with free help command * @module seeli * @author Eric Satterwhite - * @requires prime * @requires mout * @requires nopt * @requires domain
removing references to prime in entrypoint
esatterwhite_node-seeli
train
981aad79e6486bb126a28562615ba56c69399c70
diff --git a/fsm/history_segments.go b/fsm/history_segments.go index <HASH>..<HASH> 100644 --- a/fsm/history_segments.go +++ b/fsm/history_segments.go @@ -51,7 +51,7 @@ func newHistorySegmentor(c *client) *historySegmentor { } func (s *historySegmentor) FromHistoryEventIterator(itr HistoryEventIterator) ([]HistoryS...
rename snapshot to segment var
sclasen_swfsm
train
af145099913b37946a96df486bea064545b99fe3
diff --git a/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OType.java b/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OType.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/metadata/schema/OType.java +++ b/core/src/main/java/com/or...
Boolean types now accepts also from Strings. Other?
orientechnologies_orientdb
train
abb79e5cd84733a851453ad6caddeb350cd7b68a
diff --git a/src/components/common/logo.js b/src/components/common/logo.js index <HASH>..<HASH> 100644 --- a/src/components/common/logo.js +++ b/src/components/common/logo.js @@ -20,10 +20,11 @@ import React from 'react'; import styled from 'styled-components'; +import {KEPLER_GL_NAME, KEPLER_GL_VERSION} from 'cons...
Unified app name (#<I>)
keplergl_kepler.gl
train
374a3bb95b00ee28e0bccb467bd809481ecd5b3e
diff --git a/core/src/main/java/org/infinispan/marshall/MarshalledValue.java b/core/src/main/java/org/infinispan/marshall/MarshalledValue.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/marshall/MarshalledValue.java +++ b/core/src/main/java/org/infinispan/marshall/MarshalledValue.java @@ -50,10...
Internal reps need to be volatile!!
infinispan_infinispan
train
ea9a47e64bc70f7c3430e37f55dfb3d8c90b899b
diff --git a/network.js b/network.js index <HASH>..<HASH> 100644 --- a/network.js +++ b/network.js @@ -163,7 +163,7 @@ function sendRequest(ws, command, params, bReroutable, responseHandler){ findNextPeer(ws, function(next_ws){ // the callback may be called much later if findNextPeer has to wait for connection ...
avoid cyclic rerouting A->B->A
byteball_ocore
train
4668da5ec762466311052970c1a674585e644816
diff --git a/stdlib/json.rb b/stdlib/json.rb index <HASH>..<HASH> 100644 --- a/stdlib/json.rb +++ b/stdlib/json.rb @@ -103,11 +103,6 @@ class Object def to_json to_s.to_json end - - # FIXME: remove this - def as_json - nil - end end class Array @@ -122,15 +117,9 @@ class Array return '[' + r...
Remove all as_json methods to opal-activesupport
opal_opal
train
a25f8afce996ae3ee97edabf03c885c2298ef6e7
diff --git a/src/Routing/Controller.php b/src/Routing/Controller.php index <HASH>..<HASH> 100644 --- a/src/Routing/Controller.php +++ b/src/Routing/Controller.php @@ -310,13 +310,12 @@ abstract class Controller } /** - * Method automatically invoked before the current Action, stopping the flight - *...
Small changes on Nova\Routing\Controller
nova-framework_system
train
f7b270a56f5e918710ff617cc661988e86e07199
diff --git a/saltapi/netapi/rest_flask.py b/saltapi/netapi/rest_flask.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_flask.py +++ b/saltapi/netapi/rest_flask.py @@ -11,7 +11,7 @@ from werkzeug import exceptions import salt.client import salt.runner -import saltapi.loader +import salt.utils def __virtua...
Updated runner to use the new RunnerClient
saltstack_salt
train
fd681195ba68bad5cd0cabfa14784ceb1e291dda
diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/inspector.py +++ b/spyderlib/plugins/inspector.py @@ -532,7 +532,7 @@ class ObjectInspector(SpyderPluginWidget): if self.dockwidget is not None: self.dockwid...
(Fixes Issue <I>) Editor: "Inspect current object" action now forces the "Object inspector" to be visible and raised above other dockwidgets
spyder-ide_spyder
train
40e86247ade53feea897586e8d5d566408fb3fa4
diff --git a/src/Mustache/Tokenizer.php b/src/Mustache/Tokenizer.php index <HASH>..<HASH> 100644 --- a/src/Mustache/Tokenizer.php +++ b/src/Mustache/Tokenizer.php @@ -163,7 +163,7 @@ class Mustache_Tokenizer if ($this->tagType === self::T_UNESCAPED) { // Clean up `{...
math is hard - check the bounds of a string properly when looking to see if a closing } exists
bobthecow_mustache.php
train
1eaf9a70f74b2c9d51273ad9b88dd64695df0d6a
diff --git a/contribs/gmf/src/services/authenticationservice.js b/contribs/gmf/src/services/authenticationservice.js index <HASH>..<HASH> 100644 --- a/contribs/gmf/src/services/authenticationservice.js +++ b/contribs/gmf/src/services/authenticationservice.js @@ -285,6 +285,7 @@ gmf.Authentication.prototype.resetUser_ =...
Reload the functionality on user logout
camptocamp_ngeo
train
9b268614891d1e1291db5e08e5aea6012ded2488
diff --git a/acceptancetests/assess_model_migration.py b/acceptancetests/assess_model_migration.py index <HASH>..<HASH> 100755 --- a/acceptancetests/assess_model_migration.py +++ b/acceptancetests/assess_model_migration.py @@ -168,7 +168,10 @@ def wait_until_model_disappears(client, model_name, timeout=60): ...
Now handle model list change with name/short-name. Falls back without version check.
juju_juju
train
2c774db3e7cb197bb8419cac3a2b51e353105e7a
diff --git a/tests/auto_generators/make_VMTests.py b/tests/auto_generators/make_VMTests.py index <HASH>..<HASH> 100644 --- a/tests/auto_generators/make_VMTests.py +++ b/tests/auto_generators/make_VMTests.py @@ -11,10 +11,10 @@ git clone https://github.com/ethereum/tests --depth=1 for i in ./tests/VMTests/*; do python ...
Update make_VMTests.py (#<I>)
trailofbits_manticore
train
9872f131d92013d334bcda67993085c358532e95
diff --git a/src/kff.Model.js b/src/kff.Model.js index <HASH>..<HASH> 100644 --- a/src/kff.Model.js +++ b/src/kff.Model.js @@ -71,7 +71,7 @@ kff.Model = kff.createClass( /** * Sets the value(s) of given attribute(s). Triggers a change event. * - * @param {string} attr Attribute name + * @param {string|Object}...
feat(kff.Model): add method unset for unsetting (deleting) model attribute(s)
karfcz_kff
train
692bf1371a21485ffc26bcecb7f4b558b400baba
diff --git a/core.js b/core.js index <HASH>..<HASH> 100644 --- a/core.js +++ b/core.js @@ -10,7 +10,9 @@ import { readJson, readdir, mkdtemp, - remove + remove, + isObject, + filterObjectByKey } from './utils.js' import IGNORE_FILES from './exception/ignore-files.js' import IGNORE_FIELDS from './excepti...
ignoreExports in clearPackageJSON
shashkovdanil_clean-publish
train
a78b9a372692ea034bc340df098f3ee058939ca6
diff --git a/integration-cli/docker_cli_search_test.go b/integration-cli/docker_cli_search_test.go index <HASH>..<HASH> 100644 --- a/integration-cli/docker_cli_search_test.go +++ b/integration-cli/docker_cli_search_test.go @@ -47,13 +47,8 @@ func (s *DockerSuite) TestSearchStarsOptionWithWrongParameter(c *check.C) { f...
TestSearchCmdOptions: remove cli-only checks Both `--help` and `--no-trunc` are implemented in the CLI. There's no need to verify them here because the integration tests use a fixed version of the CLI.
moby_moby
train
dab9224ebb0da7001ca95517de1507f4e9f22506
diff --git a/expandablerecyclerview/src/main/java/com/ryanbrooks/expandablerecyclerview/Adapter/ExpandableRecyclerAdapter.java b/expandablerecyclerview/src/main/java/com/ryanbrooks/expandablerecyclerview/Adapter/ExpandableRecyclerAdapter.java index <HASH>..<HASH> 100644 --- a/expandablerecyclerview/src/main/java/com/ry...
Bundle in onSaveInstanceState and bundle in onRestoreInstanceState are both now savedInstanceStateBundle
bignerdranch_expandable-recycler-view
train
ce8a41a279f96f1bef61ecd4ba23b6a03062adfd
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java b/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisRun.java @@ -52,8 +52,6 @@ public clas...
Changed to report analysis errors only after the Find Bugs dialog has closed. (Having two modal dialogs open confuses Windows.) git-svn-id: <URL>
spotbugs_spotbugs
train
27f0873de7c24cf768d2ede9dec81c82830c6885
diff --git a/builtin/providers/aws/resource_aws_s3_bucket.go b/builtin/providers/aws/resource_aws_s3_bucket.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_s3_bucket.go +++ b/builtin/providers/aws/resource_aws_s3_bucket.go @@ -88,14 +88,12 @@ func resourceAwsS3BucketRead(d *schema.ResourceData, ...
Don't error when reading s3 bucket with no tags s3.GetBucketTagging returns an error if there are no tags associated with a bucket. Consequently, any configuration with a tagless s3 bucket would fail with an error, "the TagSet does not exist". Handle that error more appropriately, interpreting it as an empty set of t...
hashicorp_terraform
train
b45574a41a2db75c7a1079c643a4e31cfe20ddef
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -8,6 +8,9 @@ module.exports = function(grunt) { return result; }; + var revision = require('child_process') + .execSync('git rev-parse --short=8 ' + process.env.CI_BUILD_REF).toString(...
Fixed revision is used by grunt as well
Scout24_showcar-ui
train
da12faad888952d1d2135a23b9d547d2d44e0c19
diff --git a/api/opentrons/containers/__init__.py b/api/opentrons/containers/__init__.py index <HASH>..<HASH> 100644 --- a/api/opentrons/containers/__init__.py +++ b/api/opentrons/containers/__init__.py @@ -77,7 +77,7 @@ def list(): return database.list_all_containers() -def create(name, grid, spacing, diamete...
Remove save parameter on containers.create, since it should always be true
Opentrons_opentrons
train
4a4b1a7e9b5dda6d0cf98b1d2679328e4e5676f9
diff --git a/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php b/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php index <HASH>..<HASH> 100644 --- a/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php +++ b/tests/Aws/Tests/Glacier/Integration/IntegrationTest.php @@ -94,8 +94,8 @@ class IntegrationTest e...
Minor updates to Glacier client integration test
aws_aws-sdk-php
train
a5a68f014fe0fa9be11aa297d021c873b2bb6b8b
diff --git a/kubetest/anywhere.go b/kubetest/anywhere.go index <HASH>..<HASH> 100644 --- a/kubetest/anywhere.go +++ b/kubetest/anywhere.go @@ -367,6 +367,7 @@ func (k *kubernetesAnywhereMultiCluster) Up() error { // TestSetup sets up test environment by merging kubeconfig of multiple deployments. func (k *kubernete...
Write merged kubeconfig to disk for k8s-anywhere multi-cluster deployment
kubernetes_test-infra
train
0319fb6677d6bc2ae6481d8c5ebcddb46f63b123
diff --git a/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java b/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java index <HASH>..<HASH> 100644 --- a/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +++ b/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesAct...
android: support persistent cookies and set web view database path
rhomobile_rhodes
train
f8d2d7aac53bb479370c6f7189de98178e2e1170
diff --git a/src/components/core/core.js b/src/components/core/core.js index <HASH>..<HASH> 100644 --- a/src/components/core/core.js +++ b/src/components/core/core.js @@ -105,8 +105,10 @@ class Core extends UIObject { enableResizeObserver() { var checkSizeCallback = () => { if (this.reqAnimFrame) cancelA...
core: fix resize observer triggering resize multiple times
clappr_clappr
train
6307ec042795fb481d23ac1cee1b8f8decb0c531
diff --git a/src/Events/StorageEvent.php b/src/Events/StorageEvent.php index <HASH>..<HASH> 100644 --- a/src/Events/StorageEvent.php +++ b/src/Events/StorageEvent.php @@ -51,10 +51,10 @@ class StorageEvent extends GenericEvent /** * Instantiate generic Storage Event. * - * @param Bolt\Content $subj...
remove the strict typehint and change doc param to match
bolt_bolt
train
3284f8940d69d137730905fbeb7b3c6634572eb4
diff --git a/visidata/vdtui.py b/visidata/vdtui.py index <HASH>..<HASH> 100755 --- a/visidata/vdtui.py +++ b/visidata/vdtui.py @@ -938,27 +938,27 @@ Command('>', 'moveToNextRow(lambda row,sheet=sheet,col=cursorCol,val=cursorValue Command('{', 'moveToNextRow(lambda row,sheet=sheet: sheet.isSelected(row), reverse=True) ...
[vdtui] change longname of column commands
saulpw_visidata
train
023e1c78df64e0cbdc7fa9ff8a912c56a43a033b
diff --git a/src/_pytest/main.py b/src/_pytest/main.py index <HASH>..<HASH> 100644 --- a/src/_pytest/main.py +++ b/src/_pytest/main.py @@ -489,7 +489,7 @@ class Session(nodes.FSCollector): names = self._parsearg(arg) argpath = names.pop(0).realpath() - paths = [] + paths = set() ...
paths: use set and isdisjoint Time: <I>s => <I>s (before rebase: <I>s => <I>s)
pytest-dev_pytest
train
e15991a6d20edc1ff64703bed22c65b3da024663
diff --git a/environment.rb b/environment.rb index <HASH>..<HASH> 100644 --- a/environment.rb +++ b/environment.rb @@ -33,7 +33,8 @@ class Environment def status envs = @beanstalk.describe_environments({ - :environment_names => [self.name] + :environment_names => [self.name], + ...
Don't try to redeploy to a terminated environment Instead, spin the environment up again
pranavraja_beanstalkify
train
9486905157a48d5049eba9d5b9e76d050209c4ef
diff --git a/cli.js b/cli.js index <HASH>..<HASH> 100755 --- a/cli.js +++ b/cli.js @@ -46,6 +46,19 @@ const cli = meow( withDescriptions: { type: 'boolean', default: false + }, + // babel-plugin-react-intl boolean options + enforceDescriptions: { + type: 'boolean', + ...
fixes babel-plugin-react-intl boolean options parsing of in cli (#<I>) (#<I>)
akameco_extract-react-intl-messages
train
d419efbe7186a2c0fcb6c4a056794a7b137cde5d
diff --git a/pkg/kubelet/config/file_linux_test.go b/pkg/kubelet/config/file_linux_test.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/config/file_linux_test.go +++ b/pkg/kubelet/config/file_linux_test.go @@ -208,6 +208,10 @@ func getTestCases(hostname types.NodeName) []*testCase { RestartPolicy: ...
Fix unittest reflecting the default taint tolerations change for static pods.
kubernetes_kubernetes
train
3960021d370fbea9d0893df3ffc4db173ce40dc4
diff --git a/simuvex/procedures/libc___so___6/perror.py b/simuvex/procedures/libc___so___6/perror.py index <HASH>..<HASH> 100644 --- a/simuvex/procedures/libc___so___6/perror.py +++ b/simuvex/procedures/libc___so___6/perror.py @@ -13,6 +13,3 @@ class perror(simuvex.SimProcedure): length = self.inline_call(st...
Get completely rid of duplicate self.ret()
angr_angr
train
31c4e1eb5a76be60c9e8c5dc9a3d6af90d83b2e5
diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/Election.java b/aeron-cluster/src/main/java/io/aeron/cluster/Election.java index <HASH>..<HASH> 100644 --- a/aeron-cluster/src/main/java/io/aeron/cluster/Election.java +++ b/aeron-cluster/src/main/java/io/aeron/cluster/Election.java @@ -264,7 +264,7 @@ public cl...
[Java] Clean up logic for responding to a canvass when in leader ready state.
real-logic_aeron
train
c7e7eb9118f6c0744edc5474b9b370150dabf4ae
diff --git a/kernel/classes/ezcache.php b/kernel/classes/ezcache.php index <HASH>..<HASH> 100644 --- a/kernel/classes/ezcache.php +++ b/kernel/classes/ezcache.php @@ -698,6 +698,7 @@ class eZCache $handler = eZExpiryHandler::instance(); $handler->setTimestamp( 'content-view-cache', time() ); ...
Implemented 'content/cache/all' event when clearing all content cache
ezsystems_ezpublish-legacy
train
39e296970ffa4f37d45cfa2bb6ded85c3896af37
diff --git a/basis_set_exchange/validator.py b/basis_set_exchange/validator.py index <HASH>..<HASH> 100644 --- a/basis_set_exchange/validator.py +++ b/basis_set_exchange/validator.py @@ -23,6 +23,17 @@ def _list_has_duplicates(lst): return dupe +def _list_has_nonpositives(lst): + '''Check if a list of float...
Add test for non-positive exponents
MolSSI-BSE_basis_set_exchange
train
96e73ff02cfc795267ba2038d05186a87ef685d4
diff --git a/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java b/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java index <HASH>..<HASH> 100644 --- a/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java +++ b/osmdroid-android/src/main/java/org/osmdroid/views/MapView.java @@ -1329,13 +...
Additional fix for issue <I> for objects east of the date line.
osmdroid_osmdroid
train
db0ea820bddffba3eb69db4d87246ca554728096
diff --git a/salesforce/backend/compiler.py b/salesforce/backend/compiler.py index <HASH>..<HASH> 100644 --- a/salesforce/backend/compiler.py +++ b/salesforce/backend/compiler.py @@ -8,7 +8,8 @@ """ Generate queries using the SOQL dialect. """ -from django.db.models.sql import compiler, query, where, constants +from...
Fixed #<I>: undefined names, "(NOT (a AND b)) != ((NOT a) AND (NOT b))", test
django-salesforce_django-salesforce
train
6bfc9c168ff190106817e12cd4b9e0735d6c1a09
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -1571,7 +1571,7 @@ def is_proxy(): TODO: Need to extend this for proxies that might run on other Unices ''' - return not (is_linux() or is_windows()) + ...
salt.utils.is_proxy() is no longer always true on SunOS/Illumos/SmartOS
saltstack_salt
train
1083df179f5be0b75a519c768c2fb7438185eb5d
diff --git a/src/main/java-templates/org/primefaces/component/menubutton/MenuButtonTemplate.java b/src/main/java-templates/org/primefaces/component/menubutton/MenuButtonTemplate.java index <HASH>..<HASH> 100644 --- a/src/main/java-templates/org/primefaces/component/menubutton/MenuButtonTemplate.java +++ b/src/main/java...
Icon pos for menubutton
primefaces_primefaces
train
9bf4215782517c21ac40e7bfca9e3a43b1b31c5e
diff --git a/dbusmock/templates/bluez5.py b/dbusmock/templates/bluez5.py index <HASH>..<HASH> 100644 --- a/dbusmock/templates/bluez5.py +++ b/dbusmock/templates/bluez5.py @@ -18,6 +18,7 @@ This supports BlueZ 5 only. __author__ = 'Philip Withnall' __copyright__ = '(c) 2013 Collabora Ltd.' +import os import dbus ...
bluez: Implement Pair() method on the Device interface Tested successfully against gnome-bluetooth. Note that pairing does not currently use agents at all, and always succeeds.
martinpitt_python-dbusmock
train
66f508e247d1acada215a54cd9a049fed0f07c1c
diff --git a/index.php b/index.php index <HASH>..<HASH> 100644 --- a/index.php +++ b/index.php @@ -234,7 +234,7 @@ Include alerts, prompts &amp; confirm boxes">Run with alerts</button> <label>Rea echo '{"url":"' . $url . '","html" : ' . encode($html) . ',"css":' . encode($css) . ',"javascript":' . encode($javascript...
Flipping jsbin.root was wrong all along :-\
jsbin_jsbin
train
fcc84ee5ce4e339a0708b050639d19ea5f38ff18
diff --git a/code/libraries/koowa/components/com_koowa/template/helper/behavior.php b/code/libraries/koowa/components/com_koowa/template/helper/behavior.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/components/com_koowa/template/helper/behavior.php +++ b/code/libraries/koowa/components/com_koowa/template/h...
re #<I> missing file in autocomplete and select2
timble_kodekit
train
f1f7c64d8e813a0fbf2b8aaf99ffde50972fa1c2
diff --git a/platform/android/library/src/in/uncod/android/bypass/Bypass.java b/platform/android/library/src/in/uncod/android/bypass/Bypass.java index <HASH>..<HASH> 100644 --- a/platform/android/library/src/in/uncod/android/bypass/Bypass.java +++ b/platform/android/library/src/in/uncod/android/bypass/Bypass.java @@ -1...
Added customizable block quote color Otherwise it always shows up as ugly blue... ick.
Uncodin_bypass
train
7081b5177a8dbbd3c3ea3f0128fa46b98af5c7b7
diff --git a/lib/emir/store.py b/lib/emir/store.py index <HASH>..<HASH> 100644 --- a/lib/emir/store.py +++ b/lib/emir/store.py @@ -39,9 +39,5 @@ xbegin xend ybegin yend mean median var ''' inter = header % obj.exposure numpy.savetxt(fname, obj.statistics, header=inter) - obj.storage = {} - obj.storage[...
store returns the path to the stored thing or the thing itself
guaix-ucm_pyemir
train
1c3ee6ffa36c04392b6e2b359ae4aa8ec777aee9
diff --git a/plugins/providers/docker/action/build.rb b/plugins/providers/docker/action/build.rb index <HASH>..<HASH> 100644 --- a/plugins/providers/docker/action/build.rb +++ b/plugins/providers/docker/action/build.rb @@ -25,6 +25,12 @@ module VagrantPlugins image = image_file.read.chomp end ...
providers/docker: rebuild image if it doesn't exist
hashicorp_vagrant
train
4d857d117fb9ffeb76dad28836eb03907670d6cf
diff --git a/agent/consul/catalog_endpoint.go b/agent/consul/catalog_endpoint.go index <HASH>..<HASH> 100644 --- a/agent/consul/catalog_endpoint.go +++ b/agent/consul/catalog_endpoint.go @@ -296,8 +296,6 @@ func (c *Catalog) ListServices(args *structs.DCSpecificRequest, reply *structs.I return err } - reply.Ente...
Set enterprise metadata after resolving the token (#<I>) The token can encode enterprise metadata information, and we must make sure we set that on the reply so that we can correct filter ACLs.
hashicorp_consul
train
99a70aa326243ac463bf50116dca0913725f4846
diff --git a/h2gis-functions/src/main/java/org/h2gis/functions/io/asc/AscReaderDriver.java b/h2gis-functions/src/main/java/org/h2gis/functions/io/asc/AscReaderDriver.java index <HASH>..<HASH> 100644 --- a/h2gis-functions/src/main/java/org/h2gis/functions/io/asc/AscReaderDriver.java +++ b/h2gis-functions/src/main/java/o...
autocommit false is raising canceled transaction error on create table
orbisgis_h2gis
train
d955407969865143ab23f2a4135704ad1ac0e43c
diff --git a/java/client/test/org/openqa/selenium/ElementSelectingTest.java b/java/client/test/org/openqa/selenium/ElementSelectingTest.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/ElementSelectingTest.java +++ b/java/client/test/org/openqa/selenium/ElementSelectingTest.java @@ -5,6 +5,8 ...
EranMes: Making the ElementSelectingTest wait for the desired state - otherwise it's flaky when native events are turned on. r<I>
SeleniumHQ_selenium
train
153f859b7499d23fc0300e97adf21110e349fcd2
diff --git a/web/api/v1/api.go b/web/api/v1/api.go index <HASH>..<HASH> 100644 --- a/web/api/v1/api.go +++ b/web/api/v1/api.go @@ -469,7 +469,7 @@ func returnAPIError(err error) *apiError { return nil } - switch err.(type) { + switch errors.Cause(err).(type) { case promql.ErrQueryCanceled: return &apiError{...
Fixed returned API status code on error (#<I>) * Fixed returned API status code on error
prometheus_prometheus
train
6d5e73413ac16db5a4f584e65fff745834f70d09
diff --git a/lib/mquery.js b/lib/mquery.js index <HASH>..<HASH> 100644 --- a/lib/mquery.js +++ b/lib/mquery.js @@ -889,11 +889,19 @@ Query.prototype.near = function near () { var conds = this._conditions[path] || (this._conditions[path] = {}); + var type = val.spherical ? '$nearSphere' : '$near'; ...
Adds GeoJSON support in `Query#near` Can now pass a GeoJSON point to `near` instead of coordinate pair
aheckmann_mquery
train
1e5da07977439bd03d6183030b83a37678af7ff0
diff --git a/pyIOSXR/iosxr.py b/pyIOSXR/iosxr.py index <HASH>..<HASH> 100644 --- a/pyIOSXR/iosxr.py +++ b/pyIOSXR/iosxr.py @@ -24,6 +24,14 @@ def __execute_rpc__(device, rpc_command): response = device.match.group() return response +def __execute_show__(show_command): + rpc_command = '<CLI><Configuration...
better config diff, show command exec function
fooelisa_pyiosxr
train
417e69349143834b1a3416259efc764e3c4e0cb1
diff --git a/src/main/groovy/util/GroovyCollections.java b/src/main/groovy/util/GroovyCollections.java index <HASH>..<HASH> 100644 --- a/src/main/groovy/util/GroovyCollections.java +++ b/src/main/groovy/util/GroovyCollections.java @@ -67,16 +67,8 @@ public class GroovyCollections { } /** - * Finds all c...
GROOVY-<I>: Try iterating or transforming Object into Collection in DefaultGroovyMethods like count(), sort() and other Collection methods. (minor refactor)
groovy_groovy-core
train
beea49b166d2f78ca94dce8c2369794ef539b6ac
diff --git a/satpy/readers/hy2_scat_l2b_h5.py b/satpy/readers/hy2_scat_l2b_h5.py index <HASH>..<HASH> 100644 --- a/satpy/readers/hy2_scat_l2b_h5.py +++ b/satpy/readers/hy2_scat_l2b_h5.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2020 Satpy developers +# Copyright (c) 2020,2021 Satpy developers # # Thi...
Added handling of data from NSOAS files
pytroll_satpy
train
0ea0faa56e153ceed2fd27c1d4012138d6d81e73
diff --git a/hazelcast/src/main/java/com/hazelcast/impl/FactoryImpl.java b/hazelcast/src/main/java/com/hazelcast/impl/FactoryImpl.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/impl/FactoryImpl.java +++ b/hazelcast/src/main/java/com/hazelcast/impl/FactoryImpl.java @@ -110,7 +110,17 @@ publ...
fix for issue <I> JMX should not cause Hazelcast to fail shutting down. Print stack trace and finalize the shutdown. git-svn-id: <URL>
hazelcast_hazelcast
train
3e55f996581b37f420318376ce3dcbc41f310bce
diff --git a/src/main/java/org/thymeleaf/processor/element/AbstractElementTagProcessor.java b/src/main/java/org/thymeleaf/processor/element/AbstractElementTagProcessor.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/thymeleaf/processor/element/AbstractElementTagProcessor.java +++ b/src/main/java/org/thymeleaf/...
Add protected accessor for dialectPrefix as per #<I>
thymeleaf_thymeleaf
train
06aa4a5c0711c90d7206b0a65637a6d1573d74e6
diff --git a/src/diagrams/sequence/svgDraw.js b/src/diagrams/sequence/svgDraw.js index <HASH>..<HASH> 100644 --- a/src/diagrams/sequence/svgDraw.js +++ b/src/diagrams/sequence/svgDraw.js @@ -106,7 +106,7 @@ export const drawActivation = function (elem, bounds, verticalPos, conf, actorAc const g = bounds.anchored ...
prevent deeply nested activations from calling classes that don't exist (by limiting to 3)
knsv_mermaid
train
27c750636cbb9eec00fc0b75a0c1735deb4643bd
diff --git a/lib/dm-migrations/adapters/dm-do-adapter.rb b/lib/dm-migrations/adapters/dm-do-adapter.rb index <HASH>..<HASH> 100644 --- a/lib/dm-migrations/adapters/dm-do-adapter.rb +++ b/lib/dm-migrations/adapters/dm-do-adapter.rb @@ -204,11 +204,7 @@ module DataMapper # remove the default if the property ...
Fixed default values to pass through Property#dump for DDL statements * This fixes various problems with Flag and Enum properties, among others, where the value that is provided in the :default option was used directly in the DDL statement. While this works when the ruby value maps onto the database column type,...
datamapper_dm-migrations
train
93131ffa8fda7a3eea78541f7e2dd0312858a267
diff --git a/Resources/public/js/resource/manager/views/resource/rights.js b/Resources/public/js/resource/manager/views/resource/rights.js index <HASH>..<HASH> 100644 --- a/Resources/public/js/resource/manager/views/resource/rights.js +++ b/Resources/public/js/resource/manager/views/resource/rights.js @@ -242,7 +242,8 ...
[CoreBundle] all users for user picker in resource rights
claroline_Distribution
train
f39debf46168954f70fe3b069bcde47f56ce2f56
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='bottle-neck', - version='1.13c', + version='1.14', packages=['bottle_neck'], url='https://github.com/agile4you/bottle-neck.git', license='...
added request, response to BaseHandler.
agile4you_bottle-neck
train
c7c87a7c2d2f4a0b91ff477ae0d54774ddf63ed7
diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py index <HASH>..<HASH> 100644 --- a/salt/modules/ssh.py +++ b/salt/modules/ssh.py @@ -188,9 +188,9 @@ def check_key_file(user, keysource, config='.ssh/authorized_keys', env='base'): ret[key] = check_key( user, key, - ...
fix #<I> - we need tests for this stuff, it should be easy to do
saltstack_salt
train
f457c41dd481a20c17e985bb79e7fdd4e3503ca9
diff --git a/lib/utils/arrays.js b/lib/utils/arrays.js index <HASH>..<HASH> 100644 --- a/lib/utils/arrays.js +++ b/lib/utils/arrays.js @@ -3,7 +3,7 @@ var arrays = { range: function(start, stop) { var length = stop - start, result = new Array(length), - i; + i, j; for (i = 0, j = s...
Declare the |j| variable before use in lib/utils/arrays.js Until now it was inadvertently global.
pegjs_pegjs
train
01a9e71f15c75d8cd0568923bc23b297d52f040a
diff --git a/lib/xapian_db/adapters/datamapper_adapter.rb b/lib/xapian_db/adapters/datamapper_adapter.rb index <HASH>..<HASH> 100644 --- a/lib/xapian_db/adapters/datamapper_adapter.rb +++ b/lib/xapian_db/adapters/datamapper_adapter.rb @@ -47,22 +47,22 @@ module XapianDb end klass.class_eval do...
also do not create after_save / after_destroy hooks for DatamapperAdapter if autoindex is turned off
gernotkogler_xapian_db
train
49e1e0fe088d45d8c50a6f976c38855ad80329c4
diff --git a/src/Filesystem.php b/src/Filesystem.php index <HASH>..<HASH> 100644 --- a/src/Filesystem.php +++ b/src/Filesystem.php @@ -114,5 +114,9 @@ class Filesystem public function copy(string $source, string $destination): void { + $this->adapter->copy( + $this->pathNormalizer->normali...
Added missing filesystem proxies
thephpleague_flysystem
train
8bc8111943de57290969d3038948c4069a9e29c3
diff --git a/driver-legacy/src/test/functional/com/mongodb/client/CommandMonitoringTest.java b/driver-legacy/src/test/functional/com/mongodb/client/CommandMonitoringTest.java index <HASH>..<HASH> 100644 --- a/driver-legacy/src/test/functional/com/mongodb/client/CommandMonitoringTest.java +++ b/driver-legacy/src/test/fu...
In CommandMonitoringTest, ignore codeName field in responses
mongodb_mongo-java-driver
train
01c8d4e589ae25b8fe54ebda105749a59afec3d1
diff --git a/openxc/src/com/openxc/sources/BytestreamDataSource.java b/openxc/src/com/openxc/sources/BytestreamDataSource.java index <HASH>..<HASH> 100644 --- a/openxc/src/com/openxc/sources/BytestreamDataSource.java +++ b/openxc/src/com/openxc/sources/BytestreamDataSource.java @@ -61,9 +61,11 @@ public abstract class ...
Make sure to release lock when skipping bottom of USB loop.
openxc_openxc-android
train
3ce2a5715ce4c423caaf5a58da77e285581f2d56
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index <HASH>..<HASH> 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -19,7 +19,7 @@ $findRoot = function ($root) { throw new Exception("Cannot find the root of the application, unable to run tests"); }; $root = $findRoot(__FILE__); -$path = dir...
Fix usage of DIRECTORY_SEPARATOR in tests bootstrap
UseMuffin_Tokenize
train
3a53151c120e2a2ed12c330135a3e2595a0c51db
diff --git a/graphics/src/main/java/org/geomajas/graphics/client/controller/MetaController.java b/graphics/src/main/java/org/geomajas/graphics/client/controller/MetaController.java index <HASH>..<HASH> 100644 --- a/graphics/src/main/java/org/geomajas/graphics/client/controller/MetaController.java +++ b/graphics/src/mai...
GGP-<I>: stop event propagation on graphicsObjectController
geomajas_geomajas-project-graphics
train
0940c192d8f9c74e734a6a90c553f3510aa99b40
diff --git a/src/HTMLParser.php b/src/HTMLParser.php index <HASH>..<HASH> 100644 --- a/src/HTMLParser.php +++ b/src/HTMLParser.php @@ -1215,7 +1215,12 @@ class HTMLParser */ public function _cleanExtraParagraphs(DOMDocument $article) { - foreach ($article->getElementsByTagName('p') as $paragraph)...
Scan nodes in reverse in removing functions. In other words: Node shifting is a bitch
andreskrey_readability.php
train
8f5b5c25fba8727c2cfb6fc2a8fb59a7681ef0f6
diff --git a/message_sender/tasks.py b/message_sender/tasks.py index <HASH>..<HASH> 100644 --- a/message_sender/tasks.py +++ b/message_sender/tasks.py @@ -91,7 +91,6 @@ class Concurrency_Limiter(object): # Sum the values in all the buckets to get the total for key in keys: total += int(se...
Move some logic to the limiter to reduce complexity of run()
praekeltfoundation_seed-message-sender
train
ee00f58009be2464f234f3522cb2eef88f834cd4
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ resource definition. `FieldExpansion` extension). * `Controller#display(object, include_nil: false)` calls `render` (above) with `object`, assigns the result to the current `re...
Bump attributor dependency version <I>.
praxis_praxis
train
7d35534db9862954ce8bf1696d9bd65878454b52
diff --git a/lib/aerospike_error.js b/lib/aerospike_error.js index <HASH>..<HASH> 100644 --- a/lib/aerospike_error.js +++ b/lib/aerospike_error.js @@ -49,7 +49,7 @@ const util = require('util') * client.close() * }) */ -function AerospikeError (code, message, func, file, line) { +function AerospikeError (code, ...
Optionally capture better stacktraces for debugging Resolves #<I>
aerospike_aerospike-client-nodejs
train
75d9767983bd120cd2f74b1c585f933ad74df127
diff --git a/docs/jsdoc-template/publish.js b/docs/jsdoc-template/publish.js index <HASH>..<HASH> 100644 --- a/docs/jsdoc-template/publish.js +++ b/docs/jsdoc-template/publish.js @@ -1,5 +1,6 @@ 'use strict'; +var catharsis = require('catharsis'); var doop = require('jsdoc/util/doop'); var env = require('jsdoc/env...
Show more verbose functions and records in docs Replace generic "function" and "record" types with their original types. With this, we see, for example: "function(string):number" instead of just "function" "{{ foo: string, bar: number }}" instead of just "Object" Issue #<I> Change-Id: Icd5ddbacadb7ec<I>e<I>b<I...
google_shaka-player
train
367800f95ebeaf9cf3f8e2459c5bd4a73e7fcbb2
diff --git a/enamlnativecli/main.py b/enamlnativecli/main.py index <HASH>..<HASH> 100644 --- a/enamlnativecli/main.py +++ b/enamlnativecli/main.py @@ -1724,7 +1724,15 @@ class EnamlNativeCli(Atom): app. """ - return exists(self.package) + if exists(self.package): + # Look fo...
Don't error folder has non-enaml-native env file
codelv_enaml-native-cli
train
08c2e3c78ab8b40c373fdb316df92649cb9ecc92
diff --git a/src/tools.js b/src/tools.js index <HASH>..<HASH> 100644 --- a/src/tools.js +++ b/src/tools.js @@ -78,6 +78,9 @@ export class Class { * @param spec */ static define( spec = {} ) { + // Attach class extensions, if it's not done... + this.define || classExtensions( this ); + ...
define decorator can be called on any class
gaperton_Type-R
train
bd4b75f5d8d1567e0d508399dd9050f5a5d42b9e
diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index <HASH>..<HASH> 100644 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -247,7 +247,7 @@ function (angular, $, kbn, moment, _) { } if (format === 'short') { ax...
added single decimal to short y formater
grafana_grafana
train
cc07d6bd8dfabd8dc752fffec3b7d27efdfe5868
diff --git a/tests/iob.test.js b/tests/iob.test.js index <HASH>..<HASH> 100644 --- a/tests/iob.test.js +++ b/tests/iob.test.js @@ -9,6 +9,7 @@ describe('IOB', function ( ) { it('should calculate IOB', function() { var basalprofile = [{'i': 0, 'start': '00:00:00', 'rate': 1, 'minutes': 0}]; + var now = Da...
Add current_basal and basalprofile to two failing tests (#<I>)
openaps_oref0
train
2987536c5e1e1b0f83d0a8cd1736ee8ac26fdfd4
diff --git a/ruby/server/lib/roma/storage/rh_storage.rb b/ruby/server/lib/roma/storage/rh_storage.rb index <HASH>..<HASH> 100644 --- a/ruby/server/lib/roma/storage/rh_storage.rb +++ b/ruby/server/lib/roma/storage/rh_storage.rb @@ -41,6 +41,62 @@ module Roma } } end + + def each_v...
fix:[can't add a new key into hash during iteration] occurring in leter then ruby <I> fixed.
roma_roma
train
25a018f84a30ff9455aa7a4240829d2697f18ea1
diff --git a/lib/roo/base.rb b/lib/roo/base.rb index <HASH>..<HASH> 100644 --- a/lib/roo/base.rb +++ b/lib/roo/base.rb @@ -76,6 +76,12 @@ class Roo::Base end result end + + def load_xml(path) + ::File.open(path, 'rb') do |file| + ::Nokogiri::XML(file) + end + end end de...
Move the implementation of #load_xml to .load_xml as it doesn’t rely on any instance data.
roo-rb_roo
train
05a666611f215d8a8223bf5ef17dbde427b936b1
diff --git a/Braintree/src/main/java/com/braintreepayments/api/models/VisaCheckoutConfiguration.java b/Braintree/src/main/java/com/braintreepayments/api/models/VisaCheckoutConfiguration.java index <HASH>..<HASH> 100644 --- a/Braintree/src/main/java/com/braintreepayments/api/models/VisaCheckoutConfiguration.java +++ b/B...
Enabled depends on if the API Key is not empty
braintree_braintree_android
train
cf5e7d5833bb533152f28c9dfbb154fc69d51889
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 -# Copyright (c) 2014, GEM Foundat...
Forbidding instantiation in the workers
gem_oq-engine
train
b765436381bf5cc920e3b82f1853c94e5f009d8c
diff --git a/clients/unshaded/src/main/java/tachyon/client/next/block/BlockInStream.java b/clients/unshaded/src/main/java/tachyon/client/next/block/BlockInStream.java index <HASH>..<HASH> 100644 --- a/clients/unshaded/src/main/java/tachyon/client/next/block/BlockInStream.java +++ b/clients/unshaded/src/main/java/tachyo...
Update the javadoc of BlockInStream.
Alluxio_alluxio
train
1c8cfa0e9ac3afd6d10b0644d65514d8ab08efc0
diff --git a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/CSVFileReader.java b/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/CSVFileReader.java index <HASH>..<HASH> 100644 --- a/kite-data/kite-data-core/src/main/java/org/kitesdk/data/spi/filesystem/CSVFileReader.java +...
CDK-<I>. Fix potential divide-by-zero bug in file readers.
kite-sdk_kite
train
9324440d37b10a919f0b05548f7cf174deb9de67
diff --git a/python_modules/dagster/dagster/core/storage/object_manager.py b/python_modules/dagster/dagster/core/storage/object_manager.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/storage/object_manager.py +++ b/python_modules/dagster/dagster/core/storage/object_manager.py @@ -24,6 +24,7 @@...
added required_resource_keys parameter to object_manager decorator Summary: ObjectManager inherits from resource, and should therefore be able to accept resources. This diff threads through a `required_resource_keys` parameter to the object_manager decorator. Test Plan: Unit tests. Reviewers: sandyryza, yuhan Revie...
dagster-io_dagster
train
819dc594d9a8c41e9e1720cd55f66c7bf1404aea
diff --git a/empymod/scripts/printinfo.py b/empymod/scripts/printinfo.py index <HASH>..<HASH> 100644 --- a/empymod/scripts/printinfo.py +++ b/empymod/scripts/printinfo.py @@ -76,7 +76,7 @@ elif numexpr: else: mklinfo = False -__all__ = ['versions', 'versions_html', 'versions_text'] +__all__ = ['Versions', 'vers...
Forgot to add Versions to __all__
empymod_empymod
train