hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
7378c9e4076cc6606ccf9cd6bbac7b653ae04a79
diff --git a/launch_control/dashboard_app/admin.py b/launch_control/dashboard_app/admin.py index <HASH>..<HASH> 100644 --- a/launch_control/dashboard_app/admin.py +++ b/launch_control/dashboard_app/admin.py @@ -2,17 +2,64 @@ Administration interface of the Dashboard application """ +from django import forms from d...
Add BundleStream and Bundle admin
zyga_json-schema-validator
train
75825016a7e78b93200be8f343419a3716ff45cc
diff --git a/code/Heystack/Subsystem/Ecommerce/Currency/CurrencyService.php b/code/Heystack/Subsystem/Ecommerce/Currency/CurrencyService.php index <HASH>..<HASH> 100644 --- a/code/Heystack/Subsystem/Ecommerce/Currency/CurrencyService.php +++ b/code/Heystack/Subsystem/Ecommerce/Currency/CurrencyService.php @@ -238,7 +23...
UPDATE: added exception handling when a default currency isn't selected
heyday_heystack-ecommerce-core
train
be37d8d0f3578893e8fb16cf83ba911927a02a7f
diff --git a/soup.go b/soup.go index <HASH>..<HASH> 100644 --- a/soup.go +++ b/soup.go @@ -129,14 +129,14 @@ func (r Root) FindPrevElementSibling() Node { } } -// Returns the nodeValue of the element +// Returns the node value of the element func (r Root) NodeValue() string { return r.Pointer.Data } // Retu...
changed functions Attrs() and Text()
anaskhan96_soup
train
3020afb5a197252b064861014a3bd7b532f3ad84
diff --git a/nolearn/lasagne/base.py b/nolearn/lasagne/base.py index <HASH>..<HASH> 100644 --- a/nolearn/lasagne/base.py +++ b/nolearn/lasagne/base.py @@ -31,8 +31,6 @@ from theano import tensor as T from . import PrintLog from . import PrintLayerInfo -floatX = theano.config.floatX - class _list(list): pass...
Better way to initialize theano output matrix for regression.
dnouri_nolearn
train
2b677fc0128420b88c9e04dbe2d05a6a22c7fb4e
diff --git a/edit_interface.php b/edit_interface.php index <HASH>..<HASH> 100644 --- a/edit_interface.php +++ b/edit_interface.php @@ -2011,46 +2011,46 @@ case 'changefamily': if (count($children)>0) { if (!is_null($father)) { if ($father->getSex()=="F") { - $father->setLabel(WT_I18N::translate('Mother')); ...
Merge duplicate translations that differ only in upper/lower case
fisharebest_webtrees
train
daea7e1cd74ad9551f7a3516ea768d905811f0b3
diff --git a/forex/models.py b/forex/models.py index <HASH>..<HASH> 100644 --- a/forex/models.py +++ b/forex/models.py @@ -34,7 +34,7 @@ class Currency(models.Model): ordering = ['name', 'symbol'] def __unicode__(self): - return u'%s %s %s' % (unicode(self.name), unicode(', '), unicode(self.symb...
Added tests for __unicode__
Valuehorizon_valuehorizon-forex
train
eafc77755027d0f5cee56c6ca0b985fad08e7992
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -15,6 +15,7 @@ function reworkNPM(opts) { var root = opts.root || process.cwd(); var prefilter = opts.prefilter || identity; var shim = opts.shim || {}; + var alias = opts.alias || {}; function inline(...
Use hasOwn to check for alias path
reworkcss_rework-npm
train
30d36f205eb5174162c6ca584bf0d692d0e6dad1
diff --git a/docs/usage.rst b/docs/usage.rst index <HASH>..<HASH> 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -141,6 +141,24 @@ You also can purge all entries: >>> len(db) 0 + +Updating +:::::::: + +You can update elements matching a query. Assuming you have these elements in the +database: + +>>> db.insert...
Added `update` method (closes #6)
msiemens_tinydb
train
3bc17b8b3c93db9111031abfa8d6c5f1653c3ad1
diff --git a/demos/ec2/src/main/java/org/infinispan/ec2demo/InfinispanFluDemo.java b/demos/ec2/src/main/java/org/infinispan/ec2demo/InfinispanFluDemo.java index <HASH>..<HASH> 100644 --- a/demos/ec2/src/main/java/org/infinispan/ec2demo/InfinispanFluDemo.java +++ b/demos/ec2/src/main/java/org/infinispan/ec2demo/Infinisp...
Cache creation and population are now two different methods
infinispan_infinispan
train
5407cc875a9590d7945c51c89b1bf943a07db386
diff --git a/lib/jsduck/merger.rb b/lib/jsduck/merger.rb index <HASH>..<HASH> 100644 --- a/lib/jsduck/merger.rb +++ b/lib/jsduck/merger.rb @@ -55,11 +55,15 @@ module JsDuck h[key] = value unless h.has_key?(key) || Merger::explicit?(key) end - # Add all items in code not already in result. - ...
Mark all auto-merged fields as auto-detected.
senchalabs_jsduck
train
f2bac496b9094ac21272fecdb7f80e2e60e1e8da
diff --git a/core/maintenance/version/fetch.go b/core/maintenance/version/fetch.go index <HASH>..<HASH> 100644 --- a/core/maintenance/version/fetch.go +++ b/core/maintenance/version/fetch.go @@ -26,7 +26,7 @@ func fetch() (*version.Version, string) { defer r.Body.Close() if r.StatusCode >= 400 { - golog.Debugf("...
add vendor for go-version (the auto-updater will probably be removed on the next major release due to go modules) Former-commit-id: 3d0bb6e3a<I>f0d0e8b9ed2f<I>e<I>ed<I>
kataras_iris
train
00359661966a1506ed42d6e193d6e58a751a87ba
diff --git a/src/DataPool/SearchEngine/SearchDocumentField.php b/src/DataPool/SearchEngine/SearchDocumentField.php index <HASH>..<HASH> 100644 --- a/src/DataPool/SearchEngine/SearchDocumentField.php +++ b/src/DataPool/SearchEngine/SearchDocumentField.php @@ -10,7 +10,7 @@ class SearchDocumentField private $key; ...
Issue #<I>: Force search document field value to be string
lizards-and-pumpkins_catalog
train
5f0996c7191f6c22ab3aea5d791e75d6e80fb4ff
diff --git a/lib/ronin/web/server.rb b/lib/ronin/web/server.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/web/server.rb +++ b/lib/ronin/web/server.rb @@ -42,7 +42,18 @@ module Ronin 'application/pdf' => ['pdf'], 'application/doc' => ['doc'], 'application/zip' => ['zip'], - 'text/plain...
Added more content-types.
ronin-ruby_ronin
train
7376a29d69ac78cabc5d392cb748f708ffa0e68c
diff --git a/tests/pretty_format_json_test.py b/tests/pretty_format_json_test.py index <HASH>..<HASH> 100644 --- a/tests/pretty_format_json_test.py +++ b/tests/pretty_format_json_test.py @@ -1,4 +1,4 @@ -import tempfile +import io import pytest @@ -15,24 +15,18 @@ def test_pretty_format_json(filename, expected_ret...
Write to temp directories in such a way that files get cleaned up
pre-commit_pre-commit-hooks
train
e86b7e355633322e4712e9b6ded5e14172fe9009
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,6 @@ setup( 'attrs>=17.4.0', 'pytest>=3.8.0', 'mock', - 'pylint', 'jupyter', 'matplotlib', # Need atari extras for Travis tests...
Remove pylint as a t2t dependency, this is preventing pip install of our test dependencies. Also we don't use it anymore. PiperOrigin-RevId: <I>
tensorflow_tensor2tensor
train
00983b5b1d3c5451f8941d4c7258e8a0037a6738
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2292,6 +2292,9 @@ function modifyMetadata(user, key, md, account, cb) { self.getMetadata(user, key, account, function (err) { if (err && err.statusCode === 404) { + if (!...
PORTAL-<I> Add application key for metadata update in case it does not exist
joyent_node-ufds
train
0df94c2b58f6fa2712ac90a802e8e267dc9298ed
diff --git a/ide/main/src/content/selenium-runner.js b/ide/main/src/content/selenium-runner.js index <HASH>..<HASH> 100644 --- a/ide/main/src/content/selenium-runner.js +++ b/ide/main/src/content/selenium-runner.js @@ -63,6 +63,15 @@ MozillaBrowserBot.prototype.modifyWindowToRecordPopUpDialogs = function(windowTo ...
SamitBadle: Fixing the Alerts not working in IDE. Fixes issue <I>. r<I>
SeleniumHQ_selenium
train
bb6408192e37fd85f6e968fc6c44a304a8c75433
diff --git a/pusherclient/connection.py b/pusherclient/connection.py index <HASH>..<HASH> 100755 --- a/pusherclient/connection.py +++ b/pusherclient/connection.py @@ -48,10 +48,10 @@ class Connection(Thread): # received in exact 5 minute intervals. self.connection_timeout = 305 - self.connect...
Refactor timers like in pull request 6.
ekulyk_PythonPusherClient
train
5d977c954f6277746098a648070adb6665f8cbc0
diff --git a/prj.el b/prj.el index <HASH>..<HASH> 100644 --- a/prj.el +++ b/prj.el @@ -7,7 +7,7 @@ '(jde-run-option-debug nil) '(jde-run-option-vm-args nil) '(jde-compile-option-directory "./target/classes") - '(jde-run-option-application-args (quote ("-mainClass" "org.junit.runner.JUnitCore" "hex.rf.RandomForest...
Two more fvec chunks support inflation Runs covtype (1 tree) to a depth of <I> now, with ~<I> total splits.
h2oai_h2o-2
train
6a226f4714bbadae829674c06ce27d77836cb457
diff --git a/api.go b/api.go index <HASH>..<HASH> 100644 --- a/api.go +++ b/api.go @@ -683,7 +683,7 @@ func (c Client) executeMethod(ctx context.Context, method string, metadata reque // handle this appropriately. if metadata.bucketName != "" { // Gather Cached location only if bucketName is present. - ...
retry only if response region doesn't match cached region (#<I>)
minio_minio-go
train
e1d90eceda74c9cbb58e726f66ecdca478de0653
diff --git a/replaylib/tests/__init__.py b/replaylib/tests/__init__.py index <HASH>..<HASH> 100644 --- a/replaylib/tests/__init__.py +++ b/replaylib/tests/__init__.py @@ -1,3 +1,5 @@ +import sys + from unittest import TestCase import urllib from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer @@ -31,33 +33,...
fleshed out functional tests a lot more
storborg_replaylib
train
6c4e1274d1c3b856cf138b5c52a8ac12b98dca67
diff --git a/Collection.php b/Collection.php index <HASH>..<HASH> 100644 --- a/Collection.php +++ b/Collection.php @@ -314,7 +314,7 @@ class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate * * @return static */ - public function udiff($items, callable $callback) + publ...
renamed some methods in the collection class to be more meaningful
illuminate_support
train
3051a4cdffc47bda93f00e387173ae769fe94da7
diff --git a/src/Kodeine/Metable/Metable.php b/src/Kodeine/Metable/Metable.php index <HASH>..<HASH> 100644 --- a/src/Kodeine/Metable/Metable.php +++ b/src/Kodeine/Metable/Metable.php @@ -183,6 +183,7 @@ trait Metable } protected function getMetaString($key, $default = null) { + $key = strtolower( $key ); $me...
Changed $key to lower case in getMetaString
kodeine_laravel-meta
train
86d44bffb1b053472ff7e4a2c29d49c2c7c28393
diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/Tests/DependencyInjection/ConfigurationTest.php index <HASH>..<HASH> 100644 --- a/Tests/DependencyInjection/ConfigurationTest.php +++ b/Tests/DependencyInjection/ConfigurationTest.php @@ -61,8 +61,8 @@ final class ConfigurationTest extends \PHPUnit_Framewor...
[Fixtures] Define configuration requirements in its tests
Sylius_SyliusFixturesBundle
train
7d40f40b796c903622c6b1e253464176076e00a9
diff --git a/addons/docs/src/frameworks/react/config.js b/addons/docs/src/frameworks/react/config.js index <HASH>..<HASH> 100644 --- a/addons/docs/src/frameworks/react/config.js +++ b/addons/docs/src/frameworks/react/config.js @@ -7,6 +7,7 @@ addParameters({ container: DocsContainer, page: DocsPage, // r...
Addon-docs: Fix react inline stories
storybooks_storybook
train
2208962c9d63c80b8238dbc6f4dd57a8368cf2c0
diff --git a/lib/custom/src/MW/View/Helper/Image/Standard.php b/lib/custom/src/MW/View/Helper/Image/Standard.php index <HASH>..<HASH> 100644 --- a/lib/custom/src/MW/View/Helper/Image/Standard.php +++ b/lib/custom/src/MW/View/Helper/Image/Standard.php @@ -42,7 +42,7 @@ class Standard $variant .= ' data-variant-' . $...
Added missing ID for changing to variant image
aimeos_ai-client-html
train
b1d96dad56bb3dbc5185d7dcb7913db441c121b6
diff --git a/src/Codeception/Lib/Connector/Yii2.php b/src/Codeception/Lib/Connector/Yii2.php index <HASH>..<HASH> 100644 --- a/src/Codeception/Lib/Connector/Yii2.php +++ b/src/Codeception/Lib/Connector/Yii2.php @@ -83,6 +83,9 @@ class Yii2 extends Client static::$db = null; static::$mailer = null; ...
Reset global event handlers (#<I>) Global event handlers should not persist between tests. The `if` statement is needed since the `offAll()` function exists only since <I> of the framework.
Codeception_Codeception
train
16708941308024eb486c6a7f0981935ac10b50c8
diff --git a/tests/test_dispatcher.py b/tests/test_dispatcher.py index <HASH>..<HASH> 100644 --- a/tests/test_dispatcher.py +++ b/tests/test_dispatcher.py @@ -1,20 +1,13 @@ import asyncio -from unittest import mock import pytest from aiohttp import web from aiohttp.web_urldispatcher import MatchInfoError +from ai...
use make_mocked_request
aamalev_aiohttp_apiset
train
1405049e8953983ecb6e229c901f15783c0af17b
diff --git a/master/buildbot/test/unit/test_locks.py b/master/buildbot/test/unit/test_locks.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_locks.py +++ b/master/buildbot/test/unit/test_locks.py @@ -139,14 +139,14 @@ class LockTests(unittest.TestCase): self.assertTrue(lock.isAvailable(req1,...
tests: Fix typo in lock unit test
buildbot_buildbot
train
2432942e17405976022976098c9ec0bf79f7c97b
diff --git a/lib/xpay/payment.rb b/lib/xpay/payment.rb index <HASH>..<HASH> 100644 --- a/lib/xpay/payment.rb +++ b/lib/xpay/payment.rb @@ -95,6 +95,8 @@ module Xpay else # ALL other cases, payment declined rt = REXML::XPath.first(@response_xml, "//Result").text.to_i end + else + ...
fixed bug with return code in non ST3DCARDQUERY requests
vpacher_xpay
train
e79acde57fc122000ea87bd08c78ff06d65534f9
diff --git a/Readme.md b/Readme.md index <HASH>..<HASH> 100644 --- a/Readme.md +++ b/Readme.md @@ -79,7 +79,6 @@ The available options are: * `timeout`: how long to wait for page loads or wait periods, default `5000` ms. * `interval`: how frequently to poll for page load state, default `50` ms. - * `port`: ...
Remove vestigial port option node-phantom-simple no longer uses the option resolves #<I>
johntitus_node-horseman
train
9e9375fe7c8bdda31d6d0626b9e34d40b4bce250
diff --git a/.gitignore b/.gitignore index <HASH>..<HASH> 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store app/libraries/plugins/* -app/tmp/* \ No newline at end of file +app/resources/tmp/* \ No newline at end of file diff --git a/libraries/lithium/tests/cases/console/DispatcherTest.php b/libraries...
cleaning up some tests and adding resources to gitignore
UnionOfRAD_framework
train
1e14d9d4e7f43b67d35d5f994a3b0e3177b31447
diff --git a/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java b/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/rest/ModeShapeRestServiceTest.java index <HASH>..<HASH> 100644 --- a/web/modeshape-web-jcr-rest-war/src/test/java/org/modeshape/web/jcr/...
MODE-<I> Fixed the handling of multiple selectors for the REST service queries.
ModeShape_modeshape
train
4f78a042ff5428da9c2a430af7ea2249b29962e8
diff --git a/lib/dusen/util.rb b/lib/dusen/util.rb index <HASH>..<HASH> 100644 --- a/lib/dusen/util.rb +++ b/lib/dusen/util.rb @@ -118,7 +118,7 @@ module Dusen #end def normalize_word_boundaries(text) - unwanted_mysql_boundary = /[\.;]/ + unwanted_mysql_boundary = /[\.;\-]/ text.gsub(unwant...
don't use dashes as a word boundary
makandra_dusen
train
65718282d2dd7bc9194f8fae94a9f445694dd2e3
diff --git a/LiSE/LiSE/allegedb/__init__.py b/LiSE/LiSE/allegedb/__init__.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/allegedb/__init__.py +++ b/LiSE/LiSE/allegedb/__init__.py @@ -1308,8 +1308,8 @@ class ORM: # Maybe I need another loadedness dict that gives the two # keyframes I am between and gets upke...
Factor away loaded_keep_test
LogicalDash_LiSE
train
68890d39c9e25bccdd83407cfa6a12800093e432
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,7 @@ +* Raise an error instead of scanning the filesystem root when `fixture_path` is blank. + + *Gannon McGibbon*, *Max Albrecht* + * Allow `...
Raise an error when loading all fixtures from nil fixture_path [Gannon McGibbon + Max Albrecht]
rails_rails
train
25f8a25c3ea107dcd0688307ac0ce19c4306f6b4
diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/core_ext/time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/time/calculations.rb @@ -53,13 +53...
Added next_week and made beginning_of_week be a Monday, not a Sunday git-svn-id: <URL>
rails_rails
train
2580c0bcb4bb120d9440e365f9933e07c986eda3
diff --git a/d1_client_cli/src/d1_client_cli/dataone.py b/d1_client_cli/src/d1_client_cli/dataone.py index <HASH>..<HASH> 100755 --- a/d1_client_cli/src/d1_client_cli/dataone.py +++ b/d1_client_cli/src/d1_client_cli/dataone.py @@ -224,6 +224,8 @@ class DataONECLI(): sysmeta = self._create_system_metadata(pid, expa...
Redmine #<I> & #<I> - Implement "delete" and "update" commands in CLI.
DataONEorg_d1_python
train
a40c5e237b42e7aff1580801b68ba099e7e70751
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. For information on changes in GLFW itself, see the [GLFW version history](https://www.glfw.org/changelog.html). +## [1.10.0...
Update package version to <I>
FlorianRhiem_pyGLFW
train
1b21eb3e5f7eebc04dd93077238a8cf3ab02645a
diff --git a/src/Listeners/Filesystem/LoadsRoutes.php b/src/Listeners/Filesystem/LoadsRoutes.php index <HASH>..<HASH> 100644 --- a/src/Listeners/Filesystem/LoadsRoutes.php +++ b/src/Listeners/Filesystem/LoadsRoutes.php @@ -53,7 +53,9 @@ class LoadsRoutes extends AbstractTenantDirectoryListener $router->group...
fixed several version incompatibility issues
tenancy_multi-tenant
train
af9f4d29e5d3315ad764e5c48a05ac59cf30fbe9
diff --git a/test/mailkick_test.rb b/test/mailkick_test.rb index <HASH>..<HASH> 100644 --- a/test/mailkick_test.rb +++ b/test/mailkick_test.rb @@ -32,6 +32,12 @@ class MailkickTest < Minitest::Test assert_equal 0, User.not_opted_out.count end + def test_user_opted_out_scope + user = User.create! + user...
Added test for #<I>
ankane_mailkick
train
9cb8e30b168d84e692c6114395007cbb1c80ee40
diff --git a/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.java b/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/painter/button/SegmentedButtonPainter.java index <HASH>..<HASH> 100644 --- a/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel...
Use convenience method to determine whether to use toolbar focus colors.
khuxtable_seaglass
train
b3d7d24fde27b43603c348cc58a1add11f0bac55
diff --git a/pytablereader/factory/_url.py b/pytablereader/factory/_url.py index <HASH>..<HASH> 100644 --- a/pytablereader/factory/_url.py +++ b/pytablereader/factory/_url.py @@ -32,15 +32,16 @@ from ._base import BaseTableLoaderFactory class TableUrlLoaderFactory(BaseTableLoaderFactory): + @property + def _...
Modify to use the base class constructor
thombashi_pytablereader
train
6596b6ca88b5bfb3722b97d33e7865baffb8bf91
diff --git a/src/NamelessCoder/Gizzle/Payload.php b/src/NamelessCoder/Gizzle/Payload.php index <HASH>..<HASH> 100644 --- a/src/NamelessCoder/Gizzle/Payload.php +++ b/src/NamelessCoder/Gizzle/Payload.php @@ -105,6 +105,23 @@ class Payload extends JsonDataMapper { } /** + * @param mixed $packageOrPackages + * @re...
[TASK] Implement Payload->process
NamelessCoder_gizzle
train
70cb11eefe58fc02ed10d95ec4a556e7ca0895cf
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,10 +7,10 @@ with open(os.path.join(here, 'README.rst')) as f: readme = f.read() with open(os.path.join(here, 'requirements.txt')) as f: - requires = f.read().split('\n') + requires = [req for req in f.read().s...
Remove empty string from requirements list When we moved to Python 3 we used this simpler method to read the requirements file. However we need to remove the empty/Falsey elements from the list. This fixes the error: ``` Failed building wheel for molo.commenting ```
praekeltfoundation_molo.commenting
train
0ff2546fa90f48377b284c0211138d952f4ab2b4
diff --git a/pgmpy/factors/Factor.py b/pgmpy/factors/Factor.py index <HASH>..<HASH> 100644 --- a/pgmpy/factors/Factor.py +++ b/pgmpy/factors/Factor.py @@ -517,10 +517,9 @@ class Factor: return Factor(self.scope(), self.cardinality, self.values) def __str__(self): - return self._str(phi_or_p='phi'...
remove html arg from _str method because not being used anywhere right now
pgmpy_pgmpy
train
3adeae64a795f376a69c3f4360a5baa305cc7df3
diff --git a/src/org/zaproxy/zap/extension/pscan/PassiveScanThread.java b/src/org/zaproxy/zap/extension/pscan/PassiveScanThread.java index <HASH>..<HASH> 100644 --- a/src/org/zaproxy/zap/extension/pscan/PassiveScanThread.java +++ b/src/org/zaproxy/zap/extension/pscan/PassiveScanThread.java @@ -105,31 +105,35 @@ public ...
Catch any pscan parser errors and carry on
zaproxy_zaproxy
train
bb22d2b66bfb65257a2220b4860d044f2cee9a22
diff --git a/lib/resultsEmitter.js b/lib/resultsEmitter.js index <HASH>..<HASH> 100644 --- a/lib/resultsEmitter.js +++ b/lib/resultsEmitter.js @@ -24,7 +24,7 @@ module.exports = function resultsEmitter(results) { console.error("ERROR", error); }, () => { - emitter.emit('end') + emitter.emit('...
Special handling for oddball async tests that result in no output at all
bterlson_test262-harness
train
01a622b27c5e12f58a57dcc7b4890950b3aa7902
diff --git a/src/prompts/question-names.js b/src/prompts/question-names.js index <HASH>..<HASH> 100644 --- a/src/prompts/question-names.js +++ b/src/prompts/question-names.js @@ -10,5 +10,6 @@ export const questionNames = { COPYRIGHT_HOLDER: 'copyrightHolder', COPYRIGHT_YEAR: 'copyrightYear', PROJECT_TYPE: 'pr...
ci(addons): removed the extra config hoping that its no longer needed with the latest node-git version
travi_project-scaffolder
train
5a44bea54a1c4b6524add562c00e26e7e3f42ceb
diff --git a/klue_microservice/exceptions.py b/klue_microservice/exceptions.py index <HASH>..<HASH> 100644 --- a/klue_microservice/exceptions.py +++ b/klue_microservice/exceptions.py @@ -18,6 +18,10 @@ class KlueMicroServiceException(KlueException): user_message = None error_caught = None + def tell_user...
Added 'tell_user' on klue exceptions, as a convenient way to set 'user_message'
pymacaron_pymacaron
train
c2bfb87943eda5c3c51ec7fcc5a7b26ab9de7d5b
diff --git a/lib/cql.js b/lib/cql.js index <HASH>..<HASH> 100644 --- a/lib/cql.js +++ b/lib/cql.js @@ -355,26 +355,26 @@ exports.CQL = CQL; //////// SELECT -var q = new CQL('selecting something'); +// var q = new CQL('selecting something'); -q.select(['first_name', 'birth_year']) -q.from('users'); -q.first(10); ...
Comment a few more tests out.
studybreak_casio
train
a14ae26a6327ff6e72cdf3d5de1290f18e2dd449
diff --git a/src/Route.php b/src/Route.php index <HASH>..<HASH> 100644 --- a/src/Route.php +++ b/src/Route.php @@ -19,6 +19,8 @@ namespace SlaxWeb\Router; * @property callable $action * @property bool $isDefault * @property bool $is404 + * @property string $preDispatch + * @property string $afterDispatch */ cl...
add property docblock notation for pre/after dispatch hook props
SlaxWeb_Router
train
ffd0f9feca37048d1a8feb303103fedc4eff4d96
diff --git a/core/src/main/java/io/grpc/inprocess/InProcessSocketAddress.java b/core/src/main/java/io/grpc/inprocess/InProcessSocketAddress.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/io/grpc/inprocess/InProcessSocketAddress.java +++ b/core/src/main/java/io/grpc/inprocess/InProcessSocketAddress.java @@ -3...
inprocess: add a toString for InProcessSocketAddress The motivation here is in some cases we log the remote-addr that is set in the gRPC call attributes, and have to special case this type to support inprocess servers.
grpc_grpc-java
train
2d3f1be46eebf47d1b7188cdd33d31882fee7235
diff --git a/guava-tests/test/com/google/common/cache/LocalCacheTest.java b/guava-tests/test/com/google/common/cache/LocalCacheTest.java index <HASH>..<HASH> 100644 --- a/guava-tests/test/com/google/common/cache/LocalCacheTest.java +++ b/guava-tests/test/com/google/common/cache/LocalCacheTest.java @@ -61,7 +61,6 @@ imp...
Automated rollback of a<I>ef6b<I>b<I>fe<I>c<I>e3db6a8a<I>f<I>e. It looks like the original change can cause an infinite loop in LocalCache.LoadingValueReference.get(). ------------- Created by MOE: <URL>
google_guava
train
e06fd39d7426f4b71033d97e17f751c8c4bbd4c9
diff --git a/src/sap.ui.support/test/sap/ui/support/integration/ui/AllJourneys.js b/src/sap.ui.support/test/sap/ui/support/integration/ui/AllJourneys.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.support/test/sap/ui/support/integration/ui/AllJourneys.js +++ b/src/sap.ui.support/test/sap/ui/support/integration/ui/AllJ...
[INTERNAL] Support Assistant: Temporary disable integration tests Temporary removing journeys PresetsImportJourney and TemporaryRulesJourney to unblock failing voters. Change-Id: Ie<I>d<I>ae<I>e5d<I>f<I>daa2e6db<I> BCP: <I>
SAP_openui5
train
c4da83ad8724147ec103c89094fb95ba5972878b
diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/inspector.py +++ b/spyderlib/plugins/inspector.py @@ -28,7 +28,14 @@ from spyderlib.widgets.sourcecode import codeeditor from spyderlib.widgets.findreplace import FindReplace from spyderli...
Quick hack to fix Spyder on systems without IPython after revision ed<I>fdc<I>a Update Issue <I> This fixes Spyder running without IPython, but there should be a way to get/set shell without requiring IPython import at all. Nice to see the IPython support moving on - keep it up. =)
spyder-ide_spyder
train
a4c17dfb19b1c1bfe1e380da72b1364f31cfd7a9
diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.py index <HASH>..<HASH> 100644 --- a/_pytest/assertion/rewrite.py +++ b/_pytest/assertion/rewrite.py @@ -41,6 +41,7 @@ class AssertionRewritingHook(object): def __init__(self): self.session = None self.modules = {} + sel...
Register the AssertionRewritingHook loader with pkg_resources; fixes #<I>.
pytest-dev_pytest
train
46361f6ab163e289eda9369df22d5c260b484eac
diff --git a/lib/neo4j/core/cypher_session/adaptors.rb b/lib/neo4j/core/cypher_session/adaptors.rb index <HASH>..<HASH> 100644 --- a/lib/neo4j/core/cypher_session/adaptors.rb +++ b/lib/neo4j/core/cypher_session/adaptors.rb @@ -90,7 +90,12 @@ ERROR end def query(session, *args) - optio...
Improve readability of options parsing in Adaptors::Base#query
neo4jrb_neo4j-core
train
fc74f29b0231eb09f0fcca21ca3002fc22628ca3
diff --git a/print.go b/print.go index <HASH>..<HASH> 100644 --- a/print.go +++ b/print.go @@ -251,6 +251,7 @@ func (p *printer) commentsUpTo(pos Pos) { if pos > 0 && c.Hash >= pos { return } + p.comments = p.comments[1:] p.wantNewline = false if p.nlineIndex == 0 { p.incLines(c.Hash) @@ -261,7 +262,6 @@ ...
print: clear comment before doing it Just like 5bc0eb<I>, if we don't do it immediately we might do it multiple times if recursing into a subshell in a heredoc body. Either the printing or the parsing is wrong (see the TODO), but at least the crash is gone.
mvdan_sh
train
c510d77a8ac043fb23f73584ba062cf18a0aab14
diff --git a/decode_response.go b/decode_response.go index <HASH>..<HASH> 100644 --- a/decode_response.go +++ b/decode_response.go @@ -55,9 +55,10 @@ func (sp *SAMLServiceProvider) ValidateEncodedResponse(encodedResponse string) ( var decryptCert tls.Certificate - if crt, ok := sp.SPKeyStore.(dsig.TLSCertKeyStore...
Use a type switch for better clarity
russellhaering_gosaml2
train
d7a96db65c1f305cffb9909b32fdea1498eb2f5a
diff --git a/src/WebMidi.js b/src/WebMidi.js index <HASH>..<HASH> 100644 --- a/src/WebMidi.js +++ b/src/WebMidi.js @@ -716,7 +716,9 @@ class WebMidi extends EventEmitter { } this.emit(e.port.state, event); - this.emit("portschanged", event); + + event.type = "portschanged"; + this.emit(ev...
Fix "portschanged" event type
djipco_webmidi
train
58c127bcf76886ed37ec3cf97675aec63eda362c
diff --git a/src/FormBuilder.php b/src/FormBuilder.php index <HASH>..<HASH> 100644 --- a/src/FormBuilder.php +++ b/src/FormBuilder.php @@ -1298,7 +1298,7 @@ class FormBuilder && is_null($old) && is_null($value) && !is_null($this->view->shared('errors')) - ...
Add compatibility with >=<I> for tests
LaravelCollective_html
train
87373787e27f446b6300ac6b4a760eb864b80a1a
diff --git a/command/agent/config.go b/command/agent/config.go index <HASH>..<HASH> 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -553,7 +553,7 @@ func MergeConfig(a, b *Config) *Config { if b.DNSConfig.MaxStale != 0 { result.DNSConfig.MaxStale = b.DNSConfig.MaxStale } - if b.CheckUpdateI...
agent: Fixing merge of CheckUpdateInterval
hashicorp_consul
train
585fbc0bf2fd448c5be6bee24f942e044e3ac3a2
diff --git a/src/main/java/com/cloudbees/jenkins/support/SupportPlugin.java b/src/main/java/com/cloudbees/jenkins/support/SupportPlugin.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/cloudbees/jenkins/support/SupportPlugin.java +++ b/src/main/java/com/cloudbees/jenkins/support/SupportPlugin.java @@ -38,6 +38,...
Suppress PeriodicWorkImpl during functional tests.
jenkinsci_support-core-plugin
train
1d6088f9e9630baa4e85931746321bce85e0b3af
diff --git a/polyaxon_schemas/project.py b/polyaxon_schemas/project.py index <HASH>..<HASH> 100644 --- a/polyaxon_schemas/project.py +++ b/polyaxon_schemas/project.py @@ -18,6 +18,7 @@ class ExperimentGroupSchema(Schema): description = fields.Str(allow_none=True) content = fields.Str(allow_none=True) gro...
Add search_algorithm to group schema
polyaxon_polyaxon
train
f932036fb57a9ac88ecbf669c7500e1fbb7e418b
diff --git a/svgpathtools/parser.py b/svgpathtools/parser.py index <HASH>..<HASH> 100644 --- a/svgpathtools/parser.py +++ b/svgpathtools/parser.py @@ -80,8 +80,7 @@ def parse_path(pathdef, current_pos=0j): segments.append(Line(current_pos, start_pos)) segments.closed = True cu...
After Z, next subpath starts at same position (#<I>) * After Z, next subpath starts at same position Fixes #<I> * removed old comment to mirror new behavior
mathandy_svgpathtools
train
9afaad4d9ade828cc87f7e22e20351f6cdfba8b8
diff --git a/tests/LinearAlgebra/SquareMatrixTest.php b/tests/LinearAlgebra/SquareMatrixTest.php index <HASH>..<HASH> 100644 --- a/tests/LinearAlgebra/SquareMatrixTest.php +++ b/tests/LinearAlgebra/SquareMatrixTest.php @@ -1,9 +1,12 @@ <?php namespace MathPHP\LinearAlgebra; +use MathPHP\Exception; + class SquareMa...
Add unit test for SquareMatrix Exception.
markrogoyski_math-php
train
d2005889f8835bee9ac4d0752e812f0b3bcd3f34
diff --git a/lib/cliqr/version.rb b/lib/cliqr/version.rb index <HASH>..<HASH> 100644 --- a/lib/cliqr/version.rb +++ b/lib/cliqr/version.rb @@ -1,3 +1,4 @@ +# Versioned gem module Cliqr VERSION = '0.0.1' end
adding missing comment in version.rb
anshulverma_cliqr
train
536dce3651bf3b54e19715b889a0386254b7e7f4
diff --git a/cassandra/query.py b/cassandra/query.py index <HASH>..<HASH> 100644 --- a/cassandra/query.py +++ b/cassandra/query.py @@ -357,7 +357,7 @@ class BatchStatement(Statement): if isinstance(statement, basestring): if parameters: self._statements_and_parameters.append( - ...
Encode params but don't bind for batch statements
datastax_python-driver
train
cec83d8d5544b57bba6e9d11a499d9f6aae5c7ca
diff --git a/processor/src/main/java/org/robolectric/annotation/processing/validator/SdkStore.java b/processor/src/main/java/org/robolectric/annotation/processing/validator/SdkStore.java index <HASH>..<HASH> 100644 --- a/processor/src/main/java/org/robolectric/annotation/processing/validator/SdkStore.java +++ b/process...
Support loading SDK jars as resources.
robolectric_robolectric
train
62e468448bcf85f971614d3a289dd85fbd6b6de2
diff --git a/salt/transport/tcp.py b/salt/transport/tcp.py index <HASH>..<HASH> 100644 --- a/salt/transport/tcp.py +++ b/salt/transport/tcp.py @@ -593,23 +593,22 @@ class TCPReqServerChannel(salt.transport.mixins.auth.AESReqServerMixin, salt.tra self.payload_handler = payload_handler self.io_loop = io...
handle new _create_stream in tornado <I> In tornado <I>, this _create_stream function now returns a tuple instead of just the stream.connect() object. So since we are overriding it, we need to update. Also initialize the SaltMessageServer with the current io_loop set.
saltstack_salt
train
f685c92f0126001cd3e8186d73caa3883ff0bbdd
diff --git a/lib/paper_trail/has_paper_trail.rb b/lib/paper_trail/has_paper_trail.rb index <HASH>..<HASH> 100644 --- a/lib/paper_trail/has_paper_trail.rb +++ b/lib/paper_trail/has_paper_trail.rb @@ -111,7 +111,8 @@ module PaperTrail def record_destroy if switched_on? and not new_record? - Ver...
Fix vague problem with Rails 3 associations on destroyed object. NOTE: there is no test for this :( See <URL>
paper-trail-gem_paper_trail
train
62c8876193b5a25ecb5eec70d23750090b9d2984
diff --git a/lib/typhoeus/remote_method.rb b/lib/typhoeus/remote_method.rb index <HASH>..<HASH> 100644 --- a/lib/typhoeus/remote_method.rb +++ b/lib/typhoeus/remote_method.rb @@ -12,6 +12,7 @@ module Typhoeus @cache_responses = options.delete(:cache_responses) @memoize_responses = options.delete(:memoiz...
Fixed a uninitialized variable warning when running ruby -w
typhoeus_typhoeus
train
40dfe87a28e9cfee2c84cac0a4cd7bd48138c79c
diff --git a/src/MultiSelectListBox.php b/src/MultiSelectListBox.php index <HASH>..<HASH> 100644 --- a/src/MultiSelectListBox.php +++ b/src/MultiSelectListBox.php @@ -27,6 +27,8 @@ class MultiSelectListBox extends MultiSelect * Registers MultiSelect JQuery plugin and the related events * @throws InvalidPara...
Updates MultiSelectListBox.php Fixed attribute multiple for select list. Without this attribute some browser consider first value as selected by default
2amigos_yii2-multi-select-widget
train
48ca94b9a7b61c4e1201d87c338edb2410515959
diff --git a/lib/reform/form.rb b/lib/reform/form.rb index <HASH>..<HASH> 100644 --- a/lib/reform/form.rb +++ b/lib/reform/form.rb @@ -58,6 +58,7 @@ module Reform options.each do |mdl, meths| accessors = meths.collect { |m| [m, "#{m}="] }.flatten delegate *accessors, to: "@#{mdl}" + ...
add readers for the objects in Composition.
trailblazer_reform
train
046d827784d5abd6e1b37881a1e2855bf83cd217
diff --git a/src/ol/geom/flat/interiorpoint.js b/src/ol/geom/flat/interiorpoint.js index <HASH>..<HASH> 100644 --- a/src/ol/geom/flat/interiorpoint.js +++ b/src/ol/geom/flat/interiorpoint.js @@ -24,18 +24,20 @@ ol.geom.flat.interiorpoint.linearRings = function(flatCoordinates, offset, /** @type {Array.<number>} */ ...
Make interiorpoint work with donut polygons
openlayers_openlayers
train
6e4788efe4229cac06ecf459394e1488b7877b92
diff --git a/test/test_fallback.py b/test/test_fallback.py index <HASH>..<HASH> 100644 --- a/test/test_fallback.py +++ b/test/test_fallback.py @@ -11,4 +11,5 @@ def test_fallback(eng): raise ValueError(new_sc.defaultParallelism) sc = test_func(eng) - assert sc.defaultParallelism == target_cores \ No ...
bugfix need to stop new sc in tests
boazmohar_pySparkUtils
train
d5636704054c447d06378587a66da604bd393165
diff --git a/benchexec/cgroups.py b/benchexec/cgroups.py index <HASH>..<HASH> 100644 --- a/benchexec/cgroups.py +++ b/benchexec/cgroups.py @@ -120,7 +120,10 @@ def _parse_proc_pid_cgroup(content): for ownCgroup in content: #each line is "id:subsystem,subsystem:path" ownCgroup = ownCgroup.strip()....
Better exception message for debugging.
sosy-lab_benchexec
train
35c3b53c1cb89867226afaa4e0122ee3b41a3c2e
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -467,7 +467,7 @@ MediaSession.prototype = extend(MediaSession.prototype, { ssrcs = ssrcs.concat(newSSRCs); newDesc.contents[idx].description.sources = JSON.parse(JSON.stringify(ssrcs)); - ...
typo caused ssrc-groups to be ignored
otalk_jingle-media-session
train
fa6f273677f8d665c0dad1283883111e626be29e
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaFile.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaFile.java index <HASH>..<HASH> 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/JavaFile.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Jav...
SONAR-<I> Dollars ($) are not accepted in java class names
SonarSource_sonarqube
train
63b59ca336cbe7de8b8eda6c98394269e18721c0
diff --git a/examples/todo/js/behaviors/todo.js b/examples/todo/js/behaviors/todo.js index <HASH>..<HASH> 100755 --- a/examples/todo/js/behaviors/todo.js +++ b/examples/todo/js/behaviors/todo.js @@ -127,9 +127,7 @@ Application.addBehavior('todo', function(context) { todosDB.markAsIncomplete(todoId); } - ...
Apply or remove completed class when select all is clicked. Fixes #<I>.
box_t3js
train
a87e1834e6349a420caddc4add13435d0388b37c
diff --git a/docs/assert.md b/docs/assert.md index <HASH>..<HASH> 100644 --- a/docs/assert.md +++ b/docs/assert.md @@ -458,6 +458,21 @@ munit( 'test', function( assert ) { ``` +### dateBetween + +Tests that a Date object is between a lower Date and an upper Date. + +``` +.dateBetween( name, actual, lower, upper ) ...
Added dateBetween assertion
codenothing_munit
train
17ddd545c8734d5baac552d62b6f3b59400a8076
diff --git a/astrocats/__init__.py b/astrocats/__init__.py index <HASH>..<HASH> 100644 --- a/astrocats/__init__.py +++ b/astrocats/__init__.py @@ -4,7 +4,7 @@ import os import sys -__version__ = '0.2.1' +__version__ = '0.2.2' __author__ = 'James Guillochon' __license__ = 'MIT' diff --git a/setup.py b/setup.py i...
ENH: setup now works, bumping to `<I>`
astrocatalogs_astrocats
train
01a39099b5f78ac9d84659dbec55911405fa53ba
diff --git a/chef/lib/chef/provider/deploy.rb b/chef/lib/chef/provider/deploy.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/provider/deploy.rb +++ b/chef/lib/chef/provider/deploy.rb @@ -51,7 +51,10 @@ class Chef def run(command, &block) exec = execute(command, &block) - exec.user(@ne...
Pass environment, group and cwd to run on deploy
chef_chef
train
ff2d130f06b4bf9baf300bbdac0b78e721c5fed7
diff --git a/src/LogfileOutput.js b/src/LogfileOutput.js index <HASH>..<HASH> 100644 --- a/src/LogfileOutput.js +++ b/src/LogfileOutput.js @@ -40,7 +40,7 @@ function LogfileOutput(path) { LogfileOutput.prototype.error = function(message) { - var output = "ERROR: " + message + "\n"; + var output = "*** ERROR: ...
android: Capture SDK output in logfile for failure analysis
crosswalk-project_crosswalk-app-tools
train
2e9a14e5e91d7cd7878b432179528f61b92afc79
diff --git a/utool/util_git.py b/utool/util_git.py index <HASH>..<HASH> 100755 --- a/utool/util_git.py +++ b/utool/util_git.py @@ -53,7 +53,8 @@ def gitcmd(repo, command, sudo=False): def std_build_command(repo): - """ My build script names. + """ + My standard build script names. Calls mingw_buil...
added compress homogenous shape to depth profile
Erotemic_utool
train
464027f9555418638025156a4ce76705cf4396b5
diff --git a/graftm/hmmsearcher.py b/graftm/hmmsearcher.py index <HASH>..<HASH> 100644 --- a/graftm/hmmsearcher.py +++ b/graftm/hmmsearcher.py @@ -1,7 +1,10 @@ import logging import extern -class NoInputSequencesException(Exception): pass +class NoInputSequencesException(Exception): + def __init__(self, command)...
graftm: Display failing command when reads are too short.
geronimp_graftM
train
7cf08baf76956c5df40da7514d03c3080ae2265f
diff --git a/ui/front/form.php b/ui/front/form.php index <HASH>..<HASH> 100644 --- a/ui/front/form.php +++ b/ui/front/form.php @@ -1,10 +1,6 @@ <?php wp_enqueue_style( 'pods-form' ); -if ( wp_script_is( 'pods', 'registered' ) && !wp_script_is( 'pods', 'done' ) ) { - wp_print_scripts( 'pods' ); -} - // unset fie...
Inline `wp_print_scripts` causes load order problems with script dependencies The dependency tree for the `pods` script has grown via its dependency on `pods-dfv` resulting in a script load-order bug: #<I>
pods-framework_pods
train
c0b2200496cedb2efa5a7a3e07c9bafdc8caef5f
diff --git a/lib/release-notes.js b/lib/release-notes.js index <HASH>..<HASH> 100644 --- a/lib/release-notes.js +++ b/lib/release-notes.js @@ -28,7 +28,7 @@ module.exports = class ReleaseNotes { /** * @param {object} context */ - constructor (context, { issueResolution, template, partials } = {}) { + const...
:sparkles: Provide a way to customize HBS helpers. #2
momocow_semantic-release-gitmoji
train
4ecb479a194d683fcce42b24ee29947bab943870
diff --git a/router/router.go b/router/router.go index <HASH>..<HASH> 100755 --- a/router/router.go +++ b/router/router.go @@ -18,6 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. package router import ( + "strconv" + "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/midd...
/token also with POST method
nerdzeu_nerdz-api
train
bd27b5c7e6ae2d9dcec3f36ecc0685d733111aea
diff --git a/shared/osarch/architectures.go b/shared/osarch/architectures.go index <HASH>..<HASH> 100644 --- a/shared/osarch/architectures.go +++ b/shared/osarch/architectures.go @@ -105,7 +105,7 @@ func ArchitectureId(arch string) (int, error) { } } - return 0, fmt.Errorf("Architecture isn't supported: %s", arc...
shared/osarch/architectures: Use ARCH_UNKNOWN rather than 0 in ArchitectureId
lxc_lxd
train
0bc2f0e83a8463d36d6fce989a20cbbd56a8dc47
diff --git a/tools/filetools.go b/tools/filetools.go index <HASH>..<HASH> 100644 --- a/tools/filetools.go +++ b/tools/filetools.go @@ -99,19 +99,6 @@ func CleanPaths(paths, delim string) (cleaned []string) { return cleaned } -// CleanPathsDefault cleans the paths contained in the given `paths` argument -// delimit...
CleanPathsDefault() is unused
git-lfs_git-lfs
train
26f72f50cfbdc3a2293281aecfb372fe4521e482
diff --git a/config/config.go b/config/config.go index <HASH>..<HASH> 100644 --- a/config/config.go +++ b/config/config.go @@ -5,6 +5,7 @@ package config import ( "errors" "fmt" + "os" "reflect" "strconv" "strings" @@ -469,6 +470,30 @@ func (c *Configuration) UrlAliases() map[string]string { return c.urlAl...
handle cases where someone has multiple url.*.insteadof keys with the same alias value
git-lfs_git-lfs
train
0cc49ece4ace8b26e771bbc20f11e5ad1be8a680
diff --git a/server/sublist.go b/server/sublist.go index <HASH>..<HASH> 100644 --- a/server/sublist.go +++ b/server/sublist.go @@ -615,42 +615,60 @@ func matchLiteral(literal, subject string) bool { if li >= ll { return false } - b := subject[i] - switch b { + // This function has been optimized for speed....
Improve matchLiteral further and add some more tests
nats-io_gnatsd
train
8d54acd00372f6c031d6f64f201236cb99e88feb
diff --git a/tests/phpunit/ImboIntegrationTest/Storage/S3Test.php b/tests/phpunit/ImboIntegrationTest/Storage/S3Test.php index <HASH>..<HASH> 100644 --- a/tests/phpunit/ImboIntegrationTest/Storage/S3Test.php +++ b/tests/phpunit/ImboIntegrationTest/Storage/S3Test.php @@ -49,4 +49,19 @@ class S3Test extends StorageTests ...
Added some tests for the getStatus method
imbo_imbo
train
ae0a064f3fb9768660b5325e105701faef4e4a10
diff --git a/lib/jekyll/collection.rb b/lib/jekyll/collection.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/collection.rb +++ b/lib/jekyll/collection.rb @@ -153,7 +153,7 @@ module Jekyll # # Returns the inspect string def inspect - "#<Jekyll::Collection @label=#{label} docs=#{docs}>" + "#<#{s...
Output correct class name in custom inspect string
jekyll_jekyll
train
8b8b65c987dc3ef289840a337b81f56c433effee
diff --git a/src/adapter/saveto.js b/src/adapter/saveto.js index <HASH>..<HASH> 100644 --- a/src/adapter/saveto.js +++ b/src/adapter/saveto.js @@ -35,6 +35,7 @@ KM.registerToolbarUI( 'saveto', function ( name ) { var a = document.createElement( 'a' ); a.setAttribute( 'download', filename ); a...
fix download bug in chrome <I>
fex-team_kityminder-core
train
d0760c53da1058b278fff3cbb5861c631e57d2b9
diff --git a/src/org/openscience/cdk/test/io/MDLReaderTest.java b/src/org/openscience/cdk/test/io/MDLReaderTest.java index <HASH>..<HASH> 100644 --- a/src/org/openscience/cdk/test/io/MDLReaderTest.java +++ b/src/org/openscience/cdk/test/io/MDLReaderTest.java @@ -36,6 +36,7 @@ import junit.framework.TestCase; import ju...
Added tests to make sure the first line of MDL molfiles is taken as title (which was already the case) git-svn-id: <URL>
cdk_cdk
train
687026e00a0809dd8a836095c3d760ddc4cc1a08
diff --git a/addon/tern/tern.js b/addon/tern/tern.js index <HASH>..<HASH> 100644 --- a/addon/tern/tern.js +++ b/addon/tern/tern.js @@ -239,9 +239,18 @@ var lex = inner.state.lexical; if (lex.info != "call") return; - var ch = lex.column, pos = lex.pos || 0; - for (var line = cm.getCursor().line, e = M...
[tern addon] Compensate for fact that call start pos is a column, not char offset Closes #<I>
codemirror_CodeMirror
train
be29193c5d74e6b95d32bb18b3abebf3ba10d2e6
diff --git a/src/main/java/skadistats/clarity/processor/entities/Entities.java b/src/main/java/skadistats/clarity/processor/entities/Entities.java index <HASH>..<HASH> 100644 --- a/src/main/java/skadistats/clarity/processor/entities/Entities.java +++ b/src/main/java/skadistats/clarity/processor/entities/Entities.java @...
Fix bug where EntityCreated would only be raised if EntityUpdated was listened to
skadistats_clarity
train