hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
482908c8d546c82ff215f356bdbec944ef075282 | diff --git a/src/ItemManager.php b/src/ItemManager.php
index <HASH>..<HASH> 100644
--- a/src/ItemManager.php
+++ b/src/ItemManager.php
@@ -75,6 +75,13 @@ class ItemManager
}
}
+ public function addReservedAttributeNames(...$args)
+ {
+ foreach ($args as $arg) {
+ $this->reser... | * added function: addReservedAttributeNames(...$args), to easy the process of adding new reserved attribute names | oasmobile_php-dynamodb-odm | train |
cb9ccaef98eb4cea54dc3fcdda00ea46e47d4074 | diff --git a/lib/groupdate/magic.rb b/lib/groupdate/magic.rb
index <HASH>..<HASH> 100644
--- a/lib/groupdate/magic.rb
+++ b/lib/groupdate/magic.rb
@@ -383,24 +383,6 @@ module Groupdate
relation
end
- def before_perform(relation)
- # undo reverse since we do not want this to appear in the q... | Removed undocumented ability to do order('day desc') to reverse series to reduce code complexity | ankane_groupdate | train |
760da80967d26a70aafb7ed7d823caea712c2f24 | diff --git a/pyhector/__init__.py b/pyhector/__init__.py
index <HASH>..<HASH> 100644
--- a/pyhector/__init__.py
+++ b/pyhector/__init__.py
@@ -254,4 +254,4 @@ def run(scenario, options=None):
global_temp = h.get_observable("temperature", "Tgav")
start = int(options["core"]["startDate"])
end =... | Adjust Python wrapper to year counting as start of year
See also <URL> | openclimatedata_pyhector | train |
e21c23534201ef995dbc5ea40a0a041fbefc51be | diff --git a/tests/loader.js b/tests/loader.js
index <HASH>..<HASH> 100644
--- a/tests/loader.js
+++ b/tests/loader.js
@@ -24,12 +24,16 @@
}
return baseUrl + '/';
}
-
+
var baseUrl = getBaseUrl();
var matches = document.location.search.match(/src=(min|dev|cov)/);
var source = matches ? matches[1] : 'mi... | Tests: now that compatibility shim is optional, we need to load it manually | moxiecode_moxie | train |
c15a2e417628dbd3f775162ef1b82147c0778633 | diff --git a/lavalink/node.py b/lavalink/node.py
index <HASH>..<HASH> 100644
--- a/lavalink/node.py
+++ b/lavalink/node.py
@@ -280,7 +280,8 @@ class Node:
Shuts down and disconnects the websocket.
"""
SHUTDOWN.set()
- await self._ws.close()
+ if self._ws is not None and not self... | Check if Node websocket is already closed | Cog-Creators_Red-Lavalink | train |
a847ca61d3c92bbb560054b5fe3aaef83ad35cdd | diff --git a/mindmaps-graph/src/main/java/io/mindmaps/factory/AbstractInternalFactory.java b/mindmaps-graph/src/main/java/io/mindmaps/factory/AbstractInternalFactory.java
index <HASH>..<HASH> 100644
--- a/mindmaps-graph/src/main/java/io/mindmaps/factory/AbstractInternalFactory.java
+++ b/mindmaps-graph/src/main/java/io... | Throw proper exception when trying to create a graph with a null keyspace (#<I>) | graknlabs_grakn | train |
14ee8de06a0ed41ee75390a442ec96064febed2d | diff --git a/onnx/backend/test/case/node/argmax.py b/onnx/backend/test/case/node/argmax.py
index <HASH>..<HASH> 100644
--- a/onnx/backend/test/case/node/argmax.py
+++ b/onnx/backend/test/case/node/argmax.py
@@ -14,7 +14,7 @@ def argmax_use_numpy(data, axis=0, keepdims=1): # type: (np.ndarray, int, int)
result = ... | Make sure the arg{max,min} backend test cases have int<I> as output type (#<I>) | onnx_onnx | train |
a7931ab3e11233f3855c7ab3d89add54359ebe47 | diff --git a/sorl/thumbnail/default.py b/sorl/thumbnail/default.py
index <HASH>..<HASH> 100644
--- a/sorl/thumbnail/default.py
+++ b/sorl/thumbnail/default.py
@@ -22,6 +22,7 @@ class Storage(LazyObject):
def _setup(self):
self._wrapped = get_module_class(settings.THUMBNAIL_STORAGE)()
+
backend = Backen... | deserializing image forgot to use the storage | jazzband_sorl-thumbnail | train |
7e70b6dfc8a0221ea7394de746c219c67f5c3229 | diff --git a/pyFMG/fortimgr.py b/pyFMG/fortimgr.py
index <HASH>..<HASH> 100644
--- a/pyFMG/fortimgr.py
+++ b/pyFMG/fortimgr.py
@@ -336,8 +336,10 @@ class FortiManager(object):
if method_type == "get" or method_type == "clone":
params[0].update(kwargs)
else:
- da... | updated to allow data array and not just kv in the call. | p4r4n0y1ng_pyfmg | train |
da5574a0678e809db3aeea2c8a250ae3011676ea | diff --git a/store/tikv/tests/snapshot_fail_test.go b/store/tikv/tests/snapshot_fail_test.go
index <HASH>..<HASH> 100644
--- a/store/tikv/tests/snapshot_fail_test.go
+++ b/store/tikv/tests/snapshot_fail_test.go
@@ -206,7 +206,7 @@ func (s *testSnapshotFailSuite) TestRetryPointGetResolveTS(c *C) {
txn, err := s.stor... | */tests: remove ineffectual assignment in tests (#<I>) | pingcap_tidb | train |
c5cf0d5d8ef1c452b6d5e091e0e7421205bce875 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,11 +1,44 @@
module.exports = {
"rules": {
- "no-bitwise": 2,
+ // the rules below should be sorted in a same way they are sorted on http://eslint.org/docs/rules page
+ // http://es... | sort the rules in eslint config | adobe_brackets | train |
cf86362e2506518ba0a681638c3390b4f30c6709 | diff --git a/zap/src/main/java/org/zaproxy/zap/control/AddOn.java b/zap/src/main/java/org/zaproxy/zap/control/AddOn.java
index <HASH>..<HASH> 100644
--- a/zap/src/main/java/org/zaproxy/zap/control/AddOn.java
+++ b/zap/src/main/java/org/zaproxy/zap/control/AddOn.java
@@ -555,7 +555,7 @@ public class AddOn {
}
... | Correct extraction of the add-on ID
Find the last dot not the first, when parsing the file name of the
add-on, otherwise IDs with dots would be incorrect. | zaproxy_zaproxy | train |
ab76674b2452fa3bc7a40c3552d80d45c2c45095 | diff --git a/util/resolver/retryhandler/retry.go b/util/resolver/retryhandler/retry.go
index <HASH>..<HASH> 100644
--- a/util/resolver/retryhandler/retry.go
+++ b/util/resolver/retryhandler/retry.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"io"
+ "net"
"strings"
"syscall"
"time"
@@ -50,6 +51,10 @@ func retr... | Retry on temporary network failures. | moby_buildkit | train |
9160aa24ede33d9f020747d679b1f64da7e1beef | diff --git a/theanets/recurrent.py b/theanets/recurrent.py
index <HASH>..<HASH> 100644
--- a/theanets/recurrent.py
+++ b/theanets/recurrent.py
@@ -143,7 +143,9 @@ class Regressor(feedforward.Regressor):
vars : list of theano variables
A list of the variables that this network requires as inputs.
... | Declare self.x in setup_vars for recurrent models. | lmjohns3_theanets | train |
a25bf149a001e4b2d69e01f03376e698c760fc02 | diff --git a/src/main/java/org/joda/time/tz/ZoneInfoProvider.java b/src/main/java/org/joda/time/tz/ZoneInfoProvider.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/joda/time/tz/ZoneInfoProvider.java
+++ b/src/main/java/org/joda/time/tz/ZoneInfoProvider.java
@@ -141,11 +141,6 @@ public class ZoneInfoProvider im... | ZoneInfoProvider.getZone(String) throws a ClassCastException in some Android implementations of the String class.
String.equals(SoftReference<?>) throws a ClassCastException. Reordering the code checks first the instanceof case and only then calls the .equals() method with an object of a different type. | JodaOrg_joda-time | train |
9848c9ea4fdc389e3247acd30102699987a9a632 | diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
+++ b/aeron-cluster/src/main/java/io/aeron/cluster/SequencerAgent.java
@@ -7... | [Java] Consistency tidy up with session state constant. | real-logic_aeron | train |
264ce07009bf74947909a0c2ff6a1346367d91c4 | diff --git a/lib/arm.js b/lib/arm.js
index <HASH>..<HASH> 100644
--- a/lib/arm.js
+++ b/lib/arm.js
@@ -270,7 +270,7 @@ var OperandType = new StructType({
"type" : "int", // operand type
"data" : new UnionType({
"reg" : "uint", // register value for REG operand
- "imm" : "int", ... | ARM: `imm` field is now int<I> | parasyte_node-capstone | train |
2cb290460b2bd297546b0b5061babd7ced043817 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## v0.0.2
+
+```def_druthers``` only add methods if they aren't already defined now.
+
## v0.0.1
First Post!
diff --git a/lib/druthers/def.rb b/lib/druthers/def.rb
index <HASH>.... | only add methods if they aren't already defined now | mceachen_druthers | train |
ec8527b2e29a4467e5a6ff90436de8af49fe5e82 | diff --git a/src/Gossamer/Pesedget/Database/DBConnection.php b/src/Gossamer/Pesedget/Database/DBConnection.php
index <HASH>..<HASH> 100644
--- a/src/Gossamer/Pesedget/Database/DBConnection.php
+++ b/src/Gossamer/Pesedget/Database/DBConnection.php
@@ -115,6 +115,77 @@ class DBConnection
return $this->conn;
... | added mysqli prepared statements | dmeikle_pesedget | train |
7c62d8c30b51483849711917f6d7f84b48decf15 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -1,8 +1,6 @@
#!/usr/bin/env node
-
const InvocationContainer = require('addict-ioc').InvocationContainer;
-const exec = require('child_process');
const logger = require('loggerhythm').Logger.createLogger('bootstrapper');
... | :lipstick: Cleanup index file | process-engine_process_engine_runtime | train |
c3be5b34d1e43a84471476d19fd8d4622e35dcc7 | diff --git a/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java b/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java
index <HASH>..<HASH> 100644
--- a/jbehave-core/src/main/java/org/jbehave/core/embedder/PerformableTree.java
+++ b/jbehave-core/src/main/java/org/jbehave/core... | JBEHAVE-<I> Re-throw RestartingScenarioFailure in perform(), and catch it later instead of calling restartScenario() | jbehave_jbehave-core | train |
ac005c541f8f0de2fcfcc8a10a84232492fc2a85 | diff --git a/modules/web/src/main/java/org/projectodd/wunderboss/web/UndertowWeb.java b/modules/web/src/main/java/org/projectodd/wunderboss/web/UndertowWeb.java
index <HASH>..<HASH> 100644
--- a/modules/web/src/main/java/org/projectodd/wunderboss/web/UndertowWeb.java
+++ b/modules/web/src/main/java/org/projectodd/wunde... | Expose the set of registered contexts for Web. | projectodd_wunderboss-release | train |
2b3fecddb0a0e03fbe895edddda61a4c0b250fa2 | diff --git a/linshareapi/core.py b/linshareapi/core.py
index <HASH>..<HASH> 100644
--- a/linshareapi/core.py
+++ b/linshareapi/core.py
@@ -466,7 +466,8 @@ because its size is less or equal to zero." % {"filename": str(file_name)}
return json_obj
def download(self, uuid, url, forced_file_name=None,
- ... | output directory was added for file downloads | fred49_linshare-api | train |
123df1aff4ff84d193d139cbc77e93ece10c375c | diff --git a/simuvex/plugins/log.py b/simuvex/plugins/log.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/log.py
+++ b/simuvex/plugins/log.py
@@ -45,6 +45,9 @@ class SimStateLog(SimStatePlugin):
self.events = [ SimEvent(self.state, 'merge', event_lists=all_events) ]
return False, [ ]
+ def clear(self):
+ ... | added a clear function for the state log | angr_angr | train |
7dbd6de664d85a34d1c6f3238c15abcb0772731b | diff --git a/tests/lib/BitcoinKey.spec.js b/tests/lib/BitcoinKey.spec.js
index <HASH>..<HASH> 100644
--- a/tests/lib/BitcoinKey.spec.js
+++ b/tests/lib/BitcoinKey.spec.js
@@ -3,7 +3,7 @@
/* global BitcoinConstants */
/* global Dummy */
-fdescribe('BitcoinKey', () => {
+describe('BitcoinKey', () => {
it('can sp... | Unfocus test-suites so that all tests run | nimiq_keyguard-next | train |
dff96b23b8a3b4b9ab8a50bb932449d6d55b3b62 | diff --git a/agent/core/src/main/java/org/jolokia/util/ServersInfo.java b/agent/core/src/main/java/org/jolokia/util/ServersInfo.java
index <HASH>..<HASH> 100644
--- a/agent/core/src/main/java/org/jolokia/util/ServersInfo.java
+++ b/agent/core/src/main/java/org/jolokia/util/ServersInfo.java
@@ -38,15 +38,8 @@ public fin... | Removed JBoss hack in servers info. | rhuss_jolokia | train |
d60b7ad934d7127ebfd236f0b3fed7e6b1d05d50 | diff --git a/api/handler.go b/api/handler.go
index <HASH>..<HASH> 100644
--- a/api/handler.go
+++ b/api/handler.go
@@ -270,8 +270,8 @@ func GetFileContents(w http.ResponseWriter, r *http.Request) {
func GetArchive(w http.ResponseWriter, r *http.Request) {
repo := r.URL.Query().Get(":name")
- ref := r.URL.Query().G... | Params for archive route needs to be passed by querystring | tsuru_gandalf | train |
bb927e7f07104a3f353443bf362183db01b0a49f | diff --git a/csg.js b/csg.js
index <HASH>..<HASH> 100644
--- a/csg.js
+++ b/csg.js
@@ -5055,6 +5055,8 @@ for solid CAD anyway.
this.connectors_ = connectors ? connectors.slice() : [];
};
+ CSG.ConnectorList.defaultNormal = [0, 0, 1];
+
CSG.ConnectorList.fromPath2D = function(path2D, arg1, arg2) ... | avoid tesselation issues with rotateExtrude, minor cleanup in ConnectorList | jscad_csg.js | train |
60a9aa4563df9382ccdeaf27491532302e609fe8 | diff --git a/assets/assets/scripts/ruboto.rb b/assets/assets/scripts/ruboto.rb
index <HASH>..<HASH> 100644
--- a/assets/assets/scripts/ruboto.rb
+++ b/assets/assets/scripts/ruboto.rb
@@ -255,13 +255,9 @@ def ruboto_setup(klass, init_method="create")
klass.class_eval do
eval %Q{
- def when_launched(&block... | Removed on_create and on_receive except for RubotoActivity (only time it's actually set up) | ruboto_ruboto | train |
1a115c3cc37d2182a50e8c382e3d75e6cdbdbfe3 | diff --git a/src/Illuminate/Support/Collection.php b/src/Illuminate/Support/Collection.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Support/Collection.php
+++ b/src/Illuminate/Support/Collection.php
@@ -402,15 +402,24 @@ class Collection implements ArrayAccess, ArrayableInterface, Countable, Iterator
/**
... | Allow Collection::sortBy and sortByDesc to accept a string | laravel_framework | train |
6e0e2ab178d9cd1777e0c06e7e87cffc930a09ad | diff --git a/lib/markovite/dict.rb b/lib/markovite/dict.rb
index <HASH>..<HASH> 100644
--- a/lib/markovite/dict.rb
+++ b/lib/markovite/dict.rb
@@ -29,8 +29,8 @@ class Dictionary
end
def expand_chain(text)
- new_sentences = sentence_split.expand_corpus(text)
- sentences = sentence_split.sentences
+ new_... | removed method from splitter
IT KNEW TOO MUCH | f3mshep_ruby_markovify | train |
6518c92e25f1c2893b8cca9a70b9d05dbe2e7ca9 | diff --git a/packer/artifact_mock.go b/packer/artifact_mock.go
index <HASH>..<HASH> 100644
--- a/packer/artifact_mock.go
+++ b/packer/artifact_mock.go
@@ -2,16 +2,26 @@ package packer
// MockArtifact is an implementation of Artifact that can be used for tests.
type MockArtifact struct {
- IdValue string
- Des... | post-processor/vagrant: more tests | hashicorp_packer | train |
d62b5d3517dd64fce59f5f5b6b1aeca7e07f10ec | diff --git a/molgenis-data-validation/src/main/java/org/molgenis/data/validation/RepositoryValidationDecorator.java b/molgenis-data-validation/src/main/java/org/molgenis/data/validation/RepositoryValidationDecorator.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-validation/src/main/java/org/molgenis/data/validati... | Fix #<I> Importing entities into existing package is no longer possible | molgenis_molgenis | train |
bfdeea6a59f9e794d2d77d9910174d884e3d06c8 | diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -247,10 +247,10 @@ class FixPEP8(object):
def fix_e101(self, _):
"""Reindent all lines."""
reindenter = Reindenter(self.source)
- if reindenter.run():
- original_length = le... | Return modified line numbers in Reindent.run()
Previously we assumed all lines were modified. This change is required
since we now skip lines that are within multi-line strings. | hhatto_autopep8 | train |
702dd1a3a303ac82c5717ff5e847130298dab5d5 | diff --git a/src/fs.js b/src/fs.js
index <HASH>..<HASH> 100644
--- a/src/fs.js
+++ b/src/fs.js
@@ -414,6 +414,8 @@ define(function(require) {
var fileNode;
var fileData;
+ var followedCount = 0;
+
if(ROOT_DIRECTORY_NAME == name) {
if(_(flags).contains(O_WRITE)) {
callback(new EIsDire... | open should follow symbolic links
This functionality is tested implicitly through tests in
writefile, readfile | filerjs_filer | train |
b19b26003b8a284cd6278367bfdbbb278a738c3d | diff --git a/lnd_test.go b/lnd_test.go
index <HASH>..<HASH> 100644
--- a/lnd_test.go
+++ b/lnd_test.go
@@ -7375,8 +7375,11 @@ func testRevokedCloseRetributionRemoteHodl(net *lntest.NetworkHarness,
// attempt because of the second layer transactions, he will
// wait until the next block epoch before trying again. ... | lnd_test: disable mempool check on justice tx rebroadcast
By mistake we were checking that only one transaction was in the mempool
when looking for the justice tx, which wasn't always the case, and would
make the test fail. | lightningnetwork_lnd | train |
64631b832a2d09c2faba0ede7d816e9cbaf4bbc8 | diff --git a/src/main/org/codehaus/groovy/control/ResolveVisitor.java b/src/main/org/codehaus/groovy/control/ResolveVisitor.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/control/ResolveVisitor.java
+++ b/src/main/org/codehaus/groovy/control/ResolveVisitor.java
@@ -36,6 +36,7 @@ package org.codehau... | As many people had problems because classes are compiled twice I changed the logic when a script is compiled. It is now only compiled if there is no class of that name or if there is such a class, then the script is only compiled if the class's classloader is not the working classloader and the class's timestamp is old... | groovy_groovy-core | train |
9fc2978b25a4cf6de6be6a55a2db46c7362fb87d | diff --git a/test/signable_request_test.rb b/test/signable_request_test.rb
index <HASH>..<HASH> 100644
--- a/test/signable_request_test.rb
+++ b/test/signable_request_test.rb
@@ -346,15 +346,25 @@ Lw03eHTNQghS0A==
end
end
- it 'includes unrecognized authorization params when calculating signature base' do
- ... | test signature base with/without form-encoded entity | notEthan_oauthenticator | train |
baffea0a5d04bf5d663cb09dbcbf42a9374c7a1b | diff --git a/lib/bagit.php b/lib/bagit.php
index <HASH>..<HASH> 100644
--- a/lib/bagit.php
+++ b/lib/bagit.php
@@ -460,32 +460,7 @@ class BagIt
foreach ($this->fetchContents as $fetch) {
$filename = $this->bagDirectory . '/' . $fetch['filename'];
if (! file_exists($filename)) {
- ... | Refactored BagIt::fetch. | scholarslab_BagItPHP | train |
fd4471743619ca0e1e9dc292c6d3ba71b91e0cb0 | diff --git a/backtrader/__init__.py b/backtrader/__init__.py
index <HASH>..<HASH> 100644
--- a/backtrader/__init__.py
+++ b/backtrader/__init__.py
@@ -26,6 +26,7 @@ from .lineseries import *
from .lineiterator import *
from .dataseries import *
from .indicator import *
+from .observer import *
from .strategy import... | backtrader packages import from observer | backtrader_backtrader | train |
bcfb5fe1df823a9b54c991514e52757158ed9f1f | diff --git a/tests/brightbox/models/compute/account_tests.rb b/tests/brightbox/models/compute/account_tests.rb
index <HASH>..<HASH> 100644
--- a/tests/brightbox/models/compute/account_tests.rb
+++ b/tests/brightbox/models/compute/account_tests.rb
@@ -1,5 +1,7 @@
Shindo.tests("Fog::Compute[:brightbox] | Account model",... | [Brightbox] Guards against unimplemented mock
It didn't fail the CI run but a Fog::Errors::MockNotImplemented error
was raised due to a request being unguarded when testing with mocks. | fog_fog | train |
6ab7fec351d5e50ba3a44105d90b836c39ca22ce | diff --git a/debug/perf.js b/debug/perf.js
index <HASH>..<HASH> 100644
--- a/debug/perf.js
+++ b/debug/perf.js
@@ -25,7 +25,7 @@ console.time('bulk load');
var tree = rbush(maxFill).load(data);
console.timeEnd('bulk load');
-console.log('maxFill: ' + tree._maxFill);
+console.log('maxFill: ' + tree._maxEntries);
... | rename maxFill to maxEntries in perf code | mourner_rbush | train |
ff674746d12d2b2a697634e5854d468bba8ec2af | diff --git a/core-bundle/src/Resources/contao/dca/tl_article.php b/core-bundle/src/Resources/contao/dca/tl_article.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/dca/tl_article.php
+++ b/core-bundle/src/Resources/contao/dca/tl_article.php
@@ -762,6 +762,7 @@ class tl_article extends Backend
*... | [Core] Fix issues found by the PhpStorm code inspector | contao_contao | train |
257401898b17ac437fce18ee6799457a610962b7 | diff --git a/upgrades/6.0/scripts/AfterUpgrade.php b/upgrades/6.0/scripts/AfterUpgrade.php
index <HASH>..<HASH> 100644
--- a/upgrades/6.0/scripts/AfterUpgrade.php
+++ b/upgrades/6.0/scripts/AfterUpgrade.php
@@ -34,6 +34,8 @@ class AfterUpgrade
$this->container = $container;
$this->processEmailAccoun... | upgrade cleanup files and fix msg | espocrm_espocrm | train |
be077bf6f91c217d9d7fa476a5263220e9de88ae | diff --git a/lib/thinking_sphinx/active_record/index.rb b/lib/thinking_sphinx/active_record/index.rb
index <HASH>..<HASH> 100644
--- a/lib/thinking_sphinx/active_record/index.rb
+++ b/lib/thinking_sphinx/active_record/index.rb
@@ -17,7 +17,7 @@ class ThinkingSphinx::ActiveRecord::Index < Riddle::Configuration::Index
... | Allow passing of options to delta processors via :delta_options | pat_thinking-sphinx | train |
00e07fa4fa9b2fb2ee681bed3a1e1ff2f5359ec6 | diff --git a/reactor-netty-http-brave/README.md b/reactor-netty-http-brave/README.md
index <HASH>..<HASH> 100644
--- a/reactor-netty-http-brave/README.md
+++ b/reactor-netty-http-brave/README.md
@@ -1,5 +1,9 @@
# Brave instrumentation for Reactor Netty HTTP
+:exclamation: This module is **DEPRECATED** as of `Reactor... | Deprecate reactor-netty-http-brave module (#<I>)
An integration with Micrometer Observation API is provided as a replacement
for Reactor Netty <-> Brave integration | reactor_reactor-netty | train |
e2acf7743b374788b36bebf10ac20fe98e840ed0 | diff --git a/extensions/modeshape-connector-store-jpa/src/main/java/org/modeshape/connector/store/jpa/HibernateAdapter.java b/extensions/modeshape-connector-store-jpa/src/main/java/org/modeshape/connector/store/jpa/HibernateAdapter.java
index <HASH>..<HASH> 100644
--- a/extensions/modeshape-connector-store-jpa/src/main... | MODE-<I> Changed the UTC_TIMESTAMP name in ChangeLogEntity and also deprecated the class. And removed ChangeLogEntity from being added to the EntityManagerFactory in HibernateAdapter.getEntityManagerFactory(JpaSource) method | ModeShape_modeshape | train |
15e89e36c9d714631118d64d6acc9565ecca4662 | diff --git a/cli/container.go b/cli/container.go
index <HASH>..<HASH> 100644
--- a/cli/container.go
+++ b/cli/container.go
@@ -147,11 +147,10 @@ func createContainer(options runvOptions, vm *hypervisor.Vm, container, bundle,
func deleteContainer(vm *hypervisor.Vm, root, container string, force bool, spec *specs.Spec,... | verify shim process pid before trying to kill it | hyperhq_runv | train |
fc742f94c023a8abb31e902636c85180d35d2a79 | diff --git a/code/objects/OptionItem.php b/code/objects/OptionItem.php
index <HASH>..<HASH> 100755
--- a/code/objects/OptionItem.php
+++ b/code/objects/OptionItem.php
@@ -32,6 +32,8 @@ class OptionItem extends DataObject{
'Title' => 'Title',
'ProductOptionGroup.Title' => 'Group'
);
+
+ private static $default_s... | Update ProductPage to not allow link existing
Bugfix drag'n drop re-ordering not working | dynamic_foxystripe | train |
bf3bd4d8d4b5b6ba8acd67e1e45ffe7bcea785dd | diff --git a/src/Barryvdh/Debugbar/ServiceProvider.php b/src/Barryvdh/Debugbar/ServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Barryvdh/Debugbar/ServiceProvider.php
+++ b/src/Barryvdh/Debugbar/ServiceProvider.php
@@ -153,7 +153,7 @@ class ServiceProvider extends \Illuminate\Support\ServiceProvider {
prot... | Don't restrict Response/Request
Fixes #2 | barryvdh_laravel-debugbar | train |
1103ad5d8f7c08facfb84425b8fa71de0b59cc58 | diff --git a/lib/database_rewinder.rb b/lib/database_rewinder.rb
index <HASH>..<HASH> 100644
--- a/lib/database_rewinder.rb
+++ b/lib/database_rewinder.rb
@@ -41,9 +41,11 @@ module DatabaseRewinder
def record_inserted_table(connection, sql)
config = connection.instance_variable_get(:'@config')
databa... | Now that it's Rails independent :rocket: | amatsuda_database_rewinder | train |
906de16c96db5c6606a823744ece5ad10dff8c65 | diff --git a/test/db/mssql/simple_test.rb b/test/db/mssql/simple_test.rb
index <HASH>..<HASH> 100644
--- a/test/db/mssql/simple_test.rb
+++ b/test/db/mssql/simple_test.rb
@@ -74,6 +74,36 @@ class MSSQLSimpleTest < Test::Unit::TestCase
assert(!title_column.null)
end
+ def test_change_column_whithout_default_o... | these tests were only meant for MS-SQL | jruby_activerecord-jdbc-adapter | train |
74120b2ff4de019908a48f89525f015a22fd17d0 | diff --git a/build/toposort.js b/build/toposort.js
index <HASH>..<HASH> 100644
--- a/build/toposort.js
+++ b/build/toposort.js
@@ -112,7 +112,8 @@
var _this = this;
var nodes = [];
- var offset = 0;
+ var offset = 0,
+ place = 0;
for( var _... | Combine offset and splice so that it will only use splice if necessary.
* For already mostly sorted items this should be more efficient, but also gives the flexibility of splice. | gustavohenke_toposort | train |
edaa3d36ca9604d84d4ba6f74380dbf1b4838275 | diff --git a/src/main/resources/META-INF/resources/primefaces/keyboard/1-keyboard.js b/src/main/resources/META-INF/resources/primefaces/keyboard/1-keyboard.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/resources/primefaces/keyboard/1-keyboard.js
+++ b/src/main/resources/META-INF/resources/primefaces/... | Resolved Keyboard javascript error | primefaces_primefaces | train |
fd8718834e6e9f1c12a004cb133f6bebd19cbc7d | diff --git a/src/components/datatable/DataTable.js b/src/components/datatable/DataTable.js
index <HASH>..<HASH> 100644
--- a/src/components/datatable/DataTable.js
+++ b/src/components/datatable/DataTable.js
@@ -989,9 +989,9 @@ export class DataTable extends Component {
}
}
- filterLocal(value) {
+ ... | Add extra param to handle the localFilters that are being passed into the filterLocal function. Otherwise instead of using the newly updated filters, it reuses the previous states filters | primefaces_primereact | train |
ce466f58876ab146793e33bd6d3e1e626c88935a | diff --git a/photutils/segmentation.py b/photutils/segmentation.py
index <HASH>..<HASH> 100644
--- a/photutils/segmentation.py
+++ b/photutils/segmentation.py
@@ -156,15 +156,29 @@ class SegmentationImage(object):
@property
def areas(self):
- """The areas (in pixel**2) of the labeled regions."""
+ ... | Add docs/test for SegmentationImage areas | astropy_photutils | train |
c8f3260c29c741ba565ae511cedc19537ce4a689 | diff --git a/test/src/Auryn/ProviderTest.php b/test/src/Auryn/ProviderTest.php
index <HASH>..<HASH> 100644
--- a/test/src/Auryn/ProviderTest.php
+++ b/test/src/Auryn/ProviderTest.php
@@ -299,7 +299,7 @@ class ProviderTest extends PHPUnit_Framework_TestCase {
->method('__invoke')
->will($this->... | Fixed a PHP <I> incompatibility. Also fixed a test case. | rdlowrey_auryn | train |
e4efc3b7498a05992e9c40425877de9741dc4fc7 | diff --git a/pyfolio/utils.py b/pyfolio/utils.py
index <HASH>..<HASH> 100644
--- a/pyfolio/utils.py
+++ b/pyfolio/utils.py
@@ -17,10 +17,10 @@ from __future__ import division
import warnings
-import empyrical
import numpy as np
import pandas as pd
from IPython.display import display
+from empyrical.utils import... | direct import empyrical functions in utils | quantopian_pyfolio | train |
dac2143c6279b1b8d5fa28fd1aee090351346b23 | diff --git a/test/poleica/converters/libre_office_test.rb b/test/poleica/converters/libre_office_test.rb
index <HASH>..<HASH> 100644
--- a/test/poleica/converters/libre_office_test.rb
+++ b/test/poleica/converters/libre_office_test.rb
@@ -41,8 +41,28 @@ class LibreOfficeTest < Minitest::Test
assert_equal(returned_... | Add Specs for LibreOffice Multithreading | antoinelyset_poleica | train |
909dc4f7efed8293e31edc2f92b1603c1f36e65e | diff --git a/tango/test_context.py b/tango/test_context.py
index <HASH>..<HASH> 100644
--- a/tango/test_context.py
+++ b/tango/test_context.py
@@ -94,7 +94,7 @@ class DeviceTestContext(object):
nodb = "dbase=no"
command = "{0} {1} -ORBendPoint giop:tcp:{2}:{3} -file={4}"
- connect_timeout = 1.
+ conne... | Increase timeouts for unit-testing | tango-controls_pytango | train |
89661cf396b52488ed47000bb785c03526b7d9fc | diff --git a/tests/test-cptp-module-rewrite.php b/tests/test-cptp-module-rewrite.php
index <HASH>..<HASH> 100644
--- a/tests/test-cptp-module-rewrite.php
+++ b/tests/test-cptp-module-rewrite.php
@@ -13,11 +13,9 @@ class CPTP_Module_Rewrite_Test extends WP_UnitTestCase {
$wp_rewrite->init();
$wp_rewrite->set_perma... | remove fulsh_rules on setup | torounit_custom-post-type-permalinks | train |
53a3609a3a5c445b4c1eefe4a019062d0f09c4e5 | diff --git a/src/test/java/stormpot/benchmark/Unpark.java b/src/test/java/stormpot/benchmark/Unpark.java
index <HASH>..<HASH> 100644
--- a/src/test/java/stormpot/benchmark/Unpark.java
+++ b/src/test/java/stormpot/benchmark/Unpark.java
@@ -28,4 +28,30 @@ public class Unpark extends SimpleBenchmark {
}
return r... | more benchmarks on the cost of park/unpark, and a benchmark so we can stack it up against object allocation. | chrisvest_stormpot | train |
ae57001f42ac253a524a964d79b226ab36b6b97a | diff --git a/tests/place_and_route/place/test_generic_place.py b/tests/place_and_route/place/test_generic_place.py
index <HASH>..<HASH> 100644
--- a/tests/place_and_route/place/test_generic_place.py
+++ b/tests/place_and_route/place/test_generic_place.py
@@ -10,6 +10,8 @@ import pytest
import random
+from collecti... | Test vertex ordering insensitivity for placement algorithms.
The Rig C SA kernel is sensitive to vertex ordering. This test demonstrates
that the current interface to this kernel fails to correctly account for this
(causing a segfault). | project-rig_rig | train |
615f367f982df4b95174ff736ae78d0bbc008476 | diff --git a/src/com/google/javascript/jscomp/CheckRequiresForConstructors.java b/src/com/google/javascript/jscomp/CheckRequiresForConstructors.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CheckRequiresForConstructors.java
+++ b/src/com/google/javascript/jscomp/CheckRequiresForConstructors.ja... | Check qualified names for 'class factory' calls (i.e. goog.defineClass / Polymer / etc.)
Previously we were only checking for single names, which will not work for goog.defineClass.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
f36721cdf96a37e8d0a312d27c9352213a9b4bb6 | diff --git a/src/sb/Email/Writer.php b/src/sb/Email/Writer.php
index <HASH>..<HASH> 100644
--- a/src/sb/Email/Writer.php
+++ b/src/sb/Email/Writer.php
@@ -133,7 +133,7 @@ class Writer
$email->constructMultipartMessage();
//sanitize sender params
- if(preg_match("~<(.*?... | fixing PHP <I> compati issue when email from or to not is null | surebert_surebert-framework | train |
b021a7c8a0b1fe502d882aab2a2d0b40497bafb5 | diff --git a/andes/models/__init__.py b/andes/models/__init__.py
index <HASH>..<HASH> 100644
--- a/andes/models/__init__.py
+++ b/andes/models/__init__.py
@@ -5,9 +5,9 @@ __all__ = ['jits', 'non_jits', 'all_models', 'all_models_list']
order = [
'Bus', 'Node', 'Ground', 'line', 'pq', 'pv', 'zone', 'shunt',
'm... | AGCVSC model working for 5bus case | cuihantao_andes | train |
6022d31e0c7d40212bd775692dbedbb9c02390af | diff --git a/comment/templatetags/comment_tags.py b/comment/templatetags/comment_tags.py
index <HASH>..<HASH> 100644
--- a/comment/templatetags/comment_tags.py
+++ b/comment/templatetags/comment_tags.py
@@ -31,8 +31,10 @@ def comment_count(obj):
def profile_url(obj, profile_app_name, profile_model_name):
""" retu... | Avoid uppercase letter conflict for profile_model_name | Radi85_Comment | train |
c6bc38fe5e41f7ef7d529c73a0c6e5a8d111c55a | diff --git a/lib/lexer.js b/lib/lexer.js
index <HASH>..<HASH> 100644
--- a/lib/lexer.js
+++ b/lib/lexer.js
@@ -392,7 +392,6 @@ Lexer.prototype = {
var real = c;
// TODO: remove when people fix ":"
if (colons && ':' == c) c = '=';
- // console.log('', c, state());
switch (c) {
... | Fixed attr state issue. Closes #<I> | pugjs_then-pug | train |
8048e31a4f7917759821f49a83b68973c6d1fd25 | diff --git a/src/Che/EventBand/Adapter/AmqpLib/AmqpConnectionBuilder.php b/src/Che/EventBand/Adapter/AmqpLib/AmqpConnectionBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Che/EventBand/Adapter/AmqpLib/AmqpConnectionBuilder.php
+++ b/src/Che/EventBand/Adapter/AmqpLib/AmqpConnectionBuilder.php
@@ -23,8 +23,8 @@ class A... | Use guest/guest user/password for conenction by default | event-band_band-framework | train |
6a0ace8986514e24d2b1dd24c5650046213d2d00 | diff --git a/odl/solvers/functional/default_functionals.py b/odl/solvers/functional/default_functionals.py
index <HASH>..<HASH> 100644
--- a/odl/solvers/functional/default_functionals.py
+++ b/odl/solvers/functional/default_functionals.py
@@ -2289,6 +2289,7 @@ class IndicatorSimplex(Functional):
"""Return the ... | fix bug in prox of simplex (#<I>) | odlgroup_odl | train |
ff996ac2dcddecb99690610bf51669405e0e37f3 | diff --git a/lib/gruff/base.rb b/lib/gruff/base.rb
index <HASH>..<HASH> 100644
--- a/lib/gruff/base.rb
+++ b/lib/gruff/base.rb
@@ -716,6 +716,10 @@ protected
@d = @d.stroke_antialias true
end
+ def sum(arr)
+ arr.inject(0) { |i, m| m + i }
+ end
+
def center(size)
(@raw_columns - si... | Moved array summation into a function to avoid a conflict with the monkeypatch from active_support. | topfunky_gruff | train |
d2e7dbd2524afe3d8ea2e57ed6894f830689f5d4 | diff --git a/html/src/playn/html/HtmlPlatform.java b/html/src/playn/html/HtmlPlatform.java
index <HASH>..<HASH> 100644
--- a/html/src/playn/html/HtmlPlatform.java
+++ b/html/src/playn/html/HtmlPlatform.java
@@ -41,6 +41,10 @@ public class HtmlPlatform extends Platform {
/** The id of the {@code <div>} element wher... | Revamp background update code.
Now you have to activate it in HtmlPlatform.Config and it only schedules a
timer when the game is paused, not all the time. | playn_playn | train |
80c8352a5674fc31daa126c8377e4f5f27c144db | diff --git a/lib/vcard.rb b/lib/vcard.rb
index <HASH>..<HASH> 100644
--- a/lib/vcard.rb
+++ b/lib/vcard.rb
@@ -1,9 +1,9 @@
class Vcard < ActiveRecord::Base
- has_one :address
+ has_one :address, :autosave => true, :validate => true
delegate :post_office_box, :extended_address, :street_address, :locality, :region... | Use autosave and association validation for Vcard and Address. | huerlisi_has_vcards | train |
6ae15239624b097fe5d5a4f3011ebfa67ee2de16 | diff --git a/demo.py b/demo.py
index <HASH>..<HASH> 100644
--- a/demo.py
+++ b/demo.py
@@ -42,10 +42,21 @@ dur_distns = [durations.poisson() for state in xrange(Nmax)]
posteriormodel = hsmm.hsmm(T,obs_distns,dur_distns)
# Resample the model 100 times, printing a dot at each iteration
-plot_every = 25
-for idx in pr... | tested states.py:states.plot() and it works! first try, too | mattjj_pyhsmm | train |
53b240b3b45c317ec2b27ed73b7a38fba2fb3770 | diff --git a/command/scaling_policy.go b/command/scaling_policy.go
index <HASH>..<HASH> 100644
--- a/command/scaling_policy.go
+++ b/command/scaling_policy.go
@@ -75,5 +75,5 @@ func formatScalingPolicyTarget(t map[string]string) string {
if len(other) > 0 {
out = append(out, other...)
}
- return strings.Join(out... | cli: ensure scaling policy target doesn't have trailing comma | hashicorp_nomad | train |
3241cf7d6465ec6ae0d1f307bff79b9530530d51 | diff --git a/tests/unit/cms/classes/ControllerTest.php b/tests/unit/cms/classes/ControllerTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/cms/classes/ControllerTest.php
+++ b/tests/unit/cms/classes/ControllerTest.php
@@ -388,7 +388,7 @@ ESC;
$theme = Theme::load('test');
$controller = new Contro... | Fix deprecated PHPUnit calls in ControllerTest | octobercms_october | train |
407cf4d85a727be5f8965399cc8d8f2c53191304 | diff --git a/lib/pghero.rb b/lib/pghero.rb
index <HASH>..<HASH> 100644
--- a/lib/pghero.rb
+++ b/lib/pghero.rb
@@ -250,19 +250,30 @@ module PgHero
def slow_queries
if query_stats_enabled?
select_all %Q{
+ WITH query_stats AS (
+ SELECT
+ query,
+ (total... | Added total_percent to slow_queries | ankane_pghero | train |
886454391b8059276be53cb1ca1c9145d8157191 | diff --git a/lib/mongodb/connection/repl_set.js b/lib/mongodb/connection/repl_set.js
index <HASH>..<HASH> 100644
--- a/lib/mongodb/connection/repl_set.js
+++ b/lib/mongodb/connection/repl_set.js
@@ -179,9 +179,9 @@ var ReplSet = exports.ReplSet = function(servers, options) {
// Enabled ha
this.haEnabled = this.... | Only open a new socket for HA if the current socket is dead #<I> and #<I> | mongodb_node-mongodb-native | train |
389a7bb2731c1407cbe5720e15a3a4fd1a157fc3 | diff --git a/gimmemotifs/denovo.py b/gimmemotifs/denovo.py
index <HASH>..<HASH> 100644
--- a/gimmemotifs/denovo.py
+++ b/gimmemotifs/denovo.py
@@ -3,6 +3,7 @@
# This module is free software. You can redistribute it and/or modify it under
# the terms of the MIT License, see the file COPYING included with this
# distr... | don't do additional stuff if no motifs predicted | vanheeringen-lab_gimmemotifs | train |
b92eec0581f46d370b3366471da85090e772cb33 | diff --git a/resource_aws_instance.go b/resource_aws_instance.go
index <HASH>..<HASH> 100644
--- a/resource_aws_instance.go
+++ b/resource_aws_instance.go
@@ -38,7 +38,6 @@ func resourceAwsInstance() *schema.Resource {
"associate_public_ip_address": &schema.Schema{
Type: schema.TypeBool,
- Default: f... | provider/aws: remove default from associate_public_ip_address
I snuck this in with #<I> because thought it was simply a stylistic
clarity thing, but it actually generates a resource-replacement-forcing
diff for existing resources that don't have this set in the config.
Definitely don't want that. :P
/cc @catsby | terraform-providers_terraform-provider-aws | train |
4304f4800c6d2df930a0a27daa1fdbb0a7b58ea1 | diff --git a/gcalcli/gcalcli.py b/gcalcli/gcalcli.py
index <HASH>..<HASH> 100755
--- a/gcalcli/gcalcli.py
+++ b/gcalcli/gcalcli.py
@@ -55,7 +55,7 @@
from __future__ import print_function, absolute_import
__program__ = 'gcalcli'
-__version__ = 'v4.0.0a4'
+__version__ = 'v4.0.0a5'
__author__ = 'Eric Davis, Brian Har... | output parser commands imply colors so include color_parser | insanum_gcalcli | train |
1eb681e1ef11e3b9e2f6602802730c257369e251 | diff --git a/tools/src/main/java/org/wildfly/swarm/tools/FractionUsageAnalyzer.java b/tools/src/main/java/org/wildfly/swarm/tools/FractionUsageAnalyzer.java
index <HASH>..<HASH> 100644
--- a/tools/src/main/java/org/wildfly/swarm/tools/FractionUsageAnalyzer.java
+++ b/tools/src/main/java/org/wildfly/swarm/tools/Fraction... | SWARM-<I>: Removing dependent fractions | thorntail_thorntail | train |
b323f79d3fc33f78f3c146231103e7a893867ca8 | diff --git a/lib/spidr/agent.rb b/lib/spidr/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/spidr/agent.rb
+++ b/lib/spidr/agent.rb
@@ -19,6 +19,9 @@ module Spidr
include Events
include Actions
+ # HTTP Host Header to use
+ attr_accessor :host_header
+
# User-Agent to use
attr_accessor :user_... | Moved the host_header code above user_agent code. | postmodern_spidr | train |
fcfac7ba3eb9c311e494f074604094e313e71eab | diff --git a/Block/Breadcrumb/GalleryViewBreadcrumbBlockService.php b/Block/Breadcrumb/GalleryViewBreadcrumbBlockService.php
index <HASH>..<HASH> 100644
--- a/Block/Breadcrumb/GalleryViewBreadcrumbBlockService.php
+++ b/Block/Breadcrumb/GalleryViewBreadcrumbBlockService.php
@@ -12,6 +12,7 @@
namespace Sonata\MediaBund... | Added missing breadcrumb settings | sonata-project_SonataMediaBundle | train |
31df1e5773ef807cdbde901f2f8b7c12b42870e5 | diff --git a/addon/components/sl-input.js b/addon/components/sl-input.js
index <HASH>..<HASH> 100644
--- a/addon/components/sl-input.js
+++ b/addon/components/sl-input.js
@@ -129,7 +129,7 @@ export default Ember.Component.extend( InputBased, TooltipEnabled, {
hint: true
}, ... | Replace instanceof with Ember.typeOf | softlayer_sl-ember-components | train |
a2fbf4696a4cd3bf3437d48906ff23100f9631c0 | diff --git a/modules/analyzeCss/analyzeCss.js b/modules/analyzeCss/analyzeCss.js
index <HASH>..<HASH> 100644
--- a/modules/analyzeCss/analyzeCss.js
+++ b/modules/analyzeCss/analyzeCss.js
@@ -116,8 +116,13 @@ exports.module = function(phantomas) {
Object.keys(metrics).forEach(function(metric) {
var metricPrefix... | analyzeCss: provide average values in *Avg metrics (resolves #<I>) | macbre_phantomas | train |
feb6620c346b62d938cfde4bd6677a1c680e29b2 | diff --git a/core/state_processor.go b/core/state_processor.go
index <HASH>..<HASH> 100644
--- a/core/state_processor.go
+++ b/core/state_processor.go
@@ -85,7 +85,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
// and uses the input parameters for its environment. It returns the ... | core: relax type requirement for bc in ApplyTransaction (#<I>) | ethereum_go-ethereum | train |
43fef4d19b47379e88fcade7b94516ff3e84e1dc | diff --git a/phoxy.js b/phoxy.js
index <HASH>..<HASH> 100755
--- a/phoxy.js
+++ b/phoxy.js
@@ -583,7 +583,7 @@ phoxy._ApiSubsystem =
else if (typeof v == "string")
if (v.search(/["'(),]/) != -1)
v = "\"" + addslashes(v) + "\"";
- str.push(encodeURIComponent(v));
+ str.push... | Fix issue with sending urls to server | phoxy_phoxy | train |
4e5d622ea058116dfb3d690c1ec0e4ea60baf02b | diff --git a/wallet/txdatabase.go b/wallet/txdatabase.go
index <HASH>..<HASH> 100644
--- a/wallet/txdatabase.go
+++ b/wallet/txdatabase.go
@@ -153,6 +153,22 @@ func (db *TXDatabaseOverlay) GetTXRange(start, end int) (
return filtered, nil
}
+func (db *TXDatabaseOverlay) GetTX(txid string) (
+ interfaces.ITransacti... | added get tx by id | FactomProject_factom | train |
3211798270ab6bfee70ab3bcd99f9154725f6c7b | diff --git a/loguru/__init__.py b/loguru/__init__.py
index <HASH>..<HASH> 100644
--- a/loguru/__init__.py
+++ b/loguru/__init__.py
@@ -13,11 +13,11 @@ import shutil
import re
import os
import glob
+import random
from collections import defaultdict, OrderedDict
from string import Formatter
import math
import func... | Simplify exception post-processing | Delgan_loguru | train |
d79979ae3b962b1b2813d55af17f2a174c077f28 | diff --git a/github/scim_test.go b/github/scim_test.go
index <HASH>..<HASH> 100644
--- a/github/scim_test.go
+++ b/github/scim_test.go
@@ -192,3 +192,51 @@ func TestSCIMService_DeleteSCIMUserFromOrg(t *testing.T) {
return client.SCIM.DeleteSCIMUserFromOrg(ctx, "o", "123")
})
}
+
+func TestSCIMUserAttributes_Marsh... | Add test cases for JSON resource marshaling (#<I>) | google_go-github | train |
d092964ecf536b14bdeaee4e366ac2ace398c397 | diff --git a/amqp.py b/amqp.py
index <HASH>..<HASH> 100644
--- a/amqp.py
+++ b/amqp.py
@@ -184,10 +184,11 @@ class Connection(object):
if self.input is not None:
self.close()
- def channel(self, channel_num):
- if channel_num in self.channels:
- return self.channels[channel_... | Channels can be opened and closed. | barryp_py-amqplib | train |
b7444c557dac34a52bb3529e662e064951bc3898 | diff --git a/src/Http/Client/GuzzleAdapter.php b/src/Http/Client/GuzzleAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Http/Client/GuzzleAdapter.php
+++ b/src/Http/Client/GuzzleAdapter.php
@@ -40,7 +40,7 @@ final class GuzzleAdapter implements AdapterInterface
public function request($method, $uri, array $parame... | Now explicitly call `Client::requestAsync()` rather than magic method in `GuzzleAdapter` | larabros_elogram | train |
0feff18c76b0c668f2853c8d3545b543b78000da | diff --git a/model/DeliveryContainerService.php b/model/DeliveryContainerService.php
index <HASH>..<HASH> 100644
--- a/model/DeliveryContainerService.php
+++ b/model/DeliveryContainerService.php
@@ -39,7 +39,14 @@ interface DeliveryContainerService {
/** @deprecated */
const PROPERTY_RESULT_SERVER = 'htt... | Injects the list of test runner providers | oat-sa_extension-tao-delivery | train |
5d34f5024fc5ce23c8de3d25a49ce01babef6453 | diff --git a/src/main/java/com/omertron/fanarttvapi/model/AbstractJsonMapping.java b/src/main/java/com/omertron/fanarttvapi/model/AbstractJsonMapping.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/omertron/fanarttvapi/model/AbstractJsonMapping.java
+++ b/src/main/java/com/omertron/fanarttvapi/model/AbstractJs... | Update handlerUnknown code
Output the class that caused the unknown issue | Omertron_api-fanarttv | train |
22d37408dfdc5dda0668fb85b1d9b68a69ac8ddd | diff --git a/Model/Menu/Import/SampleFile.php b/Model/Menu/Import/SampleFile.php
index <HASH>..<HASH> 100644
--- a/Model/Menu/Import/SampleFile.php
+++ b/Model/Menu/Import/SampleFile.php
@@ -24,6 +24,7 @@ class SampleFile
NodeInterface::UPDATE_TIME
];
+ const STORES_DATA = '<comma separated integer s... | [<I>] Replace stores data accessor with a constant in menu import sample file model | SnowdogApps_magento2-menu | train |
cd38fb4177e037c49e176f5ae7eefe9d340dbada | diff --git a/examples/auth/app.js b/examples/auth/app.js
index <HASH>..<HASH> 100644
--- a/examples/auth/app.js
+++ b/examples/auth/app.js
@@ -9,15 +9,15 @@ require.paths.unshift(__dirname + '/../../support');
var express = require('../../lib/express')
, crypto = require('crypto');
-var app = express.createServer... | refactored auth example | expressjs_express | train |
f32cc0f9248a4ed6951a1d965fbc560b829def8b | diff --git a/src/server/pfs/server/server_test.go b/src/server/pfs/server/server_test.go
index <HASH>..<HASH> 100644
--- a/src/server/pfs/server/server_test.go
+++ b/src/server/pfs/server/server_test.go
@@ -776,7 +776,7 @@ func TestAncestrySyntax(t *testing.T) {
require.NoError(t, client.GetFile(repo, ancestry.Add("m... | Update src/server/pfs/server/server_test.go | pachyderm_pachyderm | train |
e956441fe0f5fedaa0ca18f80ea767c46432507f | diff --git a/oci/spec_opts_unix.go b/oci/spec_opts_unix.go
index <HASH>..<HASH> 100644
--- a/oci/spec_opts_unix.go
+++ b/oci/spec_opts_unix.go
@@ -106,6 +106,12 @@ func WithLinuxNamespace(ns specs.LinuxNamespace) SpecOpts {
// WithImageConfig configures the spec to from the configuration of an Image
func WithImageC... | Add WithImageConfigArgs to replace CMD on image
This allows users to provide args for the process arguments while
creating the base spec with an image. It provides the same symantics as
Docker where additional args replace the CMD while leaving the
ENTRYPOINT the same. | containerd_containerd | train |
720f3a9d29dbb03f6bc2069784a394605e140a0d | diff --git a/src/js/cropper.js b/src/js/cropper.js
index <HASH>..<HASH> 100644
--- a/src/js/cropper.js
+++ b/src/js/cropper.js
@@ -382,7 +382,9 @@ class Cropper {
// Call the "ready" option asynchronously to keep "image.cropper" is defined
self.completing = setTimeout(() => {
if ($.isFunction(options.r... | fix: improve event adding and removing | fengyuanchen_cropperjs | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.