diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/tests/PatternsTest.php b/tests/PatternsTest.php
index <HASH>..<HASH> 100644
--- a/tests/PatternsTest.php
+++ b/tests/PatternsTest.php
@@ -19,7 +19,7 @@ use WyriHaximus\HtmlCompress\Patterns;
*/
class PatternsTest extends \PHPUnit_Framework_TestCase {
- public function testPreProvider() {
+ publi... | Corrected the test data providers method name to match the test method name |
diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/evented_file_update_checker.rb
+++ b/activesupport/lib/active_support/evented_file_update_checker.rb
@@ -108,7... | Don't call listen with empty directory list
Listen interprets an empty list of directories as "watch the current
directory". Since EventedFileUpdateChecker doesn't share these
semantics, we should not initialize listen if we end up with an empty
directory list. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ setup(
author_email="roland@catalogix.se",
license="Apache 2.0",
url='https://github.com/IdentityPython/oicmsg/',
- packages=["oiccli", "oiccli/oauth2", "oiccli/oic", 'oiccli/client_authn'],
+ ... | Don't split client_auth |
diff --git a/lib/flipper/spec/shared_adapter_specs.rb b/lib/flipper/spec/shared_adapter_specs.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/spec/shared_adapter_specs.rb
+++ b/lib/flipper/spec/shared_adapter_specs.rb
@@ -204,7 +204,7 @@ shared_examples_for 'a flipper adapter' do
subject.enable(feature, actors_ga... | Get rid of undefined any? call on a boolean |
diff --git a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java b/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java
index <HASH>..<HASH> 100644
--- a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java
+++ b/h... | conceal cache-api with inner static class |
diff --git a/lib/composites/menu/events/arrow.js b/lib/composites/menu/events/arrow.js
index <HASH>..<HASH> 100644
--- a/lib/composites/menu/events/arrow.js
+++ b/lib/composites/menu/events/arrow.js
@@ -3,7 +3,7 @@
import activate from '../utils/activate';
module.exports = (items, target, dir) => {
- const isNext ... | fixes #<I> dropdown down/up arrows go the correct way (#<I>) |
diff --git a/query_time_test.go b/query_time_test.go
index <HASH>..<HASH> 100644
--- a/query_time_test.go
+++ b/query_time_test.go
@@ -18,12 +18,12 @@ func (s *RethinkSuite) TestTimeTime(c *test.C) {
func (s *RethinkSuite) TestTimeTimeMillisecond(c *test.C) {
var response time.Time
- res, err := Time(1986, 11, 3, ... | Update query_time_test.go
Fixing failing test |
diff --git a/app/models/application.rb b/app/models/application.rb
index <HASH>..<HASH> 100644
--- a/app/models/application.rb
+++ b/app/models/application.rb
@@ -14,7 +14,7 @@ class Application < ActiveRecord::Base
before_validation :generate_uid, :generate_secret, :on => :create
def self.authorized_for(resour... | application.authorized_for should only fetch access tokens not yet revoked |
diff --git a/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java b/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java
+++ b/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java
@@ -131,12 +131,17 @@ pub... | Allows subclasses of ProxyServlet to provide specific behaviour of ‘org.apache.http.client.config.RequestConfig’ while building HttpClient instances. |
diff --git a/src/Http/Response.php b/src/Http/Response.php
index <HASH>..<HASH> 100644
--- a/src/Http/Response.php
+++ b/src/Http/Response.php
@@ -17,7 +17,18 @@ class Response extends AbstractResponse
protected $jsonContent;
protected $htmlContent;
- public function __construct(Url $startingUrl, Url $ur... | Added phpdoc to Response constructor
Added default value to array $info |
diff --git a/lib/fluent/log.rb b/lib/fluent/log.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/log.rb
+++ b/lib/fluent/log.rb
@@ -265,6 +265,10 @@ module Fluent
end
}
+ map.each_pair {|k,v|
+ message << " #{k}=#{v.inspect}"
+ }
+
unless @threads_exclude_events.include?(Thread.... | Add args from 2nd to fluent.** internal messages |
diff --git a/lxd/images.go b/lxd/images.go
index <HASH>..<HASH> 100644
--- a/lxd/images.go
+++ b/lxd/images.go
@@ -122,14 +122,13 @@ func compressFile(compress string, infile io.Reader, outfile io.Writer) error {
defer os.Remove(tempfile.Name())
// Prepare 'tar2sqfs' arguments
- args := []string{"tar2sqfs", "-... | lxd/images: Adds more output detail when tar2sqfs fails in compressFile |
diff --git a/openquake/calculators/classical_risk.py b/openquake/calculators/classical_risk.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical_risk.py
+++ b/openquake/calculators/classical_risk.py
@@ -111,10 +111,10 @@ class ClassicalRiskCalculator(base.RiskCalculator):
super(ClassicalRis... | Cleanup [skip CI] |
diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -656,6 +656,8 @@ def fuzzy_simplicial_set(X, n_neighbors, random_state,
if scipy.sparse.isspmatrix_csr(X):
if metric in sparse.sparse_named_distances:
distance_func = sparse.spars... | Fix for sparse distances that require n_features (issue #<I>) |
diff --git a/src/tools/OverlayTool.js b/src/tools/OverlayTool.js
index <HASH>..<HASH> 100644
--- a/src/tools/OverlayTool.js
+++ b/src/tools/OverlayTool.js
@@ -103,8 +103,12 @@ export default class OverlayTool extends BaseTool {
}
}
+ // Guard against non-number values
+ const overlayX = (!is... | fix: guard against non-number values |
diff --git a/lnd.go b/lnd.go
index <HASH>..<HASH> 100644
--- a/lnd.go
+++ b/lnd.go
@@ -645,8 +645,11 @@ func genCertPair(certFile, keyFile string) error {
// Collect the host's names into a slice.
host, err := os.Hostname()
if err != nil {
- return err
+ rpcsLog.Errorf("Failed getting hostname, falling back to ... | lnd: fallback to localhost if failing getting hostname
Needed on some versions of Android. |
diff --git a/spec/researches/metaDescriptionKeywordSpec.js b/spec/researches/metaDescriptionKeywordSpec.js
index <HASH>..<HASH> 100644
--- a/spec/researches/metaDescriptionKeywordSpec.js
+++ b/spec/researches/metaDescriptionKeywordSpec.js
@@ -98,4 +98,12 @@ describe( "the metadescription keyword match research", functi... | Added extra test for keyword in metadescription. |
diff --git a/src/DefaultLogWriter.php b/src/DefaultLogWriter.php
index <HASH>..<HASH> 100644
--- a/src/DefaultLogWriter.php
+++ b/src/DefaultLogWriter.php
@@ -17,7 +17,7 @@ class DefaultLogWriter implements LogWriter
$bodyAsJson = json_encode($request->except(config('http-logger.except')));
$files =... | replaced getRealPath() method by getClientOriginalName() because we just want to get the name of the uploaded files |
diff --git a/pyontutils/core.py b/pyontutils/core.py
index <HASH>..<HASH> 100644
--- a/pyontutils/core.py
+++ b/pyontutils/core.py
@@ -1052,6 +1052,7 @@ class IlxTerm(OntTerm):
IlxTerm.query = oq.OntQuery(ixr, instrumented=OntTerm) # This init pattern still works if you want to mix and match
+ilxquery = oq.OntQue... | core add ilxquery to parallel query |
diff --git a/src/Flare/Http/Controllers/AdminController.php b/src/Flare/Http/Controllers/AdminController.php
index <HASH>..<HASH> 100644
--- a/src/Flare/Http/Controllers/AdminController.php
+++ b/src/Flare/Http/Controllers/AdminController.php
@@ -107,7 +107,13 @@ class AdminController extends FlareController
*/
... | Allow user to override dashboard template |
diff --git a/src/main/java/com/semanticcms/autogit/view/AutoGitView.java b/src/main/java/com/semanticcms/autogit/view/AutoGitView.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/semanticcms/autogit/view/AutoGitView.java
+++ b/src/main/java/com/semanticcms/autogit/view/AutoGitView.java
@@ -92,7 +92,12 @@ public... | Book title is optional, view titles now taking that into consideration. |
diff --git a/NavigationSample/Scripts/navigation.mvc.js b/NavigationSample/Scripts/navigation.mvc.js
index <HASH>..<HASH> 100644
--- a/NavigationSample/Scripts/navigation.mvc.js
+++ b/NavigationSample/Scripts/navigation.mvc.js
@@ -160,9 +160,7 @@
var newLink = win.location.pathname + win.location.search;
... | Switched around the if else because finding the path is the normal case |
diff --git a/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarView.java b/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarView.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarVi... | Fix for topbar hiding not updating view size properly |
diff --git a/spyderlib/widgets/interactiveshell.py b/spyderlib/widgets/interactiveshell.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/interactiveshell.py
+++ b/spyderlib/widgets/interactiveshell.py
@@ -197,6 +197,9 @@ class InteractiveShell(PythonShellWidget):
# First prompt
self.new_prompt(... | Interactive console: when option "Force modules to be completely reloaded" is enabled, modules are completely reloaded when console is restarted (and not only when running programs) |
diff --git a/src/Contentful.php b/src/Contentful.php
index <HASH>..<HASH> 100644
--- a/src/Contentful.php
+++ b/src/Contentful.php
@@ -254,7 +254,7 @@ class Contentful
'content_types',
'',
$parameters,
- $options
+ array_merge($options, ['include_level' => nu... | ensure no include level for content type fetch (#<I>) |
diff --git a/doc/sphinxext/gen_rst.py b/doc/sphinxext/gen_rst.py
index <HASH>..<HASH> 100644
--- a/doc/sphinxext/gen_rst.py
+++ b/doc/sphinxext/gen_rst.py
@@ -101,7 +101,7 @@ def extract_docstring(filename):
docstring = ''
first_par = ''
- tokens = tokenize.generate_tokens(lines.__iter__().next)
+ tok... | COSMIT don't call magic methods directly
One tricky case left in doc/sphinxext/gen_rst.py.
Also, don't use relative imports in tests. |
diff --git a/mixbox/compat.py b/mixbox/compat.py
index <HASH>..<HASH> 100644
--- a/mixbox/compat.py
+++ b/mixbox/compat.py
@@ -16,6 +16,7 @@ if six.PY2:
return b''.join([chr(ord(c) ^ key) for c in data])
from collections import MutableSequence
+ from collections import Sequence
elif six.PY3:
... | add Sequence class to compat.py |
diff --git a/src/flow.js b/src/flow.js
index <HASH>..<HASH> 100644
--- a/src/flow.js
+++ b/src/flow.js
@@ -1305,8 +1305,8 @@
* @function
*/
send: function () {
- var preprocess = this.flowObj.opts.preprocess,
- read = this.flowObj.opts.read;
+ var preprocess = this.flowObj.opts.preproc... | Removed single var pattern usage as discussed in <URL> |
diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -12,7 +12,7 @@ var mainApiFile = flag.String("mainApiFile", "", "The file that contains the gen
var outputFormat = flag.String("format", "go", "Output format type for the generated files: "+generator.AVAILABLE_FORMATS)
var outpu... | Fixes # <I> default ignore to not ignore anything
Changed the default value of ignore command line argument to not ignore any packages, the new default value for ignore is ^$ which would only match empty package name (and there are no empty package names) |
diff --git a/gntp/__init__.py b/gntp/__init__.py
index <HASH>..<HASH> 100644
--- a/gntp/__init__.py
+++ b/gntp/__init__.py
@@ -178,7 +178,10 @@ class _GNTPBase(object):
#print key,'\t\t\t',val
return dict
def add_header(self,key,value):
- self.headers[key] = unicode('%s'%value,'utf8','replace')
+ if isinstan... | If it's already unicode, leave it, otherwise try to decode it using utf8 |
diff --git a/database/migrations/2014_04_02_193005_create_translations_table.php b/database/migrations/2014_04_02_193005_create_translations_table.php
index <HASH>..<HASH> 100644
--- a/database/migrations/2014_04_02_193005_create_translations_table.php
+++ b/database/migrations/2014_04_02_193005_create_translations_tab... | Change from string to text-column (#<I>)
Allow key-column to store more than <I> characters (for example, when translating large strings via `{{ __('very long string') }}`. |
diff --git a/test/unit/rules/no-invalid-aria-attributes-test.js b/test/unit/rules/no-invalid-aria-attributes-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/rules/no-invalid-aria-attributes-test.js
+++ b/test/unit/rules/no-invalid-aria-attributes-test.js
@@ -13,7 +13,6 @@ generateRuleTests({
'<div role="checkb... | Removed extraneous test case |
diff --git a/app/controllers/neighborly/balanced/creditcard/payments_controller.rb b/app/controllers/neighborly/balanced/creditcard/payments_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/neighborly/balanced/creditcard/payments_controller.rb
+++ b/app/controllers/neighborly/balanced/creditcard/payments... | Remove PaymentsController#prepare_new_method
The variable assignments can be inside #new method, since we're not
rendering it in other actions anymore. |
diff --git a/player_js.go b/player_js.go
index <HASH>..<HASH> 100644
--- a/player_js.go
+++ b/player_js.go
@@ -33,7 +33,7 @@ type player struct {
context *js.Object
}
-func isIOS() bool {
+func isIOSSafari() bool {
ua := js.Global.Get("navigator").Get("userAgent").String()
if !strings.Contains(ua, "iP... | js: Rename isIOS to isIOSSafari for consistency |
diff --git a/src/Adapter/Phpunit.php b/src/Adapter/Phpunit.php
index <HASH>..<HASH> 100644
--- a/src/Adapter/Phpunit.php
+++ b/src/Adapter/Phpunit.php
@@ -206,11 +206,7 @@ class Phpunit extends AdapterAbstract
$xmlConfiguration = $xmlConfigurationBuilder->getConfiguration();
if ($xmlConfiguration->h... | Replaced logic involved with searchin for original absolute bootstrap file as it is now always absolute |
diff --git a/src/core/AttributeMarshallingMixin.js b/src/core/AttributeMarshallingMixin.js
index <HASH>..<HASH> 100644
--- a/src/core/AttributeMarshallingMixin.js
+++ b/src/core/AttributeMarshallingMixin.js
@@ -93,6 +93,17 @@ export default function AttributeMarshallingMixin(Base) {
}
}
+ // Because ma... | Docs, clean out old treatment of "style" as a special case attribute name as it's no longer necessary. |
diff --git a/src/lib/I18n/index.js b/src/lib/I18n/index.js
index <HASH>..<HASH> 100644
--- a/src/lib/I18n/index.js
+++ b/src/lib/I18n/index.js
@@ -39,6 +39,7 @@ export default class I18n {
this._loadLocale = loadLocale;
this._cache = {};
RUNTIME.instances.add(this);
+ this.load();
}
async _load(... | fix bug where I<I>n object no longer load it self when created (#<I>) |
diff --git a/pyads/ads.py b/pyads/ads.py
index <HASH>..<HASH> 100644
--- a/pyads/ads.py
+++ b/pyads/ads.py
@@ -959,11 +959,14 @@ class Connection(object):
for i in data_names_and_values.keys()
}
+ if structure_defs is None:
+ structure_defs = {}
+
for name, str... | Create empty dict if structure_defs is None |
diff --git a/km3pipe/pumps/ch.py b/km3pipe/pumps/ch.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/ch.py
+++ b/km3pipe/pumps/ch.py
@@ -13,7 +13,6 @@ import socket
from km3pipe import Pump
from km3pipe.logger import logging
-from controlhost import Client
log = logging.getLogger(__name__) # pylint: disable=C... | Lazy loading of controlhost to allow dev usage of km3pipe without installing controlhost |
diff --git a/ActiveRecord.php b/ActiveRecord.php
index <HASH>..<HASH> 100644
--- a/ActiveRecord.php
+++ b/ActiveRecord.php
@@ -268,6 +268,10 @@ abstract class ActiveRecord extends BaseActiveRecord
throw new StaleObjectException('The object being updated is outdated.');
}
+ if (isset($valu... | Fixed `ActiveRecord` does not updates attribute specified at `optimisticLock()` after save |
diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php
index <HASH>..<HASH> 100644
--- a/tests/ConnectionTest.php
+++ b/tests/ConnectionTest.php
@@ -170,7 +170,7 @@ class ConnectionTest extends BaseTest
$username = 'foo';
$client = new Client(['username' => $username]);
- $this->ass... | Fix wrong method argument / signature (#<I>) |
diff --git a/galpy/df/quasiisothermaldf.py b/galpy/df/quasiisothermaldf.py
index <HASH>..<HASH> 100644
--- a/galpy/df/quasiisothermaldf.py
+++ b/galpy/df/quasiisothermaldf.py
@@ -1734,8 +1734,23 @@ class quasiisothermaldf(df):
std_R= numpy.std(R)
mean_z= numpy.mean(z)
std_z= numpy.std(z)
+ ... | modify sampleV_interpolate so that outliers include points outside of user-specified grid as well as those too far from mean |
diff --git a/src/config/build.js b/src/config/build.js
index <HASH>..<HASH> 100644
--- a/src/config/build.js
+++ b/src/config/build.js
@@ -6,8 +6,11 @@ const { BUILD_DIRECTORY_NAME } = require('../constants');
const { combine } = require('../utils/structures');
const { getProjectConfig } = require('./project');
+co... | Prepare build config for project type-based modification |
diff --git a/lib/copy.js b/lib/copy.js
index <HASH>..<HASH> 100644
--- a/lib/copy.js
+++ b/lib/copy.js
@@ -14,17 +14,31 @@ var isCallable = require('es5-ext/lib/Object/is-callable')
, copy;
copy = function (source, dest, options) {
- var def = deferred(), stream, writeStream;
+ var def = deferred(), read, write;
... | Improve error and stream handling in fs.copy |
diff --git a/example/turbine_cluster_modelchain_example.py b/example/turbine_cluster_modelchain_example.py
index <HASH>..<HASH> 100644
--- a/example/turbine_cluster_modelchain_example.py
+++ b/example/turbine_cluster_modelchain_example.py
@@ -212,7 +212,7 @@ def run_example():
"""
weather = mc_e.get_weather... | React to FutureWarning of pandas
FutureWarning: Sorting because non-concatenation axis is not aligned. A
future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass
'sort=True'. |
diff --git a/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java b/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/netflix/governator/lifecycle/warmup/DAGManager.java
+++ b/src/main/java/com/netflix/governator/lifecycle/warmup/D... | Iterate over dependencies.keySet()
Fixing memory leak described in issue #<I> |
diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -542,6 +542,12 @@ export default class Scene {
}
}
+ // Skip proxy tiles if new tiles have finished loading this style
+ if (!tile.shouldProxyForStyle(style... | tiles: skip rendering proxy tile's style if tiles it is proxying for have all finished loading that style |
diff --git a/src/main/java/io/vlingo/actors/Returns.java b/src/main/java/io/vlingo/actors/Returns.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/Returns.java
+++ b/src/main/java/io/vlingo/actors/Returns.java
@@ -1,3 +1,10 @@
+// Copyright © 2012-2018 Vaughn Vernon. All rights reserved.
+//
+// Th... | Added copyright notices to Returns.java |
diff --git a/lib/logstasher/log_subscriber.rb b/lib/logstasher/log_subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/logstasher/log_subscriber.rb
+++ b/lib/logstasher/log_subscriber.rb
@@ -13,7 +13,8 @@ module LogStasher
data.merge! extract_exception(payload)
data.merge! extract_custom_fields(payload)
... | Prevent error when seeing an exception thrown by Rails. |
diff --git a/containerSlayer.go b/containerSlayer.go
index <HASH>..<HASH> 100644
--- a/containerSlayer.go
+++ b/containerSlayer.go
@@ -85,6 +85,10 @@ func (s *containerSlayer) closeObject(obj interface{}, def Def) (err error) {
}
}()
+ if _, isBuilding := obj.(buildingChan); isBuilding {
+ return nil
+ }
+
if... | Fix Close call on buildingChan (#<I>)
The Close function could be called with a buildingChan. It could happen if the Build function was taking too long and if the container was suddenly deleted by another goroutine. |
diff --git a/src/meta/UIDMeta.java b/src/meta/UIDMeta.java
index <HASH>..<HASH> 100644
--- a/src/meta/UIDMeta.java
+++ b/src/meta/UIDMeta.java
@@ -506,7 +506,7 @@ public final class UIDMeta {
if (custom == null) {
json.writeNullField("custom");
} else {
- json.writeStartObject();
+ ... | #<I>: Fix for UIDMeta.getStorageJSON() which fails when custom is not null. |
diff --git a/sandboxapi/fireeye.py b/sandboxapi/fireeye.py
index <HASH>..<HASH> 100644
--- a/sandboxapi/fireeye.py
+++ b/sandboxapi/fireeye.py
@@ -196,7 +196,6 @@ class FireEyeAPI(sandboxapi.SandboxAPI):
# otherwise, return the raw content.
return response.content
-
def score(self, report):
... | issue/3-fireeye_logout_fix
Added logout() to FireEyeAPI.
Added a call to logout() at the end of the FireEye CLI. |
diff --git a/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php b/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
index <HASH>..<HASH> 100644
--- a/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
+++ b/src/Psy/CodeCleaner/FunctionReturnInWriteContextPass.php
@@ -53,7 +53,7 @@ class FunctionRetur... | Fix bug parsing shorthand list operator with missing index.
Fixes #<I> |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ tests_require = [
]
-version = (0, 0, 1, 'final')
+version = (1, 0, 0, 'alpha')
def get_version(): | master nows is at <I>-alpha |
diff --git a/models/DeliveryMethod.php b/models/DeliveryMethod.php
index <HASH>..<HASH> 100644
--- a/models/DeliveryMethod.php
+++ b/models/DeliveryMethod.php
@@ -23,6 +23,9 @@ class DeliveryMethod extends ActiveRecord
public $logo;
+ const DO_NOT_SHOW_ADDRESS_OR_POST_OFFICE_FIELDS = 0;
+ const SHOW_ADDR... | Field for selecting which fileds will be displayed: address or post office. |
diff --git a/tests/rules/test_python_command.py b/tests/rules/test_python_command.py
index <HASH>..<HASH> 100644
--- a/tests/rules/test_python_command.py
+++ b/tests/rules/test_python_command.py
@@ -1,5 +1,5 @@
from thefuck.main import Command
-from thefuck.rules.sudo import match, get_new_command
+from thefuck.rules.... | A special case for 'Permission denied' error msg when trying to execute a
python scripy.
The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.
Change-Id: Idf<I>ee9cf0a<I>f<I>c<I>a<I>b2fcedc1e6 |
diff --git a/napalm_logs/listener/tcp.py b/napalm_logs/listener/tcp.py
index <HASH>..<HASH> 100644
--- a/napalm_logs/listener/tcp.py
+++ b/napalm_logs/listener/tcp.py
@@ -95,8 +95,7 @@ class TCPListener(ListenerBase):
except socket.timeout:
if not self.__up:
return
- lo... | TCP Listener: do not raise on socket timeout, logging is sufficient
When serving multiple clients, it's entirely normal for them to timeout,
and eventually try to connect later due to inactivity. There's no reason
to raise hard error, and kill the entire application just because a peer
is no longer active. |
diff --git a/lib/serverspec/commands/solaris10.rb b/lib/serverspec/commands/solaris10.rb
index <HASH>..<HASH> 100644
--- a/lib/serverspec/commands/solaris10.rb
+++ b/lib/serverspec/commands/solaris10.rb
@@ -32,6 +32,10 @@ module Serverspec
"ls -l #{escape(file)} | awk '{print $3}' | grep -- #{escape(regexp)}"
... | added numerous override methods for solaris <I> |
diff --git a/discord_webhook/webhook.py b/discord_webhook/webhook.py
index <HASH>..<HASH> 100644
--- a/discord_webhook/webhook.py
+++ b/discord_webhook/webhook.py
@@ -39,6 +39,13 @@ class DiscordWebhook:
"""
self.embeds.pop(index)
+ def get_embeds(self):
+ """
+ get all `self.embeds... | get list of embeds and embed fields |
diff --git a/test/unexpected.spec.js b/test/unexpected.spec.js
index <HASH>..<HASH> 100644
--- a/test/unexpected.spec.js
+++ b/test/unexpected.spec.js
@@ -177,7 +177,13 @@ describe('unexpected', function () {
it('throws when the assertion fails', function () {
expect(function () {
... | Fixed two cases where the tests were actually wrong |
diff --git a/packages/reporters/cli/src/bundleReport.js b/packages/reporters/cli/src/bundleReport.js
index <HASH>..<HASH> 100644
--- a/packages/reporters/cli/src/bundleReport.js
+++ b/packages/reporters/cli/src/bundleReport.js
@@ -32,9 +32,9 @@ export default function bundleReport(bundleGraph: BundleGraph) {
for (... | Fixup bundlereport's assetlist (#<I>) |
diff --git a/src/Subscriber/DefaultSubscriber.php b/src/Subscriber/DefaultSubscriber.php
index <HASH>..<HASH> 100644
--- a/src/Subscriber/DefaultSubscriber.php
+++ b/src/Subscriber/DefaultSubscriber.php
@@ -72,8 +72,16 @@ class DefaultSubscriber implements EventSubscriberInterface
{
$config = $event->getConfig()... | provide fallback to former icon sets setter |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-import setuptools
+from setuptools import setup
import sys
from flatdict import __version__ | Fix the setup.py for wheel |
diff --git a/lib/rails_api_doc/controller/request/dsl.rb b/lib/rails_api_doc/controller/request/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_api_doc/controller/request/dsl.rb
+++ b/lib/rails_api_doc/controller/request/dsl.rb
@@ -106,7 +106,7 @@ module RailsApiDoc
end
def second_argument_is_typ... | Fix & to_sym failure |
diff --git a/src/flapjack/transcoders.py b/src/flapjack/transcoders.py
index <HASH>..<HASH> 100644
--- a/src/flapjack/transcoders.py
+++ b/src/flapjack/transcoders.py
@@ -111,6 +111,17 @@ class Json(object):
'text/x-json',
)
+class Xml(object):
+
+ #! Applicable mimetypes for this transcoder.
+ mi... | created MIME types for XML |
diff --git a/core/server/apps/private-blogging/lib/middleware.js b/core/server/apps/private-blogging/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/core/server/apps/private-blogging/lib/middleware.js
+++ b/core/server/apps/private-blogging/lib/middleware.js
@@ -99,7 +99,7 @@ const privateBlogging = {
... | :bug: Fixed redirect to /undefined after authorization for private blog (#<I>)
no-issue |
diff --git a/Container.php b/Container.php
index <HASH>..<HASH> 100644
--- a/Container.php
+++ b/Container.php
@@ -213,7 +213,7 @@ class Container implements IContainer, ArrayAccess
}
$result = [];
- $instance = ( array ) $this->groups[$group];
+ $instance = (array) $this->groups[$grou... | redirectresponse is done |
diff --git a/slickqa/data.py b/slickqa/data.py
index <HASH>..<HASH> 100644
--- a/slickqa/data.py
+++ b/slickqa/data.py
@@ -148,6 +148,7 @@ class TestrunSummary(micromodels.Model):
class Testrun(micromodels.Model):
id = micromodels.StringField()
+ name = micromodels.StringField()
testplanid = micromodels... | forgot the name field on the testrun |
diff --git a/src/AdminPlugin.php b/src/AdminPlugin.php
index <HASH>..<HASH> 100644
--- a/src/AdminPlugin.php
+++ b/src/AdminPlugin.php
@@ -38,6 +38,11 @@ class AdminPlugin extends BasePlugin
'sort' => 100,
];
+ $categories['content'] = [
+ 'name' => '内容',
+ 'sort' =>... | refactor(article): 增加内容菜单 |
diff --git a/holoviews/core/ndmapping.py b/holoviews/core/ndmapping.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/ndmapping.py
+++ b/holoviews/core/ndmapping.py
@@ -817,7 +817,7 @@ class UniformNdMapping(NdMapping):
dframes = []
for key, view in self.data.items():
view_frame = view.... | Minor fix for NdMapping.drame method |
diff --git a/symphony/assets/admin.js b/symphony/assets/admin.js
index <HASH>..<HASH> 100644
--- a/symphony/assets/admin.js
+++ b/symphony/assets/admin.js
@@ -395,11 +395,6 @@ var Symphony = {};
old_sorting = orderable.find('input').map(function(e, i) { return this.name + '=' + (e + 1); }).get().join('&');
});
... | admin.js changes by Nils |
diff --git a/satpy/readers/olci_nc.py b/satpy/readers/olci_nc.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/olci_nc.py
+++ b/satpy/readers/olci_nc.py
@@ -110,7 +110,7 @@ class NCOLCIBase(BaseFileHandler):
self.open_file = None
@property
- @lru_cache
+ @lru_cache(max_size=2)
def nc(self):... | Fix lru_cache call for python <I> |
diff --git a/meshio/_mesh.py b/meshio/_mesh.py
index <HASH>..<HASH> 100644
--- a/meshio/_mesh.py
+++ b/meshio/_mesh.py
@@ -24,10 +24,11 @@ class Mesh:
return
def __repr__(self):
- lines = []
- lines.append("<meshio mesh object>")
- lines.append(" Number of points: {}".format(len(se... | Avoid append and construct list elements inplace |
diff --git a/ginga/ImageView.py b/ginga/ImageView.py
index <HASH>..<HASH> 100644
--- a/ginga/ImageView.py
+++ b/ginga/ImageView.py
@@ -1373,6 +1373,9 @@ class ImageViewBase(Callback.Callbacks):
"""
outarr = self.getwin_array(order=order)
+ if not hasattr(outarr, 'tobytes'):
+ # old... | Fix for older versions of numpy with a couple of API methods
- for versions of numpy without the tobytes() method |
diff --git a/referral/models.py b/referral/models.py
index <HASH>..<HASH> 100644
--- a/referral/models.py
+++ b/referral/models.py
@@ -31,6 +31,10 @@ class Referrer(models.Model):
def __unicode__(self):
return self.name
+ def count_users(self):
+ return self.users.count()
+ count_users.shor... | add count_users method to Referrer model |
diff --git a/parser_test.go b/parser_test.go
index <HASH>..<HASH> 100644
--- a/parser_test.go
+++ b/parser_test.go
@@ -94,6 +94,12 @@ func TestParseWithNilVals(t *testing.T) {
if rs.Counts["parser.parseValue.invalid"] != 1 {
t.Fatalf("unexpected stats with invalid value")
}
+
+ gp.Strict = true
+ _, err = gp.Par... | test turning parser Strict mode on |
diff --git a/lib/buildbox/agent.rb b/lib/buildbox/agent.rb
index <HASH>..<HASH> 100644
--- a/lib/buildbox/agent.rb
+++ b/lib/buildbox/agent.rb
@@ -19,10 +19,10 @@ module Buildbox
@api.update_build(build, :agent_accepted => @access_token)
end
- # Then do some stuff...
+ # Run the builds one a... | Only run 1 build at a time. |
diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -153,7 +153,7 @@ module.exports = function( grunt ) {
} );
grunt.registerTask( 'compile', [ 'browserify', 'uglify' ] );
- grunt.registerTask( 'test', [ 'jsbeautifier:test', 'jshint', 'compile', '... | added: css build to test task |
diff --git a/public/config.php b/public/config.php
index <HASH>..<HASH> 100644
--- a/public/config.php
+++ b/public/config.php
@@ -45,5 +45,8 @@ define('ROOT', ($url['ssl'] ? 'https' : 'http') . '://' . HOST . PATH);
// wishing PHP were more like JavaScript...wishing I was able to use Node.js they way I had wanted...
... | Add SECRET_KEY constant to PHP app |
diff --git a/pymatgen/analysis/defects/core.py b/pymatgen/analysis/defects/core.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/defects/core.py
+++ b/pymatgen/analysis/defects/core.py
@@ -341,6 +341,12 @@ class DefectEntry(MSONable):
defect_planar_averages )
entry_id (obj): An id to... | update corrections to set up their own supercell sizes |
diff --git a/daemon/config/prefs.go b/daemon/config/prefs.go
index <HASH>..<HASH> 100644
--- a/daemon/config/prefs.go
+++ b/daemon/config/prefs.go
@@ -7,6 +7,7 @@ import (
"path"
"github.com/go-ini/ini"
+ "github.com/kardianos/osext"
)
const (
@@ -27,13 +28,14 @@ type core struct {
}
func newPreferences()... | Fix lookup location for keys and certs
closes #<I> |
diff --git a/app/models/year_in_review_music.rb b/app/models/year_in_review_music.rb
index <HASH>..<HASH> 100644
--- a/app/models/year_in_review_music.rb
+++ b/app/models/year_in_review_music.rb
@@ -3,8 +3,8 @@ class YearInReviewMusic < ActiveRecord::Base
belongs_to :user
- has_many :year_in_review_music_re... | refs #<I> #<I> Renames 2 year in review music associations. |
diff --git a/src/BibliographicRecord.php b/src/BibliographicRecord.php
index <HASH>..<HASH> 100644
--- a/src/BibliographicRecord.php
+++ b/src/BibliographicRecord.php
@@ -713,6 +713,7 @@ class BibliographicRecord extends Record {
$title .= ' : ' . $subtitle;
}
... | My first "missing break" bug
Yup, switch is generally a bad idea… |
diff --git a/rss/file.php b/rss/file.php
index <HASH>..<HASH> 100644
--- a/rss/file.php
+++ b/rss/file.php
@@ -31,7 +31,7 @@
// extract relative path components
$args = explode('/', trim($relativepath, '/'));
- if (count($args) < 4) {
+ if (count($args) < 5) {
not_found();
}
@@ -39... | filename is the 5th parameter. Now it's cleaned and used
by the send_file() function. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
# Copyright 2009 Shikhar Bhushan
+# Copyright 2011 Leonidas Poulopoulos
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@... | Added contact info in setup.py file |
diff --git a/test/utils.py b/test/utils.py
index <HASH>..<HASH> 100644
--- a/test/utils.py
+++ b/test/utils.py
@@ -127,8 +127,8 @@ def assertReadFromAll(testcase, rsc, members, *args, **kwargs):
- `rsc`: A ReplicaSetConnection
- `members`: Sequence of replica_set_connection.Member expected to be used
... | Improve assertReadFromAll docstring |
diff --git a/parse_this/__init__.py b/parse_this/__init__.py
index <HASH>..<HASH> 100644
--- a/parse_this/__init__.py
+++ b/parse_this/__init__.py
@@ -51,7 +51,7 @@ def parse_this(func, types, args=None, delimiter_chars=":"):
return _call(func, func_args, arguments)
-class create_parser(object):
+class MethodP... | Use file level variable to export so we can rename classes properly |
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -59,6 +59,9 @@ end
Specinfra.configuration.env = bundler_env.dup
RSpec.configure do |c|
+ # If testing a package, set serverspec path... | (maint) Set serverspec path when testing against packages
If testing against a package, serverspec's path should be set to find pdk in the install directory.
This avoids invoking the working copy of pdk instead of the installed version. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ extras["test"] = (
extras["all"],
"tox",
"flake8",
- "pytest",
+ "pytest<6.1.0",
"pytest-cov",
"pytest-rerunfailures",
"pytest-xdist", | fix: pin pytest version <<I> to avoid pytest-rerunfailures breaking changes (#<I>) |
diff --git a/route.go b/route.go
index <HASH>..<HASH> 100644
--- a/route.go
+++ b/route.go
@@ -10,7 +10,7 @@ import (
var cmdRouteAddHTTP = &Command{
Run: runRouteAddHTTP,
Usage: "route-add-http [-s <service>] <domain>",
- Short: "Add a HTTP route",
+ Short: "add a HTTP route",
Long: `Add a HTTP route to an a... | cli: Make route-add-http short help consistent |
diff --git a/javasphinx/compiler.py b/javasphinx/compiler.py
index <HASH>..<HASH> 100644
--- a/javasphinx/compiler.py
+++ b/javasphinx/compiler.py
@@ -263,10 +263,10 @@ class JavadocRestCompiler(object):
f.add_option('outertype', name)
document.add_object(f)
- constructors = f... | Compiler: List copies were sorted instead of the original lists. Fixed. |
diff --git a/dumper/invalidation.py b/dumper/invalidation.py
index <HASH>..<HASH> 100644
--- a/dumper/invalidation.py
+++ b/dumper/invalidation.py
@@ -1,5 +1,4 @@
import hashlib
-from django.utils.encoding import iri_to_uri, force_bytes
from django.core.cache import get_cache
from django.conf import settings
@@ -2... | dont try to mess with path when getting invalidation key |
diff --git a/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java b/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/handler/codec/replay/ReplayingDecoder.java
+++ b/src/main/java/org/jboss/netty/handler/codec/re... | Fixed misleading Javadoc in ReplayingDecoder |
diff --git a/asn1crypto/core.py b/asn1crypto/core.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/core.py
+++ b/asn1crypto/core.py
@@ -1948,13 +1948,25 @@ class Sequence(Asn1Value):
if 'optional' in field_params or 'default' in field_params:
id_ = (parts[0], parts[2])
- ... | Properly handle Choice fields that are optional |
diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java b/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/test/TestHazelcastFactory.java
+++ b/hazelcast-client... | Add constructor to TestHazelcastFactory (#<I>)
Needed in Jet's test instance factory |
diff --git a/package.php b/package.php
index <HASH>..<HASH> 100644
--- a/package.php
+++ b/package.php
@@ -4,7 +4,7 @@
require_once 'PEAR/PackageFileManager2.php';
-$version = '1.4.52';
+$version = '1.4.53';
$notes = <<<EOT
No release notes for you!
EOT; | prepare for release of <I>
svn commit r<I> |
diff --git a/includes/mappers/class.leagues_mapper.php b/includes/mappers/class.leagues_mapper.php
index <HASH>..<HASH> 100644
--- a/includes/mappers/class.leagues_mapper.php
+++ b/includes/mappers/class.leagues_mapper.php
@@ -44,6 +44,9 @@ class leagues_mapper {
$leagues = array();
foreach($leagues_i... | Update class.leagues_mapper.php |
diff --git a/vendor/ember-component-attributes/index.js b/vendor/ember-component-attributes/index.js
index <HASH>..<HASH> 100644
--- a/vendor/ember-component-attributes/index.js
+++ b/vendor/ember-component-attributes/index.js
@@ -13,9 +13,11 @@
customBindings.push(`__HTML_ATTRIBUTES__.${attribute}:${attribu... | Make work with and without pre-existing attributeBindings.
When a component has no attribute bindings, `this.attributeBindings` is undefined.
This updates the computed setter to handle that scenario. |
diff --git a/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java b/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java
index <HASH>..<HASH> 100644
--- a/indexing-service/src/main/java/io/druid/indexing/overlord/PortFinder.java
+++ b/indexing-service/src/main/java/io/druid/ind... | fix PortFinder issue #<I> (#<I>) |
diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -57,6 +57,7 @@ gulp.task('coverage', function (cb) {
gulp.task('coveralls', ['coverage'], function () {
if (!process.env.CI) {
+ console.log("process.env.CI === {" + process.env.CI + "}. Skipping coveralls... | log CI env var during build |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.