diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/packages/@vue/cli/lib/util/configTransforms.js b/packages/@vue/cli/lib/util/configTransforms.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/cli/lib/util/configTransforms.js
+++ b/packages/@vue/cli/lib/util/configTransforms.js
@@ -13,7 +13,7 @@ const isObject = val => val && typeof val === 'object'
con... | fix: fix config merging during `vue invoke` in Node.js <I> (#<I>)
The root cause here is the same as #<I>
The failing `loadModule` call will return `undefined` for a js config
read operation, which later caused config being overwritten. |
diff --git a/regression/clear_datastore.py b/regression/clear_datastore.py
index <HASH>..<HASH> 100644
--- a/regression/clear_datastore.py
+++ b/regression/clear_datastore.py
@@ -21,7 +21,6 @@ from gcloud.datastore import _implicit_environ
_implicit_environ._DATASET_ENV_VAR_NAME = 'GCLOUD_TESTS_DATASET_ID'
-datast... | Using fully implicit auth in datastore regression. |
diff --git a/src/message.js b/src/message.js
index <HASH>..<HASH> 100644
--- a/src/message.js
+++ b/src/message.js
@@ -1,8 +1,9 @@
/// Implements Bitcoin's feature for signing arbitrary messages.
-var SHA256 = require('crypto-js/sha256')
-var ecdsa = require('./ecdsa')
+var Address = require('./address')
var conver... | Adds version support to Message.verifyMessage |
diff --git a/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java b/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java
index <HASH>..<HASH> 100644
--- a/android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java
+++ b/android/app/src/mai... | Use INVISIBLE to hide screens so they get measured on creation |
diff --git a/src/js/tree.js b/src/js/tree.js
index <HASH>..<HASH> 100644
--- a/src/js/tree.js
+++ b/src/js/tree.js
@@ -270,13 +270,13 @@
expand = expand === undefined ? $li.hasClass('open') : false;
if(expand) this.store[id] = expand;
else delete this.store[id];
- this.... | * fix error in preserve method of tree. |
diff --git a/src/Bkwld/Decoy/Models/Worker.php b/src/Bkwld/Decoy/Models/Worker.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Models/Worker.php
+++ b/src/Bkwld/Decoy/Models/Worker.php
@@ -160,10 +160,15 @@ class Worker extends \Illuminate\Console\Command {
}
/**
- * Write Command input types to the log
+... | Fixing error when worker not called via worker options |
diff --git a/example/config/routes.rb b/example/config/routes.rb
index <HASH>..<HASH> 100644
--- a/example/config/routes.rb
+++ b/example/config/routes.rb
@@ -1,4 +1,5 @@
Rails.application.routes.draw do
+ resources :attached_files
resources :issue_comments
devise_for :users
resources :projects | be rails g resource_route attached_files |
diff --git a/test/tests.js b/test/tests.js
index <HASH>..<HASH> 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -4,7 +4,7 @@ var r = function(suite) {
}
var fetch = [
- "level1/core",
+ "level1/core",
"level1/html",
"level1/svg",
"level2/core",
@@ -12,10 +12,13 @@ var fetch = [
"level2/style",
"le... | remove level3 from the runner as it seems to be breaking stuff |
diff --git a/GPy/util/caching.py b/GPy/util/caching.py
index <HASH>..<HASH> 100644
--- a/GPy/util/caching.py
+++ b/GPy/util/caching.py
@@ -57,13 +57,15 @@ class Cacher(object):
for ind in combined_args_kw:
if ind is not None:
ind_id = self.id(ind)
- ... | [caching] catching key error, when individuum is already gone |
diff --git a/shutdownmanagers/awsmanager/aws.go b/shutdownmanagers/awsmanager/aws.go
index <HASH>..<HASH> 100644
--- a/shutdownmanagers/awsmanager/aws.go
+++ b/shutdownmanagers/awsmanager/aws.go
@@ -193,21 +193,23 @@ func (awsManager *AwsManager) handleMessage(message string) bool {
go awsManager.gs.StartShutdown(aw... | Do not delete sqs message from queue if http fails. |
diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java b/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLResultsetAbstract.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutor... | SQL: flatten() now creates projection even on non-records |
diff --git a/drivers/ruby/test.rb b/drivers/ruby/test.rb
index <HASH>..<HASH> 100644
--- a/drivers/ruby/test.rb
+++ b/drivers/ruby/test.rb
@@ -544,6 +544,14 @@ class ClientTest < Test::Unit::TestCase
id_sort(rdb.filter{r[:id] < 5}.run.to_a))
end
+ def test_pluck
+ e=r.expr([{ 'a' => 1, 'b' =>... | Adding ruby test for pluck |
diff --git a/src/Symfony/Component/Console/Helper/DialogHelper.php b/src/Symfony/Component/Console/Helper/DialogHelper.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Console/Helper/DialogHelper.php
+++ b/src/Symfony/Component/Console/Helper/DialogHelper.php
@@ -20,7 +20,7 @@ use Symfony\Component\Console\F... | [Console] Adding a deprecation note about DialogHelper |
diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
index <HASH>..<HASH> 100755
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
+++ b/robotium-solo/src/main/ja... | Remove added ActivityMonitor during ActivityUtils finalisation.
Otherwise, each Solo instance leaks an ActivityMonitor into Instrumentation, with knock-on effects for other tests using ActivityMonitors. |
diff --git a/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java b/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java
index <HASH>..<HASH> 100644
--- a/annis-gui/src/main/java/annis/gui/visualizers/component/rst/RSTImpl.java
+++ b/annis-gui/src/main/java/annis/gui/visualizers/... | Do not put the color information into a json property. |
diff --git a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.java
+++ b/java/server/src/org/openqa/selenium/grid/node/local/LocalNode.ja... | [java] Return a ws scheme instead of the http scheme of the grid |
diff --git a/globalify.js b/globalify.js
index <HASH>..<HASH> 100644
--- a/globalify.js
+++ b/globalify.js
@@ -10,8 +10,6 @@ var browserify = require('browserify'),
},
rootPath = __dirname;
-console.log(rootPath);
-
module.exports = function globalify(settings, callback){
settings = settings || {};
... | Remove the other console.log in globalify.js and es6 code. |
diff --git a/tasks/html.js b/tasks/html.js
index <HASH>..<HASH> 100644
--- a/tasks/html.js
+++ b/tasks/html.js
@@ -107,7 +107,7 @@ function loadData () {
var dataFile = fs.readFileSync(datapath, 'utf8')
if (ext === '.js') {
- data[name] = requireFromString(dataFile, datapath).data
+ ... | Module data loaded as function to allow pre-processing |
diff --git a/openhtf/plugs/__init__.py b/openhtf/plugs/__init__.py
index <HASH>..<HASH> 100644
--- a/openhtf/plugs/__init__.py
+++ b/openhtf/plugs/__init__.py
@@ -516,6 +516,7 @@ class PlugManager(object):
if self._xmlrpc_server:
_LOG.debug('Shutting down Plug XMLRPC Server.')
self._xmlrpc_server.shu... | Also close the underlying socket for the plug manager's xmlrpc server |
diff --git a/src/services/search-builder.js b/src/services/search-builder.js
index <HASH>..<HASH> 100644
--- a/src/services/search-builder.js
+++ b/src/services/search-builder.js
@@ -152,7 +152,9 @@ function SearchBuilder(model, opts, params, fieldNamesRequested) {
if (!Number.isNaN(value)) {
if (... | fix(search): handle tables that contain floats and bigints |
diff --git a/testing/provisioner.go b/testing/provisioner.go
index <HASH>..<HASH> 100644
--- a/testing/provisioner.go
+++ b/testing/provisioner.go
@@ -92,6 +92,10 @@ func (a *FakeApp) ProvisionUnits() []provision.AppUnit {
return a.units
}
+func (a *FakeApp) AddUnit(u *FakeUnit) {
+ a.units = append(a.units, u)
+}... | testing/provisioner: added method to add units to a fake app |
diff --git a/lib/render/renderer.js b/lib/render/renderer.js
index <HASH>..<HASH> 100644
--- a/lib/render/renderer.js
+++ b/lib/render/renderer.js
@@ -42,6 +42,7 @@ Renderer.prototype.hr = function() {
};
Renderer.prototype.after = function(text, token, parser) {
+ if(!text) return text;
// crude way of removin... | Guard against undefined text in after(). |
diff --git a/selenium_test/environment.py b/selenium_test/environment.py
index <HASH>..<HASH> 100644
--- a/selenium_test/environment.py
+++ b/selenium_test/environment.py
@@ -320,6 +320,15 @@ def before_scenario(context, scenario):
def after_scenario(context, _scenario):
driver = context.driver
+ # Close all... | Close tabs first.
It is unclear why this has never bit us before but now we close the tabs
first. Doing this ensures that the async code is run on the main page,
which is what we want. Otherwise, the async code may run on some
documentat tab, and fail. |
diff --git a/lib/cxxproject/ext/rake.rb b/lib/cxxproject/ext/rake.rb
index <HASH>..<HASH> 100644
--- a/lib/cxxproject/ext/rake.rb
+++ b/lib/cxxproject/ext/rake.rb
@@ -1,5 +1,7 @@
require 'cxxproject/ext/stdout'
require 'cxxproject/utils/exit_helper'
+require 'cxxproject/errorparser/error_parser'
+
require 'rake'
... | added error if symlink has other parent dir than target |
diff --git a/object.lookup.go b/object.lookup.go
index <HASH>..<HASH> 100644
--- a/object.lookup.go
+++ b/object.lookup.go
@@ -5,6 +5,14 @@ import (
"time"
)
+func (c *ObjectStorage) Exists(objectname string) bool {
+ id := "internal"
+ if o, _ := c.lookup(&id, &objectname, true); o != nil {
+ return true
+ }
+ r... | Add the Exists method to object lookups
This does a quieter lookup and will, in the future, exclude the
inline_payload fetching of the lookup process. |
diff --git a/src/extensions/default/JavaScriptCodeHints/unittests.js b/src/extensions/default/JavaScriptCodeHints/unittests.js
index <HASH>..<HASH> 100644
--- a/src/extensions/default/JavaScriptCodeHints/unittests.js
+++ b/src/extensions/default/JavaScriptCodeHints/unittests.js
@@ -832,7 +832,7 @@ define(function (requ... | Update expected results, as Tern now gives us better results than what the test was expecting. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -84,7 +84,7 @@ if __name__ == '__main__':
zip_safe=False,
extras_require={
'docs': [
- 'sphinx>=1.7.1',
+ 'sphinx==1.6.9',
],
'tests': [
... | attempted fix for readthedocs/sphinx bug |
diff --git a/lib/Yucca/Component/Iterator/ShowMoreIterator.php b/lib/Yucca/Component/Iterator/ShowMoreIterator.php
index <HASH>..<HASH> 100644
--- a/lib/Yucca/Component/Iterator/ShowMoreIterator.php
+++ b/lib/Yucca/Component/Iterator/ShowMoreIterator.php
@@ -10,7 +10,7 @@
namespace Yucca\Component\Iterator;
-class... | [SHOW MORE ITERATOR] Is now countable |
diff --git a/workflow/util/util.go b/workflow/util/util.go
index <HASH>..<HASH> 100644
--- a/workflow/util/util.go
+++ b/workflow/util/util.go
@@ -410,6 +410,11 @@ func selectorMatchesNode(selector fields.Selector, node wfv1.NodeStatus) bool {
nodeFields := fields.Set{
"displayName": node.DisplayName,
"templat... | Make phase and templateRef available for unsuspend and retry selectors (#<I>) |
diff --git a/test/test_notification_warning.py b/test/test_notification_warning.py
index <HASH>..<HASH> 100755
--- a/test/test_notification_warning.py
+++ b/test/test_notification_warning.py
@@ -43,7 +43,7 @@ class TestConfig(ShinkenTest):
self.sched.actions[n.id] = n
self.sched.put_results(n)
... | Fix: (a try) to get Jenkins happy with this test and all utf8 things. |
diff --git a/manager/state/raft/raft.go b/manager/state/raft/raft.go
index <HASH>..<HASH> 100644
--- a/manager/state/raft/raft.go
+++ b/manager/state/raft/raft.go
@@ -999,6 +999,11 @@ func (n *Node) ProcessRaftMessage(ctx context.Context, msg *api.ProcessRaftMessa
defer n.stopMu.RUnlock()
if n.IsMember() {
+ if ... | raft: Ignore messages intended for a different member
If a node managed to join raft twice, it would receive messages meant
for both the new and old raft members. There was no check verifying that
the recipient of message is correct. Adding this check makes sure that
if this situation were to arise (perhaps because th... |
diff --git a/state/environ.go b/state/environ.go
index <HASH>..<HASH> 100644
--- a/state/environ.go
+++ b/state/environ.go
@@ -514,3 +514,13 @@ func assertEnvAliveOp(envUUID string) txn.Op {
var isEnvAliveDoc = bson.D{
{"life", bson.D{{"$in", []interface{}{Alive, nil}}}},
}
+
+func checkEnvLife(st *State) error {
+... | state: added checkEnvLife helper
To be used to evaluate if a txn aborted because of the environment
life assertion. |
diff --git a/src/content/treeView.js b/src/content/treeView.js
index <HASH>..<HASH> 100644
--- a/src/content/treeView.js
+++ b/src/content/treeView.js
@@ -174,6 +174,7 @@ objectExtend(TreeView.prototype, {
}
commands.push("pause");
+ commands.push("store");
... | added store command
r<I> |
diff --git a/tests/test_examples.py b/tests/test_examples.py
index <HASH>..<HASH> 100755
--- a/tests/test_examples.py
+++ b/tests/test_examples.py
@@ -81,6 +81,9 @@ class ExamplesTestCase(testlib.SDKTestCase):
except:
pass
+ def test_build_dir_exists(self):
+ self.assertTrue(os.path.ex... | add a test to check for the build directory |
diff --git a/lib/podio/models/form.rb b/lib/podio/models/form.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/models/form.rb
+++ b/lib/podio/models/form.rb
@@ -5,6 +5,7 @@ class Podio::Form < ActivePodio::Base
property :domains, :array
property :field_ids, :array
property :attachments, :boolean
+ property :sta... | Added activate/deactivate method to the form model. |
diff --git a/pyvips/__init__.py b/pyvips/__init__.py
index <HASH>..<HASH> 100644
--- a/pyvips/__init__.py
+++ b/pyvips/__init__.py
@@ -88,7 +88,7 @@ if vips_lib.vips_init(sys.argv[0].encode()) != 0:
logger.debug('Inited libvips')
if not API_mode:
- from pyvips import vdecls
+ from .vdecls import cdefs
... | don't try to import vdecls via pyvips
perhaps this will fix Travis |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup_params = dict(
'lxml',
'six',
],
- requires='BeautifulSoup',
+ requires=['BeautifulSoup', 'lxml'],
classifiers=[
'Development Status :: 5 - Production/Stable',
... | lxml in both places |
diff --git a/packages/cozy-stack-client/src/AppCollection.js b/packages/cozy-stack-client/src/AppCollection.js
index <HASH>..<HASH> 100644
--- a/packages/cozy-stack-client/src/AppCollection.js
+++ b/packages/cozy-stack-client/src/AppCollection.js
@@ -32,4 +32,24 @@ export default class AppCollection {
next: fals... | feat: ⚠️ Throw error for not available appcollection methods |
diff --git a/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py b/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py
index <HASH>..<HASH> 100644
--- a/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py
+++ b/pgmpy/tests/test_readwrite/test_XMLBeliefNetwork.py
@@ -1,10 +1,13 @@
import unittest
from io import String... | skip tests for python2 |
diff --git a/common-core-open/src/main/java/com/bbn/bue/common/InContextOf.java b/common-core-open/src/main/java/com/bbn/bue/common/InContextOf.java
index <HASH>..<HASH> 100644
--- a/common-core-open/src/main/java/com/bbn/bue/common/InContextOf.java
+++ b/common-core-open/src/main/java/com/bbn/bue/common/InContextOf.ja... | Allow passing functions through InContextOfs |
diff --git a/store.go b/store.go
index <HASH>..<HASH> 100644
--- a/store.go
+++ b/store.go
@@ -1043,12 +1043,15 @@ func (s *store) SetNames(id string, names []string) error {
}
if rlstore.Exists(id) {
+ defer rlstore.Touch()
return rlstore.SetNames(id, deduped)
}
if ristore.Exists(id) {
+ defer ristore.T... | Mark stores as modified by SetNames()
Use the lockfile to mark that a store's contents need to be reloaded by
other consumers whenever we call SetNames() to update a by-name index. |
diff --git a/spyderlib/utils/introspection/jedi_plugin.py b/spyderlib/utils/introspection/jedi_plugin.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/introspection/jedi_plugin.py
+++ b/spyderlib/utils/introspection/jedi_plugin.py
@@ -91,6 +91,10 @@ class JediPlugin(IntrospectionPlugin):
calltip = gets... | Fix handling of improper calldef.name. |
diff --git a/Tank/Plugins/TotalAutostop.py b/Tank/Plugins/TotalAutostop.py
index <HASH>..<HASH> 100644
--- a/Tank/Plugins/TotalAutostop.py
+++ b/Tank/Plugins/TotalAutostop.py
@@ -21,6 +21,8 @@ class TotalAutostopPlugin(AbstractPlugin, AggregateResultListener):
autostop.add_criteria_class(TotalHTTPCodesCriteria... | bugfix: include criteria to totalautostop plugin |
diff --git a/lib/renderer/window-setup.js b/lib/renderer/window-setup.js
index <HASH>..<HASH> 100644
--- a/lib/renderer/window-setup.js
+++ b/lib/renderer/window-setup.js
@@ -121,11 +121,11 @@ module.exports = (ipcRenderer, guestInstanceId, openerId, hiddenPage) => {
}
window.alert = function (message, title) {... | Convert message/title to strings in render process |
diff --git a/app/models/glue/pulp/package.rb b/app/models/glue/pulp/package.rb
index <HASH>..<HASH> 100644
--- a/app/models/glue/pulp/package.rb
+++ b/app/models/glue/pulp/package.rb
@@ -45,6 +45,10 @@ module Glue::Pulp::Package
def nvrea
Util::Package::build_nvrea(self.as_json.with_indifferent_access, fals... | <I>: Add missing id to package json
`katello package list` was showing list without package ids.
<URL> |
diff --git a/proxy.go b/proxy.go
index <HASH>..<HASH> 100644
--- a/proxy.go
+++ b/proxy.go
@@ -81,6 +81,7 @@ func (h *Host) session(c caps) (map[string]interface{}, int) {
if err != nil {
return nil, seleniumError
}
+ defer resp.Body.Close()
var reply map[string]interface{}
err = json.NewDecoder(resp.Body).D... | Closing request body anyway (related to #<I>) |
diff --git a/test-app/app/src/main/assets/internal/ts_helpers.js b/test-app/app/src/main/assets/internal/ts_helpers.js
index <HASH>..<HASH> 100644
--- a/test-app/app/src/main/assets/internal/ts_helpers.js
+++ b/test-app/app/src/main/assets/internal/ts_helpers.js
@@ -119,9 +119,10 @@
}
}
- global.__native = _... | feat(typescript): Play nice with tslib (#<I>)
AngularApp started adding tslib in the web pack project.
This PR will set the __native, __extends and __decorate on the global using Object.defineProperty,
so the tslib won't be able to overwrite them.
Ideally adding tslib to a project should bring support for async/awa... |
diff --git a/lib/double_entry/line.rb b/lib/double_entry/line.rb
index <HASH>..<HASH> 100644
--- a/lib/double_entry/line.rb
+++ b/lib/double_entry/line.rb
@@ -58,7 +58,6 @@ module DoubleEntry
class Line < ActiveRecord::Base
belongs_to :detail, :polymorphic => true
- before_save :do_validations
def a... | fix merge, remove the callback as per master |
diff --git a/lib/MwbExporter/Core/Model/Column.php b/lib/MwbExporter/Core/Model/Column.php
index <HASH>..<HASH> 100644
--- a/lib/MwbExporter/Core/Model/Column.php
+++ b/lib/MwbExporter/Core/Model/Column.php
@@ -33,7 +33,7 @@ abstract class Column extends Base
protected $isUnique = false;
protected $loca... | The foreign attribute is replaced by a foreigns attribute to store multiple foreignKey for one column. |
diff --git a/quantecon/models/__init__.py b/quantecon/models/__init__.py
index <HASH>..<HASH> 100644
--- a/quantecon/models/__init__.py
+++ b/quantecon/models/__init__.py
@@ -6,8 +6,10 @@ objects imported here will live in the `quantecon.models` namespace
"""
__all__ = ["AssetPrices", "CareerWorkerProblem", "Consum... | Fixed import statements in __init__.py to include solow module. |
diff --git a/src/raven.js b/src/raven.js
index <HASH>..<HASH> 100644
--- a/src/raven.js
+++ b/src/raven.js
@@ -4,7 +4,7 @@
// If there is no JSON, we no-op the core features of Raven
// since JSON is required to encode the payload
var _Raven = window.Raven,
- hasJSON = !!(isObject(JSON) && JSON.stringify),
+ h... | Fix ReferenceErrors since we can't qualify with `window`
btw, this is the worst language. Fixes #<I> |
diff --git a/world/components.go b/world/components.go
index <HASH>..<HASH> 100644
--- a/world/components.go
+++ b/world/components.go
@@ -190,6 +190,7 @@ func (maker ComponentMaker) BBS(argv ...string) ifrit.Runner {
maker.Artifacts.Executables["bbs"],
append([]string{
"-address", maker.Addresses.BBS,
+ ... | Pass auctioneer address to BBS
[#<I>] |
diff --git a/satsearch/search.py b/satsearch/search.py
index <HASH>..<HASH> 100644
--- a/satsearch/search.py
+++ b/satsearch/search.py
@@ -95,7 +95,7 @@ class Search(object):
""" Return Items from collection with matching ids """
col = cls.collection(collection)
items = []
- base_url =... | Update search.py
Fixed a bug that the joined url did not include 'items' in the path |
diff --git a/mod/scorm/version.php b/mod/scorm/version.php
index <HASH>..<HASH> 100644
--- a/mod/scorm/version.php
+++ b/mod/scorm/version.php
@@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
-$module->version = 2014031700; // The current module version (Date: YYYYMMDDXX).
-$module->requires = 20131105... | MDL-<I> scorm: revert accidental change of variable module back to plugin |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,14 +1,16 @@
'use strict';
-/**
- * Module dependences
- */
-
var dateformat = require('dateformat');
+var typeOf = require('kind-of');
+
+module.exports = function(date, format) {
+ if (typeOf(date) !== 'date') {
+ ... | support passing an instance of `Date` |
diff --git a/src/frontend/org/voltdb/iv2/SpScheduler.java b/src/frontend/org/voltdb/iv2/SpScheduler.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/iv2/SpScheduler.java
+++ b/src/frontend/org/voltdb/iv2/SpScheduler.java
@@ -1059,6 +1059,14 @@ public class SpScheduler extends Scheduler implements Snapshot... | ENG-<I>: Newly rejoined replica may receive a CompleteTransactionMessage without seeing FragmentTaskMessage from its leader, leading not creating CompleteTransactionTask. The leader may hence start to wait for replica's CompleteTransactionResponseMessage and deadlock the MP transaction in this way. This fix is to gener... |
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/ConfigurationTest.php
+++ b/src/Symfony/Bundle/... | [SecurityBundle] Fixed typo |
diff --git a/lib/mobility/configuration.rb b/lib/mobility/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/mobility/configuration.rb
+++ b/lib/mobility/configuration.rb
@@ -5,6 +5,8 @@ Stores shared Mobility configuration referenced by all backends.
=end
class Configuration
+ RESERVED_OPTION_KEYS = %i[ba... | Mark some option keys in default options as reserved |
diff --git a/addok/config/default.py b/addok/config/default.py
index <HASH>..<HASH> 100644
--- a/addok/config/default.py
+++ b/addok/config/default.py
@@ -77,9 +77,9 @@ RESULTS_FORMATTERS = [
'addok.helpers.formatters.geojson',
]
INDEXERS = [
+ 'addok.helpers.index.housenumbers_indexer',
'addok.helpers.i... | Move housenumber indexer before field indexer
If it comes later, it will overide the fields boost. |
diff --git a/client/python/conductor/conductor.py b/client/python/conductor/conductor.py
index <HASH>..<HASH> 100644
--- a/client/python/conductor/conductor.py
+++ b/client/python/conductor/conductor.py
@@ -47,7 +47,7 @@ class BaseClient(object):
if headers is not None:
theHeader = self.mergeTwoDi... | encode body to utf8 |
diff --git a/nomad/deploymentwatcher/deployment_watcher.go b/nomad/deploymentwatcher/deployment_watcher.go
index <HASH>..<HASH> 100644
--- a/nomad/deploymentwatcher/deployment_watcher.go
+++ b/nomad/deploymentwatcher/deployment_watcher.go
@@ -511,7 +511,10 @@ FAIL:
}
// If permitted, automatically promote thi... | log error on autoPromoteDeployment failure |
diff --git a/src/Router.php b/src/Router.php
index <HASH>..<HASH> 100644
--- a/src/Router.php
+++ b/src/Router.php
@@ -163,17 +163,8 @@ class Router extends Header {
if ($this->home !== null)
return;
$home = dirname($_SERVER['SCRIPT_NAME']);
- // @codeCoverageIgnoreStart
- if ($home === '.')
- # CLI quirk... | Add default home value to prevent null.
Also remove CLI-specific hack. Let CLI activities do manual home
and host setup. |
diff --git a/lib/filelib.php b/lib/filelib.php
index <HASH>..<HASH> 100644
--- a/lib/filelib.php
+++ b/lib/filelib.php
@@ -677,7 +677,7 @@ function file_save_draft_area_files($draftitemid, $contextid, $component, $filea
}
// unchanged file or directory - we keep it as is
unset($ne... | MDL-<I> File API: Fixed calculation of the number of current files when merging with the draft area |
diff --git a/wallet/wsapi/wsapi.go b/wallet/wsapi/wsapi.go
index <HASH>..<HASH> 100644
--- a/wallet/wsapi/wsapi.go
+++ b/wallet/wsapi/wsapi.go
@@ -72,6 +72,8 @@ func handleV2Request(j *factom.JSON2Request) (*factom.JSON2Response, *factom.JSO
resp, jsonError = handleGenerateECAddress(params)
case "generate-factoid-... | added api endpoint for import-addresses |
diff --git a/spec/integration/util/settings.rb b/spec/integration/util/settings.rb
index <HASH>..<HASH> 100755
--- a/spec/integration/util/settings.rb
+++ b/spec/integration/util/settings.rb
@@ -7,9 +7,13 @@ require 'puppet_spec/files'
describe Puppet::Util::Settings do
include PuppetSpec::Files
+ def minima... | Bug #<I> Spec failed due to missing manditory setting in mock
Puppet::Util::Settings#use now requires the :noop setting to exist, and
this test was not providing one in its mocked default structure. |
diff --git a/eth_abi/grammar.py b/eth_abi/grammar.py
index <HASH>..<HASH> 100644
--- a/eth_abi/grammar.py
+++ b/eth_abi/grammar.py
@@ -405,6 +405,7 @@ TYPE_ALIASES = {
'fixed': 'fixed128x18',
'ufixed': 'ufixed128x18',
'function': 'bytes24',
+ 'byte': 'bytes1',
}
TYPE_ALIAS_RE = re.compile(r'\b({})... | Add alias "byte" for "bytes1" |
diff --git a/src/Generators/RouteGenerate.php b/src/Generators/RouteGenerate.php
index <HASH>..<HASH> 100644
--- a/src/Generators/RouteGenerate.php
+++ b/src/Generators/RouteGenerate.php
@@ -19,9 +19,9 @@ class RouteGenerate
*
* @param NamesGenerate
*/
- public function __construct(NamesGenerate $n... | refactor RouteGenerate class |
diff --git a/lib/nuggets/util/cli.rb b/lib/nuggets/util/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/nuggets/util/cli.rb
+++ b/lib/nuggets/util/cli.rb
@@ -157,11 +157,13 @@ module Util
end
end
- def load_config(file = options[:config] || defaults[:config])
+ def load_config(file = options[:config] |... | lib/nuggets/util/cli.rb (load_config): Complain about missing config file as soon as it's specified, not just when it differs from default. |
diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go
index <HASH>..<HASH> 100644
--- a/pkg/api/v1/types.go
+++ b/pkg/api/v1/types.go
@@ -2517,9 +2517,9 @@ type PodSpec struct {
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
// file if specified. This is only valid f... | fix patchMergyKey to ip instead of IP |
diff --git a/mutagen/mp4/__init__.py b/mutagen/mp4/__init__.py
index <HASH>..<HASH> 100644
--- a/mutagen/mp4/__init__.py
+++ b/mutagen/mp4/__init__.py
@@ -311,6 +311,7 @@ class MP4Tags(DictProxy, Tags):
* '\\xa9mvi' -- Movement Index
* 'shwm' -- work/movement
* 'stik' -- Media Kind
+ * 'hdvd' -- HD Vi... | MP4: Add support for iTunes HD Video tag
The atom is named "hdvd", it's an 8 bit integer where:
0 - SD
1 - <I>p
2 - <I>p
iTunes and Apple TV refer to it rather than actual resolution info from
the video stream, so it's a helpful tag to have. |
diff --git a/closure/goog/net/xhrmanager.js b/closure/goog/net/xhrmanager.js
index <HASH>..<HASH> 100644
--- a/closure/goog/net/xhrmanager.js
+++ b/closure/goog/net/xhrmanager.js
@@ -81,6 +81,12 @@ goog.net.XhrManager = function(
goog.isDef(opt_timeoutInterval) ? Math.max(0, opt_timeoutInterval) : 0;
/**
+ ... | Added the missing implementation of withCredentials in XhrManager
The behavior is promised in the jsdoc but is not implemented.
RELNOTES: Added the missing implementation of withCredentials in XhrManager
-------------
Created by MOE: <URL> |
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -72,7 +72,7 @@ _FORCE_ENVIRON_FOR_WRAPPERS = {
_POLLING_STRATEGIES = {
- 'linux': ['epoll', 'poll', 'poll-cv']
+ 'linux': ['epollex', 'epol... | Add epollex polling engine to run_tests.py |
diff --git a/gnsq/reader.py b/gnsq/reader.py
index <HASH>..<HASH> 100644
--- a/gnsq/reader.py
+++ b/gnsq/reader.py
@@ -197,7 +197,7 @@ class Reader(object):
self.on_exception = blinker.Signal()
if message_handler is not None:
- self.on_message.connect(message_handler)
+ self.on... | Don't store week reference to message_handler. |
diff --git a/src/de/mrapp/android/preference/activity/parser/PreferenceHeaderParser.java b/src/de/mrapp/android/preference/activity/parser/PreferenceHeaderParser.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/activity/parser/PreferenceHeaderParser.java
+++ b/src/de/mrapp/android/preference/activ... | A RuntimeException is now thrown, if the title of a preference header is missing. |
diff --git a/src/FieldHandlers/RelatedFieldHandler.php b/src/FieldHandlers/RelatedFieldHandler.php
index <HASH>..<HASH> 100644
--- a/src/FieldHandlers/RelatedFieldHandler.php
+++ b/src/FieldHandlers/RelatedFieldHandler.php
@@ -54,9 +54,8 @@ class RelatedFieldHandler extends BaseFieldHandler
$fieldName = $this-... | add form-group wrapper and required flag on related fields (task #<I>) |
diff --git a/lib/profile/index.js b/lib/profile/index.js
index <HASH>..<HASH> 100644
--- a/lib/profile/index.js
+++ b/lib/profile/index.js
@@ -46,6 +46,8 @@ function generate (inputs, opts) {
}
if (typeof(inputs.carbratio) != "undefined") {
profile.carb_ratio = carb_ratios.carbRatioLookup(inputs);
+ } else ... | Add an error message to console in case carb sensitivity data is missing |
diff --git a/tests/test_live.py b/tests/test_live.py
index <HASH>..<HASH> 100644
--- a/tests/test_live.py
+++ b/tests/test_live.py
@@ -24,7 +24,7 @@ class liveTests(unittest.TestCase):
parser=configargparse.getArgumentParser('pynYNAB')
args=parser.parse_known_args()[0]
connection = nYnabConne... | budget name should not default to "My Budget" |
diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -178,7 +178,14 @@ server.onPhantomPageCreate = function(req, res) {
_this.checkIfPageIsDoneLoading(req, res, req.prerender.status === 'fail');
}, (req.prerender.pageDoneCheckTi... | make sure we encode # (%<I>) for html5 push state URLs |
diff --git a/src/Provider/Facebook.php b/src/Provider/Facebook.php
index <HASH>..<HASH> 100755
--- a/src/Provider/Facebook.php
+++ b/src/Provider/Facebook.php
@@ -144,7 +144,7 @@ class Facebook extends AbstractProvider
*/
protected function getContentType(ResponseInterface $response)
{
- $type = ... | Add better implementation of content-type fix. Thanks @rtheunissen |
diff --git a/plugins/pretokenise.js b/plugins/pretokenise.js
index <HASH>..<HASH> 100644
--- a/plugins/pretokenise.js
+++ b/plugins/pretokenise.js
@@ -120,7 +120,7 @@
return {
startIdx : tk.start,
endIdx : tk.end,
- str : code.substr(tk.start, tk.end),
+ str : code.subst... | fix issues with hack around acorn parser - eg 'get status' |
diff --git a/code/controllers/CMSPageHistoryController.php b/code/controllers/CMSPageHistoryController.php
index <HASH>..<HASH> 100644
--- a/code/controllers/CMSPageHistoryController.php
+++ b/code/controllers/CMSPageHistoryController.php
@@ -201,7 +201,7 @@ class CMSPageHistoryController extends CMSMain {
),
... | MINOR: added note to select two entries |
diff --git a/xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/BitmexAdapters.java b/xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/BitmexAdapters.java
index <HASH>..<HASH> 100644
--- a/xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/BitmexAdapters.java
+++ b/xchange-bitmex/src/main/java/org/knowm/xcha... | [bitmex] Corrected parsing of FundingRecord timestamp |
diff --git a/public/assets/js/build-plugins/warnings.js b/public/assets/js/build-plugins/warnings.js
index <HASH>..<HASH> 100644
--- a/public/assets/js/build-plugins/warnings.js
+++ b/public/assets/js/build-plugins/warnings.js
@@ -101,13 +101,12 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
var i... | Fix for warnings chart, courtesy of @Henk8 closes #<I> |
diff --git a/lib/rspec/active_model/mocks/mocks.rb b/lib/rspec/active_model/mocks/mocks.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec/active_model/mocks/mocks.rb
+++ b/lib/rspec/active_model/mocks/mocks.rb
@@ -238,7 +238,7 @@ EOM
def stub_model(model_class, stubs={})
model_class.new.tap do |m|
m.e... | guard against ActiveRecord models with no primary_key (e.g. database view backed models) |
diff --git a/app/validators/slug_validator.rb b/app/validators/slug_validator.rb
index <HASH>..<HASH> 100644
--- a/app/validators/slug_validator.rb
+++ b/app/validators/slug_validator.rb
@@ -77,6 +77,11 @@ protected
end
class GovernmentPageValidator < InstanceValidator
+ def url_parts
+ # Some inside go... | Allow . in inside govt slugs.
Some insige govt items (eg world location news items with no english
translation) have a .locale on the end. |
diff --git a/test/has_scope_test.rb b/test/has_scope_test.rb
index <HASH>..<HASH> 100644
--- a/test/has_scope_test.rb
+++ b/test/has_scope_test.rb
@@ -50,7 +50,7 @@ class TreesController < ApplicationController
false
end
- if ActionPack::VERSION::MAJOR == 5
+ if ActionPack::VERSION::MAJOR >= 5
... | Support Rails 6 in our tests
It was checking exclusively for Rails 5 to do the necessary workarounds,
not we just check if it's the major version is higher than 5. |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -251,7 +251,7 @@ from salt.exceptions import CommandExecutionError
from salt.utils.serializers import yaml as yaml_serializer
from salt.utils.serializers import json as json_serial... | Replaced import six in file /salt/states/file.py |
diff --git a/metaseq/results_table.py b/metaseq/results_table.py
index <HASH>..<HASH> 100644
--- a/metaseq/results_table.py
+++ b/metaseq/results_table.py
@@ -365,6 +365,8 @@ class ResultsTable(object):
tuple([new_ind] + list(block[1:]))
)
else:
+ if has... | support for pandas <I> bug with numpy |
diff --git a/src/SourceLocator/Type/PhpInternalSourceLocator.php b/src/SourceLocator/Type/PhpInternalSourceLocator.php
index <HASH>..<HASH> 100644
--- a/src/SourceLocator/Type/PhpInternalSourceLocator.php
+++ b/src/SourceLocator/Type/PhpInternalSourceLocator.php
@@ -115,10 +115,6 @@ final class PhpInternalSourceLocator... | #<I> simplified some minor file lookup operations |
diff --git a/exp/lmdbscan/scanner_test.go b/exp/lmdbscan/scanner_test.go
index <HASH>..<HASH> 100644
--- a/exp/lmdbscan/scanner_test.go
+++ b/exp/lmdbscan/scanner_test.go
@@ -23,6 +23,12 @@ func TestScanner_err(t *testing.T) {
for scanner.Scan() {
t.Error("loop should not execute")
}
+ if scanner.Set(nil, ni... | lmdbscan: add missing test cases
Adds error handling tests for Scanner.Set* methods. |
diff --git a/modules/uadetector-core/src/test/java/net/sf/uadetector/datastore/AbstractRefreshableDataStoreTest.java b/modules/uadetector-core/src/test/java/net/sf/uadetector/datastore/AbstractRefreshableDataStoreTest.java
index <HASH>..<HASH> 100644
--- a/modules/uadetector-core/src/test/java/net/sf/uadetector/datasto... | Added test to check that 'setData' does not accept a Data.EMPTY |
diff --git a/cltk/tokenize/word.py b/cltk/tokenize/word.py
index <HASH>..<HASH> 100644
--- a/cltk/tokenize/word.py
+++ b/cltk/tokenize/word.py
@@ -6,13 +6,14 @@ import re
from nltk.tokenize.punkt import PunktLanguageVars
from nltk.tokenize.punkt import PunktSentenceTokenizer, PunktParameters
+from cltk.utils.cltk_l... | ch pyarabic printout to log |
diff --git a/js/stex.js b/js/stex.js
index <HASH>..<HASH> 100644
--- a/js/stex.js
+++ b/js/stex.js
@@ -175,6 +175,9 @@ module.exports = class stex extends Exchange {
'maker': 0.002,
},
},
+ 'commonCurrencies': {
+ 'BHD': 'Bithold',
+ ... | Stex BHD -> Bithold mapping |
diff --git a/sunspot/lib/sunspot/search/standard_search.rb b/sunspot/lib/sunspot/search/standard_search.rb
index <HASH>..<HASH> 100644
--- a/sunspot/lib/sunspot/search/standard_search.rb
+++ b/sunspot/lib/sunspot/search/standard_search.rb
@@ -70,7 +70,7 @@ module Sunspot
# If no query was given, or all terms... | Fix spellcheck_collation.
With the solr 5 update, the collation response format changed. This change matches the update |
diff --git a/src/EasyDB.php b/src/EasyDB.php
index <HASH>..<HASH> 100644
--- a/src/EasyDB.php
+++ b/src/EasyDB.php
@@ -43,6 +43,11 @@ class EasyDB
\PDO::ATTR_ERRMODE,
\PDO::ERRMODE_EXCEPTION
);
+
+ if (empty($dbEngine)) {
+ $dbEngine = $this->pdo->getAttribute(\PDO::... | Get engine from connection when none provided
The currently used database engine can be fetched from PDO if it is not
set at runtime.
Fixes #<I> |
diff --git a/pkg/k8s/version/version.go b/pkg/k8s/version/version.go
index <HASH>..<HASH> 100644
--- a/pkg/k8s/version/version.go
+++ b/pkg/k8s/version/version.go
@@ -87,6 +87,10 @@ var (
// discovery was introduced in K8s version 1.21.
isGEThanAPIDiscoveryV1 = versioncheck.MustCompile(">=1.21.0")
+ // Constraint... | pkg/k8s/version: Set EndpointSlice cap when version >=<I>
updateVersion only set EndpointSliceV1, but not EndpointSlice.
Fix this, so that tests can set the capabilities correctly via Force()
for older k8s versions.
Fixes: 7a<I>f<I> ("k8s: Consolidate check for EndpointSlice support") |
diff --git a/src/Autocomplete.js b/src/Autocomplete.js
index <HASH>..<HASH> 100644
--- a/src/Autocomplete.js
+++ b/src/Autocomplete.js
@@ -151,6 +151,18 @@ const Autocomplete = React.createClass({
);
},
+ /**
+ * Focus or blur the autocomplete
+ */
+ focus() {
+ const { input } = th... | Add focus and blur on Autocomplete (#<I>) |
diff --git a/metrics/endpoint.go b/metrics/endpoint.go
index <HASH>..<HASH> 100644
--- a/metrics/endpoint.go
+++ b/metrics/endpoint.go
@@ -48,6 +48,8 @@ func printCounters(w http.ResponseWriter, r *http.Request) {
// Histograms
hists := getAllHistograms()
for name, dat := range hists {
+ fmt.Fprintf(w, "%shist_%... | Adding count and kept to metrics endpoint for histograms. Fixing small bug when collecting more metrics than the buffer holds. |
diff --git a/src/googleclouddebugger/capture_collector.py b/src/googleclouddebugger/capture_collector.py
index <HASH>..<HASH> 100644
--- a/src/googleclouddebugger/capture_collector.py
+++ b/src/googleclouddebugger/capture_collector.py
@@ -19,6 +19,7 @@
import copy
import datetime
import inspect
+import itertools
im... | Call list() on dict.items() in Python 3 to avoid 'dict changed size during
iteration'.
-------------
Created by MOE: <URL> |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -147,7 +147,7 @@ module.exports = function (db, opts, keys) {
})
}
- db.createFeed = function (keys) {
+ db.createFeed = function (keys, opts) {
return createFeed(db, keys, opts)
}
@@ -329,10 +329,12 @@ m... | ignore db errors on getLatest, we expect this when it is a new feed |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.