hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
6fa95dc7047d37fff82dd151e5c409c8540640fe
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -19,6 +19,7 @@ class DashboardController < ApplicationController def index + notice "lalalal...
<I> - Adding the Brisbane slash - thanks Lana
Katello_katello
train
e82d3c438df3b8304983c6007fac316a69fdb49e
diff --git a/src/Psalm/Internal/Stubs/ext-ds.php b/src/Psalm/Internal/Stubs/ext-ds.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Internal/Stubs/ext-ds.php +++ b/src/Psalm/Internal/Stubs/ext-ds.php @@ -23,7 +23,7 @@ use UnderflowException; * @package Ds * @template TValue * - * @psalm-extends Traversable<mixed, ...
Fix wrong annotations in ext-ds method stubs (#<I>) * Fix wrong annotation for class implementing an interface * Fix unrecognised annotations
vimeo_psalm
train
bd67e28f6549b8b7eafc25278edb0bd309ca3102
diff --git a/webpack.mix.js b/webpack.mix.js index <HASH>..<HASH> 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -15,8 +15,4 @@ mix.options({ processCssUrls: false }); mix.js('src/assets/js/scripts.js', 'src/assets/js/scripts.min.js'); -mix.less('src/assets/less/styles.less', '../LaraManager/src/assets/css/st...
removed cache busting since mix() is in package
philmareu_laramanager
train
61bdc1f845a1c91ddc1cfadb720052e815b493cc
diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -681,7 +681,7 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSer...
Use the getAttributes method on insert (#<I>) Update the performInsert method to use getAttributes instead of accessing the property directly.
laravel_framework
train
a3b0a3aed0540a29a336c0a7408a351946778703
diff --git a/cobe/brain.py b/cobe/brain.py index <HASH>..<HASH> 100644 --- a/cobe/brain.py +++ b/cobe/brain.py @@ -47,6 +47,15 @@ class Brain: else: self.tokenizer = tokenizers.CobeTokenizer() + self.stemmer = None + stemmer_name = db.get_info_text("stemmer") + + if stemmer_...
Conflate the input with other tokens that have the same stems
pteichman_cobe
train
06992ef37073e41677b22c21b457cda3b0781d42
diff --git a/lib/stripe.rb b/lib/stripe.rb index <HASH>..<HASH> 100644 --- a/lib/stripe.rb +++ b/lib/stripe.rb @@ -70,6 +70,8 @@ require 'stripe/transfer' module Stripe DEFAULT_CA_BUNDLE_PATH = File.dirname(__FILE__) + '/data/ca-certificates.crt' + @app_info = nil + @api_base = 'https://api.stripe.com' @co...
Add app info to User-Agent as well
stripe_stripe-ruby
train
f3d03e5d4575408132748514c1249f67109fd9f9
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index <HASH>..<HASH> 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -73,6 +73,16 @@ launchd "io.chef.testing.fake" do a...
Add homebrew to macos kitchen tests.
chef_chef
train
d1a19df40f3ee8ebbccb17c805d5722d2d9826ec
diff --git a/src/Command/Db/DbSizeCommand.php b/src/Command/Db/DbSizeCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/Db/DbSizeCommand.php +++ b/src/Command/Db/DbSizeCommand.php @@ -361,7 +361,11 @@ class DbSizeCommand extends CommandBase $innoDbSize = 0; if ($allocatedSizeSupported) { ...
bugfixing some PE customers (#<I>) * some PE clusters do not have the PROCESS privilege(s) and thus, have no access to the sys_tablespaces, revert to legacy way * php<I> compatibility fix
platformsh_platformsh-cli
train
700e782f5a5d31d986d0c264c3685a44063a74a5
diff --git a/index.js b/index.js index <HASH>..<HASH> 100755 --- a/index.js +++ b/index.js @@ -611,7 +611,7 @@ if (require.main === module) { nativeWindow.blitFrameBuffer(vrPresentState.fbo, 0, renderWidth * 2, renderHeight, window.innerWidth, window.innerHeight, true, false, false); - n...
Bugfix fbo binding when swapping buffers in VR mode
exokitxr_exokit
train
d9808f7ecadfb746a4b748cc5128de2e62f5be37
diff --git a/apollo-runtime/src/main/java/com/apollographql/apollo/internal/subscription/NoOpSubscriptionManager.kt b/apollo-runtime/src/main/java/com/apollographql/apollo/internal/subscription/NoOpSubscriptionManager.kt index <HASH>..<HASH> 100644 --- a/apollo-runtime/src/main/java/com/apollographql/apollo/internal/su...
expose SubscriptionManager.reconnect() (#<I>)
apollographql_apollo-android
train
59143a955942500e03ef12bfaa6f224e1af09de4
diff --git a/bulbs/special_coverage/views.py b/bulbs/special_coverage/views.py index <HASH>..<HASH> 100644 --- a/bulbs/special_coverage/views.py +++ b/bulbs/special_coverage/views.py @@ -4,7 +4,7 @@ from django.views.decorators.cache import cache_control from bulbs.special_coverage.models import SpecialCoverage fro...
make function more explicit and raise <I> error when videohub video not found
theonion_django-bulbs
train
9ea038e4d541e4265fb833237051a54db79eff1f
diff --git a/src/Exception/Handler.php b/src/Exception/Handler.php index <HASH>..<HASH> 100644 --- a/src/Exception/Handler.php +++ b/src/Exception/Handler.php @@ -4,7 +4,9 @@ namespace Dingo\Api\Exception; use Exception; use ReflectionFunction; +use RecursiveArrayIterator; use Illuminate\Http\Response; +use Recurs...
Improve the exception handling by allowing a default format to be passed in.
dingo_api
train
b2187f386796217fa11ed6e2605bc7d1f1b283ab
diff --git a/classes/Gems/User/User.php b/classes/Gems/User/User.php index <HASH>..<HASH> 100644 --- a/classes/Gems/User/User.php +++ b/classes/Gems/User/User.php @@ -1768,6 +1768,8 @@ class Gems_User_User extends \MUtil_Translate_TranslateableAbstract $this->_setVar($key, $value); } + $t...
Fixed #<I> User role will be transformed to text during a user refresh
GemsTracker_gemstracker-library
train
3c0952ed915df5d8c0b17f9a2332802b9bcc7565
diff --git a/src/angular-materialize.js b/src/angular-materialize.js index <HASH>..<HASH> 100644 --- a/src/angular-materialize.js +++ b/src/angular-materialize.js @@ -648,7 +648,7 @@ return { restrict: 'EA', scope: { - page: '@', + pag...
Fixed the bug of not updating page object. I believe the directive should update the current page object which is passed via page attribute. I replaced ‘@‘ by ‘=‘.
krescruz_angular-materialize
train
c1a5323677b9b501a69dddb290f6900a46ed7564
diff --git a/admin_trees_config.php b/admin_trees_config.php index <HASH>..<HASH> 100644 --- a/admin_trees_config.php +++ b/admin_trees_config.php @@ -399,7 +399,7 @@ echo WT_JS_START;?> <li><a href="#access-options"><span><?php echo WT_I18N::translate('Access'); ?></span></a></li> <li><a href="#layout-opti...
Merge duplicate translations that differ only in upper/lower case
fisharebest_webtrees
train
efb2b748c10d45b4bddb72814890de578d9b68bb
diff --git a/R/tests/build_dataset_from_parse_log.py b/R/tests/build_dataset_from_parse_log.py index <HASH>..<HASH> 100755 --- a/R/tests/build_dataset_from_parse_log.py +++ b/R/tests/build_dataset_from_parse_log.py @@ -10,7 +10,7 @@ from random import uniform class RealColumn: """ - One real number column in...
Fix na_fraction calculation.
h2oai_h2o-2
train
5c26a91ec1665b54f9e97eece39e9b9bb8a07161
diff --git a/src/HttpClient/Decorator/SymfonyEventDispatcherDecorator.php b/src/HttpClient/Decorator/SymfonyEventDispatcherDecorator.php index <HASH>..<HASH> 100644 --- a/src/HttpClient/Decorator/SymfonyEventDispatcherDecorator.php +++ b/src/HttpClient/Decorator/SymfonyEventDispatcherDecorator.php @@ -77,11 +77,10 @@ c...
SymfonyEventDispatcherDecorator refactored
mikemirten_JsonApi
train
6a8ffe91a6ae392e537b5c96f23967fe07721573
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/board/board.py +++ b/ELiDE/ELiDE/board/board.py @@ -690,7 +690,8 @@ class Board(RelativeLayout): patch['_offys'] = zeroes if '_stackhs' not in thing: ...
Keep add_new_pawns from submitting a nodes_patch needlessly
LogicalDash_LiSE
train
9dfbbbc398b9bd990b3240d8f5967b7ae818472b
diff --git a/src/Segment/SegmentInterface.php b/src/Segment/SegmentInterface.php index <HASH>..<HASH> 100644 --- a/src/Segment/SegmentInterface.php +++ b/src/Segment/SegmentInterface.php @@ -27,4 +27,20 @@ interface SegmentInterface * @return ResponseInterface */ public function __invoke(array $config ...
adding addAfter and addBefore to SegmentInterface
flipbox_relay
train
d06ac0def91c574a64b3598cde77c59ecaa310e7
diff --git a/spec/activerecord-multi-tenant/model_extensions_spec.rb b/spec/activerecord-multi-tenant/model_extensions_spec.rb index <HASH>..<HASH> 100644 --- a/spec/activerecord-multi-tenant/model_extensions_spec.rb +++ b/spec/activerecord-multi-tenant/model_extensions_spec.rb @@ -159,7 +159,7 @@ describe MultiTenant ...
Switch to database cleaner truncation strategy to avoid multi-shard txs.
citusdata_activerecord-multi-tenant
train
2e11f7c6879c772384200e4f15ab597519f884cf
diff --git a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRule.java b/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRule.java index <HASH>..<HASH> 100644 --- a/languagetool-language-modules/de/src/main/java/org/languagetool/rules/de/CaseRule.java +++ b/lang...
[de] add 'im Aus' as exception to DE_CASE
languagetool-org_languagetool
train
9a1e8a51f63248877a4de19f00a6ce178848352e
diff --git a/docs/src/GettingStartedPage.js b/docs/src/GettingStartedPage.js index <HASH>..<HASH> 100644 --- a/docs/src/GettingStartedPage.js +++ b/docs/src/GettingStartedPage.js @@ -23,7 +23,7 @@ var Page = React.createClass({ <div className="col-md-9" role="main"> <div className="bs-do...
fix grammar in Setup docs
react-bootstrap_react-bootstrap
train
d6ddbb1bbbfb1f4b9eab55e709dc995a8d9ec976
diff --git a/src/Charcoal/Cms/Support/Traits/EventManagerAwareTrait.php b/src/Charcoal/Cms/Support/Traits/EventManagerAwareTrait.php index <HASH>..<HASH> 100644 --- a/src/Charcoal/Cms/Support/Traits/EventManagerAwareTrait.php +++ b/src/Charcoal/Cms/Support/Traits/EventManagerAwareTrait.php @@ -265,7 +265,7 @@ trait Eve...
Change attachments group from content to content-blocks in managers formatters
locomotivemtl_charcoal-cms
train
7c82cd75c4bfd45860644e82e9371b260019d75e
diff --git a/lib/actions/ui.js b/lib/actions/ui.js index <HASH>..<HASH> 100644 --- a/lib/actions/ui.js +++ b/lib/actions/ui.js @@ -242,9 +242,9 @@ export const MobileScreens = { export const ItineraryView = { FULL: 'full', HIDDEN: 'hidden', - SPLIT: 'split' + LIST: 'list' } -const DEFAULT_ITINERARY_VIEW = Iti...
refactor(actions/ui): Rename ItineraryView.SPLIT>LIST
opentripplanner_otp-react-redux
train
69f32b5a212e63eccd2116713b37e834c0750e32
diff --git a/app/classes/lib.php b/app/classes/lib.php index <HASH>..<HASH> 100644 --- a/app/classes/lib.php +++ b/app/classes/lib.php @@ -408,7 +408,7 @@ function stripTrailingSlash($path) { * * @return float */ -function getMicrotime(){ +function getMicrotime() { list($usec, $sec) = explode(" ",microtime()...
Tweaked behaviour of session cookie: more flexible.
bolt_bolt
train
91640322bad6945b7d879628dc2a6959ba2b332e
diff --git a/examples/src/main/java/com/basistech/rosette/examples/AddressSimilarityExample.java b/examples/src/main/java/com/basistech/rosette/examples/AddressSimilarityExample.java index <HASH>..<HASH> 100644 --- a/examples/src/main/java/com/basistech/rosette/examples/AddressSimilarityExample.java +++ b/examples/src/...
RLPNC-<I> copyright year fixes, don't bother making a public all-arg constructor for address
rosette-api_java
train
5781ef40ec2f8a69dfcd91e8c031455362f7c5bf
diff --git a/lib/resourceful/resource.js b/lib/resourceful/resource.js index <HASH>..<HASH> 100644 --- a/lib/resourceful/resource.js +++ b/lib/resourceful/resource.js @@ -490,11 +490,14 @@ function relationship(factory, type, r, options) { throw new(TypeError)("argument must be a string or constructor"); } + ...
[fix] [minor] Throw more specific error message. Check for resource before any potentially crashing calls.
flatiron_resourceful
train
3f57c42ff0dfa3cafe8c77e1c105ce6c4b6f85e3
diff --git a/jquery.squirrel.js b/jquery.squirrel.js index <HASH>..<HASH> 100644 --- a/jquery.squirrel.js +++ b/jquery.squirrel.js @@ -115,7 +115,7 @@ // if value is not enumerable then make it enumerable. Then for each value in the array, find the option ...
Encapsulated with double quotes As mentioned here edf<I>
jpederson_Squirrel.js
train
b0ce1c9fc18b8a1388b4885451f4992759b4af98
diff --git a/host/pydaq/RL/StdRegister.py b/host/pydaq/RL/StdRegister.py index <HASH>..<HASH> 100644 --- a/host/pydaq/RL/StdRegister.py +++ b/host/pydaq/RL/StdRegister.py @@ -51,7 +51,7 @@ class StdRegister(RegisterLayer): if 'bit_order' in self._get_filed_config(key): new_val = BitLogic(l...
BUG: Regression, Fix bit order.
SiLab-Bonn_basil
train
8042b6f7f79db194e3677bc26c70f434a44d32ac
diff --git a/close_test.go b/close_test.go index <HASH>..<HASH> 100644 --- a/close_test.go +++ b/close_test.go @@ -138,6 +138,7 @@ func TestRaceExchangesWithClose(t *testing.T) { <-gotCall // Start a bunch of clients to trigger races between connecting and close. + var closed atomic.Bool for i := 0; i < 100...
Reduce "connection refused" in TestRaceExchangesWithClose (#<I>) Reducing the number of RST packets triggered by this test should help make other tests less flaky, see <URL>
uber_tchannel-go
train
28a0b8fc8213348ddc19acc384e25fb12bc740ff
diff --git a/lib/sass/scss/rx.rb b/lib/sass/scss/rx.rb index <HASH>..<HASH> 100644 --- a/lib/sass/scss/rx.rb +++ b/lib/sass/scss/rx.rb @@ -11,11 +11,11 @@ module Sass UNICODE = /\\#{H}{1,6}[ \t\r\n\f]?/ ESCAPE = /#{UNICODE}|\\[ -~\200-\377]/ NMSTART = /[a-z]|#{NONASCII}|#{ESCAPE}/i - NMCHA...
[Sass] Allow underscores in CSS identifiers.
sass_ruby-sass
train
375ccc92225afcf18c76dcac7e1ba1d19e1731b6
diff --git a/src/main/java/edu/jhu/gm/FgExamples.java b/src/main/java/edu/jhu/gm/FgExamples.java index <HASH>..<HASH> 100644 --- a/src/main/java/edu/jhu/gm/FgExamples.java +++ b/src/main/java/edu/jhu/gm/FgExamples.java @@ -31,7 +31,7 @@ public class FgExamples { try { File cachePath = File.createT...
Not deleting cache files (so that filesize can be better understood)
mgormley_pacaya
train
a70fcef87452d5dd1e1fe032944f0f684bea611b
diff --git a/netmiko/fortinet/fortinet_ssh.py b/netmiko/fortinet/fortinet_ssh.py index <HASH>..<HASH> 100644 --- a/netmiko/fortinet/fortinet_ssh.py +++ b/netmiko/fortinet/fortinet_ssh.py @@ -18,9 +18,50 @@ class FortinetSSH(SSHConnection): Change base prompt ''' + self.disable_paging() ...
Added paging global disable method
ktbyers_netmiko
train
64edff13cb2924866cad7e369d42efa115ef9f91
diff --git a/coconut/compiler.py b/coconut/compiler.py index <HASH>..<HASH> 100644 --- a/coconut/compiler.py +++ b/coconut/compiler.py @@ -361,18 +361,21 @@ def gethash(compiled): def minify(compiled): """Performs basic minifications (fails with strings or non-tabideal indentation).""" - out = [] - for li...
Slightly improves header minification
evhub_coconut
train
b817019a4e72ddf6fdec94e10b97520e6fa8efcf
diff --git a/tests/test_basics.js b/tests/test_basics.js index <HASH>..<HASH> 100644 --- a/tests/test_basics.js +++ b/tests/test_basics.js @@ -2,12 +2,14 @@ const { createGroup, assert } = require('painless') const { cleanEnv, EnvError, bool, str, num, email, url, json } = require('..') const test = createGroup() +...
DRY tests with assertPassthrough() and add a few more test cases.
af_envalid
train
b177dbb3ca162b7f42260059468b2ec36d30fbd4
diff --git a/embedded-cassandra/embedded-cassandra-service/src/main/java/org/hawkular/commons/cassandra/ConfigEditor.java b/embedded-cassandra/embedded-cassandra-service/src/main/java/org/hawkular/commons/cassandra/ConfigEditor.java index <HASH>..<HASH> 100644 --- a/embedded-cassandra/embedded-cassandra-service/src/mai...
Fix imports order to match the new Checstyle rule
hawkular_hawkular-commons
train
292705328cf78bf48da4ef325ff66c60f3f42d79
diff --git a/examples/evolCell/batch.py b/examples/evolCell/batch.py index <HASH>..<HASH> 100644 --- a/examples/evolCell/batch.py +++ b/examples/evolCell/batch.py @@ -111,9 +111,9 @@ def evolCell(): 'mutation_rate': 0.4, 'crossover': 0.5, 'maximize': False, # maximize fitness function? - ...
ITS4 working - now switching NGF2
Neurosim-lab_netpyne
train
94fef9ff4c541dde30da6d613ed5e60e24dbebf3
diff --git a/src/ORM/Association.php b/src/ORM/Association.php index <HASH>..<HASH> 100644 --- a/src/ORM/Association.php +++ b/src/ORM/Association.php @@ -515,7 +515,8 @@ abstract class Association { * @see \Cake\ORM\Table::find() * @return \Cake\ORM\Query */ - public function find($type = 'all', array $options =...
Using th edefault finder method in Association
cakephp_cakephp
train
b7a6d76e67fade9328016751d54125f7129a248c
diff --git a/drivers/ruby/lib/net.rb b/drivers/ruby/lib/net.rb index <HASH>..<HASH> 100644 --- a/drivers/ruby/lib/net.rb +++ b/drivers/ruby/lib/net.rb @@ -1,11 +1,12 @@ +require 'base64' +require 'openssl' require 'monitor' +require 'pp' # This is needed for pretty_inspect require 'set' +require 'securerandom' requi...
fixing import on ruby driver and cursor test over-the-virtual-shoulder by @mlucy
rethinkdb_rethinkdb
train
6aade84d78013bfd69849c4ce7fbf04b40fb208e
diff --git a/bin/pycbc_live b/bin/pycbc_live index <HASH>..<HASH> 100755 --- a/bin/pycbc_live +++ b/bin/pycbc_live @@ -562,16 +562,17 @@ pycbc.init_logging(args.verbose, format=log_format) ctx = scheme.from_cli(args) fft.from_cli(args) -sr = args.sample_rate -flow = args.low_frequency_cutoff - # Approximant guess ...
PyCBC Live: misc improvements (#<I>) * Make sure low-frequency cutoff is consistent with all templates * Improve GraceDB plots * Show GraceDB ping response * Shorten a very common log messange * Fix error
gwastro_pycbc
train
9a6387c2495fe9baec1e0a82b74c30b92493d662
diff --git a/lib/node_modules/@stdlib/utils/group-own/test/test.js b/lib/node_modules/@stdlib/utils/group-own/test/test.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/utils/group-own/test/test.js +++ b/lib/node_modules/@stdlib/utils/group-own/test/test.js @@ -506,32 +506,6 @@ tape( 'the function groups v...
Remove typed array test This commit removes a test failing on Node <I> due to this version of Node providing its own non-standard typed array implementation. In <I>, various properties were exposed as enumerable when, according to the standard, they should not be enumerable.
stdlib-js_stdlib
train
6622be9f464507e5a93dd3544465679f5881bd62
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -179,7 +179,7 @@ class _Overwrites: return self.type == 1 -class GuildChannel(Protocol): +class GuildChannel(Snowflake, Protocol): """An ABC that details the common operations on a Dis...
Make GuildChannel inherit Snowflake
Rapptz_discord.py
train
496c41184e6848e32d38944057071f2e4530feee
diff --git a/asammdf/gui/widgets/main.py b/asammdf/gui/widgets/main.py index <HASH>..<HASH> 100644 --- a/asammdf/gui/widgets/main.py +++ b/asammdf/gui/widgets/main.py @@ -151,7 +151,7 @@ class MainWindow(WithMDIArea, Ui_PyMDFMainWindow, QtWidgets.QMainWindow): subplot_action = QtGui.QAction("Sub-windows", menu...
fixes #<I>: make sub-plots default to True and also link the X-axis by default
danielhrisca_asammdf
train
03f8349c145bcf6edd3adc566c3fef7bda3d561c
diff --git a/neo4j/src/test/java/com/buschmais/cdo/neo4j/test/embedded/relation/typed/RelationSubclassingTest.java b/neo4j/src/test/java/com/buschmais/cdo/neo4j/test/embedded/relation/typed/RelationSubclassingTest.java index <HASH>..<HASH> 100644 --- a/neo4j/src/test/java/com/buschmais/cdo/neo4j/test/embedded/relation/...
#<I> added test assertions
buschmais_extended-objects
train
9b1edf00bd746b37f6db7c7b8c6e8025e10b0126
diff --git a/core/src/main/java/com/google/bitcoin/core/Block.java b/core/src/main/java/com/google/bitcoin/core/Block.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/bitcoin/core/Block.java +++ b/core/src/main/java/com/google/bitcoin/core/Block.java @@ -853,9 +853,13 @@ public class Block extends M...
Clarify the getDifficultyTarget() javadoc.
bitcoinj_bitcoinj
train
91ceeccb13342048a9904017bec0bc4301b041c4
diff --git a/src/Client.php b/src/Client.php index <HASH>..<HASH> 100644 --- a/src/Client.php +++ b/src/Client.php @@ -77,6 +77,13 @@ class Client private $business_path = '/v2/business/'; /** + * Phone search path + * + * @var string + */ + private $phone_search_path = '/v2/phone_search/...
added request to Phone Search API /v2/phone_search
stevenmaguire_yelp-php
train
c4e86895998e8a17dd7d510792b8489e2e53b1d1
diff --git a/lib/rev/listener.rb b/lib/rev/listener.rb index <HASH>..<HASH> 100644 --- a/lib/rev/listener.rb +++ b/lib/rev/listener.rb @@ -15,7 +15,12 @@ module Rev @listen_socket = listen_socket super(@listen_socket) end - + + # Returns an integer representing the underlying numeric file desc...
Add Rev::Listener#fileno to access the numeric descriptor It is useful to access the underlying file descriptor in case a server needs to exec() a new process and share the file descriptor information with its children (via the command-line or environment variable). The child could then call *Server.for_fd on the fi...
tarcieri_cool.io
train
56be37ff38f293cb21199a6e37a7893d2f344c68
diff --git a/ldapcherry/__init__.py b/ldapcherry/__init__.py index <HASH>..<HASH> 100644 --- a/ldapcherry/__init__.py +++ b/ldapcherry/__init__.py @@ -76,8 +76,24 @@ class LdapCherry(object): else: raise MissingParameter(section, key) + def _check_backends(self): + backends = self.back...
implementing backends parsing of main config file
kakwa_ldapcherry
train
fceb93a69d7ada379c1489cafef95d67337a1ba8
diff --git a/lib/websession_templates.py b/lib/websession_templates.py index <HASH>..<HASH> 100644 --- a/lib/websession_templates.py +++ b/lib/websession_templates.py @@ -367,11 +367,13 @@ class Template: # load the right message language _ = gettext_set_language(ln) - out = _("You are logged...
Use rather two different %(x_url*_close)s placeholders, for clarity.
inveniosoftware_invenio-accounts
train
de2aa7762f1640d042de6713343b12ddac5b2b49
diff --git a/devops/ct.js b/devops/ct.js index <HASH>..<HASH> 100644 --- a/devops/ct.js +++ b/devops/ct.js @@ -11,7 +11,7 @@ const tool = args[0]; const desc = args[1]; const tags = args[2].split(',').map(ab => ab.trim()).filter(ab => ab.length); -writeFileSync('./README.md', `# ${tool}\n${desc}`) +writeFileSync('....
new line at each json write
codeofnode_product
train
728ea1fbb2b4d772d3988a756914e21f4366702f
diff --git a/lib/launchers/attester-launcher.js b/lib/launchers/attester-launcher.js index <HASH>..<HASH> 100644 --- a/lib/launchers/attester-launcher.js +++ b/lib/launchers/attester-launcher.js @@ -60,13 +60,12 @@ module.exports = { __reset__: function () { if (launcherProcesss) { launcherPr...
Fixing random EPIPE error when attester is closing child processes
attester_attester
train
b1938c2788d6b7203e7b8b56dabe948b070deaeb
diff --git a/lib/formatters/jslint-xml.js b/lib/formatters/jslint-xml.js index <HASH>..<HASH> 100644 --- a/lib/formatters/jslint-xml.js +++ b/lib/formatters/jslint-xml.js @@ -3,6 +3,41 @@ * @author Ian Christian Myers */ + //------------------------------------------------------------------------------ + // Helpe...
JSLint XML formatter now escapes special characters in the evidence and reason attributes.
eslint_eslint
train
eb77186d6936472dd4112a568cb56934c99f678d
diff --git a/pythran/passes.py b/pythran/passes.py index <HASH>..<HASH> 100644 --- a/pythran/passes.py +++ b/pythran/passes.py @@ -90,6 +90,19 @@ class NormalizeTuples(ast.NodeTransformer): extra_assign.append(ast.Assign([ast.Name(rename,ast.Store())], nnode)) return extra_assign + ...
Fix bug in implicit tuples conversion. Handle properly code of the form for (a,b) in c:pass
serge-sans-paille_pythran
train
875a852065b25972c1427391c7c2c11084c7bb8c
diff --git a/cellbase-core/src/main/java/org/opencb/cellbase/core/api/queries/AbstractQuery.java b/cellbase-core/src/main/java/org/opencb/cellbase/core/api/queries/AbstractQuery.java index <HASH>..<HASH> 100644 --- a/cellbase-core/src/main/java/org/opencb/cellbase/core/api/queries/AbstractQuery.java +++ b/cellbase-core...
exclude excludes from the query - temporary until we refactor query options
opencb_cellbase
train
72dcd8009a6863d7e0cd7f33dd3ee6bf37b908ae
diff --git a/Classes/Driver/Version5/IndexerDriver.php b/Classes/Driver/Version5/IndexerDriver.php index <HASH>..<HASH> 100644 --- a/Classes/Driver/Version5/IndexerDriver.php +++ b/Classes/Driver/Version5/IndexerDriver.php @@ -47,7 +47,7 @@ class IndexerDriver extends AbstractIndexerDriver implements IndexerDriverInter...
TASK: Inline is deprecated on Elastic 5
Flowpack_Flowpack.ElasticSearch.ContentRepositoryAdaptor
train
2577f0c433b542bf619828da615c44ef4280c1ae
diff --git a/aws/resource_aws_elasticache_cluster_test.go b/aws/resource_aws_elasticache_cluster_test.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_elasticache_cluster_test.go +++ b/aws/resource_aws_elasticache_cluster_test.go @@ -36,7 +36,10 @@ func testSweepElasticacheClusters(region string) error { } con...
Excludes Clusters in Replication Groups from sweeper
terraform-providers_terraform-provider-aws
train
604d9f5664016e4cceb8a0b209cf46e33af0a838
diff --git a/tendril/tendril.py b/tendril/tendril.py index <HASH>..<HASH> 100644 --- a/tendril/tendril.py +++ b/tendril/tendril.py @@ -281,9 +281,9 @@ class Tendril(object): self._state = None # Check that the state is valid - if not isinstance(value, application.ApplicationState): + ...
The class is now called Application, not ApplicationState.
klmitch_tendril
train
916a4d96f90d881a27032ac7c421a90e6ef42c89
diff --git a/xmantissa/static/js/tdb.js b/xmantissa/static/js/tdb.js index <HASH>..<HASH> 100644 --- a/xmantissa/static/js/tdb.js +++ b/xmantissa/static/js/tdb.js @@ -47,6 +47,12 @@ function alternateBgColors(elements, classes) { } function setPageState(hasPrevPage, hasNextPage, curPage, itemsPerPage, items) { + ...
do not show the pagination status if there are no items (no -9 to 0 of 0). quick fix, fixes #<I>
twisted_mantissa
train
31584a316ef11a1de0264f3e3bb18d64efff5207
diff --git a/pysatMagVect/_core.py b/pysatMagVect/_core.py index <HASH>..<HASH> 100644 --- a/pysatMagVect/_core.py +++ b/pysatMagVect/_core.py @@ -433,10 +433,11 @@ def field_line_trace(init, date, direction, height, steps=None, # Steps below provide an extra layer of security that output has some # s...
TES: Moved check to if recurse
rstoneback_pysatMagVect
train
206e838721e5dfa7619dbc3891a1e4e654a06495
diff --git a/Kwc/Shop/Cart/Trl/Component.php b/Kwc/Shop/Cart/Trl/Component.php index <HASH>..<HASH> 100644 --- a/Kwc/Shop/Cart/Trl/Component.php +++ b/Kwc/Shop/Cart/Trl/Component.php @@ -12,6 +12,17 @@ class Kwc_Shop_Cart_Trl_Component extends Kwc_Directories_Item_Directory_Trl_Com return $this->getData()->cha...
add missing method for cart trl
koala-framework_koala-framework
train
e66aad1cdac8d29318009a97cd98165370c65c66
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ ], "dependencies": { "debug": "^4.3.3", - "explain-error": "^1.0.1", + "clarify-error": "^1.0.0", "packet-stream": "~2.0.0", "packet-stream-codec": "^1.2.0", "pull...
replace explain-error with clarify-error
ssbc_muxrpc
train
979b132ed35b87659608c3ef130ddb71ebcc4ef2
diff --git a/vendor/Joomla/Cache/File.php b/vendor/Joomla/Cache/File.php index <HASH>..<HASH> 100644 --- a/vendor/Joomla/Cache/File.php +++ b/vendor/Joomla/Cache/File.php @@ -167,7 +167,7 @@ class File extends Cache * * @param string $filePath A file path. * - * @return void + * @return boolean The me...
More test coverage for Cache package Refs #<I>
joomla_joomla-framework
train
83631dc65c6860d71c5e6b1dde47542c03377ff8
diff --git a/ipyvolume/pylab.py b/ipyvolume/pylab.py index <HASH>..<HASH> 100644 --- a/ipyvolume/pylab.py +++ b/ipyvolume/pylab.py @@ -48,7 +48,7 @@ def figure(key=None, width=400, height=500, lighting=True, controls=True, debug= current.figure = current.figures[key] current.container = current.containers[key] ...
dev: renamed volumerenderer to figure
maartenbreddels_ipyvolume
train
f05648f3742d9db08119823864c47e8715de611c
diff --git a/pinax/messages/models.py b/pinax/messages/models.py index <HASH>..<HASH> 100644 --- a/pinax/messages/models.py +++ b/pinax/messages/models.py @@ -1,6 +1,9 @@ +from __future__ import unicode_literals + from django.core.urlresolvers import reverse from django.db import models from django.utils import time...
Add some basic admin Closes #6
pinax_pinax-messages
train
42e452b1274597325bd2c5a95060f6eb1898847e
diff --git a/core/server/services/email-analytics/jobs/fetch-latest.js b/core/server/services/email-analytics/jobs/fetch-latest.js index <HASH>..<HASH> 100644 --- a/core/server/services/email-analytics/jobs/fetch-latest.js +++ b/core/server/services/email-analytics/jobs/fetch-latest.js @@ -26,15 +26,44 @@ if (parentPor...
Removed models require from analytics job (#<I>) refs <URL>
TryGhost_Ghost
train
ccc3d3d439837e6f33604a32546ad40713c366e3
diff --git a/client/lib/feed-post-store/test/index.js b/client/lib/feed-post-store/test/index.js index <HASH>..<HASH> 100644 --- a/client/lib/feed-post-store/test/index.js +++ b/client/lib/feed-post-store/test/index.js @@ -92,11 +92,10 @@ describe( 'feed-post-store', function() { feedId: 1, postId: 2 } ) ).t...
Reader: Stop preventing widows in post titles (#<I>) * Stop preventing widows in post titles * remove title from tests * fix failing test that was dependant on widows
Automattic_wp-calypso
train
6124853affa4b1731a2274c5837db6a34dd5831f
diff --git a/pkg/proxy/backend.go b/pkg/proxy/backend.go index <HASH>..<HASH> 100644 --- a/pkg/proxy/backend.go +++ b/pkg/proxy/backend.go @@ -290,7 +290,7 @@ func (s *sharedBackendConn) Retain() *sharedBackendConn { return s } -func (s *sharedBackendConn) KeepAliveAll() { +func (s *sharedBackendConn) KeepAlive() ...
proxy: rename KeepAliveAll to KeepAlive
CodisLabs_codis
train
95ddc5b4963f500c2b28d0eebcedbdd4644f9694
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ module.exports = function(content) { this.cacheable && this.cacheable(); var callback = this.async(); var fn = Handlebars.precompile(content); - callback(null, "var Handlebars = require('handleba...
fix: use require.resolve to reference used handlebars lib
emaphp_handlebars-template-loader
train
0ef64940bd6a9dc8d6be403878fd067b125f78a2
diff --git a/Tests/Form/CategoryFormBuilderTest.php b/Tests/Form/CategoryFormBuilderTest.php index <HASH>..<HASH> 100755 --- a/Tests/Form/CategoryFormBuilderTest.php +++ b/Tests/Form/CategoryFormBuilderTest.php @@ -25,9 +25,9 @@ class CategoryFormBuilderTest extends AbstractFormBuilderTestCase { return $t...
Changed form test cases to use manager instead of factory
WellCommerce_CategoryBundle
train
9ee511b3b3310d3ac31644759043e8c141f9b8ca
diff --git a/mango.js b/mango.js index <HASH>..<HASH> 100755 --- a/mango.js +++ b/mango.js @@ -1,40 +1,77 @@ #!/usr/bin/env node "use strict"; -function* where(src, predicate) { - return from(src).where(predicate); -} +function* where(iterable, predicate) { + for (const a of iterable) + if (predicate(a)) + ...
Start of a range library, ala Java streams, .NET Linq, etc
jezhiggins_rillet.js
train
769a2c15cfc8ed71126ce24af32db248740e46c5
diff --git a/graylog2-shared/src/main/java/org/graylog2/shared/buffers/RawMessageEvent.java b/graylog2-shared/src/main/java/org/graylog2/shared/buffers/RawMessageEvent.java index <HASH>..<HASH> 100644 --- a/graylog2-shared/src/main/java/org/graylog2/shared/buffers/RawMessageEvent.java +++ b/graylog2-shared/src/main/jav...
make RawMessageEvent's fields volatile to guard against cross-cpu visibility issues (cherry picked from commit <I>ce4b<I>ef<I>ea0d<I>b<I>a<I>db<I>)
Graylog2_graylog2-server
train
5eb6288b8fb8ec36cadbea7a980b173a6c01d687
diff --git a/Plugin/Load.php b/Plugin/Load.php index <HASH>..<HASH> 100644 --- a/Plugin/Load.php +++ b/Plugin/Load.php @@ -41,12 +41,14 @@ class Load if (!Validate::check($extension, $class_info)) return; - if ($start) { - $extension->instance($extendable, $DIR); - $extension->boot...
feat: allow plugins to be conditionally loaded
modulusphp_framework
train
695c0a7b65ef2a688eb3f002555f3a7573b8280e
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -9,9 +9,10 @@ } ], "require": { + "php": "^7.0", "doctrine/orm": "^2.5", "ocramius/proxy-manager": "^1.0.2", - "paragonie/halite": "^1.0" + "paragonie/halite": "^2.0" }, ...
Fixes to example, added dependency to php 7
carnage_doctrine-encrypted-column
train
6af736a9e15964af84a53dc0db9435f350d2b2da
diff --git a/src/ORM/FieldType/DBCurrency.php b/src/ORM/FieldType/DBCurrency.php index <HASH>..<HASH> 100644 --- a/src/ORM/FieldType/DBCurrency.php +++ b/src/ORM/FieldType/DBCurrency.php @@ -2,6 +2,8 @@ namespace SilverStripe\ORM\FieldType; +use SilverStripe\Forms\CurrencyField; + /** * Represents a decimal fie...
Change DBCurrency scaffolded form field to CurrencyField (fixes #<I>) Add test ensuring DBCurrency scaffolds CurrencyField
silverstripe_silverstripe-framework
train
03ac338a7b7e1d7c2b9d7e8c777928686e8c82ff
diff --git a/lib/wechat/http_client.rb b/lib/wechat/http_client.rb index <HASH>..<HASH> 100644 --- a/lib/wechat/http_client.rb +++ b/lib/wechat/http_client.rb @@ -29,9 +29,10 @@ module Wechat def post_file(path, file, post_header = {}) request(path, post_header) do |url, header| params = header.del...
detect the formfile type so that it's possible to construct formfile outside
Eric-Guo_wechat
train
a6b105a90755716e69f4cebe02779d0bddd907ad
diff --git a/embed/serve.go b/embed/serve.go index <HASH>..<HASH> 100644 --- a/embed/serve.go +++ b/embed/serve.go @@ -23,6 +23,7 @@ import ( "net/http" "strings" + "go.etcd.io/etcd/clientv3/credentials" "go.etcd.io/etcd/etcdserver" "go.etcd.io/etcd/etcdserver/api/v3client" "go.etcd.io/etcd/etcdserver/api/v...
embed: use new "credentials" package
etcd-io_etcd
train
dbcac5035afdf4f2e00a6fbd98e93708dcc286f1
diff --git a/__tests__/withAlphaVariable.test.js b/__tests__/withAlphaVariable.test.js index <HASH>..<HASH> 100644 --- a/__tests__/withAlphaVariable.test.js +++ b/__tests__/withAlphaVariable.test.js @@ -99,7 +99,7 @@ test('it ignores colors that already have an alpha channel', () => { test('it allows a closure to be p...
refactor!: use object instead of positional arg
tailwindcss_tailwindcss
train
25284c0207d0ee148bee0d1fa7e5c7c509557066
diff --git a/stage1/app-add/app-add.go b/stage1/app-add/app-add.go index <HASH>..<HASH> 100644 --- a/stage1/app-add/app-add.go +++ b/stage1/app-add/app-add.go @@ -97,7 +97,10 @@ func main() { } enterCmd := stage1common.PrepareEnterCmd(false) - stage1initcommon.AppAddMounts(p, ra, enterCmd) + err = stage1initcommo...
mount: ensure shared volume path exists Before this change, the `copy-up` operation could fail with: `stage1: could not prepare mountpoint: mkdir sharedVolumes/foo: no such file or directory` This would occur because `CopyTree` does not implicitly create the target directory, so we must create it prior to calling.
rkt_rkt
train
98a338e8edac0ea56ab56ce042d20884f2fe19b6
diff --git a/lib/producer.js b/lib/producer.js index <HASH>..<HASH> 100644 --- a/lib/producer.js +++ b/lib/producer.js @@ -19,7 +19,10 @@ const script = ` produceCachedData: true, sourceless: true }); - // TODO check for reject + if (!s.cachedDataProduced) { + console.error('Pkg: Cached da...
checking cachedDataProduced in `producer.js`
zeit_pkg
train
81594edb7ba298b65f92d60797c166b66386377d
diff --git a/tests/test_datastructures.py b/tests/test_datastructures.py index <HASH>..<HASH> 100644 --- a/tests/test_datastructures.py +++ b/tests/test_datastructures.py @@ -393,5 +393,4 @@ def test_ordered_multidict(): id = ImmutableOrderedMultiDict(d) assert d == id d.add('foo', 2) - print d, id ...
Made it possible to change the type to be used for URL and form parameters. This sortof fixes #<I>.
pallets_werkzeug
train
d692b829b53491e1145502311f4390daffb60686
diff --git a/actionview/lib/action_view/template/resolver.rb b/actionview/lib/action_view/template/resolver.rb index <HASH>..<HASH> 100644 --- a/actionview/lib/action_view/template/resolver.rb +++ b/actionview/lib/action_view/template/resolver.rb @@ -289,7 +289,7 @@ module ActionView # # ActionController::Base....
Using the real resolver pattern in docs If someone copies the docs into their app they'll find it simply doesn't work because the locale pattern doesn't have the same logic. This makes the doc examples work exactly as written. [ci skip]
rails_rails
train
cfaa2f06d886ae9cc981dd34f0ceba457168aa5c
diff --git a/flask_tus.py b/flask_tus.py index <HASH>..<HASH> 100644 --- a/flask_tus.py +++ b/flask_tus.py @@ -85,7 +85,7 @@ class tus_manager(object): return response response.status_code = 201 - response.headers['Location'] = '{}/{}'.format(self.upload_url, resource_id) + ...
update Location: header to include full url
matthoskins1980_Flask-Tus
train
f49174cc52deae6e61b20d8426460d30208170c5
diff --git a/okio/src/main/java/okio/Segment.java b/okio/src/main/java/okio/Segment.java index <HASH>..<HASH> 100644 --- a/okio/src/main/java/okio/Segment.java +++ b/okio/src/main/java/okio/Segment.java @@ -34,6 +34,9 @@ final class Segment { /** The size of all segments in bytes. */ static final int SIZE = 8192;...
Don't share segments if doing so only saves a small copy. Otherwise we end up with long chains of short segments, which is its own performance problem.
square_okio
train
e49c1dc559772150bb5d1860d241557f5d0998d5
diff --git a/libcontainer/cgroups/cgroups_test.go b/libcontainer/cgroups/cgroups_test.go index <HASH>..<HASH> 100644 --- a/libcontainer/cgroups/cgroups_test.go +++ b/libcontainer/cgroups/cgroups_test.go @@ -3,27 +3,16 @@ package cgroups import ( - "bytes" "testing" ) -const ( - cgroupsContents = `11:hugetlb:/ ...
Rework ParseCgroupFile Currently we parse /proc/self/cgroup for each controller. It's ineffective.
opencontainers_runc
train
66639eadbb392a9d8f0b1cb27fcf4abc60a7960e
diff --git a/consumer.go b/consumer.go index <HASH>..<HASH> 100644 --- a/consumer.go +++ b/consumer.go @@ -363,7 +363,7 @@ func (r *Consumer) lookupdLoop() { // when restarted at the same time, dont all connect at once. jitter := time.Duration(int64(r.rng.Float64() * r.config.LookupdPollJitter * float64(r.config...
consumer: jitter might have no effect
nsqio_go-nsq
train
cf69385519cc1dadeef88f132bb652b95bdc3d43
diff --git a/lib/bigcommerce.js b/lib/bigcommerce.js index <HASH>..<HASH> 100644 --- a/lib/bigcommerce.js +++ b/lib/bigcommerce.js @@ -183,6 +183,9 @@ BigCommerce.prototype.request = function(type, path, data, cb) { fullPath += path; } + // Allow use of keep-alive agent + request.agent = this.config.agent; ...
Allow use of an https keep-alive agent to reduce socket usage (#<I>)
getconversio_node-bigcommerce
train
8557a15cce38d2b78ba6e4c7613ea8c329dbea2a
diff --git a/auth/token.go b/auth/token.go index <HASH>..<HASH> 100644 --- a/auth/token.go +++ b/auth/token.go @@ -5,6 +5,7 @@ package auth import ( + "crypto/rand" "crypto/sha1" "errors" "fmt" @@ -13,6 +14,8 @@ import ( "time" ) +const keySize = 32 // size of the key, in bytes + type Token struct { T...
auth: improve token generation function 1. Don't use the same key for all tokens 2. Don't discard nanosecond information when formatting time.Now() Also added test to guarantee that token() function won't generate repeated tokens.
tsuru_tsuru
train
39d5c839887bde671a4aa44683ef0bdd5ef82b5d
diff --git a/src/js/components/misc/DataTable.js b/src/js/components/misc/DataTable.js index <HASH>..<HASH> 100644 --- a/src/js/components/misc/DataTable.js +++ b/src/js/components/misc/DataTable.js @@ -438,9 +438,11 @@ class DataTable extends React.Component { } } ...
DataTable tableLink to store with foreignKey
getblank_blank-web-app
train
0dd21a8c2fc574c7ea77ee2829527e100ab5e227
diff --git a/presets/ui-kit/index.js b/presets/ui-kit/index.js index <HASH>..<HASH> 100644 --- a/presets/ui-kit/index.js +++ b/presets/ui-kit/index.js @@ -31,7 +31,7 @@ export { ErrorMessage, WarningMessage } from '@commercetools-uikit/messages'; export { default as Spacings } from '@commercetools-uikit/spacings'; ex...
fix(presets): data-table export (#<I>)
commercetools_ui-kit
train
30402430427854b61e9836850d6163554c4c667d
diff --git a/cmd/evm/main.go b/cmd/evm/main.go index <HASH>..<HASH> 100644 --- a/cmd/evm/main.go +++ b/cmd/evm/main.go @@ -53,7 +53,7 @@ var ( } CodeFileFlag = cli.StringFlag{ Name: "codefile", - Usage: "file containing EVM code", + Usage: "File containing EVM code. If '-' is specified, code is read from stdi...
cmd/evm: add --receiver, support code from stdin (#<I>)
ethereum_go-ethereum
train
ce1eaa84eef55776926799818c4f8fcdbe43725a
diff --git a/svg-injector.js b/svg-injector.js index <HASH>..<HASH> 100644 --- a/svg-injector.js +++ b/svg-injector.js @@ -183,16 +183,6 @@ // Inject a single element var injectElement = function (el, evalScripts, pngFallback, callback) { - // Make sure we aren't already in the process of injecting this elem...
Move the use of injectOf() until _after_ the check for SVG support during injection so we can avoid adding the extra code for an IE8 indexOf() polyfill
iconic_SVGInjector
train
ce373e7d67aeac3fbc1582b5aedfd4910827b62e
diff --git a/src/plugins/validate/extendApi.js b/src/plugins/validate/extendApi.js index <HASH>..<HASH> 100644 --- a/src/plugins/validate/extendApi.js +++ b/src/plugins/validate/extendApi.js @@ -1,19 +1,17 @@ module.exports = function extendApi(BaseClass) { - class StrictCommand extends BaseClass { - constructor(....
Make validation functions the only responsibility of the validate plugin
appache_comanche
train
ac5de141e670b241849b74892f301510f9dcf251
diff --git a/pyhardlinkbackup/phlb/main.py b/pyhardlinkbackup/phlb/main.py index <HASH>..<HASH> 100644 --- a/pyhardlinkbackup/phlb/main.py +++ b/pyhardlinkbackup/phlb/main.py @@ -32,14 +32,12 @@ log = logging.getLogger(f"phlb.{__name__}") class BackupIterFilesystem(IterFilesystem): - def __init__(self, *, backu...
Don't init a second PathHelper instance!
jedie_PyHardLinkBackup
train
4c75bcd568f3669eac3bda8eda8c328b6bcd45d7
diff --git a/src/backbone.collectionView.js b/src/backbone.collectionView.js index <HASH>..<HASH> 100755 --- a/src/backbone.collectionView.js +++ b/src/backbone.collectionView.js @@ -206,7 +206,7 @@ }, setSelectedModels : function( newSelectedItems, options ) { - if( ! this.selectable ) throw "Attempt to set ...
get rid of selectableModelsFitler as string
rotundasoftware_backbone.collectionView
train
2b6c7d3f18c8d54cb1abaffde9862999ffaf3ca5
diff --git a/packages/react-server/core/__tests__/integration/internalServerError/InternalServerErrorSpec.js b/packages/react-server/core/__tests__/integration/internalServerError/InternalServerErrorSpec.js index <HASH>..<HASH> 100644 --- a/packages/react-server/core/__tests__/integration/internalServerError/InternalSe...
Better handling of exceptions arising during `handleRoute()` Convert them to promise rejections so they can be dealt with immediately using an existing code path.
redfin_react-server
train
bf8fe283276ac4e3dc2a94a6a02f6393734d2092
diff --git a/glacier/treehash.go b/glacier/treehash.go index <HASH>..<HASH> 100644 --- a/glacier/treehash.go +++ b/glacier/treehash.go @@ -20,16 +20,16 @@ type treeHash struct { func createTreeHash(r io.Reader) (*treeHash, error) { hasher := sha256.New() hashes := make([]treeHash, 0) - i := 0 + outIndex := 0 /...
Tree hash appears to be working.
rdwilliamson_aws
train
2120634d4cbfca83f8f9e1c31f38f189a6a1e682
diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/contexts.py +++ b/openquake/hazardlib/contexts.py @@ -19,6 +19,7 @@ import abc import sys import copy import time +import warnings import numpy from openquake.baselib.general impor...
Computed logleves outside the loop
gem_oq-engine
train
65d6fd9173dc3f12a3cee810e60cc71271850a43
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index <HASH>..<HASH> 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,16 +1,11 @@ { "ImportPath": "github.com/mesos/mesos-go", - "GoVersion": "go1.4", + "GoVersion": "go1.4.2", "Packages": [ "./..." ], "Deps": [ { - "ImportPath": "code....
Switch from to code.google.com/p/go-uuid/uuid to github.com/pborman/uuid As code.google.com is going away someday
mesos_mesos-go
train
9641c08f4da66d72d0aa4bf8afab26b0bfc4affd
diff --git a/morpfw/crud/schemaconverter/dataclass2colander.py b/morpfw/crud/schemaconverter/dataclass2colander.py index <HASH>..<HASH> 100644 --- a/morpfw/crud/schemaconverter/dataclass2colander.py +++ b/morpfw/crud/schemaconverter/dataclass2colander.py @@ -14,6 +14,20 @@ from ...interfaces import ISchema from .commo...
added workaround of deform serialization issue with colander.drop
morpframework_morpfw
train
c6caec2652277baacbf45d5f5347f15af4bb5b03
diff --git a/lib/build.api.js b/lib/build.api.js index <HASH>..<HASH> 100644 --- a/lib/build.api.js +++ b/lib/build.api.js @@ -161,7 +161,7 @@ module.exports = function (Aquifer) { })) // Set sites/default permissions correctly. .then(buildStep('Setting permissions on build files.', function ...
Change strategy for setting files dir permissions
aquifer_aquifer
train