diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cairo/surface.go b/cairo/surface.go
index <HASH>..<HASH> 100644
--- a/cairo/surface.go
+++ b/cairo/surface.go
@@ -41,7 +41,7 @@ func NewSurfaceFromPNG(fileName string) (*Surface, error) {
// CreateImageSurfaceForData is a wrapper around cairo_image_surface_create_for_data().
func CreateImageSurfaceForD... | change *C.guchar to *C.uchar for compatibility with Go <I> or earlier - tnx @founderio for the suggestion |
diff --git a/lib/travis/model/build/config/dist.rb b/lib/travis/model/build/config/dist.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/build/config/dist.rb
+++ b/lib/travis/model/build/config/dist.rb
@@ -20,10 +20,17 @@ class Build
end
def run
+ return config unless config_hashy?
+ ... | Guard against bogus config and matrix values in dist normalization |
diff --git a/nonebot/message.py b/nonebot/message.py
index <HASH>..<HASH> 100644
--- a/nonebot/message.py
+++ b/nonebot/message.py
@@ -80,16 +80,18 @@ async def handle_message(bot: NoneBot, event: CQEvent) -> None:
def _check_at_me(bot: NoneBot, event: CQEvent) -> None:
+ def is_at_me(seg):
+ return seg.... | fix check_at_me on node-onebot |
diff --git a/moco-core/src/main/java/com/github/dreamhead/moco/extractor/FormRequestExtractor.java b/moco-core/src/main/java/com/github/dreamhead/moco/extractor/FormRequestExtractor.java
index <HASH>..<HASH> 100644
--- a/moco-core/src/main/java/com/github/dreamhead/moco/extractor/FormRequestExtractor.java
+++ b/moco-co... | applied optional map in form request extractor |
diff --git a/src/DependencyFactory.php b/src/DependencyFactory.php
index <HASH>..<HASH> 100644
--- a/src/DependencyFactory.php
+++ b/src/DependencyFactory.php
@@ -91,7 +91,7 @@ final class DependencyFactory implements ProviderInterface
public function get()
{
// is singleton ?
- if ($this->ins... | [#<I>] explicit condition |
diff --git a/v1/backends/redis/goredis.go b/v1/backends/redis/goredis.go
index <HASH>..<HASH> 100644
--- a/v1/backends/redis/goredis.go
+++ b/v1/backends/redis/goredis.go
@@ -3,10 +3,12 @@ package redis
import (
"bytes"
"encoding/json"
- "github.com/go-redis/redis"
+ "strings"
"sync"
"time"
+ "github.com/go-... | Feat: Support redis cluster with password |
diff --git a/stdeb/util.py b/stdeb/util.py
index <HASH>..<HASH> 100644
--- a/stdeb/util.py
+++ b/stdeb/util.py
@@ -197,10 +197,10 @@ def get_deb_depends_from_setuptools_requires(requirements):
gooddebs |= (debs)
else:
log.info("I found Debian packages \"%s\" which provides... | fix a crash with an undefined variable 'ver' (from Brett) |
diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -517,6 +517,7 @@ testCM("scrollSnap", function(cm) {
});
testCM("scrollIntoView", function(cm) {
+ if (phantom) return;
var outer = cm.getWrapperElement().getBoundingClientRect();
function test(line,... | Another test that fails mysteriously on Travis' Phantom
(but not on my local one, or in a real browser) |
diff --git a/packages/lib/PubSub.js b/packages/lib/PubSub.js
index <HASH>..<HASH> 100644
--- a/packages/lib/PubSub.js
+++ b/packages/lib/PubSub.js
@@ -8,7 +8,7 @@ exports = Class(function() {
var anyArgs = [signal].concat(args),
subs = this._subscribers.__any.slice(0);
for(var i = 0, sub; sub = subs[i];... | fix publish on __any signal to pass the signal name as the first argument |
diff --git a/ezp/Content/FieldType/Image/AliasCollection.php b/ezp/Content/FieldType/Image/AliasCollection.php
index <HASH>..<HASH> 100644
--- a/ezp/Content/FieldType/Image/AliasCollection.php
+++ b/ezp/Content/FieldType/Image/AliasCollection.php
@@ -130,6 +130,7 @@ class AliasCollection extends TypeCollection
{
... | FieldType\Image\ImageCollection : original file name wasn't updated |
diff --git a/lib/memcached/memcached.rb b/lib/memcached/memcached.rb
index <HASH>..<HASH> 100644
--- a/lib/memcached/memcached.rb
+++ b/lib/memcached/memcached.rb
@@ -1,4 +1,3 @@
-
=begin rdoc
The Memcached client class.
=end
@@ -44,6 +43,7 @@ class Memcached
Memcached::Failure,
Memcached::MemoryAl... | Added Memcached::ServerEnd to the list of exceptions to retry |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -168,6 +168,8 @@ Linter.prototype.parseOpts = function (opts) {
configFile.parser = packageOpts.parser
var tmpFilename = path.join(os.tmpdir(), '.eslintrc-' + packageOpts.parser)
fs.writeFileSync(tmp... | Forgive not having _config property on opts |
diff --git a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/MediaDriver.java
@@ -1937,13 +1937,18 @@ p... | [Java] Avoid allocating lambda unless required. |
diff --git a/lib/pass.js b/lib/pass.js
index <HASH>..<HASH> 100644
--- a/lib/pass.js
+++ b/lib/pass.js
@@ -32,8 +32,8 @@ var REQUIRED_IMAGES = [ "icon", "logo" ];
// Create a new pass.
//
-// tempplate - The template
-// fields - Pass fields (description, serialNumber, logoText)
+// template - The templat... | fixed a typo in pass.js |
diff --git a/tests/framework/validators/DateValidatorTest.php b/tests/framework/validators/DateValidatorTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/validators/DateValidatorTest.php
+++ b/tests/framework/validators/DateValidatorTest.php
@@ -303,6 +303,7 @@ class DateValidatorTest extends TestCase
... | Fixed INTL version tests adaptation
Checked on my Ubuntu <I> LTS |
diff --git a/Joomla/Sniffs/Classes/InstantiateNewClassesSniff.php b/Joomla/Sniffs/Classes/InstantiateNewClassesSniff.php
index <HASH>..<HASH> 100644
--- a/Joomla/Sniffs/Classes/InstantiateNewClassesSniff.php
+++ b/Joomla/Sniffs/Classes/InstantiateNewClassesSniff.php
@@ -14,6 +14,14 @@
*/
class Joomla_Sniffs_Classes_... | add conditionally controlled support for Short Array Syntax
Provides a method to allow Short Array Syntax for select projects that don't support php <I>
This change should be removed when all Joomla projects no longer need to support php <I> and the token `T_OPEN_SHORT_ARRAY` should be incorporated with the standard ... |
diff --git a/includes/object-cache.php b/includes/object-cache.php
index <HASH>..<HASH> 100644
--- a/includes/object-cache.php
+++ b/includes/object-cache.php
@@ -627,15 +627,19 @@ class WP_Object_Cache {
if ( defined( 'WP_REDIS_SHARDS' ) ) {
$servers = WP_REDIS_SHARDS;
+ $parameters[... | add servers to diagnostics for settings display |
diff --git a/dev/com.ibm.ws.logging.json_fat/fat/src/com/ibm/ws/logging/json/fat/JsonConfigTest.java b/dev/com.ibm.ws.logging.json_fat/fat/src/com/ibm/ws/logging/json/fat/JsonConfigTest.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.logging.json_fat/fat/src/com/ibm/ws/logging/json/fat/JsonConfigTest.java
+++ b/d... | remote setMarkToEndOfLog in runApp |
diff --git a/enrol/lti/lib.php b/enrol/lti/lib.php
index <HASH>..<HASH> 100644
--- a/enrol/lti/lib.php
+++ b/enrol/lti/lib.php
@@ -174,11 +174,12 @@ class enrol_lti_plugin extends enrol_plugin {
public function unenrol_user(stdClass $instance, $userid) {
global $DB;
- // Get the tool associated w... | MDL-<I> enrol_lti: confirm tool exists before deleting users |
diff --git a/source/org/jasig/portal/utils/threading/Worker.java b/source/org/jasig/portal/utils/threading/Worker.java
index <HASH>..<HASH> 100644
--- a/source/org/jasig/portal/utils/threading/Worker.java
+++ b/source/org/jasig/portal/utils/threading/Worker.java
@@ -90,9 +90,7 @@ public final class Worker extends Threa... | Removed interrupt() - this is called from ThreadPool
git-svn-id: <URL> |
diff --git a/src/Nodes/Admin/Grid/Renderer.php b/src/Nodes/Admin/Grid/Renderer.php
index <HASH>..<HASH> 100644
--- a/src/Nodes/Admin/Grid/Renderer.php
+++ b/src/Nodes/Admin/Grid/Renderer.php
@@ -84,6 +84,8 @@ class Renderer
->addAttributes( [ 'type' => 'button' ] )
)->addClass( 'collapser-cell... | Fix nodes not being sorted in renderer |
diff --git a/lib/crtomo/parManager.py b/lib/crtomo/parManager.py
index <HASH>..<HASH> 100644
--- a/lib/crtomo/parManager.py
+++ b/lib/crtomo/parManager.py
@@ -312,8 +312,19 @@ class ParMan(object):
# now determine elements in area
elements_in_area = []
for nr, element in enumerate(grid_polygo... | fix some potential issues with modifying polygon areas of parameter sets |
diff --git a/edx_lint/pylint/right_assert_check.py b/edx_lint/pylint/right_assert_check.py
index <HASH>..<HASH> 100644
--- a/edx_lint/pylint/right_assert_check.py
+++ b/edx_lint/pylint/right_assert_check.py
@@ -76,7 +76,7 @@ class AssertChecker(BaseChecker):
"""
Check that various assertTrue/False fun... | Make things work on py2 again. py<I> is broken now. |
diff --git a/core/server/web/api/app.js b/core/server/web/api/app.js
index <HASH>..<HASH> 100644
--- a/core/server/web/api/app.js
+++ b/core/server/web/api/app.js
@@ -33,7 +33,7 @@ module.exports = function setupApiApp() {
// Error handling for requests to non-existent API versions
apiApp.use(errorHandler.res... | Fixed inconsistent error response from the API
- we have two JSON error response formats one old, one new (v2)
- we couldn't use the new one everywhere before without changing the response from older versions
- that is totally irrelevant in Ghost <I> as there is only one API version
- therefore we can and should use t... |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -79,7 +79,7 @@ function getDefaultConfig(mainTemplate, templatesPath) {
// Parse securedBy and use scopes if they are defined
ramlObj.renderSecuredBy = function (securedBy) {
- if (typeof securedBy === '... | align coding style (again) |
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vmware.py
+++ b/salt/cloud/clouds/vmware.py
@@ -437,3 +437,40 @@ def list_nodes_min(kwargs=None, call=None):
ret[vm.name] = True
return ret
+
+
+def list_nodes(kwargs=None, call... | Adding list_nodes() to be able to display basic information about all vms |
diff --git a/tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php b/tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Symfony/Tests/Component/Translation/Loader/XliffFileLoaderTest.php
+++ b/tests/Symfony/Tests/Component/Translation/Load... | [Translation] changed some unit tests for PHPUnit <I> compatibility |
diff --git a/record.go b/record.go
index <HASH>..<HASH> 100644
--- a/record.go
+++ b/record.go
@@ -8,12 +8,12 @@ import (
type Record struct {
Id int `json:"id,omitempty"`
- Content string `json:"content,omitempty"`
+ DomainId int `json:"domain_id,omitempty"`
Name string `json:"name,omit... | Sort the Record fields according to the official serializer |
diff --git a/lib/rprogram/option.rb b/lib/rprogram/option.rb
index <HASH>..<HASH> 100644
--- a/lib/rprogram/option.rb
+++ b/lib/rprogram/option.rb
@@ -1,5 +1,3 @@
-require 'rprogram/extensions'
-
module RProgram
class Option | Don't require 'rprogram/extensions' any more. |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,10 +20,14 @@ except pkg_resources.VersionConflict:
pkg_resources.require('Django >= 1.7')
django_bootstrap3 = 'django-bootstrap3 >= 5.4,<7.0.0'
django = 'Django >= 1.7,<1.8'
- except pkg_resou... | Case when django is not installed |
diff --git a/lib/metamorpher/builders/ruby/uppercase_constant_rewriter.rb b/lib/metamorpher/builders/ruby/uppercase_constant_rewriter.rb
index <HASH>..<HASH> 100644
--- a/lib/metamorpher/builders/ruby/uppercase_constant_rewriter.rb
+++ b/lib/metamorpher/builders/ruby/uppercase_constant_rewriter.rb
@@ -1,29 +1,15 @@
re... | Reduce duplication in Ruby builder code. |
diff --git a/utp.go b/utp.go
index <HASH>..<HASH> 100644
--- a/utp.go
+++ b/utp.go
@@ -179,6 +179,11 @@ func DialTimeout(addr string, timeout time.Duration) (nc net.Conn, err error) {
return s.DialTimeout(addr, timeout)
}
+// Listen creates listener Socket to accept incoming connections.
+func Listen(laddr string)... | provide Listen method that returns net.Listener |
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/plot.py
+++ b/holoviews/plotting/plot.py
@@ -426,7 +426,7 @@ class GenericElementPlot(DimensionedPlot):
keys = keys if keys else list(self.hmap.data.keys())
plot_opts = self.lookup... | Fixed display of sampled DynamicMaps with items in cache |
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -42,9 +42,6 @@ if(isset($_SERVER['argv'][2])) {
$_REQUEST = array_merge($_REQUEST, $_GET);
}
-// Always flush the manifest for phpunit test runs
-$_GET['flush'] = 1;
-
// Conne... | Don't flush manifest in test bootstrap for performance reasons
Leave the decision to the phpunit.xml config (via <get> setting),
or to the individual run via "phpunit <folder> '' flush=1".
Flushing takes multiple seconds even on my fast SSD,
which greatly reduces the likelyhood of developers adopting TDD. |
diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -17,7 +17,7 @@ function matchLicense(licenseString) {
return license.name
}
}
- return 'nomatch'
+ return null
}
// Read source licenses from license-files directory
@@ -30,7 +30,7 @@ fs.re... | don't complain about readme if license is not found in it |
diff --git a/mode/markdown/markdown.js b/mode/markdown/markdown.js
index <HASH>..<HASH> 100644
--- a/mode/markdown/markdown.js
+++ b/mode/markdown/markdown.js
@@ -700,14 +700,15 @@ CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
state.formatting = false;
if (stream.sol()) {
- var for... | [markdown] Fix handling of forced blank lines (after headers)
Closes #<I> |
diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -18,8 +18,9 @@ var rename = require('gulp-rename');
gulp.task('jshint', function() {
return gulp.src(['public/**/*.js', 'lib/**/*.js'])
.pipe(jshint())
- .pipe(jshint.reporter('jshint-stylish'));
- //.pipe(... | Adding fail reporter to jshint.
This causes the linter to return a non-zero exit code, which means the travis build fails if there are any jshint warnings / errors. #<I> |
diff --git a/views/build/grunt/sass.js b/views/build/grunt/sass.js
index <HASH>..<HASH> 100644
--- a/views/build/grunt/sass.js
+++ b/views/build/grunt/sass.js
@@ -8,9 +8,7 @@ module.exports = function (grunt) {
// Override include paths
sass.taoqtiitem = {
- options : {
- includePaths : [ ... | Remove unneccessary include path sass options
tao-<I> |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ pkg_data = {
}
pkgs = ["branca"]
-LICENSE = read("LICENSE.txt")
+LICENSE = "MIT"
long_description = "{}".format(read("README.md"))
# Dependencies. | Update license in setup.py (#<I>) |
diff --git a/lifelines/tests/test_suite.py b/lifelines/tests/test_suite.py
index <HASH>..<HASH> 100644
--- a/lifelines/tests/test_suite.py
+++ b/lifelines/tests/test_suite.py
@@ -321,6 +321,15 @@ class StatisticalTests(unittest.TestCase):
with_array = naf.fit(np.array(T),np.array(C)).cumulative_hazard_.values
... | Update test_suite.py
adding unit test with timeline argument to fit |
diff --git a/public/js/models/Image.js b/public/js/models/Image.js
index <HASH>..<HASH> 100755
--- a/public/js/models/Image.js
+++ b/public/js/models/Image.js
@@ -75,6 +75,8 @@ Garp.dataTypes.Image.on('init', function(){
// because images won't reload if their ID is
// still the same, we need to reload t... | Image changed? Reload, but *with* loadmask |
diff --git a/fragman/apply.py b/fragman/apply.py
index <HASH>..<HASH> 100644
--- a/fragman/apply.py
+++ b/fragman/apply.py
@@ -10,10 +10,10 @@ def apply_changes(changed_path, config):
weave.add_revision(2, file(changed_path, 'r').readlines(), [1])
for i, other_key in enumerate(config['files']):
- rev... | don't count current file when incrementing revisions |
diff --git a/mstate/state.go b/mstate/state.go
index <HASH>..<HASH> 100644
--- a/mstate/state.go
+++ b/mstate/state.go
@@ -137,7 +137,13 @@ func (s *State) AddCharm(ch charm.Charm, curl *charm.URL, bundleURL *url.URL, bu
BundleURL: bundleURL,
BundleSha256: bundleSha256,
}
- err = s.charms.Insert(cdoc)
+ op :... | mstate: use txn for Add Charm |
diff --git a/lnwallet/btcwallet/signer.go b/lnwallet/btcwallet/signer.go
index <HASH>..<HASH> 100644
--- a/lnwallet/btcwallet/signer.go
+++ b/lnwallet/btcwallet/signer.go
@@ -141,7 +141,7 @@ func (b *BtcWallet) SignOutputRaw(tx *wire.MsgTx,
amt := signDesc.Output.Value
sig, err := txscript.RawTxInWitnessSignature... | lnwallet/btcwallet: Use signDesc.HashType when signing
Tis commit makes the btcwallet signer implementation use
signDesc.HashType instead of SigHashAll when signing
transactions. This will allow the creator of the transaction
to specify the sighash policy when creating the accompanying
sign descriptior. |
diff --git a/gffutils/test/test_biopython_integration.py b/gffutils/test/test_biopython_integration.py
index <HASH>..<HASH> 100644
--- a/gffutils/test/test_biopython_integration.py
+++ b/gffutils/test/test_biopython_integration.py
@@ -1,4 +1,4 @@
-from gffutils import example_filename, create, parser, feature
+from gff... | add test for 0- and 1-based indexing |
diff --git a/model/execution/DeliveryExecutionManagerService.php b/model/execution/DeliveryExecutionManagerService.php
index <HASH>..<HASH> 100644
--- a/model/execution/DeliveryExecutionManagerService.php
+++ b/model/execution/DeliveryExecutionManagerService.php
@@ -71,7 +71,7 @@ class DeliveryExecutionManagerService e... | get test session in readonly mode in DeliveryExecutionManagerService::getDeliveryTimer |
diff --git a/core_spec/language/fixtures/super.rb b/core_spec/language/fixtures/super.rb
index <HASH>..<HASH> 100644
--- a/core_spec/language/fixtures/super.rb
+++ b/core_spec/language/fixtures/super.rb
@@ -40,4 +40,22 @@ module Super
end
end
end
+
+ class S5
+ def here
+ :good
+ end
+ end
+... | Add failing super() spec which tests super inside a block |
diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -6,12 +6,12 @@ const (
// VersionMajor is for an API incompatible changes
VersionMajor = 5
// VersionMinor is for functionality in a backwards-compatible manner
- VersionMinor = 5
... | <I>
* When we can't store signatures, point the user at the destination.
* Update for <URL> |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ if sys.version_info < (2,6):
setup(
name = "backports.lzma",
- version = "0.0.1",
+ version = "0.0.1b",
description = descr,
author = "Peter Cock, based on work by Nadeem Vawda and Per Oy... | Call this a beta for first public release... |
diff --git a/app_generators/ahn/ahn_generator.rb b/app_generators/ahn/ahn_generator.rb
index <HASH>..<HASH> 100644
--- a/app_generators/ahn/ahn_generator.rb
+++ b/app_generators/ahn/ahn_generator.rb
@@ -23,7 +23,6 @@ class AhnGenerator < RubiGen::Base
m.file *["config/environment.rb"]*2
m.file *["conf... | [BUGFIX] Remove the dialplan.rb reference from the generator manifest |
diff --git a/runcommands/completion/__init__.py b/runcommands/completion/__init__.py
index <HASH>..<HASH> 100644
--- a/runcommands/completion/__init__.py
+++ b/runcommands/completion/__init__.py
@@ -32,12 +32,12 @@ def complete(config, command_line, current_token, position, shell: dict(choices=
run_args = read_run... | Fix run arg names in complete command |
diff --git a/http/service.go b/http/service.go
index <HASH>..<HASH> 100644
--- a/http/service.go
+++ b/http/service.go
@@ -103,7 +103,7 @@ const (
PermBackup = "backup"
// LoadBatchSz is the batch size for loading a dump file.
- LoadBatchSz = 100
+ LoadBatchSz = 1000
)
func init() {
diff --git a/store/store.g... | Use a transaction for loaded batch
Bump the batch size to <I> too. |
diff --git a/_tests/integration/version_test.go b/_tests/integration/version_test.go
index <HASH>..<HASH> 100644
--- a/_tests/integration/version_test.go
+++ b/_tests/integration/version_test.go
@@ -10,7 +10,7 @@ import (
)
const (
- expectedCLIVersion = "1.45.0"
+ expectedCLIVersion = "1.45.1"
)
func Test_Vers... | Prepare for release <I> (#<I>) (#<I>)
* Prepare for release <I> (#<I>)
* Changed version too |
diff --git a/lib/aequitas.rb b/lib/aequitas.rb
index <HASH>..<HASH> 100644
--- a/lib/aequitas.rb
+++ b/lib/aequitas.rb
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
-if RUBY_VERSION < '1.9.1'
+if RUBY_VERSION < '1.9'
require 'backports'
end
diff --git a/spec/suite.rb b/spec/suite.rb
index <HASH>..<HASH> 100644
---... | Fix backport require conditional and require aequitas from spec_helper |
diff --git a/spin.js b/spin.js
index <HASH>..<HASH> 100644
--- a/spin.js
+++ b/spin.js
@@ -186,10 +186,13 @@
var self = this
, o = self.opts
- , el = self.el = css(createEl(0, {className: o.className}), {position: o.position, width: 0, zIndex: o.zIndex})
+ , el = self.el = createEl(0, {c... | Deobfuscate some variable declaration |
diff --git a/rpcserver.go b/rpcserver.go
index <HASH>..<HASH> 100644
--- a/rpcserver.go
+++ b/rpcserver.go
@@ -868,7 +868,7 @@ func handleGenerate(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) (i
Code: btcjson.ErrRPCDifficulty,
Message: fmt.Sprintf("No support for `generate` on "+
"the current ... | rpcserver: Fix typo in generate handler.
"mine a block" instead of "main a block". |
diff --git a/jquery.floatThead.js b/jquery.floatThead.js
index <HASH>..<HASH> 100644
--- a/jquery.floatThead.js
+++ b/jquery.floatThead.js
@@ -684,6 +684,7 @@
if (wrappedContainer) {
$scrollContainer.unwrap();
}
+ $table.css('minWidth', '');
$floatContainer.remove(... | Remove css min-width from table on destroy |
diff --git a/liquibase-core/src/main/java/liquibase/change/core/LoadDataChange.java b/liquibase-core/src/main/java/liquibase/change/core/LoadDataChange.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/change/core/LoadDataChange.java
+++ b/liquibase-core/src/main/java/liquibase/change/core/L... | Fix issue with loadUpdateData GH-<I> |
diff --git a/lib/Tmdb/Model/Common/SpokenLanguage.php b/lib/Tmdb/Model/Common/SpokenLanguage.php
index <HASH>..<HASH> 100644
--- a/lib/Tmdb/Model/Common/SpokenLanguage.php
+++ b/lib/Tmdb/Model/Common/SpokenLanguage.php
@@ -25,7 +25,7 @@ class SpokenLanguage extends AbstractModel implements LanguageFilter
private $... | Update SpokenLanguage.php
Changed 'iso_<I>_1' on line <I> to 'iso_<I>_1'. |
diff --git a/src/main/java/com/cloudbees/jenkins/support/impl/ThreadDumps.java b/src/main/java/com/cloudbees/jenkins/support/impl/ThreadDumps.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/cloudbees/jenkins/support/impl/ThreadDumps.java
+++ b/src/main/java/com/cloudbees/jenkins/support/impl/ThreadDumps.java
@... | Add information about dead lock threads. |
diff --git a/pypsa/linopt.py b/pypsa/linopt.py
index <HASH>..<HASH> 100644
--- a/pypsa/linopt.py
+++ b/pypsa/linopt.py
@@ -742,8 +742,8 @@ def run_and_read_gurobi(n, problem_fn, solution_fn, solver_logfile,
For more information on solver options:
https://www.gurobi.com/documentation/{gurobi_verion}/refman/par... | search for gurobipy not gurobi (#<I>) |
diff --git a/happymongo/__init__.py b/happymongo/__init__.py
index <HASH>..<HASH> 100644
--- a/happymongo/__init__.py
+++ b/happymongo/__init__.py
@@ -72,10 +72,12 @@ class HapPyMongo(object):
"""
config = {}
app_name = get_app_name()
+ is_flask = False
# If the object is a fl... | If it is a flask app, register as an extension |
diff --git a/src/api_data_fetcher.php b/src/api_data_fetcher.php
index <HASH>..<HASH> 100644
--- a/src/api_data_fetcher.php
+++ b/src/api_data_fetcher.php
@@ -214,7 +214,7 @@ class ApiDataFetcher{
$d = json_decode($u->getContent(),true);
if(is_null($d)){
- error_log("ApiDataFetcher:
+ trigger_error("ApiData... | error_log() replaced with trigger_error() |
diff --git a/framer/protocol.py b/framer/protocol.py
index <HASH>..<HASH> 100644
--- a/framer/protocol.py
+++ b/framer/protocol.py
@@ -14,7 +14,10 @@
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
-import asyncio
+try:
+ import asyncio
+except ImportError:
+ import trollius as async... | Fix asyncio import
The trollius library no longer installs as the 'asyncio' package, but
as 'trollius'. Change the one import we have to import trollius as
asyncio if asyncio is not present. |
diff --git a/src/Datasource/EntityTrait.php b/src/Datasource/EntityTrait.php
index <HASH>..<HASH> 100644
--- a/src/Datasource/EntityTrait.php
+++ b/src/Datasource/EntityTrait.php
@@ -270,10 +270,10 @@ trait EntityTrait {
* ### Example:
*
* {{{
- * $entity = new Entity(['id' => 1, 'name' => null]);
- * $entity->... | Tidy up docblock. |
diff --git a/app/controllers/katello/api/v2/host_collections_controller.rb b/app/controllers/katello/api/v2/host_collections_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/katello/api/v2/host_collections_controller.rb
+++ b/app/controllers/katello/api/v2/host_collections_controller.rb
@@ -26,7 +26,6 @@... | Refs #<I> - update endpoint for host collections |
diff --git a/lib/allscripts_unity_client/json_client_driver.rb b/lib/allscripts_unity_client/json_client_driver.rb
index <HASH>..<HASH> 100644
--- a/lib/allscripts_unity_client/json_client_driver.rb
+++ b/lib/allscripts_unity_client/json_client_driver.rb
@@ -117,7 +117,10 @@ module AllscriptsUnityClient
end
... | Don't set proxy unless an option has been set for JSON client. |
diff --git a/post_office/tests/utils.py b/post_office/tests/utils.py
index <HASH>..<HASH> 100644
--- a/post_office/tests/utils.py
+++ b/post_office/tests/utils.py
@@ -102,7 +102,7 @@ class UtilsTest(TestCase):
self.assertIsInstance(attachments[0], Attachment)
self.assertTrue(attachments[0].pk)
... | Fix tests failing because of dict sort order |
diff --git a/scuba/scuba.py b/scuba/scuba.py
index <HASH>..<HASH> 100644
--- a/scuba/scuba.py
+++ b/scuba/scuba.py
@@ -15,11 +15,6 @@ from .dockerutil import make_vol_opt
from .utils import shell_quote_cmd, flatten_list
-def verbose_msg(fmt, *args):
- # TODO: remove
- pass
-
-
class ScubaError(Exception):
... | scuba: Remove stub verbose_msg
These two calls don't add much information for the user. If we want this
level of detail, we should use the logging API. |
diff --git a/core/lib/generators/refinery/cms/cms_generator.rb b/core/lib/generators/refinery/cms/cms_generator.rb
index <HASH>..<HASH> 100644
--- a/core/lib/generators/refinery/cms/cms_generator.rb
+++ b/core/lib/generators/refinery/cms/cms_generator.rb
@@ -39,7 +39,7 @@ module Refinery
# Refinery has set config.as... | Use regular expression to detect if current env contains 'production'. |
diff --git a/src/ProxyManager/Factory/AbstractBaseFactory.php b/src/ProxyManager/Factory/AbstractBaseFactory.php
index <HASH>..<HASH> 100644
--- a/src/ProxyManager/Factory/AbstractBaseFactory.php
+++ b/src/ProxyManager/Factory/AbstractBaseFactory.php
@@ -23,6 +23,8 @@ namespace ProxyManager\Factory;
use ProxyManager\C... | Documenting thrown exceptions in the base factory |
diff --git a/Phrozn/Processor/Twig.php b/Phrozn/Processor/Twig.php
index <HASH>..<HASH> 100644
--- a/Phrozn/Processor/Twig.php
+++ b/Phrozn/Processor/Twig.php
@@ -58,11 +58,6 @@ class Twig
{
$path = Loader::getInstance()->getPath('library');
- // Twig uses perverted file naming (due to absense of... | Composer: Removed hardcoded Twig loaders. |
diff --git a/lib/faraday/adapter/net_http.rb b/lib/faraday/adapter/net_http.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday/adapter/net_http.rb
+++ b/lib/faraday/adapter/net_http.rb
@@ -17,6 +17,7 @@ module Faraday
Errno::EHOSTUNREACH,
Errno::EINVAL,
Errno::ENETUNREACH,
+ Errno::EPIPE... | Update net_http.rb (#<I>)
Add recognition of uncaught `Errno::EPIPE: Broken pipe` error to `NET_HTTP_EXCEPTIONS` |
diff --git a/spec/Suite/Document.spec.php b/spec/Suite/Document.spec.php
index <HASH>..<HASH> 100644
--- a/spec/Suite/Document.spec.php
+++ b/spec/Suite/Document.spec.php
@@ -136,6 +136,26 @@ describe("Document", function() {
});
+ it("returns `null` for undefined field", function() {
+
+ ... | Change `Document.get()` to return the default value when present or `null` when a field doesn't exists. |
diff --git a/suds/transport/http.py b/suds/transport/http.py
index <HASH>..<HASH> 100644
--- a/suds/transport/http.py
+++ b/suds/transport/http.py
@@ -56,8 +56,9 @@ class HttpTransport(Transport):
def open(self, request):
try:
url = request.url
+ headers = request.headers
... | Added basic auth support for wsdl download also |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -1,7 +1,10 @@
+import os
+import arrow
+
from urllib import parse
from tfatool.info import Config, WifiMode, DriveMode
from tfatool.config import config
-from tfatool import command
+from tfatool import command, upload
def... | added unit test for FAT<I> time encode/decode |
diff --git a/elastic-harvester.js b/elastic-harvester.js
index <HASH>..<HASH> 100644
--- a/elastic-harvester.js
+++ b/elastic-harvester.js
@@ -1046,7 +1046,7 @@ ElasticHarvest.prototype.enableAutoSync= function(){
var _this = this;
if(!!this.harvest_app.options.oplogConnectionString){
console.warn("[... | fixed a but, there is another part in the code where an onChange handler is defined
didn't pass through the asyncInMemory option in that case |
diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
+++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
@@ -31,12 +31,12 @@ use Webmozart\Assert\Assert;
class... | Change application's version to <I>-DEV |
diff --git a/src/SearchDrivers/BaseSearchDriver.php b/src/SearchDrivers/BaseSearchDriver.php
index <HASH>..<HASH> 100755
--- a/src/SearchDrivers/BaseSearchDriver.php
+++ b/src/SearchDrivers/BaseSearchDriver.php
@@ -72,7 +72,7 @@ abstract class BaseSearchDriver implements SearchDriverInterface
*/
public funct... | Fix search query with quotes by replacing trim function to substr. |
diff --git a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java b/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsear... | Fix #<I> Uploading a VCF will throw an error |
diff --git a/src/extensions/renderer/base/coord-ele-math.js b/src/extensions/renderer/base/coord-ele-math.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer/base/coord-ele-math.js
+++ b/src/extensions/renderer/base/coord-ele-math.js
@@ -590,7 +590,7 @@ BRp.getLabelText = function( ele ){
//console.log('w... | Allow only truthy value instead of just defined |
diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go
index <HASH>..<HASH> 100644
--- a/cmd/syncthing/gui.go
+++ b/cmd/syncthing/gui.go
@@ -119,12 +119,16 @@ type guiFile scanner.File
func (f guiFile) MarshalJSON() ([]byte, error) {
type t struct {
- Name string
- Size int64
+ Name string
+ Size int... | Expose a bit more information about needed file in REST interface |
diff --git a/lib/Extension/LanguageServerRename/Adapter/ReferenceFinder/ClassMover/ClassRenamer.php b/lib/Extension/LanguageServerRename/Adapter/ReferenceFinder/ClassMover/ClassRenamer.php
index <HASH>..<HASH> 100644
--- a/lib/Extension/LanguageServerRename/Adapter/ReferenceFinder/ClassMover/ClassRenamer.php
+++ b/lib/... | Fix error when renaming (#<I>) |
diff --git a/spec/unit/request_spec.rb b/spec/unit/request_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/request_spec.rb
+++ b/spec/unit/request_spec.rb
@@ -660,4 +660,20 @@ describe RestClient::Request do
response.should_not be_nil
response.code.should eq 204
end
+
+ describe "raw response" do
+ ... | Test that raw responses are read into a binary-mode tempfile
Re: <URL> |
diff --git a/pkg/cli/environment.go b/pkg/cli/environment.go
index <HASH>..<HASH> 100644
--- a/pkg/cli/environment.go
+++ b/pkg/cli/environment.go
@@ -95,12 +95,12 @@ func (s *EnvSettings) EnvVars() map[string]string {
"HELM_REGISTRY_CONFIG": s.RegistryConfig,
"HELM_REPOSITORY_CACHE": s.RepositoryCache,
"HE... | fix(cli): Fixes incorrect variable reference
Because these were additions, git didn't pick up that the recent refactor of
env settings had changed some of the variables. This fixes those small changes |
diff --git a/src/org/opencms/xml/A_CmsXmlDocument.java b/src/org/opencms/xml/A_CmsXmlDocument.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/xml/A_CmsXmlDocument.java
+++ b/src/org/opencms/xml/A_CmsXmlDocument.java
@@ -289,9 +289,17 @@ public abstract class A_CmsXmlDocument implements I_CmsXmlDocument {
... | Improved Fix for issue #<I>: Filter elements no longer contained in the choice definition |
diff --git a/tests/Routing/RouteTest.php b/tests/Routing/RouteTest.php
index <HASH>..<HASH> 100644
--- a/tests/Routing/RouteTest.php
+++ b/tests/Routing/RouteTest.php
@@ -419,7 +419,7 @@ class RouteTest extends TestCase
$responseProphecy = $this->prophesize(ResponseInterface::class);
$callableResolver... | Rename test callable to make it clear that Callable:toCall is not expected to be called |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,9 +2,9 @@
# Generated by jaraco.develop (https://bitbucket.org/jaraco/jaraco.develop)
import setuptools
-with open('README.txt') as readme:
+with open('README.txt', encoding='utf-8') as readme:
long_description = read... | Seems some platforms (*glares at Ubuntu*) have Python <I> default to ASCII. It's a sad, sad day for text. |
diff --git a/helpers.py b/helpers.py
index <HASH>..<HASH> 100644
--- a/helpers.py
+++ b/helpers.py
@@ -362,7 +362,7 @@ def find_project_by_short_name(short_name, pbclient, all=None):
def check_api_error(api_response):
"""Check if returned API response contains an error."""
- if 'status' not in api_response:
... | Better robustness check; Force printing of HTTP response in case of general HTTPError |
diff --git a/pymongo/bson.py b/pymongo/bson.py
index <HASH>..<HASH> 100644
--- a/pymongo/bson.py
+++ b/pymongo/bson.py
@@ -36,6 +36,12 @@ try:
except ImportError:
_use_c = False
+try:
+ import uuid
+ _use_uuid = True
+except ImportError:
+ _use_uuid = False
+
def _get_int(data):
try:
@@ -256,12... | only try importing uuid once |
diff --git a/go/client/fork_server.go b/go/client/fork_server.go
index <HASH>..<HASH> 100644
--- a/go/client/fork_server.go
+++ b/go/client/fork_server.go
@@ -144,6 +144,7 @@ func makeServerCommandLine(g *libkb.GlobalContext, cl libkb.CommandLine,
"no-debug",
"api-dump-unsafe",
"plain-logging",
+ "disable-cer... | Use correct type for --disable-cert-pinning command line flag in server spawn (#<I>) |
diff --git a/hotdoc/core/formatter.py b/hotdoc/core/formatter.py
index <HASH>..<HASH> 100644
--- a/hotdoc/core/formatter.py
+++ b/hotdoc/core/formatter.py
@@ -528,7 +528,8 @@ class Formatter(Configurable):
'link_title': title})
return out
- def _format_type_tokens(s... | Pass currenly formatting symbol to _format_type_token
To give some context to subclasses, as, for example in the GIFormatte
needs to know in what language it is formatting |
diff --git a/troposphere/firehose.py b/troposphere/firehose.py
index <HASH>..<HASH> 100644
--- a/troposphere/firehose.py
+++ b/troposphere/firehose.py
@@ -136,13 +136,22 @@ class ExtendedS3DestinationConfiguration(AWSProperty):
}
+class KinesisStreamSourceConfiguration(AWSProperty):
+ props = {
+ 'Ki... | Adding kinesis stream source to firehose (#<I>) |
diff --git a/bin/prettier.js b/bin/prettier.js
index <HASH>..<HASH> 100755
--- a/bin/prettier.js
+++ b/bin/prettier.js
@@ -33,6 +33,13 @@ if (!filenames.length && !stdin) {
process.exit(1);
}
+function formatWithShebang(input) {
+ const index = input.indexOf("\n");
+ const shebang = input.slice(0, index + 1);
+... | treat shebang outside of parsing (#<I>)
* treat shebang outside of parsing
* use less costly indexOf and reuse format function
* avoid reprinting new line and potential double space at start
* move options back to format function |
diff --git a/src/Serializers/Entity.php b/src/Serializers/Entity.php
index <HASH>..<HASH> 100644
--- a/src/Serializers/Entity.php
+++ b/src/Serializers/Entity.php
@@ -31,7 +31,7 @@ class Entity {
*/
protected function getSkeleton() : array {
return [
- 'app' => [
+ 'service' => [
'name' ... | APM Server <I> now looks for a service key |
diff --git a/src/Codeception/Lib/Connector/Lumen.php b/src/Codeception/Lib/Connector/Lumen.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Lib/Connector/Lumen.php
+++ b/src/Codeception/Lib/Connector/Lumen.php
@@ -106,7 +106,12 @@ class Lumen extends Client
}
$this->app = $this->kernel = requir... | [Lumen] add support for Laravel\Lumen\Application::boot
in version <I>.*, lumen introduced the same design pattern like Laravel
@see <URL> |
diff --git a/lib/jekyll-admin/data_file.rb b/lib/jekyll-admin/data_file.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll-admin/data_file.rb
+++ b/lib/jekyll-admin/data_file.rb
@@ -30,7 +30,7 @@ module JekyllAdmin
# Returns unparsed content as it exists on disk
def raw_content
- @raw_content ||= File.rea... | read raw_content in UTF-8 |
diff --git a/lib/sprockets/environment.rb b/lib/sprockets/environment.rb
index <HASH>..<HASH> 100644
--- a/lib/sprockets/environment.rb
+++ b/lib/sprockets/environment.rb
@@ -24,8 +24,6 @@ module Sprockets
attr_accessor :logger
- attr_accessor :css_compressor, :js_compressor
-
def initialize(root = "."... | Expire cache when static root or compressors are updated |
diff --git a/urbansim/server/urbansimd.py b/urbansim/server/urbansimd.py
index <HASH>..<HASH> 100644
--- a/urbansim/server/urbansimd.py
+++ b/urbansim/server/urbansimd.py
@@ -1,3 +1,4 @@
+import inspect
import os
import sys
@@ -10,7 +11,7 @@ from bottle import route, run, response, hook, request
from cStringIO imp... | removing compile route
The model templates no longer exist so the compile route no longer exists. |
diff --git a/aeron-samples/src/main/java/io/aeron/samples/archive/EmbeddedReplayThroughput.java b/aeron-samples/src/main/java/io/aeron/samples/archive/EmbeddedReplayThroughput.java
index <HASH>..<HASH> 100644
--- a/aeron-samples/src/main/java/io/aeron/samples/archive/EmbeddedReplayThroughput.java
+++ b/aeron-samples/sr... | [Java] Output formatting. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.