hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
a568712fc6a3fde7360309e6f36dc3d0ef7ad046
diff --git a/ddlgenerator/reshape.py b/ddlgenerator/reshape.py index <HASH>..<HASH> 100644 --- a/ddlgenerator/reshape.py +++ b/ddlgenerator/reshape.py @@ -49,7 +49,7 @@ def walk_and_clean(data): if hasattr(data, '_fields'): data = OrderedDict((k,v) for (k,v) in zip(data._fields, data)) # Recursively ...
some objects have non-settable items
catherinedevlin_ddl-generator
train
6c62da2e6d908bf71d41426ec042e7f2b436c8c2
diff --git a/pyemma/plots/plots2d.py b/pyemma/plots/plots2d.py index <HASH>..<HASH> 100644 --- a/pyemma/plots/plots2d.py +++ b/pyemma/plots/plots2d.py @@ -810,7 +810,7 @@ def plot_contour( z = _np.ma.masked_where(counts.T <= 0, z) return plot_map( x, y, z, ax=ax, cmap=cmap, - ncontours=nco...
[plots] fixed vmin, vmax kwarg pass to subsequent function call
markovmodel_PyEMMA
train
21230eb6b487eb87e4f3fa001117050104c2a94a
diff --git a/Tests/Rule/Constraints/OccurenceConstraintTest.php b/Tests/Rule/Constraints/OccurenceConstraintTest.php index <HASH>..<HASH> 100644 --- a/Tests/Rule/Constraints/OccurenceConstraintTest.php +++ b/Tests/Rule/Constraints/OccurenceConstraintTest.php @@ -17,12 +17,33 @@ use Claroline\CoreBundle\Entity\Log\Log; ...
[CoreBundle] Update test for occurenceConstraint
claroline_Distribution
train
9fc2ae158cf3fa1cea73d09a415c07a12a0b73e7
diff --git a/audio/audio.go b/audio/audio.go index <HASH>..<HASH> 100644 --- a/audio/audio.go +++ b/audio/audio.go @@ -341,6 +341,15 @@ func (p *Player) Close() error { func (p *playerImpl) Close() error { p.mux.removePlayer(p) + + p.m.Lock() + c := p.closedExplicitly + p.m.Unlock() + if c { + p.m.Unlock() + ret...
audio: Bug fix: Close always returned error
hajimehoshi_ebiten
train
4b3e8e5e526f1e2143c6b9943f02ecbf788c9511
diff --git a/LiSE/query.py b/LiSE/query.py index <HASH>..<HASH> 100644 --- a/LiSE/query.py +++ b/LiSE/query.py @@ -138,7 +138,7 @@ class QueryEngine(gorm.query.QueryEngine): def set_rule_triggers(self, rule, triggers): (rule, triggers) = map(self.json_dump, (rule, triggers)) try: - ret...
I got triggers and actions mixed up in these queries
LogicalDash_LiSE
train
dba129b2951a674d490e975a24d4ec8ca4ddff4d
diff --git a/bin/cli.js b/bin/cli.js index <HASH>..<HASH> 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -104,9 +104,15 @@ function getTestBrowserInfo(browserString, path) { return info; } -function buildTestUrl(test_path, worker_key, browser_string) { - var url = 'http://localhost:' + config.test_server_port + '/'...
change host to bs-local on ios platform
browserstack_browserstack-runner
train
46d72ba3361dff51274776f6f1191a749dba1431
diff --git a/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java b/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java index <HASH>..<HASH> 100644 --- a/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java +++ b/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java @...
[JBJCA-<I>] Have to write class name instead of selecting the default name
ironjacamar_ironjacamar
train
0224207f8350084096561fdb7f5554cde6ab29eb
diff --git a/recurly/base_client.py b/recurly/base_client.py index <HASH>..<HASH> 100644 --- a/recurly/base_client.py +++ b/recurly/base_client.py @@ -13,10 +13,17 @@ from datetime import datetime PORT = 443 HOST = "v3.recurly.com" - BINARY_TYPES = ["application/pdf"] +def request_converter(value): + """Use...
Convert datetimes objects in request bodies Automatically convert datetime objects to iso<I> strings in request bodies.
recurly_recurly-client-python
train
84963d225d01c7954036cb260cba872f8a8599c2
diff --git a/lib/zss/socket.rb b/lib/zss/socket.rb index <HASH>..<HASH> 100644 --- a/lib/zss/socket.rb +++ b/lib/zss/socket.rb @@ -80,7 +80,7 @@ module ZSS first = frames.shift last = frames.pop frames.each { |f| check! socket.send_string f.to_s, ZMQ::SNDMORE } - check! socket.send_string ...
last frame should be send as string also This didn't blow because at the moment the last frame is a string
micro-toolkit_zmq-service-suite-ruby
train
d9f34b0a771caaf346ca67cbb82b59cd976a654d
diff --git a/Resources/Private/JavaScript/Host/Containers/ContentCanvas/index.js b/Resources/Private/JavaScript/Host/Containers/ContentCanvas/index.js index <HASH>..<HASH> 100644 --- a/Resources/Private/JavaScript/Host/Containers/ContentCanvas/index.js +++ b/Resources/Private/JavaScript/Host/Containers/ContentCanvas/in...
TASK: rename "node" to "domNode" in JS
neos_neos-ui
train
8bf7fd45d9b904588e44708dec5f1d18ef4d2ad7
diff --git a/spec/controllers/socializer/sessions_controller_spec.rb b/spec/controllers/socializer/sessions_controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/controllers/socializer/sessions_controller_spec.rb +++ b/spec/controllers/socializer/sessions_controller_spec.rb @@ -66,10 +66,21 @@ module Socializer ...
FIXME: verify that the cookie is nil after the destroy action runs
socializer_socializer
train
e8fe0d10806c89e4526b367ee9f616517bb5a06b
diff --git a/src/utils/fs.js b/src/utils/fs.js index <HASH>..<HASH> 100644 --- a/src/utils/fs.js +++ b/src/utils/fs.js @@ -1,10 +1,22 @@ import Promise from 'es6-promise/lib/es6-promise/promise'; import * as fs from 'fs'; -import { resolve } from './path'; +import { dirname } from './path'; + +function mkdirpath ( pa...
make intermediate dirs in writeFile helper
rollup_rollup
train
7da2f4c33eaa3dd1ec1faf15031f0a909fe03ee2
diff --git a/src/autocompleters/prefixes.js b/src/autocompleters/prefixes.js index <HASH>..<HASH> 100644 --- a/src/autocompleters/prefixes.js +++ b/src/autocompleters/prefixes.js @@ -17,7 +17,7 @@ module.exports = function(yasqe, completerName) { return module.exports.isValidCompletionPosition(yasqe); }, ...
Use getJSON for the prefixes file. This corrects a critical bug in JavaFX (crashes the browser).
OpenTriply_YASGUI.YASQE
train
2db0b67871b9693503d9e285a886adf8b4fe546c
diff --git a/components/Templates/includes/functions-view_template.php b/components/Templates/includes/functions-view_template.php index <HASH>..<HASH> 100644 --- a/components/Templates/includes/functions-view_template.php +++ b/components/Templates/includes/functions-view_template.php @@ -207,20 +207,16 @@ function fr...
More adjustments for = and != for handling arrays of field values in if conditional
pods-framework_pods
train
6d99f52abd879d323397ae5ce308cd953fb63b1e
diff --git a/web/src/test/java/uk/ac/ebi/atlas/profiles/baseline/viewmodel/BaselineExperimentProfilesViewModelBuilderTest.java b/web/src/test/java/uk/ac/ebi/atlas/profiles/baseline/viewmodel/BaselineExperimentProfilesViewModelBuilderTest.java index <HASH>..<HASH> 100644 --- a/web/src/test/java/uk/ac/ebi/atlas/profiles/...
Specify that the order of expressions should be defined by the factors in the header
ebi-gene-expression-group_atlas
train
fee29b8a367610083a6eb7c12faaacc3769a6186
diff --git a/controller/src/main/java/io/pravega/controller/eventProcessor/impl/EventProcessorGroupImpl.java b/controller/src/main/java/io/pravega/controller/eventProcessor/impl/EventProcessorGroupImpl.java index <HASH>..<HASH> 100644 --- a/controller/src/main/java/io/pravega/controller/eventProcessor/impl/EventProcess...
Issue <I>: Disable auto-checkpointing for readers used in controller's event processor (#<I>)
pravega_pravega
train
27753b538bf8ee4cde1d3226de246de8e6ff064f
diff --git a/Vpc/Root/Category/GeneratorController.php b/Vpc/Root/Category/GeneratorController.php index <HASH>..<HASH> 100644 --- a/Vpc/Root/Category/GeneratorController.php +++ b/Vpc/Root/Category/GeneratorController.php @@ -102,6 +102,7 @@ class Vpc_Root_Category_GeneratorController extends Vps_Controller_Action_Aut...
replace finding component properties form with a static approach that way it works for adding pages as well
koala-framework_koala-framework
train
7d81731d4f46c90ed9e7a1cf67e4721e757a6567
diff --git a/lib/devise/version.rb b/lib/devise/version.rb index <HASH>..<HASH> 100644 --- a/lib/devise/version.rb +++ b/lib/devise/version.rb @@ -1,3 +1,3 @@ module Devise - VERSION = "4.0.0-dev".freeze + VERSION = "4.0.0.dev".freeze end
[close <I>] Fix version for older Bundler compat
plataformatec_devise
train
dc7eaab3cdefde7c8ba1d4c24b48a403edf5610d
diff --git a/rake/test/testfileutils.rb b/rake/test/testfileutils.rb index <HASH>..<HASH> 100644 --- a/rake/test/testfileutils.rb +++ b/rake/test/testfileutils.rb @@ -29,35 +29,26 @@ class TestFileUtils < Test::Unit::TestCase assert ! File.exist?("testdata/b") end -# def test_delete -# create_file("test...
Removed old tests (were commented out). Added tests for verbose/nowrite. git-svn-id: svn+ssh://rubyforge.org/var/svn/rake/trunk@<I> 5af<I>f1-ac1a-<I>-<I>d6-<I>a<I>c<I>ef
ruby_rake
train
d28f9343c8afa8506a4c1ceb1ad8a3ab5e64d07d
diff --git a/src/Client.php b/src/Client.php index <HASH>..<HASH> 100644 --- a/src/Client.php +++ b/src/Client.php @@ -78,10 +78,10 @@ abstract class Client * * @since 1.0 */ - public function __construct(AbstractWebApplication $application, Http $client, Input $input = null, $options = array(), $version = '...
Make the HTTP client optional and use the factory to create if needed
joomla-framework_oauth1
train
93fa56eb85e96baebbf2fce4c350c8e4df5df449
diff --git a/src/com/google/javascript/jscomp/parsing/TypeTransformationParser.java b/src/com/google/javascript/jscomp/parsing/TypeTransformationParser.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/parsing/TypeTransformationParser.java +++ b/src/com/google/javascript/jscomp/parsing/TypeTransfo...
Adjust line numbers of TTL expressions to their correct values. The column numbers are still wrong for some nodes, but this makes it easier to debug TTL issues. ------------- Created by MOE: <URL>
google_closure-compiler
train
c4a53928412702548e11d7425824ca19b232b8f1
diff --git a/src/Leevel/Pipeline/Pipeline.php b/src/Leevel/Pipeline/Pipeline.php index <HASH>..<HASH> 100644 --- a/src/Leevel/Pipeline/Pipeline.php +++ b/src/Leevel/Pipeline/Pipeline.php @@ -41,28 +41,28 @@ class Pipeline implements IPipeline * * @var \Leevel\Di\IContainer */ - protected $container...
refactor(pipeline): for php<I>
hunzhiwange_framework
train
5fe70e91fffb54dc33f5176bb999ea5fafc7b3f3
diff --git a/structurizr-analysis/src/com/structurizr/analysis/DefaultTypeRepository.java b/structurizr-analysis/src/com/structurizr/analysis/DefaultTypeRepository.java index <HASH>..<HASH> 100644 --- a/structurizr-analysis/src/com/structurizr/analysis/DefaultTypeRepository.java +++ b/structurizr-analysis/src/com/struc...
Some formatting and clean up to fix warnings in IntelliJ (added a single package name version of the DefaultTypeRepository constructor).
structurizr_java
train
8d64ff24055caca2342701b33e7223029b497473
diff --git a/lib/common.js b/lib/common.js index <HASH>..<HASH> 100644 --- a/lib/common.js +++ b/lib/common.js @@ -60,8 +60,9 @@ function getTestFilePathAndPattern(patternString) { return [ testPath, pattern ]; } -function SkipError(test) { +function SkipError(test, msg) { this.test = test; + this.msg = msg |...
Allow user to pass in a message / reason to the test.skip() function.
cloudkick_whiskey
train
822ba85835284cee1e95fb450554f5703c2153a9
diff --git a/src/adapters/pouch.idb.js b/src/adapters/pouch.idb.js index <HASH>..<HASH> 100644 --- a/src/adapters/pouch.idb.js +++ b/src/adapters/pouch.idb.js @@ -883,15 +883,20 @@ var IdbPouch = function(opts, callback) { api._removeDocRevisions = function(docId, revs, callback) { var txn = idb.transaction([BY...
(#<I>) - fix idb adapter compaction
pouchdb_pouchdb
train
5a5a75474bd18df20df8aa4e7c45c22a0f4391e2
diff --git a/src/Model/Table/EmailQueueTable.php b/src/Model/Table/EmailQueueTable.php index <HASH>..<HASH> 100644 --- a/src/Model/Table/EmailQueueTable.php +++ b/src/Model/Table/EmailQueueTable.php @@ -23,7 +23,14 @@ class EmailQueueTable extends Table { Type::map('email_queue.json', JsonType::class); ...
Config Timestamp behavior created => 'new' modified => 'existing,
lorenzo_cakephp-email-queue
train
39da83f57e3613c5ce7c456780fca0c4203ebb5a
diff --git a/lib/mry/version.rb b/lib/mry/version.rb index <HASH>..<HASH> 100644 --- a/lib/mry/version.rb +++ b/lib/mry/version.rb @@ -1,3 +1,3 @@ module Mry - VERSION = "0.59.0.0" + VERSION = "0.77.0.0" end
Bump up version to <I>
pocke_mry
train
1a9f4d25a4c2e077bedf84e0e9612519c6a01e0a
diff --git a/src/ElementTrait.php b/src/ElementTrait.php index <HASH>..<HASH> 100644 --- a/src/ElementTrait.php +++ b/src/ElementTrait.php @@ -49,6 +49,11 @@ trait ElementTrait : null; } + public function __set($property, $value) + { + $this->attributes[$property] = $value; + } + ...
Adding the ability to set/change attributes programatically
encorephp_giml
train
ce766e240c1776f31d8cf6c7a6184fb2c67d060c
diff --git a/src/IsoCodes/Nif.php b/src/IsoCodes/Nif.php index <HASH>..<HASH> 100644 --- a/src/IsoCodes/Nif.php +++ b/src/IsoCodes/Nif.php @@ -5,16 +5,18 @@ namespace IsoCodes; /** * Class Nif. * - * El Número de Identificación Fiscal (NIF) es la manera de identificación tributaria - * utilizada en España para las...
fix #9 - not-English code and comment
ronanguilloux_IsoCodes
train
a3b2f4984e0bf8837d043a602e11ae4655ef62df
diff --git a/lib/ohai/plugins/linux/network.rb b/lib/ohai/plugins/linux/network.rb index <HASH>..<HASH> 100644 --- a/lib/ohai/plugins/linux/network.rb +++ b/lib/ohai/plugins/linux/network.rb @@ -23,6 +23,7 @@ popen4("/sbin/ifconfig -a") do |pid, stdin, stdout, stderr| stdout.each do |line| if line =~ /^([[:alnu...
Updating network to include network_interfaces array
chef_ohai
train
25075874b9c9e2e764a16d62b83fb848a06509a2
diff --git a/src/main/java/com/buschmais/jqassistant/scm/maven/report/JUnitReportWriter.java b/src/main/java/com/buschmais/jqassistant/scm/maven/report/JUnitReportWriter.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/buschmais/jqassistant/scm/maven/report/JUnitReportWriter.java +++ b/src/main/java/com/buschma...
#<I> add a primary report column to rules and report
buschmais_jqa-maven-plugin
train
834a6360f53bb1e80c84739dd95c4a365d5e5946
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ### 0.4.07 / 2017-05-25 +* [FIX] To avoid Fixnum deprecation error in Ruby 2.4 abd higher, all explicit references to Fixnum has been removed. * [FIX] File `.rubocop.yml`: folder `examples` was e...
Remove all explicit allusions to Fixnum In order to support Ruby <I>+, explicit uses of Fixnum classes must be avoided (superseded by Integer class).
famished-tiger_Rley
train
a69fb02a81775377ea4b1e299cd067bb81b8d34f
diff --git a/src/MockByCallsTrait.php b/src/MockByCallsTrait.php index <HASH>..<HASH> 100644 --- a/src/MockByCallsTrait.php +++ b/src/MockByCallsTrait.php @@ -32,14 +32,13 @@ trait MockByCallsTrait $callIndex = -1; $mock->expects(self::any())->method(self::anything())->willReturnCallback( - ...
fix missing by reference on $callIndex
chubbyphp_chubbyphp-mock
train
1daabc130a3b56b5fefd319946c338d598bc6713
diff --git a/packages/pages/pages.showcase.web.js b/packages/pages/pages.showcase.web.js index <HASH>..<HASH> 100644 --- a/packages/pages/pages.showcase.web.js +++ b/packages/pages/pages.showcase.web.js @@ -3,7 +3,7 @@ import React from "react"; import { Article } from "./src/pages"; export default { - name: "Page...
fix: move pages package from pages in storybook nav (#<I>)
newsuk_times-components
train
b3745c05b02d9aa34e74b8d9e287a408eea545e8
diff --git a/code/libraries/koowa/controller/resource.php b/code/libraries/koowa/controller/resource.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/controller/resource.php +++ b/code/libraries/koowa/controller/resource.php @@ -128,13 +128,7 @@ abstract class KControllerResource extends KControllerPage */...
Don't treat empty browse requests in a special way.
timble_kodekit
train
6f8622a2e5bef75b64923d936bdd8855c3059fd1
diff --git a/library/Bootstrap/UnitBootstrap.php b/library/Bootstrap/UnitBootstrap.php index <HASH>..<HASH> 100755 --- a/library/Bootstrap/UnitBootstrap.php +++ b/library/Bootstrap/UnitBootstrap.php @@ -43,6 +43,8 @@ namespace OxidEsales\TestingLibrary\Bootstrap { } require_once TEST_LIBRARY...
ESDEV-<I> Fix the way shop base path is returned in tests getShopBasePath() relied on oxConfig class existence, but even if this class is already autoloaded does not mean it can be initiated.
OXID-eSales_testing_library
train
c3f74a323fd6d9671dc972b1b5b051159fa05930
diff --git a/fuel/transformers/__init__.py b/fuel/transformers/__init__.py index <HASH>..<HASH> 100644 --- a/fuel/transformers/__init__.py +++ b/fuel/transformers/__init__.py @@ -274,20 +274,23 @@ class Flatten(SourcewiseTransformer): which_sources = kwargs.get('which_sources', data_stream.sources) ...
Fix Scrutinizer and Coveralls issues
mila-iqia_fuel
train
55dab2684bc11808226b032bf897d81b8899850b
diff --git a/libs/verysimple/Phreeze/BladeRenderEngine.php b/libs/verysimple/Phreeze/BladeRenderEngine.php index <HASH>..<HASH> 100644 --- a/libs/verysimple/Phreeze/BladeRenderEngine.php +++ b/libs/verysimple/Phreeze/BladeRenderEngine.php @@ -73,6 +73,7 @@ class BladeRenderEngine implements IRenderEngine public funct...
fixed issue with blade render engine not displaying fatal errors properly
jasonhinkle_phreeze
train
da7997ea6dfad80a2da3645adbcb2e4972f7ba7e
diff --git a/lib/grooveshark/client.rb b/lib/grooveshark/client.rb index <HASH>..<HASH> 100644 --- a/lib/grooveshark/client.rb +++ b/lib/grooveshark/client.rb @@ -89,8 +89,6 @@ module Grooveshark get_song_url_by_id(song.id) end - protected - def get_session_and_country response = RestClient...
Remove protected and private method scopes, TODO: refactor
sosedoff_grooveshark
train
2781714db26fa9934d40d4f9a86c1a82aae27223
diff --git a/tests/_common.py b/tests/_common.py index <HASH>..<HASH> 100644 --- a/tests/_common.py +++ b/tests/_common.py @@ -14,5 +14,11 @@ class TempFolderTest(unittest.TestCase): self.tests_temp_folder = os.path.join(PYGOUNT_PROJECT_FOLDER, "tests", ".temp") os.makedirs(self.tests_temp_folder, exi...
#<I> Added test cases.
roskakori_pygount
train
5bad273214923020a4d58a40676e768d19036e73
diff --git a/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java b/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java +++ b/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java @@ -120,7...
Small refactoring to RemoteWebDriver (#<I>)
SeleniumHQ_selenium
train
03abefbce6d412b9b0491d2b82944648e434c3be
diff --git a/lib/shared/wp-request.js b/lib/shared/wp-request.js index <HASH>..<HASH> 100644 --- a/lib/shared/wp-request.js +++ b/lib/shared/wp-request.js @@ -432,8 +432,6 @@ WPRequest.prototype.auth = function( username, password ) { * @method get * @async * @param {Function} [callback] A callback to invoke with...
Remove invalid docblock parameter definitions for WPRequest methods These methods only take a callback as a function; specifying properties on that function is irrelevant from the client's point of view.
WP-API_node-wpapi
train
92eefa0e097c336c9a87d72de0fea0c8fff39a6d
diff --git a/lib/reel/connection.rb b/lib/reel/connection.rb index <HASH>..<HASH> 100644 --- a/lib/reel/connection.rb +++ b/lib/reel/connection.rb @@ -11,7 +11,6 @@ module Reel TRANSFER_ENCODING = 'Transfer-Encoding'.freeze KEEP_ALIVE = 'Keep-Alive'.freeze CLOSE = 'close'.freeze - ...
Response writer yields the socket to StreamResponse now
celluloid_reel
train
590e6ae47902060dedfadd6075c3f1788f15f5b4
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -18,7 +18,6 @@ const findNKitties = (n) => { } const find = (found, offset, limit) => { - // console.log(`[ INFO ] found ${found} offset ${offset} limit ${limit}`); if (found >= n) { prog...
changed n to <I>
lamdaV_kyst
train
06b0464a84bef1e44f56a25b79409c481ed107ab
diff --git a/src/Spryker/Zed/RabbitMq/Business/Model/Permission/UserPermissionHandlerInterface.php b/src/Spryker/Zed/RabbitMq/Business/Model/Permission/UserPermissionHandlerInterface.php index <HASH>..<HASH> 100644 --- a/src/Spryker/Zed/RabbitMq/Business/Model/Permission/UserPermissionHandlerInterface.php +++ b/src/Spr...
CORE-<I> Fixed code style problems
spryker_rabbit-mq
train
2ff2f6e02918278290095dd153e2af4b28d447a8
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java index <HASH>..<HASH> 100644 --- a/sources/scalac/Global.java +++ b/sources/scalac/Global.java @@ -489,6 +489,8 @@ public class Global { } private StringBuffer append(StringBuffer buffer, Type type) { + return buffer.append(type); +...
- Changed method append to use type.toString
scala_scala
train
d41aff9a9934d8df68de68cb0a2bdb848d0bab59
diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py index <HASH>..<HASH> 100644 --- a/zipline/finance/slippage.py +++ b/zipline/finance/slippage.py @@ -119,10 +119,38 @@ class SlippageModel(object): __metaclass__ = abc.ABCMeta - @abc.abstractmethod - def simulate(self, event, current_o...
ENH: Provide a process_order method to override for custom slippage. To make implementing a custom slippage model more straightforward, provide a simulate method that will setup the calling of `process_order`, which individual slippage models override to do the unique slippage handling, where the simulate method handl...
quantopian_zipline
train
ec828d12672bf129f6760f784b05f57dc5fad532
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_obj.py +++ b/pycm/pycm_obj.py @@ -182,8 +182,8 @@ class ConfusionMatrix(): self.IS = statistic_result["IS"] self.CEN = statistic_result["CEN"] self.MCEN = statistic_result["MCEN"] + self.AUC = ...
fix : minor edit in AUC in object #<I>
sepandhaghighi_pycm
train
ac309095068a598c1ac9dc284c19c43e78ccd462
diff --git a/ospd/parser.py b/ospd/parser.py index <HASH>..<HASH> 100644 --- a/ospd/parser.py +++ b/ospd/parser.py @@ -91,6 +91,10 @@ def create_args_parser(description: str) -> ParserType: return string parser.add_argument( + '--version', action='store_true', help='Print version then exit.' + ...
Move version switch to the top Display version switch info as second item if help is displayed.
greenbone_ospd
train
cf70a12882df45d509e4ae69ef4e4adf9325ca24
diff --git a/src/3setup.js b/src/3setup.js index <HASH>..<HASH> 100644 --- a/src/3setup.js +++ b/src/3setup.js @@ -54,7 +54,7 @@ _3setup = (function() { var options = { key: profile.attributes.public_dev_key, - profile: profile.attributes.name, + profile: profile.attributes.username, fold...
fix bug on setup with name instead of username
3vot_clay
train
953cd6a6bac8d29bbbac679ba5f945a3cd85af77
diff --git a/tests/integrations/test_numbers.py b/tests/integrations/test_numbers.py index <HASH>..<HASH> 100644 --- a/tests/integrations/test_numbers.py +++ b/tests/integrations/test_numbers.py @@ -1,5 +1,7 @@ from unittest import TestCase +from robber.bad_expectation import BadExpectation + from robber import exp...
[r] Manually try/except TestChangeIntegrations
vesln_robber.py
train
83fa4b4e5c388f6537531067b5f015459523ec70
diff --git a/treeherder/model/derived/artifacts.py b/treeherder/model/derived/artifacts.py index <HASH>..<HASH> 100644 --- a/treeherder/model/derived/artifacts.py +++ b/treeherder/model/derived/artifacts.py @@ -87,11 +87,7 @@ class ArtifactsModel(TreeherderModelBase): debug_show=self.DEBUG, ) ...
Bug <I> - Create a utils.py helper for zlib.decompress try-except We have several places where we need to decompress blobs, but have to gracefully handle old data that is not compressed. Let's use a helper function to save repeating the same pattern everywhere.
mozilla_treeherder
train
c7788c3b47f0daaaec735ad25cb83c7db7578c61
diff --git a/importers/FilterImporter.php b/importers/FilterImporter.php index <HASH>..<HASH> 100644 --- a/importers/FilterImporter.php +++ b/importers/FilterImporter.php @@ -3,6 +3,7 @@ namespace admin\importers; use admin\models\StorageEffect; +use admin\models\StorageFilter; class FilterImporter extends \luya...
remove not existing filters, before removing the filter all images for this filter will be deleted. #<I>
luyadev_luya-module-admin
train
183cb468618cd3f6992aa5770a181b28b6e9825a
diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js index <HASH>..<HASH> 100644 --- a/src/MarkerCluster.Spiderfier.js +++ b/src/MarkerCluster.Spiderfier.js @@ -33,7 +33,7 @@ L.MarkerCluster.include({ if (childMarkers.length >= this._circleSpiralSwitchover) { positions = this._generateP...
Removed no longer needed code As pointed out by danzel in #<I>, using CSS transition rather than SMIL makes some code tricks no longer needed.
Leaflet_Leaflet.markercluster
train
caa1dd755090f2ec72b922dbabf3b6e86513fc96
diff --git a/tests/unit/modules/test_network.py b/tests/unit/modules/test_network.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/test_network.py +++ b/tests/unit/modules/test_network.py @@ -33,7 +33,7 @@ class NetworkTestCase(TestCase, LoaderModuleMockMixin): opts, whitelist=["network", "path", "p...
Fix pylint errors introduced by black
saltstack_salt
train
ed4c0a944f56805cffd60784dc78923f6a2a042c
diff --git a/includes/class-freemius.php b/includes/class-freemius.php index <HASH>..<HASH> 100755 --- a/includes/class-freemius.php +++ b/includes/class-freemius.php @@ -6785,6 +6785,44 @@ } /** + * @author Vova Feldman (@svovaf) + * @since 1.2.1.8 + * + * @var string + */ + private static $_p...
[ajax] [bug-fix] Fixed the logic that checks the context page when processing WP AJAX calls (use the referar as the context page).
Freemius_wordpress-sdk
train
0d401d1801351d02436854b6c6ca5ec9251b62c5
diff --git a/app/controllers/rails_admin/main_controller.rb b/app/controllers/rails_admin/main_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/rails_admin/main_controller.rb +++ b/app/controllers/rails_admin/main_controller.rb @@ -87,6 +87,9 @@ module RailsAdmin end @authorization_adap...
Populate new form fields with query params
sferik_rails_admin
train
4c8d2c8c879d97410353a212a8d44bcbf47ca9ea
diff --git a/awss/core.py b/awss/core.py index <HASH>..<HASH> 100755 --- a/awss/core.py +++ b/awss/core.py @@ -291,22 +291,28 @@ def process_results(qry_results): """ i_info = {} for i, j in enumerate(qry_results['Reservations']): + if j['Instances'][0]['State']['Name'] == 'terminated': + ...
Added code to process_results to ignore instances that have a state of ‘terminated’ Also moved the tag sub-dictionary creation to separate func
robertpeteuil_aws-shortcuts
train
ae0326702f4309eb81da907936319c71c04e1c5d
diff --git a/microraiden/microraiden/client/http_client.py b/microraiden/microraiden/client/http_client.py index <HASH>..<HASH> 100644 --- a/microraiden/microraiden/client/http_client.py +++ b/microraiden/microraiden/client/http_client.py @@ -1,5 +1,5 @@ import logging -from typing import Any +from typing import Tuple...
added `on_http_response()` method to the http client
raiden-network_microraiden
train
0ccb60ecf03cfee3b82aa5123ed5c2f884fab2ec
diff --git a/troposphere/rds.py b/troposphere/rds.py index <HASH>..<HASH> 100644 --- a/troposphere/rds.py +++ b/troposphere/rds.py @@ -14,7 +14,7 @@ from .validators import boolean, network_port, integer, positive_integer VALID_STORAGE_TYPES = ('standard', 'gp2', 'io1') VALID_DB_ENGINES = ('MySQL', 'oracle-se1', 'ora...
Add mariadb to list of RDS engines
cloudtools_troposphere
train
e67ef95d5b7fa1cd00093f89b783ca07ce41d548
diff --git a/src/Mailgun/Api/HttpApi.php b/src/Mailgun/Api/HttpApi.php index <HASH>..<HASH> 100644 --- a/src/Mailgun/Api/HttpApi.php +++ b/src/Mailgun/Api/HttpApi.php @@ -12,6 +12,7 @@ namespace Mailgun\Api; use Http\Client\Exception as HttplugException; use Http\Client\HttpClient; use Mailgun\Deserializer\ResponseD...
Avoid fatal error when deserializing unauthorized requests (#<I>)
mailgun_mailgun-php
train
c45f6c762134ff3590f5af53c2a3ed9d3451bfb7
diff --git a/code/tasks/RecalculateAllOrdersTask.php b/code/tasks/RecalculateAllOrdersTask.php index <HASH>..<HASH> 100644 --- a/code/tasks/RecalculateAllOrdersTask.php +++ b/code/tasks/RecalculateAllOrdersTask.php @@ -7,25 +7,31 @@ class RecalculateAllOrdersTask extends BuildTask { protected $title = "Recalcula...
MINOR improvements to RecalculatedOrderTask
silvershop_silvershop-core
train
780923a68a020ceed425b97844253d854ad68ef2
diff --git a/src/main/java/com/ning/billing/recurly/RecurlyClient.java b/src/main/java/com/ning/billing/recurly/RecurlyClient.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/ning/billing/recurly/RecurlyClient.java +++ b/src/main/java/com/ning/billing/recurly/RecurlyClient.java @@ -32,6 +32,8 @@ import org.slf4...
Add ajustments management (cherry picked from commit <I>d7c<I>e3bb<I>de0f7a<I>a0bc8dea) Conflicts: src/main/java/com/ning/billing/recurly/RecurlyClient.java src/main/java/com/ning/billing/recurly/model/Adjustments.java
killbilling_recurly-java-library
train
f1098d8eb3af8422a4e231de118453fbbad28c24
diff --git a/pyoos/parsers/ioos/one/describe_sensor.py b/pyoos/parsers/ioos/one/describe_sensor.py index <HASH>..<HASH> 100644 --- a/pyoos/parsers/ioos/one/describe_sensor.py +++ b/pyoos/parsers/ioos/one/describe_sensor.py @@ -60,10 +60,10 @@ class NetworkDS(DescribeSensor): self.procedures = [] t...
Return full procedure and variable paths in all cases
ioos_pyoos
train
13a5fb12d9557c0f60594605a879fc4c591817da
diff --git a/itests/common/src/main/java/org/wildfly/camel/test/common/docker/DockerCommand.java b/itests/common/src/main/java/org/wildfly/camel/test/common/docker/DockerCommand.java index <HASH>..<HASH> 100644 --- a/itests/common/src/main/java/org/wildfly/camel/test/common/docker/DockerCommand.java +++ b/itests/common...
Pull args up to DockerCommand
wildfly-extras_wildfly-camel
train
daec2b23bb97c41f125437651aa9b551b3bf9673
diff --git a/pymc3/tests/test_ndarray_backend.py b/pymc3/tests/test_ndarray_backend.py index <HASH>..<HASH> 100644 --- a/pymc3/tests/test_ndarray_backend.py +++ b/pymc3/tests/test_ndarray_backend.py @@ -47,11 +47,9 @@ class TestMultiTrace(bf.ModelBackendSetupTestCase): shape = () def setUp(self): - s...
Remove unnecessary code from ndarray test In addition to not having an effect on the test, it is misleading because the whole point of the test is that the chains are the same.
pymc-devs_pymc
train
b87f444e287c01c5dbe1e369a778e7b09b0d920b
diff --git a/djangocms_spa/views.py b/djangocms_spa/views.py index <HASH>..<HASH> 100644 --- a/djangocms_spa/views.py +++ b/djangocms_spa/views.py @@ -80,10 +80,13 @@ class SingleObjectSpaMixin(MetaDataMixin, ObjectPermissionMixin, SingleObjectMix return data -@method_decorator(cache_view, name='dispatch')...
Use decorator on dispatch We need to use a decorator because SpaApiView is subclassed.
dreipol_djangocms-spa
train
81da880f97a8be9a8fa039379d0f3457c7b7acb1
diff --git a/go/vt/worker/split_clone.go b/go/vt/worker/split_clone.go index <HASH>..<HASH> 100644 --- a/go/vt/worker/split_clone.go +++ b/go/vt/worker/split_clone.go @@ -800,7 +800,7 @@ func (scw *SplitCloneWorker) clone(ctx context.Context, state StatusWorkerState) } else { // Pick any healthy serving source tab...
worker: Use only healthy tablets to get the schema. This was the case before until I've introduced a regression in commit f8bd<I>d<I>b5e9b<I>aa9b5b<I>aba5c2e<I>.
vitessio_vitess
train
cfd58d87337308b5a2e16c560740f6208dc85962
diff --git a/vendor/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go b/vendor/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go index <HASH>..<HASH> 100644 --- a/vendor/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go +++ b/vendor/k8s.io/kubernetes/cmd/ku...
UPSTREAM: <I>: Use an interface in lock election
openshift_origin
train
ea260c981e9ec69809b83dd0f0e547800805e15c
diff --git a/src/Executor/Messenger.php b/src/Executor/Messenger.php index <HASH>..<HASH> 100644 --- a/src/Executor/Messenger.php +++ b/src/Executor/Messenger.php @@ -41,7 +41,7 @@ class Messenger if (getenv('GITHUB_WORKFLOW')) { $this->output->writeln("::group::task {$task->getName()}"); ...
Gitlab ci support (#<I>) * Adding gitlab collapsible tasks support. * remove patch. * Useing the no spaces start timestamp as the 'section_name' so we don't have to slugify it. * Changing O to 0.
deployphp_deployer
train
32b87b501819d166df455a175ec0605ff105a6d1
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -27,7 +27,6 @@ describe('HTTP Errors', function () { it('should have a proper code property', function (done) { var error = new errors.NotFoundError('Testing'); error.should.have.property('code'); - e...
These fields are enumerable
jproulx_node-http-error
train
a6c6c7f58f241c00ad203b4d1c7a59d9ea2284b3
diff --git a/lib/ethereum/fast_vm.rb b/lib/ethereum/fast_vm.rb index <HASH>..<HASH> 100644 --- a/lib/ethereum/fast_vm.rb +++ b/lib/ethereum/fast_vm.rb @@ -5,6 +5,96 @@ require 'ethereum/fast_vm/message' require 'ethereum/fast_vm/state' module Ethereum - class VM + class FastVM + + STACK_MAX = 1024 + + START...
optimize preprocess_code by code chunks
cryptape_ruby-ethereum
train
12acdc1396e69b886f5f2538e476b7e3ca3d2301
diff --git a/src/classes/Form.php b/src/classes/Form.php index <HASH>..<HASH> 100644 --- a/src/classes/Form.php +++ b/src/classes/Form.php @@ -7,6 +7,8 @@ namespace BFW; +use \Exception; + /** * Permet de gérer les formulaire (gestion des tokens) * @package bfw @@ -16,12 +18,12 @@ class Form implements \BFWI...
Add unit test for Form class and rename Form methods.
bfw-systems_bfw
train
0c2b55754cd5ffbb5dbf571ea939084945018cb1
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -29,15 +29,28 @@ if __name__ == '__main__': os.environ['PEEWEE_TEST_VERBOSITY'] = str(options.verbosity) import tests - from playhouse import tests as extras_tests, tests_apsw, tests_postgres - ...
Cleaning up the test imports to avoid errors when modules are missing
coleifer_peewee
train
f93be98b04a145638d71fdebbc0a2263ab879924
diff --git a/DataFixtures/ORM/LoadShopData.php b/DataFixtures/ORM/LoadShopData.php index <HASH>..<HASH> 100644 --- a/DataFixtures/ORM/LoadShopData.php +++ b/DataFixtures/ORM/LoadShopData.php @@ -13,8 +13,8 @@ namespace WellCommerce\Bundle\ShopBundle\DataFixtures\ORM; use Doctrine\Common\Persistence\ObjectManager; -...
Optimized imports (cherry picked from commit e4c<I>de<I>a7a<I>a3b8af<I>e<I>fea9d<I>f3f7c1b)
WellCommerce_CouponBundle
train
60b5053814e0fdda8a41f0220ba9b3ba4b28e044
diff --git a/integration/ledger/snapshot_test.go b/integration/ledger/snapshot_test.go index <HASH>..<HASH> 100644 --- a/integration/ledger/snapshot_test.go +++ b/integration/ledger/snapshot_test.go @@ -196,7 +196,7 @@ var _ bool = Describe("Snapshot Generation and Bootstrap", func() { By("verifying snapshot compl...
Update location of snapshots folder in IT FAB-<I> #done
hyperledger_fabric
train
659e0000d64449e261a149d53ef20bfc015e16e7
diff --git a/test/test_autopep8.py b/test/test_autopep8.py index <HASH>..<HASH> 100755 --- a/test/test_autopep8.py +++ b/test/test_autopep8.py @@ -4096,6 +4096,24 @@ else: with autopep8_context(line, options=['-aaa']) as result: self.assertEqual(fixed, result) + def test_w503_with_comment_dou...
more test case for w<I>
hhatto_autopep8
train
3b042a95699c28158b9f09773131b38602e15e44
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,17 @@ # $Id$ +import os from setuptools import find_packages +_this_dir = os.path.dirname(__file__) +_long_description = open(os.path.join(_this_dir, 'README.txt')).read().strip() + setup_params = di...
Fixed issue where setup.py wasn't working when not run from the current directory --HG-- extra : convert_revision : svn%3A<I>dc<I>ec-c<I>e-<I>f-a8c6-c1e<I>a<I>e/trunk%<I>
jaraco_svg.charts
train
3001f239452677cff03e51936eb79d4e43d28c1d
diff --git a/android-pay/src/main/java/com/stripe/wrap/pay/AndroidPayConfiguration.java b/android-pay/src/main/java/com/stripe/wrap/pay/AndroidPayConfiguration.java index <HASH>..<HASH> 100644 --- a/android-pay/src/main/java/com/stripe/wrap/pay/AndroidPayConfiguration.java +++ b/android-pay/src/main/java/com/stripe/wra...
changing from variable-functionality getInstance to an init in the androidpayconfig (#<I>)
stripe_stripe-android
train
23f946b8c8bb19409f23d0e3c007c1255b594b48
diff --git a/nscale.js b/nscale.js index <HASH>..<HASH> 100755 --- a/nscale.js +++ b/nscale.js @@ -36,8 +36,15 @@ var tableChars = { 'top': '' , 'top-mid': '' , 'top-left': '' , 'top-right': '', 'left': '' , 'left-mid': '' , 'mid': '' , 'mid-mid': '', 'right': '' , 'right-mid': '...
Add a single exit point Keep track of whether the callback was called and throw an error if it wasn't. Employ 'it worked if it ends with ok'.
nearform_nscale-client
train
987023e56ccba73baaa0d588b080c246552aa59e
diff --git a/lib/c2s/server.js b/lib/c2s/server.js index <HASH>..<HASH> 100644 --- a/lib/c2s/server.js +++ b/lib/c2s/server.js @@ -63,6 +63,9 @@ C2SServer.prototype._setupAutoStart = function() { this.c2sPort = net.createServer(function(inStream) { this.acceptConnection(inStream) }.bind(this)).listen...
pipe close, end & error events from c2sPort to C2SServer
xmppjs_xmpp.js
train
2587bda05e649d6ba29663998a19dab78162f9d7
diff --git a/spec/environment_fixture_setup.rb b/spec/environment_fixture_setup.rb index <HASH>..<HASH> 100644 --- a/spec/environment_fixture_setup.rb +++ b/spec/environment_fixture_setup.rb @@ -1,5 +1,6 @@ require "rubygems" require "spec" +require "spec/autorun" dir = File.dirname(__FILE__) $LOAD_PATH.unshift "#{...
Fixed spec autorun for latest version of rspec.
rr_rr
train
80cfef012d4c8b7a709c6486b427ca76c3403131
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -71,6 +71,9 @@ module.exports = function (options) { } cp.on('error', function (err) { + // TODO: remove when gulp has fixed error handling + gutil.log('[gulp-ruby-sass] ' + err); + self.emit('error', new ...
add some error logging - closes #<I> since users don't seem to read the docs and understand the current gulp error handling
sindresorhus_gulp-ruby-sass
train
f9f69237d0b50f3c5a3eace3c1fe909ed0059150
diff --git a/ssoadmin/client.go b/ssoadmin/client.go index <HASH>..<HASH> 100644 --- a/ssoadmin/client.go +++ b/ssoadmin/client.go @@ -65,7 +65,7 @@ func NewClient(ctx context.Context, c *vim25.Client) (*Client, error) { filter := &ltypes.LookupServiceRegistrationFilter{ ServiceType: &ltypes.LookupServiceRegistrat...
Move to cs.identity service type for sso admin endpoint The "sso:admin" service type is obsolete, update to "cs.identity".
vmware_govmomi
train
b283d9c24df06574b2848b3253fbca1ac4c428e7
diff --git a/restclients/catalyst/__init__.py b/restclients/catalyst/__init__.py index <HASH>..<HASH> 100644 --- a/restclients/catalyst/__init__.py +++ b/restclients/catalyst/__init__.py @@ -10,8 +10,6 @@ class Catalyst(object): def parse_grade_data(self, app, content): data = json.loads(content) - ...
Adding a test, and fixing 2 bugs exposed by it git-svn-id: <URL>
uw-it-aca_uw-restclients
train
30181887a6208f072f9df1c186c86b3d53992837
diff --git a/synapse/tests/test_axon.py b/synapse/tests/test_axon.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_axon.py +++ b/synapse/tests/test_axon.py @@ -278,6 +278,27 @@ class AxonTest(SynTest): self.eq(1, stat.get('files')) self.eq(8, stat.get('bytes')) + ...
Add a test showing the behavior for saving a file twice.
vertexproject_synapse
train
fe6bbafa96da13f68c0c9d664768576f11d4885c
diff --git a/src/DocBlox/Core/Application.php b/src/DocBlox/Core/Application.php index <HASH>..<HASH> 100644 --- a/src/DocBlox/Core/Application.php +++ b/src/DocBlox/Core/Application.php @@ -27,7 +27,6 @@ class DocBlox_Core_Application */ public function main() { - require_once 'Image/GraphViz.php'; r...
Load Image_Graphviz in DocBlox/Transformer/Writer/Graph.php
phpDocumentor_phpDocumentor2
train
cddd6ccb851e5ba80d07a57e4065d2ef377665f1
diff --git a/tests/unit/src/Engine/Solr/SolrAdapterTest.php b/tests/unit/src/Engine/Solr/SolrAdapterTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/src/Engine/Solr/SolrAdapterTest.php +++ b/tests/unit/src/Engine/Solr/SolrAdapterTest.php @@ -19,11 +19,11 @@ class SolrAdapterTest extends PHPUnit_Framework_TestCase ...
<I> - String namespaces changed with class static method invocation.
g4code_data-mapper
train
fb632a86faf4a762a6fb5fd61e63429b997a408f
diff --git a/estnltk/storage/postgres/collection.py b/estnltk/storage/postgres/collection.py index <HASH>..<HASH> 100755 --- a/estnltk/storage/postgres/collection.py +++ b/estnltk/storage/postgres/collection.py @@ -3,7 +3,6 @@ import json import pandas from contextlib import contextmanager import collections -from i...
inlined PgCollection._select into PgCollection.select
estnltk_estnltk
train
1aa3a2bae1c1bfe2048aa012ac48bd2b74226e9a
diff --git a/XPathFunctions/Lyquidity/iterators/XBRLFilterMemberDRS.php b/XPathFunctions/Lyquidity/iterators/XBRLFilterMemberDRS.php index <HASH>..<HASH> 100644 --- a/XPathFunctions/Lyquidity/iterators/XBRLFilterMemberDRS.php +++ b/XPathFunctions/Lyquidity/iterators/XBRLFilterMemberDRS.php @@ -303,7 +303,7 @@ class XBR...
Changes to accommodate additional restrictions imposed by PHP <I>
bseddon_XBRL
train
2b9351ca6efc6a9502ac705066effa9a0f81dd83
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ and run `composer install` to get the latest version of the package. ```php require_once('vendor/autoload.php'); -use Scriptotek\SruClient; +use Scriptotek\Sru\Client as SruClient; $url = 'http://sru....
Add numberOfRecords() to Records, and make sure it's available from start
scriptotek_php-sru-client
train
f8f637c9b3355a543f2663ea7882baa18eb4e08e
diff --git a/src/test/java/edu/jhu/pacaya/autodiff/erma/ErmaBpBackwardTest.java b/src/test/java/edu/jhu/pacaya/autodiff/erma/ErmaBpBackwardTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/edu/jhu/pacaya/autodiff/erma/ErmaBpBackwardTest.java +++ b/src/test/java/edu/jhu/pacaya/autodiff/erma/ErmaBpBackwardTest.ja...
Removing extra calls to Prng.seed
mgormley_pacaya
train
ad2650af3873689dfce0fe23f6d2534572fb0de2
diff --git a/aiger/aig.py b/aiger/aig.py index <HASH>..<HASH> 100644 --- a/aiger/aig.py +++ b/aiger/aig.py @@ -331,7 +331,7 @@ class AIG: f.write(repr(self)) def _modify_leafs(self, func): - @fn.memoize + @fn.memoize(key_func=id) def _mod(node): if isinstance(node...
Compose using key_func=id to avoid expensive hashing.
mvcisback_py-aiger
train
8e8bdad8e6619fdfcb6318dea83f6af197c52cdb
diff --git a/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java b/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java index <HASH>..<HASH> 100644 --- a/config/src/main/jav...
SEC-<I>: Remove stack for AuthenticationManagerBuilder with no authenticationProviders
spring-projects_spring-security
train
0c72ae8712573059abed934d39439d392de267ba
diff --git a/ddl/bg_worker_test.go b/ddl/bg_worker_test.go index <HASH>..<HASH> 100644 --- a/ddl/bg_worker_test.go +++ b/ddl/bg_worker_test.go @@ -46,7 +46,7 @@ func (s *testDDLSuite) TestDropSchemaError(c *C) { c.Check(err, IsNil) d.startBgJob(job.Type) - time.Sleep(testLease * 3) + time.Sleep(testLease * 6) v...
ddl: increase sleep time (#<I>)
pingcap_tidb
train
5767fcac7ef908ff2b0278d1033580697763d6fa
diff --git a/liquibase-core/src/main/java/liquibase/change/core/AddAutoIncrementChange.java b/liquibase-core/src/main/java/liquibase/change/core/AddAutoIncrementChange.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/change/core/AddAutoIncrementChange.java +++ b/liquibase-core/src/main/java...
Fix for broken PostgreSQL AddAutoIncrementChange SQL code generation (sequence schema) (cherry picked from commit <I>f<I>fc)
liquibase_liquibase
train
0a29ed6794723d4eac7da9ac005611d17ac3a627
diff --git a/moment.js b/moment.js index <HASH>..<HASH> 100644 --- a/moment.js +++ b/moment.js @@ -561,6 +561,12 @@ isDST : function () { return this.zone() !== moment([this.year()]).zone(); + }, + + day : function (input) { + var day = this._d.getDay(); + ret...
Adding `moment.fn.day` as a setter. See #<I>
moment_moment
train
3f5caf21c70804fd9f6d95e33f1d931b1eca1a2d
diff --git a/lib/mongoid/document.rb b/lib/mongoid/document.rb index <HASH>..<HASH> 100644 --- a/lib/mongoid/document.rb +++ b/lib/mongoid/document.rb @@ -110,7 +110,7 @@ module Mongoid #:nodoc: # Generate an id for this +Document+. def identify - Identity.create(self) + Identity.new(self).create ...
Refactoring identity to be more testable for later features
mongodb_mongoid
train
c50cde52f85000926a73a8fd0bc650114bf555df
diff --git a/pysasl/mechanisms/oauth.py b/pysasl/mechanisms/oauth.py index <HASH>..<HASH> 100644 --- a/pysasl/mechanisms/oauth.py +++ b/pysasl/mechanisms/oauth.py @@ -85,8 +85,11 @@ class OAuth2Mechanism(ServerMechanism, ClientMechanism): challenge = challenges[0].data else: raise Une...
Do not reply to XOAUTH2 errors
icgood_pysasl
train
22296c7d03cbfe2294dfcd8454bf18625a7643aa
diff --git a/sovrin_client/test/cli/test_command_reg_ex.py b/sovrin_client/test/cli/test_command_reg_ex.py index <HASH>..<HASH> 100644 --- a/sovrin_client/test/cli/test_command_reg_ex.py +++ b/sovrin_client/test/cli/test_command_reg_ex.py @@ -208,6 +208,14 @@ def testProofReqRegEx(grammar): assertCliTokens(matched...
First impl of send proof request.py
hyperledger-archives_indy-client
train