hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
e92508528ebb01163b7eb73d1801d188191ab596
diff --git a/time/timeslice/timeslice_test.go b/time/timeslice/timeslice_test.go index <HASH>..<HASH> 100644 --- a/time/timeslice/timeslice_test.go +++ b/time/timeslice/timeslice_test.go @@ -1,7 +1,6 @@ package timeslice import ( - "fmt" "sort" "strings" "testing" @@ -112,7 +111,6 @@ var timeRangeTests = []st...
cleanup: time/timeslice: remove test print statements
grokify_gotilla
train
ff5d902a3d434bcbd918ed6de490a92e37398944
diff --git a/externs/html5.js b/externs/html5.js index <HASH>..<HASH> 100644 --- a/externs/html5.js +++ b/externs/html5.js @@ -3201,21 +3201,6 @@ IThenable.prototype.then = function(opt_onFulfilled, opt_onRejected) {}; var Promise = function(resolver) {}; -/** - * @param {TYPE=} opt_value - * @return {!Promise.<TY...
Automated g4 rollback of changelist <I>. *** Reason for rollback *** Breaks compilation or projects without html5 extern. *** Original change description *** Implement nextTick in terms of Promise where availale. *** ------------- Created by MOE: <URL>
google_closure-compiler
train
5c2b738425fd5c5b073771d61fef020397ffce31
diff --git a/src/printer.js b/src/printer.js index <HASH>..<HASH> 100644 --- a/src/printer.js +++ b/src/printer.js @@ -2798,6 +2798,9 @@ function printNode(path, options, print) { linebreak = flexible ? hardline : literalline; const lines = parentParent.raw.split(/\r?\n/g); closingTagIn...
Fix wrong heredoc indentation in calls (#<I>) * Fix wrong heredoc indentation in calls * Snapshots
prettier_plugin-php
train
76f642e790c52d18b5a672a0c17e2b7be290a241
diff --git a/test/app_test_methods.rb b/test/app_test_methods.rb index <HASH>..<HASH> 100644 --- a/test/app_test_methods.rb +++ b/test/app_test_methods.rb @@ -40,7 +40,7 @@ module AppTestMethods Dir[File.expand_path("#{activity_dir}/*", File.dirname(__FILE__))].each do |file| # FIXME(uwe): Remove when we s...
Avoid RSS test in Android <I> on Linux emulator
ruboto_ruboto
train
c09e9aaea39235245e27a7f14643b9d16901ab37
diff --git a/karma.conf.js b/karma.conf.js index <HASH>..<HASH> 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,9 +1,19 @@ /*global module process */ var specsFiles = require('./scripts/findSpecs')("bin/gen/test/", "test") var findRefs = require('./scripts/findRefs') - +var _ = require('lodash') var coreIncl...
fix karma src includes.
SAP_chevrotain
train
79968e5d2ffdbdfbb89235d591c37af57c59d446
diff --git a/cluster.go b/cluster.go index <HASH>..<HASH> 100644 --- a/cluster.go +++ b/cluster.go @@ -296,16 +296,16 @@ func (c *cluster) unprotectedIsCoordinator() bool { // nodes with its version of Cluster.Status. func (c *cluster) setCoordinator(n *Node) error { c.mu.Lock() + defer c.mu.Unlock() // Verify th...
fix unlocked access to cluster.nodes
pilosa_pilosa
train
105f1e6b640b3fa4f406c97c111223575612c451
diff --git a/p2p/protocol/identify/id.go b/p2p/protocol/identify/id.go index <HASH>..<HASH> 100644 --- a/p2p/protocol/identify/id.go +++ b/p2p/protocol/identify/id.go @@ -273,6 +273,7 @@ func (ids *IDService) loop() { // Close shuts down the IDService func (ids *IDService) Close() error { ids.ctxCancel() + ids.obse...
close the ObserverAddrManager when the ID service is closed
libp2p_go-libp2p
train
a5df506bd32e61daed16f9fc5bc134347958fa39
diff --git a/core/peer/peer.go b/core/peer/peer.go index <HASH>..<HASH> 100644 --- a/core/peer/peer.go +++ b/core/peer/peer.go @@ -9,6 +9,7 @@ import ( "github.com/ipfs/go-cid" ic "github.com/libp2p/go-libp2p-core/crypto" b58 "github.com/mr-tron/base58/base58" + mc "github.com/multiformats/go-multicodec" mh "gi...
fix: switch to go-multicodec mappings (#<I>) The mappings in go-cid were maintained by hand and are invalid. More details in <URL>
libp2p_go-libp2p
train
54f0d9647fccb28bac33a8087a8f692b52e544c4
diff --git a/vertx-mssql-client/src/test/java/io/vertx/mssqlclient/impl/MSSQLConnectionUriParserTest.java b/vertx-mssql-client/src/test/java/io/vertx/mssqlclient/impl/MSSQLConnectionUriParserTest.java index <HASH>..<HASH> 100644 --- a/vertx-mssql-client/src/test/java/io/vertx/mssqlclient/impl/MSSQLConnectionUriParserTe...
MSSQL URI Parser: added test for circumflex
reactiverse_reactive-pg-client
train
9d12675bcb85b53a3dcc4c5e0c999a069c96b46e
diff --git a/lib/Alchemy/Phrasea/Controller/Prod/MoveCollection.php b/lib/Alchemy/Phrasea/Controller/Prod/MoveCollection.php index <HASH>..<HASH> 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/MoveCollection.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/MoveCollection.php @@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\C...
Fix #<I> : Move story children as long as story
alchemy-fr_Phraseanet
train
d3ea606d71284cdbe8f758ff7e0c59a450421c4e
diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -235,7 +235,7 @@ class Command(object): """ if bootdev not in boot_devices: return {'error': "Unknown bootdevice %s requested" % bootdev} -...
Correct return value of set_bootdev command would return a number rather than a string for set_bootdev. Correct this by returning the string passed in on success rather than the resulting number. Change-Id: I8e<I>b1ac9d<I>abe6b<I>e<I>b<I>ef<I>d
openstack_pyghmi
train
e8e396e557adb25978f924dc4d66c571e9fc3b71
diff --git a/repository/javascript.php b/repository/javascript.php index <HASH>..<HASH> 100644 --- a/repository/javascript.php +++ b/repository/javascript.php @@ -407,9 +407,11 @@ _client.print_header = function() { _client.makepath(); } _client.print_footer = function() { - var panel = new YAHOO.util.Element...
"MDL-<I>, update for YUI <I>"
moodle_moodle
train
76ef26ced95cecc92c3efb13d5d5235e0746b92f
diff --git a/Test/IssueTest.php b/Test/IssueTest.php index <HASH>..<HASH> 100644 --- a/Test/IssueTest.php +++ b/Test/IssueTest.php @@ -57,4 +57,25 @@ class IssueTest extends \PHPUnit_Framework_TestCase 'issue-48/views/view.ctp' )); } + + public function testIssue44() + { + + $jad...
Added a test for #<I>
Talesoft_tale-pug
train
4e3ad26b24fe4d0ed5b117a86de40cb818a7c614
diff --git a/pyVmomi/SoapAdapter.py b/pyVmomi/SoapAdapter.py index <HASH>..<HASH> 100644 --- a/pyVmomi/SoapAdapter.py +++ b/pyVmomi/SoapAdapter.py @@ -1393,6 +1393,12 @@ class SoapStubAdapter(SoapStubAdapterBase): pass conn.connect = ConnectDisableNagle +## Need to override the depcopy me...
PyVmomi: Override __deepcopy__ method of SoapStuAdapter Currently, we cannot deepcopy managed objects because managed objects have a threading lock (in the soap stub) which is an un(deep)copyable object. Hence, overriding the __deepcopy__ to fix this
vmware_pyvmomi
train
c5c8842dc7040ccf6f5f0611ec9a7f6e7ed25766
diff --git a/lockr.js b/lockr.js index <HASH>..<HASH> 100644 --- a/lockr.js +++ b/lockr.js @@ -130,9 +130,13 @@ Lockr.getAll = function () { var keys = Object.keys(localStorage); + + keys = keys.filter(function (key) { + return key.indexOf(Lockr.prefix) !== -1 + }); return keys.map(funct...
Take prefix into account in getAll-function
tsironis_lockr
train
a424acb61a48d2b5263454b81a6eb4f45685e877
diff --git a/lib/deas-erubis.rb b/lib/deas-erubis.rb index <HASH>..<HASH> 100644 --- a/lib/deas-erubis.rb +++ b/lib/deas-erubis.rb @@ -16,6 +16,7 @@ module Deas::Erubis :eruby => self.opts['eruby'], :cache => self.opts['cache'], :deas_source => self.opts['deas_template_source'], +...
`'helpers'` opt - include custom template helpers on context class This adds an option to add in custom template helpers to the context class used to render templates. Use this to bring in 3rd-party template helpers and render using them.
redding_deas-erubis
train
d6c7d80219825d0711bce5b5250f4747eeb416e7
diff --git a/lib/jiralicious/project.rb b/lib/jiralicious/project.rb index <HASH>..<HASH> 100644 --- a/lib/jiralicious/project.rb +++ b/lib/jiralicious/project.rb @@ -108,7 +108,7 @@ module Jiralicious # def versions(expand = {}) if @versions.nil? || !expand.empty? - @versions = self.class.verio...
fixing typo in project and adding test on it
dorack_jiralicious
train
4ee3af35e3a7fb13a0fbfa6aad110c22e36593ff
diff --git a/xdt-transform.js b/xdt-transform.js index <HASH>..<HASH> 100644 --- a/xdt-transform.js +++ b/xdt-transform.js @@ -2,7 +2,7 @@ var path = require('path'), exec = require('child_process').exec; -var ctt = 'bin/ctt.exe'; +var cttExe = 'bin/ctt.exe'; var XdtTransform = function () { }; @@ -15,12 +...
Fixed bug in xdt-transform.js. If you attempted to do multiple transforms in a row then the ctt variable would be incorrect as it would not reset between transforms and would append the __dirname to itself multiple times.
steinringer_xdt-transform
train
264dc9f3b8367417970227b0cae9a7aedc9be199
diff --git a/re-grid/src/body/cells/cells.js b/re-grid/src/body/cells/cells.js index <HASH>..<HASH> 100644 --- a/re-grid/src/body/cells/cells.js +++ b/re-grid/src/body/cells/cells.js @@ -72,7 +72,7 @@ class EditableCell extends Component{ function Cell(props) { - if(props.editing && props.editing.enabled){ + ...
created toggle to switch between edit mode and view mode when double clicking a row.
NourEldin275_reGrid
train
9e6747fe5e65006765a57f10064e562f8dce5b17
diff --git a/lib/integer.js b/lib/integer.js index <HASH>..<HASH> 100644 --- a/lib/integer.js +++ b/lib/integer.js @@ -147,7 +147,6 @@ export default class Integer { */ readBits_(bytes, i=0) { let binary = ''; - let j = 0; for (let j = 0; j < this.offset; j++) { let bits = bytes[i + j].toStri...
Remove unused declaration in Integer.readBits_()
rochars_byte-data
train
e2430e5ad60ac1818d0654fbf1a1eed834a6d37b
diff --git a/commands/v2/bind_running_security_group_command.go b/commands/v2/bind_running_security_group_command.go index <HASH>..<HASH> 100644 --- a/commands/v2/bind_running_security_group_command.go +++ b/commands/v2/bind_running_security_group_command.go @@ -10,7 +10,7 @@ import ( type BindRunningSecurityGroupCo...
somehow these tests didn't get merged in
cloudfoundry_cli
train
596c991c0bbcb37a6220d8d9991cf903c0a7c543
diff --git a/tests/unit/modules/zfs_test.py b/tests/unit/modules/zfs_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/modules/zfs_test.py +++ b/tests/unit/modules/zfs_test.py @@ -369,6 +369,28 @@ class ZfsTestCase(TestCase): with patch.dict(zfs.__salt__, {'cmd.run_all': mock_cmd}): self.assert...
added unit tests for zfs.holds
saltstack_salt
train
5d19a008ce4ea633b2002404df1e6b6be298f886
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -125,3 +125,4 @@ IMPROVEMENTS: - added `HTTPClient` interface, which can be used for both `ClientURI` and `ClientJSONRPC` - all params are now optional (Golang's default will be used if some param is missing) +- added `...
add Call method to WSClient, which does proper encoding of params
tendermint_tendermint
train
9fe4ad444d1e27e9369c7ed7a5c5ba9533bfd1a6
diff --git a/pyte/paragraph.py b/pyte/paragraph.py index <HASH>..<HASH> 100644 --- a/pyte/paragraph.py +++ b/pyte/paragraph.py @@ -127,13 +127,6 @@ class Line(list): return 0 # replace tabs with spacers or fillers - def expand_tabs(items): - for item in items: - ...
move utility functions to bottom of page, and fix a bug in stretch_spaces()
brechtm_rinohtype
train
61c6085651562c6458bafb4e8aae5169b6cdb588
diff --git a/builder/googlecompute/builder.go b/builder/googlecompute/builder.go index <HASH>..<HASH> 100644 --- a/builder/googlecompute/builder.go +++ b/builder/googlecompute/builder.go @@ -77,10 +77,11 @@ func (b *Builder) Run(ctx context.Context, ui packer.Ui, hook packer.Hook) (pack Debug: b.config.PackerDebug,...
final fix to make service account impersonation work with iap tunnels (#<I>)
hashicorp_packer
train
45fe2a5b44ee7773ca67076c4f49680b2075572a
diff --git a/lib/acquire.js b/lib/acquire.js index <HASH>..<HASH> 100644 --- a/lib/acquire.js +++ b/lib/acquire.js @@ -8,84 +8,71 @@ // object. // // This function is fully asynchronous, and returns a `node.Promise`. If - // you want synchronicity, use `Promise.wait()`. + // you want synchronicity...
Split `acquire()`’s implementation into three different private functions
ELLIOTTCABLE_from
train
14d8c85baaa5fee2a68642666c52b40acadaa468
diff --git a/test/test_test.py b/test/test_test.py index <HASH>..<HASH> 100644 --- a/test/test_test.py +++ b/test/test_test.py @@ -42,7 +42,7 @@ class MotorTestTest(unittest.TestCase): done() def test_timeout(self): - self.pause_delta = datetime.timedelta(seconds=10) + self.pause_delta = d...
Continue debugging test failure in Jenkins
mongodb_motor
train
e2f70a10f9026f01e4ec54e1fe08646431d5d6b6
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -309,16 +309,6 @@ def nearest_neighbors( "Metric is neither callable, " + "nor a recognised string" ) - if metric in ( - "cosine", - ...
explicitly set self.anguar_rp_forest in _validate_parameters rather than nearest_neighbors
lmcinnes_umap
train
04164fe125fb4cf0ed517e1a8808716587a7371d
diff --git a/application-configuration/src/test/java/org/wisdom/configuration/ApplicationConfigurationTest.java b/application-configuration/src/test/java/org/wisdom/configuration/ApplicationConfigurationTest.java index <HASH>..<HASH> 100644 --- a/application-configuration/src/test/java/org/wisdom/configuration/Applicat...
Fix build now that we are launching the full reactor
wisdom-framework_wisdom
train
9284749cb51f7972130c6dbc665737af49754859
diff --git a/externs/webkit_dom.js b/externs/webkit_dom.js index <HASH>..<HASH> 100644 --- a/externs/webkit_dom.js +++ b/externs/webkit_dom.js @@ -135,9 +135,9 @@ Console.prototype.dir = function(value) {}; Console.prototype.dirxml = function(var_args) {}; /** - * @param {*} value + * @return {undefined} */ -Cons...
Remove parameter from console.trace() to match reality. R=acleung DELTA=3 (0 added, 0 deleted, 3 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=<I> git-svn-id: <URL>
google_closure-compiler
train
28921e1334646e7f105d56d5f0f1291c7afa0e0b
diff --git a/src/scs_core/aws/client/rest_client.py b/src/scs_core/aws/client/rest_client.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/client/rest_client.py +++ b/src/scs_core/aws/client/rest_client.py @@ -69,7 +69,7 @@ class RESTClient(object): return response - def post(self, path, payload_jd...
Fixed a type casting issue in I2C write<I>(..) function.
south-coast-science_scs_core
train
fb6189e0f19f97c0469b9438f55d6cc5ef84858e
diff --git a/js/core/Application.js b/js/core/Application.js index <HASH>..<HASH> 100644 --- a/js/core/Application.js +++ b/js/core/Application.js @@ -41,6 +41,9 @@ define(["js/core/Window", "js/html/HtmlElement", "js/lib/extension", "underscore _setup: function(callback) { + var ENV = t...
inject Environment in every component. Modified injection and bootstrapping.
rappid_rAppid.js
train
db555e077030feaa3abf143dcfb89cb7711241d8
diff --git a/src/main/java/com/arpnetworking/commons/builder/OvalBuilder.java b/src/main/java/com/arpnetworking/commons/builder/OvalBuilder.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/arpnetworking/commons/builder/OvalBuilder.java +++ b/src/main/java/com/arpnetworking/commons/builder/OvalBuilder.java @@ -2...
Update OvalBuilder.java (#<I>) * Update OvalBuilder.java
ArpNetworking_commons
train
c1cbe81b37ca10a9738f504c879349ffbbf18617
diff --git a/phypno/__init__.py b/phypno/__init__.py index <HASH>..<HASH> 100644 --- a/phypno/__init__.py +++ b/phypno/__init__.py @@ -7,4 +7,3 @@ from .dataset import Dataset from .datatype import Data, ChanTime, ChanFreq, ChanTimeFreq -from .scroll_data import MainWindow
don't import scroll_data gui, it messes up with the log report
wonambi-python_wonambi
train
e9b306fe83ba0b0168306833e1f61f84d76a4444
diff --git a/resources/language-profiles-list.txt b/resources/language-profiles-list.txt index <HASH>..<HASH> 100644 --- a/resources/language-profiles-list.txt +++ b/resources/language-profiles-list.txt @@ -74,7 +74,6 @@ mt Maltese my Burmese mzn Mazanderani nah Nahuatl -nap Neapolitan ne Nepali nl Dutch nn Norwe...
Drop direct Neapolitan langdetect support
validator_validator
train
bb11290fc374563fb4888f295b5bc825b472c4d1
diff --git a/pypika/enums.py b/pypika/enums.py index <HASH>..<HASH> 100644 --- a/pypika/enums.py +++ b/pypika/enums.py @@ -1,4 +1,4 @@ -# coding: utf8 +# coding: utf-8 from aenum import Enum __author__ = "Timothy Heys" diff --git a/pypika/queries.py b/pypika/queries.py index <HASH>..<HASH> 100644 --- a/pypika/queri...
Fixes #<I> Corrected the encoding comment on all files
kayak_pypika
train
c31b3c3b22ffaa520f98b9725fc73e6bdc592c7c
diff --git a/conn.go b/conn.go index <HASH>..<HASH> 100644 --- a/conn.go +++ b/conn.go @@ -31,6 +31,12 @@ func (c *conn) sendPacket(m encoding.BinaryMarshaler) error { return sendPacket(c, m) } +func (c *conn) Close() error { + c.Lock() + defer c.Unlock() + return c.WriteCloser.Close() +} + type clientConn struct...
fix connection close race Need to prevent Close from being called at the same time. The lock already existed, but was only used in one place where it should be applied generally.
pkg_sftp
train
5c5db2e18bed0bf905017d7d9151cf09bd36b308
diff --git a/lib/api.js b/lib/api.js index <HASH>..<HASH> 100644 --- a/lib/api.js +++ b/lib/api.js @@ -462,7 +462,13 @@ module.exports = function(options, _sr, _analyzer, _containers) { var systemId = _sr.findSystem(identifier); analyzeSystem(user, systemId, target, out, function(err, analyzed, system) { ...
Pass the systemRoot to deploy in fixSystem, or direct will fail.
nearform_nscale-kernel
train
c7af0b2c641f1203440076b3f7615a8e33292da9
diff --git a/lib/pre-process.js b/lib/pre-process.js index <HASH>..<HASH> 100644 --- a/lib/pre-process.js +++ b/lib/pre-process.js @@ -13,7 +13,8 @@ var canihas = require('../lib/canihas'); */ exports.styl = function styl (content, index, total, next) { - var file = this; + var file = this + , options = file[...
Allow options to be send to the pre-processors partial fix point 4 of issue #<I>
observing_square
train
e695c44b3e2ec8c35ba7a6da9bd3c2b1b1a089af
diff --git a/lib/hamlit/template.rb b/lib/hamlit/template.rb index <HASH>..<HASH> 100644 --- a/lib/hamlit/template.rb +++ b/lib/hamlit/template.rb @@ -14,7 +14,7 @@ end module Hamlit Template = Temple::Templates::Tilt.create( Hamlit::Engine, - register_as: :haml, + register_as: [:haml, :hamlit], ) ...
Also register :hamlit to Tilt so that sinatra-contrib can test Hamlit along with Haml
haml_haml
train
77ac7e6785dc97986e2f3e7ae742e2360560cf63
diff --git a/zxing.appspot.com/pom.xml b/zxing.appspot.com/pom.xml index <HASH>..<HASH> 100644 --- a/zxing.appspot.com/pom.xml +++ b/zxing.appspot.com/pom.xml @@ -53,6 +53,7 @@ <artifactId>gwt-maven-plugin</artifactId> <version>${gwt.version}</version> <configuration> + <runTarget>Ge...
Avoid some code that will be deprecated in GWT <I> and make gwt:run work git-svn-id: <URL>
zxing_zxing
train
9f11e5f34d7b65464986eb325884773b11a2c3ba
diff --git a/lib/mobility/attributes.rb b/lib/mobility/attributes.rb index <HASH>..<HASH> 100644 --- a/lib/mobility/attributes.rb +++ b/lib/mobility/attributes.rb @@ -11,6 +11,7 @@ module Mobility @backend_class.configure!(options) if @backend_class.respond_to?(:configure!) @backend_class.include Backen...
Include Fallbacks into backend if fallbacks option is truthy
shioyama_mobility
train
70b65d33a621957a75827a1637711a170c6d29a3
diff --git a/src/model.js b/src/model.js index <HASH>..<HASH> 100644 --- a/src/model.js +++ b/src/model.js @@ -1,5 +1,7 @@ var mithril = require("mithril"); +MITHRIL_REQUEST_OPTS = ["user", "password", "data", "background", "initialValue", "unwrapSuccess", "unwrapError", "serialize", "extract", "type"] + var Model ...
updated models to only accepts opts that are bound to mithril
dailymuse_mithril-coat
train
31d281e54d06ec6e4ce5376f2f15c6b774acf92d
diff --git a/plaid/version.py b/plaid/version.py index <HASH>..<HASH> 100644 --- a/plaid/version.py +++ b/plaid/version.py @@ -1 +1 @@ -__version__ = '2.2.1' +__version__ = '2.3.0'
plaid-python@<I>
plaid_plaid-python
train
a65a3dc517b7d0b6426e86930a228cf814776c91
diff --git a/dvc/config.py b/dvc/config.py index <HASH>..<HASH> 100644 --- a/dvc/config.py +++ b/dvc/config.py @@ -193,6 +193,7 @@ class Config(object): # pylint: disable=too-many-instance-attributes SECTION_AWS_STORAGEPATH = "storagepath" SECTION_AWS_CREDENTIALPATH = "credentialpath" SECTION_AWS_ENDPOI...
remote: adds support for s3.list_objects Optionally use list_objects, useful for ceph and other s3 emulators fixes: #<I>
iterative_dvc
train
ca94180e3e65fc9176fcb262757444c4cc1f71d5
diff --git a/util-core/src/main/java/com/indeed/util/core/datastruct/IteratorMultiHeap.java b/util-core/src/main/java/com/indeed/util/core/datastruct/IteratorMultiHeap.java index <HASH>..<HASH> 100644 --- a/util-core/src/main/java/com/indeed/util/core/datastruct/IteratorMultiHeap.java +++ b/util-core/src/main/java/com/...
Simple fix for potential integer overflow in int array initialization (capacity<I>)/2 can overflow if capacity is Integer.MAX_VALUE which is a legitimate usecase, albeit probably extremely rare. A simple solution is to replace the expression with (capacity/2) + (capacity%2) which has the same end result and is correct...
indeedeng_util
train
7c2b3001ec81ef6955a94ac7caba0c1d05487056
diff --git a/telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py b/telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/internal/results/artifact_compatibility_wrapper.py +++ b/telemetry/telemetry/internal/results/artifact_compat...
[Telemetry] Make full logging wrapper actually usable Fixes two issues with the FullLoggingArtifactCompatibilityWrapper: 1. It was not handled by the factory, which made it impossible to actually register. 2. It had a typo which would cause a runtime error when actually using it. Bug: chromium:<I> Change-Id: I...
catapult-project_catapult
train
259c6733a3c125eb87a33ce89c123728ed72360f
diff --git a/discord/channel.py b/discord/channel.py index <HASH>..<HASH> 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -2285,6 +2285,67 @@ class ForumChannel(discord.abc.GuildChannel, Hashable): return ThreadWithMessage(thread=thread, message=message) + async def webhooks(self) -> Lis...
Add webhook creation methods to ForumChannel
Rapptz_discord.py
train
554298dfc5e7c35c6349d793035b224da6672c01
diff --git a/symfit/core/models.py b/symfit/core/models.py index <HASH>..<HASH> 100644 --- a/symfit/core/models.py +++ b/symfit/core/models.py @@ -1,4 +1,4 @@ -from collections import namedtuple, Mapping, OrderedDict, Sequence +from collections import Mapping, OrderedDict import warnings import sys @@ -20,6 +20,26 ...
Added docstring, removed unused imports
tBuLi_symfit
train
92968112cf5ef19c08b7977b548537d6154ca63c
diff --git a/sources/scripts/mn-input.spec.js b/sources/scripts/mn-input.spec.js index <HASH>..<HASH> 100644 --- a/sources/scripts/mn-input.spec.js +++ b/sources/scripts/mn-input.spec.js @@ -1,8 +1,28 @@ import {expect} from 'chai' +import {Selector} from 'testcafe' fixture `mn-input` .page('http://localhost:300...
add specs to vibility of element and placeholder
minimalist-components_mn-input
train
9c3f6d96ed9d38cfcc64171140a98c58ebfa8e9d
diff --git a/tests/10-test.spec.js b/tests/10-test.spec.js index <HASH>..<HASH> 100644 --- a/tests/10-test.spec.js +++ b/tests/10-test.spec.js @@ -368,7 +368,7 @@ describe('http-signature', () => { }); it('properly encodes `(created)` as a string', () => { const date = String(Math.floor(Date.now() / 10...
Use request over requestOptions.
digitalbazaar_http-signature-header
train
28d0cd6b4e70468a80aad218935e49b5707b0027
diff --git a/test/functional/ft_3_participant_registration.rb b/test/functional/ft_3_participant_registration.rb index <HASH>..<HASH> 100644 --- a/test/functional/ft_3_participant_registration.rb +++ b/test/functional/ft_3_participant_registration.rb @@ -202,8 +202,8 @@ class FtParticipantRegistrationTest < Test::Unit:...
tests: standardizing on require + File.expand_path
jmettraux_ruote
train
4a027c39d94d7668191c3305a797cbf6a7699c7c
diff --git a/lib/tracker_api/resources/story.rb b/lib/tracker_api/resources/story.rb index <HASH>..<HASH> 100644 --- a/lib/tracker_api/resources/story.rb +++ b/lib/tracker_api/resources/story.rb @@ -25,6 +25,7 @@ module TrackerApi attribute :owners, Array[TrackerApi::Resources::Person] attribute :planned_...
Fixed #<I> - Allow for eager loading of the Person the Story was requested by.
dashofcode_tracker_api
train
0816598a84bc19a4f70c6cbb07c8c5691db3c164
diff --git a/lib/ruby-debug/completion.rb b/lib/ruby-debug/completion.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-debug/completion.rb +++ b/lib/ruby-debug/completion.rb @@ -68,4 +68,4 @@ module Debugger end Object.send :include, Debugger::Completion::Command -Debugger::Completion.start +Debugger::Completion.start...
Don't add completions when Bond has already started in script/console, thanks bundler
cldwalker_debugger-completion
train
958e05e0ea9262ac0a9c878acaae69188ca0da05
diff --git a/src/bin/misc.php b/src/bin/misc.php index <HASH>..<HASH> 100644 --- a/src/bin/misc.php +++ b/src/bin/misc.php @@ -89,4 +89,4 @@ function intervalsCollide($i1, $i2) { return true; } return false; -} \ No newline at end of file +} diff --git a/src/bin/path.php b/src/bin/path.php index <HASH>..<HASH> 1...
Added sanitizePath, bytesToHuman and xmlEscape
PieterScheffers_upperscore
train
16175e383533d32d7833a3c9e7f6bf71393691db
diff --git a/oled/device.py b/oled/device.py index <HASH>..<HASH> 100644 --- a/oled/device.py +++ b/oled/device.py @@ -276,7 +276,7 @@ class ssd1306(device, mixin.capabilities): self.data(buf) -class capture(device, mixin.noop, mixin.capabilities): +class capture(mixin.noop, mixin.capabilities, device): ...
Fix to override devices data & command methods with noop's
rm-hull_luma.oled
train
52ac7037d8208c6daff0073302abdea5289d6c3a
diff --git a/structr-ui/src/main/resources/structr/js/code.js b/structr-ui/src/main/resources/structr/js/code.js index <HASH>..<HASH> 100644 --- a/structr-ui/src/main/resources/structr/js/code.js +++ b/structr-ui/src/main/resources/structr/js/code.js @@ -2626,7 +2626,7 @@ var _Code = { }, showScriptErrors: function...
Fixes JS error in code are.
structr_structr
train
8ec1f5604b338065662aec6afbf60abe66fa1961
diff --git a/holoviews/core/data/pandas.py b/holoviews/core/data/pandas.py index <HASH>..<HASH> 100644 --- a/holoviews/core/data/pandas.py +++ b/holoviews/core/data/pandas.py @@ -213,8 +213,8 @@ class PandasInterface(Interface): return grouped.aggregate(fn, **kwargs).reset_index() else: ...
Removed usage of deprecated DataFrame.from_items (#<I>)
pyviz_holoviews
train
4a66c050c058a15b01c785afac5dc494139fed80
diff --git a/daemon/main.go b/daemon/main.go index <HASH>..<HASH> 100644 --- a/daemon/main.go +++ b/daemon/main.go @@ -484,6 +484,10 @@ func initConfig() { } func initEnv(cmd *cobra.Command) { + + // Logging should always be bootstrapped first. Do not add any code above this! + logging.SetupLogging(loggers, logOpts...
logging: fix up formatting initialization With the addition of the default logger, formatting of logs was broken. Refactor setupFormatter to return a logrus Formatter and use this formatter for the default logger. Move logging initialization to the top of the cilium-agent's initialization.
cilium_cilium
train
993595dda4a9c48673057275ace580c7de2b667b
diff --git a/src/sos/tasks.py b/src/sos/tasks.py index <HASH>..<HASH> 100644 --- a/src/sos/tasks.py +++ b/src/sos/tasks.py @@ -26,6 +26,7 @@ import time import copy import threading import lzma +import random from io import StringIO from tokenize import generate_tokens from collections.abc import Sequence, Mappin...
Submit tasks in batch to workers to avoid excessive checking of task status. #<I>
vatlab_SoS
train
66e262f3d3355d1dc989d6f6ce4ae9522dca135c
diff --git a/src/org/jgroups/logging/JDKLogImpl.java b/src/org/jgroups/logging/JDKLogImpl.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/logging/JDKLogImpl.java +++ b/src/org/jgroups/logging/JDKLogImpl.java @@ -100,5 +100,12 @@ public class JDKLogImpl implements Log { logger.log(Level.SEVERE, msg, t); ...
first version of logging at runtime (<URL>)
belaban_JGroups
train
d69bccf5c2ce4e0bbe944ac2dcc90f2ceef240c3
diff --git a/apiserver/common/networkingcommon/subnets.go b/apiserver/common/networkingcommon/subnets.go index <HASH>..<HASH> 100644 --- a/apiserver/common/networkingcommon/subnets.go +++ b/apiserver/common/networkingcommon/subnets.go @@ -65,7 +65,7 @@ func (cache *addSubnetsCache) validateSpace(spaceTag string) (*name...
networkingcommon: Decrease the log spam slightly
juju_juju
train
bc5653cc76e22752e4cdf5037ac5565f739fafda
diff --git a/stacker_blueprints/empire/daemon.py b/stacker_blueprints/empire/daemon.py index <HASH>..<HASH> 100644 --- a/stacker_blueprints/empire/daemon.py +++ b/stacker_blueprints/empire/daemon.py @@ -217,7 +217,7 @@ class EmpireDaemon(Blueprint): " Amazon ECS service's DesiredCount value, that can r...
The default ECS uses is <I>%
remind101_stacker_blueprints
train
dd7f99db3a52287bcc0f2163a1d6c0c852fcb115
diff --git a/app/models/WebHook.php b/app/models/WebHook.php index <HASH>..<HASH> 100644 --- a/app/models/WebHook.php +++ b/app/models/WebHook.php @@ -1,7 +1,110 @@ <?php class WebHook extends Eloquent { + // Request Methods. + const HEAD = 0; + const GET = 1; + const POST = 2; + const PATCH = 3; + const PUT...
Flesh out the WebHook stuff, add fire and ping methods
CachetHQ_Cachet
train
21a718743435729ac3b39dff63ac0ccfd67719d3
diff --git a/code/checkout/steps/CheckoutStep_Summary.php b/code/checkout/steps/CheckoutStep_Summary.php index <HASH>..<HASH> 100644 --- a/code/checkout/steps/CheckoutStep_Summary.php +++ b/code/checkout/steps/CheckoutStep_Summary.php @@ -10,8 +10,6 @@ class CheckoutStep_Summary extends CheckoutStep public functio...
Updated CheckoutStep_Summary.php (#<I>) The 'updateConfirmationForm' form extension appears twice in the CheckoutStep_Summary class. Remove it from the summary method, as it already gets called via the ConfirmationForm method.
silvershop_silvershop-core
train
fbc46f6c70646a61a06adae08624ffc4b38616a0
diff --git a/lib/workers/pr/index.js b/lib/workers/pr/index.js index <HASH>..<HASH> 100644 --- a/lib/workers/pr/index.js +++ b/lib/workers/pr/index.js @@ -74,6 +74,13 @@ async function ensurePr(prConfig) { const commitRepos = []; + let token; + // istanbul ignore if + if (process.env.GITHUB_ENDPOINT) { + l...
fix: unset github token prior to changelog
renovatebot_renovate
train
2aa32aea5eaf325bc6a3eff852f2ff0052366bf6
diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index <HASH>..<HASH> 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -1943,10 +1943,24 @@ func (woc *wfOperationCtx) executeTemplate(ctx context.Context, nodeName string, } node = woc.wf.GetNodeByN...
fix: check for nil, and add logging to expose root cause of panic in Issue <I> (#<I>) * fix: add logging to expose root cause of panic
argoproj_argo
train
b8ba51ae4833b9c60bdd31b6f17ccd7ecca3cd48
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ func main () { assembly.Blocking = true // Start the upload - info, err := assembly.Upload() + info, err := assembly.Start() if err != nil { panic(err) } diff --git a/ass...
Rename Assembly#Upload to Start
transloadit_go-sdk
train
5e6c2827676bbe72a3f73a6977c3830eabec9855
diff --git a/src/main/java/org/thymeleaf/templateparser/xmlsax/AbstractNonValidatingSAXTemplateParser.java b/src/main/java/org/thymeleaf/templateparser/xmlsax/AbstractNonValidatingSAXTemplateParser.java index <HASH>..<HASH> 100755 --- a/src/main/java/org/thymeleaf/templateparser/xmlsax/AbstractNonValidatingSAXTemplateP...
Closes #<I>. Adds parser-level comments capability to SAX parser
thymeleaf_thymeleaf
train
189a905f7b12c28f9eaa37d7b2354469b5c0a425
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py index <HASH>..<HASH> 100644 --- a/src/saml2/httpbase.py +++ b/src/saml2/httpbase.py @@ -329,7 +329,7 @@ class HTTPBase(object): "url": "%s?%s" % (destination, query) } else: - raise NotImplemented + r...
Replace NotImplemented with NotImplementedError
IdentityPython_pysaml2
train
1c207b0591426d973ea727c7cd1f29c201eedec3
diff --git a/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py b/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/plugins/implementations/dependency_pruner.py +++ b/mythril/laser/ethereum/plugins/implementations/dependency_pru...
Don't run in contract creation and 1st runtime tx
ConsenSys_mythril-classic
train
889a550f996a2eac1440a2e9109c0ac31b07ad23
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ README = open('README.rst', 'r').read() setup( - name='pyls', + name='python-language-server', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across...
Rename to python-language-server
palantir_python-language-server
train
673c483ccb219b6993d7fee1b041e2cf1d318967
diff --git a/src/scripts/lib/events/trigger.js b/src/scripts/lib/events/trigger.js index <HASH>..<HASH> 100644 --- a/src/scripts/lib/events/trigger.js +++ b/src/scripts/lib/events/trigger.js @@ -1,6 +1,6 @@ var forEachEls = require("../foreach-els") -module.exports = function(els, events) { +module.exports = functio...
Add event options as an option for the trigger function
MoOx_pjax
train
ac6c538a61fe5733dead32f1fe1e1e60ce21589a
diff --git a/examples/botexample.py b/examples/botexample.py index <HASH>..<HASH> 100755 --- a/examples/botexample.py +++ b/examples/botexample.py @@ -18,6 +18,10 @@ https://developer.ciscospark.com. The bot's Access Token should be added as a 'SPARK_ACCESS_TOKEN' environment variable on the web server hosting this ...
Update botexample to call out Python 2-only support web.py only supports Python 2, therefore this script only supports Python 2.
CiscoDevNet_webexteamssdk
train
b6f07859c1c28954eee41d6931c04e6cdec7a143
diff --git a/framework/yii/db/pgsql/Schema.php b/framework/yii/db/pgsql/Schema.php index <HASH>..<HASH> 100644 --- a/framework/yii/db/pgsql/Schema.php +++ b/framework/yii/db/pgsql/Schema.php @@ -129,6 +129,35 @@ class Schema extends \yii\db\Schema } /** + * Returns all table names in the database. + * @param st...
Added support for getting all tables for pgsql.
yiisoft_yii2-bootstrap4
train
84c3de4d854c69f2899214c0c789c39f503c34ac
diff --git a/app/models/tandem/image.rb b/app/models/tandem/image.rb index <HASH>..<HASH> 100644 --- a/app/models/tandem/image.rb +++ b/app/models/tandem/image.rb @@ -7,7 +7,7 @@ module Tandem has_attached_file :resource, Tandem::Configuration.paperclip_options validates_attachment_presence :resource - v...
Increase file upload size limit to 1.megabyte.
12spokes_tandem
train
c220e558be33e30a7946d3604d45ba671b2e7c31
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index <HASH>..<HASH> 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Assigning nil to a composed_of aggregate also sets its immediate value to nil. #9843 [Chris Cruft] + * Ensure that mysql quotes table names wit...
Assigning nil to a composed_of aggregate also sets its immediate value to nil. Closes #<I>. git-svn-id: <URL>
rails_rails
train
9ec73ced85b5cfc0e5871943f1f03bb5afe34f97
diff --git a/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js b/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js +++ b/packages/node_modules/@webex/plugin-meetings/src/meeting/index.js @...
fix(meetings): always add locus url to metrics payload
webex_spark-js-sdk
train
d64aed998bad48f6d3353357e6d3f189c21182ec
diff --git a/Resources/public/js/models/ez-contenttypemodel.js b/Resources/public/js/models/ez-contenttypemodel.js index <HASH>..<HASH> 100644 --- a/Resources/public/js/models/ez-contenttypemodel.js +++ b/Resources/public/js/models/ez-contenttypemodel.js @@ -97,6 +97,24 @@ YUI.add('ez-contenttypemodel', function (Y) { ...
EZP-<I>: Added a method to find the field identifier by field type
ezsystems_PlatformUIBundle
train
eea7b8eb30828011c474c9e4a594c86a40a97fc5
diff --git a/etrago/tools/io.py b/etrago/tools/io.py index <HASH>..<HASH> 100644 --- a/etrago/tools/io.py +++ b/etrago/tools/io.py @@ -137,15 +137,20 @@ class NetworkScenario(ScenarioBase): """ Construct a DateTimeIndex with the queried temporal resolution, start- and end_snapshot. """ - from...
Allow importing data from tables without version column
openego_eTraGo
train
827c4feea352d3555644015a3ef6f00d755a6cc0
diff --git a/scss/__init__.py b/scss/__init__.py index <HASH>..<HASH> 100644 --- a/scss/__init__.py +++ b/scss/__init__.py @@ -3094,23 +3094,28 @@ def _enumerate(prefix, frm, through, separator='-'): try: frm = int(getattr(frm, 'value', frm)) except ValueError: - frm = 0 + frm = 1 ...
range() and enumerate() can receive inverted values, producing countdowns
Kronuz_pyScss
train
367be275315503ed6bfa9f66a3d5e28d4afdfab1
diff --git a/generators/server/templates/src/main/java/package/service/_UserService.java b/generators/server/templates/src/main/java/package/service/_UserService.java index <HASH>..<HASH> 100644 --- a/generators/server/templates/src/main/java/package/service/_UserService.java +++ b/generators/server/templates/src/main/...
Change UserRepository#findOneByEmail to UserRepository#findOneByEmailIgnoreCase
jhipster_generator-jhipster
train
36d2ec2169221908a0fd4d0a7143947c49724141
diff --git a/corelib/enumerator.rb b/corelib/enumerator.rb index <HASH>..<HASH> 100644 --- a/corelib/enumerator.rb +++ b/corelib/enumerator.rb @@ -1,17 +1,36 @@ class Enumerator include Enumerable - def initialize(obj, method = :each, *args) - @object = obj - @method = method - @args = args + class Y...
Allow Enumerator to have infinite elements
opal_opal
train
d40abed70b81dde6add60fc97ca6aab0373ebdbd
diff --git a/metrics-graphite/src/main/java/com/codahale/metrics/graphite/Graphite.java b/metrics-graphite/src/main/java/com/codahale/metrics/graphite/Graphite.java index <HASH>..<HASH> 100644 --- a/metrics-graphite/src/main/java/com/codahale/metrics/graphite/Graphite.java +++ b/metrics-graphite/src/main/java/com/codah...
Issue #<I> - Graphite constructor now also accepts host/port
dropwizard_metrics
train
03020159b9530692400963af5057d8deb3632977
diff --git a/deba.js/deba.js b/deba.js/deba.js index <HASH>..<HASH> 100644 --- a/deba.js/deba.js +++ b/deba.js/deba.js @@ -143,6 +143,14 @@ var deba = (function() { this.segments.push(segment); } + Document.prototype.pop = function() { + this.segments.pop(); + } + + Document.prototype.last = function() ...
Handle common case of <i> or <b> with no content inside them -> don't emit any output for these inputs
bloopletech_text-kitchen
train
671c85bbd7edc44b887227774ee9cbf023008b20
diff --git a/tentacoli.js b/tentacoli.js index <HASH>..<HASH> 100644 --- a/tentacoli.js +++ b/tentacoli.js @@ -106,6 +106,12 @@ function Tentacoli (opts) { this._main.on('error', this.emit.bind(this, 'error')) this._parser.on('error', this.emit.bind(this, 'error')) + this.on('finish', function () { + Object...
Calls callbacks with errors if the connection closes.
mcollina_tentacoli
train
ed42126ffdb9001f0e3f75f7ad3d3d4c6efe1e58
diff --git a/pymlconf/tests/test_yaml_syntax.py b/pymlconf/tests/test_yaml_syntax.py index <HASH>..<HASH> 100644 --- a/pymlconf/tests/test_yaml_syntax.py +++ b/pymlconf/tests/test_yaml_syntax.py @@ -13,25 +13,25 @@ class Test(unittest.TestCase): def setUp(self): self._builtin = ''' -app: - name: MyAp...
Passing all tests, #<I>
pylover_pymlconf
train
b6b59e90f03d9bfea0b32546500c7a44b0f16dab
diff --git a/xchart/src/main/java/com/xeiam/xchart/Histogram.java b/xchart/src/main/java/com/xeiam/xchart/Histogram.java index <HASH>..<HASH> 100644 --- a/xchart/src/main/java/com/xeiam/xchart/Histogram.java +++ b/xchart/src/main/java/com/xeiam/xchart/Histogram.java @@ -45,7 +45,7 @@ public class Histogram { this....
BUG-FIX Histogram the tempMax should be -Double.MAX_VALUE, not Double.MIN_VALUE
knowm_XChart
train
20f3c17b7c186d5e7a5d7a69ed5551f8309a8fe9
diff --git a/pyathena/common.py b/pyathena/common.py index <HASH>..<HASH> 100644 --- a/pyathena/common.py +++ b/pyathena/common.py @@ -264,8 +264,9 @@ class BaseCursor(object, metaclass=ABCMeta): and execution["Status"]["CompletionDateTime"].astimezone(utc) < expiration...
Fix the search condition of the previous query ID
laughingman7743_PyAthena
train
34960cb662414759e61a446f5ffd3cb6f6af2efa
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -73,17 +73,21 @@ }, "devDependencies": { "autoprefixer-loader": "^3.1.0", - "babel": "^5.8.29", - "babel-core": "^5.8.29", - "babel-jest": "^5.3.0", - "babel-loader": "^5.3.2", + "babe...
upgrade to babel6, ref #<I>
ant-design_ant-design
train
e0815d00101dcf5269acd7620a8f7eb69962c040
diff --git a/tests/phpunit/unit/Storage/Query/SearchWeighterTest.php b/tests/phpunit/unit/Storage/Query/SearchWeighterTest.php index <HASH>..<HASH> 100644 --- a/tests/phpunit/unit/Storage/Query/SearchWeighterTest.php +++ b/tests/phpunit/unit/Storage/Query/SearchWeighterTest.php @@ -19,6 +19,7 @@ class SearchWeighterTes...
in test use raw array rather than a set
bolt_bolt
train
5d1aa5421acd1f39ab6ff9c877d0707c633dc545
diff --git a/lib/ng-onload.js b/lib/ng-onload.js index <HASH>..<HASH> 100644 --- a/lib/ng-onload.js +++ b/lib/ng-onload.js @@ -22,7 +22,7 @@ var elementOnloadDirective = () => { return { restrict: "A", scope: { - callback: "&elementOnload" + callback: "&ngOnload" },...
Fixed the naming for the attribute to ng-load
mikaturunen_ng-onload
train
f6cd367b0ee81b889dac47ca05dcf17763e902a4
diff --git a/django_extensions/management/commands/reset_db.py b/django_extensions/management/commands/reset_db.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/reset_db.py +++ b/django_extensions/management/commands/reset_db.py @@ -107,14 +107,9 @@ Type 'yes' to continue, or 'no' to cancel: "...
Removed mysql settings added last time, postgresql: removed tablespace depency.
django-extensions_django-extensions
train
d9b6fc65d508efba3ca0a7bf3741889eb0634952
diff --git a/lib/bmc-daemon-lib/conf.rb b/lib/bmc-daemon-lib/conf.rb index <HASH>..<HASH> 100644 --- a/lib/bmc-daemon-lib/conf.rb +++ b/lib/bmc-daemon-lib/conf.rb @@ -70,6 +70,13 @@ module BmcDaemonLib def dump to_hash.to_yaml(indent: 4, useheader: true, useversion: false ) end + + def d...
conf: add dump_to_logs to output YAML config to Conf.log
bmedici_bmc-daemon-lib
train
d60f6c36ff183b803f4dd200de6449c785cf6d40
diff --git a/lib/mongoose.js b/lib/mongoose.js index <HASH>..<HASH> 100644 --- a/lib/mongoose.js +++ b/lib/mongoose.js @@ -5,30 +5,9 @@ var errors = require('feathers').errors.types; var Schema = mongoose.Schema; var ObjectId = mongoose.Types.ObjectId; -// Helpers -var parseQuery = function(query) { - if (typeof q...
adding support for virtuals, methods, statics & indexes. Also exporting the service itself
feathersjs-ecosystem_feathers-mongoose
train
9c5d75029a67a67fd564eea8cbc8117b81916692
diff --git a/packages/browser/tests/processor/stacktracejs.test.js b/packages/browser/tests/processor/stacktracejs.test.js index <HASH>..<HASH> 100644 --- a/packages/browser/tests/processor/stacktracejs.test.js +++ b/packages/browser/tests/processor/stacktracejs.test.js @@ -5,12 +5,16 @@ describe('stacktracejs processo...
Fix stacktrace test for node <I> Node.js <I> is returning the function name as `'Object.beforeEach'` rather than `'Object.<anonymous>'`. By moving the code that throws the error out of an anonymous function and into a named function, we can avoid this ambiguity.
airbrake_airbrake-js
train
8c7a976ffba898313408a2fcf272f9ca45616c68
diff --git a/lib/stripe/stripe_object.rb b/lib/stripe/stripe_object.rb index <HASH>..<HASH> 100644 --- a/lib/stripe/stripe_object.rb +++ b/lib/stripe/stripe_object.rb @@ -37,8 +37,10 @@ module Stripe def refresh_from(values, opts, partial=false) @opts = opts @original_values = Marshal.load(Marshal.du...
Space this method out a little bit
stripe_stripe-ruby
train
14eed36fe8b87309b3f1b7afa4a160799949a1e5
diff --git a/src/Lavary/Menu/Builder.php b/src/Lavary/Menu/Builder.php index <HASH>..<HASH> 100644 --- a/src/Lavary/Menu/Builder.php +++ b/src/Lavary/Menu/Builder.php @@ -10,7 +10,7 @@ class Builder /** * The items container. * - * @var array + * @var Collection */ protected $items;
Items property should be of type Collection (#<I>)
lavary_laravel-menu
train
e056f2852a5d7c4bc34acb3f547566d68827bda0
diff --git a/lib/cfror.rb b/lib/cfror.rb index <HASH>..<HASH> 100644 --- a/lib/cfror.rb +++ b/lib/cfror.rb @@ -51,9 +51,11 @@ module Cfror #set values for fields #@param source is symbol of relation method contains include Cfror::Fields - def value_fields_for(source) + def value_fields_for(source, ord...
add order to value_fields_for
sunchess_cfror
train
b6fbd86423019e7f258527eb65a632e48a8a64d7
diff --git a/wal_e/cmd.py b/wal_e/cmd.py index <HASH>..<HASH> 100755 --- a/wal_e/cmd.py +++ b/wal_e/cmd.py @@ -66,8 +66,8 @@ def external_program_check( 'note that superuser access is required')) # Bogus error message that is re-caught and re-raised - raise Exception('INTERNAL: Had pr...
Emit correct error message when there is a problem with psql Mechanism: only EnvironmentErrors are being handled nowadays to trigger the error-message-accumulation and reporting logic, so fake up an EnvironmentError as to let normal error handling take place here. This is definitely a kludge, but it doesn't seem wort...
wal-e_wal-e
train