hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
7638d678a877d72b3b8d8f870d0d0331ed0d7d87
diff --git a/storage/piece_file.go b/storage/piece_file.go index <HASH>..<HASH> 100644 --- a/storage/piece_file.go +++ b/storage/piece_file.go @@ -72,7 +72,12 @@ func (me pieceFileTorrentStoragePiece) ReadAt(b []byte, off int64) (n int, err e } } defer f.Close() - return f.ReadAt(b, off) + n, err = f.ReadAt(b, o...
storage: Fix io.EOF on short piece files
anacrolix_torrent
train
fc264c2431ed91a33674e3b36d596c2eb28185ad
diff --git a/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java b/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/docx/BodyXmlTests.java @@ -1396,6 +1...
Add tests for when image cannot be found
mwilliamson_java-mammoth
train
8e98b64cea9f1460e8f95251bdb04e00111c3c22
diff --git a/tests/cli/app.py b/tests/cli/app.py index <HASH>..<HASH> 100644 --- a/tests/cli/app.py +++ b/tests/cli/app.py @@ -91,9 +91,7 @@ class WebAppServerTest(unittest.TestCase): self.manage = os.path.join('temp_dir', 'manage.py') shutil.copy(os.path.join(os.path.dirname(__file__), 'helloworld.py...
removing custom env for subprocess
SmartTeleMax_iktomi
train
14c964f8f72fd7b6fa44642b0f83aaa6814b17ba
diff --git a/detect_secrets/audit/common.py b/detect_secrets/audit/common.py index <HASH>..<HASH> 100644 --- a/detect_secrets/audit/common.py +++ b/detect_secrets/audit/common.py @@ -1,12 +1,12 @@ import json from contextlib import contextmanager from functools import lru_cache +from typing import Any from typing i...
Reorder imports by precommit
Yelp_detect-secrets
train
b3f209413e3d239a460700c4099f7ed9f575e8da
diff --git a/lib/rules/brace-style.js b/lib/rules/brace-style.js index <HASH>..<HASH> 100644 --- a/lib/rules/brace-style.js +++ b/lib/rules/brace-style.js @@ -138,7 +138,13 @@ module.exports = { return { BlockStatement(node) { - validateCurlyPair(sourceCode.getFirstToken(node), so...
Fix: brace-style crash with lone block statements (fixes #<I>) (#<I>)
eslint_eslint
train
58fd869700d8ca779c338ee85a48b3717914a458
diff --git a/nunaliit2-js/src/main/js/nunaliit2/n2.couchModule.js b/nunaliit2-js/src/main/js/nunaliit2/n2.couchModule.js index <HASH>..<HASH> 100644 --- a/nunaliit2-js/src/main/js/nunaliit2/n2.couchModule.js +++ b/nunaliit2-js/src/main/js/nunaliit2/n2.couchModule.js @@ -156,6 +156,7 @@ var Module = $n2.Class({ var o...
nunaliit2-js: Add a synchronous event used to run a custom script to fill out an introduction if it is not specified by the module. Issue #<I>
GCRC_nunaliit
train
5a9e7ec8e6cd55a27b259e5d7125dfa51dc0ffdb
diff --git a/lib/sailthru.rb b/lib/sailthru.rb index <HASH>..<HASH> 100644 --- a/lib/sailthru.rb +++ b/lib/sailthru.rb @@ -384,6 +384,7 @@ module Sailthru return false unless params[:action] == :verify sig = params.delete(:sig) + sig = sig.delete_if {|key, value| key == :controller} ...
bugzid:<I> - add removal of controller key in postback verification
sailthru_sailthru-ruby-client
train
90cf9a98a319bed50f4ad66bb519049002e0fb6c
diff --git a/test/helper.rb b/test/helper.rb index <HASH>..<HASH> 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,5 @@ -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start +require 'codeclimate-test-reporter' +CodeClimate::TestReporter.configuration.profile require 'test/unit' require '...
js - fix cc reporter
appfolio_shields_up
train
12748d4d7a41f1a7797819334538fe52261779a5
diff --git a/lottie/src/main/java/com/airbnb/lottie/animation/content/BaseStrokeContent.java b/lottie/src/main/java/com/airbnb/lottie/animation/content/BaseStrokeContent.java index <HASH>..<HASH> 100644 --- a/lottie/src/main/java/com/airbnb/lottie/animation/content/BaseStrokeContent.java +++ b/lottie/src/main/java/com/...
Enforce order of operations to avoid rounding errors (#<I>) Previously, the calculation of endLength could suffer from rounding errors. While most of the time, these errors are not a big deal, when the end value is <I>, this can result in endLength being larger than totalLength, causing unexpected behavior where the a...
airbnb_lottie-android
train
f281b3b62712079605d0f873c2f38623212bdef0
diff --git a/doc/whats-new.rst b/doc/whats-new.rst index <HASH>..<HASH> 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -66,6 +66,9 @@ New Features - Limited the length of array items with long string reprs to a reasonable width (:pull:`3900`) By `Maximilian Roos <https://github.com/max-sixty>`_ +- Lim...
Limit length of dataarray reprs (#<I>) * limit length of dataarray reprs * repr depends on numpy versions * whatsnew * correct comment based on @keewis comment * Update whats-new.rst
pydata_xarray
train
03a6fed311f70f71647b94acd39ed49834ab8ce4
diff --git a/cablemap.core/tests/test_c14n_id_c14n.py b/cablemap.core/tests/test_c14n_id_c14n.py index <HASH>..<HASH> 100644 --- a/cablemap.core/tests/test_c14n_id_c14n.py +++ b/cablemap.core/tests/test_c14n_id_c14n.py @@ -13,7 +13,7 @@ Tests identifier c14n parsing. :license: BSD license """ from nose.tools im...
Renamed constants into consts
heuer_cablemap
train
95ed762498dc8ada78f3e4707792847fc44d2524
diff --git a/tests/test_colors.py b/tests/test_colors.py index <HASH>..<HASH> 100644 --- a/tests/test_colors.py +++ b/tests/test_colors.py @@ -10,8 +10,38 @@ class Default(dict): return key -def test_common(): +def test_chaining(): + return + value = Color('{red}test{/red}') + value2 = Color('{red...
Copied tests to _colors. Moved 'return', pypy pypy compatibility hack in tests.
Robpol86_colorclass
train
567b175d5a070c426ac994fd572211d42a19186d
diff --git a/tasks.py b/tasks.py index <HASH>..<HASH> 100644 --- a/tasks.py +++ b/tasks.py @@ -9,6 +9,11 @@ def doc(): run('cd docs && make html') @task +def docserve(): + print 'Serving docs on localhost:8000...' + run('cd docs/_build/html && python -m SimpleHTTPServer') + +@task def publish(): run('./...
Add invoke task for serving documentation. Less typing, and a bit more obvious for anyone else.
xiongchiamiov_pyfixit
train
63375cd75044109904c9adc8dc75695d7c7ada7f
diff --git a/lib/yard/generators/attributes_generator.rb b/lib/yard/generators/attributes_generator.rb index <HASH>..<HASH> 100644 --- a/lib/yard/generators/attributes_generator.rb +++ b/lib/yard/generators/attributes_generator.rb @@ -1,6 +1,11 @@ module YARD module Generators class AttributesGenerator < Base ...
Only show attributes section if there are attributes in the class
lsegal_yard
train
bcabdd7d1ec49df1abef3a7bd33f1598da6c9f59
diff --git a/bbq-core/lib/generators/test_unit/bbq_install_generator.rb b/bbq-core/lib/generators/test_unit/bbq_install_generator.rb index <HASH>..<HASH> 100644 --- a/bbq-core/lib/generators/test_unit/bbq_install_generator.rb +++ b/bbq-core/lib/generators/test_unit/bbq_install_generator.rb @@ -7,8 +7,8 @@ module TestUn...
generators: change support directory to more common one
drugpl_bbq
train
2ecf2db311bd462993c6db2481a02cba04a15359
diff --git a/modules/cms/classes/MediaLibraryItem.php b/modules/cms/classes/MediaLibraryItem.php index <HASH>..<HASH> 100644 --- a/modules/cms/classes/MediaLibraryItem.php +++ b/modules/cms/classes/MediaLibraryItem.php @@ -4,7 +4,7 @@ use App; use File; use Config; use Backend\Models\UserPreferences; -use IntlDateFo...
Remove dependency on IntlDateFormatter
octobercms_october
train
0fd4eb5cec75cf5d9c0368f212963fdd5a258536
diff --git a/lib/roar/representer/feature/http_verbs.rb b/lib/roar/representer/feature/http_verbs.rb index <HASH>..<HASH> 100644 --- a/lib/roar/representer/feature/http_verbs.rb +++ b/lib/roar/representer/feature/http_verbs.rb @@ -9,16 +9,13 @@ module Roar class << self attr_accessor :http_transpo...
not mix in HttpVerbs::ClassMethods anymore when extending an object, who the hell did that?
trailblazer_roar
train
078ecee37dda8a87ed836e688b39e00d854cbad4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,23 +5,11 @@ Setup script for rinohtype """ import os -import re -import sys -from datetime import datetime from setuptools import setup, find_packages -from subprocess import Popen, PIPE -PACKAGE = 'rinoh' BASE_...
Remove obsolete stuff from setup.py
brechtm_rinohtype
train
2aaf408aab556d59b4e648d1df03e7eb478df5c7
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -206,21 +206,26 @@ This widget should be used in your main layout file as follows: use machour\yii2\notifications\widgets\NotificationsWidget; NotificationsWidget::widget([ - 'theme' => NotificationsWidget::THEME_NO...
Fix #7: add clientOptions to customize the underlying library settings
machour_yii2-notifications
train
0aae7d46fbbe44b6fa8bc89839e6868f7b13802d
diff --git a/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js b/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +++ b/s...
[FIX] Demokit <I>: Demo apps read more button URL corrected -link was pointing to the old demokit url Change-Id: I1eec2bbf0b<I>a5f1ad9b0a4c1a<I>bc<I>ace<I>
SAP_openui5
train
06cb73bc1d9e853f472ae087f964e4facce8e199
diff --git a/lib/dashboard/index.js b/lib/dashboard/index.js index <HASH>..<HASH> 100644 --- a/lib/dashboard/index.js +++ b/lib/dashboard/index.js @@ -127,6 +127,10 @@ function parseWorkspaces() { const workspaceNames = new Set(); bundles.all().forEach(bundle => { bundle.dashboard.panels.forEach(panel => { + i...
fix dialogs creating undefined workspaces
nodecg_nodecg
train
bbcfd8058b2c0aeb73e52e6ba5ba08479a89ea2a
diff --git a/src/GitHub_Updater/Base.php b/src/GitHub_Updater/Base.php index <HASH>..<HASH> 100644 --- a/src/GitHub_Updater/Base.php +++ b/src/GitHub_Updater/Base.php @@ -642,6 +642,9 @@ class Base { Singleton::get_instance( 'Branch' )->set_branch_on_switch( $slug ); + // Delete get_plugins() and wp_get_themes(...
delete repos cache when update/branch switch occurs
afragen_github-updater
train
46450af6200c4330a0c4640a7ba0c29a6c17da4a
diff --git a/test/system/travis-yml.test.js b/test/system/travis-yml.test.js index <HASH>..<HASH> 100644 --- a/test/system/travis-yml.test.js +++ b/test/system/travis-yml.test.js @@ -23,11 +23,25 @@ describe('travis.yml', function () { }); describe('strucure', function () { + it('should use the trust...
Added a system test for the updated Travis CI configuration
postmanlabs_postman-sandbox
train
8f059510ae0c2b690b3b800778ca765860645357
diff --git a/lib/puppet/sslcertificates/inventory.rb b/lib/puppet/sslcertificates/inventory.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/sslcertificates/inventory.rb +++ b/lib/puppet/sslcertificates/inventory.rb @@ -12,10 +12,7 @@ module Puppet::SSLCertificates end Puppet.config.write(:ce...
Changes to lib/ corresponding to test refactoring from r<I>, was unaware that subversion only commited in the CWD git-svn-id: <URL>
puppetlabs_puppet
train
4ee48e7d4b9eca154b4c5eed01700a27c27ad9b3
diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/io/AdvancedNetworkClientIntegrationTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/io/AdvancedNetworkClientIntegrationTest.java index <HASH>..<HASH> 100644 --- a/hazelcast-client/src/test/java/com/hazelcast/client/io/AdvancedNetworkClientI...
Ensure client membership event has been processed before assertions In AdvancedNetworkClientIntegrationTest#testMembershipEvent, client may have not yet processed the member removed event immediately after cluster size change is observed. This may erroneously fail following assertions because memberRemoved value is no...
hazelcast_hazelcast
train
6c4c5b421bbe1bd1f82d925230d685060949083e
diff --git a/src/Lang/ro.php b/src/Lang/ro.php index <HASH>..<HASH> 100644 --- a/src/Lang/ro.php +++ b/src/Lang/ro.php @@ -17,7 +17,7 @@ return [ 'after' => 'peste :time', 'before' => 'acum :time', 'year' => 'un an|:count ani|:count ani', - 'month' => 'o luna|:count luni|:count luni', ...
Update ro.php Fixed diacritical sign
jenssegers_date
train
9088cd0be8891b4f1f1a20627841dfc2c2a97eca
diff --git a/src/main/java/com/codepoetics/protonpack/maps/MapStream.java b/src/main/java/com/codepoetics/protonpack/maps/MapStream.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codepoetics/protonpack/maps/MapStream.java +++ b/src/main/java/com/codepoetics/protonpack/maps/MapStream.java @@ -173,8 +173,8 @@ p...
Fix generics on MapStream.mapEntries(BiFunction)
poetix_protonpack
train
acb9a223227dd9f13aea8a9e88c71abb18a970e8
diff --git a/gluonnlp/embedding/evaluation.py b/gluonnlp/embedding/evaluation.py index <HASH>..<HASH> 100644 --- a/gluonnlp/embedding/evaluation.py +++ b/gluonnlp/embedding/evaluation.py @@ -377,7 +377,8 @@ class WordEmbeddingSimilarity(HybridBlock): if not isinstance(self.similarity, WordEmbeddingSimilarity...
Fix undefined name (#<I>)
dmlc_gluon-nlp
train
9aca0427dabb928078b1b80ec021d7643143aaf7
diff --git a/src/Core/Checkout/Cart/CartRuleLoader.php b/src/Core/Checkout/Cart/CartRuleLoader.php index <HASH>..<HASH> 100644 --- a/src/Core/Checkout/Cart/CartRuleLoader.php +++ b/src/Core/Checkout/Cart/CartRuleLoader.php @@ -116,6 +116,7 @@ class CartRuleLoader $context->setRuleIds($rules->getIds()); + ...
NTR - Add comment for cart persisting on error
shopware_platform
train
c298601129e453a5af7e44049b5f4344da396d42
diff --git a/lib/rules/i18n-no-variables.js b/lib/rules/i18n-no-variables.js index <HASH>..<HASH> 100644 --- a/lib/rules/i18n-no-variables.js +++ b/lib/rules/i18n-no-variables.js @@ -18,7 +18,13 @@ var getSequenceCallee = require( '../util/sequence-callee' ); var rule = module.exports = function( context ) { funct...
i<I>n-no-variables: Tighten checks on binary expressions
Automattic_eslint-plugin-wpcalypso
train
f9e057e3b63a9b90f4aa3d85147cb9f9e1040aad
diff --git a/Kwf/Acl/Component.php b/Kwf/Acl/Component.php index <HASH>..<HASH> 100644 --- a/Kwf/Acl/Component.php +++ b/Kwf/Acl/Component.php @@ -89,6 +89,8 @@ class Kwf_Acl_Component extends Kwf_Acl $this->deny('guest', 'kwf_welcome_welcome'); $this->deny('guest', 'kwf_component_pages'); + ...
deny access to welcome controller to normal users by default
koala-framework_koala-framework
train
35771dd1cdd20e291a4a1a15ef04da57329c41db
diff --git a/buffer/src/main/java/io/netty/buffer/PoolArena.java b/buffer/src/main/java/io/netty/buffer/PoolArena.java index <HASH>..<HASH> 100644 --- a/buffer/src/main/java/io/netty/buffer/PoolArena.java +++ b/buffer/src/main/java/io/netty/buffer/PoolArena.java @@ -57,8 +57,8 @@ abstract class PoolArena<T> implements ...
Fix race in PoolArena.allocate. Fixes #<I> Motivation: The statistic counters PoolArena.(allocationsTiny|allocationsSmall) are not protected by a per arena lock, but by a per size class lock. Thus, two concurrent allocations of different size (class) could lead to a race and ultimately to wrong statistics. Modificat...
netty_netty
train
d8675f4ace72babf1720bbc43d7c83ce2edd64ed
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -425,7 +425,16 @@ class HazardCalculator(BaseCalculator): 'You cannot use --hc together with gmfs_file') self.re...
Removed code [skip hazardlib]
gem_oq-engine
train
059366fb4a05d81d63810b26a671361477f52b05
diff --git a/src/main/java/io/scalecube/gateway/GatewayMetrics.java b/src/main/java/io/scalecube/gateway/GatewayMetrics.java index <HASH>..<HASH> 100644 --- a/src/main/java/io/scalecube/gateway/GatewayMetrics.java +++ b/src/main/java/io/scalecube/gateway/GatewayMetrics.java @@ -6,13 +6,15 @@ import io.scalecube.service...
Done on GatewayWebsocketAcceptor.java; Done on refatrong server side of websocket
scalecube_scalecube-services
train
2cf11cd5c495700456c265d72b94433adea08239
diff --git a/scripts/wee-events.js b/scripts/wee-events.js index <HASH>..<HASH> 100644 --- a/scripts/wee-events.js +++ b/scripts/wee-events.js @@ -139,15 +139,7 @@ function _bound(target, event, fn, delegateTarg) { match = false; } - if (event && - ( - segs[0] !== '' && - segs[0] != parts[0] - ...
Put broken down conditional on single line
weepower_wee-core
train
fceb3d990ae290e52fff78afbd0388ce7814e14d
diff --git a/src/Platforms/PostgreSQL94Platform.php b/src/Platforms/PostgreSQL94Platform.php index <HASH>..<HASH> 100644 --- a/src/Platforms/PostgreSQL94Platform.php +++ b/src/Platforms/PostgreSQL94Platform.php @@ -912,7 +912,7 @@ SQL */ public function convertFromBoolean($item) { - if (in_array(...
Do not pass NULL to internal functions that do not expect NULL See <URL>
doctrine_dbal
train
f33ed7cc040da37ff704497120861ed4bd6dc860
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Installation Install the package through [composer](http://getcomposer.org): -``` +```bash composer require maxh/php-nominatim ``` @@ -86,8 +86,26 @@ $result = $nominatim->find($lookup); By default...
Migration Guzzle Override header by find method
maxhelias_php-nominatim
train
95b2da0a1a3e52988118d5e1d9264cd3367aa4c4
diff --git a/lib/gcli/commands/lang.js b/lib/gcli/commands/lang.js index <HASH>..<HASH> 100644 --- a/lib/gcli/commands/lang.js +++ b/lib/gcli/commands/lang.js @@ -43,7 +43,7 @@ exports.items = [ type: 'language' } ], - returnType: 'string', + returnType: 'view', exec: function(args, cont...
jsterm-<I>: Make GCLI input match JS input Changes: * Align prompts in the same way (although GCLI doesn't remove prompts like JSTerm does) * Update the lang command to manage the switch from proportional to monospace better
joewalker_gcli
train
e436e82c4b5963494553b8122e3ec87e298bc978
diff --git a/src/App.php b/src/App.php index <HASH>..<HASH> 100644 --- a/src/App.php +++ b/src/App.php @@ -92,13 +92,13 @@ class App ]) ->defineProperty('data', [ 'init' => function() { - return new App\DataRepository($this, ['filenameProtoco...
Removed $app argument from CacheRepository and DataRepository.
bearframework_bearframework
train
afdf7d074867647bef1a65fae6a65e8f0dc641a7
diff --git a/src/Shell/ImportShell.php b/src/Shell/ImportShell.php index <HASH>..<HASH> 100644 --- a/src/Shell/ImportShell.php +++ b/src/Shell/ImportShell.php @@ -48,7 +48,7 @@ class ImportShell extends Shell public function main() { try { - $lock = new FileLock('import.lock'); + ...
Import lock file (task #<I>) Suffix import lock file name with shell's file location md5 hash. This will prevent locks for import shells of different projects running in the same server.
QoboLtd_cakephp-csv-migrations
train
7203a95a8df73d4b55fbfaf3fd5a7090e074efac
diff --git a/lib/virtualbox/shared_folder.rb b/lib/virtualbox/shared_folder.rb index <HASH>..<HASH> 100644 --- a/lib/virtualbox/shared_folder.rb +++ b/lib/virtualbox/shared_folder.rb @@ -25,6 +25,17 @@ module VirtualBox relation end + + # Saves the relationship. This simply calls {#...
Shared folder saves now work when calling VM#save, just like the other relationships
mitchellh_virtualbox
train
6e2ca1a1865660088e41cee2cb36f1df56a60dd1
diff --git a/activesupport/test/concern_test.rb b/activesupport/test/concern_test.rb index <HASH>..<HASH> 100644 --- a/activesupport/test/concern_test.rb +++ b/activesupport/test/concern_test.rb @@ -13,11 +13,11 @@ class ConcernTest < ActiveSupport::TestCase end def included_ran=(value) - @@inclu...
Make tests safer Using a class variable here makes the tests susceptible to phantom greens because (depending on the order of the tests), the class variable could have been set by a prior test. (Test polution) Better to have the variable be tied to the instance.
rails_rails
train
a5423e93780212afe690ab1d68efc76116757c7b
diff --git a/manifest.php b/manifest.php index <HASH>..<HASH> 100755 --- a/manifest.php +++ b/manifest.php @@ -13,7 +13,7 @@ return array( 'label' => 'Result core extension', 'description' => 'Results Server management and exposed interfaces for results data submission', 'license' => 'GPL-2.0', - 'ver...
Bump to version <I>
oat-sa_extension-tao-outcome
train
9b35ee346c31e1f1b4d2aeb9f29f8b3d0a8fffc0
diff --git a/xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-api/src/main/java/org/xwiki/job/AbstractJobStatus.java b/xwiki-commons-core/xwiki-commons-job/xwiki-commons-job-api/src/main/java/org/xwiki/job/AbstractJobStatus.java index <HASH>..<HASH> 100644 --- a/xwiki-commons-core/xwiki-commons-job/xwiki-commons-...
XCOMMONS-<I>: Allow forcing to ignore log in a abstract job status
xwiki_xwiki-commons
train
ec385b26400d8dcec02ab88e58e805b13ce903ef
diff --git a/pkg/identity/identity.go b/pkg/identity/identity.go index <HASH>..<HASH> 100644 --- a/pkg/identity/identity.go +++ b/pkg/identity/identity.go @@ -17,6 +17,7 @@ package identity import ( "fmt" "net" + "sync" "github.com/cilium/cilium/pkg/labels" ) @@ -28,6 +29,9 @@ type Identity struct { ID Nume...
pkg/identity: protect LabelsSHA<I> against concurrent initializations LabelsSHA<I> can be protected with a sync.Once and it makes sure this field is only initialized once. Fixes: a<I>ba<I>cecc ("create identity package")
cilium_cilium
train
2d14e9401b334620b280d4344b254a892bd78edc
diff --git a/src/com/backendless/Media.java b/src/com/backendless/Media.java index <HASH>..<HASH> 100644 --- a/src/com/backendless/Media.java +++ b/src/com/backendless/Media.java @@ -45,8 +45,7 @@ public final class Media { private static final String MEDIA_FILES_LOCATION = "/files/media/"; private static final ...
change wowza server ip to production wowza
Backendless_Android-SDK
train
650605935bc6a57dfc057f22b3bd0cfd4cb05b6f
diff --git a/Model/Cron.php b/Model/Cron.php index <HASH>..<HASH> 100755 --- a/Model/Cron.php +++ b/Model/Cron.php @@ -378,10 +378,20 @@ class Cron private function jobHasAlreadyBeenRun($jobCode) { $currentRunningJob = $this->cronCollection->create() - ->getRunningJobByCode($jobCode); + ...
Merged PR <I>: Merge AQ/ArchitectReview to develop Related work items: #<I>
dotmailer_dotmailer-magento2-extension
train
b8e6455d55dc6f83ca0e785ac9f69a87b9bde93b
diff --git a/lib/less/browser.js b/lib/less/browser.js index <HASH>..<HASH> 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -72,17 +72,6 @@ for (var i = 0; i < links.length; i++) { } } -var styles = document.getElementsByTagName('style'); - -for (var i = 0; i < styles.length; i++) { - if (style...
(new) less.refreshStyles, and reload styles on refresh()
mapbox_carto
train
a00519b8e01934208bf51557783023276086fc38
diff --git a/lib/pdf/reader/resource_methods.rb b/lib/pdf/reader/resource_methods.rb index <HASH>..<HASH> 100644 --- a/lib/pdf/reader/resource_methods.rb +++ b/lib/pdf/reader/resource_methods.rb @@ -9,50 +9,50 @@ module PDF # Returns a Hash of color spaces that are available to this page # def colo...
memoize page resources * this will improve performance significantly 9at the expense of memory) for Pages with a large number of resources * the long term solution is to improve the ObjectCache to cache commonly accessed objects
yob_pdf-reader
train
ccda487f7ae4ae2a6f9bbfbe538b1b1e3214686c
diff --git a/CApacheHTTPServer.php b/CApacheHTTPServer.php index <HASH>..<HASH> 100644 --- a/CApacheHTTPServer.php +++ b/CApacheHTTPServer.php @@ -363,7 +363,7 @@ class CApacheHTTPServer extends CNabuHTTPServerAdapter $owner_name = $nb_cluster_user->getOSNick(); $owner_group = $nb_cluster_user_group->...
Solve issue when runs nabu-apache-manager shell
nabu-3_provider-apache-httpd
train
bce22c66afc7f5be68cddae2adbf40426c4b7669
diff --git a/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonStateManager.java b/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonStateManager.java index <HASH>..<HASH> 100644 --- a/container/src/main/java/org/jboss/forge/furnace/impl/addons/AddonStateManager.java +++ b/container/src/ma...
Don't ever return null. People might be holding on to Addon references after Furnace is stopped. Should just be a no-op.
forge_furnace
train
0fd3971f32063f0afe4ee00ac7ef11bd7457b3c9
diff --git a/externs/browser/w3c_clipboard.js b/externs/browser/w3c_clipboard.js index <HASH>..<HASH> 100644 --- a/externs/browser/w3c_clipboard.js +++ b/externs/browser/w3c_clipboard.js @@ -20,8 +20,8 @@ */ /** - * @interface - * @see https://w3c.github.io/clipboard-apis/#async-clipboard-api + * @constructor + * ...
change the global `Clipboard` to a class DOM builtins like `Clipboard` have values at runtime, because you can do e.g. `navigator.clipboard instanceof Clipboard`. This is better modeled by a class. Relevant section of the spec is <URL>
google_closure-compiler
train
9fd278b59cfa43eceaa306bec1b30f48fcfeb016
diff --git a/packages/react-router-navigation-core/src/StateUtils.js b/packages/react-router-navigation-core/src/StateUtils.js index <HASH>..<HASH> 100644 --- a/packages/react-router-navigation-core/src/StateUtils.js +++ b/packages/react-router-navigation-core/src/StateUtils.js @@ -23,9 +23,14 @@ export default { ...
fix(react-router-navigation-core): remove the use of reverse prototype
winoteam_react-router-navigation
train
0a1e968b478de4e599352f75b7fc353c5f246282
diff --git a/spyder/plugins/workingdirectory/plugin.py b/spyder/plugins/workingdirectory/plugin.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/workingdirectory/plugin.py +++ b/spyder/plugins/workingdirectory/plugin.py @@ -62,7 +62,7 @@ class WorkingDirectory(SpyderPluginV2): # --------------------------------...
Working directory: Simplify its name That should users to better understand what it's purpose is.
spyder-ide_spyder
train
d9da36c362c466bfb324ddb0d1b235f2b5d3d904
diff --git a/src/test/org/openscience/cdk/smiles/BeamToCDKTest.java b/src/test/org/openscience/cdk/smiles/BeamToCDKTest.java index <HASH>..<HASH> 100644 --- a/src/test/org/openscience/cdk/smiles/BeamToCDKTest.java +++ b/src/test/org/openscience/cdk/smiles/BeamToCDKTest.java @@ -419,8 +419,17 @@ public class BeamToCDKTe...
Stereo elements are now in a set - swap if they are out of order.
cdk_cdk
train
60cc0c2e1d1a76ae2981d0572a5164fcfdfba5f1
diff --git a/src/main/java/org/xerial/snappy/SnappyCodec.java b/src/main/java/org/xerial/snappy/SnappyCodec.java index <HASH>..<HASH> 100755 --- a/src/main/java/org/xerial/snappy/SnappyCodec.java +++ b/src/main/java/org/xerial/snappy/SnappyCodec.java @@ -120,6 +120,18 @@ public class SnappyCodec return Arrays....
#<I>: Fix reading stream that happens to have MAGIC_HEADER[0]
xerial_snappy-java
train
0561d7d003845afce77d9ca567142bc8c2bc36d3
diff --git a/django_prices_openexchangerates/management/commands/update_exchange_rates.py b/django_prices_openexchangerates/management/commands/update_exchange_rates.py index <HASH>..<HASH> 100644 --- a/django_prices_openexchangerates/management/commands/update_exchange_rates.py +++ b/django_prices_openexchangerates/ma...
Allow to create exchange rates for all available currencies
mirumee_django-prices-openexchangerates
train
3afe2b6b6accf79679a9edd4876c4627bba2a8b3
diff --git a/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java b/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java index <HASH>..<HASH> 100644 --- a/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java +++ b/lib/...
Handling MediaPlayer object in a proper manner Handling MediaPlayer object in a proper manner. Releasing the object in onStop method instead of onPause..
rhomobile_rhodes
train
ba1a3997db8c38a0acad7c8009ae7b4f7ce5bebe
diff --git a/cfn/autoscaling.go b/cfn/autoscaling.go index <HASH>..<HASH> 100644 --- a/cfn/autoscaling.go +++ b/cfn/autoscaling.go @@ -1,5 +1,7 @@ package cfn +import "time" + // An AutoScalingGroup resource creates an Auto Scaling group. type AutoScalingGroup struct { AvailabilityZones interface{} @@ -9...
Added ScheduledAction resource.
aws_aws-sdk-go
train
5cc06147778862b6618f2f03d46fefa2130bc307
diff --git a/src/adLDAP/Classes/adLDAPContacts.php b/src/adLDAP/Classes/adLDAPContacts.php index <HASH>..<HASH> 100644 --- a/src/adLDAP/Classes/adLDAPContacts.php +++ b/src/adLDAP/Classes/adLDAPContacts.php @@ -58,7 +58,7 @@ class adLDAPContacts extends adLDAPBase $contact->validateRequired(); // Tr...
Switch uses from the method adldap_schema to ldapSchema
Adldap2_Adldap2
train
027ae407f2a0de3099cfc9bd034c0c0ced65f4b7
diff --git a/src/org/dmfs/dav/DavParserContext.java b/src/org/dmfs/dav/DavParserContext.java index <HASH>..<HASH> 100644 --- a/src/org/dmfs/dav/DavParserContext.java +++ b/src/org/dmfs/dav/DavParserContext.java @@ -59,7 +59,7 @@ public class DavParserContext extends ParserContext /** - * Return whether stict par...
Add a method to resolve the href URIs of a response object agains a given URI. Also fixes a few typos.
dmfs_jdav
train
429be64c653762bb72ff053935e53261e82c5467
diff --git a/src/com/diffplug/common/base/Either.java b/src/com/diffplug/common/base/Either.java index <HASH>..<HASH> 100644 --- a/src/com/diffplug/common/base/Either.java +++ b/src/com/diffplug/common/base/Either.java @@ -80,6 +80,24 @@ public interface Either<L, R> { } } + @SuppressWarnings("unchecked") + defa...
Added mapLeft() and mapRight() functions to Either.
diffplug_durian
train
4396bd462552e6415c822ba020d496c00595d594
diff --git a/lib/screenshotHandler.js b/lib/screenshotHandler.js index <HASH>..<HASH> 100644 --- a/lib/screenshotHandler.js +++ b/lib/screenshotHandler.js @@ -25,8 +25,6 @@ var screenshotHandler = function() { return that.resizeImage(image, width); }) - .then(this.addWhiteBack...
White background not needed & optimize images more
gmetais_YellowLabTools
train
a5627f1e9d6d502aaa7792c93e84aefe75db88e5
diff --git a/pyte/paragraph.py b/pyte/paragraph.py index <HASH>..<HASH> 100644 --- a/pyte/paragraph.py +++ b/pyte/paragraph.py @@ -371,6 +371,9 @@ class Paragraph(MixedStyledText, Flowable): width -= indent_first line = Line(self, width, indent) + line_word_pointer = self.word_pointer + ...
fix EndOfContainer handling (broken since <I>) (not yet for line after NewLine)
brechtm_rinohtype
train
1b4e56423d0b352dac835c1ed9dbe080bf301b87
diff --git a/structure/src/main/java/org/biojava/bio/structure/align/model/AfpChainWriter.java b/structure/src/main/java/org/biojava/bio/structure/align/model/AfpChainWriter.java index <HASH>..<HASH> 100644 --- a/structure/src/main/java/org/biojava/bio/structure/align/model/AfpChainWriter.java +++ b/structure/src/main/...
fixing a color by alignment blockl problem git-svn-id: <URL>
biojava_biojava
train
7c0c992e61b960f64a47e8d6d4a3fb919fcbe3ec
diff --git a/src/read/browser.js b/src/read/browser.js index <HASH>..<HASH> 100644 --- a/src/read/browser.js +++ b/src/read/browser.js @@ -1,9 +1,10 @@ /** * @file Browser read implementation + * @since 0.2.6 */ /*#ifndef(UMD)*/ "use strict"; -/*global _GPF_HOST*/ +/*global _GPF_HOST*/ // Host types /*global _G...
Handling file not found (#<I>)
ArnaudBuchholz_gpf-js
train
c8780fc1f64ff4a2477f613388a14770148edd1d
diff --git a/.gitignore b/.gitignore index <HASH>..<HASH> 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,7 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ +cover .coverage .coverage.* .cache diff --git a/hgijson/json/_serialization.py b/hgijson/json/_serialization.py index <H...
Corrected implementation of abstract methods.
wtsi-hgi_python-hgijson
train
d90aed112d05f8129f99aa33520abedd291fb8d4
diff --git a/lib/auth/new_web_user.go b/lib/auth/new_web_user.go index <HASH>..<HASH> 100644 --- a/lib/auth/new_web_user.go +++ b/lib/auth/new_web_user.go @@ -46,8 +46,6 @@ var TokenTTLAfterUse = time.Second * 10 // // Mappings are host logins allowed for the new user to use func (s *AuthServer) CreateSignupToken(us...
Added more logging to teleport auth server ... during user signup
gravitational_teleport
train
53cad324bbc9710ffe1e8bd1777cf478640a8420
diff --git a/code/plugins/system/koowa.php b/code/plugins/system/koowa.php index <HASH>..<HASH> 100644 --- a/code/plugins/system/koowa.php +++ b/code/plugins/system/koowa.php @@ -23,7 +23,8 @@ class plgSystemKoowa extends JPlugin { // Require the library loader if( self::canEnable()) { - require_once dirn...
Added KLoader class
timble_kodekit
train
b731dfcfa8a3a561d279ae0f84e911b7b17449dd
diff --git a/src/joint.dia.graph.js b/src/joint.dia.graph.js index <HASH>..<HASH> 100644 --- a/src/joint.dia.graph.js +++ b/src/joint.dia.graph.js @@ -105,28 +105,21 @@ joint.dia.Graph = Backbone.Model.extend({ return json; }, - fromJSON: function(json) { + fromJSON: function(json, opt) { ...
dia.Graph: allow passing options object to fromJSON, clear and resetCells methods
clientIO_joint
train
181c20707b9905b36c927e51419f91882c7d1bd3
diff --git a/demo/sqlite-parser-demo.js b/demo/sqlite-parser-demo.js index <HASH>..<HASH> 100644 --- a/demo/sqlite-parser-demo.js +++ b/demo/sqlite-parser-demo.js @@ -28429,7 +28429,7 @@ module.exports = (function (_) { }; Tracer.prototype.smartError = function smartError(err) { - var message, location, + ...
don't accidentally repeat first description in the error thrown from the smartError() method of Tracer. refs #2.
codeschool_sqlite-parser
train
d82f3ac5a91631fbdd23ca5f9c6fbffee4cb170f
diff --git a/analytics.js b/analytics.js index <HASH>..<HASH> 100644 --- a/analytics.js +++ b/analytics.js @@ -1,6 +1,9 @@ (function(global, factory) { - if(typeof define === 'function' && define.amd) { + if (typeof define === 'function' && define.amd) { define(factory); + } + else if (typeof module === "obje...
Make compatible with CommonJS module systems.
mozilla_webmaker-analytics
train
e9ee4f6d5f751be76b40d2a2022f0e653cdeb803
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1022,7 +1022,7 @@ def('toMaybe', {}, [$.Any, $Maybe(a)], - R.ifElse(R.isNil, Nothing, Just)); + function(x) { return x == null ? Nothing() : Just(x); }); //# maybe :: b -> (a -> b) -> Maybe a -...
refactor toMaybe to avoid applying Nothing to an argument
sanctuary-js_sanctuary
train
7ae353c5a1e3a06e04d5cf0a45fb31467ba2fa21
diff --git a/interaction.py b/interaction.py index <HASH>..<HASH> 100644 --- a/interaction.py +++ b/interaction.py @@ -315,35 +315,37 @@ def knox(events, delta, tau, permutations=99, debug=False, ld=False): y = events.y t = events.t k = 0 - dt_lt_tau = 0 - full_set = set() - ...
progress on permutations of knox for larger datasets
pysal_giddy
train
66ce7c382ae8d510d3547c2dea51629615245ee7
diff --git a/lib/rules/no-delete-var.js b/lib/rules/no-delete-var.js index <HASH>..<HASH> 100644 --- a/lib/rules/no-delete-var.js +++ b/lib/rules/no-delete-var.js @@ -15,7 +15,7 @@ module.exports = function(context) { "UnaryExpression": function(node) { if (node.operator === "delete" && node.arg...
removed unicode zero width space character from messages (fixes #<I>)
eslint_eslint
train
ed0ecb18b7e8b38b111ebf11a7880961e5cf3aae
diff --git a/.rubocop.yml b/.rubocop.yml index <HASH>..<HASH> 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -15,6 +15,10 @@ Layout/SpaceAroundMethodCallOperator: Enabled: true Style/ExponentialNotation: Enabled: true +Layout/EmptyLinesAroundAttributeAccessor: + Enabled: true +Style/SlicingWithRange: + Enable...
Rubocop <I> released
teamcapybara_capybara
train
82324c57fa3b2ccff687529a91463587d57729e4
diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java b/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java +++ b/core/src/main/java/...
Disabled triggers during database import
orientechnologies_orientdb
train
58bd394aea2b8b80f425be7388f9c9bdb51ee7af
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java b/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java index <HASH>..<HASH> 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection...
[FLINK-<I>][HA]Replace the scattered objects with encapsulated LeaderInformation in DefaultLeaderElectionService This closes #<I>.
apache_flink
train
c2a92050de6bfb15ad9de5cf37b0fa77fb0792eb
diff --git a/tasks/lib/util.js b/tasks/lib/util.js index <HASH>..<HASH> 100644 --- a/tasks/lib/util.js +++ b/tasks/lib/util.js @@ -9,7 +9,55 @@ 'use strict'; exports.init = function( grunt ) { - var exports = {}; + var crypto = require( 'crypto' ), + exports = {}; + + /** + * Normalize headers in POT objects crea...
Add updateTimestamp option. makepot.php updates the "POT-Creation-Date" header whether or not there have been any other changes to the POT file. Setting the updateTimestamp option to false prevents the header from being updated unless other changes are detected. See #<I>
cedaro_grunt-wp-i18n
train
1bece9174c7a94e212be1b7d105a7512e8899d70
diff --git a/lib/blocklib.php b/lib/blocklib.php index <HASH>..<HASH> 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -171,13 +171,15 @@ function blocks_name_allowed_in_format($name, $pageformat) { $formats = block_method_result($name, 'applicable_formats'); $accept = NULL; $depth = -1; - f...
Fixes bug, "Warning: Invalid argument supplied for foreach() in /var/www/html/ndf<I>/head/lib/blocklib.php on line <I>"
moodle_moodle
train
4f60de96e7fa173995d7a34dd2ef00b2dac467d3
diff --git a/peyotl/phylesystem/git_actions.py b/peyotl/phylesystem/git_actions.py index <HASH>..<HASH> 100644 --- a/peyotl/phylesystem/git_actions.py +++ b/peyotl/phylesystem/git_actions.py @@ -125,18 +125,21 @@ class GitAction(object): return dirs[-1] def return_study(self, study_id, branch='master'):...
returning map of branch to WIP to SHA. Untested
OpenTreeOfLife_peyotl
train
5b205bb37ac1faa04a76efcccdd1db1136859073
diff --git a/jenetics/src/main/java/io/jenetics/Phenotype.java b/jenetics/src/main/java/io/jenetics/Phenotype.java index <HASH>..<HASH> 100644 --- a/jenetics/src/main/java/io/jenetics/Phenotype.java +++ b/jenetics/src/main/java/io/jenetics/Phenotype.java @@ -91,6 +91,24 @@ public final class Phenotype< } /** + *...
#<I>: Implement helper method for evaluating phenotype.
jenetics_jenetics
train
a6de9c000de58f19b321c6534ac2938c610a5b10
diff --git a/hererocks.py b/hererocks.py index <HASH>..<HASH> 100755 --- a/hererocks.py +++ b/hererocks.py @@ -135,7 +135,7 @@ def query_registry(key, value): except WindowsError: pass else: - res = handler.QueryValueEx(handle, value)[0] + res = winreg.QueryValueEx(h...
Fix query_registry Why didn't pyflakes detect this?
mpeterv_hererocks
train
bd9f8f2062a19bda435ab2941d8592e0d9707679
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index <HASH>..<HASH> 100644 --- a/lib/sup/buffer.rb +++ b/lib/sup/buffer.rb @@ -155,7 +155,8 @@ class BufferManager def buffers; @name_map.to_a; end def focus_on buf - raise ArgumentError, "buffer not on stack: #{buf.inspect}" unless @buffers.member? buf + ...
- Make buffer-list-mode reload upon focus (
sup-heliotrope_sup
train
ee4794c5f11185efe8fe6d76024b5203eaf6ffd4
diff --git a/django_cron/__init__.py b/django_cron/__init__.py index <HASH>..<HASH> 100644 --- a/django_cron/__init__.py +++ b/django_cron/__init__.py @@ -26,10 +26,13 @@ class CronJobManager(object): """ @classmethod - def __should_run_now(self, cron_job): + def __should_run_now(self, cron_job, f...
Added --force option to force run all crons.
Tivix_django-cron
train
ddc40fb0a8c078d51b159837ed845c4dddcc6a34
diff --git a/client/lib/domains/assembler.js b/client/lib/domains/assembler.js index <HASH>..<HASH> 100644 --- a/client/lib/domains/assembler.js +++ b/client/lib/domains/assembler.js @@ -23,6 +23,7 @@ function createDomainObjects( dataTransferObject ) { return { autoRenewalMoment: domain.auto_renewal_date && i18...
Domains: Don't allow users to set transfer as primary domain - Use data from endpoint to disallow setting as primary - Transfers aren't always domains set up with us and setting them as primary would break the site.
Automattic_wp-calypso
train
e62f0a8d1442c9d28433460da606dfa1f8b8e368
diff --git a/pkg/bootstrap/docker/dockerhelper/filetransfer.go b/pkg/bootstrap/docker/dockerhelper/filetransfer.go index <HASH>..<HASH> 100644 --- a/pkg/bootstrap/docker/dockerhelper/filetransfer.go +++ b/pkg/bootstrap/docker/dockerhelper/filetransfer.go @@ -73,18 +73,19 @@ func newContainerDownloader(client *docker.Cl...
Wait for remote API response before return in UploadFileToContainer
openshift_origin
train
672878b3d8c60e1888e97288a429ee96969c269e
diff --git a/src/frontend/org/voltdb/jdbc/Driver.java b/src/frontend/org/voltdb/jdbc/Driver.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/jdbc/Driver.java +++ b/src/frontend/org/voltdb/jdbc/Driver.java @@ -73,21 +73,26 @@ public class Driver implements java.sql.Driver { private static final int MA...
ENG-<I>: Repair IDE-imposed indentation changes.
VoltDB_voltdb
train
aa8b8a9e633d83dde028716f58315c50df17c82b
diff --git a/Document/Translation.php b/Document/Translation.php index <HASH>..<HASH> 100644 --- a/Document/Translation.php +++ b/Document/Translation.php @@ -122,6 +122,10 @@ class Translation implements \JsonSerializable */ public function getId() { + if (!$this->id) { + $this->setId...
reintroduced translation id creation
ongr-io_TranslationsBundle
train
efb9aa49b432a02211d90357a428496c0d49b409
diff --git a/lib/authlogic/acts_as_authentic/perishable_token.rb b/lib/authlogic/acts_as_authentic/perishable_token.rb index <HASH>..<HASH> 100644 --- a/lib/authlogic/acts_as_authentic/perishable_token.rb +++ b/lib/authlogic/acts_as_authentic/perishable_token.rb @@ -65,7 +65,7 @@ module Authlogic age = age...
Security-hardening fix: only pass strings to perishable_token lookup. (reported by @tomekr)
binarylogic_authlogic
train
9721fe31e362d5be5da9c7a0047c8e5c888aee88
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -540,6 +540,8 @@ var compile = function(schema, cache, root, reporter, opts) { var validate = genfun ('function validate(data) {') + // Since undefined is not a valid JSON value, we coerce to null and other chec...
Fix #<I>, by coercing undefined input to null
mafintosh_is-my-json-valid
train
72c1f2ea9f765e8184784c785e6a1e855c9575af
diff --git a/lib/query_builder/cql/modifiers/column.rb b/lib/query_builder/cql/modifiers/column.rb index <HASH>..<HASH> 100644 --- a/lib/query_builder/cql/modifiers/column.rb +++ b/lib/query_builder/cql/modifiers/column.rb @@ -17,7 +17,7 @@ module QueryBuilder::CQL # # @return [QueryBuilder::Core::Stateme...
[CHANGE] Rename `column` to `add` in CREATE TABLE
nepalez_query_builder
train
7d07c7c62d35af9679cd7a9981dfb77c22559723
diff --git a/lib/isodoc/xref/xref_gen.rb b/lib/isodoc/xref/xref_gen.rb index <HASH>..<HASH> 100644 --- a/lib/isodoc/xref/xref_gen.rb +++ b/lib/isodoc/xref/xref_gen.rb @@ -43,7 +43,7 @@ module IsoDoc end def termnote_anchor_names(docxml) - docxml.xpath(ns("//term[termnote]")).each do |t| + ...
relax numbering of termnote, termexpress to be within any container, not just term: <URL>
metanorma_isodoc
train
a575ddf7393042a6a5d095879a3af744b436bd75
diff --git a/test/unit/controllers/Blueprint.test.js b/test/unit/controllers/Blueprint.test.js index <HASH>..<HASH> 100644 --- a/test/unit/controllers/Blueprint.test.js +++ b/test/unit/controllers/Blueprint.test.js @@ -44,7 +44,7 @@ describe('Sequelize Blueprint User', function(){ it('Create an image for the user'...
Added unit test to limit query and image owner
cesardeazevedo_sails-hook-sequelize-blueprints
train
0c11a79703104233a2dee6b4e53926c2dd8cd198
diff --git a/lib/ohai/plugins/ec2.rb b/lib/ohai/plugins/ec2.rb index <HASH>..<HASH> 100644 --- a/lib/ohai/plugins/ec2.rb +++ b/lib/ohai/plugins/ec2.rb @@ -122,11 +122,17 @@ Ohai.plugin(:EC2) do fetch_metadata.each do |k, v| # fetch_metadata returns IAM security credentials, including the IAM user's ...
Include IAM role and info in ec2 data (issue #<I>)
chef_ohai
train
c911eef0193032d4ffacdc2747b6cc251a231de2
diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index <HASH>..<HASH> 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -215,7 +215,7 @@ class MinkContext extends RawMinkContext implements T...
for consistency, fix these step arguments too
Behat_MinkExtension
train
416fc178516efe56fa902b938f60faa95c82f21d
diff --git a/src/Illuminate/Events/Dispatcher.php b/src/Illuminate/Events/Dispatcher.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Events/Dispatcher.php +++ b/src/Illuminate/Events/Dispatcher.php @@ -549,9 +549,11 @@ class Dispatcher implements DispatcherContract { [$listener, $job] = $this->create...
[8.x] Allow dynamically customizing connection for queued event listener (#<I>) * Allow dynamically customizing connection for queued event listener * Formatting
laravel_framework
train
4a31f4586090e3978778d9edac9483abeefa845a
diff --git a/spectrum.js b/spectrum.js index <HASH>..<HASH> 100644 --- a/spectrum.js +++ b/spectrum.js @@ -530,7 +530,7 @@ var newColor = tinycolor(color); var newHsv = newColor.toHsv(); - currentHue = newHsv.h; + currentHue = (newHsv.h % 360) / 360; curren...
Normalize hue range to [0,1] when setting via `set` function. Fixes issue #<I>
bgrins_spectrum
train
541c451d4665f9db6c8b60d35876f8b5d93bc245
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js index <HASH>..<HASH> 100644 --- a/template/cordova/lib/build.js +++ b/template/cordova/lib/build.js @@ -288,7 +288,7 @@ function buildTargets(allMsBuildVersions, config) { if (!msbuild) { return Q.reject(new CordovaError('No valid ...
CB-<I>: (windows) Fix typo in verbose output CB-<I>: (windows) Fix typo in verbose output This closes #<I>
apache_cordova-windows
train
dad1c60044b9edc1074ade16da2487a7cc5d128f
diff --git a/aws/resource_aws_dx_public_virtual_interface_test.go b/aws/resource_aws_dx_public_virtual_interface_test.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_dx_public_virtual_interface_test.go +++ b/aws/resource_aws_dx_public_virtual_interface_test.go @@ -105,7 +105,7 @@ resource "aws_dx_public_virtual_i...
Fix indentation for configuration generation.
terraform-providers_terraform-provider-aws
train