hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
478fa8fdb399c61acdbcc09d079aa4d6cecc2b60
diff --git a/src/traversing.js b/src/traversing.js index <HASH>..<HASH> 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -4,7 +4,6 @@ var runtil = /Until$/, rparentsprev = /^(?:parents|prevUntil|prevAll)/, // Note: This RegExp should be improved, or likely pulled from Sizzle rmultiselector = /,/, - rchil...
Forgot to remove the child selector in the previous commit.
jquery_jquery
train
js
66eee63c17463eeb6b4f1f02d7a36732871e9be7
diff --git a/message.go b/message.go index <HASH>..<HASH> 100644 --- a/message.go +++ b/message.go @@ -6,7 +6,7 @@ import ( ) type Message interface { - String() string + Message() string } type message struct { @@ -14,6 +14,10 @@ type message struct { fields fields } +func (m *message) Message() string { ...
added Message() func to Message interface
amsokol_go-errors
train
go
0e8d986efc47c6dbdc9b71adbad743217f3d75a0
diff --git a/lib/mpv/_startStop.js b/lib/mpv/_startStop.js index <HASH>..<HASH> 100644 --- a/lib/mpv/_startStop.js +++ b/lib/mpv/_startStop.js @@ -42,13 +42,13 @@ const startStop = { const output = data.toString(); // "Listening to IPC socket" - message - if(output.match(/Listening/)){ + if(output...
Improved robustness of start() The code matches for the expact verbose output to see if the IPC socket could be created
00SteinsGate00_Node-MPV
train
js
a596b2ee36c428e8e94a5a56b2c20fc1e3c3fada
diff --git a/packages/@uppy/dashboard/src/index.js b/packages/@uppy/dashboard/src/index.js index <HASH>..<HASH> 100644 --- a/packages/@uppy/dashboard/src/index.js +++ b/packages/@uppy/dashboard/src/index.js @@ -563,7 +563,6 @@ module.exports = class Dashboard extends Plugin { } const cancelUpload = (fileID)...
remove `upload-cancel` event, `file-removed` should be enough Seems like `upload-cancel` was emitted from dashboard and listed to in xhr-upload only
transloadit_uppy
train
js,js
7fa716f0c606e45efd0e9d86c27af4318bcec9a3
diff --git a/lib/xpose/exposed.rb b/lib/xpose/exposed.rb index <HASH>..<HASH> 100644 --- a/lib/xpose/exposed.rb +++ b/lib/xpose/exposed.rb @@ -46,14 +46,14 @@ module Xpose end def infer_collection - klass.send(scope) + klass.send(conf.scope) end def infer_record source = if inst...
Bugfix: scope is accessible through conf
yoones_xpose
train
rb
6d08dbac2ac0d2f8af27654a8d8e55d6036711d2
diff --git a/File/MARC/List.php b/File/MARC/List.php index <HASH>..<HASH> 100644 --- a/File/MARC/List.php +++ b/File/MARC/List.php @@ -9,7 +9,7 @@ * that is part of the Emilda Project (http://www.emilda.org). Christoffer * Landtman generously agreed to make the "php-marc" code available under the * GNU LGPL so it...
Fix positions when inserting nodes. The nodes did not get properly reindexed by the insertNode method.
pear_File_MARC
train
php
fb0f0d0206ce6f91a66b1e68e646c6ad13d7467e
diff --git a/service/handler.go b/service/handler.go index <HASH>..<HASH> 100644 --- a/service/handler.go +++ b/service/handler.go @@ -183,7 +183,10 @@ func (h *HandlerService) Handle(conn acceptor.PlayerConn) { msg, err := conn.GetNextMessage() if err != nil { - logger.Log.Errorf("Error reading next availabl...
refactor(service): do not log message as an error what it is only closed
topfreegames_pitaya
train
go
de957a5e36680b8b55d71523f4e41ed3bb488c2b
diff --git a/src/SparkPlug.php b/src/SparkPlug.php index <HASH>..<HASH> 100644 --- a/src/SparkPlug.php +++ b/src/SparkPlug.php @@ -216,6 +216,8 @@ class SparkPlug load_class('Input', 'core'); load_class('Lang', 'core'); + + load_class('Output', 'core'); } /**
Load Output class (#2)
rougin_spark-plug
train
php
ab89c8acaa37fd4fcf90134abaaefc0435dbb522
diff --git a/lib/fencepost/fencepost.rb b/lib/fencepost/fencepost.rb index <HASH>..<HASH> 100644 --- a/lib/fencepost/fencepost.rb +++ b/lib/fencepost/fencepost.rb @@ -81,7 +81,7 @@ module Fencepost end def self.always_forbidden_attributes - [:id, :created_at, :updated_at, :created_by, :updated_by] + ...
removes always forbidden attributes (this should be handled by manual config)
scotthelm_fencepost
train
rb
f86a9efb92ef92dcb058fe93995861452f25c1d5
diff --git a/lib/reporters/html/index.js b/lib/reporters/html/index.js index <HASH>..<HASH> 100644 --- a/lib/reporters/html/index.js +++ b/lib/reporters/html/index.js @@ -76,7 +76,7 @@ PostmanHTMLReporter = function (newman, options) { if (reducedExecution.response && _.isFunction(reducedExecutio...
Update index.js converted response.body to buffer otherwise toString of standard object is called returning [object Object] as a string. Refer to <URL>
postmanlabs_newman
train
js
6728ed30a6c525d20241b622eff0c993debd0256
diff --git a/log/logging.go b/log/logging.go index <HASH>..<HASH> 100644 --- a/log/logging.go +++ b/log/logging.go @@ -301,7 +301,7 @@ func SanitizeFormat(format LogFormat) LogFormat { } else { // Whether it's explicitly a DefaultFormat, or it's an unrecognized value, // try to take from env var. - envFormat :...
Rename encoding env to be consistent with others
timehop_golog
train
go
ca38dd5e187fb17da0b31dd00f4ad87d84861453
diff --git a/lib/hella-redis/version.rb b/lib/hella-redis/version.rb index <HASH>..<HASH> 100644 --- a/lib/hella-redis/version.rb +++ b/lib/hella-redis/version.rb @@ -1,3 +1,3 @@ module HellaRedis - VERSION = "0.2.1" + VERSION = "0.3.0" end
version to <I> * Update `ConnectionSpy`, handle `pipelined` and `multi` (#<I>) /cc @kellyredding
redding_hella-redis
train
rb
662ce6af089f89acc1a9cbd462839304479917ae
diff --git a/library/CM/Model/StorageAdapter/Database.php b/library/CM/Model/StorageAdapter/Database.php index <HASH>..<HASH> 100644 --- a/library/CM/Model/StorageAdapter/Database.php +++ b/library/CM/Model/StorageAdapter/Database.php @@ -11,13 +11,16 @@ class CM_Model_StorageAdapter_Database extends CM_Model_StorageAd...
allow passing of scalar ids to Storage::loadMultiple()
cargomedia_cm
train
php
d60abb4be60c8c9e23ce6fd1df8fc909fe42c979
diff --git a/ui/src/side_nav/containers/SideNav.js b/ui/src/side_nav/containers/SideNav.js index <HASH>..<HASH> 100644 --- a/ui/src/side_nav/containers/SideNav.js +++ b/ui/src/side_nav/containers/SideNav.js @@ -143,26 +143,20 @@ const SideNav = React.createClass({ > <NavHeader ...
Remove Chronograf from Admin nav item and rename InfluxDB Admin
influxdata_influxdb
train
js
4b450a5998cd10887dd7d014923239da47f5155b
diff --git a/v1.go b/v1.go index <HASH>..<HASH> 100644 --- a/v1.go +++ b/v1.go @@ -41,13 +41,13 @@ func parseVersion1(reader *bufio.Reader) (*Header, error) { transportProtocol = TCPv4 case "TCP6": transportProtocol = TCPv6 - case "UNKNOWN": // no-op + case "UNKNOWN": // no-op as UNSPEC is set already d...
v1: validate UNSPEC to show how it's used to signal UNKNOWN
pires_go-proxyproto
train
go
5a4c490c7a408458fc6d4e33bf65d9ecc97f1879
diff --git a/test/util.js b/test/util.js index <HASH>..<HASH> 100644 --- a/test/util.js +++ b/test/util.js @@ -189,7 +189,7 @@ describe('utils', function() { }); describe('dosDateTime(date, utc)', function() { - it('should convert date to DOS representation', function() { + it.skip('should convert...
test: skip dosDateTime without UTC for now due to issues with testing timezones.
archiverjs_node-archiver
train
js
1aa943a39ca0d0da0130df4fb658b64c37efc1d8
diff --git a/manifest.php b/manifest.php index <HASH>..<HASH> 100755 --- a/manifest.php +++ b/manifest.php @@ -11,7 +11,7 @@ return array( 'name' => 'taoSubjects', 'description' => 'TAO Subjects extension', 'version' => '2.4', - 'author' => 'CRP Henri Tudor', + 'author' => 'Open Assessment Technologies, CRP Henri...
added/corrected Open Assessment Technologies as author git-svn-id: <URL>
oat-sa_extension-tao-testtaker
train
php
8ecfd255310afc4ee018decc9c001ffb7307efc8
diff --git a/cr8/run_crate.py b/cr8/run_crate.py index <HASH>..<HASH> 100644 --- a/cr8/run_crate.py +++ b/cr8/run_crate.py @@ -346,8 +346,8 @@ def get_crate(version, crate_root=None): @argh.arg('version', help='Crate version to run. Concrete version like\ "0.55.0", an alias or an URI pointing to a Crate tar...
Change run-crate setting and env option to be repeatable Instead of `-s s1=1 s2=2` they're now used as `-s s1=1 -s s2=2` Fixes #<I>
mfussenegger_cr8
train
py
6667d6f64152c895fa6bf1f0bb6286eeb0d6cfd4
diff --git a/lib/dm-core/query.rb b/lib/dm-core/query.rb index <HASH>..<HASH> 100644 --- a/lib/dm-core/query.rb +++ b/lib/dm-core/query.rb @@ -546,13 +546,9 @@ module DataMapper # @api private def condition_properties properties = Set.new - operands = conditions.operands.dup - while opera...
Refactor Query#conditions_properties to use #each_comparison
datamapper_dm-core
train
rb
8646e4761557f75afc688e15dfab713571bae723
diff --git a/src/components/NotifyOnScrollThreshold.js b/src/components/NotifyOnScrollThreshold.js index <HASH>..<HASH> 100644 --- a/src/components/NotifyOnScrollThreshold.js +++ b/src/components/NotifyOnScrollThreshold.js @@ -4,11 +4,13 @@ const _throttle = require('lodash/throttle'); const NotifyOnScrollThreshold = ...
Adds onThresholdMet prop to component
mxenabled_mx-react-components
train
js
086a8b82b95fec4484477d18d0c6347a72a33c08
diff --git a/app/state.js b/app/state.js index <HASH>..<HASH> 100644 --- a/app/state.js +++ b/app/state.js @@ -47,8 +47,8 @@ const initialState = { y: 380, }, }, - 8: { - id: 8, + 5: { + id: 5, typeId: 5, patchId: 1, position: {
fix(tests): fix tests for merged version
xodio_xod
train
js
aa42d17d6bc5d79bd7d18c310e2c0e3575702d8b
diff --git a/reactor-core/src/main/java/reactor/core/publisher/MonoProcessor.java b/reactor-core/src/main/java/reactor/core/publisher/MonoProcessor.java index <HASH>..<HASH> 100644 --- a/reactor-core/src/main/java/reactor/core/publisher/MonoProcessor.java +++ b/reactor-core/src/main/java/reactor/core/publisher/MonoProc...
[polish] Fix return type of MonoProcessor#fromSink (see #<I>, #<I>) MonoProcessor.fromSink was mistakenly returning Processor.
reactor_reactor-core
train
java
2472a647a41adfee9bbc591c2ed78bac0244610b
diff --git a/src/sku/components/SkuMessages.js b/src/sku/components/SkuMessages.js index <HASH>..<HASH> 100644 --- a/src/sku/components/SkuMessages.js +++ b/src/sku/components/SkuMessages.js @@ -56,11 +56,7 @@ export default createComponent({ const messages = {}; this.messageValues.forEach((item, index)...
fix(Sku): delete unuse logic
youzan_vant
train
js
f62e61c28f11a39c1fb4cfda5842bb648ee24eb9
diff --git a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go b/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go index <HASH>..<HASH> 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/cacher/c...
Fix cacher test after bumping fakeBudget timeout to 2 seconds
kubernetes_kubernetes
train
go
8acd6fe7284612e2d0289a84f12c09cb3afbb394
diff --git a/carbonserver/carbonserver.go b/carbonserver/carbonserver.go index <HASH>..<HASH> 100644 --- a/carbonserver/carbonserver.go +++ b/carbonserver/carbonserver.go @@ -776,10 +776,10 @@ func (listener *CarbonserverListener) expandGlobs(ctx context.Context, query str var useGlob bool - // // TODO: Find out ...
trie: bring back useGlob control in expandGlobs (committed by accident)
lomik_go-carbon
train
go
6cf30eae96d5d7aed4061c158e678197317a1c41
diff --git a/enrol/authorize/authorizenetlib.php b/enrol/authorize/authorizenetlib.php index <HASH>..<HASH> 100644 --- a/enrol/authorize/authorizenetlib.php +++ b/enrol/authorize/authorizenetlib.php @@ -19,7 +19,6 @@ define('AN_REASON_NOACHTYPE2', 246); require_once($CFG->dirroot.'/enrol/authorize/const.php'); requ...
all static functions in enrolment_plugin_authorize moved to localfuncs.php. So, no need enrol.php.
moodle_moodle
train
php
9c16795d00aca32297a9480df83670825d41e384
diff --git a/test/org/opencms/importexport/AllTests.java b/test/org/opencms/importexport/AllTests.java index <HASH>..<HASH> 100644 --- a/test/org/opencms/importexport/AllTests.java +++ b/test/org/opencms/importexport/AllTests.java @@ -1,7 +1,7 @@ /* * File : $Source: /alkacon/cvs/opencms/test/org/opencms/importexp...
Added test case for exporting VFS data with nonexistent user.
alkacon_opencms-core
train
java
3a9fd93785ab44b16b9f28ba1ee02f24d52cb745
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -26,7 +26,7 @@ function Logsene (token, type, url) { if (token === null || token === '') { throw new Error('Logsene token not specified') } - this.url = (url || 'https://logsene-receiver.sematext.com/_bulk') + thi...
configurable Logsene Receiver via env variable LOGSENE_URL
sematext_logsene-js
train
js
f182aaf1b52d0a58724a2bf9ae191ec9c7dbf912
diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index <HASH>..<HASH> 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -1422,7 +1422,7 @@ function main_upgrade($oldversion=0) { } - if ($oldversion > 2006031000) { + if ($oldversion < 2006031000) { modify_database("","...
Serious typo in postgres7 upgrade script
moodle_moodle
train
php
1d07bbba0272d6eea143d5212d96d86bdcbc700d
diff --git a/bin/oref0-get-profile.js b/bin/oref0-get-profile.js index <HASH>..<HASH> 100755 --- a/bin/oref0-get-profile.js +++ b/bin/oref0-get-profile.js @@ -47,8 +47,8 @@ if (!module.parent) { var model_input = params.model; if (params._.length > 6) { - model_input = params.model ? params.params._...
Minor fixup, changed incorrect variable, scoping tidy up (#<I>)
openaps_oref0
train
js
ccd9ca494710cc77b100f89b3423ba99603fa030
diff --git a/tests/integration/api_container_test.py b/tests/integration/api_container_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/api_container_test.py +++ b/tests/integration/api_container_test.py @@ -1252,6 +1252,9 @@ class AttachContainerTest(BaseAPIIntegrationTest): @pytest.mark.timeout(10) ...
Xfail test_attach_stream_and_cancel on TLS This test is quite flaky on ssl integration test
docker_docker-py
train
py
fe8084b3d5ea3870f367f3d7abb6d9a06c9c8d67
diff --git a/rest_collector.go b/rest_collector.go index <HASH>..<HASH> 100644 --- a/rest_collector.go +++ b/rest_collector.go @@ -36,7 +36,7 @@ type RestCollector struct { UpdatedOn int64 `json:"updatedOn,omitempty"` - AutomaticUpgradeInfo AutomaticUpgradeInfo `json:"automaticUpgradeInfo,omitempty"` + AutomaticU...
Fix AddCollector by using pointers
logicmonitor_lm-sdk-go
train
go
ac390ec8bd1f6e5c6483e2b2e02688193c91c2bc
diff --git a/property/wait.go b/property/wait.go index <HASH>..<HASH> 100644 --- a/property/wait.go +++ b/property/wait.go @@ -71,6 +71,11 @@ func Wait(ctx context.Context, c *Collector, obj types.ManagedObjectReference, p return err } + // Retry if the result came back empty + if res == nil { + continue +...
Retry on empty result from property collector
vmware_govmomi
train
go
8c0741163eb177417b5f16c209238c97bc88e3eb
diff --git a/lib/url-prefixer.js b/lib/url-prefixer.js index <HASH>..<HASH> 100644 --- a/lib/url-prefixer.js +++ b/lib/url-prefixer.js @@ -84,7 +84,7 @@ function urlPrefixer(config) { // if we buffered a bit of text but we're now at the end of the data, then apparently // it wasn't a u...
Fix for really short HTML responses When HTML responses are short the flush function can sometimes get a chunk_remainder. Before the chunk_remainder is ignored. Now it parses the last piece to ensure that it will be parsed.
nfriedly_node-unblocker
train
js
9380a74b70480068180725a06fd5aa6d2f131659
diff --git a/go/bind/keybase.go b/go/bind/keybase.go index <HASH>..<HASH> 100644 --- a/go/bind/keybase.go +++ b/go/bind/keybase.go @@ -29,7 +29,6 @@ import ( "github.com/keybase/kbfs/env" "github.com/keybase/kbfs/fsrpc" "github.com/keybase/kbfs/libgit" - "github.com/keybase/kbfs/libhttpserver" "github.com/keyba...
move libhttpserver initialization into SimpleFS (#<I>)
keybase_client
train
go
5f226d97b09c811f9565432e741d8615460853eb
diff --git a/tests/integration/pypyr/utils/filesystem_int_test.py b/tests/integration/pypyr/utils/filesystem_int_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/pypyr/utils/filesystem_int_test.py +++ b/tests/integration/pypyr/utils/filesystem_int_test.py @@ -45,13 +45,18 @@ def temp_file_creator(temp_dir): ...
fs integration test py<I> compat filesystem integration test clean-up uses Pathlib.Path().unlink(missing_ok=True). The missing_ok arg was only introduced in py <I> Revert to using try/catch on FileNotFoundException until pypyr min supported py version is py<I>.
pypyr_pypyr-cli
train
py
3ed21ceecba25a5265a407a8643f050d00df69f5
diff --git a/lib/usps/test.rb b/lib/usps/test.rb index <HASH>..<HASH> 100644 --- a/lib/usps/test.rb +++ b/lib/usps/test.rb @@ -14,13 +14,17 @@ module USPS require 'usps/test/city_and_state_lookup' require 'usps/test/tracking_lookup' - # - if(USPS.config.username.nil?) + if(ENV['USPS_USER'].nil?) ...
Use the new configuration idiom and remove USPS_LIVE. The test data was defined in <I> or before and isn't valid any more for many of the tests.
gaffneyc_usps
train
rb
1c85ea6bda4e31aa583e92327e107aae3c235ee7
diff --git a/tasky/loop.py b/tasky/loop.py index <HASH>..<HASH> 100644 --- a/tasky/loop.py +++ b/tasky/loop.py @@ -90,8 +90,8 @@ class Tasky(object): async def init(self) -> None: '''Initialize configuration and start tasks.''' - self.configuration = await self.insert(self.configuration) ...
Start the stats task before the config task This allows counters to be available for usage when the config task is initialized.
jreese_tasky
train
py
411bc24db9549d43c110b86a6947d94fe4a2cf6a
diff --git a/tests/shapes_unittest.py b/tests/shapes_unittest.py index <HASH>..<HASH> 100644 --- a/tests/shapes_unittest.py +++ b/tests/shapes_unittest.py @@ -785,15 +785,20 @@ class FieldTestCase(unittest.TestCase): class GridTestCase(unittest.TestCase): + def _test_expected_points(self, grid): + for i,...
Check the sequence of points produced by the grid iterator.
gem_oq-engine
train
py
6a322fc202960d648968f575ff25ec80009d8249
diff --git a/tests/test_simple_document.py b/tests/test_simple_document.py index <HASH>..<HASH> 100644 --- a/tests/test_simple_document.py +++ b/tests/test_simple_document.py @@ -84,6 +84,12 @@ class TestDocument(unittest.TestCase): def test_contains(self): now = datetime.now() + self.assertFalse...
+ assertions to *contains* Unit Test
mushkevych_synergy_odm
train
py
bde1b7b3b8d65fcd27c4fbf15449dc053712adab
diff --git a/datalad_service/common/annex.py b/datalad_service/common/annex.py index <HASH>..<HASH> 100644 --- a/datalad_service/common/annex.py +++ b/datalad_service/common/annex.py @@ -8,12 +8,16 @@ from datalad.support.exceptions import FileInGitError SERVICE_EMAIL = 'git@openneuro.org' SERVICE_USER = 'Git Worker'...
Speed up get_files if no branch change is required.
OpenNeuroOrg_openneuro
train
py
28a5d7e53a05414183f14807576e0b051ea56214
diff --git a/tests/e2e/kubetest2-kops/do/zones.go b/tests/e2e/kubetest2-kops/do/zones.go index <HASH>..<HASH> 100644 --- a/tests/e2e/kubetest2-kops/do/zones.go +++ b/tests/e2e/kubetest2-kops/do/zones.go @@ -19,6 +19,7 @@ package do import ( "errors" "math/rand" + "time" ) var allZones = []string{ @@ -46,7 +47,...
Fix seeding for generating random zones
kubernetes_kops
train
go
0ba7da46fdba60bca28f4f56a1cf861ced235678
diff --git a/src/Exscript/AccountManager.py b/src/Exscript/AccountManager.py index <HASH>..<HASH> 100644 --- a/src/Exscript/AccountManager.py +++ b/src/Exscript/AccountManager.py @@ -32,7 +32,7 @@ class AccountManager(object): def reset(self): self.default_pool.reset() - for pool in self.pools: +...
Exscript.AccountManager.reset(), .acquire_account(): fix: did not work for non-default pools.
knipknap_exscript
train
py
ee4b5494412707b98b0874d7a08bdba30a8980ae
diff --git a/tcMenuGenerator/src/test/java/com/thecoderscorner/menu/editorui/generator/input/InputTypeTest.java b/tcMenuGenerator/src/test/java/com/thecoderscorner/menu/editorui/generator/input/InputTypeTest.java index <HASH>..<HASH> 100644 --- a/tcMenuGenerator/src/test/java/com/thecoderscorner/menu/editorui/generator...
Ensure that encoder for up/down matches define
davetcc_tcMenu
train
java
dbd71edc70e74ce0efe130ece349fcea7c7356d3
diff --git a/round.js b/round.js index <HASH>..<HASH> 100644 --- a/round.js +++ b/round.js @@ -365,12 +365,12 @@ function getAllCoinbaseRatioByRoundIndex(conn, roundIndex, callback){ throw Error("wrong trustme unit exit "); if(row.address === constants.FOUNDATION_AD...
fixed a bug of coinbase amount
trustnote_trustnote-pow-common
train
js
86b0e730ab59f4e57f0443e09b32200a86e84ce6
diff --git a/lib/primary.rb b/lib/primary.rb index <HASH>..<HASH> 100644 --- a/lib/primary.rb +++ b/lib/primary.rb @@ -32,7 +32,7 @@ module Primary end def get_primary_scope(options) - check = self.class.where("#{options[:on].to_s} = ?", true) + check = self.class.default_scoped.where("#{o...
Add default_scoped call to prevent deprecation warnings
prograils_primary
train
rb
c358425c2432fdbee47a9ada0d2023e40b4926cc
diff --git a/isort/api.py b/isort/api.py index <HASH>..<HASH> 100644 --- a/isort/api.py +++ b/isort/api.py @@ -62,10 +62,10 @@ def check_imports(file_contents: str, show_diff: bool=False, extension: str = "p if compare_out == compare_in: if config.verbose: - print(f"SUCCESS: {logging_file_pat...
Fix logging statuments to include correct file path
timothycrosley_isort
train
py
ebe9b7911ff3e1870df766ffb98b4f0c3b8e8822
diff --git a/src/AuditableTrait.php b/src/AuditableTrait.php index <HASH>..<HASH> 100644 --- a/src/AuditableTrait.php +++ b/src/AuditableTrait.php @@ -111,7 +111,7 @@ trait AuditableTrait public function getCreatedByNameAttribute() { if ($this->{$this->getCreatedByColumn()}) { - return $th...
Use name attribute. Note: add name getter to present first & last name if needed.
yajra_laravel-auditable
train
php
b7656686bd5379ecab544fc0ec1fd4e474057277
diff --git a/core-bundle/src/Resources/contao/classes/Backend.php b/core-bundle/src/Resources/contao/classes/Backend.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/classes/Backend.php +++ b/core-bundle/src/Resources/contao/classes/Backend.php @@ -556,7 +556,10 @@ abstract class Backend extends \...
[Core] Check the module name before adding it to the back end breadcrumb (see #<I>).
contao_contao
train
php
2b9c55b3224ab46199612f99311b5007f69504b7
diff --git a/tests/Cache/CacheFileStoreTest.php b/tests/Cache/CacheFileStoreTest.php index <HASH>..<HASH> 100755 --- a/tests/Cache/CacheFileStoreTest.php +++ b/tests/Cache/CacheFileStoreTest.php @@ -74,6 +74,7 @@ class CacheFileStoreTest extends PHPUnit_Framework_TestCase { $store->forever('foo', 'Hello World', 10);...
Double space methods for continuity :wink:
laravel_framework
train
php
de51aa9e7deaaf0a3a039b4041225fd0e0513e3b
diff --git a/src/mixins/comparable.js b/src/mixins/comparable.js index <HASH>..<HASH> 100644 --- a/src/mixins/comparable.js +++ b/src/mixins/comparable.js @@ -1,6 +1,7 @@ import { deepEqual } from '../util/helpers' export default { + name: 'comparable', props: { valueComparator: { type: Function,
chore(api): add name to comparable mixin
vuetifyjs_vuetify
train
js
09af40b609b1cd85e5c4de167bcb723820de471c
diff --git a/lib/events/eventParser.js b/lib/events/eventParser.js index <HASH>..<HASH> 100644 --- a/lib/events/eventParser.js +++ b/lib/events/eventParser.js @@ -119,7 +119,7 @@ EventParser._parseZoneGroupTopologyEvent = async function (body, device) { eventData[firstKey] = element[firstKey] } } - if (...
lint: Remove trailing spaces
bencevans_node-sonos
train
js
4ba3a290b888593c76f7d7221636af594724c7e1
diff --git a/lib/OpenLayers/Events.js b/lib/OpenLayers/Events.js index <HASH>..<HASH> 100644 --- a/lib/OpenLayers/Events.js +++ b/lib/OpenLayers/Events.js @@ -91,11 +91,11 @@ OpenLayers.Events.prototype = { * methods of the Bounds object through the "this" variable. So our * callback could execute some...
change these alerts so as not to confuse ourselves when grepping for alerts to remove debugging code. :-) git-svn-id: <URL>
openlayers_openlayers
train
js
852dd4e4d74e12c27f03f98773cd5e169bfa7952
diff --git a/src/com/google/javascript/jscomp/testing/TypeSubject.java b/src/com/google/javascript/jscomp/testing/TypeSubject.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/testing/TypeSubject.java +++ b/src/com/google/javascript/jscomp/testing/TypeSubject.java @@ -95,6 +95,6 @@ public final cl...
Switch order of toStringIsEqualTo in TypeSubject so that error messages makes sense. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
b28b98d4e689f35fe37e1f84302a10f863c8614c
diff --git a/spec/unit/memory_leak_spec.rb b/spec/unit/memory_leak_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/memory_leak_spec.rb +++ b/spec/unit/memory_leak_spec.rb @@ -1,11 +1,11 @@ -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper')) +require 'spec_helper' describe "state mac...
trying to understand, why Travis with Ruby <I> keeps failing
aasm_aasm
train
rb
d8879066d191aabbc8d1b4c83db346ef4243a59c
diff --git a/examples/my-element/my-element.js b/examples/my-element/my-element.js index <HASH>..<HASH> 100644 --- a/examples/my-element/my-element.js +++ b/examples/my-element/my-element.js @@ -22,7 +22,7 @@ window.customElements.define(componentName, class extends webComponentBaseClass type: String, // (require...
change example to use symbol to make handler more private
virtualcodewarrior_webComponentBaseClass
train
js
89cff663a2f6e0c59a1a5d801a928f5daa6138a5
diff --git a/steam/items.py b/steam/items.py index <HASH>..<HASH> 100644 --- a/steam/items.py +++ b/steam/items.py @@ -453,8 +453,6 @@ class item(object): finalres = [] ranktypes = self._schema.get_kill_types() - if not ranktypes: - return [] for attr in self: ...
Add default rank for kill eaters without associated types
Lagg_steamodd
train
py
76ea9f9714ff08cfffec16fc3672480a9f46f5d9
diff --git a/activerecord/test/cases/scoping/relation_scoping_test.rb b/activerecord/test/cases/scoping/relation_scoping_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/scoping/relation_scoping_test.rb +++ b/activerecord/test/cases/scoping/relation_scoping_test.rb @@ -11,6 +11,10 @@ require 'models/re...
Make sure that fixtures are loaded before finding
rails_rails
train
rb
1267f17281227bdb181691ab90f4f39887bbe4bd
diff --git a/cluster_query.go b/cluster_query.go index <HASH>..<HASH> 100644 --- a/cluster_query.go +++ b/cluster_query.go @@ -119,7 +119,9 @@ func (c *Cluster) executeN1qlQuery(n1qlEp string, opts map[string]interface{}, c opts["timeout"] = timeout.String() } - opts["creds"] = creds + if len(creds) > 1 { + opt...
Use HTTP basic auth if only one credential is passed for N1QL querying. There is a bug in the N1QL request parser which causes values passed to the `creds` option to error when sent via POST. Change-Id: Idd2a<I>fab<I>c<I>db3d<I>b1bbc8cc8d6ee Reviewed-on: <URL>
couchbase_gocb
train
go
58a263e82aba8be36c9b972733555d818c15e536
diff --git a/src/pyiso/utils.py b/src/pyiso/utils.py index <HASH>..<HASH> 100644 --- a/src/pyiso/utils.py +++ b/src/pyiso/utils.py @@ -167,8 +167,7 @@ def normpath(path): for comp in comps: if comp in (empty, dot): continue - if (comp != dotdot or (not initial_slashes and not new_comps...
Fix minor pylint issue.
clalancette_pycdlib
train
py
261d0c9ca3988b5b843e99468e2b0ea7cefa01c8
diff --git a/src/Robo/Commands/Setup/SettingsCommand.php b/src/Robo/Commands/Setup/SettingsCommand.php index <HASH>..<HASH> 100644 --- a/src/Robo/Commands/Setup/SettingsCommand.php +++ b/src/Robo/Commands/Setup/SettingsCommand.php @@ -66,7 +66,6 @@ class SettingsCommand extends BltTasks { $project_local_drush_fi...
Updating settings command. (#<I>) * Updating settings command. * Update to use logger instead of yell().
acquia_blt
train
php
38143eddd61d8f84321e6a1baf441d4b21fbeed6
diff --git a/app/lib/quasar-config.js b/app/lib/quasar-config.js index <HASH>..<HASH> 100644 --- a/app/lib/quasar-config.js +++ b/app/lib/quasar-config.js @@ -475,7 +475,7 @@ class QuasarConfig { cfg.build.distDir = path.join(cfg.build.distDir, 'UnPackaged') } else if (this.ctx.mode.tauri) { - cfg...
chore(app) dont use src-tauri on path resolution
quasarframework_quasar
train
js
bdc900079b3b4ff8c4c1cd60f675391771216ec2
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -785,7 +785,6 @@ function _runNext(_runBucket) { }); } else if (_runBucket.running <= 0) { // Empting bucket _runBucket.callback.call(this); - // _runBucket.callback(); } } @@ -802,8 +801,10 @@ function _runNextF...
_run now uses setImmediate to queue up large numbers of functions to run
hash-bang_async-chainable
train
js
eefb4d42b84372ee1e0a4333c4220d93c7a3e8e3
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -49,7 +49,7 @@ export default { deactivate(): void { const helpers = require('atom-linter'); - console.log('deactivating... lintet-flow'); + console.log('deactivating... linter-flow'); help...
revert(flow-comment-detection): revert back to simple @flow detecting to fix regressions
AtomLinter_linter-flow
train
js
75bc7ac6ded44339ae4a09618e4bf046b4b8fc91
diff --git a/glue/LDBDWServer.py b/glue/LDBDWServer.py index <HASH>..<HASH> 100644 --- a/glue/LDBDWServer.py +++ b/glue/LDBDWServer.py @@ -148,11 +148,11 @@ class Server(object): self.configuration = configuration # define dispatches - mySelector.add('/LDBD/ping[.{format}]', POST=self.ping, GET=self.ping...
make ldbdw server urls lower case
gwastro_pycbc-glue
train
py
ebb24d91296f2be468a38867423df83472af8288
diff --git a/lib/specinfra/command/module/ss.rb b/lib/specinfra/command/module/ss.rb index <HASH>..<HASH> 100644 --- a/lib/specinfra/command/module/ss.rb +++ b/lib/specinfra/command/module/ss.rb @@ -24,10 +24,18 @@ module Specinfra def command_options(protocol) case protocol - when /\Atcp...
Distinguish between IPv4 and IPv6 lookups
mizzy_specinfra
train
rb
71b2b6ca1932f388fe435802a5f46d5b37d3bbb4
diff --git a/push_notifications/gcm.py b/push_notifications/gcm.py index <HASH>..<HASH> 100644 --- a/push_notifications/gcm.py +++ b/push_notifications/gcm.py @@ -141,6 +141,6 @@ def gcm_send_bulk_message(registration_ids, data, collapse_key=None, delay_while ret = [] for chunk in _chunks(registration_ids, max_re...
fix return value when gcm bulk is split in batches
jazzband_django-push-notifications
train
py
2966976bb44c4c0b27b31b0a526a711b47bb97cf
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1129,6 +1129,17 @@ function DiscordClient(options) { }); }); } + self.queryInvite = function(inviteCode, callback) { + checkRS(function() { + request.get({ + url: "https://discordapp.com/api/inv...
Created 'queryInvite' Gets immediate invite information
izy521_discord.io
train
js
852ea7d8d84f15341ffd026915d4585ba1b0bb1f
diff --git a/modules/cms/twig/DebugExtension.php b/modules/cms/twig/DebugExtension.php index <HASH>..<HASH> 100644 --- a/modules/cms/twig/DebugExtension.php +++ b/modules/cms/twig/DebugExtension.php @@ -1,5 +1,6 @@ <?php namespace Cms\Twig; +use Twig_Template; use Twig_Extension; use Twig_Environment; use Twig_Si...
Added missing use statement (#<I>) Credit to @tschallacka
octobercms_october
train
php
ce56c879544da2ca34c51ce1a03d8f8eef7cb603
diff --git a/test/09-vulnerable-dependencies.spec.js b/test/09-vulnerable-dependencies.spec.js index <HASH>..<HASH> 100644 --- a/test/09-vulnerable-dependencies.spec.js +++ b/test/09-vulnerable-dependencies.spec.js @@ -449,7 +449,10 @@ describe('Vulnerability validation', () => { }) .c...
test(vulnerable-dependencies): fix a weird side effect due to removal of 'ban-sensitive-files' and 'globby' dependencies
inikulin_publish-please
train
js
a6152db84adfb7e9b64c16826aad73d5be91cb28
diff --git a/src/_pytest/setuponly.py b/src/_pytest/setuponly.py index <HASH>..<HASH> 100644 --- a/src/_pytest/setuponly.py +++ b/src/_pytest/setuponly.py @@ -22,8 +22,7 @@ def pytest_addoption(parser): @pytest.hookimpl(hookwrapper=True) def pytest_fixture_setup(fixturedef, request): yield - config = request....
setuponly: pytest_fixture_setup: use option directly
pytest-dev_pytest
train
py
30487192ad84c9a6a60ac3bcf992c10c9b6177e0
diff --git a/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java b/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java index <HASH>..<HASH> 100644 --- a/junit-servers-core/src/main/java/com/github/mjeanroy/junit/server...
According to javadoc Hook.post(EmbeddedServer) should be called before the server stops, but is called after. The execHooks(false) should be called before doStop().
mjeanroy_junit-servers
train
java
63c831f88c899fa746f10975330860f1be54ecc9
diff --git a/lang/fr/admin.php b/lang/fr/admin.php index <HASH>..<HASH> 100755 --- a/lang/fr/admin.php +++ b/lang/fr/admin.php @@ -3,8 +3,9 @@ $string['adminseesallevents'] = 'Les administrateurs voient tous les �v�nements'; $string['adminseesownevents'] = 'Les administrateurs sont comme tous les autres utilisateurs'...
New string (badwordsdefault) and couple of edits to do with censor filter.
moodle_moodle
train
php
cd803d5a7a06c1afdb8abd739cbd980af2d6932a
diff --git a/progressbar/utils.py b/progressbar/utils.py index <HASH>..<HASH> 100644 --- a/progressbar/utils.py +++ b/progressbar/utils.py @@ -26,10 +26,12 @@ class WrappingIO: else: self.target.write(value) - def flush(self): - self.target.write(self.buffer.getvalue()) - self.b...
fixed output redirection for the python logging. fixes #<I>, again
WoLpH_python-progressbar
train
py
4a43ca2a1eeef94691e094e04133377817151043
diff --git a/test/connection.test.js b/test/connection.test.js index <HASH>..<HASH> 100644 --- a/test/connection.test.js +++ b/test/connection.test.js @@ -480,6 +480,11 @@ test('transaction', async () => { result: 31, }, ]); + if (!mockRpcEnabled) { + // Credit-only account credits are committed at t...
fix: fix transaction live test for credit-only accounts (#<I>)
solana-labs_solana-web3.js
train
js
61781784913e63327ae2a10d007de69575c0b7dd
diff --git a/tests/providers/test_python.py b/tests/providers/test_python.py index <HASH>..<HASH> 100644 --- a/tests/providers/test_python.py +++ b/tests/providers/test_python.py @@ -54,7 +54,7 @@ class TestPyfloat(unittest.TestCase): result = self.factory.pyfloat(right_digits=expected_right_digits) - ...
fix float test (#<I>)
joke2k_faker
train
py
422ce5d5a950aa064b13929949b2365e2f70600d
diff --git a/spec/govuk_message_queue_consumer/test_helpers/mock_message_spec.rb b/spec/govuk_message_queue_consumer/test_helpers/mock_message_spec.rb index <HASH>..<HASH> 100644 --- a/spec/govuk_message_queue_consumer/test_helpers/mock_message_spec.rb +++ b/spec/govuk_message_queue_consumer/test_helpers/mock_message_s...
Ignore Rspec/FilePath violation This violation is caused by Rubocop expecting this class to follow a namespace that matches the class name, which would be the idiomatic way to organise these files. Unfortunately the decision was made a while ago to add the test_helpers directory to lib without a corresponding namespa...
alphagov_govuk_message_queue_consumer
train
rb
00bb5455363c52ec7fee0b9756fdaa015d8ef09e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,8 +31,10 @@ setup( 'requests', 'six', 'oauthlib', - 'requests_oauthlib' - ] + (['kerberos-sspi'] if "win32" in sys.platform else ['kerberos']), + 'requests_oauthlib', + 'k...
Update setup.py Changed sys.platform to platform_system.
atlassian-api_atlassian-python-api
train
py
7302c7cf0e4f3beb644cecdd2b7f59254ec76439
diff --git a/lib/Drivers/DML/sqlite.js b/lib/Drivers/DML/sqlite.js index <HASH>..<HASH> 100644 --- a/lib/Drivers/DML/sqlite.js +++ b/lib/Drivers/DML/sqlite.js @@ -14,7 +14,11 @@ function Driver(config, connection, opts) { // on Windows, paths have a drive letter which is parsed by // url.parse() as the hostname. ...
Changes the way ":" is added to sqlite db paths (#<I>) 1. Only add on win<I> platforms 2. Only add if host is a letter The only case this can't avoid (right now) is realtive paths where the first folder is a letter. Please avoid it.
dresende_node-orm2
train
js
0aa880e773aec77b1383f9df04cf40702a07919a
diff --git a/plugins/CoreConsole/Commands/SyncUITestScreenshots.php b/plugins/CoreConsole/Commands/SyncUITestScreenshots.php index <HASH>..<HASH> 100644 --- a/plugins/CoreConsole/Commands/SyncUITestScreenshots.php +++ b/plugins/CoreConsole/Commands/SyncUITestScreenshots.php @@ -78,5 +78,31 @@ class SyncUITestScreenshot...
Display instructions on how to fix a UI tests build at the end of the console command output
matomo-org_matomo
train
php
02ff05bcb481cc7b841d66ea7bcd83377373da03
diff --git a/src/Transport/CurlerRequest.php b/src/Transport/CurlerRequest.php index <HASH>..<HASH> 100644 --- a/src/Transport/CurlerRequest.php +++ b/src/Transport/CurlerRequest.php @@ -438,6 +438,12 @@ class CurlerRequest return $this; } + public function authByHeaders($username, $password) + { ...
Use X-ClickHouse-User by headers
smi2_phpClickHouse
train
php,php
a622bc1a96bf095b27416d210da64bdff7b85d41
diff --git a/user/forum.php b/user/forum.php index <HASH>..<HASH> 100644 --- a/user/forum.php +++ b/user/forum.php @@ -50,9 +50,16 @@ if ($forumform->is_cancelled()) { $user->trackforums = $data->trackforums; user_update_user($user, false, false); + // Trigger event. \core\event\user_updated::crea...
MDL-<I> core_user: Some preferences are not updated in $USER object
moodle_moodle
train
php,php
853235b8df1bb49c4e1a1aff18010b9230e4b781
diff --git a/lib/server.js b/lib/server.js index <HASH>..<HASH> 100644 --- a/lib/server.js +++ b/lib/server.js @@ -135,8 +135,8 @@ var SPDYProxy = function(options) { console.log("%s:%s".yellow + " - %s - " + "stream ID: " + "%s".yellow + " - priority: " + "%s".yellow, socket.connection ? socket.connection....
Websocket request logging: tolerate absence of socket._spdyState.
igrigorik_node-spdyproxy
train
js
33b927e682355d5b4e10f472f3254cf172bae8d9
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -168,7 +168,7 @@ function getImage (req, res, options) { function buildReport (params) { console.log('Sending to github') - var markdownReport = JSON.parse(fs.readFileSync(process.env.REPORT_JSON_PATH)) + var markdownR...
Change from env variable to string
ciena-blueplanet_ember-cli-visual-acceptance
train
js
2764474dfd850f7c3170cc2bf6e5d59d756791b3
diff --git a/client/src/index.js b/client/src/index.js index <HASH>..<HASH> 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -384,7 +384,7 @@ class FindAll extends TermBase { this._values = fieldValues this._name = fieldName this.query = Object.assign({}, query, { - selection: {type: 'f...
find_one -> find, find -> find_all in protocol
rethinkdb_horizon
train
js
e33abde68dfa49723d24a0c1c332e78fe848043b
diff --git a/molgenis-core-ui/src/main/java/org/molgenis/ui/MolgenisFreemarkerObjectWrapper.java b/molgenis-core-ui/src/main/java/org/molgenis/ui/MolgenisFreemarkerObjectWrapper.java index <HASH>..<HASH> 100644 --- a/molgenis-core-ui/src/main/java/org/molgenis/ui/MolgenisFreemarkerObjectWrapper.java +++ b/molgenis-core...
Store in list instead of passing along iterable
molgenis_molgenis
train
java
94131516cf214ae885ff749f1cf674daf67f6966
diff --git a/spec/notification_spec.rb b/spec/notification_spec.rb index <HASH>..<HASH> 100644 --- a/spec/notification_spec.rb +++ b/spec/notification_spec.rb @@ -684,7 +684,7 @@ describe Bugsnag::Notification do begin raise rescue - Bugsnag.notify($!, {context: invalid_data }) + Bugsnag.noti...
Use hash rocket for old rubies
bugsnag_bugsnag-ruby
train
rb
cd07afdfbfa6b5d94f23137a8efd4f2970386a23
diff --git a/service/dynamodb/dynamodbattribute/doc.go b/service/dynamodb/dynamodbattribute/doc.go index <HASH>..<HASH> 100644 --- a/service/dynamodb/dynamodbattribute/doc.go +++ b/service/dynamodb/dynamodbattribute/doc.go @@ -57,4 +57,6 @@ // the json.Marshaler and json.Unmarshaler interfaces have been removed and /...
Updating docs to specify which time formats are supported. (#<I>)
aws_aws-sdk-go
train
go
3fb76f3ebb659c4ea5d70708f2346fcf56cd9e82
diff --git a/backend/local/backend_apply.go b/backend/local/backend_apply.go index <HASH>..<HASH> 100644 --- a/backend/local/backend_apply.go +++ b/backend/local/backend_apply.go @@ -250,7 +250,8 @@ func (b *Local) opApply( countHook.Removed))) } - if countHook.Added > 0 || countHook.Changed > 0 { + // only...
only show state path help if state is local
hashicorp_terraform
train
go
259204fb893300451f3a23336741748eaebdb782
diff --git a/test/tree_test.rb b/test/tree_test.rb index <HASH>..<HASH> 100644 --- a/test/tree_test.rb +++ b/test/tree_test.rb @@ -2,8 +2,8 @@ require "test_helper" context "Rugged::Tree tests" do setup do - path = File.dirname(__FILE__) + '/fixtures/testrepo.git/' - @repo = Rugged::Repository.new(path) + ...
tree_test: remove loose tree left in the fixture A tree with OID 7f<I>ea<I>ce<I>e<I>acaabf9e<I>c<I>b0 was present in the testrepo.git fixture after a test run. Now the repo should remain in the same state as when the tests started.
libgit2_rugged
train
rb
fab51a19753cf8119bccfd6ae60a6314162ee317
diff --git a/examples/bartlett1932/experiment.py b/examples/bartlett1932/experiment.py index <HASH>..<HASH> 100644 --- a/examples/bartlett1932/experiment.py +++ b/examples/bartlett1932/experiment.py @@ -32,7 +32,7 @@ class Bartlett1932(Experiment): net.add_source(source) self.save() ...
bartlett: use the participant object, not its id
berkeley-cocosci_Wallace
train
py
7b1a50f72e0c4b7dca817d9db36f54985312dc31
diff --git a/src/extras/primitives/primitives/a-sky.js b/src/extras/primitives/primitives/a-sky.js index <HASH>..<HASH> 100644 --- a/src/extras/primitives/primitives/a-sky.js +++ b/src/extras/primitives/primitives/a-sky.js @@ -7,7 +7,7 @@ registerPrimitive('a-sky', utils.extendDeep({}, getMeshMixin(), { defaultCompo...
Reduce videosphere size to prevent far plane clipping in VR mode on Android devices (fix #<I>)
aframevr_aframe
train
js,js
bac5bde38c7725990645cf9b2bf2c824594f3963
diff --git a/docs_test.go b/docs_test.go index <HASH>..<HASH> 100644 --- a/docs_test.go +++ b/docs_test.go @@ -53,6 +53,9 @@ func testApp() *App { Usage: "retrieve generic information", }, { Name: "some-command", + }, { + Name: "hidden-command", + Hidden: true, }} app.UsageText = "app [first_arg] [sec...
Don't generate fish completion for hidden commands Added the missing test case as well.
urfave_cli
train
go,go
fb264a4fb90e1199c7003a7c126151589193111c
diff --git a/src/arpa/models/simple.py b/src/arpa/models/simple.py index <HASH>..<HASH> 100644 --- a/src/arpa/models/simple.py +++ b/src/arpa/models/simple.py @@ -16,7 +16,7 @@ class ARPAModelSimple(ARPAModel): def add_entry(self, ngram, p, bo=None, order=None): key = tuple(ngram) self._ps[key] =...
fix: explicit 0 and <I> were dropped
sfischer13_python-arpa
train
py
e6697e15b2876065daa9db513e24eacc5d5f7a94
diff --git a/pyuploadcare/dj/conf.py b/pyuploadcare/dj/conf.py index <HASH>..<HASH> 100644 --- a/pyuploadcare/dj/conf.py +++ b/pyuploadcare/dj/conf.py @@ -20,7 +20,7 @@ conf.pub_key = settings.UPLOADCARE['pub_key'] conf.secret = settings.UPLOADCARE['secret'] -widget_version = settings.UPLOADCARE.get('widget_versio...
Update widget version in dj/conf
uploadcare_pyuploadcare
train
py
b0003e2634c7c2962d0abe6ab9da464b401ef5c2
diff --git a/python_modules/automation/automation/release/dagster_module.py b/python_modules/automation/automation/release/dagster_module.py index <HASH>..<HASH> 100644 --- a/python_modules/automation/automation/release/dagster_module.py +++ b/python_modules/automation/automation/release/dagster_module.py @@ -106,7 +10...
Make release work with new black settings Summary: quotes Test Plan: none Reviewers: nate, dgibson Reviewed By: dgibson Differential Revision: <URL>
dagster-io_dagster
train
py
235bdf9a6623274c800c71453ac7f776af063609
diff --git a/qiskit/validation/fields/containers.py b/qiskit/validation/fields/containers.py index <HASH>..<HASH> 100644 --- a/qiskit/validation/fields/containers.py +++ b/qiskit/validation/fields/containers.py @@ -7,7 +7,7 @@ """Container fields that represent nested/collections of schemas or types.""" -from coll...
Fix deprecation warnings for abc on Python <I> (#<I>) When running on Python <I> importing things from 'collections.abc' via just 'collections' raises a deprecation warning because it'll be removed in python <I>. This commit fixes this by updating the imports to not use the alias.
Qiskit_qiskit-terra
train
py,py
45925e9cb39041dbb93cfdf4644a83cca502cb63
diff --git a/client/lib/media/utils.js b/client/lib/media/utils.js index <HASH>..<HASH> 100644 --- a/client/lib/media/utils.js +++ b/client/lib/media/utils.js @@ -107,7 +107,8 @@ const MediaUtils = { } else if ( media.extension ) { extension = media.extension; } else { - extension = path.extname( url.parse(...
Media: path must be a string
Automattic_wp-calypso
train
js
94a09f3fc26ee0c35e498ba108c0539489793e79
diff --git a/src/SerializerAbstract.php b/src/SerializerAbstract.php index <HASH>..<HASH> 100644 --- a/src/SerializerAbstract.php +++ b/src/SerializerAbstract.php @@ -106,12 +106,15 @@ abstract class SerializerAbstract implements SerializerInterface foreach ($relationships[$type] as $name => $nested) { ...
Avoid creating element if method is not found
tobscure_json-api
train
php
11cc8c015123c7e3a54e1c46c145fa64da950737
diff --git a/lib/roxml/definition.rb b/lib/roxml/definition.rb index <HASH>..<HASH> 100644 --- a/lib/roxml/definition.rb +++ b/lib/roxml/definition.rb @@ -235,7 +235,7 @@ module ROXML @default = opts.delete(:else) @to_xml = opts.delete(:to_xml) - @name_explicit = opts.has_key?(:from) + @name_e...
:attr and :content declarations were not getting xml_convention applied
Empact_roxml
train
rb,rb