hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
4a6e341eebfb18f0920e322fbc6dd03a87e04140 | diff --git a/ezp/Content/FieldType/XmlText/Input/Handler.php b/ezp/Content/FieldType/XmlText/Input/Handler.php
index <HASH>..<HASH> 100644
--- a/ezp/Content/FieldType/XmlText/Input/Handler.php
+++ b/ezp/Content/FieldType/XmlText/Input/Handler.php
@@ -105,13 +105,13 @@ class Handler
// related content
... | Fixed: addRelation() requires version number and not *ID* | ezsystems_ezpublish-kernel | train | php |
60f35877bf8a7e8ad5dcebb8a074a450ccdcba8d | diff --git a/js/bitget.js b/js/bitget.js
index <HASH>..<HASH> 100644
--- a/js/bitget.js
+++ b/js/bitget.js
@@ -1939,8 +1939,8 @@ module.exports = class bitget extends Exchange {
const stop = this.safeValue (params, 'stop');
if (stop) {
method = 'privateMixGetPlanCurrentPlan';
+ ... | Move params omit under the stop conditional | ccxt_ccxt | train | js |
6fab298e1d77864689eaa536e9c1a96d9dd61420 | diff --git a/benchbuild/source/git.py b/benchbuild/source/git.py
index <HASH>..<HASH> 100644
--- a/benchbuild/source/git.py
+++ b/benchbuild/source/git.py
@@ -7,7 +7,7 @@ import typing as tp
import plumbum as pb
from plumbum.commands.base import BoundCommand
-from benchbuild.utils.cmd import git, mkdir
+from benchb... | feat(source): Link to active location after version()
This updates a symlink to our current active version inside the build
directory. | PolyJIT_benchbuild | train | py |
de6cee78b698a538c40b57fc27575ca10627424e | diff --git a/src/main/java/de/btobastian/javacord/entities/channels/VoiceChannel.java b/src/main/java/de/btobastian/javacord/entities/channels/VoiceChannel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/de/btobastian/javacord/entities/channels/VoiceChannel.java
+++ b/src/main/java/de/btobastian/javacord/entities/... | Added VoiceChannel#canMuteUsers(User) | Javacord_Javacord | train | java |
b0811254fa6cbc6196fcd738c7280c4130d0d035 | diff --git a/holoviews/plotting/mpl/util.py b/holoviews/plotting/mpl/util.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/util.py
+++ b/holoviews/plotting/mpl/util.py
@@ -67,7 +67,7 @@ def axis_overlap(ax1, ax2):
"""
b1, t1 = ax1.get_position().intervaly
b2, t2 = ax2.get_position().intervaly
... | Made axis_overlap non-inclusive | pyviz_holoviews | train | py |
bc4a6844519ad290607d6d69c345eeb353261651 | diff --git a/Classes/IndexQueue/AbstractIndexer.php b/Classes/IndexQueue/AbstractIndexer.php
index <HASH>..<HASH> 100644
--- a/Classes/IndexQueue/AbstractIndexer.php
+++ b/Classes/IndexQueue/AbstractIndexer.php
@@ -237,6 +237,9 @@ abstract class AbstractIndexer {
if ($serializedValueDetector instanceof Tx_Solr_S... | [BUGFIX] only execute detectSerializedValue if isSerialized is FALSE | TYPO3-Solr_ext-solr | train | php |
5d28f00313522fe267c78d1563f5c823e644b476 | diff --git a/packages/react/stories/line-step.stories.js b/packages/react/stories/line-step.stories.js
index <HASH>..<HASH> 100644
--- a/packages/react/stories/line-step.stories.js
+++ b/packages/react/stories/line-step.stories.js
@@ -19,7 +19,7 @@ lineStories.add("Basic", () => (
));
lineStories.add("Natural Curve... | Update packages/react/stories/line-step.stories.js | carbon-design-system_carbon-charts | train | js |
92283483f42d6dcfc2fd319e16cd6cfd2e3b7465 | diff --git a/cgroupspy/utils.py b/cgroupspy/utils.py
index <HASH>..<HASH> 100644
--- a/cgroupspy/utils.py
+++ b/cgroupspy/utils.py
@@ -46,6 +46,12 @@ def walk_up_tree(root):
def split_path_components(path):
+ if isinstance(path, bytes):
+ path = str(path.decode())
+
+ if path.endswith('/'):
+ p... | Make utils.split_path_components to cover better the cases | cloudsigma_cgroupspy | train | py |
1b2893f070e36df06d7d99e3af8ab6790998d036 | diff --git a/tests/functional/test_local.py b/tests/functional/test_local.py
index <HASH>..<HASH> 100644
--- a/tests/functional/test_local.py
+++ b/tests/functional/test_local.py
@@ -205,7 +205,7 @@ def test_can_accept_multiple_connections(config, sample_app,
response = local_server.make_call(requests.get, '/'... | Propose fix two typos in print strings | aws_chalice | train | py,py |
9998604ac21227821a2d0ac99b47940c0b142226 | diff --git a/kafka/coordinator/base.py b/kafka/coordinator/base.py
index <HASH>..<HASH> 100644
--- a/kafka/coordinator/base.py
+++ b/kafka/coordinator/base.py
@@ -314,6 +314,10 @@ class BaseCoordinator(object):
cause = self._heartbeat_thread.failed
self._heartbeat_thread = None... | KAFKA-<I>; Awake the heartbeat thread when timetoNextHeartbeat is equal to 0 (#<I>) | dpkp_kafka-python | train | py |
c86b2de8a11b834ef2559425b193ba7410b06625 | diff --git a/src/Compiler.php b/src/Compiler.php
index <HASH>..<HASH> 100644
--- a/src/Compiler.php
+++ b/src/Compiler.php
@@ -89,6 +89,8 @@ class Compiler
static public $null = array('null');
static public $defaultValue = array('keyword', '');
static public $selfSelector = array('self');
+ static pub... | refs #<I> map-merge support for empty lists (indistinguishable from an empty map) | leafo_scssphp | train | php |
3d867464d162311b6fa43b8bdba50a3091262497 | diff --git a/map.js b/map.js
index <HASH>..<HASH> 100644
--- a/map.js
+++ b/map.js
@@ -2,7 +2,6 @@ module.exports =
{ "AED": "د.إ"
, "AFN": "؋"
, "ALL": "L"
-, "AMD": "֏"
, "ANG": "ƒ"
, "AOA": "Kz"
, "ARS": "$"
@@ -33,7 +32,7 @@ module.exports =
, "CRC": "₡"
, "CUC": "$"
, "CUP": "₱"
-, "CVE", "$"
+, "CVE": "$... | Responded to comments
I got rid of the AMD as I couldn't find an alternative character and fixed the wrong comma. | bengourley_currency-symbol-map | train | js |
d938546dbd73607c402422549b6fc398dbfd7d31 | diff --git a/resolver/wasm/wasm.go b/resolver/wasm/wasm.go
index <HASH>..<HASH> 100644
--- a/resolver/wasm/wasm.go
+++ b/resolver/wasm/wasm.go
@@ -8,7 +8,7 @@ import (
"context"
"fmt"
- "github.com/open-policy-agent/golang-opa-wasm/opa"
+ "github.com/open-policy-agent/opa/internal/wasm/sdk/opa"
"github.com/op... | resolver/wasm: Swap to using in-tree SDK | open-policy-agent_opa | train | go |
a735ca6e4e657ce8c656432633f95c6747beb513 | diff --git a/modules/utils.js b/modules/utils.js
index <HASH>..<HASH> 100644
--- a/modules/utils.js
+++ b/modules/utils.js
@@ -52,7 +52,13 @@ function betterTypeOf(input) {
return 'null';
default:
try {
- return Object.prototype.toString.call(input).match(/^\[object\s(.*)\]$/)[... | Refs #<I>: fixes utils.betterTypeOf() for SlimerJS
In SlimerJS, the webpage object has no type 'qtruntimeobject' written
in the string form of the object. But it has a __type property.
The function should check this property when the engine is not PhantomJS. | casperjs_casperjs | train | js |
4f1bf9fba92446852a1b63fa986d51b3f791aa25 | diff --git a/eventcore/__init__.py b/eventcore/__init__.py
index <HASH>..<HASH> 100644
--- a/eventcore/__init__.py
+++ b/eventcore/__init__.py
@@ -1,10 +1,13 @@
import time
+import logging
from .event import Event # noqa
from .producer import Producer # noqa
from .consumer import Consumer # noqa
from .decorators... | Add dummy queue exception logging | maikelboogerd_eventcore | train | py |
10b4e7f4b150cd786cb6bc77fda1db1bcc3cc921 | diff --git a/cas-management-webapp/src/main/webapp/js/app/app-angular.js b/cas-management-webapp/src/main/webapp/js/app/app-angular.js
index <HASH>..<HASH> 100644
--- a/cas-management-webapp/src/main/webapp/js/app/app-angular.js
+++ b/cas-management-webapp/src/main/webapp/js/app/app-angular.js
@@ -73,6 +73,10 @@
... | #<I>: Added (No Theme/0) to theme dropdown options; | apereo_cas | train | js |
4b5ef8219e9ab765d04fd0d4fbdb54c2db3c1206 | diff --git a/lib/_options/parse.js b/lib/_options/parse.js
index <HASH>..<HASH> 100644
--- a/lib/_options/parse.js
+++ b/lib/_options/parse.js
@@ -86,10 +86,7 @@ module.exports = function (data, path) {
opts[current] = {};
} else if (opts[current].hasOwnProperty(name) &&
isBoolean(opts[current][name])) {... | Do not notify about cross setting inconsistencies | medikoo_xlint | train | js |
e65836b07633ad096a3148f953646f5230169be9 | diff --git a/ELiDE/ELiDE/stepper.py b/ELiDE/ELiDE/stepper.py
index <HASH>..<HASH> 100644
--- a/ELiDE/ELiDE/stepper.py
+++ b/ELiDE/ELiDE/stepper.py
@@ -122,6 +122,7 @@ Builder.load_string("""
cols: 1
size_hint_y: None
default_size_hint: 1, None
+ default_height: 20
height: self... | Pick a better default height for RuleStepper | LogicalDash_LiSE | train | py |
ef7d56c1d6e24cdd0a24d3ee825c499b917d7dda | diff --git a/lib/rb/ext/extconf.rb b/lib/rb/ext/extconf.rb
index <HASH>..<HASH> 100644
--- a/lib/rb/ext/extconf.rb
+++ b/lib/rb/ext/extconf.rb
@@ -21,8 +21,10 @@ if defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /jruby/
File.open('Makefile', 'w'){|f| f.puts "all:\n\ninstall:\n" }
else
require 'mkmf'
+ require 'rbconfi... | THRIFT-<I>:Fix missing dist files
Client: ruby
Patch: jfarrell
fix ruby extension to use RBConfig to work with newer versions of ruby | limingxinleo_thrift | train | rb |
89818b957cd910b4054124d9735e4bfacddcbe02 | diff --git a/lib/salesforce_bulk_api.rb b/lib/salesforce_bulk_api.rb
index <HASH>..<HASH> 100644
--- a/lib/salesforce_bulk_api.rb
+++ b/lib/salesforce_bulk_api.rb
@@ -13,7 +13,7 @@ module SalesforceBulkApi
class Api
attr_reader :connection
- SALESFORCE_API_VERSION = '32.0'
+ SALESFORCE_API_VERSION = '46... | Bump API version to <I> | yatish27_salesforce_bulk_api | train | rb |
fbe4bd286a142ac450fe9aaa78b8ad175c80725b | diff --git a/web/app.js b/web/app.js
index <HASH>..<HASH> 100644
--- a/web/app.js
+++ b/web/app.js
@@ -96,7 +96,7 @@ function verify (req, app, payload) {
}
// skip it with [pod skip] message
// use gitlab's payload structure if detected
- var commit = payload.head_commit ? payload.head_commit :
+ ... | Added support for bitbucket webhook payloads. | yyx990803_pod | train | js |
ee748705b777ddd365c55065366e83596c615811 | diff --git a/ml-agents/mlagents/trainers/env_manager.py b/ml-agents/mlagents/trainers/env_manager.py
index <HASH>..<HASH> 100644
--- a/ml-agents/mlagents/trainers/env_manager.py
+++ b/ml-agents/mlagents/trainers/env_manager.py
@@ -11,9 +11,8 @@ class EnvironmentStep(NamedTuple):
brain_name_to_action_info: Dict[str... | Fix has_actions_for_brains check (#<I>) | Unity-Technologies_ml-agents | train | py |
41226b51ad6a68fd28f838a4ae3160e135a8eb58 | diff --git a/go/vt/binlog/binlogplayer/binlog_player.go b/go/vt/binlog/binlogplayer/binlog_player.go
index <HASH>..<HASH> 100644
--- a/go/vt/binlog/binlogplayer/binlog_player.go
+++ b/go/vt/binlog/binlogplayer/binlog_player.go
@@ -560,7 +560,7 @@ func CreateVReplicationTable() []string {
// AlterVReplicationTable adds... | Increase max vrepl source def size from <I>KiB to <I>MiB (#<I>)
This will allow us to avoid practical limits on the number of shard
and table definitions in workflows. | vitessio_vitess | train | go |
961ba88599ec1dfcc13b4c747745cfc0a4861333 | diff --git a/vyper/ast.py b/vyper/ast.py
index <HASH>..<HASH> 100644
--- a/vyper/ast.py
+++ b/vyper/ast.py
@@ -257,7 +257,7 @@ class Assert(VyperNode):
class For(VyperNode):
- __slots__ = ('iter', 'target', 'orelse', 'body')
+ __slots__ = ('iter', 'target', 'body')
class AugAssign(VyperNode): | Remove for..else support. | ethereum_vyper | train | py |
f7c0948215f6a092b1fc65bfbd872bf4e3374bdc | diff --git a/test/batch_mode.js b/test/batch_mode.js
index <HASH>..<HASH> 100644
--- a/test/batch_mode.js
+++ b/test/batch_mode.js
@@ -5,10 +5,11 @@ describe('batch mode', function () {
this.timeout(20000)
it('should take arguments from stdin (add-claim)', async () => {
- const { stdout, stderr } = await wdT... | tests: batch_mode: use --dry where possible | maxlath_wikidata-cli | train | js |
adf8305f8b128c856a6de33409595fe14e01fd73 | diff --git a/core/src/main/java/jenkins/model/Jenkins.java b/core/src/main/java/jenkins/model/Jenkins.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/model/Jenkins.java
+++ b/core/src/main/java/jenkins/model/Jenkins.java
@@ -2949,9 +2949,10 @@ public class Jenkins extends AbstractCIBase implements Dir... | [FIXED JENKINS-<I>] Don't block indefinitely every other month | jenkinsci_jenkins | train | java |
0df9278f08b26eee9b2a0f6f52f909fba4458630 | diff --git a/varcmd/varcmd.go b/varcmd/varcmd.go
index <HASH>..<HASH> 100644
--- a/varcmd/varcmd.go
+++ b/varcmd/varcmd.go
@@ -30,7 +30,7 @@ func getDirs(paths []string) []string {
// slash-delimited format, and the quoted path will use the native OS separator.
func quotePath(path string) string {
path = strings.Re... | Bash also expects slash-delimited paths | cortesi_modd | train | go |
e7cb1efa376b74cab42110a9ae6ba731718b92a7 | diff --git a/src/python/jpype/_pykeywords.py b/src/python/jpype/_pykeywords.py
index <HASH>..<HASH> 100644
--- a/src/python/jpype/_pykeywords.py
+++ b/src/python/jpype/_pykeywords.py
@@ -12,17 +12,13 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific ... | use native sets instead of set module. | jpype-project_jpype | train | py |
527f8e3100a43b55180de9053d975cb2ea9aa1a5 | diff --git a/tensorflow_datasets/public_api.py b/tensorflow_datasets/public_api.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/public_api.py
+++ b/tensorflow_datasets/public_api.py
@@ -24,7 +24,6 @@ from tensorflow_datasets import core
from tensorflow_datasets import typing
from tensorflow_datasets.core imp... | Expose builder_from_directory in the public API
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
cb32950ca773b7f58f4419a994dcffc6b79cc9ff | diff --git a/scs_core/osio/client/rest_client.py b/scs_core/osio/client/rest_client.py
index <HASH>..<HASH> 100644
--- a/scs_core/osio/client/rest_client.py
+++ b/scs_core/osio/client/rest_client.py
@@ -72,7 +72,7 @@ class RESTClient(object):
def post(self, path, payload_jdict): # TODO: make the jdi... | Fixed a bug in TopicManager. | south-coast-science_scs_core | train | py,py |
4e0c6065e66864f77ce03a9b456ab2bb6f9f7dfc | diff --git a/lib/librarian/lockfile/compiler.rb b/lib/librarian/lockfile/compiler.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/lockfile/compiler.rb
+++ b/lib/librarian/lockfile/compiler.rb
@@ -13,16 +13,17 @@ module Librarian
end
def compile(manifests)
- out = []
+ out = StringIO.new... | Use StringIO instead of an array of strings for compiling a lockfile. | applicationsonline_librarian | train | rb |
e03d9e42d6193deeb418fe490a910880418e1b9c | diff --git a/zappa/core.py b/zappa/core.py
index <HASH>..<HASH> 100644
--- a/zappa/core.py
+++ b/zappa/core.py
@@ -2741,14 +2741,7 @@ class Zappa(object):
"""
Remove the DynamoDB Table used for async return values
"""
-
- topic_name = get_topic_name(lambda_name)
- removed_arns =... | fix: Removed async dynamodb table (resolves #<I>) | Miserlou_Zappa | train | py |
13494a33afa9cce17f9a8f9cbc2f304906b6b5bc | diff --git a/lib/serverspec/type/package.rb b/lib/serverspec/type/package.rb
index <HASH>..<HASH> 100644
--- a/lib/serverspec/type/package.rb
+++ b/lib/serverspec/type/package.rb
@@ -14,6 +14,10 @@ module Serverspec
backend.send(check_method, @name, version)
end
end
+
+ def version
+ ... | Add version method to package type for testing package version | mizzy_serverspec | train | rb,rb |
3018ce83b00309d61460cee20aab160cfe3c32f3 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ install_requires = [
]
description = ("Neo4j Cypher cell and line magic for IPython, "
- "Pandas, NetworkX and matplotlib",
+ "Pandas, NetworkX and matplotlib")
setup(
name=... | Stupid error on setup.py | versae_ipython-cypher | train | py |
5dacdb56bb4c0f9f8da111cf8dad2ba536426588 | diff --git a/simuvex/vex/irsb.py b/simuvex/vex/irsb.py
index <HASH>..<HASH> 100644
--- a/simuvex/vex/irsb.py
+++ b/simuvex/vex/irsb.py
@@ -41,7 +41,7 @@ class SimIRSB(SimRun):
raise SimIRSBError("Empty IRSB passed to SimIRSB.")
self.irsb = irsb
- self.first_imark = IMark([i for i in self.... | Use `next` instead of list comprehension to slightly increase the speed. | angr_angr | train | py |
f0329754786553f105214ea4bb2a9ea1e9ed1fe7 | diff --git a/aresponses/main.py b/aresponses/main.py
index <HASH>..<HASH> 100644
--- a/aresponses/main.py
+++ b/aresponses/main.py
@@ -179,7 +179,7 @@ class ResponsesMockServer(BaseTestServer):
return route, response
self._unmatched_requests.append(request)
- return route, None
+ r... | fix: don't return undefined variable | CircleUp_aresponses | train | py |
fa9215504d8b6dae2c776733721c718f2a1f2e1a | diff --git a/gitlab.py b/gitlab.py
index <HASH>..<HASH> 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -680,6 +680,8 @@ class GitlabObject(object):
for k in sorted(self.__dict__.keys()):
if k == self.idAttr:
continue
+ if k[0] == '_':
+ continue
v... | pretty_print: don't display private attributes | python-gitlab_python-gitlab | train | py |
e76fb279eb5f0bbfa481f16b820a075419ab3d3f | diff --git a/lib/paper_trail/has_paper_trail.rb b/lib/paper_trail/has_paper_trail.rb
index <HASH>..<HASH> 100644
--- a/lib/paper_trail/has_paper_trail.rb
+++ b/lib/paper_trail/has_paper_trail.rb
@@ -60,7 +60,7 @@ module PaperTrail
attr_accessor :paper_trail_event
has_many self.versions_association_n... | Dropping unnecessary secondary sort on versions association, fix #<I> | paper-trail-gem_paper_trail | train | rb |
b1e57cb3caade5b4a6ac5b144170a0c08f97056a | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -193,7 +193,7 @@ class Master(SMaster):
self.opts['keep_jobs']:
shutil.rmtree(f_path)
- if self.opts.get('publish_sesio... | changed publish_sesion to publish_session into master | saltstack_salt | train | py |
255f211f0537e06e952a4d780dffbf9b325df64d | diff --git a/src/Connection/Connector.php b/src/Connection/Connector.php
index <HASH>..<HASH> 100644
--- a/src/Connection/Connector.php
+++ b/src/Connection/Connector.php
@@ -205,7 +205,7 @@ class Connector implements ConnectorInterface
*
* @param AccessToken $token
*/
- protected function saveToke... | Allow external callers to save an access token | platformsh_platformsh-client-php | train | php |
a8f1608193faef79d47073b64c4e9611720b70f9 | diff --git a/src/ComposerPlugin.php b/src/ComposerPlugin.php
index <HASH>..<HASH> 100644
--- a/src/ComposerPlugin.php
+++ b/src/ComposerPlugin.php
@@ -71,7 +71,14 @@ final class ComposerPlugin implements PluginInterface, EventSubscriberInterface
$filePrefixFalse = self::getExtraKey(self::SPLIT_TARGET_PREFIX_F... | Avoid loading AutoSplitter class on package removal.
Fixes #8 | wp-cli_autoload-splitter | train | php |
db74445465d62a4458f8f9056742fc6b69e67f17 | diff --git a/Polyline.encoded.js b/Polyline.encoded.js
index <HASH>..<HASH> 100644
--- a/Polyline.encoded.js
+++ b/Polyline.encoded.js
@@ -49,7 +49,7 @@
dlng = lngFloored - plng;
plat = latFloored;
plng = lngFloored;
- encoded_points += this.encodeSignedNumber(dlat) + this.encodeSignedNumber(dlng);
+ ... | Renamed methods to encodeSigned/UnsignedInteger() | jieter_Leaflet.encoded | train | js |
4358655405ad5ee51eabe30514174bf32d4d52b7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -422,7 +422,7 @@ Unirest = function (method, uri) {
var decoder, _on = response.on;
// Keeping node happy
- stream.req = Request;
+ stream.req = Request.response;
... | Response... weird, these tests passed before. | Kong_unirest-nodejs | train | js |
e3e0e70908d1c283176dc0d4ef1c333f59426aa7 | diff --git a/lib/tld.js b/lib/tld.js
index <HASH>..<HASH> 100644
--- a/lib/tld.js
+++ b/lib/tld.js
@@ -33,11 +33,12 @@ tld.getExceptionPattern = function(rule){
/**
* Returns the best rule for a given host based on candidates
*
+ * @static
* @param host {String} Hostname to check rules against
* @param rules {... | Moved `getCandidateRule` to a static method | remusao_tldts | train | js |
180374acf0cfdd1e04b2e36a9a57aaef6d1473e7 | diff --git a/lib/librarian/resolver.rb b/lib/librarian/resolver.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/resolver.rb
+++ b/lib/librarian/resolver.rb
@@ -1,5 +1,7 @@
require 'tsort'
+require 'librarian/helpers/debug'
+
require 'librarian/dependency'
module Librarian
@@ -13,6 +15,8 @@ module Librarian
... | Use shared code rather than pasted code. | applicationsonline_librarian | train | rb |
da1752dd5fcabfd36a5f7e38876b880d48010546 | diff --git a/Core/Libraries/Zip.php b/Core/Libraries/Zip.php
index <HASH>..<HASH> 100644
--- a/Core/Libraries/Zip.php
+++ b/Core/Libraries/Zip.php
@@ -31,7 +31,7 @@
*/
namespace FuzeWorks\Library;
-use FuzeWorks\Logger;
+use Fuzeworks\Factory;
/**
* FuzeWorks Zip Compression Class
@@ -120,7 +120,7 @@ class FW... | Zip class now only uses the Factory class.
The logger is loaded through the Factory class. | FuzeWorks_Core | train | php |
e1588a6cf12da91ca1963e045b8a48bf8929e761 | diff --git a/cli/commands/get.js b/cli/commands/get.js
index <HASH>..<HASH> 100644
--- a/cli/commands/get.js
+++ b/cli/commands/get.js
@@ -126,6 +126,8 @@ class GetCommand extends Command {
}
}
+ !fs.existsSync('/tmp') && fs.mkdirSync('/tmp');
+ !fs.existsSync('/tmp/stdlib') && fs.mkdirSync(... | Creates /tmp/stdlib in lib get if it does not exist | stdlib_lib | train | js |
7cb04646b9127db41c507182ef90f36da2a6a0b6 | diff --git a/tasks/build.js b/tasks/build.js
index <HASH>..<HASH> 100644
--- a/tasks/build.js
+++ b/tasks/build.js
@@ -1,26 +1,24 @@
'use strict';
-var del = require('del');
-var prompt = require('gulp-prompt');
-var exec = require('gulp-exec');
-
module.exports = function (gulp, config) {
return {
clea... | chore(packages): inline requires in the build tasks | emartech_boar-tasks-client | train | js |
59c19e2f74b810cb3b5e7935536bf5ec886b1db2 | diff --git a/PostParameter.php b/PostParameter.php
index <HASH>..<HASH> 100644
--- a/PostParameter.php
+++ b/PostParameter.php
@@ -30,4 +30,4 @@ class PostParameter implements ParameterInterface {
$this->updateValue();
return $this->value;
}
-}
\ No newline at end of file
+} | Added newline at end of file | Digital-Media_normform | train | php |
8bfcfede410ad471ed05cf9fb13736bc6ff03cac | diff --git a/src/main/java/com/turn/ttorrent/common/AnnounceableTorrentImpl.java b/src/main/java/com/turn/ttorrent/common/AnnounceableTorrentImpl.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/turn/ttorrent/common/AnnounceableTorrentImpl.java
+++ b/src/main/java/com/turn/ttorrent/common/AnnounceableTorrentImp... | TW-<I> Artifacts of old builds cannot be downloaded via torrent (limit on the number of seeded artifacts)
refactoring: just removed useless 'this' pointer in constructor | mpetazzoni_ttorrent | train | java |
67bc0ab08c0a62bf786613310e54e45b88e05af0 | diff --git a/lib/ProMotion/screens/_tables/table_view_cell_module.rb b/lib/ProMotion/screens/_tables/table_view_cell_module.rb
index <HASH>..<HASH> 100644
--- a/lib/ProMotion/screens/_tables/table_view_cell_module.rb
+++ b/lib/ProMotion/screens/_tables/table_view_cell_module.rb
@@ -44,9 +44,7 @@ module ProMotion
... | We can't have an accessory_view AND a switch, so don't try and set them if they both exist. accessory_view takes precedence over a switch accessory. | infinitered_ProMotion | train | rb |
1d6b441830ec18bb1044cdd703bd2a986cb5e898 | diff --git a/src/MamuzBlogFeed/Extractor/FeedEntry.php b/src/MamuzBlogFeed/Extractor/FeedEntry.php
index <HASH>..<HASH> 100644
--- a/src/MamuzBlogFeed/Extractor/FeedEntry.php
+++ b/src/MamuzBlogFeed/Extractor/FeedEntry.php
@@ -44,9 +44,11 @@ class FeedEntry implements ExtractionInterface
/** @var \MamuzBlog\Vi... | use permaLink as item id | mamuz_MamuzBlogFeed | train | php |
a29fb8b30652db81727adfe062ae17bf620dd573 | diff --git a/lib/agent/index.js b/lib/agent/index.js
index <HASH>..<HASH> 100644
--- a/lib/agent/index.js
+++ b/lib/agent/index.js
@@ -226,9 +226,10 @@ var Agent = self = {
driver.on('unwatch', self.stop_action); // a trigger is an action
driver.on('unload', self.driver_unloaded); // driver done... | Mark driver as loaded only if load() is successfull. | prey_prey-node-client | train | js |
23c7a0a1205932acd9ba2b6ba92328f24afa58ae | diff --git a/diskv.go b/diskv.go
index <HASH>..<HASH> 100644
--- a/diskv.go
+++ b/diskv.go
@@ -13,6 +13,7 @@ import (
"path/filepath"
"strings"
"sync"
+ "syscall"
)
const (
@@ -191,7 +192,11 @@ func (d *Diskv) Import(srcFilename, dstKey string, move bool) (err error) {
if move {
d.bustCacheWithLock(dst... | Import: don't fail for cross-device imports
rename(2) only works on a single device. When trying to import a file
(with move=true) from a different device to the one on which the diskv
is located, we should gracefully fall back to copying the file and then
removing it (like mv(1) does). | peterbourgon_diskv | train | go |
5521576cd545ea214340b07a38e2920a09f2c54e | diff --git a/parse/page.go b/parse/page.go
index <HASH>..<HASH> 100644
--- a/parse/page.go
+++ b/parse/page.go
@@ -63,7 +63,9 @@ func (page *Page) getLinks(text []byte) {
page.Categories = append(page.Categories, string(category))
} else {
- page.Links = append(page.Links, string(linkBody))
+ if isTitl... | adds a check to make sure that all links look like real article titles | aaasen_kapok | train | go |
e5537922390f6583bed1d813bf18a4676d3858ea | diff --git a/core/src/main/java/io/undertow/Undertow.java b/core/src/main/java/io/undertow/Undertow.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/Undertow.java
+++ b/core/src/main/java/io/undertow/Undertow.java
@@ -251,9 +251,10 @@ public class Undertow {
bufferSize = 1024;
... | Increase default buffer size to <I>k for best performance | undertow-io_undertow | train | java |
0ea31ccc93038853ef09cb65304f7eacffb61627 | diff --git a/services/OauthService.php b/services/OauthService.php
index <HASH>..<HASH> 100644
--- a/services/OauthService.php
+++ b/services/OauthService.php
@@ -49,7 +49,7 @@ class OauthService extends BaseApplicationComponent
// --------------------------------------------------------------------
- publi... | Renamed OauthService->disconnectUrl() to OauthService->disconnect() | dukt_oauth | train | php,php |
46698d79310ab1c12089f4bc2c13ac2f136128da | diff --git a/params/version.go b/params/version.go
index <HASH>..<HASH> 100644
--- a/params/version.go
+++ b/params/version.go
@@ -21,10 +21,10 @@ import (
)
const (
- VersionMajor = 1 // Major version component of the current release
- VersionMinor = 9 // Minor version component of the current releas... | params: begin <I> release cycle | ethereum_go-ethereum | train | go |
ca6f7979a6cb21d926c7753c51a84082e4c520c9 | diff --git a/lib/ghtorrent/ghtorrent.rb b/lib/ghtorrent/ghtorrent.rb
index <HASH>..<HASH> 100644
--- a/lib/ghtorrent/ghtorrent.rb
+++ b/lib/ghtorrent/ghtorrent.rb
@@ -741,7 +741,7 @@ module GHTorrent
end
if processed == 0
warn "No commits found for #{user}/#{repo}, repo de... | Don't copy commits when no repo was found | gousiosg_github-mirror | train | rb |
78f66a2727461a7746f99f39ad488645a0c8c767 | diff --git a/apiserver/common/storage.go b/apiserver/common/storage.go
index <HASH>..<HASH> 100644
--- a/apiserver/common/storage.go
+++ b/apiserver/common/storage.go
@@ -95,7 +95,10 @@ func volumeStorageAttachmentInfo(
if err != nil {
return nil, errors.Trace(err)
}
- return &storage.StorageAttachmentInfo{devic... | storage: add Kind to StorageAttachmentInfo
(and in apiserver/common) | juju_juju | train | go,go |
7bceaaf3e2107d8cc98246a42f9a3cea7a0dbb66 | diff --git a/lib/stomp_parser/frame.rb b/lib/stomp_parser/frame.rb
index <HASH>..<HASH> 100644
--- a/lib/stomp_parser/frame.rb
+++ b/lib/stomp_parser/frame.rb
@@ -108,6 +108,7 @@ module StompParser
frame << body << "\x00"
frame
end
+ alias_method :to_s, :to_str
def [](key)
@headers[k... | Alias to_str as to_s, just in case. | varvet_stomp_parser | train | rb |
7b2b077c5e5121f4b685e85616baabbc5a16ed73 | diff --git a/pipenv/cli.py b/pipenv/cli.py
index <HASH>..<HASH> 100644
--- a/pipenv/cli.py
+++ b/pipenv/cli.py
@@ -594,7 +594,8 @@ Usage Examples:
Commands:""".format(
crayons.red('pipenv --three'),
crayons.red('pipenv install --dev'),
- crayons.red('pipenv lock --dev'))
+ crayons.red('pipenv lock --de... | Auto-committing 'cli.py' | pypa_pipenv | train | py |
a1831998c43fe7f682aff957f740e7ec0a78fe84 | diff --git a/module/Core/src/Grid/Core/Installer/Patch.php b/module/Core/src/Grid/Core/Installer/Patch.php
index <HASH>..<HASH> 100644
--- a/module/Core/src/Grid/Core/Installer/Patch.php
+++ b/module/Core/src/Grid/Core/Installer/Patch.php
@@ -21,6 +21,18 @@ class Patch extends AbstractPatch
const SITE_OWNER_GROUP ... | installer/patcher update to create uploads dirs | webriq_core | train | php |
7dc999e075ac25b9e8314c07a112c0027d13d415 | diff --git a/src/extensions/select-all/backgrid-select-all.js b/src/extensions/select-all/backgrid-select-all.js
index <HASH>..<HASH> 100644
--- a/src/extensions/select-all/backgrid-select-all.js
+++ b/src/extensions/select-all/backgrid-select-all.js
@@ -68,17 +68,17 @@
Process keyboard navigation.
*/
... | Refactor references to KeyboardCommand to Command in select-all | cloudflarearchive_backgrid | train | js |
75a35590c7aa65a22b2568a4859c17254c8b6cd3 | diff --git a/src/Eris/Generator/Vector.php b/src/Eris/Generator/Vector.php
index <HASH>..<HASH> 100644
--- a/src/Eris/Generator/Vector.php
+++ b/src/Eris/Generator/Vector.php
@@ -26,7 +26,7 @@ class Vector implements Generator
public function shrink()
{
- $elementsToShrink = rand(1, (int)(($this->siz... | A more aggressive shrink policy for Vectors
A little bit more :-) | giorgiosironi_eris | train | php |
c2a32b93311e2ddc332e2c627d8c1dc5315dd68b | diff --git a/lib/createScriptLogger.js b/lib/createScriptLogger.js
index <HASH>..<HASH> 100644
--- a/lib/createScriptLogger.js
+++ b/lib/createScriptLogger.js
@@ -4,10 +4,22 @@ module.exports = function createLogger () {
let logs = []
const logFn = (level, ...args) => {
+ const lastArg = args.slice(-1)[0]
+ ... | add support for keeping the timestamp of executeScript log if meta object is passed | jsreport_jsreport-core | train | js |
ead1cb59dd2b7b00d223174ac2c7224e9ac6a31e | diff --git a/core/src/main/java/com/orientechnologies/orient/core/Orient.java b/core/src/main/java/com/orientechnologies/orient/core/Orient.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/Orient.java
+++ b/core/src/main/java/com/orientechnologies/orient/core/Orient.java
@@ -2... | Postponed cancelling of Orient's timer on shutdown | orientechnologies_orientdb | train | java |
82bb4ca2f587b806b71fb0f43027985c0d17a324 | diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php
index <HASH>..<HASH> 100644
--- a/code/model/SiteTree.php
+++ b/code/model/SiteTree.php
@@ -999,6 +999,13 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
}
}
+ /**
+ * @deprecated 3.0 Use prepopulate_permission_ca... | Add a deprecation-friendly version of the prepopulate_permission_cache function
Add a function with the old function name that adds a deprecation warning for
users but forwards the call to the renamed function for backwards-compatibility. | silverstripe_silverstripe-siteconfig | train | php |
75b3d94e27b537384f661baa5014b0ac8d513e67 | diff --git a/preinstall.js b/preinstall.js
index <HASH>..<HASH> 100644
--- a/preinstall.js
+++ b/preinstall.js
@@ -4,7 +4,7 @@ const childProcess = require('child_process');
const packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json')));
const dependencies = Object.keys(packageJson.dependenci... | Fix preinstall to force magicleap extraction | exokitxr_exokit | train | js |
250d6c4d761579cf5d0484e37603b0feffa68c4e | diff --git a/scuba/__main__.py b/scuba/__main__.py
index <HASH>..<HASH> 100644
--- a/scuba/__main__.py
+++ b/scuba/__main__.py
@@ -387,7 +387,7 @@ def main(argv=None):
scuba_args = parse_scuba_args(argv)
try:
- rc = run_scuba(scuba_args)
+ rc = run_scuba(scuba_args) or 0
sys.exit(rc)
... | scuba: Ensure scuba always exits with integer exit code
Also, use SystemExit.code instead of .args[0]. | JonathonReinhart_scuba | train | py,py |
0572c8c863b439bba5fc5353a70587dc80e760ff | diff --git a/classes/fields/term_checkboxes.class.php b/classes/fields/term_checkboxes.class.php
index <HASH>..<HASH> 100644
--- a/classes/fields/term_checkboxes.class.php
+++ b/classes/fields/term_checkboxes.class.php
@@ -12,7 +12,7 @@ class Cuztom_Field_Term_Checkboxes extends Cuztom_Field
$this->args = array_me... | Update term_checkboxes.class.php
The term_checkboxes option is not getting custom taxonomy and showing post category even when we set it. | gizburdt_cuztom | train | php |
1d60200a0aba48757a5dd1f21078411c6795a595 | diff --git a/lib/dm-core/model.rb b/lib/dm-core/model.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/model.rb
+++ b/lib/dm-core/model.rb
@@ -388,8 +388,9 @@ module DataMapper
# TODO: add docs
# @api private
def _load(marshalled)
- repository_name, attributes = Marshal.load(marshalled)
- repos... | Updated Resource marshaling to be more thorough
* Now dumps every ivar, aside from anything collection/association
related. This should work better for tracking ivars like @new_record
or others added to the object by the end user. | datamapper_dm-core | train | rb,rb |
3a1ccc8963b794b205637b7df70a383312a850fc | diff --git a/src/StackFormation/Command/Blueprint/DeployCommand.php b/src/StackFormation/Command/Blueprint/DeployCommand.php
index <HASH>..<HASH> 100755
--- a/src/StackFormation/Command/Blueprint/DeployCommand.php
+++ b/src/StackFormation/Command/Blueprint/DeployCommand.php
@@ -81,6 +81,17 @@ class DeployCommand extend... | Detect DELETE_IN_PROGRESS and offer to wait before deploy | AOEpeople_StackFormation | train | php |
1564bd2385b8c0cbe0db54e079cd74408ec607cb | diff --git a/src/methods/map.js b/src/methods/map.js
index <HASH>..<HASH> 100644
--- a/src/methods/map.js
+++ b/src/methods/map.js
@@ -1,14 +1,14 @@
'use strict';
module.exports = function map(fn) {
- if(Array.isArray(this.items)) {
+ if (Array.isArray(this.items)) {
return new this.constructor(this.items.ma... | fixes another set of eslint errors
Sorry need to get used to that code style | ecrmnn_collect.js | train | js |
5405140965511a3c36a3e0296f3bab5ebec55f4f | diff --git a/src/components/SocialLoginLink.js b/src/components/SocialLoginLink.js
index <HASH>..<HASH> 100644
--- a/src/components/SocialLoginLink.js
+++ b/src/components/SocialLoginLink.js
@@ -79,7 +79,7 @@ export default class SocialLoginLink extends React.Component {
return console.error('Error: Unable t... | fix issue with SocialLoginLink redirectUri being named redirectTo | stormpath_stormpath-sdk-react | train | js |
fba94dc5a9077fa81eb85199fa9dfdaa8af82ab5 | diff --git a/builder.go b/builder.go
index <HASH>..<HASH> 100755
--- a/builder.go
+++ b/builder.go
@@ -78,6 +78,7 @@ func BuildAndRunDir(dir string, filters []string) error {
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil {
+ buildCleanup(dir)
os.Exit(1)
} | Ensure that directory is cleaned up when exiting | gucumber_gucumber | train | go |
0d547b1a001d73d57c6e6a6971ecbac655f18001 | diff --git a/tests/unit/src/Engine/Elasticsearch/ElasticsearchSortingFormatterTest.php b/tests/unit/src/Engine/Elasticsearch/ElasticsearchSortingFormatterTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/src/Engine/Elasticsearch/ElasticsearchSortingFormatterTest.php
+++ b/tests/unit/src/Engine/Elasticsearch/Elastic... | <I> - Changed expected return variable for format method. | g4code_data-mapper | train | php |
89e52948386519908fd644ed0542f5cc7779ead3 | diff --git a/ripe/atlas/sagan/helpers/abuf.py b/ripe/atlas/sagan/helpers/abuf.py
index <HASH>..<HASH> 100644
--- a/ripe/atlas/sagan/helpers/abuf.py
+++ b/ripe/atlas/sagan/helpers/abuf.py
@@ -190,6 +190,10 @@ class AbufParser(object):
fmt = "!HHIH"
reqlen = struct.calcsize(fmt)
... | Detect if resource record is truncated. | RIPE-NCC_ripe.atlas.sagan | train | py |
28b302e3c2313be97873ca6446d7a83655029bd6 | diff --git a/Auth/OpenID/BigMath.php b/Auth/OpenID/BigMath.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/BigMath.php
+++ b/Auth/OpenID/BigMath.php
@@ -335,6 +335,7 @@ class Auth_OpenID_GmpMathWrapper extends Auth_OpenID_MathLibrary{
* You can define new math library implementations and add them to
* this array.... | [project @ Global variables conflict resolution] | openid_php-openid | train | php,php |
1f21c4dd0512e899ecf4077a927d99debac28f6d | diff --git a/testutil/registry/ops.go b/testutil/registry/ops.go
index <HASH>..<HASH> 100644
--- a/testutil/registry/ops.go
+++ b/testutil/registry/ops.go
@@ -1,7 +1,5 @@
package registry
-import "io"
-
// Schema1 sets the registry to serve v1 api
func Schema1(c *Config) {
c.schema1 = true
@@ -26,17 +24,3 @@ fun... | testutil/registry: remove unused WithStdout(), WithStErr() opts
These were added as part of d7ba1f<I>ef8f<I>f2fd<I>d<I>ab<I>,
but weren't used at the time, and still aren't used, so let's remove
them. | moby_moby | train | go |
7c9203efdc14e664588fd38e9bbaa803f4624e4d | diff --git a/src/Traits/MicroServiceCacheTrait.php b/src/Traits/MicroServiceCacheTrait.php
index <HASH>..<HASH> 100644
--- a/src/Traits/MicroServiceCacheTrait.php
+++ b/src/Traits/MicroServiceCacheTrait.php
@@ -71,16 +71,13 @@ trait MicroServiceCacheTrait
$origAttributeValue = $this->getOriginalCacheKeyVal... | Tidied up coding standards. | LUSHDigital_microservice-model-utils | train | php |
706b9f9525da2fee7e98d4c3320c8cd07d80edf9 | diff --git a/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java b/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
index <HASH>..<HASH> 100644
--- a/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
+++ b/src/edu/rpi/cmt/calendar/diff/ParamsWrapper.java
@@ -89,15 +89,21 @@ class ParamsWrapper extends BaseSetWrapper<ParamW... | Fix to date/time processing for SOAP | Bedework_bw-util | train | java |
053d1176165a4136b561975fb26ad2721a6a3b53 | diff --git a/malcolm/modules/ADCore/parts/detectordriverpart.py b/malcolm/modules/ADCore/parts/detectordriverpart.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/ADCore/parts/detectordriverpart.py
+++ b/malcolm/modules/ADCore/parts/detectordriverpart.py
@@ -367,8 +367,30 @@ class DetectorDriverPart(builtin.parts.C... | DetectorDriverPart: handle breakpoints in on_post_run_armed | dls-controls_pymalcolm | train | py |
80612540b75f7480bb726c8a2982ace4fb076f49 | diff --git a/lib/components/user/trip-summary.js b/lib/components/user/trip-summary.js
index <HASH>..<HASH> 100644
--- a/lib/components/user/trip-summary.js
+++ b/lib/components/user/trip-summary.js
@@ -30,11 +30,11 @@ class TripSummary extends Component {
})
}
- async componentDidMount () {
+ componentDidM... | refactor(TripSummary): Remove unused async. | opentripplanner_otp-react-redux | train | js |
e4f6e4f7e305b5fa816672f3baa3535745b8f481 | diff --git a/pymongo/ssl_match_hostname.py b/pymongo/ssl_match_hostname.py
index <HASH>..<HASH> 100644
--- a/pymongo/ssl_match_hostname.py
+++ b/pymongo/ssl_match_hostname.py
@@ -8,9 +8,16 @@ class CertificateError(ValueError):
pass
-def _dnsname_to_pat(dn):
+def _dnsname_to_pat(dn, max_wildcards=1):
pats... | Backport patch from python issue<I> PYTHON-<I> | mongodb_mongo-python-driver | train | py |
e77ed818124cc92177498125fd63ec39c98f96a2 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -116,7 +116,13 @@ gulp.task("test-karma", (done) => {
}, done).start();
});
+gulp.task("test-karma-debug", (done) => {
+ new Karma({
configFile: __dirname + '/karma.conf.js',
+ colors: tr... | add "karma-test-debug" task that is good for local development and debug (Chrome, autoWatch, etc) | jenkinsci_blueocean-plugin | train | js |
d1a67a44a1cc240d4f39c19bb28f3aa4e7e0fa81 | diff --git a/lib/aws/plugins/s3_location_constraint.rb b/lib/aws/plugins/s3_location_constraint.rb
index <HASH>..<HASH> 100644
--- a/lib/aws/plugins/s3_location_constraint.rb
+++ b/lib/aws/plugins/s3_location_constraint.rb
@@ -5,7 +5,10 @@ module Aws
class Handler < Seahorse::Client::Handler
def call(... | Fixed an issue with the LocationConstraint plugin for S3 that caused integration test failures. | aws_aws-sdk-ruby | train | rb |
b1df82e5a22d3b01475a1602b6f2e09efc068b22 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ setup(
version='0.0.1',
author='Simon Walker',
install_requires=['requests', 'sqlalchemy', 'ipython', 'vcrpy'],
- tests_require=['vcrpy', 'pytest'],
+ tests_require=['pytest'],
packages=f... | Remove vcr from test requires | mindriot101_k2catalogue | train | py |
145100db6dc6e9f6baab9cb63ba5bedd31e27ea1 | diff --git a/lib/data_mapper/validation.rb b/lib/data_mapper/validation.rb
index <HASH>..<HASH> 100644
--- a/lib/data_mapper/validation.rb
+++ b/lib/data_mapper/validation.rb
@@ -80,6 +80,8 @@ module DataMapper
@validators ||= ContextualRuleSet.new(self)
end
+ private
+
# @api private
... | Set visibility of Module#inherited to private in accordance with Liskov Substitution Principle. | emmanuel_aequitas | train | rb |
165920b20b1fcf73a717209de180d7b0b3cad647 | diff --git a/match/lib/match/git_helper.rb b/match/lib/match/git_helper.rb
index <HASH>..<HASH> 100644
--- a/match/lib/match/git_helper.rb
+++ b/match/lib/match/git_helper.rb
@@ -62,7 +62,7 @@ module Match
commands = []
commands << "git add -A"
commands << "git commit -m #{message.shellescape... | [match] Don’t hang when git credentials are not there
This would be hanging when not running in read-only mode, having a public repo, but not having push access | fastlane_fastlane | train | rb |
b12f747437447e8b9a8de66798760eead1d8852a | diff --git a/geo.go b/geo.go
index <HASH>..<HASH> 100644
--- a/geo.go
+++ b/geo.go
@@ -2,7 +2,7 @@ package geo
import (
"database/sql"
- _ "github.com/kellydunn/pq"
+ _ "github.com/lib/pq"
)
// @return [*SQLMapper]. An instantiated SQLMapper struct with the DefaultSQLConf. | [src] removing references to old pq project | kellydunn_golang-geo | train | go |
8194a05e00549effa5d94039fd770c4589dfdc7a | diff --git a/cheroot/test/test_server.py b/cheroot/test/test_server.py
index <HASH>..<HASH> 100644
--- a/cheroot/test/test_server.py
+++ b/cheroot/test/test_server.py
@@ -214,7 +214,7 @@ def test_peercreds_unix_sock(peercreds_enabled_server_and_client):
bind_addr = bind_addr.decode()
unix_base_uri = 'ht... | Use canonical form of null character. | cherrypy_cheroot | train | py |
d10f6f8e11624045411e655644ca5d896c4039d1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
INSTALL_REQUIRES = ['pymongo']
-if sys.version_info.major < 3:
+if sys.version_info[0] == 2:
INSTALL_REQU... | setup: don't use sys.version_info.major | wroberts_pygermanet | train | py |
962e0344f94c754f42bf424746085d6844438bbc | diff --git a/template-global.js b/template-global.js
index <HASH>..<HASH> 100644
--- a/template-global.js
+++ b/template-global.js
@@ -11,6 +11,7 @@ famousflex.LayoutNodeManager = require('./src/LayoutNodeManager');
famousflex.LayoutUtility = require('./src/LayoutUtility');
famousflex.ScrollController = require('./sr... | Fixed LinkedListViewSequence which was missing from the global dist files. | IjzerenHein_famous-flex | train | js,js |
48a6669b47ce4dd8830d02c880ab374da13847c1 | diff --git a/JSAT/test/jsat/clustering/kmeans/GMeansTest.java b/JSAT/test/jsat/clustering/kmeans/GMeansTest.java
index <HASH>..<HASH> 100644
--- a/JSAT/test/jsat/clustering/kmeans/GMeansTest.java
+++ b/JSAT/test/jsat/clustering/kmeans/GMeansTest.java
@@ -9,6 +9,8 @@ import jsat.SimpleDataSet;
import jsat.classifiers.D... | Making GMeans test case easier so it consistently passes. | EdwardRaff_JSAT | train | java |
8f34f24d1b60bd484337effc4cef0b8e6356d0e6 | diff --git a/src/instrumentTest/java/com/couchbase/cblite/testapp/tests/Replicator.java b/src/instrumentTest/java/com/couchbase/cblite/testapp/tests/Replicator.java
index <HASH>..<HASH> 100644
--- a/src/instrumentTest/java/com/couchbase/cblite/testapp/tests/Replicator.java
+++ b/src/instrumentTest/java/com/couchbase/cb... | Fix bug in test that was causing tests to hang. | couchbase_couchbase-lite-java-core | train | java |
c37a9085ded813fa93c473daf266c6bbebe4f11b | diff --git a/router.go b/router.go
index <HASH>..<HASH> 100644
--- a/router.go
+++ b/router.go
@@ -187,7 +187,7 @@ func (a *App) addRoute(method string, url string, h Handler) *RouteInfo {
//buildRouteName builds a route based on the path passed.
func (a *App) buildRouteName(p string) string {
- if path.Join(a.Pref... | fixed "broken" tests. it was actually the helper logic that was broken. | gobuffalo_buffalo | train | go,go |
84ecd0bd00ad4211c9effbdbba6c7839592f06fd | diff --git a/lib/trouble/middleware.rb b/lib/trouble/middleware.rb
index <HASH>..<HASH> 100644
--- a/lib/trouble/middleware.rb
+++ b/lib/trouble/middleware.rb
@@ -17,6 +17,9 @@ module Trouble
raise unless exception.message.include?('invalid %-encoding')
return [400, {}, ['']]
+ rescue ActionControlle... | Don't notify Trouble on a bad URI request | bukowskis_trouble | train | rb |
75970c8a9139fb1e8b70893e8ae0a83569f84dd2 | diff --git a/server/src/main/java/org/jboss/as/server/services/path/RelativePathService.java b/server/src/main/java/org/jboss/as/server/services/path/RelativePathService.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/org/jboss/as/server/services/path/RelativePathService.java
+++ b/server/src/main/java/org/... | [JBPAPP-<I>] Fix recursive invocation.
was: da<I>c<I>c4d<I>cad<I>ebee6e<I>bd<I>a<I>f<I>f | wildfly_wildfly-core | train | java |
49e166382f7df50e1ebc51342b6587a8e0905db0 | diff --git a/abp-filter-parser.js b/abp-filter-parser.js
index <HASH>..<HASH> 100644
--- a/abp-filter-parser.js
+++ b/abp-filter-parser.js
@@ -224,13 +224,17 @@ function isThirdPartyHost(baseContextHost, testHost) {
// mean that the filter rule shoudl be accepted, just that the filter rule
// should be considered giv... | Add support for other element type option checks | bbondy_abp-filter-parser | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.