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 |
|---|---|---|---|---|---|
9bb16bb383ae0d19acadbefc0d0c2fa22d1b063a | diff --git a/pkg/minikube/image/cache.go b/pkg/minikube/image/cache.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/image/cache.go
+++ b/pkg/minikube/image/cache.go
@@ -34,6 +34,17 @@ import (
"k8s.io/minikube/pkg/util/lock"
)
+type cacheError struct {
+ Err error
+}
+
+func (f *cacheError) Error() string {
+ re... | introduced specific error type for case when image does not exist | kubernetes_minikube | train | go |
d15b3fdbe4b6c39aa2dd3a8d9533a1c4eedaf600 | diff --git a/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb b/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
index <HASH>..<HASH> 100644
--- a/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
+++ b/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
@@ -34,8 +34,8 @@... | Set the original name for the uploaded ipa (#<I>) | fastlane_fastlane | train | rb |
713925bf3e5cf9ecde460ec036dd6605e59a61e3 | diff --git a/pkg/volume/plugins.go b/pkg/volume/plugins.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/plugins.go
+++ b/pkg/volume/plugins.go
@@ -878,10 +878,10 @@ func (pm *VolumePluginMgr) FindExpandablePluginBySpec(spec *Spec) (ExpandableVol
if spec.IsKubeletExpandable() {
// for kubelet expandable volumes, ... | decrease the level of the warning log in volume plugins | kubernetes_kubernetes | train | go |
a638ec8d7cd07ed12ee912ae0bb4193d7d3d4b95 | diff --git a/environs/maas/storage.go b/environs/maas/storage.go
index <HASH>..<HASH> 100644
--- a/environs/maas/storage.go
+++ b/environs/maas/storage.go
@@ -168,13 +168,17 @@ func (stor *maasStorage) URL(name string) (string, error) {
if err != nil {
return "", err
}
- path, err := fileObj.GetField("anon_resou... | Update for new GetSubObject semantics. | juju_juju | train | go |
4c3bf529c0830bf85ab5ea30098e044c66690e95 | diff --git a/examples/camel-activemq/src/main/java/org/wildfly/camel/examples/activemq/ActiveMQRouteBuilder.java b/examples/camel-activemq/src/main/java/org/wildfly/camel/examples/activemq/ActiveMQRouteBuilder.java
index <HASH>..<HASH> 100644
--- a/examples/camel-activemq/src/main/java/org/wildfly/camel/examples/active... | [resolves #<I>] Prevent errors being thrown on VM shutdown | wildfly-extras_wildfly-camel | train | java |
6356adeeaa13e8b024f74b9718cfcb49d372eb4c | diff --git a/tests.go b/tests.go
index <HASH>..<HASH> 100644
--- a/tests.go
+++ b/tests.go
@@ -42,7 +42,7 @@ type Test struct {
// Current status at last test
Status string `json:"Status"`
- // 7 Day Uptime
+ // 1 Day Uptime
Uptime float64 `json:"Uptime"`
// Any test locations seperated by a comma (using th... | Uptime received from /Tests/Detail is only 1 day | DreamItGetIT_statuscake | train | go |
8df79897b4647d524cabc08ea8dd84bc0182f041 | diff --git a/src/libraries/Common.php b/src/libraries/Common.php
index <HASH>..<HASH> 100644
--- a/src/libraries/Common.php
+++ b/src/libraries/Common.php
@@ -17,7 +17,7 @@ final class Common {
/**
* Block instantiation of this object.
*/
- private function __contruct() {}
+ private function __construct() ... | Fix typo on constructor in Common class | carlbennett_php-mvc | train | php |
8a691f51cb9a141bb953fdf9139c00ed360aef1f | diff --git a/tests/ProxyTest.php b/tests/ProxyTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyTest.php
+++ b/tests/ProxyTest.php
@@ -10,9 +10,6 @@ class ProxyTest extends \PHPUnit_Framework_TestCase
const TEST_UPSTREAM = "localhost:6379";
CONST TEST_LISTEN = "localhost:34343";
- const TEST_TOXIC = ... | - removing unmaintainable constants (additional tests will require additional constants, not sustainable) | ihsw_toxiproxy-php-client | train | php |
646351cadced73c949401f6d6ea537e14098f547 | diff --git a/rails/init.rb b/rails/init.rb
index <HASH>..<HASH> 100644
--- a/rails/init.rb
+++ b/rails/init.rb
@@ -1,5 +1,7 @@
# Register helpers for Rails < 3
require File.join(File.dirname(__FILE__), *%w[.. lib i18n_rails_helpers])
-require File.join(File.dirname(__FILE__), *%w[.. lib contextual_link_helpers])
Act... | Add support for Rails <3 for list_link_helpers.rb | huerlisi_i18n_rails_helpers | train | rb |
31cfed77f75cce57eecdbd4b52d9d57c6f30839e | diff --git a/src/helpers.js b/src/helpers.js
index <HASH>..<HASH> 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -89,7 +89,7 @@ export function runQuery (instance, query, needResponse) {
if (needResponse) {
response = parseResponse(instance.db.exec(query.toString()))
if (query._sequence && query._sequ... | fix(query): return type should always be Promise | citycide_trilogy | train | js |
893c98bd24bc84838f555ae3328529533f12f038 | diff --git a/abl/vpath/base/simpleuri.py b/abl/vpath/base/simpleuri.py
index <HASH>..<HASH> 100644
--- a/abl/vpath/base/simpleuri.py
+++ b/abl/vpath/base/simpleuri.py
@@ -91,7 +91,7 @@ class UriParse(object):
def _init_other_uri(self):
"init code for non http uri"
uri, querysep, rest = self.uri.p... | only parse query string if "=" is expected | AbletonAG_abl.vpath | train | py |
4ae17dc863172afebf26a21d29741bf1abf1cbc4 | diff --git a/ds4drv/backends/hidraw.py b/ds4drv/backends/hidraw.py
index <HASH>..<HASH> 100644
--- a/ds4drv/backends/hidraw.py
+++ b/ds4drv/backends/hidraw.py
@@ -46,8 +46,11 @@ class HidrawDS4Device(DS4Device):
self.fd.write(hid + data)
def close(self):
- self.fd.close()
- self.input_devi... | hidraw: Fix error on disconnect. | chrippa_ds4drv | train | py |
b42d30bd5734ac924e2024c2b5dc2215e5df3e32 | diff --git a/pdclient/dispenser_client_test.go b/pdclient/dispenser_client_test.go
index <HASH>..<HASH> 100644
--- a/pdclient/dispenser_client_test.go
+++ b/pdclient/dispenser_client_test.go
@@ -140,10 +140,15 @@ var _ = Describe("PDClient struct", func() {
})
})
- XDescribe("given a DeleteLease() method call", ... | [#<I>] even a stubbed out method needs a test | pivotal-pez_pezdispenser | train | go |
5179d3d264d61b1156ef76b6be6c659418123210 | diff --git a/src/scripts/exec_pulse_blaster_sequence.py b/src/scripts/exec_pulse_blaster_sequence.py
index <HASH>..<HASH> 100644
--- a/src/scripts/exec_pulse_blaster_sequence.py
+++ b/src/scripts/exec_pulse_blaster_sequence.py
@@ -119,6 +119,12 @@ class ExecutePulseBlasterSequence(Script, QThread):
# MUST BE IMP... | Started to comment exec_pulse_blaster_sequence | LISE-B26_pylabcontrol | train | py |
6be93b38bc9fea20161453c23d75bcbd8546f82c | diff --git a/pubsub.go b/pubsub.go
index <HASH>..<HASH> 100644
--- a/pubsub.go
+++ b/pubsub.go
@@ -169,6 +169,14 @@ func (ps *PubSub) removeTopic(topic string) {
}
func (ps *PubSub) remove(topic string, ch chan interface{}) {
+ if _, ok := ps.topics[topic]; !ok {
+ return
+ }
+
+ if _, ok := ps.topics[topic][ch]; ... | Do not panic on Unsub after Close | cskr_pubsub | train | go,go |
7d54c162e2bf8f65a82e69e1e1b3858b82e354d8 | diff --git a/classes/helper/redirect/MobileRedirect.php b/classes/helper/redirect/MobileRedirect.php
index <HASH>..<HASH> 100644
--- a/classes/helper/redirect/MobileRedirect.php
+++ b/classes/helper/redirect/MobileRedirect.php
@@ -208,6 +208,10 @@ class Shopgate_Helper_Redirect_MobileRedirect
*/
protected function... | refs LIBRARY-<I> Checking if the mobile header has been disabled (no shop number set or \!shop_is_active in the config) before generating the tags. | shopgate_cart-integration-sdk | train | php |
2b440c1cadbf66eb4a7a963163439f606ad1826c | diff --git a/lib/jets/commands/import/sequence.rb b/lib/jets/commands/import/sequence.rb
index <HASH>..<HASH> 100644
--- a/lib/jets/commands/import/sequence.rb
+++ b/lib/jets/commands/import/sequence.rb
@@ -39,7 +39,12 @@ class Jets::Commands::Import
puts "Creating rack folder"
template_path = File.expand... | add import support for bitbucket and gitlab also | tongueroo_jets | train | rb |
017715b4218639c8d383c6fed542bbb428f5f596 | diff --git a/test/delocalize_test.rb b/test/delocalize_test.rb
index <HASH>..<HASH> 100644
--- a/test/delocalize_test.rb
+++ b/test/delocalize_test.rb
@@ -63,7 +63,7 @@ class DelocalizeActiveRecordTest < ActiveSupport::TestCase
end
test "delocalizes with fallback locale" do
- I18n::Backend::Simple.include(I1... | Fix for include being private with older Ruby/Rails versions | clemens_delocalize | train | rb |
26d2d20f959b782008204b81c1dfda40a6314053 | diff --git a/lib/rbbt/entity.rb b/lib/rbbt/entity.rb
index <HASH>..<HASH> 100644
--- a/lib/rbbt/entity.rb
+++ b/lib/rbbt/entity.rb
@@ -164,7 +164,9 @@ module Entity
define_method single_name, &block
define_method name do |*args|
if Array === self
- self.collect{|e| e.sen... | If single property called as :single2array then annotate array as well | mikisvaz_rbbt-util | train | rb |
192c7c5ed9fddd895deb4d5dd5a52e4ba80cb09b | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -122,6 +122,14 @@ module.exports = function ( grunt ) {
},
css: {
files: concatCssFiles
+ },
+ demoCss: {
+ options: {
+ banner: '/** This file is generated automatically. Do not modify ... | build: Add a 'generated automatically' banner to demo.rtl.css
I have accidentally changed that file way more times that it is healthy.
Change-Id: I<I>d4c<I>a<I>e<I>d<I>b<I>f5afd<I>f0ce | wikimedia_oojs-ui | train | js |
d825f407c6e9f9981277653e5a8d737fe2278466 | diff --git a/src/AcMailer/Service/MailService.php b/src/AcMailer/Service/MailService.php
index <HASH>..<HASH> 100644
--- a/src/AcMailer/Service/MailService.php
+++ b/src/AcMailer/Service/MailService.php
@@ -125,6 +125,8 @@ class MailService implements MailServiceInterface, EventManagerAwareInterface, M
// Trigger s... | fixes #<I> When an exception other than RuntimeException is produced when sending the email, ERROR_SEND events are thiggered and that exception is rethrown | acelaya_ZF-AcMailer | train | php |
5d719ef8320ee5e92601d0a771afae8f26ceded1 | diff --git a/adl-parser/src/main/java/org/openehr/adl/util/AdlUtils.java b/adl-parser/src/main/java/org/openehr/adl/util/AdlUtils.java
index <HASH>..<HASH> 100644
--- a/adl-parser/src/main/java/org/openehr/adl/util/AdlUtils.java
+++ b/adl-parser/src/main/java/org/openehr/adl/util/AdlUtils.java
@@ -93,6 +93,12 @@ public... | Added ability to create differential clone | openEHR_adl2-core | train | java |
aed248610c844e9669fa8501af7495b0a8ab40a0 | diff --git a/pdfminer/ccitt.py b/pdfminer/ccitt.py
index <HASH>..<HASH> 100644
--- a/pdfminer/ccitt.py
+++ b/pdfminer/ccitt.py
@@ -723,12 +723,12 @@ def ccittfaxdecode(data, params):
# test
def main(argv):
- import pygame
if not argv[1:]:
return unittest.main()
class Parser(CCITTG4Parser):
... | Fixed: dependency on pygame in a unittest. | euske_pdfminer | train | py |
f17c2c91194f3b5b39c9e34cf88aa849b1a499f9 | diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/MessageDispatcher.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/MessageDispatcher.java
index <HASH>..<HASH> 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/dispatchers/... | Issue #<I> trying to avoid nullifying the session | RestComm_sip-servlets | train | java |
7cb000b645842ddbcde15b5833c9efc98b14472c | diff --git a/src/test/java/com/github/jmchilton/blend4j/galaxy/SearchTest.java b/src/test/java/com/github/jmchilton/blend4j/galaxy/SearchTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/jmchilton/blend4j/galaxy/SearchTest.java
+++ b/src/test/java/com/github/jmchilton/blend4j/galaxy/SearchTest.java
@... | Comment out poor test (too timing dependent). | galaxyproject_blend4j | train | java |
a3f2eaf2edc01cf2bf385af484eb96f083f058b6 | diff --git a/client/lanes/models/query/array-result.js b/client/lanes/models/query/array-result.js
index <HASH>..<HASH> 100644
--- a/client/lanes/models/query/array-result.js
+++ b/client/lanes/models/query/array-result.js
@@ -76,7 +76,7 @@ export default class ArrayResult extends Result {
if (... | save from model to array last after other's completed
To allow the asset save to also complete | argosity_hippo | train | js |
9fa77509328a2cbf6a1474ae86759c8a9c32fe35 | diff --git a/models/Queue.php b/models/Queue.php
index <HASH>..<HASH> 100644
--- a/models/Queue.php
+++ b/models/Queue.php
@@ -10,15 +10,7 @@ use nterms\mailqueue\Message;
/**
* This is the model class for table "{{%mail_queue}}".
*
- * @property string $from
- * @property string $to
- * @property string $cc
- * @... | Removed obsolete fields
Fields from, to, cc, bcc, html_body, text_body, reply_to and charset are not used anymore.
Subject field is kept for informational purpose. | nterms_yii2-mailqueue | train | php |
dec01b7c4bcf8b40c57f1c99aad8d50b68a51ad0 | diff --git a/CachedImage.js b/CachedImage.js
index <HASH>..<HASH> 100644
--- a/CachedImage.js
+++ b/CachedImage.js
@@ -38,12 +38,16 @@ const CachedImage = React.createClass({
getDefaultProps() {
return {
- renderImage: props => (<Image {...props}/>),
+ renderImage: props => (<Image... | Implemented setNativeProps() to support nesting <CachedImage/> component in TouchableOpacity | kfiroo_react-native-cached-image | train | js |
f4c82d62849f27e1ddc6792ef39fe4f4059bcadb | diff --git a/erizo_controller/erizoController/roomController.js b/erizo_controller/erizoController/roomController.js
index <HASH>..<HASH> 100644
--- a/erizo_controller/erizoController/roomController.js
+++ b/erizo_controller/erizoController/roomController.js
@@ -72,16 +72,19 @@ exports.RoomController = function (spec) ... | Resolved a bug when adding External Input | lynckia_licode | train | js |
8997c28f780b2adc9a2a82cca5d19cecf79ebb8e | diff --git a/lib/has_constant/orm/mongoid.rb b/lib/has_constant/orm/mongoid.rb
index <HASH>..<HASH> 100644
--- a/lib/has_constant/orm/mongoid.rb
+++ b/lib/has_constant/orm/mongoid.rb
@@ -32,7 +32,7 @@ module HasConstant
if val.instance_of?(String)
if index = self.class.send(name.to_s).index(... | fixed bug where errors where added when a blank value was supplied to setter | mattbeedle_has_constant | train | rb,rb |
94d1f151078da7d508aa3fcbf070fa363342e19f | diff --git a/lib/active_hash/base.rb b/lib/active_hash/base.rb
index <HASH>..<HASH> 100644
--- a/lib/active_hash/base.rb
+++ b/lib/active_hash/base.rb
@@ -183,6 +183,8 @@ module ActiveHash
nil
when :all
all
+ when :first
+ all(*args).first
when Array
... | support for find(:first, ...) | zilkey_active_hash | train | rb,rb |
28f046e9d66fc6be5980ba51ec0db0703f72a037 | diff --git a/lib/crags.rb b/lib/crags.rb
index <HASH>..<HASH> 100644
--- a/lib/crags.rb
+++ b/lib/crags.rb
@@ -1,6 +1,7 @@
require 'rubygems'
require 'curb'
require 'hpricot'
+require "erb"
module Crags
VERSION = '1.2.6'
diff --git a/lib/crags/searcher.rb b/lib/crags/searcher.rb
index <HASH>..<HASH> 100644
---... | added url_encoding to keyword in search urls | gotascii_crags | train | rb,rb |
07f7b5b8811b9fb0e284a93fb1fcacb76bda9e69 | diff --git a/mapsforge-map/src/main/java/org/mapsforge/map/rendertheme/XmlUtils.java b/mapsforge-map/src/main/java/org/mapsforge/map/rendertheme/XmlUtils.java
index <HASH>..<HASH> 100644
--- a/mapsforge-map/src/main/java/org/mapsforge/map/rendertheme/XmlUtils.java
+++ b/mapsforge-map/src/main/java/org/mapsforge/map/ren... | RenderTheme: absolute paths resolved to relative path | mapsforge_mapsforge | train | java |
3d8a516d1c63a984bd5c6f184e7af28154bc34e6 | diff --git a/lib/svtplay_dl/fetcher/dash.py b/lib/svtplay_dl/fetcher/dash.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/fetcher/dash.py
+++ b/lib/svtplay_dl/fetcher/dash.py
@@ -76,6 +76,7 @@ def parsesegments(content, url):
init = vinit.attrib["initialization"]
nrofvideos = content[0].findall(".//{u... | dash: don't crash if we get a total files.
fixes #<I> | spaam_svtplay-dl | train | py |
fdc7cd181ee162982b2e4a2d89d9e8b1c129e6b9 | diff --git a/lib/restforce/collection.rb b/lib/restforce/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/restforce/collection.rb
+++ b/lib/restforce/collection.rb
@@ -32,6 +32,12 @@ module Restforce
@raw_page['totalSize']
end
alias length size
+
+ def count
+ return size unless block_gi... | Add fast path for block-less Restforce::Collection#count | restforce_restforce | train | rb |
5727d6afff5e868282f22963aaa5f16a7f11b1e8 | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -26,7 +26,7 @@ module.exports = ( env ) => {
// The point or points to enter the application.
entry: env.element ? {
'main': `./packages/${ env.element }/${ capitalize( env.... | chore(webpack): fix demo component config (#<I>) | wc-catalogue_blaze-elements | train | js |
8282f30200b49534f5f9ecd50e417c39b9a5ba88 | diff --git a/spec/unit/daemon/apns/delivery_spec.rb b/spec/unit/daemon/apns/delivery_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/daemon/apns/delivery_spec.rb
+++ b/spec/unit/daemon/apns/delivery_spec.rb
@@ -95,9 +95,14 @@ describe Rapns::Daemon::Apns::Delivery do
end
it "logs the delivery error" do
... | Fix test that fails in JRuby | rpush_rpush | train | rb |
8d2c7045a4252ab797cc6b49d55ec3298fec1538 | diff --git a/PHPCI/Languages/lang.ru.php b/PHPCI/Languages/lang.ru.php
index <HASH>..<HASH> 100644
--- a/PHPCI/Languages/lang.ru.php
+++ b/PHPCI/Languages/lang.ru.php
@@ -84,7 +84,7 @@ PHPCI',
'success' => 'Успешно',
'successful' => 'Успешна',
'failed' => 'Провалена',
- 'manual_build' => 'Ручной сборк... | Update the "Manual Build" string for the Russian translation.
Closes #<I> | dancryer_PHPCI | train | php |
a327bbe205e2d1299dd7eaf28cf89146c5868ff9 | diff --git a/widget_tweaks/templatetags/widget_tweaks.py b/widget_tweaks/templatetags/widget_tweaks.py
index <HASH>..<HASH> 100644
--- a/widget_tweaks/templatetags/widget_tweaks.py
+++ b/widget_tweaks/templatetags/widget_tweaks.py
@@ -184,4 +184,4 @@ class FieldAttributeNode(Node):
bounded_field = set_attr... | Always cast the result of render to a string
Fixes incompatibility with django >= <I> | jazzband_django-widget-tweaks | train | py |
686886383967e424842f083d2c79dbaaf60c8424 | diff --git a/botstory/integrations/fb/validate.py b/botstory/integrations/fb/validate.py
index <HASH>..<HASH> 100644
--- a/botstory/integrations/fb/validate.py
+++ b/botstory/integrations/fb/validate.py
@@ -42,8 +42,8 @@ def send_text_message(text, options):
:param options:
:return:
"""
- if len(text)... | double text limit from <I> to <I> | botstory_botstory | train | py,py |
428d32cebdddf95f1d3a6d0d3e7e930e60c8b0c5 | diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/ModelsCommand.php
+++ b/src/Console/ModelsCommand.php
@@ -473,6 +473,7 @@ class ModelsCommand extends Command
foreach (array(
'hasMany' => '\Illum... | Add hasOneThrough to ide-helper:models (#<I>)
Added missing relation type. | barryvdh_laravel-ide-helper | train | php |
970363aa52f09130017e0c4112cca12283b14199 | diff --git a/lib/rakuten_web_service/search_result.rb b/lib/rakuten_web_service/search_result.rb
index <HASH>..<HASH> 100644
--- a/lib/rakuten_web_service/search_result.rb
+++ b/lib/rakuten_web_service/search_result.rb
@@ -18,7 +18,7 @@ module RakutenWebService
end
break unless has_next_page?
- ... | SearchResult#params_to_next_page creates params to get the next page | rakuten-ws_rws-ruby-sdk | train | rb |
fa7e71751abd565bc480c24e19199114cda253d5 | diff --git a/src/mako/http/Request.php b/src/mako/http/Request.php
index <HASH>..<HASH> 100644
--- a/src/mako/http/Request.php
+++ b/src/mako/http/Request.php
@@ -433,7 +433,7 @@ class Request
// Is PHP running as a CGI program?
- $this->isCGI = stripos(PHP_SAPI, 'cgi') !== false;
+ $this->isCGI = strpos(PHP_S... | PHP_SAPI is always lower case | mako-framework_framework | train | php |
012aa80afbeeb30b7d522c6a3b2bf8475c3f694d | diff --git a/normandy/selfrepair/static/js/normandy_driver.js b/normandy/selfrepair/static/js/normandy_driver.js
index <HASH>..<HASH> 100644
--- a/normandy/selfrepair/static/js/normandy_driver.js
+++ b/normandy/selfrepair/static/js/normandy_driver.js
@@ -124,8 +124,11 @@ let Normandy = {
} else {
... | Update post request to send JSON.stringified body | mozilla_normandy | train | js |
06903dadebfca12360e9d49926744b8f49f9c393 | diff --git a/lib/redbooth-ruby/version.rb b/lib/redbooth-ruby/version.rb
index <HASH>..<HASH> 100644
--- a/lib/redbooth-ruby/version.rb
+++ b/lib/redbooth-ruby/version.rb
@@ -1,3 +1,3 @@
module RedboothRuby
- VERSION = '0.1.2'
+ VERSION = '0.1.3'
end | Bumped version to <I>. | redbooth_redbooth-ruby | train | rb |
3485a7e0bc43756978f379e748904547b7f95496 | diff --git a/src/Formatter/JUnitFormatter.php b/src/Formatter/JUnitFormatter.php
index <HASH>..<HASH> 100644
--- a/src/Formatter/JUnitFormatter.php
+++ b/src/Formatter/JUnitFormatter.php
@@ -243,7 +243,15 @@ class JUnitFormatter implements Formatter
$code = $event->getTestResult()->getResultCode();
if... | Converted failure text to be in CDATA instead of sanitizing with htmlentities() | j-arnaiz_behat-junit-formatter | train | php |
82b1bf504c2b5846483c21ff89db1687f37159d6 | diff --git a/respite/urls/resource.py b/respite/urls/resource.py
index <HASH>..<HASH> 100644
--- a/respite/urls/resource.py
+++ b/respite/urls/resource.py
@@ -1,7 +1,10 @@
from copy import deepcopy
+import django
+
from django.conf.urls.defaults import *
from django.http import HttpResponse
+from django.utils.tran... | Localize patterns for Django <I>+ | jgorset_django-respite | train | py,py |
d2de9a16b61e786ae145a47d82abcd5b86b3e7ea | diff --git a/internal/provider/resource_password.go b/internal/provider/resource_password.go
index <HASH>..<HASH> 100644
--- a/internal/provider/resource_password.go
+++ b/internal/provider/resource_password.go
@@ -69,6 +69,10 @@ func resourcePasswordV0() *schema.Resource {
}
func resourcePasswordStateUpgradeV0(_ c... | Adding check for rawState being nil | terraform-providers_terraform-provider-random | train | go |
e2d5e48dffcbe3980942d6486d2e6689ffc0091e | diff --git a/Template.py b/Template.py
index <HASH>..<HASH> 100755
--- a/Template.py
+++ b/Template.py
@@ -18,7 +18,8 @@ import sys
import DataStore
from TimeZone import Local, utc
-from WeatherStation import pressure_trend_text, wind_dir_text, dew_point
+from WeatherStation import (
+ pressure_trend_text, wind_... | Added 'apparent_temp' function - a sort of wind chill measure. | jim-easterbrook_pywws | train | py,py |
6c08ea2cb373a18f42bb788f787504db25a25f94 | diff --git a/lib/controllers/object.js b/lib/controllers/object.js
index <HASH>..<HASH> 100644
--- a/lib/controllers/object.js
+++ b/lib/controllers/object.js
@@ -388,6 +388,9 @@ exports.putObjectCopy = async function putObjectCopy(ctx) {
* This implementation of the PUT operation uses the tagging subresource to add ... | Update jsdoc types for tagging methods | jamhall_s3rver | train | js,js |
a8489019c426eb609bcf5e6338e7beea53888f50 | diff --git a/metpy/gridding/gridding_functions.py b/metpy/gridding/gridding_functions.py
index <HASH>..<HASH> 100644
--- a/metpy/gridding/gridding_functions.py
+++ b/metpy/gridding/gridding_functions.py
@@ -134,7 +134,7 @@ def remove_repeat_coordinates(x, y, z):
@exporter.export
def interpolate(x, y, z, interp_type... | Change default grid buffer to 0
Adding 1 to each edge breaks several tests. | Unidata_MetPy | train | py |
6370430e984c04813902c67c3101482f1ed79320 | diff --git a/uptick/vesting.py b/uptick/vesting.py
index <HASH>..<HASH> 100644
--- a/uptick/vesting.py
+++ b/uptick/vesting.py
@@ -53,3 +53,21 @@ def claim(ctx, vestingid, account, amount):
amount=amount,
account=vesting["owner"]
))
+
+
+@main.command()
+@click.option("--account", default=None)
+... | [reserve] allow to reserve asset | bitshares_uptick | train | py |
93716d321f2d73c9522870bcf64d509bc74da7c9 | diff --git a/hpcbench/campaign.py b/hpcbench/campaign.py
index <HASH>..<HASH> 100644
--- a/hpcbench/campaign.py
+++ b/hpcbench/campaign.py
@@ -25,11 +25,12 @@ def fill_default_campaign_values(campaign):
:rtype: dictionary
"""
default_campaign = dict(
- output_dir="benchmark-%Y%m%d-%H:%M:%S"
+ ... | network section in campaign YAML file is now optional | BlueBrain_hpcbench | train | py |
bc7ee97c70b4c39c4cb7aae2ccf76fb71b7bc19f | diff --git a/tensorlayer/models/vgg.py b/tensorlayer/models/vgg.py
index <HASH>..<HASH> 100644
--- a/tensorlayer/models/vgg.py
+++ b/tensorlayer/models/vgg.py
@@ -82,7 +82,7 @@ mapped_cfg = {
model_urls = {
'vgg16': 'http://www.cs.toronto.edu/~frossard/vgg16/',
- 'vgg19': 'https://media.githubusercontent.com... | Update vgg.py (#<I>) | tensorlayer_tensorlayer | train | py |
a5833d41a0736107d97f838ebc901733ca4e5741 | diff --git a/lib/miro/dominant_colors.rb b/lib/miro/dominant_colors.rb
index <HASH>..<HASH> 100644
--- a/lib/miro/dominant_colors.rb
+++ b/lib/miro/dominant_colors.rb
@@ -60,7 +60,7 @@ module Miro
tempfile = Tempfile.open(["source", ".#{original_extension}"])
remote_file_data = open(@src_image_path).r... | Fix encoding issue for Ruby > <I> | jonbuda_miro | train | rb |
377d0c1cce8ea1858169c8433ad7d53edd5b962d | diff --git a/Client.php b/Client.php
index <HASH>..<HASH> 100644
--- a/Client.php
+++ b/Client.php
@@ -299,6 +299,24 @@ class CheddarGetter_Client {
}
/**
+ * Decrement a usage item quantity
+ *
+ * @param string $code Your code for the customer
+ * @param string|null $id CG id for the customer
+ * @param ... | Added a removeItemQuantity method | marcguyer_cheddargetter-client-php | train | php |
9e69136957207c1b2f58921866706625ad2af8ca | diff --git a/lib/tabula/entities/page.rb b/lib/tabula/entities/page.rb
index <HASH>..<HASH> 100644
--- a/lib/tabula/entities/page.rb
+++ b/lib/tabula/entities/page.rb
@@ -254,9 +254,7 @@ module Tabula
end
def get_cell_text(area=nil)
- s = self.get_text(area)
- # puts s.map(&:inspect)
- TextEl... | undo a debugging change | tabulapdf_tabula-extractor | train | rb |
eeeae0339633da1e36fb2b544633f10aba6681f5 | diff --git a/lib/helper.js b/lib/helper.js
index <HASH>..<HASH> 100644
--- a/lib/helper.js
+++ b/lib/helper.js
@@ -201,7 +201,7 @@ helper.sendDelete = function(uri, configId, keyType, cb) {
// Find the configId for this accountId
helper.getConfigId = function(accountId) {
var configArr = config.get('configArr');
-... | use var instead of let for backwards compatibility | kenahrens_newrelic-api-client-js | train | js |
69bbcf7d0f6d0841fbde88abc1ca906a8c6ab942 | diff --git a/lib/workflow_kit/version.rb b/lib/workflow_kit/version.rb
index <HASH>..<HASH> 100644
--- a/lib/workflow_kit/version.rb
+++ b/lib/workflow_kit/version.rb
@@ -1,3 +1,3 @@
module WorkflowKit
- VERSION = "0.0.4.alpha"
+ VERSION = "0.0.5.alpha"
end | bump to <I>.alpha | fiedl_workflow_kit | train | rb |
6e11cbf6b48790a81b123aec4115a5cd5f5f18bb | diff --git a/src/Models/Corporation/CorporationMemberTracking.php b/src/Models/Corporation/CorporationMemberTracking.php
index <HASH>..<HASH> 100644
--- a/src/Models/Corporation/CorporationMemberTracking.php
+++ b/src/Models/Corporation/CorporationMemberTracking.php
@@ -202,6 +202,7 @@ class CorporationMemberTracking e... | refactor(relationship): deprecating user relation from member tracking | eveseat_eveapi | train | php |
87f978986c9e466cae82e9bb6c4e2231c27888f0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -34,5 +34,5 @@ and data types of the information within the MIB module.""",
author = "Pieter Hollants",
author_email = "pieter@hollants.com",
py_modules = [ "netsnmpagent", "netsnmpapi" ],
- license = 'GPL 3',
+... | Modify License specification to conform with openSUSE guidelines | pief_python-netsnmpagent | train | py |
715365b36d59ba3a8de1e53a15ab9246956b1bf6 | diff --git a/lib/excon/connection.rb b/lib/excon/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/excon/connection.rb
+++ b/lib/excon/connection.rb
@@ -116,6 +116,7 @@ module Excon
new_socket.connect
end
+ Thread.current[:_excon_sockets] ||= {}
Thread.current[:_excon_sockets][@uri.to_s]... | make sure to initialize thread local in reset socket if needed | excon_excon | train | rb |
4dff29b9aefc8418f8e70b35238bbc05dcfbce80 | diff --git a/spec/twitter/entity/uri_spec.rb b/spec/twitter/entity/uri_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/twitter/entity/uri_spec.rb
+++ b/spec/twitter/entity/uri_spec.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
require 'helper'
describe Twitter::Entity::URI do | Add encoding to uri_spec for Ruby <I> compatibility. | sferik_twitter | train | rb |
d4757d0394bde605ec6723219b0bf787727a4d3a | diff --git a/src/extensions/default/JavaScriptCodeHints/tern-worker.js b/src/extensions/default/JavaScriptCodeHints/tern-worker.js
index <HASH>..<HASH> 100644
--- a/src/extensions/default/JavaScriptCodeHints/tern-worker.js
+++ b/src/extensions/default/JavaScriptCodeHints/tern-worker.js
@@ -113,6 +113,13 @@ var config =... | Introduce _getDenormalizedFilename and use it | adobe_brackets | train | js |
923442ec6b8f1ac7526ef579147f33fba91aee42 | diff --git a/sshtunnel.py b/sshtunnel.py
index <HASH>..<HASH> 100644
--- a/sshtunnel.py
+++ b/sshtunnel.py
@@ -641,6 +641,7 @@ class SSHTunnelForwarder(object):
self.logger.info('Connecting to gateway: {0}:{1} as user "{2}".'
.format(ssh_host, ssh_port, ssh_username))
+ self.... | Missing argument mapping for set_keepalive | pahaz_sshtunnel | train | py |
f73c6cc777e9e327325e968866948e67b27714de | diff --git a/lib/muack.rb b/lib/muack.rb
index <HASH>..<HASH> 100644
--- a/lib/muack.rb
+++ b/lib/muack.rb
@@ -27,15 +27,15 @@ module Muack
module API
module_function
def mock object=Object.new
- Muack.session["mock #{object.object_id}"] ||= Muack::Mock.new(object)
+ Muack.session["mock #{object.... | it seems using __id__ is safer | godfat_muack | train | rb |
cb6a9435816012d1840e3a23eefe49e9894f3582 | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -189,7 +189,7 @@ var util = {
parse: function string(ini) {
var currentSection, map = {};
util.arrayEach(ini.split(/\r?\n/), function(line) {
- line = line.split(/(^|\s);/)[0]; // remove c... | Parse ini files with comments starting with # | aws_aws-sdk-js | train | js |
3b18f34bdebc85430114075248ae3fa581e0f700 | diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.... | Fix warning: method redefine. Testcase name are duplicated. | rails_rails | train | rb |
171adb0b0fb19b7a5833703e86a92a464b2be6cf | diff --git a/cobraadaptor/adaptor.go b/cobraadaptor/adaptor.go
index <HASH>..<HASH> 100644
--- a/cobraadaptor/adaptor.go
+++ b/cobraadaptor/adaptor.go
@@ -58,6 +58,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
image.NewImagesCommand(dockerCli),
image.NewLoadCommand(dockerCli),
ima... | Migrate save command to cobra | docker_cli | train | go,go |
d3f1cde59e70007f998bd5664937547ad8da71b0 | diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -4372,7 +4372,7 @@ function xmldb_main_upgrade($oldversion) {
set_config('customusermenuitems', $newconfig);
}
- upgrade_main_savepoint(true, 2015050300.00... | MDL-<I> upgrade: Correct missing main_savepoint update | moodle_moodle | train | php |
ba532b36df8aac8c39f638514fb613d077a23b01 | diff --git a/build/cleanup-old-tags.js b/build/cleanup-old-tags.js
index <HASH>..<HASH> 100644
--- a/build/cleanup-old-tags.js
+++ b/build/cleanup-old-tags.js
@@ -22,13 +22,13 @@ const tags = execSync ('git tag').toString ().split ('\n').filter (s => s).map (
}
})
-const tagsByMajor = values (groupBy (tags, 'ke... | more sane variable naming in cleanup-old-tags
[ci skip] | ccxt_ccxt | train | js |
0cc219407412c4fa647be60806c5c9652bed735e | diff --git a/lib/brainstem/controller_methods.rb b/lib/brainstem/controller_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/brainstem/controller_methods.rb
+++ b/lib/brainstem/controller_methods.rb
@@ -27,7 +27,7 @@ module Brainstem
# only required if the name cannot be inferred.
# ... | add back in skipping of default filters to ControllerMethods.present_object
We recommend using #present_object in your API controllers when handling
show, update, and create requests where you wouldn't want to return an
empty set because of default filters.' | mavenlink_brainstem | train | rb,rb |
5d00d325c79f1b4c503fe2a66a240efc2e0fffe3 | diff --git a/lib/store/documentStore.js b/lib/store/documentStore.js
index <HASH>..<HASH> 100644
--- a/lib/store/documentStore.js
+++ b/lib/store/documentStore.js
@@ -19,6 +19,7 @@ const DocumentStore = (options, validator, encryption) => {
// from extensions. (to avoid adding permissions, attributes or other logic ... | add reporter.documentStore.resolveFileExtension as a way to general way to get file extension of entity properties (like .content, .contentRaw), etc | jsreport_jsreport-core | train | js |
869bbd9833aeaf1e8abbf91c2289096e6fff6b6e | diff --git a/src/core/index.js b/src/core/index.js
index <HASH>..<HASH> 100644
--- a/src/core/index.js
+++ b/src/core/index.js
@@ -19,7 +19,7 @@ export Sphere from './Sphere'
export Transformable from './Transformable'
export TreeNode from './TreeNode'
export * as Utility from './Utility'
-export {getWebGLRendererTh... | use wild-card re-export syntax | trusktr_infamous | train | js |
40f219469d7ecdc4bbc483c302dbe4d29f4e2cd1 | diff --git a/app/assets/javascripts/govuk_publishing_components/components/details.js b/app/assets/javascripts/govuk_publishing_components/components/details.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/govuk_publishing_components/components/details.js
+++ b/app/assets/javascripts/govuk_publishing_compon... | Remove jQuery from details component
- Replaced `click()` with `addEventListener()`
- No change to tests required | alphagov_govuk_publishing_components | train | js |
00ad44b706da3ee95f1ab3cfb35751dd9b416f3a | diff --git a/astar.js b/astar.js
index <HASH>..<HASH> 100644
--- a/astar.js
+++ b/astar.js
@@ -56,6 +56,7 @@ var astar = {
closestNode = start; // set the start node to be the closest if required
start.h = heuristic(start, end);
+ graph.markDirty(start);
openHeap.push(start);
... | only mark the start node as dirty to avoid pushing duplicate nodes onto dirty list | bgrins_javascript-astar | train | js |
301a3c34429201f5d5dfdb08625615d8169207db | diff --git a/lib/regexp-examples/repeaters.rb b/lib/regexp-examples/repeaters.rb
index <HASH>..<HASH> 100644
--- a/lib/regexp-examples/repeaters.rb
+++ b/lib/regexp-examples/repeaters.rb
@@ -5,7 +5,7 @@ module RegexpExamples
end
def result(min_repeats, max_repeats)
- group_result = @group.result
+ ... | Only first 5 chars from each group are returned
E.g. \d = [0, 1, 2, 3, 4], and \w = ['a', 'b', 'c', 'd', 'e']
This prevents a crazy number of examples being returned! | tom-lord_regexp-examples | train | rb |
5b729954bfb039bc73513256193cd07150bc3527 | diff --git a/src/main/java/org/dasein/cloud/openstack/nova/os/network/Quantum.java b/src/main/java/org/dasein/cloud/openstack/nova/os/network/Quantum.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/openstack/nova/os/network/Quantum.java
+++ b/src/main/java/org/dasein/cloud/openstack/nova/os/networ... | fixed create subnet call for Quantum | dasein-cloud_dasein-cloud-openstack | train | java |
fdea182f6e822cad89e616f630dd4af5f91fb1c4 | diff --git a/lib/uaa/token_issuer.rb b/lib/uaa/token_issuer.rb
index <HASH>..<HASH> 100644
--- a/lib/uaa/token_issuer.rb
+++ b/lib/uaa/token_issuer.rb
@@ -65,7 +65,7 @@ class CF::UAA::TokenIssuer
uri = authorize_path_args("token", redir_uri, scope, state = SecureRandom.uuid)
# required for current UAA imple... | Fixed a bug with the content type in the implicit grant request.
Bumped the gem version.
Change-Id: I<I>f<I>c4d3e<I>ab<I>aa<I>d<I>f<I>ef9 | cloudfoundry_cf-uaa-lib | train | rb,rb |
11dd12f002ef1565afec7333da28b4f498571500 | diff --git a/test/core/Transport.js b/test/core/Transport.js
index <HASH>..<HASH> 100644
--- a/test/core/Transport.js
+++ b/test/core/Transport.js
@@ -90,14 +90,15 @@ function (Test, Transport, Tone, Offline, TransportTime) {
});
it("can get the next subdivision of the transport", function(done){
- var now... | changing subdivision test to use Offline testing
more reliable than setTimeout | Tonejs_Tone.js | train | js |
f8bf44e68a36a8b73912ab5a34196e21d8f4e336 | diff --git a/js/tests/parserTests.js b/js/tests/parserTests.js
index <HASH>..<HASH> 100755
--- a/js/tests/parserTests.js
+++ b/js/tests/parserTests.js
@@ -1499,6 +1499,7 @@ ParserTests.prototype.processCase = function ( i, options ) {
-1 === item.title.search( this.test_filter ) ) ) {
// Skip test wh... | ParserTests: don't accumulate comments when skipping tests with --filter.
Change-Id: I<I>ccfbaaa2bc<I>f<I>e7d<I>bc<I>b<I>b | wikimedia_parsoid | train | js |
a5b59388697773c4df4e0fefa35e8cdead1ad6e5 | diff --git a/test/plugin/test_elasticsearch_error_handler.rb b/test/plugin/test_elasticsearch_error_handler.rb
index <HASH>..<HASH> 100644
--- a/test/plugin/test_elasticsearch_error_handler.rb
+++ b/test/plugin/test_elasticsearch_error_handler.rb
@@ -112,6 +112,7 @@ class TestElasticsearchErrorHandler < Test::Unit::Tes... | Set `@plugin.log_es_<I>_reason` as true | uken_fluent-plugin-elasticsearch | train | rb |
1f50a73a01f1806752a058cfe39a9db520ab8337 | diff --git a/src/main/java/com/tdunning/math/stats/MergingDigest.java b/src/main/java/com/tdunning/math/stats/MergingDigest.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/tdunning/math/stats/MergingDigest.java
+++ b/src/main/java/com/tdunning/math/stats/MergingDigest.java
@@ -519,7 +519,11 @@ public class Mer... | Fixes #<I> by testing for zero weight. | tdunning_t-digest | train | java |
20544fbbd600291323017c23d499e84e1bb95fc7 | diff --git a/src/rules/prefer-invoke-map.js b/src/rules/prefer-invoke-map.js
index <HASH>..<HASH> 100644
--- a/src/rules/prefer-invoke-map.js
+++ b/src/rules/prefer-invoke-map.js
@@ -18,7 +18,7 @@ module.exports = {
const {isAliasOfMethod} = require('../util/methodDataUtil')
function isOnlyUsedForOb... | fix rule prefer-invoke-map to work with eslint >= <I> (fixes #<I>) | wix_eslint-plugin-lodash | train | js |
845d11d678c7501093e38d93b4ea7119ede7f157 | diff --git a/gomigrate.go b/gomigrate.go
index <HASH>..<HASH> 100644
--- a/gomigrate.go
+++ b/gomigrate.go
@@ -296,7 +296,7 @@ func (m *Migrator) Rollback() error {
func (m *Migrator) RollbackN(n int) error {
migrations := m.Migrations(Active)
if len(migrations) == 0 {
- return NoActiveMigrations
+ return nil
... | Don't raise an error if there aren't any active migrations | DavidHuie_gomigrate | train | go |
839ac0d2382dfba01669eabe43566515ad3ba35c | diff --git a/libkbfs/reporter_kbpki.go b/libkbfs/reporter_kbpki.go
index <HASH>..<HASH> 100644
--- a/libkbfs/reporter_kbpki.go
+++ b/libkbfs/reporter_kbpki.go
@@ -41,6 +41,8 @@ var noErrorNames = map[string]bool{
"_mtn": true, // emacs on Linux
"docker-machine": true, // docker shell stuff
"HEAD": ... | reporter_kbpki: add Keybase.app and DCIM exceptions
Issue: keybase/client#<I> | keybase_client | train | go |
88c22dab5cc4268f8fb6666d373a1ffe76a27e01 | diff --git a/app/jobs/fastly_log_processor.rb b/app/jobs/fastly_log_processor.rb
index <HASH>..<HASH> 100644
--- a/app/jobs/fastly_log_processor.rb
+++ b/app/jobs/fastly_log_processor.rb
@@ -22,12 +22,14 @@ class FastlyLogProcessor
end
counts = download_counts(log_ticket)
+ StatsD.gauge('fastly_log_proce... | improve statsd metrics for FastlyLogProcessor | rubygems_rubygems.org | train | rb |
cc3f378226c375401f159f3791df33f3a2ec165b | diff --git a/lib/ztk/dsl/base.rb b/lib/ztk/dsl/base.rb
index <HASH>..<HASH> 100644
--- a/lib/ztk/dsl/base.rb
+++ b/lib/ztk/dsl/base.rb
@@ -152,14 +152,14 @@ module ZTK::DSL
def initialize(id=nil, &block)
self.id = (id || self.class.next_id)
- self.class.dataset.delete_if{ |d| d.id == self.id }
... | raise an exception if we have a primary key collision | zpatten_ztk | train | rb |
a8782f43d1edb4c31b85871d65e3f7216e8a3743 | diff --git a/storage/Folder.php b/storage/Folder.php
index <HASH>..<HASH> 100644
--- a/storage/Folder.php
+++ b/storage/Folder.php
@@ -52,7 +52,7 @@ class Folder
private function getRootArray()
{
- return ['id' => 0, 'name' => 'Root'];
+ return ['id' => 0, 'name' => 'Stammverzeichnis'];
}... | renamed root folder node | luyadev_luya-module-admin | train | php |
987075553102b750e0f9e31d2ceeb1d05998acfb | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -80,7 +80,7 @@ module.exports = function (options) {
less.render(
content,
-
+
function(err, result) {
if (err) {
cb(FOUND_ERROR, 'Er... | feat(joinParts): use backticks insted of singlequotes | amritk_gulp-angular2-embed-sass | train | js |
9051520dee6e06c3ecc13ad6059e090d91f1c588 | diff --git a/src/Module.js b/src/Module.js
index <HASH>..<HASH> 100644
--- a/src/Module.js
+++ b/src/Module.js
@@ -69,8 +69,9 @@ export default class Module {
return reference.call( this.exports, name );
}
- // ... otherwise search exportAlls.
- for ( const module of this.exportAlls ) {
+ // ... otherw... | Don't use `for-of` | rollup_rollup | train | js |
f2e73a418ec070340c711ae05315ad73c3982799 | diff --git a/distutils/version.py b/distutils/version.py
index <HASH>..<HASH> 100644
--- a/distutils/version.py
+++ b/distutils/version.py
@@ -50,14 +50,14 @@ class Version:
"""
def __init__ (self, vstring=None):
+ if vstring:
+ self.parse(vstring)
warnings.warn(
"dis... | Emit warning after parsing. Fixes pypa/distutils#<I>. | pypa_setuptools | train | py |
5f71d31960e12272f38b200bbe55d4ef3d2a0367 | diff --git a/pylogit/asym_logit.py b/pylogit/asym_logit.py
index <HASH>..<HASH> 100644
--- a/pylogit/asym_logit.py
+++ b/pylogit/asym_logit.py
@@ -304,6 +304,10 @@ def _asym_utility_transform(systematic_utilities,
# Add the intercept values to f(x, beta, c)
transformed_utilities += rows_to_alts.dot(al... | Changed handling of overflow from large systematic utilities in asym_utility_transform. | timothyb0912_pylogit | train | py |
0b48de4ea9f1b7b870cc14b198333e1fee8f4c0b | diff --git a/montblanc/impl/biro/v4/gpu/RimeEBeam.py b/montblanc/impl/biro/v4/gpu/RimeEBeam.py
index <HASH>..<HASH> 100644
--- a/montblanc/impl/biro/v4/gpu/RimeEBeam.py
+++ b/montblanc/impl/biro/v4/gpu/RimeEBeam.py
@@ -79,6 +79,9 @@ void rime_jones_E_beam_impl(
__shared__ T wl[BLOCKDIMX];
+ __shared__ T ld[... | Load pointing errors into shared memory. | ska-sa_montblanc | train | py |
923fc087437904cf45e94a7b5954e60931f97a04 | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,5 +2,7 @@ import sys
if sys.version_info > (3,):
collect_ignore = ["test_django_channels.py"]
+ if sys.version_info < (3, 6):
+ collect_ignore.append('test_gevent.py')
... | Ignore gevent tests on less than Python <I> | graphql-python_graphql-ws | train | py |
1521bcc53a8d32339376035f9d5db3b496dfa61f | diff --git a/rbac_api.go b/rbac_api.go
index <HASH>..<HASH> 100644
--- a/rbac_api.go
+++ b/rbac_api.go
@@ -234,6 +234,8 @@ func (e *Enforcer) GetImplicitUsersForPermission(permission ...string) ([]string
subjects := append(pSubjects, gSubjects...)
util.ArrayRemoveDuplicates(&subjects)
+ subjects = util.SetSubtrac... | perf: improve performance in GetImplicitUsersForPermission | casbin_casbin | train | go |
24f5291ac7f77809086ab8d38a0110c0c0f160d3 | diff --git a/beaver/transports/rabbitmq_transport.py b/beaver/transports/rabbitmq_transport.py
index <HASH>..<HASH> 100644
--- a/beaver/transports/rabbitmq_transport.py
+++ b/beaver/transports/rabbitmq_transport.py
@@ -12,7 +12,7 @@ class RabbitmqTransport(BaseTransport):
self._rabbitmq_config = {}
... | Set transport as valid on connect (properly resets for reconnect) | python-beaver_python-beaver | train | py |
4eccae6432671500ea833a02ca007eee87592420 | diff --git a/lib/daybreak/writer.rb b/lib/daybreak/writer.rb
index <HASH>..<HASH> 100644
--- a/lib/daybreak/writer.rb
+++ b/lib/daybreak/writer.rb
@@ -95,7 +95,7 @@ module Daybreak
if s < buf.length
buf = buf[s..-1] # didn't finish
else
- buf.clear
+ buf = ""
end
... | <I> doesn't have String#clear | propublica_daybreak | train | rb |
7e5f6ccf53d7163bcd44ef1da6ca86ed15c11f01 | diff --git a/src/FormObject/FieldList.php b/src/FormObject/FieldList.php
index <HASH>..<HASH> 100644
--- a/src/FormObject/FieldList.php
+++ b/src/FormObject/FieldList.php
@@ -43,6 +43,17 @@ class FieldList extends Field implements Countable, ArrayAccess, IteratorAggrega
return $this->hasSwitchableChildren();
... | Added small helper to wrap isValid with children | mtils_formobject | train | php |
e61f888d36a4012e4744044a9e58402c7a981a14 | diff --git a/lib/xsendfilelib.php b/lib/xsendfilelib.php
index <HASH>..<HASH> 100644
--- a/lib/xsendfilelib.php
+++ b/lib/xsendfilelib.php
@@ -52,7 +52,14 @@ function xsendfile($filepath) {
$aliased = false;
if (!empty($CFG->xsendfilealiases) and is_array($CFG->xsendfilealiases)) {
foreach ($CFG->xse... | MDL-<I> fix invalid separator constant and support root dirs in aliases
Credit goes to Loic Jeannin, thanks. | moodle_moodle | 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.