diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/Psc/Code/Test/Base.php b/lib/Psc/Code/Test/Base.php
index <HASH>..<HASH> 100644
--- a/lib/Psc/Code/Test/Base.php
+++ b/lib/Psc/Code/Test/Base.php
@@ -40,7 +40,8 @@ class Base extends AssertionsBase {
public function getProject() {
if (!isset($this->project)) {
- $this->project = $GLOBA... | oh lord, who will rewrite this stuff, once .. |
diff --git a/py/__init__.py b/py/__init__.py
index <HASH>..<HASH> 100644
--- a/py/__init__.py
+++ b/py/__init__.py
@@ -20,7 +20,9 @@ For questions please check out http://pylib.org/contact.html
from initpkg import initpkg
trunk = None
-version = trunk or "1.0.2"
+version = trunk or "1.0.x"
+
+del trunk
initpkg(... | switching release branch back to <I>.x versioning
--HG--
branch : <I>.x |
diff --git a/lib/spinning_cursor/cursor.rb b/lib/spinning_cursor/cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/spinning_cursor/cursor.rb
+++ b/lib/spinning_cursor/cursor.rb
@@ -13,6 +13,10 @@ module SpinningCursor
CLR = "\e[0K"
end
+ ESC_CURS_INVIS = "\e[?25l"
+ ESC_CURS_VIS = "\e[?25h"
+ ESC_R_AND_CLR... | Add some 'escape sequences' as Constants |
diff --git a/lib/adapters/http.js b/lib/adapters/http.js
index <HASH>..<HASH> 100755
--- a/lib/adapters/http.js
+++ b/lib/adapters/http.js
@@ -25,6 +25,14 @@ var supportedProtocols = platform.protocols.map(function(protocol) {
return protocol + ':';
});
+/**
+ * If the proxy or config beforeRedirects functions ar... | docs(adapters/http) |
diff --git a/test/fixtures.rb b/test/fixtures.rb
index <HASH>..<HASH> 100644
--- a/test/fixtures.rb
+++ b/test/fixtures.rb
@@ -1,3 +1,4 @@
+require 'hanami/validations'
require 'hanami/model'
require 'hanami/mailer' | Explicitely require hanami/validations on top of test_helper.rb |
diff --git a/lib/redfish/tasks/log_levels.rb b/lib/redfish/tasks/log_levels.rb
index <HASH>..<HASH> 100644
--- a/lib/redfish/tasks/log_levels.rb
+++ b/lib/redfish/tasks/log_levels.rb
@@ -22,7 +22,7 @@ module Redfish
def validate_levels(levels)
levels.each_pair do |key, value|
- unless %w(SEVE... | Fix spelling of FINEST log level and add OFF log level |
diff --git a/lib/cassandra/mapper/convert.rb b/lib/cassandra/mapper/convert.rb
index <HASH>..<HASH> 100644
--- a/lib/cassandra/mapper/convert.rb
+++ b/lib/cassandra/mapper/convert.rb
@@ -62,7 +62,7 @@ module Cassandra::Mapper::Convert
def to_time(value)
value = Time.parse value if value.is_a? String
value ... | Use more cross-platform way to pack time |
diff --git a/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/chat/ChatActivity.java b/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/chat/ChatActivity.java
index <HASH>..<HASH> 100644
--- a/apps/actor-android/src/main/java/im/actor/messenger/app/fragment/chat/ChatActivity.java
+++ b/a... | feat(android) mention autocomplete select added only |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='msm',
- version='0.5.5',
+ version='0.5.6',
packages=['msm'],
install_requires=['GitPython', 'typing'],
url='https://github.com/MycroftAI/mycr... | Increment version to <I> |
diff --git a/lib/mongo/query.rb b/lib/mongo/query.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/query.rb
+++ b/lib/mongo/query.rb
@@ -42,11 +42,16 @@ module XGen
# number_to_return :: Max number of records to return. (Called :limit
# in calls to Collection#find.)
#
- ... | Add docs about order_by Hash/OrderedHash |
diff --git a/pkg/cmd/grafana-server/commands/cli.go b/pkg/cmd/grafana-server/commands/cli.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/grafana-server/commands/cli.go
+++ b/pkg/cmd/grafana-server/commands/cli.go
@@ -127,6 +127,20 @@ func executeServer(configFile, homePath, pidFile, packaging string, traceDiagnos
}
... | Chore: Panic! in the Logs (#<I>) |
diff --git a/code/extensions/AdvancedWorkflowExtension.php b/code/extensions/AdvancedWorkflowExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/AdvancedWorkflowExtension.php
+++ b/code/extensions/AdvancedWorkflowExtension.php
@@ -2,6 +2,7 @@
use SilverStripe\ORM\DataObject;
use SilverStripe\Security\Pe... | FIX, replacing an extension that no longer exists. |
diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/apt.py
+++ b/sos/plugins/apt.py
@@ -23,6 +23,8 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin):
"/etc/apt", "/var/log/apt"
])
+ self.add_forbidden_path("/etc/apt/auth.conf")
+
self... | [apt] add /etc/apt/auth.conf to forbidden path
Resolves: #<I> |
diff --git a/src/widgets/textarea/sender/sender.js b/src/widgets/textarea/sender/sender.js
index <HASH>..<HASH> 100644
--- a/src/widgets/textarea/sender/sender.js
+++ b/src/widgets/textarea/sender/sender.js
@@ -41,12 +41,18 @@
}
+ /* KEYDOWN */
+
+ ___keydown ( $target ) {
+
+ this._on ( this.$texta... | TextareaSender: listening only to keystrokes happening inside the textarea |
diff --git a/ratcave/coordinates.py b/ratcave/coordinates.py
index <HASH>..<HASH> 100644
--- a/ratcave/coordinates.py
+++ b/ratcave/coordinates.py
@@ -51,6 +51,30 @@ class Coordinates(IterObservable):
self[-1] = value
@property
+ def xy(self):
+ return self[-3:-1]
+
+ @xy.setter
+ def xy... | added two-component properties (and setters) to the Coordinates class |
diff --git a/tensorbase/base.py b/tensorbase/base.py
index <HASH>..<HASH> 100644
--- a/tensorbase/base.py
+++ b/tensorbase/base.py
@@ -49,6 +49,9 @@ class Layers:
# Conv function
input_channels = self.input.get_shape()[3]
+ if filter_size == 0: # outputs a 1x1 feature map; used f... | Added fully convolutional option to network |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -31,10 +31,16 @@ requirements = [
'requests>=2.13.0',
'scipy>=0.18.1',
'six>=1.10.0',
- 'tensorflow>=1.0.0',
'Werkzeug>=0.11.15',
]
+# only add tensorflow as a requirement if it is not already provide... | only add tensorflow as a requirement if it is not already provided (#<I>) |
diff --git a/lib/rails_admin_tag_list.rb b/lib/rails_admin_tag_list.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_admin_tag_list.rb
+++ b/lib/rails_admin_tag_list.rb
@@ -39,8 +39,8 @@ RailsAdmin::Config::Fields.register_factory do |parent, properties, fields|
if defined?(::ActsAsTaggableOn) && model.taggable?
... | Fixed issue with change in property field access in latest rails_admin
Issue: undefined method `[]' for #<RailsAdmin::Adapters::ActiveRecord::Property:...>
Reason: <URL> |
diff --git a/format-config-v1.go b/format-config-v1.go
index <HASH>..<HASH> 100644
--- a/format-config-v1.go
+++ b/format-config-v1.go
@@ -240,7 +240,8 @@ func initFormatXL(storageDisks []StorageAPI) (err error) {
}
return err
}
- u, err := uuid.New()
+ var u *uuid.UUID
+ u, err = uuid.New()
if err != ... | Fix shadowing of err variable (#<I>) |
diff --git a/core/src/main/java/com/graphhopper/GraphHopper.java b/core/src/main/java/com/graphhopper/GraphHopper.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/graphhopper/GraphHopper.java
+++ b/core/src/main/java/com/graphhopper/GraphHopper.java
@@ -176,18 +176,18 @@ public class GraphHopper implements... | improved docs for GraphHopper.forXY |
diff --git a/lib/arjdbc/abstract/database_statements.rb b/lib/arjdbc/abstract/database_statements.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/abstract/database_statements.rb
+++ b/lib/arjdbc/abstract/database_statements.rb
@@ -13,7 +13,9 @@ module ArJdbc
# if prepared statements are enabled
def exec_q... | Avoid calling #execute from #exec_query because AR assumes they aren't related |
diff --git a/src/main/java/graphql/execution/FetchedValue.java b/src/main/java/graphql/execution/FetchedValue.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/execution/FetchedValue.java
+++ b/src/main/java/graphql/execution/FetchedValue.java
@@ -2,12 +2,17 @@ package graphql.execution;
import com.google... | make FetchedValue part of the public API (#<I>) |
diff --git a/src/pythonfinder/environment.py b/src/pythonfinder/environment.py
index <HASH>..<HASH> 100644
--- a/src/pythonfinder/environment.py
+++ b/src/pythonfinder/environment.py
@@ -7,7 +7,7 @@ import sys
PYENV_INSTALLED = bool(os.environ.get("PYENV_SHELL")) or bool(
os.environ.get("PYENV_ROOT")
)
-ASDF_INS... | use ASDF_DIR env var to test if ASDF is installed
ASDF_DIR can test if ASDF is installed. ASDF_DATA_DIR is (optionally) set by the user so it cannot be used to test if ASDF is installed. |
diff --git a/lib/ohai/plugins/openstack.rb b/lib/ohai/plugins/openstack.rb
index <HASH>..<HASH> 100644
--- a/lib/ohai/plugins/openstack.rb
+++ b/lib/ohai/plugins/openstack.rb
@@ -47,6 +47,9 @@ Ohai.plugin(:Openstack) do
# dreamhost systems have the dhc-user on them
def openstack_provider
+ # dream host doesn... | Avoid failures on windows with dreamhost detection
We're on openstack for sure if we're on windows |
diff --git a/lib/sshkit.rb b/lib/sshkit.rb
index <HASH>..<HASH> 100644
--- a/lib/sshkit.rb
+++ b/lib/sshkit.rb
@@ -1,4 +1,3 @@
-require 'thread'
require_relative 'sshkit/all'
module SSHKit
diff --git a/lib/sshkit/runners/parallel.rb b/lib/sshkit/runners/parallel.rb
index <HASH>..<HASH> 100644
--- a/lib/sshkit/runne... | Require 'Thread' where we use it, in the Parallel runner |
diff --git a/lxd/container_snapshot.go b/lxd/container_snapshot.go
index <HASH>..<HASH> 100644
--- a/lxd/container_snapshot.go
+++ b/lxd/container_snapshot.go
@@ -49,8 +49,13 @@ func containerSnapshotsGet(d *Daemon, r *http.Request) Response {
for _, snap := range snaps {
_, snapName, _ := containerGetParentAndSna... | lxd/containers: Fix snapshot URLs in projects |
diff --git a/kbfsfuse/folderlist.go b/kbfsfuse/folderlist.go
index <HASH>..<HASH> 100644
--- a/kbfsfuse/folderlist.go
+++ b/kbfsfuse/folderlist.go
@@ -147,11 +147,11 @@ func (fl *FolderList) ReadDirAll(ctx context.Context) (res []fuse.Dirent, err er
work := make(chan libkbfs.TlfID)
results := make(chan fuse.Dirent)... | FUSE: Limit folder lookup workers to number of favorites |
diff --git a/src/Bootloader/TokenizerBootloader.php b/src/Bootloader/TokenizerBootloader.php
index <HASH>..<HASH> 100644
--- a/src/Bootloader/TokenizerBootloader.php
+++ b/src/Bootloader/TokenizerBootloader.php
@@ -55,7 +55,8 @@ final class TokenizerBootloader extends Bootloader implements SingletonInterface
... | do not report issues while performing static analysis on migrations |
diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -3,6 +3,7 @@ var should = require('should');
var nock = require('nock');
var up = require('../index')(config);
+nock.disableNetConnect();
var baseApi = nock('https://jawbone.com:443');
describe('up'... | Fix usage of Nock in unit tests - much cleaner now |
diff --git a/src/Drivers/Pgsql/PgsqlDriver.php b/src/Drivers/Pgsql/PgsqlDriver.php
index <HASH>..<HASH> 100644
--- a/src/Drivers/Pgsql/PgsqlDriver.php
+++ b/src/Drivers/Pgsql/PgsqlDriver.php
@@ -401,6 +401,9 @@ class PgsqlDriver implements IDriver
private function processConfig(array $params): array
{
+ if (!iss... | pgsql: help with invalid configuration of dbname connection [closes #<I>] |
diff --git a/src/Product/Model/Variant.php b/src/Product/Model/Variant.php
index <HASH>..<HASH> 100644
--- a/src/Product/Model/Variant.php
+++ b/src/Product/Model/Variant.php
@@ -57,6 +57,27 @@ class Variant extends BaseVariant implements VariantInterface
}
/**
+ * Checks if the product is available at ... | Added helpers methods to check availability (also on variants) |
diff --git a/RestFB/library/src/main/java/com/restfb/types/Checkin.java b/RestFB/library/src/main/java/com/restfb/types/Checkin.java
index <HASH>..<HASH> 100644
--- a/RestFB/library/src/main/java/com/restfb/types/Checkin.java
+++ b/RestFB/library/src/main/java/com/restfb/types/Checkin.java
@@ -67,7 +67,7 @@ public clas... | Fix for Issue <I>: Add the "category" field to Place and Issue <I>: Checkin type's lat/long should be Double precision, not Float |
diff --git a/src/Framework/Router/Route.php b/src/Framework/Router/Route.php
index <HASH>..<HASH> 100644
--- a/src/Framework/Router/Route.php
+++ b/src/Framework/Router/Route.php
@@ -16,7 +16,7 @@ class Route implements Interfaces\Router\RouteInterface
{
protected $name;
protected $supportedMethods = [];
- ... | updated the $middleware property to make it consistent (always an array) |
diff --git a/public/javascripts/comparison_grid.js b/public/javascripts/comparison_grid.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/comparison_grid.js
+++ b/public/javascripts/comparison_grid.js
@@ -153,7 +153,7 @@ KT.comparison_grid.controls = function(grid) {
slide_left = function() {
... | CS - Fix for hiding column. |
diff --git a/jsx/webview-bridge.js b/jsx/webview-bridge.js
index <HASH>..<HASH> 100644
--- a/jsx/webview-bridge.js
+++ b/jsx/webview-bridge.js
@@ -182,6 +182,10 @@ var WebView = React.createClass({
WebViewExManager.onMessage(this.getWebWiewHandle(), cb);
},
+ eval: function (value) {
+ WebViewExManager.ev... | added eval function into webview-bright react-native js code |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -9,13 +9,17 @@ var through = require('through');
function reactify(filename, options) {
options = options || {};
- var source = '';
+ var buf = [];
function write(chunk) {
- return source += chunk;
+ if (... | utf8: handle buffering of split multibyte characters |
diff --git a/lxd/container.go b/lxd/container.go
index <HASH>..<HASH> 100644
--- a/lxd/container.go
+++ b/lxd/container.go
@@ -731,7 +731,7 @@ func (c *containerLXD) RenderState() (*shared.ContainerState, error) {
if c.IsRunning() {
pid := c.InitPID()
status.Init = pid
- status.Processcount = c.pRocesscountGet... | Fix function name to be more normal looking |
diff --git a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java
+++ b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java
@@ -119,6 +11... | fix(graphql): add missing Fare#agency_id field to GraphQL spec
refs catalogueglobal/datatools-ui#<I> |
diff --git a/pale/endpoint.py b/pale/endpoint.py
index <HASH>..<HASH> 100644
--- a/pale/endpoint.py
+++ b/pale/endpoint.py
@@ -239,6 +239,11 @@ class Endpoint(object):
% self.__class__.__name__)
raise
+ # ensure content type is json
+ if "Content-Type" not in response.heade... | ensures response has content type application/json |
diff --git a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestJoinQueries.java b/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestJoinQueries.java
index <HASH>..<HASH> 100644
--- a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestJoinQueries.java
+++ b/presto-tests/src/ma... | Disable testOuterJoinWithExpression test
The test is taking <I> min to finish. Disable it temporarily. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ setup(
version=__version__,
py_modules=['matplotlib2tikz'],
url='https://github.com/nschloe/matplotlib2tikz',
- download_url='https://github.com/nschloe/matplotlib2tikz/downloads',
+ downloa... | make pypi the download url |
diff --git a/pelix/threadpool.py b/pelix/threadpool.py
index <HASH>..<HASH> 100644
--- a/pelix/threadpool.py
+++ b/pelix/threadpool.py
@@ -70,6 +70,13 @@ class FutureResult(object):
:param kwargs: Method keyword arguments
:raise: The exception raised by the method
"""
+ # Normalize arg... | Protection of Future.execute()
args and kwargs arguments are mandatory, but can now be None. |
diff --git a/src/geo/leaflet/leaflet-map-view.js b/src/geo/leaflet/leaflet-map-view.js
index <HASH>..<HASH> 100644
--- a/src/geo/leaflet/leaflet-map-view.js
+++ b/src/geo/leaflet/leaflet-map-view.js
@@ -25,7 +25,8 @@ var LeafletMapView = MapView.extend({
dragging: !!this.map.get('drag'),
doubleClickZoom: ... | Remove Leaflet's attributionControl by default |
diff --git a/src/js/treemode.js b/src/js/treemode.js
index <HASH>..<HASH> 100644
--- a/src/js/treemode.js
+++ b/src/js/treemode.js
@@ -222,6 +222,9 @@ treemode.update = function (json) {
this.node.update(json);
this.onChangeDisabled = false;
+ // validate JSON schema
+ this.validate();
+
// update search r... | Fixed validation not being executed after `update` in tree mode |
diff --git a/lib/App/index.js b/lib/App/index.js
index <HASH>..<HASH> 100644
--- a/lib/App/index.js
+++ b/lib/App/index.js
@@ -193,7 +193,7 @@ class App {
if (driver.zwave) {
for (let j = 0; j < driver.settings.length; j++) {
let setting = driver.settings[j... | Fix Z-Wave signed validation |
diff --git a/lib/spidr/agent.rb b/lib/spidr/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/spidr/agent.rb
+++ b/lib/spidr/agent.rb
@@ -566,7 +566,7 @@ module Spidr
# @since 0.2.2
#
def post_page(url,post_data='')
- url = URI(url.to_s)
+ url = URI(url.to_s) unless url.kind_of?(URI)
prep... | Avoid coercing the url, if it's already a URI::HTTP. |
diff --git a/lxd/instances.go b/lxd/instances.go
index <HASH>..<HASH> 100644
--- a/lxd/instances.go
+++ b/lxd/instances.go
@@ -3,6 +3,7 @@ package main
import (
"fmt"
"io/ioutil"
+ "net/http"
"os"
"path/filepath"
"sort"
@@ -18,9 +19,9 @@ import (
"github.com/lxc/lxd/lxd/instance/instancetype"
"github.com... | lxd/instances: Prevent concurrent running of instancesStart
In case instances are still being started when a storage pool comes online and calls this function. |
diff --git a/personalcapital/personalcapital.py b/personalcapital/personalcapital.py
index <HASH>..<HASH> 100644
--- a/personalcapital/personalcapital.py
+++ b/personalcapital/personalcapital.py
@@ -162,7 +162,7 @@ class PersonalCapital(object):
def __authenticate_email(self, code):
data = self.__genera... | Fix for upstream Issue #<I>. Personal Capital updated the post url for email authentication. |
diff --git a/spec/plugin.py b/spec/plugin.py
index <HASH>..<HASH> 100644
--- a/spec/plugin.py
+++ b/spec/plugin.py
@@ -251,9 +251,17 @@ class SpecOutputStream(OutputStream):
return " " * self._depth
def print_context(self, context):
+ # Ensure parents get printed too (e.g. an outer class with ... | Print context line for classes which only wrap others |
diff --git a/Vpc/Form/Dynamic/Admin.php b/Vpc/Form/Dynamic/Admin.php
index <HASH>..<HASH> 100644
--- a/Vpc/Form/Dynamic/Admin.php
+++ b/Vpc/Form/Dynamic/Admin.php
@@ -9,7 +9,7 @@ class Vpc_Form_Dynamic_Admin extends Vpc_Abstract_Composite_Admin
$acl->addResource(
new Vps_Acl_Resource_MenuD... | don't use that parent, as it has permissions for everything |
diff --git a/cli/lib/kontena/cli/nodes/update_command.rb b/cli/lib/kontena/cli/nodes/update_command.rb
index <HASH>..<HASH> 100644
--- a/cli/lib/kontena/cli/nodes/update_command.rb
+++ b/cli/lib/kontena/cli/nodes/update_command.rb
@@ -10,9 +10,11 @@ module Kontena::Cli::Nodes
require_current_grid
token = ... | fix setting of node labels from cli |
diff --git a/salt/modules/win_lgpo.py b/salt/modules/win_lgpo.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_lgpo.py
+++ b/salt/modules/win_lgpo.py
@@ -1437,6 +1437,21 @@ class _policy_info(object):
},
'Transform': self.enabled_one_disabled_zero_transform,
... | Add support for AddPrinterDrivers |
diff --git a/playhouse/apsw_ext.py b/playhouse/apsw_ext.py
index <HASH>..<HASH> 100644
--- a/playhouse/apsw_ext.py
+++ b/playhouse/apsw_ext.py
@@ -98,14 +98,24 @@ class APSWDatabase(SqliteDatabase):
conn.createmodule(mod_name, mod_inst)
return conn
+ def _execute_sql(self, cursor, sql, params... | Proper autocommit behavior w/apsw |
diff --git a/spec/controllers/admin/statuses_controller_spec.rb b/spec/controllers/admin/statuses_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/admin/statuses_controller_spec.rb
+++ b/spec/controllers/admin/statuses_controller_spec.rb
@@ -71,6 +71,14 @@ describe Admin::StatusesController do
... | Add test on creating a status whith an existing one |
diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -94,7 +94,7 @@ export default class RangePool {
if (this.length === Infinity) {
return 0
}
- return Math.round((this.getCompleted() / this.getRemaining()) * 100)
+ return Math.floor((this... | :new: Use Math.floor instead of Math.round in Worker and Pool percentage |
diff --git a/lib/formalist/elements/standard/text_area.rb b/lib/formalist/elements/standard/text_area.rb
index <HASH>..<HASH> 100644
--- a/lib/formalist/elements/standard/text_area.rb
+++ b/lib/formalist/elements/standard/text_area.rb
@@ -7,6 +7,7 @@ module Formalist
class TextArea < Field
attribute :text_s... | Add `code` attributes to text-type fields. |
diff --git a/lib/ethereum/fast_rlp.rb b/lib/ethereum/fast_rlp.rb
index <HASH>..<HASH> 100644
--- a/lib/ethereum/fast_rlp.rb
+++ b/lib/ethereum/fast_rlp.rb
@@ -19,6 +19,13 @@ module Ethereum
"#{prefix}#{item}"
end
+ ##
+ # Alias to encode_nested_bytes, override default encode.
+ #
+ def encode(... | make FastRLP default to encode nested bytes |
diff --git a/lib/octopress-deploy/git.rb b/lib/octopress-deploy/git.rb
index <HASH>..<HASH> 100644
--- a/lib/octopress-deploy/git.rb
+++ b/lib/octopress-deploy/git.rb
@@ -79,7 +79,7 @@ CONFIG
else
`echo "initialize deploy repo" > _`
`git add .`
- `git commit -m 'i... | Windows does not understand single quotes in shell commands |
diff --git a/lib/models/requestContext.js b/lib/models/requestContext.js
index <HASH>..<HASH> 100644
--- a/lib/models/requestContext.js
+++ b/lib/models/requestContext.js
@@ -53,9 +53,7 @@ class Connection {
}
set id(str) {
- if (this[_c_id] === null) {
- this[_c_id] = assert.assertString('connection.id... | backward compatibility: connection properties should not be read-only |
diff --git a/src/main/java/hdfs/jsr203/HadoopPath.java b/src/main/java/hdfs/jsr203/HadoopPath.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hdfs/jsr203/HadoopPath.java
+++ b/src/main/java/hdfs/jsr203/HadoopPath.java
@@ -492,7 +492,9 @@ public class HadoopPath implements Path {
@Override
public URI toUri() {
... | Remove resolve path in Path.toURI() |
diff --git a/apps/nsq_to_file/nsq_to_file.go b/apps/nsq_to_file/nsq_to_file.go
index <HASH>..<HASH> 100644
--- a/apps/nsq_to_file/nsq_to_file.go
+++ b/apps/nsq_to_file/nsq_to_file.go
@@ -72,6 +72,10 @@ func main() {
fs := flagSet()
fs.Parse(os.Args[1:])
+ if args := fs.Args(); len(args) > 0 {
+ log.Fatalf("unkno... | nsq_to_file: fatally exit on unknown non-flag args |
diff --git a/aws/logger.go b/aws/logger.go
index <HASH>..<HASH> 100644
--- a/aws/logger.go
+++ b/aws/logger.go
@@ -26,14 +26,14 @@ func (l *LogLevelType) Value() LogLevelType {
// Matches returns true if the v LogLevel is enabled by this LogLevel. Should be
// used with logging sub levels. Is safe to use on nil val... | Update comments in logger.go (#<I>)
nill -> nil |
diff --git a/resource/resource.go b/resource/resource.go
index <HASH>..<HASH> 100644
--- a/resource/resource.go
+++ b/resource/resource.go
@@ -41,6 +41,24 @@ import (
type Resource struct {
resource.Resource
+ // ID uniquely identifies a resource-service pair within the model.
+ // Note that the model ignores pend... | Add ID fields to resource.Resource. |
diff --git a/salt/client.py b/salt/client.py
index <HASH>..<HASH> 100644
--- a/salt/client.py
+++ b/salt/client.py
@@ -979,7 +979,7 @@ class LocalClient(object):
sreq = salt.payload.SREQ(
'tcp://{0[interface]}:{0[ret_port]}'.format(self.opts),
)
- payload = sreq.send('clear', paylo... | Clean out payload connection timeout, this is not passed down from here |
diff --git a/sprd/entity/Payment.js b/sprd/entity/Payment.js
index <HASH>..<HASH> 100644
--- a/sprd/entity/Payment.js
+++ b/sprd/entity/Payment.js
@@ -1,4 +1,4 @@
-define(["js/data/Entity"], function(Entity) {
+define(["js/data/Entity"], function (Entity) {
return Entity.inherit("checkout.entity.Payment", {
... | DEV-<I> - Frontend support/ implementation for KLARNA |
diff --git a/openpnm/__init__.py b/openpnm/__init__.py
index <HASH>..<HASH> 100644
--- a/openpnm/__init__.py
+++ b/openpnm/__init__.py
@@ -53,7 +53,7 @@ It consists of the following submodules:
"""
import os
from pathlib import Path
-from git import Repo, InvalidGitRepositoryError
+from git import Repo
__version_... | changing commit id thing in version number |
diff --git a/lib/producer.js b/lib/producer.js
index <HASH>..<HASH> 100644
--- a/lib/producer.js
+++ b/lib/producer.js
@@ -131,6 +131,12 @@ export default function ({ backpack, bakes, slash, target }) {
}
} else
if (stripe.file) {
+ if (stripe.file === target.output) {
+ ... | protect against "assert": "**/*" that causes filling all disk |
diff --git a/src/golibmc.go b/src/golibmc.go
index <HASH>..<HASH> 100644
--- a/src/golibmc.go
+++ b/src/golibmc.go
@@ -344,17 +344,17 @@ func (client *Client) newConn() (*conn, error) {
func (client *Client) putConn(cn *conn, err error) error {
client.lk.Lock()
- if err == ErrBadConn {
+ if err == ErrBadConn ||
+ ... | Close connection if putConnLocked is failed |
diff --git a/src/main/java/com/stripe/model/PaymentIntent.java b/src/main/java/com/stripe/model/PaymentIntent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/stripe/model/PaymentIntent.java
+++ b/src/main/java/com/stripe/model/PaymentIntent.java
@@ -27,7 +27,7 @@ public class PaymentIntent extends APIResource ... | Rename application_fee to application_fee_amount on PaymentIntent |
diff --git a/lib/sorcery/model/submodules/magic_login.rb b/lib/sorcery/model/submodules/magic_login.rb
index <HASH>..<HASH> 100644
--- a/lib/sorcery/model/submodules/magic_login.rb
+++ b/lib/sorcery/model/submodules/magic_login.rb
@@ -52,10 +52,13 @@ module Sorcery
module ClassMethods
# Find user by... | Allow load_from_magic_login_token to accept a block (#<I>) |
diff --git a/javascript/firefox-driver/js/syntheticMouse.js b/javascript/firefox-driver/js/syntheticMouse.js
index <HASH>..<HASH> 100644
--- a/javascript/firefox-driver/js/syntheticMouse.js
+++ b/javascript/firefox-driver/js/syntheticMouse.js
@@ -99,6 +99,20 @@ SyntheticMouse.prototype.isElementShown = function(element... | firefox: Check that select is clickable when clicking option |
diff --git a/lib/tgios/images_collection_view_binding.rb b/lib/tgios/images_collection_view_binding.rb
index <HASH>..<HASH> 100644
--- a/lib/tgios/images_collection_view_binding.rb
+++ b/lib/tgios/images_collection_view_binding.rb
@@ -21,7 +21,7 @@ module Tgios
},
... | image collection view binding only assing image when not nil; table view utility scroll to middle instead of bottom |
diff --git a/lib/classy_enum.rb b/lib/classy_enum.rb
index <HASH>..<HASH> 100644
--- a/lib/classy_enum.rb
+++ b/lib/classy_enum.rb
@@ -24,7 +24,7 @@ end
module ClassyEnum
- module ClassMethods
+ module SuperClassMethods
def new(option)
self::OPTION_HASH[option] || TypeError.new("Valid #{s... | Added Ruby <I> support |
diff --git a/packages/vaex-jupyter/vaex/jupyter/_version.py b/packages/vaex-jupyter/vaex/jupyter/_version.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-jupyter/vaex/jupyter/_version.py
+++ b/packages/vaex-jupyter/vaex/jupyter/_version.py
@@ -1,2 +1,2 @@
-__version_tuple__ = (0, 2, 2)
-__version__ = '0.2.2'
+__vers... | Release <I> of vaex-jupyter |
diff --git a/examples/blocks/blocks/input.go b/examples/blocks/blocks/input.go
index <HASH>..<HASH> 100644
--- a/examples/blocks/blocks/input.go
+++ b/examples/blocks/blocks/input.go
@@ -29,7 +29,7 @@ var gamepadAbstractButtons = []abstractButton{
type Input struct {
keyStates [256]int
gamepadBut... | examples/blocks: Refactoring |
diff --git a/spec/crawler_spec.rb b/spec/crawler_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/crawler_spec.rb
+++ b/spec/crawler_spec.rb
@@ -131,6 +131,19 @@ describe Wombat::Crawler do
another_instance.crawl
end
+ it 'should crawl with url and block' do
+ url = 'http://danielinc.com/itens'
+
+ ... | Test Wombat.crawl with url |
diff --git a/querydsl-sql/src/test/java/com/querydsl/sql/types/JSR310InstantTypeTest.java b/querydsl-sql/src/test/java/com/querydsl/sql/types/JSR310InstantTypeTest.java
index <HASH>..<HASH> 100644
--- a/querydsl-sql/src/test/java/com/querydsl/sql/types/JSR310InstantTypeTest.java
+++ b/querydsl-sql/src/test/java/com/que... | but joda doesn't |
diff --git a/lib/configure.js b/lib/configure.js
index <HASH>..<HASH> 100644
--- a/lib/configure.js
+++ b/lib/configure.js
@@ -93,6 +93,10 @@ function configure (gyp, argv, callback) {
}
log.verbose('check python version', '`%s -c "import platform; print platform.python_version();"` returned: %j', python,... | configure: strip "+" signs from the Python version before comparing
Fixes #<I>. |
diff --git a/bin/codemods/src/helpers.js b/bin/codemods/src/helpers.js
index <HASH>..<HASH> 100644
--- a/bin/codemods/src/helpers.js
+++ b/bin/codemods/src/helpers.js
@@ -1,3 +1,14 @@
+/**
+ * External dependencies
+ */
+const path = require( 'path' );
+const child_process = require( 'child_process' );
+
+/**
+ * Inter... | Codemods: Extract runCodemod function
Credits to @gziolo for this work in #<I>. |
diff --git a/app/models/concerns/rubygem_searchable.rb b/app/models/concerns/rubygem_searchable.rb
index <HASH>..<HASH> 100644
--- a/app/models/concerns/rubygem_searchable.rb
+++ b/app/models/concerns/rubygem_searchable.rb
@@ -20,7 +20,7 @@ module RubygemSearchable
most_recent_version = versions.most_recent
... | change "indexed" to "yanked" in ES |
diff --git a/tile_generator/tile_unittest.py b/tile_generator/tile_unittest.py
index <HASH>..<HASH> 100644
--- a/tile_generator/tile_unittest.py
+++ b/tile_generator/tile_unittest.py
@@ -23,6 +23,15 @@ import tempfile
from . import tile
class TestTileInit(unittest.TestCase):
+ # tile.init() changes the working dire... | Maintain working directory in unit test.
Without this, it leaves the process in a directory that no longer
exists, which can break other tests. |
diff --git a/notice.go b/notice.go
index <HASH>..<HASH> 100644
--- a/notice.go
+++ b/notice.go
@@ -17,6 +17,7 @@ type Notice struct {
Hostname string
Env string
Backtrace []*Frame
+ ProjectRoot string
}
func (n *Notice) asJSON() *hash {
@@ -34,6 +35,7 @@ func (n *Notice) asJSON() *hash {
... | Send project root in server hash. |
diff --git a/src/Guzzle6HttpAdapter.php b/src/Guzzle6HttpAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle6HttpAdapter.php
+++ b/src/Guzzle6HttpAdapter.php
@@ -32,7 +32,7 @@ class Guzzle6HttpAdapter extends AbstractHttpAdapter
/**
* Creates a guzzle 6 http adapter.
*
- * @param \GuzzleHttp\C... | Fix docblock. (#<I>) |
diff --git a/servers/src/main/java/tachyon/master/TachyonMaster.java b/servers/src/main/java/tachyon/master/TachyonMaster.java
index <HASH>..<HASH> 100644
--- a/servers/src/main/java/tachyon/master/TachyonMaster.java
+++ b/servers/src/main/java/tachyon/master/TachyonMaster.java
@@ -127,6 +127,8 @@ public class TachyonM... | [TACHYON-<I>] Private constructor for the Factory class. |
diff --git a/lib/sinatra/mongo.rb b/lib/sinatra/mongo.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/mongo.rb
+++ b/lib/sinatra/mongo.rb
@@ -16,15 +16,15 @@ module Sinatra
end
def mongo
- url = URI(mongo_url)
- connection = Mongo::Connection.new(url.host, url.port)
- @mongo ||= begin
- ... | don't instantiate a new connect on each reference |
diff --git a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
@@ -506,6 +506,18 @@ objects.mixin(EditorViewer.p... | Bug <I> - Add editor 'dirty' indicators to the header's filename when needed |
diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -612,6 +612,23 @@ class App {
}
/**
+ * Returns the URL of the current request along with its query string and an additional query parameter indicating the current locale
+ *
+ * @return string
+ */
+ pub... | Implement method 'currentUrlWithQueryAndLang' in class 'App' |
diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Page/Page.php
+++ b/system/src/Grav/Common/Page/Page.php
@@ -1224,6 +1224,15 @@ class Page
return $this->route;
}
+ /**
+ * Helper method to clear the ... | Added new unsetRoute() to allow route() to rebuild |
diff --git a/rules/manager_test.go b/rules/manager_test.go
index <HASH>..<HASH> 100644
--- a/rules/manager_test.go
+++ b/rules/manager_test.go
@@ -433,11 +433,6 @@ func TestForStateRestore(t *testing.T) {
newGroups := make(map[string]*Group)
newGroups["default;"] = newGroup
- m := NewManager(opts)
- m.mtx.Loc... | Fixed TestUpdate in rules/manager_test.go (#<I>) |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -180,7 +180,7 @@ def run_using_pytest(caller_globals):
def wsdl(schema_content, input=None, output=None, operation_name="f",
wsdl_target_namespace="my-wsdl-namespace",
xsd... | make default generated test WSDL usable with Python 3
The default generated test WSDL schema contained a web service URL without a
protocol specification. When Python 3 urllib implementation attempts to connect
to an URL without a properly specified protocol it raises an error before
calling its urlopener open() opera... |
diff --git a/lib/less/parser.js b/lib/less/parser.js
index <HASH>..<HASH> 100644
--- a/lib/less/parser.js
+++ b/lib/less/parser.js
@@ -684,7 +684,7 @@ less.Parser = function Parser(env) {
var value, c = input.charCodeAt(i);
if ((c > 57 || c < 45) || c === 47) return;
- ... | Adding "dpi" to the list of valid dimensions. |
diff --git a/tests/test_fits_image.py b/tests/test_fits_image.py
index <HASH>..<HASH> 100644
--- a/tests/test_fits_image.py
+++ b/tests/test_fits_image.py
@@ -58,6 +58,22 @@ def test_get_beam():
assert beam is None
+def test_fix_aips_header():
+ header = fits.getheader('tests/test_files/1904-66_SIN.fits')
+... | add test for fix_aips_header |
diff --git a/server/influx.go b/server/influx.go
index <HASH>..<HASH> 100644
--- a/server/influx.go
+++ b/server/influx.go
@@ -1,11 +1,14 @@
package server
import (
+ "crypto/tls"
"encoding/json"
"fmt"
+ "net"
"net/http"
"net/http/httputil"
"net/url"
+ "time"
"github.com/influxdata/chronograf"
"gith... | Update influxdb write proxy to allow self-signed certificates |
diff --git a/lib/puppet/provider/user/user_role_add.rb b/lib/puppet/provider/user/user_role_add.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/provider/user/user_role_add.rb
+++ b/lib/puppet/provider/user/user_role_add.rb
@@ -26,7 +26,7 @@ Puppet::Type.type(:user).provide :user_role_add, :parent => :useradd, :source =... | (PUP-<I>) Restore ability to manage shells on solaris
Background: for PUP-<I> commit <I>b0c2b0 added a new feature
for user providers `manage_shells`. The intent of that commit
was to add this feature to all existing user providers which
had that feature, and several were covered, but Solaris was
missed.
This commit ... |
diff --git a/src/Mongolid/Model/Attributes.php b/src/Mongolid/Model/Attributes.php
index <HASH>..<HASH> 100644
--- a/src/Mongolid/Model/Attributes.php
+++ b/src/Mongolid/Model/Attributes.php
@@ -33,14 +33,14 @@ trait Attributes
*
* @var array
*/
- public $fillable = [];
+ protected $fillable = [... | Updated Model\Attributes and to be protected |
diff --git a/src/main/java/org/jboss/vfs/protocol/VirtualFileURLConnection.java b/src/main/java/org/jboss/vfs/protocol/VirtualFileURLConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/vfs/protocol/VirtualFileURLConnection.java
+++ b/src/main/java/org/jboss/vfs/protocol/VirtualFileURLConnection.ja... | JBVFS-<I> VirtualFileURLConnection#getContent() doesn't call a content handler
...determined by connection's contentType |
diff --git a/jenkins/bootstrap.py b/jenkins/bootstrap.py
index <HASH>..<HASH> 100755
--- a/jenkins/bootstrap.py
+++ b/jenkins/bootstrap.py
@@ -299,6 +299,11 @@ class GSUtil(object):
cmd = [self.gsutil, 'stat', path]
return self.call(cmd, output=True, log_failures=False)
+ def ls(self, path):
+ ... | Use ls to test subdir instead of stat |
diff --git a/src/proj_gen/Client.java b/src/proj_gen/Client.java
index <HASH>..<HASH> 100644
--- a/src/proj_gen/Client.java
+++ b/src/proj_gen/Client.java
@@ -5,6 +5,7 @@ import java.io.IOException;
// VoltTable is VoltDB's table representation.
import org.voltdb.VoltTable;
import org.voltdb.VoltTableRow;
+import or... | Actually fixing the last bit of ENG-<I>: "Update sample applications to use new createConnection and ClientConfig"
The generate script is now using the new ClientConfig. |
diff --git a/core/src/main/java/org/ow2/chameleon/fuchsia/core/component/manager/DeclarationRegistrationManager.java b/core/src/main/java/org/ow2/chameleon/fuchsia/core/component/manager/DeclarationRegistrationManager.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/ow2/chameleon/fuchsia/core/component/man... | Defensive check of id presence before tostring method |
diff --git a/test/query.js b/test/query.js
index <HASH>..<HASH> 100644
--- a/test/query.js
+++ b/test/query.js
@@ -223,7 +223,7 @@ describe('client.query()', function() {
});
}
});
- it('should scan aerospike database and apply aggregation user defined function', function(done) {
+ it.s... | Skips the scan aggregation test(known bug) to avoid travis failure. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.