diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cgutils/cgroup.py b/cgutils/cgroup.py
index <HASH>..<HASH> 100644
--- a/cgutils/cgroup.py
+++ b/cgutils/cgroup.py
@@ -24,7 +24,7 @@ import errno
from cgutils import host
from cgutils import process
-from . import fileops
+from cgutils import fileops
if sys.version_info.major == 3: | cgroup: tweak for doctest |
diff --git a/pymacaron/test.py b/pymacaron/test.py
index <HASH>..<HASH> 100644
--- a/pymacaron/test.py
+++ b/pymacaron/test.py
@@ -38,6 +38,8 @@ class PyMacaronTestCase(testcase.PyMacaronTestCase):
super().setUp()
self.maxDiff = None
self.host, self.port, self.token = load_port_host_token()
+... | Add base_url as attribute to PyMacaronTestCase instance |
diff --git a/src/Str.php b/src/Str.php
index <HASH>..<HASH> 100644
--- a/src/Str.php
+++ b/src/Str.php
@@ -568,6 +568,8 @@ final class Str implements \Countable {
*
* This operation is case-sensitive
*
+ * The empty string (as a search string) is not considered to be a part of any other string
+ *
* If th... | Clarify existing behavior of 'beforeFirst' with empty needle |
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -34,6 +34,7 @@ import salt.utils.event
import salt.utils.atomicfile
import salt.utils.thin
import salt.utils.verify
+import salt.utils.validate.ssh... | Add the ssh version to the opts |
diff --git a/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js b/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js
index <HASH>..<HASH> 100644
--- a/packages/node_modules/@webex/plugin-meetings/test/unit/spec/meeting/index.js
+++ b/packages/node_modules/@webex/plugi... | fix(meeting): fix uts |
diff --git a/cumulusci/tasks/robotframework/lint.py b/cumulusci/tasks/robotframework/lint.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/robotframework/lint.py
+++ b/cumulusci/tasks/robotframework/lint.py
@@ -46,9 +46,9 @@ class RobotLint(BaseTask):
W: 2, 0: No suite documentation (RequireSuiteDocumentat... | Fixed a typo in a docstring |
diff --git a/Swat/SwatTableViewColumn.php b/Swat/SwatTableViewColumn.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatTableViewColumn.php
+++ b/Swat/SwatTableViewColumn.php
@@ -609,6 +609,9 @@ class SwatTableViewColumn extends SwatCellRendererContainer
$first = true;
foreach ($this->renderers as $renderer) {
+ ... | Fix problem where invisible cell-renderers were still outputting an empty
wrapper div (this would only occur for columns with more than one renderer,
one or more of which was invisible)
svn commit r<I> |
diff --git a/skflow/io/dask_io.py b/skflow/io/dask_io.py
index <HASH>..<HASH> 100644
--- a/skflow/io/dask_io.py
+++ b/skflow/io/dask_io.py
@@ -38,6 +38,14 @@ def _get_divisions(df):
divisions.insert(0, 0)
return divisions
+def _construct_dask_df_with_divisions(df):
+ divisions = _get_divisions(df)
+ n... | + _construct_dask_df_with_divisions for dask_io |
diff --git a/state/vm_app_state.go b/state/vm_app_state.go
index <HASH>..<HASH> 100644
--- a/state/vm_app_state.go
+++ b/state/vm_app_state.go
@@ -229,8 +229,13 @@ func (vas *VMAppState) Sync() {
if deleted {
continue
}
- storageRoot := currentAccount.StorageRoot
- storage.Load(storageRoot.Bytes())
+ ... | Check StorageRoot for Zero before state.Load() again. Closes #<I> |
diff --git a/app-web/BitTorrentTracker.php b/app-web/BitTorrentTracker.php
index <HASH>..<HASH> 100644
--- a/app-web/BitTorrentTracker.php
+++ b/app-web/BitTorrentTracker.php
@@ -917,7 +917,6 @@ class BitTorrentTracker_Request extends Request
}
class BitTorrentTracker_TorrentImporter extends Request
{
- public $init... | Little cleanup (removed some unused properties). |
diff --git a/src/Resque/Worker.php b/src/Resque/Worker.php
index <HASH>..<HASH> 100644
--- a/src/Resque/Worker.php
+++ b/src/Resque/Worker.php
@@ -257,7 +257,7 @@ class Worker {
$this->queueDelayed();
if ($this->blocking) {
- $this->log('Pop blocking with timeout of '.$this->interval_string(), Logger::INFO... | Change worker wait log level to DEBUG from INFO
This is a bit subjective, but having "Pop blocking ..." or "Sleeping ..." flooding the logs is undesirable in production environments, but I do want INFO level logs for things such as job success. Bumping it down to DEBUG just reduces the rate at which the logs grow sign... |
diff --git a/calendar/lib.php b/calendar/lib.php
index <HASH>..<HASH> 100644
--- a/calendar/lib.php
+++ b/calendar/lib.php
@@ -1252,8 +1252,6 @@ function calendar_get_default_courses($ignoreref = false) {
else {
$courses = get_my_courses($USER->id, 'visible DESC', null, false);
}
- // Make sure gl... | MDL-<I>: Fixed bug in previous commits.
- warnings being displayed in developer mode.
- caused by patch from patch series not being applied. |
diff --git a/src/String/StringTools.php b/src/String/StringTools.php
index <HASH>..<HASH> 100644
--- a/src/String/StringTools.php
+++ b/src/String/StringTools.php
@@ -107,6 +107,7 @@ class StringTools
public static function makePlural($singular)
{
$singulars = [
+ 'ey' => 'eys',
... | Updating the string replacement to support for "ey" |
diff --git a/pages/Favorites/components/FavoritesList/style.js b/pages/Favorites/components/FavoritesList/style.js
index <HASH>..<HASH> 100644
--- a/pages/Favorites/components/FavoritesList/style.js
+++ b/pages/Favorites/components/FavoritesList/style.js
@@ -13,6 +13,7 @@ import variables from 'Styles/variables';
cons... | CON-<I> - additional gap on top of favorites page |
diff --git a/core/eolearn/tests/test_eodata.py b/core/eolearn/tests/test_eodata.py
index <HASH>..<HASH> 100644
--- a/core/eolearn/tests/test_eodata.py
+++ b/core/eolearn/tests/test_eodata.py
@@ -294,7 +294,7 @@ class TestSavingLoading(unittest.TestCase):
eopatch.save(tmpdirname, file_format='npy')
... | Disable mmap in tests, otherwise a temporary directory cannot be deleted on Windows |
diff --git a/extensions/jupyter_shoebot/shoebot_kernel/kernel.py b/extensions/jupyter_shoebot/shoebot_kernel/kernel.py
index <HASH>..<HASH> 100644
--- a/extensions/jupyter_shoebot/shoebot_kernel/kernel.py
+++ b/extensions/jupyter_shoebot/shoebot_kernel/kernel.py
@@ -34,12 +34,12 @@ class ShoebotKernel(Kernel):
... | Errors are now properly caught |
diff --git a/tools/phantomjs/render.js b/tools/phantomjs/render.js
index <HASH>..<HASH> 100644
--- a/tools/phantomjs/render.js
+++ b/tools/phantomjs/render.js
@@ -57,7 +57,7 @@
var rootScope = body.injector().get('$rootScope');
if (!rootScope) {return false;}
- var panels = angular.elem... | Phantom render.js is incorrectly retrieving number of active panels (#<I>)
Fixes #<I> |
diff --git a/activerecord/lib/active_record/associations/belongs_to_association.rb b/activerecord/lib/active_record/associations/belongs_to_association.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/belongs_to_association.rb
+++ b/activerecord/lib/active_record/associations/belongs_to_... | Every foreign_key column is supposed to be a public method |
diff --git a/spec/lib/finders/finder/enumerator_spec.rb b/spec/lib/finders/finder/enumerator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/finders/finder/enumerator_spec.rb
+++ b/spec/lib/finders/finder/enumerator_spec.rb
@@ -172,7 +172,7 @@ describe CMSScanner::Finders::Finder::Enumerator do
stub_reque... | Adds specs to ensure --exclude-content-based works with negative patterns |
diff --git a/lib/accessly.rb b/lib/accessly.rb
index <HASH>..<HASH> 100644
--- a/lib/accessly.rb
+++ b/lib/accessly.rb
@@ -1,5 +1,6 @@
require "accessly/version"
require "accessly/query"
+require "accessly/policy/base"
require "accessly/permission/grant"
require "accessly/permission/revoke"
require "accessly/model... | we need to export our base policy on the gem |
diff --git a/Gulpfile.js b/Gulpfile.js
index <HASH>..<HASH> 100644
--- a/Gulpfile.js
+++ b/Gulpfile.js
@@ -12,7 +12,7 @@ var PACKAGE_SEARCH_PATH = (process.env.NODE_PATH ? process.env.NODE_PATH + path.
gulp.task('clean', function () {
- return del(['lib', '.screenshots']);
+ return del('lib');
});
gulp.t... | Refactor tests (closes #3) (#4) |
diff --git a/cmd/swarm/swarm-snapshot/create_test.go b/cmd/swarm/swarm-snapshot/create_test.go
index <HASH>..<HASH> 100644
--- a/cmd/swarm/swarm-snapshot/create_test.go
+++ b/cmd/swarm/swarm-snapshot/create_test.go
@@ -21,6 +21,7 @@ import (
"fmt"
"io/ioutil"
"os"
+ "runtime"
"sort"
"strconv"
"strings"
@@ -... | cmd/swarm/swarm-snapshot: disable tests on windows (#<I>) |
diff --git a/cbamf/opt/optimize.py b/cbamf/opt/optimize.py
index <HASH>..<HASH> 100644
--- a/cbamf/opt/optimize.py
+++ b/cbamf/opt/optimize.py
@@ -147,9 +147,9 @@ def update_state_global(s, block, data, keep_time=True, **kwargs):
#pos:
bpos = s.create_block('pos')
if (bpos & block).sum() > 0:
- ra... | adding positional support for lm optimization in update state globals |
diff --git a/transport/grpc/doc.go b/transport/grpc/doc.go
index <HASH>..<HASH> 100644
--- a/transport/grpc/doc.go
+++ b/transport/grpc/doc.go
@@ -85,7 +85,7 @@
// myTransportCredentials := credentials.NewTLS(myTLSConfig)
// myChooser := peer.NewSingle(
// hostport.Identify("127.0.0.1:4443"),
-// t.NewDi... | copypasta error in transport/grpc/doc.go (#<I>)
The example was unclear and resulted in a question from a user. This clarifies it. |
diff --git a/python/ray/rllib/models/catalog.py b/python/ray/rllib/models/catalog.py
index <HASH>..<HASH> 100644
--- a/python/ray/rllib/models/catalog.py
+++ b/python/ray/rllib/models/catalog.py
@@ -132,7 +132,8 @@ class ModelCatalog(object):
print("Observation shape is {}".format(obs_shape))
if env... | [rllib] Small fix for supporting custom preprocessors (#<I>)
* Small fix for supporting custom preprocessors
* PEP8
* fix test |
diff --git a/core/src/main/java/org/primefaces/extensions/component/localized/LocalizedRenderer.java b/core/src/main/java/org/primefaces/extensions/component/localized/LocalizedRenderer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/primefaces/extensions/component/localized/LocalizedRenderer.java
+++ b/c... | #<I> Localized Java 8 support (#<I>) |
diff --git a/docs/src/components/Button/index.js b/docs/src/components/Button/index.js
index <HASH>..<HASH> 100644
--- a/docs/src/components/Button/index.js
+++ b/docs/src/components/Button/index.js
@@ -3,21 +3,24 @@ import cx from "classnames"
import styles from "./index.css"
-const Button = (props) => (
- <span... | Docs: avoid new React <I> warnings for Button component |
diff --git a/tethne/readers/base.py b/tethne/readers/base.py
index <HASH>..<HASH> 100644
--- a/tethne/readers/base.py
+++ b/tethne/readers/base.py
@@ -175,8 +175,6 @@ class FTParser(IterParser):
msg = f.read()
result = chardet.detect(msg)
- #self.buffer = open(self.path, 'r').read()
-
... | removed open file line which is not used anymore |
diff --git a/salt/modules/moosefs.py b/salt/modules/moosefs.py
index <HASH>..<HASH> 100644
--- a/salt/modules/moosefs.py
+++ b/salt/modules/moosefs.py
@@ -144,7 +144,7 @@ def getgoal(path, opts=None):
out = __salt__['cmd.run_all'](cmd)
output = out['stdout'].splitlines()
- if not 'r' in opts:
+ if 'r'... | Fix PEP8 E<I> - test for membership should be "not in" |
diff --git a/lib/Thelia/Controller/Admin/FileController.php b/lib/Thelia/Controller/Admin/FileController.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Controller/Admin/FileController.php
+++ b/lib/Thelia/Controller/Admin/FileController.php
@@ -190,16 +190,10 @@ class FileController extends BaseAdminController
... | The image file name is no longer the default image title |
diff --git a/src/OAuth2ServerServiceProvider.php b/src/OAuth2ServerServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/OAuth2ServerServiceProvider.php
+++ b/src/OAuth2ServerServiceProvider.php
@@ -81,7 +81,7 @@ class OAuth2ServerServiceProvider extends ServiceProvider
$grant->setVerifyCredent... | change setAuthCodeTTL to setAuthTokenTTL so it matches the library |
diff --git a/src/Psalm/Internal/Stubs/CoreGenericFunctions.php b/src/Psalm/Internal/Stubs/CoreGenericFunctions.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Stubs/CoreGenericFunctions.php
+++ b/src/Psalm/Internal/Stubs/CoreGenericFunctions.php
@@ -126,7 +126,6 @@ function array_search($needle, array $haystac... | "usort": revert small change in the phpdoc |
diff --git a/app/components/marty/data_import_view.rb b/app/components/marty/data_import_view.rb
index <HASH>..<HASH> 100644
--- a/app/components/marty/data_import_view.rb
+++ b/app/components/marty/data_import_view.rb
@@ -27,6 +27,7 @@ class Marty::DataImportView < Marty::CmFormPanel
comboname.on('select', ... | clear import view result message when new import is selected. |
diff --git a/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/service/GitServiceImpl.java b/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/service/GitServiceImpl.java
index <HASH>..<HASH> 100644
--- a/ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/se... | Git: tag pattern for the build/tag sync |
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/yumpkg.py
+++ b/salt/modules/yumpkg.py
@@ -287,7 +287,7 @@ def _get_yum_config():
# fall back to parsing the config ourselves
# Look for the config the same order yum does
fn = None
- ... | fixes pkgrepo for fedora><I> saltstack/salt#<I>
This makes modules.yumpkg complete independend from yum. yum is not
installed in fedora><I>, so this will actually fix pkgrepo in fedora. |
diff --git a/resources/lang/en/laravel-share-fa4.php b/resources/lang/en/laravel-share-fa4.php
index <HASH>..<HASH> 100644
--- a/resources/lang/en/laravel-share-fa4.php
+++ b/resources/lang/en/laravel-share-fa4.php
@@ -5,6 +5,6 @@ return [
'twitter' => '<li><a href=":url" class="social-button :class" id=":id"><spa... | Update laravel-share-fa4.php |
diff --git a/notario/exceptions.py b/notario/exceptions.py
index <HASH>..<HASH> 100644
--- a/notario/exceptions.py
+++ b/notario/exceptions.py
@@ -12,10 +12,6 @@ class Invalid(Exception):
self.schema_item = schema_item
self.path = path
self._reason = reason
-
- # FIXME: How the hell ar... | remove FIXME as it is already fixed |
diff --git a/src/common/models/User.php b/src/common/models/User.php
index <HASH>..<HASH> 100644
--- a/src/common/models/User.php
+++ b/src/common/models/User.php
@@ -35,6 +35,7 @@ use yii\web\IdentityInterface;
class User extends Model implements IdentityInterface
{
public $id;
+ public $name;
public $e... | + `user` field to User model |
diff --git a/Resources/public/js/controllers/commentController.js b/Resources/public/js/controllers/commentController.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/controllers/commentController.js
+++ b/Resources/public/js/controllers/commentController.js
@@ -15,8 +15,10 @@ portfolioApp
};
... | [PortfolioBundle] Don't update comment view date on portfolio if no new comments |
diff --git a/sharepoint/lists/__init__.py b/sharepoint/lists/__init__.py
index <HASH>..<HASH> 100644
--- a/sharepoint/lists/__init__.py
+++ b/sharepoint/lists/__init__.py
@@ -205,12 +205,28 @@ class SharePointList(object):
response = self.opener.post_soap(LIST_WEBSERVICE, xml,
... | SharePointList.save() now pays attention to responses. |
diff --git a/tests/Phive/Tests/Queue/Db/Pdo/AbstractPdoQueueTest.php b/tests/Phive/Tests/Queue/Db/Pdo/AbstractPdoQueueTest.php
index <HASH>..<HASH> 100644
--- a/tests/Phive/Tests/Queue/Db/Pdo/AbstractPdoQueueTest.php
+++ b/tests/Phive/Tests/Queue/Db/Pdo/AbstractPdoQueueTest.php
@@ -7,7 +7,7 @@ use Phive\Tests\Queue\Han... | Replace deprecated Mongo with MongoClient (since mongo extension <I>) |
diff --git a/tests/runtests.php b/tests/runtests.php
index <HASH>..<HASH> 100755
--- a/tests/runtests.php
+++ b/tests/runtests.php
@@ -64,8 +64,16 @@ PHP_CodeCoverage::getInstance()->filter()->addFileToBlacklist( __FILE__, 'PHPUNI
//require_once 'bootstrap.php';
-$runner = ezpTestRunner::instance();
-$runner->run(... | Added a try/catch block in test runner script in order to increase verbosity in case of an error |
diff --git a/FrontBundle/Controller/NodeController.php b/FrontBundle/Controller/NodeController.php
index <HASH>..<HASH> 100644
--- a/FrontBundle/Controller/NodeController.php
+++ b/FrontBundle/Controller/NodeController.php
@@ -27,8 +27,7 @@ class NodeController extends Controller
*/
public function showActio... | get a single result, remove toArray and array_shift |
diff --git a/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java b/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java
index <HASH>..<HASH> 100755
--- a/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java
+++ b/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java
@@ -2... | remove some BAS FPs when variable is used in multiple stacked catches |
diff --git a/src/main/java/com/j256/ormlite/jdbc/JdbcCompiledStatement.java b/src/main/java/com/j256/ormlite/jdbc/JdbcCompiledStatement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/j256/ormlite/jdbc/JdbcCompiledStatement.java
+++ b/src/main/java/com/j256/ormlite/jdbc/JdbcCompiledStatement.java
@@ -54,11 +54... | Make runExecute return int again after reading the docs more. |
diff --git a/examples/Maps/package.js b/examples/Maps/package.js
index <HASH>..<HASH> 100644
--- a/examples/Maps/package.js
+++ b/examples/Maps/package.js
@@ -1,6 +1,6 @@
enyo.depends(
"$lib/onyx",
- "$lib/layout/fittable",
+ "$lib/layout",
"$lib/extra/jsonp",
"maps",
"source/mockdata.js",
diff --git a/exampl... | maps app: onyx.Slideable -> enyo.Slideable |
diff --git a/pyontutils/scigraph_codegen.py b/pyontutils/scigraph_codegen.py
index <HASH>..<HASH> 100755
--- a/pyontutils/scigraph_codegen.py
+++ b/pyontutils/scigraph_codegen.py
@@ -887,8 +887,16 @@ class State2(State):
return None, ''
-def moduleDirect(api_url, basepath, module_name):
+def moduleDirect(b... | scigraph codegen fix bugs in moduleDirect
now only need to provide basepath, api_uri is generated from that |
diff --git a/abydos/distance/_token_distance.py b/abydos/distance/_token_distance.py
index <HASH>..<HASH> 100644
--- a/abydos/distance/_token_distance.py
+++ b/abydos/distance/_token_distance.py
@@ -806,9 +806,14 @@ member function, such as Levenshtein."
# A marks array to indicate stars, primes, & cover... | switched from integers to flag value constants |
diff --git a/pyresttest/resttest.py b/pyresttest/resttest.py
index <HASH>..<HASH> 100644
--- a/pyresttest/resttest.py
+++ b/pyresttest/resttest.py
@@ -290,7 +290,7 @@ def run_test(mytest, test_config = TestConfig(), context = None):
#print str(test_config.print_bodies) + ',' + str(not result.passed) + ' , ' + str(... | Fix print-bodies command line argument, and print body on failure |
diff --git a/lib/fit4ruby/version.rb b/lib/fit4ruby/version.rb
index <HASH>..<HASH> 100644
--- a/lib/fit4ruby/version.rb
+++ b/lib/fit4ruby/version.rb
@@ -1,4 +1,4 @@
module Fit4Ruby
# The version number of the library.
- VERSION = '1.6.0'
+ VERSION = '1.6.1'
end | Bumping version to <I> |
diff --git a/graphics/widgets.py b/graphics/widgets.py
index <HASH>..<HASH> 100644
--- a/graphics/widgets.py
+++ b/graphics/widgets.py
@@ -42,9 +42,8 @@ class wButton(ptg.Button):
self.status = 0
ptg.Button.__init__(self, *args, **kargs)
-
-def __call__(self, *args, **kargs):
- return self.func(*... | Fixed an indent error on the call for the wButton |
diff --git a/ui/plugins/pinboard.js b/ui/plugins/pinboard.js
index <HASH>..<HASH> 100644
--- a/ui/plugins/pinboard.js
+++ b/ui/plugins/pinboard.js
@@ -126,6 +126,11 @@ treeherder.controller('PinboardCtrl', [
};
$scope.canSaveClassifications = function() {
+ if ($scope.enteringBugNumber) {... | Bug <I> - Save whatever's typed into the bug field before seeing if we can save the classification (#<I>) r=camd |
diff --git a/lib/mxit_rails/mxit_api/api_client.rb b/lib/mxit_rails/mxit_api/api_client.rb
index <HASH>..<HASH> 100644
--- a/lib/mxit_rails/mxit_api/api_client.rb
+++ b/lib/mxit_rails/mxit_api/api_client.rb
@@ -224,10 +224,6 @@ module MxitRails::MxitApi
use_ssl = uri.scheme == 'https'
response = Net... | Re-enabled SSL verification. OpenSSL::SSL::VERIFY_PEER is the default. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ install_requires = [
setup(
name='Flask-Table',
packages=['flask_table'],
- version='0.2.8',
+ version='0.2.9',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='ht... | Bump to version <I> |
diff --git a/spec/mongoid/finders_spec.rb b/spec/mongoid/finders_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/finders_spec.rb
+++ b/spec/mongoid/finders_spec.rb
@@ -407,7 +407,9 @@ describe Mongoid::Finders do
end
describe ".find_by" do
+
context "when the document is found" do
+
let!(:per... | Fix formatting to match spec refactor |
diff --git a/packages/core/resolve-command/src/index.js b/packages/core/resolve-command/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/core/resolve-command/src/index.js
+++ b/packages/core/resolve-command/src/index.js
@@ -352,6 +352,13 @@ const executeCommand = async (pool, { jwtToken, ...command }) => {
... | Add encrypter to command handler |
diff --git a/lib/tower_cli/resources/job.py b/lib/tower_cli/resources/job.py
index <HASH>..<HASH> 100644
--- a/lib/tower_cli/resources/job.py
+++ b/lib/tower_cli/resources/job.py
@@ -52,7 +52,7 @@ class Resource(models.MonitorableResource):
help='Suppress any requests for input.')
... | Resolve unittests failures by provided a default value for tags |
diff --git a/lib/graphql/batch/loader.rb b/lib/graphql/batch/loader.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/batch/loader.rb
+++ b/lib/graphql/batch/loader.rb
@@ -44,8 +44,8 @@ module GraphQL::Batch
end
def resolve #:nodoc:
+ return if resolved?
load_keys = queue
- return if load_ke... | Improve loader reuse (#<I>) |
diff --git a/core/src/main/java/com/orientechnologies/orient/core/id/ORecordId.java b/core/src/main/java/com/orientechnologies/orient/core/id/ORecordId.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/id/ORecordId.java
+++ b/core/src/main/java/com/orientechnologies/orient/core... | Thrown ODatabaseException in case ORecordId.getRecord() has no database set in thread local |
diff --git a/lxd/node/raft_test.go b/lxd/node/raft_test.go
index <HASH>..<HASH> 100644
--- a/lxd/node/raft_test.go
+++ b/lxd/node/raft_test.go
@@ -26,7 +26,7 @@ func TestDetermineRaftNode(t *testing.T) {
&db.RaftNode{ID: 1},
},
{
- `cluster.https_address set and and no raft_nodes rows`,
+ `cluster.https_a... | lxd/node/raft/test: Corrects typo |
diff --git a/dbkit.py b/dbkit.py
index <HASH>..<HASH> 100644
--- a/dbkit.py
+++ b/dbkit.py
@@ -477,7 +477,7 @@ def transaction():
import sqlite3
import sys
- from dbkit import connect, transaction, query_value, execute, context
+ from dbkit import connect, transaction, query_value, exe... | context() isn't needed in these examples. |
diff --git a/lib/core/connection/msg.js b/lib/core/connection/msg.js
index <HASH>..<HASH> 100644
--- a/lib/core/connection/msg.js
+++ b/lib/core/connection/msg.js
@@ -130,7 +130,8 @@ class Msg {
}
Msg.getRequestId = function() {
- return ++_requestId;
+ _requestId = (_requestId + 1) & 0x7fffffff;
+ return _reque... | fix(OpMsg): cap requestIds at 0x7fffffff
Since OpMsg uses buffer write methods, these methods can throw if the buffer
attempts to write a number to large for the space. We now cap the requestId
at 0x7fffffff and loop back around to 0
Fixes NODE-<I> |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,7 @@ setup(
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
'Programmin... | added python <I> to trove categories |
diff --git a/ores/scoring_contexts/tests/test_scoring_context.py b/ores/scoring_contexts/tests/test_scoring_context.py
index <HASH>..<HASH> 100644
--- a/ores/scoring_contexts/tests/test_scoring_context.py
+++ b/ores/scoring_contexts/tests/test_scoring_context.py
@@ -23,8 +23,8 @@ def test_scoring_context():
Fake... | Fixes a scoring context test that was failing. |
diff --git a/lib/nodes/bundle.js b/lib/nodes/bundle.js
index <HASH>..<HASH> 100644
--- a/lib/nodes/bundle.js
+++ b/lib/nodes/bundle.js
@@ -51,9 +51,10 @@ registry.decl(BundleNodeName, BlockNode, /** @lends BundleNode.prototype */ {
}
// generate targets for page files
+ var optTec... | bem make: Ability to configure list of techs to optimize
Close #<I> |
diff --git a/lib/tack/forked_sandbox.rb b/lib/tack/forked_sandbox.rb
index <HASH>..<HASH> 100644
--- a/lib/tack/forked_sandbox.rb
+++ b/lib/tack/forked_sandbox.rb
@@ -24,14 +24,10 @@ module Tack
@reader.close
result = block.call
- Marshal.dump([:ok, result], @writer)
+
+ @writer.write(Base64.e... | Fix bug with how errors are passed through ForkedSandbox |
diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -126,28 +126,4 @@ describe('#Requests', function() {
});
});
- it('should timeout', function(done) {
- var api = new WooCommerce({
- url: 'https://test.dev',
- consumerKey: 'ck_XXXXXXXXXXXXXXXXXXXXXXXXXXXXX... | No need to test timeout since is a "request" feature |
diff --git a/lib/woodhouse/scheduler.rb b/lib/woodhouse/scheduler.rb
index <HASH>..<HASH> 100644
--- a/lib/woodhouse/scheduler.rb
+++ b/lib/woodhouse/scheduler.rb
@@ -53,7 +53,12 @@ class Woodhouse::Scheduler
def start_worker(worker)
@config.logger.debug "Starting worker #{worker.describe}"
- @worker_sets[... | Keep Scheduler#start_worker from leaking references to internals |
diff --git a/src/test/java/io/nats/streaming/PublishTests.java b/src/test/java/io/nats/streaming/PublishTests.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/nats/streaming/PublishTests.java
+++ b/src/test/java/io/nats/streaming/PublishTests.java
@@ -95,11 +95,12 @@ public class PublishTests {
@Test
... | working on flaky tests, timing for ack timeout |
diff --git a/heyui/plugins/notify/index.js b/heyui/plugins/notify/index.js
index <HASH>..<HASH> 100644
--- a/heyui/plugins/notify/index.js
+++ b/heyui/plugins/notify/index.js
@@ -23,6 +23,7 @@ const notifyContainerCls = 'h-notify-container';
const notifyBodyCls = 'h-notify-body';
const notifyCloseCls = 'h-notify-clos... | fix: modal plugin add notify-has-class on $body |
diff --git a/compliance_checker/cf/cf.py b/compliance_checker/cf/cf.py
index <HASH>..<HASH> 100644
--- a/compliance_checker/cf/cf.py
+++ b/compliance_checker/cf/cf.py
@@ -854,11 +854,9 @@ class CFBaseCheck(BaseCheck):
ok_count = 0
same_type = flag_masks.dtype == v.dtype
- ... | Allow flag_masks to have any bitwise operator as a value. Fixes #<I> |
diff --git a/lib/LibCharacteristic.js b/lib/LibCharacteristic.js
index <HASH>..<HASH> 100644
--- a/lib/LibCharacteristic.js
+++ b/lib/LibCharacteristic.js
@@ -14,7 +14,7 @@ module.exports = class LibCharacteristic extends LibObject {
// ===== Constructor =========================================================
... | Enhancements
- Different message for event-only characteristic
- Set name to parent's name [TODO: doesn't yet work for _Name_ characteristic]. |
diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -1,6 +1,7 @@
-var Emitter = require('../');
var test = require('tape');
+var Emitter = require('../');
+
test('init', function(is) {
is.plan(1); | refactor requires in test js |
diff --git a/lib/utilities.js b/lib/utilities.js
index <HASH>..<HASH> 100755
--- a/lib/utilities.js
+++ b/lib/utilities.js
@@ -1 +1,21 @@
var git = require('../');
+
+/**
+ * Check if error is null, if it is not, convert it to a GitError and call
+ * the callback.
+ *
+ * @param {Object} error
+ * @param {Function... | Added success to utilities.js to handle if (error) then wrap it and call callback |
diff --git a/test/stripe/stripe_object_test.rb b/test/stripe/stripe_object_test.rb
index <HASH>..<HASH> 100644
--- a/test/stripe/stripe_object_test.rb
+++ b/test/stripe/stripe_object_test.rb
@@ -258,5 +258,19 @@ module Stripe
serialized = Stripe::StripeObject.serialize_params(obj, :force => true)
assert_e... | Add spec for `#dirty!` |
diff --git a/quilt/revert.py b/quilt/revert.py
index <HASH>..<HASH> 100644
--- a/quilt/revert.py
+++ b/quilt/revert.py
@@ -59,7 +59,7 @@ class Revert(Command):
raise QuiltError("File %s is modified by patch %s" % \
(filename, patch.get_name()))
- def _apply_patch_... | Fix typo in method name
Rename _apply_patch_tempoary to _apply_patch_temporary |
diff --git a/src/Sylius/Bundle/ResourceBundle/Resources/public/js/form-collection.js b/src/Sylius/Bundle/ResourceBundle/Resources/public/js/form-collection.js
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/ResourceBundle/Resources/public/js/form-collection.js
+++ b/src/Sylius/Bundle/ResourceBundle/Resources/public... | [ResourceBundle] Initialize form collection when DOM is ready |
diff --git a/test/connection_test.js b/test/connection_test.js
index <HASH>..<HASH> 100644
--- a/test/connection_test.js
+++ b/test/connection_test.js
@@ -12,6 +12,7 @@ var testCase = require('nodeunit').testCase,
Script = require('vm'),
Collection = mongodb.Collection,
Server = mongodb.Server,
+ ReadPreferen... | Added connection test when readPreference passed to server is a ReadPreference object |
diff --git a/saharaclient/api/client.py b/saharaclient/api/client.py
index <HASH>..<HASH> 100644
--- a/saharaclient/api/client.py
+++ b/saharaclient/api/client.py
@@ -54,17 +54,18 @@ class Client(object):
service_name=service_name,
region_name=region_name)
inpu... | Added --bypass-url support for keystone 3
Keystone 3 section of code should respect --bypass-url too.
Change-Id: I<I>e7c9bef<I>bcc<I>f<I>d4fcac3
Closes-Bug: #<I> |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,12 +25,14 @@ module.exports = function responseTime(){
return function(req, res, next){
next = next || noop;
if (res._responseTime) return next();
- var start = Date.now();
res._responseTime = true;
... | make timer immune to clock drift and more precise |
diff --git a/test/AlexaSmartHome/Request/RequestTest.php b/test/AlexaSmartHome/Request/RequestTest.php
index <HASH>..<HASH> 100644
--- a/test/AlexaSmartHome/Request/RequestTest.php
+++ b/test/AlexaSmartHome/Request/RequestTest.php
@@ -3,6 +3,7 @@
namespace Tests\AlexaSmartHome\Request;
use \InternetOfVoice\LibVoice... | Smart home: Extend RequestTest |
diff --git a/bcbio/install.py b/bcbio/install.py
index <HASH>..<HASH> 100644
--- a/bcbio/install.py
+++ b/bcbio/install.py
@@ -146,7 +146,8 @@ def upgrade_bcbio_data(args, remotes):
remotes["genome_resources"])
_upgrade_snpeff_data(s["fabricrc_overrides"]["galaxy_home"], args, remote... | Do not require gemini to be on PATH for data updates. Thanks to Nishanth Dandapanthu |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -5,6 +5,10 @@ var _ = require('lodash');
function changed(Model, options) {
'use strict';
+ if(typeof Model[options.callback] !== 'function') {
+ console.warn('Callback %s is not a model function', options.callback);... | Add warning and skip execution if callback function is not defined |
diff --git a/src/test/java/com/github/dockerjava/core/command/StatsCmdImplTest.java b/src/test/java/com/github/dockerjava/core/command/StatsCmdImplTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/github/dockerjava/core/command/StatsCmdImplTest.java
+++ b/src/test/java/com/github/dockerjava/core/command/Sta... | Ignore with CirecleCI |
diff --git a/src/RdnUpload/File/File.php b/src/RdnUpload/File/File.php
index <HASH>..<HASH> 100755
--- a/src/RdnUpload/File/File.php
+++ b/src/RdnUpload/File/File.php
@@ -25,11 +25,6 @@ class File implements FileInterface
*/
public function __construct($basename, $path)
{
- if (!file_exists($path))
- {
- thr... | don't throw exceptions if path does not exist
could be a temporary file output pointer in which case the file will
exist after the download operation is completed |
diff --git a/src/BuiltinServerFactory.php b/src/BuiltinServerFactory.php
index <HASH>..<HASH> 100644
--- a/src/BuiltinServerFactory.php
+++ b/src/BuiltinServerFactory.php
@@ -43,6 +43,11 @@ class BuiltinServerFactory
$timer = new Deferred;
$this->loop->addTimer(0.05, function () use ($timer, $proces... | Improve[?] stream_select() behavior on Windows |
diff --git a/lib/CaptureClicks.js b/lib/CaptureClicks.js
index <HASH>..<HASH> 100644
--- a/lib/CaptureClicks.js
+++ b/lib/CaptureClicks.js
@@ -99,7 +99,7 @@ var CaptureClicks = React.createClass({
}.bind(this);
this.props.environment.navigate(
- url.pathname,
+ url.pathname + (url.hash.length > 1 ... | Allow intra-page hash routing. |
diff --git a/lib/drivers/docker/container.js b/lib/drivers/docker/container.js
index <HASH>..<HASH> 100644
--- a/lib/drivers/docker/container.js
+++ b/lib/drivers/docker/container.js
@@ -214,7 +214,9 @@ Container.prototype.dockerEnv = function() {
};
Container.prototype.startArgs = function() {
- var args = ['--cl... | docker: start cluster at full size |
diff --git a/rest_framework_gis/fields.py b/rest_framework_gis/fields.py
index <HASH>..<HASH> 100644
--- a/rest_framework_gis/fields.py
+++ b/rest_framework_gis/fields.py
@@ -7,6 +7,11 @@ from django.utils.translation import ugettext_lazy as _
from rest_framework.fields import Field
+class JSONDict(dict):
+ def... | Ensure GeoJSON is rendered correctly in browsable API
Valid for python 2 only.
Avoid representations like {u'type': u'Point', u'coordinates':
[<I>, <I>]}
For more information see #<I> |
diff --git a/lib/dashboard/public/elements/ncg-dialog.js b/lib/dashboard/public/elements/ncg-dialog.js
index <HASH>..<HASH> 100644
--- a/lib/dashboard/public/elements/ncg-dialog.js
+++ b/lib/dashboard/public/elements/ncg-dialog.js
@@ -19,6 +19,7 @@
listeners: {
'neon-animation-finish': '_onNeonAnimationFinish'... | feat(dashboard): emit `dialog-opened` event in a dialog's `document` when it opens |
diff --git a/packages/wpcom-proxy-request/index.js b/packages/wpcom-proxy-request/index.js
index <HASH>..<HASH> 100644
--- a/packages/wpcom-proxy-request/index.js
+++ b/packages/wpcom-proxy-request/index.js
@@ -195,24 +195,24 @@ function onmessage (e) {
var params = requests[id];
delete requests[id];
- var res... | index: rename `res` variable to `body`
Matches the `wpcom-xhr-request` logic is the only reason :p |
diff --git a/openquake/calculators/risk/scenario_damage/core.py b/openquake/calculators/risk/scenario_damage/core.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/risk/scenario_damage/core.py
+++ b/openquake/calculators/risk/scenario_damage/core.py
@@ -139,13 +139,15 @@ class ScenarioDamageRiskCalculator(gene... | Fixed bug when computing the total damage distribution |
diff --git a/test/youtube-dl_test.rb b/test/youtube-dl_test.rb
index <HASH>..<HASH> 100644
--- a/test/youtube-dl_test.rb
+++ b/test/youtube-dl_test.rb
@@ -43,7 +43,7 @@ describe YoutubeDL do
@extractors = YoutubeDL.extractors
end
- it 'should return a Hash' do
+ it 'should return an Array' do
... | .extractors Returns an array, not a Hash [ci skip] |
diff --git a/test/client/cluster_test.rb b/test/client/cluster_test.rb
index <HASH>..<HASH> 100644
--- a/test/client/cluster_test.rb
+++ b/test/client/cluster_test.rb
@@ -27,11 +27,11 @@ describe Elastomer::Client::Cluster do
it 'updates the cluster settings' do
@cluster.update_settings :transient => { 'clust... | couldn't resist making this test work with ES <I> |
diff --git a/app/models/shipit/commit_deployment.rb b/app/models/shipit/commit_deployment.rb
index <HASH>..<HASH> 100644
--- a/app/models/shipit/commit_deployment.rb
+++ b/app/models/shipit/commit_deployment.rb
@@ -2,7 +2,7 @@ module Shipit
class CommitDeployment < ActiveRecord::Base
belongs_to :commit
bel... | Add missing dependent: :destroy for CommitDeployment |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ except ImportError:
MAJOR = 5
MINOR = 0
MICRO = 0
-ISRELEASED = False
+ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) | * Set is_released flag in setup.py |
diff --git a/src/Controller/ScriptController.php b/src/Controller/ScriptController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/ScriptController.php
+++ b/src/Controller/ScriptController.php
@@ -40,9 +40,8 @@ class ScriptController
$appNamespace = key($autoload["psr-4"]);
$appSourceDir... | Added styling to console output
removed unnecessary output line |
diff --git a/lib/webhooks/webhooks.js b/lib/webhooks/webhooks.js
index <HASH>..<HASH> 100644
--- a/lib/webhooks/webhooks.js
+++ b/lib/webhooks/webhooks.js
@@ -28,7 +28,7 @@ function validateRequest(authToken, twilioHeader, url, params) {
@param {object} request - An expressjs request object (http://expressjs.com/api.... | Correcting the hint for webhook URL option (#<I>)
The option for the webhook URL is actually called `url` not `webhookUrl`, as seen here:
```
if (options.url) {
// Let the user specify the full URL
webhookUrl = options.url;
}
``` |
diff --git a/drivers/gpio/motor_driver_test.go b/drivers/gpio/motor_driver_test.go
index <HASH>..<HASH> 100644
--- a/drivers/gpio/motor_driver_test.go
+++ b/drivers/gpio/motor_driver_test.go
@@ -113,18 +113,16 @@ func TestMotorDriverDirection(t *testing.T) {
d.Direction("backward")
}
-func TestMotorDriverDigitalFo... | gpio: increase test coverage for motor driver |
diff --git a/connection_test.go b/connection_test.go
index <HASH>..<HASH> 100644
--- a/connection_test.go
+++ b/connection_test.go
@@ -505,6 +505,7 @@ func TestReadTimeout(t *testing.T) {
opts := testutils.NewOpts().
AddLogFilter("Couldn't send outbound error frame", 1).
AddLogFilter("Connection error", 1, "sit... | TestReadTimeout should ignore errors in writeFrames |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.