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 |
|---|---|---|---|---|---|
107078903eaf1898ad0986257e69444378c13bf1 | diff --git a/guava/src/com/google/common/hash/Hashing.java b/guava/src/com/google/common/hash/Hashing.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/hash/Hashing.java
+++ b/guava/src/com/google/common/hash/Hashing.java
@@ -184,6 +184,10 @@ public final class Hashing {
/**
* Returns a hash fun... | Add warning/scare text to MD5 and SHA1 hash functions.
-------------
Created by MOE: <URL> | google_guava | train | java |
062b3438a2416442a726afc9bac26051ad7acdf0 | diff --git a/core/commands/id.go b/core/commands/id.go
index <HASH>..<HASH> 100644
--- a/core/commands/id.go
+++ b/core/commands/id.go
@@ -49,6 +49,10 @@ If no peer is specified, prints out information for local peers.
<pver>: Protocol version.
<pubkey>: Public key.
<addrs>: Addresses (newline delimited).
+
+EXAMPLE... | Added an example to `ipfs id`
I was super confused how to use the `-f` flag. This helped, but I had to go into
the test files to find it. Added it here.
License: MIT | ipfs_go-ipfs | train | go |
fcd28a7b15367f5b3fff645fc98894d51bfc51c1 | diff --git a/src/Flatline/Auth/MongolUser.php b/src/Flatline/Auth/MongolUser.php
index <HASH>..<HASH> 100644
--- a/src/Flatline/Auth/MongolUser.php
+++ b/src/Flatline/Auth/MongolUser.php
@@ -13,4 +13,15 @@ class MongolUser extends GenericUser {
{
return $this->attributes['_id'];
}
-}
\ No newline at ... | Added __isset as this is lacking in Laravel 4 yet | Cosmicist_mongol | train | php |
1313b51a5d3b3d1c1d8f4c3e96d7d14b72ef164f | diff --git a/bin/import_cv2.py b/bin/import_cv2.py
index <HASH>..<HASH> 100755
--- a/bin/import_cv2.py
+++ b/bin/import_cv2.py
@@ -71,6 +71,7 @@ def _maybe_convert_set(input_tsv, audio_dir, label_filter, space_after_every_cha
wav_filename = path.splitext(mp3_filename)[0] + ".wav"
_maybe_convert_wav(mp... | Ensure frames counter is initialized
Fixes #<I> | mozilla_DeepSpeech | train | py |
7a4b5cefaa442d62741753e9f4bc016fc51cca10 | diff --git a/src/App.js b/src/App.js
index <HASH>..<HASH> 100644
--- a/src/App.js
+++ b/src/App.js
@@ -42,6 +42,6 @@ const App = props =>
</Div>
</ThemeProvider>
-App.getInitialProps = () => initialState
+App.defaultProps = initialState
export default App
diff --git a/src/Layout.js b/src/Layout.js
index <H... | Pass in components directly to side nav | c8r_kit | train | js,js,js |
35737a71c9dd13ce98765ed56416f8da77fa382d | diff --git a/email/controllers/view_online.php b/email/controllers/view_online.php
index <HASH>..<HASH> 100644
--- a/email/controllers/view_online.php
+++ b/email/controllers/view_online.php
@@ -81,7 +81,7 @@ class NAILS_View_Online extends NAILS_Email_Controller
$_data['sent_to']->login_url = $_email->user->id ? si... | Loading config file from module, rather than common | nails_module-email | train | php,php |
3dc8bafab2370e60d15b720687b1c6e4b3c28202 | diff --git a/scripts/patchElementInspector.php b/scripts/patchElementInspector.php
index <HASH>..<HASH> 100755
--- a/scripts/patchElementInspector.php
+++ b/scripts/patchElementInspector.php
@@ -194,7 +194,6 @@ function getCategories($dl)
}
else
{
-echo $dl->ownerDocument->saveXML($dl),"\n";
die("Cannot pa... | Removed dev code [ci skip] | s9e_TextFormatter | train | php |
ac9f1fc7ef5b1e7736e765c113f5215618f11688 | diff --git a/Model/TypeInterface.php b/Model/TypeInterface.php
index <HASH>..<HASH> 100644
--- a/Model/TypeInterface.php
+++ b/Model/TypeInterface.php
@@ -13,7 +13,7 @@
namespace WellCommerce\Component\Search\Model;
use Doctrine\Common\Collections\Collection;
-use WellCommerce\Bundle\CoreBundle\Entity\EntityInterfa... | Finished DoctrineBundle | WellCommerce_WishlistBundle | train | php |
9f9653c2b005c1a4c00e4d97846eb8c977ceace5 | diff --git a/src/main/java/org/aludratest/service/gui/web/selenium/selenium2/Selenium2Wrapper.java b/src/main/java/org/aludratest/service/gui/web/selenium/selenium2/Selenium2Wrapper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/aludratest/service/gui/web/selenium/selenium2/Selenium2Wrapper.java
+++ b/src/mai... | Slight improvement for invalid calls after close() | AludraTest_aludratest | train | java |
50e345ef4de4eeb4a7c9b1f9edf2c550c7389a10 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -175,7 +175,7 @@ module Discordrb
# Add private channels
@private_channels = {}
data['private_channels'].each do |element|
- channel = Channel... | Properly pass the current bot as an argument to Channel.new | meew0_discordrb | train | rb |
0592a4abc073881bb4e90860e5ae240dc5f6d072 | diff --git a/stdeb/util.py b/stdeb/util.py
index <HASH>..<HASH> 100644
--- a/stdeb/util.py
+++ b/stdeb/util.py
@@ -555,8 +555,6 @@ class DebianInfo:
need_custom_binary_target = False
self.do_pycentral_removal_preinst = pycentral_backwards_compatibility
- if pycentral_backwards_compatibility:
... | Don't include python-central in build package's Depends list.
No need to depend on python-central, previous package depended on it, so
`which pycentral` check should be enough. | astraw_stdeb | train | py |
441e8d583d0a51b9c2533029464be5e647e2e9b8 | diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_pytables.py
+++ b/pandas/io/tests/test_pytables.py
@@ -180,7 +180,8 @@ class TesttHDFStore(unittest.TestCase):
index = MultiIndex(levels=[['foo', 'bar', 'baz', 'qux'],
... | TST: ensure that MultIIndex names are stored correctly | pandas-dev_pandas | train | py |
f8f29dc40ebca984e772ca250d83329aab4f0b83 | diff --git a/contrib/experimental/great_expectations_experimental/expectations/expect_column_values_to_be_valid_scientific_notation.py b/contrib/experimental/great_expectations_experimental/expectations/expect_column_values_to_be_valid_scientific_notation.py
index <HASH>..<HASH> 100644
--- a/contrib/experimental/great_... | lint fixes (#<I>) | great-expectations_great_expectations | train | py |
1a2098216e581884ec29f14ce3cee314d4002041 | diff --git a/session/bootstrap.go b/session/bootstrap.go
index <HASH>..<HASH> 100644
--- a/session/bootstrap.go
+++ b/session/bootstrap.go
@@ -1335,12 +1335,6 @@ func doDMLWorks(s Session) {
vVal = string(variable.DynamicOnly)
}
}
- if v.Name == variable.TiDBEnableAsyncCommit && config.GetGlobalConfig(... | session/bootstrap: Do not enable async commit and 1pc by default for new cluster (#<I>) | pingcap_tidb | train | go |
ca81d6ae426e8bfa0bfd5f77d05a126c15015ba5 | diff --git a/lib/scrape456/download.rb b/lib/scrape456/download.rb
index <HASH>..<HASH> 100644
--- a/lib/scrape456/download.rb
+++ b/lib/scrape456/download.rb
@@ -37,7 +37,7 @@ module Scrape456
end
def set_up_capybara
- options = {}
+ options = {phantomjs_options: ['--ssl-protocol=any']}
Ca... | Be flexible about SSL protocol to avoid unnecessary failures. | replaid_scrape456 | train | rb |
87df3211f9293f555831813e04c90ee5d47d32ed | diff --git a/src/GateRegistrar.php b/src/GateRegistrar.php
index <HASH>..<HASH> 100644
--- a/src/GateRegistrar.php
+++ b/src/GateRegistrar.php
@@ -40,7 +40,7 @@ class GateRegistrar
$this->getPermissions()->each(function ($permission) {
$ability = $permission->slug;
$policy = function... | Implement strict comparison on permission slug.
Fix issue with cache where old permission roles are still being used. | yajra_laravel-acl | train | php |
be2e8bedd2acb3a3f61d2687a21e228fb596d5b8 | diff --git a/src/organisms/cards/SelectCard/index.js b/src/organisms/cards/SelectCard/index.js
index <HASH>..<HASH> 100644
--- a/src/organisms/cards/SelectCard/index.js
+++ b/src/organisms/cards/SelectCard/index.js
@@ -16,8 +16,7 @@ function SelectCard( props ) {
footerText,
linkUrl,
onClick,
- onChan... | Fix input prop on select card for Redux Form | policygenius_athenaeum | train | js |
c383db4fe40cd324f34a8bcf1db65d29be4bb2f8 | diff --git a/tests/urls.py b/tests/urls.py
index <HASH>..<HASH> 100644
--- a/tests/urls.py
+++ b/tests/urls.py
@@ -1,9 +1,8 @@
-from django.conf.urls import patterns, include, url
+from django.conf.urls import include, url
from django.contrib import admin
admin.autodiscover()
-urlpatterns = patterns(
- '',
+ur... | Fix URL patterns to work for Django <I> (backwards compatible to <I>) | dominicrodger_django-tinycontent | train | py |
4390a4c617de106285b678601b5385dd312568c8 | diff --git a/config.py b/config.py
index <HASH>..<HASH> 100644
--- a/config.py
+++ b/config.py
@@ -60,6 +60,7 @@ EXTENSIONS = [
'invenio.ext.jasmine', # after assets
'flask_breadcrumbs:Breadcrumbs',
'invenio.modules.deposit.url_converters',
+ 'invenio.ext.iiif',
]
PACKAGES = [ | global: enable Flask-IIIF extension
* NEW Uses Flask-IIIF extension providing various image manipulation
capabilities.
* NEW Adds possibility to refer to documents and legacy BibDocFiles
via special path such as `/api/multimedia/image/recid:{recid}` or
`/api/multimedia/image/recid:{recid}-{filename}` or
`/api... | inveniosoftware_invenio-base | train | py |
3ee818bae5342504242ed89c294a16f9cdf8ecb1 | diff --git a/cumulusci/cli/ui.py b/cumulusci/cli/ui.py
index <HASH>..<HASH> 100644
--- a/cumulusci/cli/ui.py
+++ b/cumulusci/cli/ui.py
@@ -54,6 +54,9 @@ class CliTable:
stringified_row.append(cell)
return stringified_row
+ def __rich__(self) -> str:
+ return self._table
+
def echo... | Merge in a change made by Brandon
This fixes a problem that I was seeing where escape characters were
appearing in the output. | SFDO-Tooling_CumulusCI | train | py |
ec71a741601139dcdb6d94f0e3d861d4f7f35827 | diff --git a/jsonschema/tests/test_exceptions.py b/jsonschema/tests/test_exceptions.py
index <HASH>..<HASH> 100644
--- a/jsonschema/tests/test_exceptions.py
+++ b/jsonschema/tests/test_exceptions.py
@@ -251,6 +251,21 @@ class TestErrorTree(unittest.TestCase):
tree = exceptions.ErrorTree([e1, e2])
self... | Added test for ErrorTree with nested errors and instance. | Julian_jsonschema | train | py |
e50939d63f03620bf97610422485184641db6af7 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,8 +50,8 @@ source_suffix = ".rst"
master_doc = "index"
# General information about the project.
-project = u"Flask Dance"
-copyright = u"2014-2021, David Baumgold"
+project = "Flask Dance"
+copyright = ... | blacken conf.py (#<I>) | singingwolfboy_flask-dance | train | py |
48e41440afa6a741a3e345f2cfbabca08f6fb1ac | diff --git a/dialect_postgres.go b/dialect_postgres.go
index <HASH>..<HASH> 100644
--- a/dialect_postgres.go
+++ b/dialect_postgres.go
@@ -1,6 +1,7 @@
package gorm
import (
+ "encoding/json"
"fmt"
"reflect"
"strings"
@@ -68,9 +69,14 @@ func (s *postgres) DataTypeOf(field *StructField) string {
default:
... | Allow for proper table creation with Jsonb fields (#<I>)
* DataTypeOf should now correctly identify dataValues that are 'json.RawMessage' types as 'jsonb' columns
* move the json check to its own function
* ran gofmt and did some minor tweaks to satisfy CodeClimate | jinzhu_gorm | train | go |
e227153ec7fb569de1449a7fd95a21ecb2e1213a | diff --git a/spec/models/renalware/modalities/modality_spec.rb b/spec/models/renalware/modalities/modality_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/renalware/modalities/modality_spec.rb
+++ b/spec/models/renalware/modalities/modality_spec.rb
@@ -27,7 +27,8 @@ module Renalware
context "given star... | Fix violation (hopefuly) | airslie_renalware-core | train | rb |
1c6624957f8e3bcbd9169b40435110e4f7fbd43a | diff --git a/core/api/src/main/java/org/openengsb/core/api/model/ContextId.java b/core/api/src/main/java/org/openengsb/core/api/model/ContextId.java
index <HASH>..<HASH> 100644
--- a/core/api/src/main/java/org/openengsb/core/api/model/ContextId.java
+++ b/core/api/src/main/java/org/openengsb/core/api/model/ContextId.ja... | [OPENENGSB-<I>] Changed ContextId String representation | openengsb_openengsb | train | java |
74aa73e841f57694907fa81b0f5094a4f5e738a9 | diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Util/RemoteFilesystem.php
+++ b/src/Composer/Util/RemoteFilesystem.php
@@ -561,11 +561,7 @@ class RemoteFilesystem
// Setup remaining TLS options - the matching may need... | The origin may not be the remote host | composer_composer | train | php |
760a353213c17cbe36d27636516bfe24ecededd3 | diff --git a/app/controllers/shipit/stacks_controller.rb b/app/controllers/shipit/stacks_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/shipit/stacks_controller.rb
+++ b/app/controllers/shipit/stacks_controller.rb
@@ -92,11 +92,13 @@ module Shipit
options = {flash: {warning: @stack.errors.full... | Only unlock a stack when the unlock button is used
Without this change, any modification to the configuration of a locked stack will implicitly unlock it. | Shopify_shipit-engine | train | rb |
e9558070a9a6ba8aaee401f956ecc44aa069dc74 | diff --git a/lib/percheron/actions/build.rb b/lib/percheron/actions/build.rb
index <HASH>..<HASH> 100644
--- a/lib/percheron/actions/build.rb
+++ b/lib/percheron/actions/build.rb
@@ -68,13 +68,19 @@ module Percheron
execute_pre_build_scripts!
$logger.info "Building '#{unit.image_name}' image"
... | Refactored Build logging context extraction | ashmckenzie_percheron | train | rb |
f0eebde1c454bfee785e9c751eed7268d8b90c20 | diff --git a/views/dataform/field.blade.php b/views/dataform/field.blade.php
index <HASH>..<HASH> 100644
--- a/views/dataform/field.blade.php
+++ b/views/dataform/field.blade.php
@@ -13,7 +13,7 @@
<div class="form-group clearfix{!!$field->has_error!!}" id="fg_{!! $field->name !!}" >
@if ($field->has_lab... | Added star in required not-inline fields too | zofe_rapyd-laravel | train | php |
c0146fb29cb2d73f36bc732731b6573bfa0ec5f4 | diff --git a/lib/mauth/client.rb b/lib/mauth/client.rb
index <HASH>..<HASH> 100644
--- a/lib/mauth/client.rb
+++ b/lib/mauth/client.rb
@@ -304,6 +304,11 @@ module MAuth
if (200..299).include?(response.status)
nil
elsif response.status==412 || response.status==404
+ # the mAuth serv... | add comment describing what mauth-client is doing with the <I> and <I> responses from the mauth service for remote authentication | mdsol_mauth-client-ruby | train | rb |
09bae2b48bb66f87b3675a547dda2199d6fd4c98 | diff --git a/django_productline/settings.py b/django_productline/settings.py
index <HASH>..<HASH> 100644
--- a/django_productline/settings.py
+++ b/django_productline/settings.py
@@ -88,7 +88,6 @@ INSTALLED_APPS = [
'django.contrib.messages',
'overextends',
'south',
- 'compressor',
'django_produc... | removed compressor from installed apps @dpl | henzk_django-productline | train | py |
c919b26d7eda222fc1ac5c0012e6b04b3ca6c04f | diff --git a/course/completion.php b/course/completion.php
index <HASH>..<HASH> 100644
--- a/course/completion.php
+++ b/course/completion.php
@@ -132,6 +132,10 @@ if ($form->is_cancelled()){
$aggregation->insert();
// Role aggregation
+ if (empty($data->role_aggregation)) {
+ $data->role_aggregat... | course completion: MDL-<I> Prevent error when no roles are available | moodle_moodle | train | php |
8751ea2100d41f088392f7e9e8a635a2979c2fe2 | diff --git a/tests/support.py b/tests/support.py
index <HASH>..<HASH> 100644
--- a/tests/support.py
+++ b/tests/support.py
@@ -1,5 +1,7 @@
import warnings
def examine_warnings(func):
- with warnings.catch_warnings(record=True) as ws:
- func(ws)
+ def wrapper():
+ with warnings.catch_warnings(rec... | made the tests slightly less evil
(I couldn't sleep because of that :D ) | testing-cabal_mock | train | py,py |
7c1520774d7786811077c0e0a9b7d84bbb5fde3f | diff --git a/ethereum/processblock.py b/ethereum/processblock.py
index <HASH>..<HASH> 100644
--- a/ethereum/processblock.py
+++ b/ethereum/processblock.py
@@ -156,7 +156,7 @@ def apply_transaction(block, tx):
else:
log_tx.debug('TX SUCCESS', data=data)
gas_used = tx.startgas - gas_remained
- ... | don't double-count non-unique suicides | ethereum_pyethereum | train | py |
b238b12c08adb390dd1349910f3455b67a666987 | diff --git a/test/tools/javac/ConstFoldTest.java b/test/tools/javac/ConstFoldTest.java
index <HASH>..<HASH> 100644
--- a/test/tools/javac/ConstFoldTest.java
+++ b/test/tools/javac/ConstFoldTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 20... | <I>: ConstFoldTest fails on Windows
Reviewed-by: ksrini | google_error-prone-javac | train | java |
d400318f7bd3082f3e1b783c823da2b75e7f8cdb | diff --git a/plugins/UserCountry/API.php b/plugins/UserCountry/API.php
index <HASH>..<HASH> 100644
--- a/plugins/UserCountry/API.php
+++ b/plugins/UserCountry/API.php
@@ -160,6 +160,25 @@ class API extends \Piwik\Plugin\API
$separator = Archiver::LOCATION_SEPARATOR;
$unk = Visit::UNKNOWN_CODE;
+ ... | Fix Tibetan cities display on China's city map (#<I>)
* Fix Tibetan cities missing from the Chinese city map
* Apply the filter without checking every city | matomo-org_matomo | train | php |
b3a40b5f7c7edeac640d37a9fed977a3cae5b6b9 | diff --git a/src/IMAP/Message.php b/src/IMAP/Message.php
index <HASH>..<HASH> 100644
--- a/src/IMAP/Message.php
+++ b/src/IMAP/Message.php
@@ -313,7 +313,11 @@ class Message {
* @param mixed $partNumber
*/
private function fetchStructure($structure, $partNumber = null) {
- if ($structure->type =... | emails parsed without a content type of multipart present no body | Webklex_laravel-imap | train | php |
6472f6357f1f943dfcf801e4d079f601f5e87d6c | diff --git a/backup/restore.php b/backup/restore.php
index <HASH>..<HASH> 100644
--- a/backup/restore.php
+++ b/backup/restore.php
@@ -129,7 +129,15 @@
}
} else if ($launch == "check") {
include_once("restore_check.html");
+ //To avoid multiple restore executions...
+ $SESSION->canc... | Prevent multiple execution of restore. Bug <I>
(<URL>)
Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
67a893acdebdbf1457def9a22265eb33be5ef134 | diff --git a/lib/transports/elasticsearch.js b/lib/transports/elasticsearch.js
index <HASH>..<HASH> 100755
--- a/lib/transports/elasticsearch.js
+++ b/lib/transports/elasticsearch.js
@@ -420,6 +420,7 @@ elasticsearch.prototype.setData = function (data, limit, offset, callback) {
} else {
r.items.for... | log write errors to stderr | taskrabbit_elasticsearch-dump | train | js |
9592b6b9f0c67d2f18d7ee28dbc70ed8edd2f6cc | diff --git a/test/integration/test-debug.js b/test/integration/test-debug.js
index <HASH>..<HASH> 100644
--- a/test/integration/test-debug.js
+++ b/test/integration/test-debug.js
@@ -159,7 +159,7 @@ describe("debug", () => {
process.stderr.write = initialStdErr;
const serve... | debug log test limit corrected for mysql <I> that doesn't support connection attributes | MariaDB_mariadb-connector-nodejs | train | js |
8f78001b024c53da6385f43d56244c6d61599a20 | diff --git a/lib/ajax.js b/lib/ajax.js
index <HASH>..<HASH> 100644
--- a/lib/ajax.js
+++ b/lib/ajax.js
@@ -15,13 +15,13 @@ function checkStatus(response) {
function parseResponse(response) {
return response.json()
.then(json => {
- return { json, response, isJSON: true };
+ return { json, originalRes... | response -> originalResponse. More explicit as to what this is. | Shopify_js-buy-sdk | train | js,js |
c82be9b69997e931815be3f16ecc7916ace46bbe | diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -132,15 +132,13 @@ class Puppet::Parser::Scope
raise Puppet::DevError, "you must pass a compiler instance to a new scope object"
end
- if... | Simplify the code handling the namespace option to the scope.
No functional changes - just a few less method calls required to achieve the
same result, so it becomes easier to see what the meaning is. | puppetlabs_puppet | train | rb |
47d8b688fd75f6b5d047941a884fbc9a41be300b | diff --git a/redis/connection.py b/redis/connection.py
index <HASH>..<HASH> 100644
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -57,8 +57,8 @@ class BaseConnection(object):
except socket.error, e:
if e.args[0] == errno.EPIPE:
self.disconnect()
- if isinstance(... | Fix for #<I>, handling socket errors better | andymccurdy_redis-py | train | py |
cf9a51847405a117a66392c8543e38921cf372b0 | diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/dashboard_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/dashboard_controller.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/dashboard_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-I... | SONAR-<I> Adding new widgets to a dashboard re-organizes the first column | SonarSource_sonarqube | train | rb |
e83f460caa63cafba1678efe939fbb9850b39bda | diff --git a/wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java b/wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java
index <HASH>..<HASH> 100644
--- a/wire-java-generator/src/main/java/com/squareup/wire/java/JavaGenerator.java
+++ b/wire-java-generator/src/main/java/com... | .proto enum variable named the same as enumerator causes compilation error #<I> | square_wire | train | java |
807bdbb4145ae23f8e532e7861b1c15f76cc14d7 | diff --git a/src/org/mozilla/javascript/PolicySecurityController.java b/src/org/mozilla/javascript/PolicySecurityController.java
index <HASH>..<HASH> 100644
--- a/src/org/mozilla/javascript/PolicySecurityController.java
+++ b/src/org/mozilla/javascript/PolicySecurityController.java
@@ -166,6 +166,7 @@ public class Poli... | Fix for Bug <I> � PolicySecurityController bug: it creates lots of SecureCallerImpl instances! | mozilla_rhino | train | java |
927b2d26793d52a07a37f81e0fe859c450d514eb | diff --git a/scss/rule.py b/scss/rule.py
index <HASH>..<HASH> 100644
--- a/scss/rule.py
+++ b/scss/rule.py
@@ -7,9 +7,12 @@ import six
from scss.types import Value, Undefined
-
log = logging.getLogger(__name__)
+SORTED_SELECTORS = True
+
+sort = sorted if SORTED_SELECTORS else lambda it: it
+
def normalize_v... | Sorted selectors is configurable (sort of) | Kronuz_pyScss | train | py |
8b6885238610aa2835d9e089dfbb8a8cb847c17c | diff --git a/pbs.py b/pbs.py
index <HASH>..<HASH> 100644
--- a/pbs.py
+++ b/pbs.py
@@ -39,7 +39,7 @@ import shlex
VERSION = "0.4"
-IS_PY3 = sys.version_info.major == 3
+IS_PY3 = sys.version_info[0] == 3
if IS_PY3: raw_input = input | bugfix for python <<I> where sys.version_info is not a tuple. closes #<I> | amoffat_sh | train | py |
5bf6a0e59d002d448cb63ff49cb13702e6d8d8f7 | diff --git a/chromedp.go b/chromedp.go
index <HASH>..<HASH> 100644
--- a/chromedp.go
+++ b/chromedp.go
@@ -360,6 +360,20 @@ func WithTargets(watch <-chan client.Target) Option {
}
}
+// WithClient is a CDP option to use the incoming targets from a client.
+func WithClient(ctxt context.Context, cl *client.Client) O... | Additional With* options for calls to chromedp.New() | chromedp_chromedp | train | go |
1759d867db7b77aa6cc35bac2497c34f0f89b116 | diff --git a/salt/modules/smartos_vmadm.py b/salt/modules/smartos_vmadm.py
index <HASH>..<HASH> 100644
--- a/salt/modules/smartos_vmadm.py
+++ b/salt/modules/smartos_vmadm.py
@@ -289,7 +289,7 @@ def reboot(vm, force=False, key='uuid'):
return True
-def list_vms(search=None, sort=None, order='uuid,type,ram,stat... | vmadm.list should have keyed=True as default! | saltstack_salt | train | py |
4b61e1957d92cd0bcce1034b695e358a1e7554f9 | diff --git a/scapy/contrib/dtp.py b/scapy/contrib/dtp.py
index <HASH>..<HASH> 100644
--- a/scapy/contrib/dtp.py
+++ b/scapy/contrib/dtp.py
@@ -18,7 +18,8 @@
from scapy.packet import *
from scapy.fields import *
-from scapy.layers.l2 import SNAP
+from scapy.layers.l2 import SNAP,Dot3,LLC
+from scapy.sendrecv import ... | Added missing contrib/dtp.py imports (ticket #<I>) | secdev_scapy | train | py |
b48f6abcd6a5f0ad837dde0cdc1c46496dbe741e | diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb
index <HASH>..<HASH> 100644
--- a/test/minitest_helper.rb
+++ b/test/minitest_helper.rb
@@ -60,6 +60,15 @@ def disable_glue_layers(services=[], models=[])
end
+class ResourceTypeBackup
+ @@types_backup = ResourceType::TYPES.clone
+
+ def self.restore... | backing up resource types similarly to our spec tests | Katello_katello | train | rb |
3df18e10f763a75939b72c7fa07b8fcea0981987 | diff --git a/js/plugins/grid.js b/js/plugins/grid.js
index <HASH>..<HASH> 100644
--- a/js/plugins/grid.js
+++ b/js/plugins/grid.js
@@ -174,7 +174,7 @@ Flotr.addPlugin('graphGrid', {
ctx.beginPath();
ctx.moveTo(orig, orig);
plotWidth = plotWidth - (lw / 2) % 1;
- plotHeight = plotHeight - (lw /... | Fix grid to not overlap bottom of graph (fixes hiding of line along y-min). | HumbleSoftware_Flotr2 | train | js |
b3a11157968acaa43e19568bf29361ffc23efc4f | diff --git a/cluster/juju/layers/kubernetes-master/reactive/kubernetes_master.py b/cluster/juju/layers/kubernetes-master/reactive/kubernetes_master.py
index <HASH>..<HASH> 100644
--- a/cluster/juju/layers/kubernetes-master/reactive/kubernetes_master.py
+++ b/cluster/juju/layers/kubernetes-master/reactive/kubernetes_mas... | Add a failsafe for etcd not returning a connection string | kubernetes_kubernetes | train | py |
5fe217eaa02898b8da33f240e9ece821f6aafb5a | diff --git a/front-end-node/Overrides.js b/front-end-node/Overrides.js
index <HASH>..<HASH> 100644
--- a/front-end-node/Overrides.js
+++ b/front-end-node/Overrides.js
@@ -209,3 +209,26 @@ WebInspector.UIString = function(string, vararg) {
string = stringOverrides[string] || string;
return oldUIString(string, Arra... | front-end: hide DOM, XHR and Event Listener breakpoints
Closes #<I> | node-inspector_node-inspector | train | js |
20696d6f236afc1bc0e2b3db570363540e70ca84 | diff --git a/test/test_serve.py b/test/test_serve.py
index <HASH>..<HASH> 100644
--- a/test/test_serve.py
+++ b/test/test_serve.py
@@ -14,7 +14,7 @@ def simple_server():
def hello(env, req):
return 'Hello, World!'
- app.run()
+ app.run(host='127.0.0.1')
class TestServe(unittest.TestCase):
@@ ... | Use ip instead of localhost for travis | witchard_grole | train | py |
4a03fce48e69b9c4101a27acd01fd1867f89730a | diff --git a/cassandra/pool.py b/cassandra/pool.py
index <HASH>..<HASH> 100644
--- a/cassandra/pool.py
+++ b/cassandra/pool.py
@@ -173,7 +173,7 @@ class _ReconnectionHandler(object):
# TODO cancel previous reconnection handlers? That's probably the job
# of whatever created this.
- first_dela... | Python 3 compatibility, use next method to get next item from generator | datastax_python-driver | train | py |
12c6594c9b06dad4d320f14ffb39cd2cecbb6d47 | diff --git a/rpc/core/net.go b/rpc/core/net.go
index <HASH>..<HASH> 100644
--- a/rpc/core/net.go
+++ b/rpc/core/net.go
@@ -1,8 +1,6 @@
package core
import (
- "fmt"
-
ctypes "github.com/tendermint/tendermint/rpc/core/types"
)
@@ -31,12 +29,8 @@ func NetInfo() (*ctypes.ResultNetInfo, error) {
//-------------... | rpc: remove restriction on DialSeeds | tendermint_tendermint | train | go |
18781cd3e370f1abbfb0f6d2ae481e272d0c03d4 | diff --git a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinDriverIntegrateTest.java b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinDriverIntegrateTest.java
index <HASH>..<HASH> 100644
--- a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinDrive... | TINKERPOP-<I> Fixed broken test that needed to use TestClientFactory | apache_tinkerpop | train | java |
533527eb5f22ac09bb0f53d87745e2177d55b426 | diff --git a/java/com/couchbase/cblite/DocumentTest.java b/java/com/couchbase/cblite/DocumentTest.java
index <HASH>..<HASH> 100644
--- a/java/com/couchbase/cblite/DocumentTest.java
+++ b/java/com/couchbase/cblite/DocumentTest.java
@@ -20,4 +20,19 @@ public class DocumentTest extends CBLiteTestCase {
}
+ pub... | Unit test to detect document.delete() is failing | couchbase_couchbase-lite-android | train | java |
ca04ba946d9aa63f23fa9ceb5523743ea480d4f9 | diff --git a/src/i18n.js b/src/i18n.js
index <HASH>..<HASH> 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -1,7 +1,5 @@
/**
- * Class: I18n
- *
- * TODO add documentation
+ * @todo add documentation
**/
"use strict"; | Convert i<I>n to use JSDoc comments | remotestorage_remotestorage.js | train | js |
f6a660c68407ce620e8a8c544f39b03dce6025fb | diff --git a/client/lanes/models/collection.js b/client/lanes/models/collection.js
index <HASH>..<HASH> 100644
--- a/client/lanes/models/collection.js
+++ b/client/lanes/models/collection.js
@@ -24,14 +24,18 @@ function extendAry(modelClass, models = [], options = {}) {
set(val) { return this.$map.set(prop... | syncUrl and data on collection | argosity_hippo | train | js |
03b04f2b247d3bee8f2a0790b4cf5fb66e11b867 | diff --git a/app/assets/javascripts/hooch.js b/app/assets/javascripts/hooch.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/hooch.js
+++ b/app/assets/javascripts/hooch.js
@@ -268,10 +268,12 @@ var initHooch = function(){
this.$modal_wrapper.trigger('modalClosed')
},
disableScroll: fun... | don't restrict scrolling for hooch modal on mobile | edraut_hooch | train | js,rb |
af97beeb608d60d6fc846f331a6a755ca2574e9b | diff --git a/lib/github_changelog_generator/version.rb b/lib/github_changelog_generator/version.rb
index <HASH>..<HASH> 100644
--- a/lib/github_changelog_generator/version.rb
+++ b/lib/github_changelog_generator/version.rb
@@ -1,3 +1,3 @@
module GitHubChangelogGenerator
- VERSION = "1.9.0"
+ VERSION = "1.10.0"
end | Update gemspec to version <I> | github-changelog-generator_github-changelog-generator | train | rb |
908272c4b734d773158aada1f7dc845b60f8e231 | diff --git a/osrframework/__init__.py b/osrframework/__init__.py
index <HASH>..<HASH> 100644
--- a/osrframework/__init__.py
+++ b/osrframework/__init__.py
@@ -23,4 +23,4 @@ import osrframework.utils.logger
# Calling the logger when being imported
osrframework.utils.logger.setupLogger(loggerName="osrframework")
-__v... | Prepared to be uploaded the fix to issue #<I>. | i3visio_osrframework | train | py |
e833893b1cec68f7d0207b4efc37a99c170cd1d5 | diff --git a/bugtool/cmd/root.go b/bugtool/cmd/root.go
index <HASH>..<HASH> 100644
--- a/bugtool/cmd/root.go
+++ b/bugtool/cmd/root.go
@@ -214,6 +214,10 @@ func copySystemInfo(cmdDir string) {
}
k8sCommands = append(k8sCommands, podPrefix(pod, cmd))
}
+
+ // Check for previous logs of the pod
+ cmd := fmt.... | bugtool: add logs from previous instance of pod | cilium_cilium | train | go |
840fef393328553c8b2c198443087dc83678f597 | diff --git a/satpy/tests/test_helper_functions.py b/satpy/tests/test_helper_functions.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/test_helper_functions.py
+++ b/satpy/tests/test_helper_functions.py
@@ -230,7 +230,6 @@ class TestHelpers(unittest.TestCase):
"""Get lonlats from geos."""
geos_area = ... | Add some randomness in helper_function tests | pytroll_satpy | train | py |
dde6995c85829b48a50cb5dcfe8ebffc5ad803a8 | diff --git a/test/test_crispy.rb b/test/test_crispy.rb
index <HASH>..<HASH> 100644
--- a/test/test_crispy.rb
+++ b/test/test_crispy.rb
@@ -92,6 +92,20 @@ class TestCrispy < MiniTest::Test
end
+ class TestCrispySpiedInstances < TestCrispy
+
+ def test_spied_instances_class_is_spied_instances
+ klass = Cl... | add test cases of predicate method to check if the given class's instances are spied | igrep_crispy | train | rb |
e6d087539b3beef0c1fb2dcda994e6ea8c31e943 | diff --git a/question/type/ddmarker/version.php b/question/type/ddmarker/version.php
index <HASH>..<HASH> 100644
--- a/question/type/ddmarker/version.php
+++ b/question/type/ddmarker/version.php
@@ -25,12 +25,12 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2014042800;
+$plugin->version = 2014060... | MDL-<I> ddmarker: Update version number for the <I> release. | moodle_moodle | train | php |
a0ad0473790ba9148f65b7ab41da99c715bda8f3 | diff --git a/src/saml2/metadata.py b/src/saml2/metadata.py
index <HASH>..<HASH> 100644
--- a/src/saml2/metadata.py
+++ b/src/saml2/metadata.py
@@ -27,7 +27,10 @@ from saml2 import samlp, BINDING_HTTP_REDIRECT, BINDING_SOAP
from saml2.time_util import str_to_time
from saml2.sigver import make_temp, cert_from_key_info,... | Make it work with version < <I> | IdentityPython_pysaml2 | train | py |
e7008c249e040ea9cdcc17d7fcebf36c03885177 | diff --git a/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java b/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
+++ b/liquibase-core/src/main/java/liquibase/integra... | removing the arg logging again - more trouble than it is worth | liquibase_liquibase | train | java |
7163f4986f5060d500566f19071d28433fafabb5 | diff --git a/server/volume.go b/server/volume.go
index <HASH>..<HASH> 100644
--- a/server/volume.go
+++ b/server/volume.go
@@ -223,6 +223,16 @@ func (s *Server) processVolumeDelete(uuid string) error {
return err
}
}
+ for _, snapshot := range volume.Snapshots {
+ if err := s.UUIDIndex.Delete(snapshot.UUID); ... | server: Remove leftover of snapshot index when removing the volume | rancher_convoy | train | go |
31c5e423876e5c4d8c30962adc54fed6c6b6c91b | diff --git a/lib/db_charmer/action_controller/force_slave_reads.rb b/lib/db_charmer/action_controller/force_slave_reads.rb
index <HASH>..<HASH> 100644
--- a/lib/db_charmer/action_controller/force_slave_reads.rb
+++ b/lib/db_charmer/action_controller/force_slave_reads.rb
@@ -4,7 +4,7 @@ module DbCharmer
module ... | Allow force_slave_reads to be called with default options
If you don't pass a Hash, then it should apply to all controller actions. | kovyrin_db-charmer | train | rb |
ddccbada075929f8c574380d4cad9a3635bf6aa7 | diff --git a/tests/test_basic.py b/tests/test_basic.py
index <HASH>..<HASH> 100644
--- a/tests/test_basic.py
+++ b/tests/test_basic.py
@@ -214,7 +214,7 @@ class TestBasic(unittest.TestCase):
with self.assertRaises(TypeError):
properties.String('bad unicode', unicode='no')
with self.assert... | Rename regexp to regex in tests | seequent_properties | train | py |
166ddaa8dbdd1cdab8074441f877fd06d4b7d700 | diff --git a/src/Smsir.php b/src/Smsir.php
index <HASH>..<HASH> 100644
--- a/src/Smsir.php
+++ b/src/Smsir.php
@@ -256,4 +256,21 @@ class Smsir
return json_decode($result->getBody()->getContents())->Messages;
}
+
+
+ /**
+ * @param $mobile = The mobile number of that user who you wanna to delete it
+ *
... | add delete contact method, now users can delete their contacts from their customer club | TrueMoein_smsir | train | php |
0e40f9a0385b431481148edcc0f2dd89631b90ee | diff --git a/test/label.js b/test/label.js
index <HASH>..<HASH> 100644
--- a/test/label.js
+++ b/test/label.js
@@ -98,4 +98,23 @@ describe('seraph#label', function() {
});
});
});
+
+ it('should read all labels for a node', function(done) {
+ var label = uniqn(), label1 = uniqn(), label2 = uniqn()... | labels: add test for reading labels of a node | brikteknologier_seraph | train | js |
583318169a916f86885c64e11b1f22b649abe92a | diff --git a/lib/modules/swarm/embarkjs.js b/lib/modules/swarm/embarkjs.js
index <HASH>..<HASH> 100644
--- a/lib/modules/swarm/embarkjs.js
+++ b/lib/modules/swarm/embarkjs.js
@@ -1,6 +1,9 @@
/*global web3 */
let __embarkSwarm = {_swarmConnection: undefined};
-const SwarmAPI = require('swarm-api');
+let SwarmAPI = req... | Fix loading swarm-api in node or browser | embark-framework_embark | train | js |
e09aa3936ce9322349073ee492b3d6d3d96eceb2 | diff --git a/app/models/alchemy/page.rb b/app/models/alchemy/page.rb
index <HASH>..<HASH> 100644
--- a/app/models/alchemy/page.rb
+++ b/app/models/alchemy/page.rb
@@ -563,13 +563,15 @@ module Alchemy
# So the whole path is stored as urlname in tha database.
def update_urlname!
names = ancestors.visible... | Do not create a legacy url on page creation. | AlchemyCMS_alchemy_cms | train | rb |
740a6152c661dd5cd7ef62c0dfb188bea39cdf17 | diff --git a/lib/peddler/errors/builder.rb b/lib/peddler/errors/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/peddler/errors/builder.rb
+++ b/lib/peddler/errors/builder.rb
@@ -12,7 +12,8 @@ module Peddler
end
def build(name)
- Errors.const_set name, Class.new(Error)
+ return Errors.cons... | Handle thread safety in error builder | hakanensari_peddler | train | rb,rb |
690addf0b4a6a5b743346b91ef8c7c944667a289 | diff --git a/salt/modules/pkgng.py b/salt/modules/pkgng.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pkgng.py
+++ b/salt/modules/pkgng.py
@@ -262,7 +262,11 @@ def latest_version(*names, **kwargs):
quiet = False
for name in names:
- cmd = [_pkg(jail, chroot), 'search', '-S', 'name', '-Q', 've... | FreeBSD supports packages in format java/openjdk7 so the prior commit broke that functionality. Check freebsd/pkg#<I> for more info. | saltstack_salt | train | py |
bb0b581270c220edb5ea79c2c4f1bbc43bc6f687 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -198,7 +198,7 @@ Lexer.prototype = {
this.incrementColumn(ex.index);
}
if (ex.code === 'CHARACTER_PARSER:END_OF_STRING_REACHED') {
- this.error(characterParserErrCode[ex.code], 'The end of the str... | Remove reference to a variable that does not exist
It was from an earlier version of #<I>. | pugjs_pug-lexer | train | js |
439c98503c83e5a471a43a73aa7bfe94e6cd688f | diff --git a/app/helpers/content_item_helper.rb b/app/helpers/content_item_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/content_item_helper.rb
+++ b/app/helpers/content_item_helper.rb
@@ -37,17 +37,13 @@ module ContentItemHelper
end
def sanitize_parameters(permitted_keys)
- strong_params_array = [... | Refactor Sanitize Params method | cortex-cms_cortex | train | rb |
bcfaabb55d60995c9ea2be3f06e26d6d4e98d4e3 | diff --git a/java/client/src/test/java/com/youtube/vitess/mysql/DateTimeTest.java b/java/client/src/test/java/com/youtube/vitess/mysql/DateTimeTest.java
index <HASH>..<HASH> 100644
--- a/java/client/src/test/java/com/youtube/vitess/mysql/DateTimeTest.java
+++ b/java/client/src/test/java/com/youtube/vitess/mysql/DateTim... | java/client: Use immutable instead of interface type.
This is recommended by the Guava docs:
"For field types and method return types, you should generally use the immutable type (such as ImmutableList) instead of the general collection interface type (such as List). This communicates to your callers all of the seman... | vitessio_vitess | train | java |
3bb266ee02f48ecb1dfe08e28ef737c049f8a815 | diff --git a/src/utils/crypto.js b/src/utils/crypto.js
index <HASH>..<HASH> 100644
--- a/src/utils/crypto.js
+++ b/src/utils/crypto.js
@@ -16,7 +16,7 @@
*/
import bs58check from 'bs58check'
-import shajs from 'sha.js'
+import Sha256 from 'sha.js/sha256'
import RLP from 'rlp'
import nacl from 'tweetnacl'
import ... | Import sha<I> directly from "sha.js" (#<I>) | aeternity_aepp-sdk-js | train | js |
f5175c38c9dc69c779f499bbbe8e5759baceb191 | diff --git a/manifest.go b/manifest.go
index <HASH>..<HASH> 100644
--- a/manifest.go
+++ b/manifest.go
@@ -6,6 +6,7 @@ import (
"fmt"
"io"
"os"
+ "strconv"
"strings"
"text/template"
@@ -72,8 +73,9 @@ type manifestRunner struct {
}
type manifestService struct {
- Args []string `json:"args"`
- En... | host: Support a "tcp_ports" key in manifest.json to forward explicit ports | flynn_flynn | train | go |
79b405118e5a5fe78ab223d6b45ffe4e3953c1b2 | diff --git a/core/lib/torquebox/version.rb b/core/lib/torquebox/version.rb
index <HASH>..<HASH> 100644
--- a/core/lib/torquebox/version.rb
+++ b/core/lib/torquebox/version.rb
@@ -14,7 +14,7 @@
module TorqueBox
VERSION = '4.0.0.alpha1.dev'
- WUNDERBOSS_VERSION = '1.x.incremental.78'
+ WUNDERBOSS_VERSION = '1.x.i... | Update to newer wboss that fixes request/response in a cluster. | torquebox_torquebox | train | rb,rb |
0e4fa123155bb14748764d3e014f4f4c0610235e | diff --git a/tests/dummy/app/initializers/setup-pikaday-i18n.js b/tests/dummy/app/initializers/setup-pikaday-i18n.js
index <HASH>..<HASH> 100644
--- a/tests/dummy/app/initializers/setup-pikaday-i18n.js
+++ b/tests/dummy/app/initializers/setup-pikaday-i18n.js
@@ -7,9 +7,9 @@ export default {
const i18n = EmberObjec... | Update i<I>n initializer in tests to use official moment methods | adopted-ember-addons_ember-pikaday | train | js |
35ba90c379eb23fef1bb1127a03db1bf4ef9ac75 | diff --git a/lib/scraped/request.rb b/lib/scraped/request.rb
index <HASH>..<HASH> 100644
--- a/lib/scraped/request.rb
+++ b/lib/scraped/request.rb
@@ -27,8 +27,13 @@ class Scraped
def first_successful_response
@first_successful_response ||=
- strategies.lazy.map { |r| r.new(url: url, config: c).res... | Use hashes rather than arrays to configure strategies
As with <I>b<I> it's a bit more obvious what's going on if we configure
strategies with hashes rather than an array. | everypolitician_scraped | train | rb |
692449436f486cd4d17b53b0eb41ab32acccd5b2 | diff --git a/periphery/pwm.py b/periphery/pwm.py
index <HASH>..<HASH> 100644
--- a/periphery/pwm.py
+++ b/periphery/pwm.py
@@ -87,7 +87,7 @@ class PWM(object):
break
except IOError as e:
if e.errno != errno.EACCES or (e.errno == errno.EACCES and i == PWM.PW... | pwm: fix typo in exception message in _open() | vsergeev_python-periphery | train | py |
cc1cc3081cf73073b99da31bd194ab91f03ea9db | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -32,30 +32,27 @@ var enableCaching = function(uri, source, locker) {
return key;
};
- var _getTile = source.getTile;
+ var _getTile = source.getTile.bind(source);
source.getTile = locker(function(z, x, y, lock... | Explicitly bind for clarity | mojodna_tilelive-cache | train | js |
bd28003198c69900e2e5041eefe3fd8456280222 | diff --git a/src/TwoStream.php b/src/TwoStream.php
index <HASH>..<HASH> 100644
--- a/src/TwoStream.php
+++ b/src/TwoStream.php
@@ -60,7 +60,7 @@ class TwoStream implements ProviderContract
* @const string
*/
const PACKAGE = 'CupOfTea/TwoStream';
- const VERSION = '0.2.7-beta';
+ const VERSION = '... | Release: <I>-beta | CupOfTea696_TwoStream | train | php |
74c69c7f8237afe1e79a0e8d23179d5039a68607 | diff --git a/lib/timing/helpers.rb b/lib/timing/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/timing/helpers.rb
+++ b/lib/timing/helpers.rb
@@ -51,11 +51,13 @@ module Timing
end
def months_ago(time, count)
- TimeInZone.new (time.to_datetime << count).to_time, time.utc_offset
+ diff = (time.to_d... | Refactor for compatibility with active support | gabynaiman_timing | train | rb |
79f50bd0c320b9754a3e85eed923046de6dd9539 | diff --git a/lib/core/src/server/common/custom-presets.js b/lib/core/src/server/common/custom-presets.js
index <HASH>..<HASH> 100644
--- a/lib/core/src/server/common/custom-presets.js
+++ b/lib/core/src/server/common/custom-presets.js
@@ -1,12 +1,20 @@
import path from 'path';
+import dedent from 'ts-dedent';
import ... | ADD fail condition when users migrate partially to triconfig also for presets.js | storybooks_storybook | train | js |
05bd9958f26269d5f2996d3dd89bb1ab296c14ee | diff --git a/integration/system/uuid_test.go b/integration/system/uuid_test.go
index <HASH>..<HASH> 100644
--- a/integration/system/uuid_test.go
+++ b/integration/system/uuid_test.go
@@ -4,11 +4,14 @@ import (
"context"
"testing"
+ "github.com/docker/docker/api/types/versions"
"github.com/google/uuid"
"gotest... | Skip TestUUIDGeneration on API < <I>
Older versions did not use an UUID as ID | moby_moby | train | go |
b621ded8130a98c6089a6be9bdeec5865b51fe38 | diff --git a/activesupport/lib/active_support/file_update_checker.rb b/activesupport/lib/active_support/file_update_checker.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/file_update_checker.rb
+++ b/activesupport/lib/active_support/file_update_checker.rb
@@ -54,6 +54,9 @@ module ActiveSupport
... | Initialize variables in file update checker to avoid warnings | rails_rails | train | rb |
4a32445dc9db3e4bb368cf91911fb53adb3518e8 | diff --git a/lib/classes/oauth2/issuer.php b/lib/classes/oauth2/issuer.php
index <HASH>..<HASH> 100644
--- a/lib/classes/oauth2/issuer.php
+++ b/lib/classes/oauth2/issuer.php
@@ -53,11 +53,11 @@ class issuer extends persistent {
'default' => null
),
'clientid' => array(
- ... | MDL-<I> oauth2: use PARAM_RAW_TRIMMED
Client ID and secret and copy/pasted from elsewhere so trim them. | moodle_moodle | train | php |
84e01a858b01f0f0741c9479d768bc005bed292e | diff --git a/examples/angular-demo/app/js/directives/databaseConfigDirective.js b/examples/angular-demo/app/js/directives/databaseConfigDirective.js
index <HASH>..<HASH> 100644
--- a/examples/angular-demo/app/js/directives/databaseConfigDirective.js
+++ b/examples/angular-demo/app/js/directives/databaseConfigDirective.... | NEON-<I> Added Twitter traffic dataset to dropdown menu and renamed Sample to Earthquake | NextCenturyCorporation_neon | train | js |
4512fb6ce9399f7a5c5125464547561874e57516 | diff --git a/internal/service/organizations/account_test.go b/internal/service/organizations/account_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/organizations/account_test.go
+++ b/internal/service/organizations/account_test.go
@@ -83,6 +83,7 @@ func testAccAccount_CloseOnDeletion(t *testing.T) {
t... | Test 'govcloud_id' in 'testAccAccount_CloseOnDeletion'. | terraform-providers_terraform-provider-aws | train | go |
28a410f757c22f32da48c9432a509ad43c51a46d | diff --git a/test/transform.test.js b/test/transform.test.js
index <HASH>..<HASH> 100644
--- a/test/transform.test.js
+++ b/test/transform.test.js
@@ -40,6 +40,6 @@ describe('transform', function () {
});
it('babel should work well', function () {
- transform.transformEcmaScript('var [a, b] = [1, 2];').shoul... | fix test case for new babel transform | JacksonTian_loader-builder | train | js |
4ced09fa49a19c8a870f9c04f818ee1c9ab924c0 | diff --git a/lib/mshoplib/src/MShop/Customer/Item/Default.php b/lib/mshoplib/src/MShop/Customer/Item/Default.php
index <HASH>..<HASH> 100755
--- a/lib/mshoplib/src/MShop/Customer/Item/Default.php
+++ b/lib/mshoplib/src/MShop/Customer/Item/Default.php
@@ -106,10 +106,6 @@ class MShop_Customer_Item_Default
$address->... | Reverts setting customer billing address ID as it fails when building items | Arcavias_arcavias-core | train | php |
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.