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
a1b7690fec774e5acf82bd523f38d2504ea6b2fa
diff --git a/lib/repository/base/version.rb b/lib/repository/base/version.rb index <HASH>..<HASH> 100644 --- a/lib/repository/base/version.rb +++ b/lib/repository/base/version.rb @@ -4,6 +4,6 @@ module Repository class Base # Gem version, following [RubyGems.org](https://rubygems.org) and # [SemVer](http:/...
Bumped version number to <I>. No code/spec changes. RSpec: <I> examples, 0 failures; <I>/<I> LOC (<I>%) covered RuboCop: 9 files inspected, no offenses detected
jdickey_repository-base
train
rb
5c65538deef1a81bebbd4d05dfbd9507f5905895
diff --git a/datatableview/columns.py b/datatableview/columns.py index <HASH>..<HASH> 100644 --- a/datatableview/columns.py +++ b/datatableview/columns.py @@ -116,6 +116,9 @@ class Column(six.with_metaclass(ColumnMetaclass)): self.allow_regex = allow_regex self.allow_full_text_search = allow_full_text...
It's official, I don't know what I want
pivotal-energy-solutions_django-datatable-view
train
py
d43b5e89c0745e7467949397a0c4e9fbec53bff7
diff --git a/src/error.js b/src/error.js index <HASH>..<HASH> 100644 --- a/src/error.js +++ b/src/error.js @@ -72,7 +72,7 @@ function _gpfErrorFactory (code, name, message) { * @param {String} name Error name * @param {String} message Error message * @return {Function} New error class - * @closure + * @gpf:closur...
Prefix jsdoc extensions with gpf
ArnaudBuchholz_gpf-js
train
js
a35bc31e80f6bedfc6fedbecc0b609bc3095347e
diff --git a/src/Dispatcher.php b/src/Dispatcher.php index <HASH>..<HASH> 100644 --- a/src/Dispatcher.php +++ b/src/Dispatcher.php @@ -254,7 +254,7 @@ class Dispatcher * * @return \SlaxWeb\Router\Route|null */ - public function routeNotFoundHook() + protected function routeNotFoundHook() { ...
change visibility on 'routeNotFoundHook' to protected
SlaxWeb_Router
train
php
eee1a633ac0386139e7d48189c2191149f3ed937
diff --git a/src/com/google/javascript/jscomp/DefaultPassConfig.java b/src/com/google/javascript/jscomp/DefaultPassConfig.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/DefaultPassConfig.java +++ b/src/com/google/javascript/jscomp/DefaultPassConfig.java @@ -2560,6 +2560,11 @@ public final class...
Run DeadAssignmentElimination pass when language_out is ES6+. ------------- Created by MOE: <URL>
google_closure-compiler
train
java
2f1d9fa9c291b70ec65863ffbdef248d0c4f59e6
diff --git a/Script/Gt.js b/Script/Gt.js index <HASH>..<HASH> 100644 --- a/Script/Gt.js +++ b/Script/Gt.js @@ -44,7 +44,12 @@ pathname = window.location.pathname; if(page) { - if(page !== pathname) { + if(page instanceof RegExp) { + if(!page.test(pathname)) { + return; + } + } + else if(pag...
Added RegExp compatibility with ready function.
PhpGt_WebEngine
train
js
e89a50b58097445de39cadf585cafbbc82f40593
diff --git a/ui/js/services/models/resultsets.js b/ui/js/services/models/resultsets.js index <HASH>..<HASH> 100644 --- a/ui/js/services/models/resultsets.js +++ b/ui/js/services/models/resultsets.js @@ -144,6 +144,13 @@ treeherder.factory('ThResultSetModel', repositories[repoName].rsMapOldestTimestamp ...
fixed issue with rsOffsetId
mozilla_treeherder
train
js
b4baaaaefc2036f13a27fd086bb8b43d099f3c33
diff --git a/bakery/project/state.py b/bakery/project/state.py index <HASH>..<HASH> 100644 --- a/bakery/project/state.py +++ b/bakery/project/state.py @@ -160,14 +160,13 @@ def project_state_save(project, state = None, local = None): if not local: local = project.config['local'] - state_yml = os.path...
state.py Rename state yamls to be the same throughout codebase
googlefonts_fontbakery
train
py
5a74dc22b51f1cce7a1aa21e1c7cbd809d92982c
diff --git a/src/Foundation/ServiceProviders/OAuthServiceProvider.php b/src/Foundation/ServiceProviders/OAuthServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Foundation/ServiceProviders/OAuthServiceProvider.php +++ b/src/Foundation/ServiceProviders/OAuthServiceProvider.php @@ -46,6 +46,7 @@ class OAuthServiceP...
add support wechat open platform oauth.
overtrue_wechat
train
php
b42b08cc2b827443ea6c52de258518f11d68193e
diff --git a/src/stojg/crop/CropBalanced.php b/src/stojg/crop/CropBalanced.php index <HASH>..<HASH> 100644 --- a/src/stojg/crop/CropBalanced.php +++ b/src/stojg/crop/CropBalanced.php @@ -100,11 +100,15 @@ class CropBalanced extends Crop $centerX = 0; $centerY = 0; - // Calulate the mean weigh...
fixed an error when the source image have a very plain color and it can't found the most energy point.
stojg_crop
train
php
8cdc631dca8d05f64ea8da466ecfe759a2f6e429
diff --git a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java +++ b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java @@ -1062,6 +1062,10 @@ public abstract class NanoHTTPD { public ...
Adding getter to access the raw body from the request
NanoHttpd_nanohttpd
train
java
0e367f475c2f6985e30afe4b0f7ce00ac946cc5c
diff --git a/client/setget.go b/client/setget.go index <HASH>..<HASH> 100644 --- a/client/setget.go +++ b/client/setget.go @@ -121,7 +121,6 @@ func nextKey(key []byte) []byte { key[i] += byte('A') } - log.Println(string(key)) return key }
No debug logging in test program
Netflix_rend
train
go
363ca6bbc196121b12064f7c8c3ac9a77e76b45c
diff --git a/nest.class.php b/nest.class.php index <HASH>..<HASH> 100644 --- a/nest.class.php +++ b/nest.class.php @@ -729,7 +729,6 @@ class Nest { curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); - ...
Bugfix: CURLOPT_FOLLOWLOCATION is not allowed with open_basedir directive Fixes #<I>
gboudreau_nest-api
train
php
c98c8e0cb4fa985cb05f741fa0c787c0e5bec5e4
diff --git a/lib/ghtorrent/event_processing.rb b/lib/ghtorrent/event_processing.rb index <HASH>..<HASH> 100644 --- a/lib/ghtorrent/event_processing.rb +++ b/lib/ghtorrent/event_processing.rb @@ -33,9 +33,11 @@ module GHTorrent last_sha = data['payload']['commits'].last['url'].split(/\//)[7] push_c...
Fix retrieval of <I>+ commits push events
gousiosg_github-mirror
train
rb
53aeb69260ac318259194e7b056c9d9a385b2b5c
diff --git a/spec/bcsec/user_spec.rb b/spec/bcsec/user_spec.rb index <HASH>..<HASH> 100755 --- a/spec/bcsec/user_spec.rb +++ b/spec/bcsec/user_spec.rb @@ -59,14 +59,6 @@ module Bcsec it "uses the default portal if available" it "fails without a portal if there's no default" - - it "delegates to the...
Remove pending specs related to way in_group & may_access worked in bcsec 1.x but which are not supported in 2.x.
NUBIC_aker
train
rb
115f15600f4db42e27b603233b2d3af3a4867b9a
diff --git a/testing/python/fixture.py b/testing/python/fixture.py index <HASH>..<HASH> 100644 --- a/testing/python/fixture.py +++ b/testing/python/fixture.py @@ -1449,6 +1449,30 @@ class TestFixtureMarker: reprec = testdir.inline_run() reprec.assertoutcome(skipped=2, passed=1) + def test_scope_s...
Add test for inter-dependent fixtures Together with cc0a<I>a<I>ac4 this fixes issue <I>.
vmalloc_dessert
train
py
e44e91a8c33e86eb8cf7edb6abfbcc07e68d4899
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( description='Python XML Signature library', long_description=open('README.rst').read(), install_requires=[ - 'lxml >= 3.4.4, < 3.5', + 'lxml >= 3.5.0, < 3.6', 'defuse...
Update lxml dependency to ubuntu <I> spec
XML-Security_signxml
train
py
debaaace3e921f988928534d59c6881d43a94a16
diff --git a/cmd/machine_run.go b/cmd/machine_run.go index <HASH>..<HASH> 100644 --- a/cmd/machine_run.go +++ b/cmd/machine_run.go @@ -43,7 +43,8 @@ func (c *mRunCommand) Run(wg *sync.WaitGroup) (err error) { m.SetIdentity("cli") m.RegisterNotifier(&console.Notifier{}) - m.Start(ctx, wg) + + <-m.Start(ctx, wg) ...
(#<I>) Wait for machine startup to complete
choria-io_go-choria
train
go
de7baea54fe2c1039c90d89a2a710048da8b58c1
diff --git a/lib/ORM.js b/lib/ORM.js index <HASH>..<HASH> 100644 --- a/lib/ORM.js +++ b/lib/ORM.js @@ -57,8 +57,19 @@ exports.connect = function (opts, cb) { try { var Driver = require("./Drivers/DML/" + proto).Driver; + var debug = (opts.query && Boolean(opts.query.debug)); + + if (debug) { + delete opts.qu...
Extracts debug option (if exists) from query to pass it to ORM and not to driver
dresende_node-orm2
train
js
d66a709dd86290e8fdeb390962513289ef368756
diff --git a/bzr_exporter.py b/bzr_exporter.py index <HASH>..<HASH> 100755 --- a/bzr_exporter.py +++ b/bzr_exporter.py @@ -244,7 +244,7 @@ class BzrFastExporter(object): # Print the commit git_ref = 'refs/heads/%s' % (git_branch,) mark = ncommits + 1 - self.revid_to_mark[revid] = str(m...
really put ':' in the commit mark
jelmer_python-fastimport
train
py
b43399056ceab341585b7d4c7ddf029b31cae5ea
diff --git a/zipline/algorithm.py b/zipline/algorithm.py index <HASH>..<HASH> 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -311,10 +311,7 @@ class TradingAlgorithm(object): else: cancel_policy = cancel_policy or NeverCancel() blotter_class = blotter_class or Simulat...
BUG: Fix blotter initialization.
quantopian_zipline
train
py
fa16dd3d6703628fb4058f797a418940efc20f68
diff --git a/question/editlib.php b/question/editlib.php index <HASH>..<HASH> 100644 --- a/question/editlib.php +++ b/question/editlib.php @@ -1175,8 +1175,7 @@ class question_bank_view { echo '<div class="choosecategory">'; $catmenu = question_category_options($contexts, false, 0, true); - $...
quiz editing MDL-<I> changing category sends you to the question bank page.
moodle_moodle
train
php
cb9d41e82f6a9ab5208466407650bd2af4af2b06
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -119,7 +119,7 @@ PGPubsub.prototype.removeChannel = function (channel, callback) { PGPubsub.prototype.close = function () { this.retry.end(); - this.removeAllListeners(channel); + this.removeAllListeners(); this.cha...
fix(main): removed unknown variable in close()
voxpelli_node-pg-pubsub
train
js
90e73773534a7c96607c38f1c0de1f07fd23d4e0
diff --git a/src/web/basics/form-elements/range/range.js b/src/web/basics/form-elements/range/range.js index <HASH>..<HASH> 100644 --- a/src/web/basics/form-elements/range/range.js +++ b/src/web/basics/form-elements/range/range.js @@ -66,7 +66,7 @@ class Range extends Core { } onChange(fn){ - this._a...
alpha order for Range.defaults, and actually return something for onChange function (bug)
Autodesk_hig
train
js
b583f3f21aae782890b46535db009853673bc1ca
diff --git a/test/unit/test_service_models.py b/test/unit/test_service_models.py index <HASH>..<HASH> 100644 --- a/test/unit/test_service_models.py +++ b/test/unit/test_service_models.py @@ -402,8 +402,6 @@ class HostCollectionTest( host_collection_host_factory ...
Remove unnecessary property defintion from HostCollectionTest The definition of HostCollectionTest.classification property was redundant.
piotr-rusin_spam-lists
train
py
60fbc93b20a4df2a2db85d8285640f8617309570
diff --git a/pac4j-saml/src/main/java/org/pac4j/saml/metadata/SAML2IdentityProviderMetadataResolver.java b/pac4j-saml/src/main/java/org/pac4j/saml/metadata/SAML2IdentityProviderMetadataResolver.java index <HASH>..<HASH> 100644 --- a/pac4j-saml/src/main/java/org/pac4j/saml/metadata/SAML2IdentityProviderMetadataResolver....
Resolving concurrency issue in SAML2IdentityProviderMetadataResolver
pac4j_pac4j
train
java
7c33cc64259b56ca2ea2f0e018d851e49688a715
diff --git a/src/main/java/com/hp/autonomy/hod/client/api/textindex/query/content/GetContentService.java b/src/main/java/com/hp/autonomy/hod/client/api/textindex/query/content/GetContentService.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/hp/autonomy/hod/client/api/textindex/query/content/GetContentService....
Use correct url for get content. [rev: matthew.gordon]
microfocus-idol_java-hod-client
train
java
1e28ba3bde90b66b4b1acb529c87d31b81593da8
diff --git a/src/grid/ClientGridView.php b/src/grid/ClientGridView.php index <HASH>..<HASH> 100644 --- a/src/grid/ClientGridView.php +++ b/src/grid/ClientGridView.php @@ -222,7 +222,7 @@ class ClientGridView extends BoxedGridView 'label' => Yii::t('hipanel', 'Tickets'), 'value' => func...
Fixed search link for tickets column in ClientGridView
hiqdev_hipanel-module-client
train
php
266c93fa3bc01bf7cdabb94370029d4b451a5438
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -193,6 +193,7 @@ LANG_RELEASE_MATRIX = { ('v1.39.1', ReleaseInfo(runtimes=['go1.16'])), ...
Add <I> release of grpc-go to interop matrix (#<I>)
grpc_grpc
train
py
881b85046cf5e6c7709312b4745a5fe76afc1890
diff --git a/cf/commands/login.go b/cf/commands/login.go index <HASH>..<HASH> 100644 --- a/cf/commands/login.go +++ b/cf/commands/login.go @@ -2,6 +2,7 @@ package commands import ( "errors" + "fmt" "strconv" "code.cloudfoundry.org/cli/api/cloudcontroller/ccversion" @@ -176,6 +177,13 @@ func (cmd Login) authe...
if cf misconfigured, still allow user to 'cf login -sso'
cloudfoundry_cli
train
go
442c6598d5b51880599c803902c1f75ea09ab4e7
diff --git a/airtest/core/ios/ios.py b/airtest/core/ios/ios.py index <HASH>..<HASH> 100644 --- a/airtest/core/ios/ios.py +++ b/airtest/core/ios/ios.py @@ -324,10 +324,7 @@ class IOS(Device): """ # trans pos of click, pos can be percentage or real coordinate - LOGGING.info("touch original-post...
remove ios log (cherry picked from commit eb<I>f7b<I>c9c8d8d<I>b<I>b<I>bdcf0f<I>)
AirtestProject_Airtest
train
py
94139ffb3f96b6c44ef10c60baed8d6a4bfd029b
diff --git a/cmd.js b/cmd.js index <HASH>..<HASH> 100755 --- a/cmd.js +++ b/cmd.js @@ -46,6 +46,7 @@ function cmd () { } args.script = args._[0] + args.script_args = args._.slice(1); require('./')(args, args.node) } diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.j...
pass script arguments to spawned process tested on mac - linux fix should be the same simple concatenation
davidmarkclements_0x
train
js,js
e03c0e61ceb1728d1fbe4ad5b52a7dec5770e411
diff --git a/lxd/instance/instance_utils.go b/lxd/instance/instance_utils.go index <HASH>..<HASH> 100644 --- a/lxd/instance/instance_utils.go +++ b/lxd/instance/instance_utils.go @@ -31,7 +31,7 @@ import ( ) // ValidDevices is linked from instance/drivers.validDevices to validate device config. -var ValidDevices fu...
lxd/instance/instance/utils: Project name is needed to validate instance devices
lxc_lxd
train
go
608b5d052bd6d6974642c4632fb8ffb5c526fdb7
diff --git a/src/lib/transport.js b/src/lib/transport.js index <HASH>..<HASH> 100644 --- a/src/lib/transport.js +++ b/src/lib/transport.js @@ -25,6 +25,8 @@ module.exports = { return } + xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8') + if (headers) { for (header in h...
Make sure XHR data is sent as JSON.
opbeat_opbeat-react
train
js
cddab905fc8c8fd54fb7fdb49d9960bfb5f8afcf
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -284,8 +284,6 @@ class LambdaTester { event( evt ) { - evt = evt || {}; - if( utils.isObject( evt ) && !Array.isArray( evt ) ) { this._event = Object.assign( {}, evt );
event(evt) should not convert falsy evt to empty Object It is perfectly possible for a Lambda function to be passed a falsy event (e.g., a null, false, 0, etc.). Therefore, it is not valid for event(evt) to convert falsy arguments to an empty Object, as that would completely change what was intended.
vandium-io_lambda-tester
train
js
b4c2320527b07fa42284eb8e71330c7e6378199a
diff --git a/HttpClient/RestApiClientBasicImplementor.php b/HttpClient/RestApiClientBasicImplementor.php index <HASH>..<HASH> 100755 --- a/HttpClient/RestApiClientBasicImplementor.php +++ b/HttpClient/RestApiClientBasicImplementor.php @@ -35,7 +35,9 @@ class RestApiClientBasicImplementor extends AbstractRestApiClientIm...
Do not use security context if there is no security context
Gnuckorg_DaApiClientBundle
train
php
4a06075384a8ae9380b010a3311d2a57a45903b5
diff --git a/symphony/lib/toolkit/class.section.php b/symphony/lib/toolkit/class.section.php index <HASH>..<HASH> 100644 --- a/symphony/lib/toolkit/class.section.php +++ b/symphony/lib/toolkit/class.section.php @@ -161,7 +161,7 @@ class Section implements ArrayAccess $result = Symphony::Configuration()->ge...
Remove is_null checks for a simple falsy coercion Picked from b<I>f<I>a6 Picked from 1d<I>f0a8c Picked from f<I>d<I>b<I>
symphonycms_symphony-2
train
php
afe5285703eae1d4ffb521ac12610a6b25c8075e
diff --git a/lib/trello/board.rb b/lib/trello/board.rb index <HASH>..<HASH> 100644 --- a/lib/trello/board.rb +++ b/lib/trello/board.rb @@ -26,7 +26,7 @@ module Trello attribute :url, readonly: true attribute :short_url, readonly: true, remote_key: 'shortUrl' attribute :prefs, readonly: true - ...
Set serializer to Board#last_activity_date
jeremytregunna_ruby-trello
train
rb
c2ea31e93ff6eda8af7d8ea3fc38004dc127af28
diff --git a/javascript/atoms/dom.js b/javascript/atoms/dom.js index <HASH>..<HASH> 100644 --- a/javascript/atoms/dom.js +++ b/javascript/atoms/dom.js @@ -907,7 +907,12 @@ bot.dom.getLocationInView = function(elem, opt_elemRegion) { elemRegion = new goog.math.Rect(0, 0, elem.offsetWidth, elem.offsetHeight); } ...
DouniaBerrada: Adding support in bot.dom.getLocationInView for elements split across multiple lines. r<I>
SeleniumHQ_selenium
train
js
3fb69e4d97170a658606fdd813158edc6a607010
diff --git a/billy/site/browse/views.py b/billy/site/browse/views.py index <HASH>..<HASH> 100644 --- a/billy/site/browse/views.py +++ b/billy/site/browse/views.py @@ -50,7 +50,7 @@ def browse_index(request, template='billy/index.html'): if com_counts: com_counts = com_counts['value'] ...
fix for com_counts view
openstates_billy
train
py
cf9aee906c15624ebe26548601160ee33ab22525
diff --git a/tests/fields.py b/tests/fields.py index <HASH>..<HASH> 100644 --- a/tests/fields.py +++ b/tests/fields.py @@ -646,5 +646,8 @@ class TestCustomField(ModelTestCase): t2_db = Todo.get(Todo.id == t2.id) self.assertEqual(t2_db.tags, []) - t1_db = Todo.get(Todo.tags == Value(['t1-a', '...
Use AsIs rather than Value in test.
coleifer_peewee
train
py
193ad87b343a5b4616b57ac8af8817f2a3cf640a
diff --git a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb +++ b/actionpack/lib/action_dispatch/middleware/session/cookie_store.rb @...
Add a test case for verifying `cookie_only` is set even if user tries to set it false
rails_rails
train
rb,rb
94672f24e28b82fca0f870af3ffd113dc5cd7cc2
diff --git a/generators/server/templates/src/test/java/package/_CassandraKeyspaceUnitTest.java b/generators/server/templates/src/test/java/package/_CassandraKeyspaceUnitTest.java index <HASH>..<HASH> 100644 --- a/generators/server/templates/src/test/java/package/_CassandraKeyspaceUnitTest.java +++ b/generators/server/t...
Cassandra keyspace unit test made independent from Cassandra version.
jhipster_generator-jhipster
train
java
650501b8e79e6c241c9b0ff1919e42c055ec6f17
diff --git a/gobblefile.js b/gobblefile.js index <HASH>..<HASH> 100755 --- a/gobblefile.js +++ b/gobblefile.js @@ -253,8 +253,10 @@ function rollup(indir, outdir, options) { if (!options.input) throw new Error('You must supply `options.input`'); if (!options.output || !options.output.file) throw new Error('You must...
clone rollup options when setting file output
ractivejs_ractive
train
js
50213145cb3c60c5c8753201bd471a58d53e092b
diff --git a/lib/pkgcloud/openstack/cdn/client/flavors.js b/lib/pkgcloud/openstack/cdn/client/flavors.js index <HASH>..<HASH> 100644 --- a/lib/pkgcloud/openstack/cdn/client/flavors.js +++ b/lib/pkgcloud/openstack/cdn/client/flavors.js @@ -10,7 +10,6 @@ var pkgcloud = require('../../../../../lib/pkgcloud'), errs = re...
Removing unused variable definition.
pkgcloud_pkgcloud
train
js
07261e099cc4958010f2f9a1aca0108ddf232e92
diff --git a/spec/flipper_spec.rb b/spec/flipper_spec.rb index <HASH>..<HASH> 100644 --- a/spec/flipper_spec.rb +++ b/spec/flipper_spec.rb @@ -114,7 +114,8 @@ RSpec.describe Flipper do end it 'delegates percentage_of_actors to instance' do - expect(described_class.percentage_of_actors(5)).to eq(describ...
Shorten line length to make rubo happy
jnunemaker_flipper
train
rb
cf1dd05db122337a9cf8372850c2f9ff54ae4c3c
diff --git a/routes.js b/routes.js index <HASH>..<HASH> 100644 --- a/routes.js +++ b/routes.js @@ -52,7 +52,7 @@ var json_routes = { var name = req.body.model, id = req.body.id; - require('../dependencies').check(MongooseAdmin.singleton.models, name, id, function (err, results) { + ...
pass on search value to AdminModel
node4good_formage
train
js
ad0d97e195bbd19b7b39d9b596301dc9de5f21d0
diff --git a/src/Creatable.js b/src/Creatable.js index <HASH>..<HASH> 100644 --- a/src/Creatable.js +++ b/src/Creatable.js @@ -26,7 +26,7 @@ class CreatableSelect extends React.Component { if (isValidNewOption({ label: this.inputValue })) { const option = newOptionCreator({ label: this.inputValue, labelKey: th...
Also pass options as the input param
HubSpot_react-select-plus
train
js
3776e8dad89dd054c4e450f94b726349fbbcc577
diff --git a/src/main/java/com/soulgalore/crawler/core/HTMLPageResponse.java b/src/main/java/com/soulgalore/crawler/core/HTMLPageResponse.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/soulgalore/crawler/core/HTMLPageResponse.java +++ b/src/main/java/com/soulgalore/crawler/core/HTMLPageResponse.java @@ -63,15...
fixed defect when accessing sites running on ports!=<I>
soulgalore_crawler
train
java
4aecae0d21ce16b80cc5ea119b5a4bef95d40ff4
diff --git a/pycbc/workflow/analysislogging.py b/pycbc/workflow/analysislogging.py index <HASH>..<HASH> 100644 --- a/pycbc/workflow/analysislogging.py +++ b/pycbc/workflow/analysislogging.py @@ -29,6 +29,7 @@ times used within the workflow, etc. https://ldas-jobs.ligo.caltech.edu/~cbc/docs/pycbc/NOTYETCREATED.html ""...
Add missing logging import to workflow.analysislogging
gwastro_pycbc
train
py
23e05868961b242812817a794c25a2efa9d069a6
diff --git a/middleman-core/lib/middleman-core/watcher.rb b/middleman-core/lib/middleman-core/watcher.rb index <HASH>..<HASH> 100644 --- a/middleman-core/lib/middleman-core/watcher.rb +++ b/middleman-core/lib/middleman-core/watcher.rb @@ -16,14 +16,15 @@ module Middleman def ignore_list [ - ...
Be very careful about filewatcher ignore regexes
middleman_middleman
train
rb
92dc9d2142e988bd977c9dd504fa1518e1e0c097
diff --git a/src/Concerns/MakesAssertions.php b/src/Concerns/MakesAssertions.php index <HASH>..<HASH> 100644 --- a/src/Concerns/MakesAssertions.php +++ b/src/Concerns/MakesAssertions.php @@ -397,7 +397,7 @@ JS; { $element = $this->resolver->resolveForTyping($field); - return $element->getTagName(...
Changed input assertion to check textarea
laravel_dusk
train
php
0d0eb5602a4ce60e8f2caf1924070ee74ee9ea22
diff --git a/src/resources/views/item.blade.php b/src/resources/views/item.blade.php index <HASH>..<HASH> 100644 --- a/src/resources/views/item.blade.php +++ b/src/resources/views/item.blade.php @@ -21,7 +21,7 @@ @if($item->hasItems()) <ul class="treeview-menu"> @foreach($item->getItems() as ...
Render subitems as well to support alle features in dropdowns
Maatwebsite_Laravel-Sidebar
train
php
2ea8a7041014e05a9ce4afedf8596f61dada3325
diff --git a/arraycontainer.go b/arraycontainer.go index <HASH>..<HASH> 100644 --- a/arraycontainer.go +++ b/arraycontainer.go @@ -344,7 +344,7 @@ func (ac *arrayContainer) orArray(value2 *arrayContainer) container { func (ac *arrayContainer) lazyorArray(value2 *arrayContainer) container { value1 := ac maxPossible...
Second part of first optimization from <URL>
RoaringBitmap_roaring
train
go,go
e61ecbb486d1577731cd4e5109353a506ed5df14
diff --git a/src/plugins/Slider.js b/src/plugins/Slider.js index <HASH>..<HASH> 100644 --- a/src/plugins/Slider.js +++ b/src/plugins/Slider.js @@ -15,7 +15,6 @@ import size from '../styles/size' import height from '../styles/height' import width from '../styles/width' import style from '../styles/style' -import tran...
fix scale3d remove transform from slider
chirashijs_chirashi
train
js,js
187bd427c7a5155e6ae0205d2df3faaf8db8441d
diff --git a/config/api/src/main/java/org/jboss/windup/config/RuleSubset.java b/config/api/src/main/java/org/jboss/windup/config/RuleSubset.java index <HASH>..<HASH> 100644 --- a/config/api/src/main/java/org/jboss/windup/config/RuleSubset.java +++ b/config/api/src/main/java/org/jboss/windup/config/RuleSubset.java @@ -3...
WINDUP-<I>: Removed unnecessary comments
windup_windup
train
java
0bf17f64f7f1383d6d5589c9a8c5a792e0707366
diff --git a/src/ol/map.js b/src/ol/map.js index <HASH>..<HASH> 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -185,14 +185,6 @@ ol.Map = function(container, mapOptionsLiteral) { */ this.controls_ = mapOptions.controls; - this.controls_.forEach( - /** - * @param {ol.control.Control} control Cont...
Initialize controls after map has been configured
openlayers_openlayers
train
js
83abb4007e269c26bd9dfe47c7c06898d7edf905
diff --git a/views/js/qtiCommonRenderer/renderers/interactions/MediaInteraction.js b/views/js/qtiCommonRenderer/renderers/interactions/MediaInteraction.js index <HASH>..<HASH> 100755 --- a/views/js/qtiCommonRenderer/renderers/interactions/MediaInteraction.js +++ b/views/js/qtiCommonRenderer/renderers/interactions/Media...
Fix for isCreator being an Object when it is supposed to be empty or undefined git-svn-id: <URL>
oat-sa_extension-tao-itemqti
train
js
5831035574d9710a5529f478eb7040f54fa3cf20
diff --git a/scripts/build.js b/scripts/build.js index <HASH>..<HASH> 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -18,6 +18,14 @@ const inputOptions = { commonjs(), // so Rollup can convert `ms` to an ES module babel({ exclude: 'node_modules/**', // 只编译我们的源代码 + presets: [[ + '@b...
fix: Do not transpile typeof helper with itself.
jaywcjlove_hotkeys
train
js
4c60bed3d0e79d97078a0c9b67dd45c78eca9d8a
diff --git a/generators/client/templates/src/main/webapp/app/components/util/_sort.directive.js b/generators/client/templates/src/main/webapp/app/components/util/_sort.directive.js index <HASH>..<HASH> 100644 --- a/generators/client/templates/src/main/webapp/app/components/util/_sort.directive.js +++ b/generators/clien...
fix entity sorting fix entity sorting by correcting watches and callback fix #<I>
jhipster_generator-jhipster
train
js
7c57814949ec51b59cc2d1c31ea5401e7a3323c9
diff --git a/gifi/feature.py b/gifi/feature.py index <HASH>..<HASH> 100644 --- a/gifi/feature.py +++ b/gifi/feature.py @@ -104,7 +104,7 @@ def _finish(): raise CommandException('Rebase finished with an error, please fix it manually and then feature-finish once again.') _push_working_branch(config, repo) ...
Do not pass repo to discard command as it does not work from CLI
kokosing_git-gifi
train
py
e9bd147bb772b471ee4cd0290e9e29deec645837
diff --git a/libnetwork/libnetwork_test.go b/libnetwork/libnetwork_test.go index <HASH>..<HASH> 100644 --- a/libnetwork/libnetwork_test.go +++ b/libnetwork/libnetwork_test.go @@ -1383,6 +1383,10 @@ func TestValidRemoteDriver(t *testing.T) { w.Header().Set("Content-Type", "application/vnd.docker.plugins.v1+json") ...
Add Delete endpoint for plugin in test
moby_moby
train
go
98d7afc4e8c5dfc9688175da337ead31b9a23366
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index <HASH>..<HASH> 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -168,7 +16...
SONAR-<I> - Added cluster notification log
SonarSource_sonarqube
train
java
fd5d45b13cf64a1cc9bd2d6fe8844ed34a1edffe
diff --git a/xwiki-rendering-api/src/main/java/org/xwiki/rendering/util/ParserUtils.java b/xwiki-rendering-api/src/main/java/org/xwiki/rendering/util/ParserUtils.java index <HASH>..<HASH> 100644 --- a/xwiki-rendering-api/src/main/java/org/xwiki/rendering/util/ParserUtils.java +++ b/xwiki-rendering-api/src/main/java/org...
XRENDERING-<I>: ParserUtils#removeTopLevelParagraph keep the paragraph as children parent block
xwiki_xwiki-rendering
train
java
ff9be626ea9a0a5bb4e5612dd4141b233a75c91a
diff --git a/lxc/config_trust.go b/lxc/config_trust.go index <HASH>..<HASH> 100644 --- a/lxc/config_trust.go +++ b/lxc/config_trust.go @@ -53,6 +53,9 @@ func (c *cmdConfigTrust) Command() *cobra.Command { configTrustShowCmd := cmdConfigTrustShow{global: c.global, config: c.config, configTrust: c} cmd.AddCommand(con...
lxc/config/trust: workaround for subcommand errors
lxc_lxd
train
go
aa37520d86da2bf78ded782a7db203e8bc181c79
diff --git a/src/pymlab/sensors/SHT25_Example.py b/src/pymlab/sensors/SHT25_Example.py index <HASH>..<HASH> 100755 --- a/src/pymlab/sensors/SHT25_Example.py +++ b/src/pymlab/sensors/SHT25_Example.py @@ -6,9 +6,8 @@ import sys print "SHT25 humidity and temperature sensor example \r\n" print "Temperature Humidity[%%...
modify of dealay time after init and soft reset
MLAB-project_pymlab
train
py
2ae68eef39bba322fe72066c35f43b8d3477f59f
diff --git a/actionview/test/template/test_case_test.rb b/actionview/test/template/test_case_test.rb index <HASH>..<HASH> 100644 --- a/actionview/test/template/test_case_test.rb +++ b/actionview/test/template/test_case_test.rb @@ -209,7 +209,7 @@ module ActionView end test "is able to use routes" do - ...
Fix test assign_parameter method signature Oops, I broke the build :( Fixes the method signature of `assign_parameters` which now takes 6 arguments instead of 4. We likely will end up chaning the method signature further so good to know this test is here.
rails_rails
train
rb
b7de139f4b758bd08348a7f511b80f507868f068
diff --git a/locomotion/differential_drive.js b/locomotion/differential_drive.js index <HASH>..<HASH> 100644 --- a/locomotion/differential_drive.js +++ b/locomotion/differential_drive.js @@ -6,17 +6,20 @@ module.exports = function(RED) { var diffNode = function(config) { RED.nodes.createNode(this, config); ...
updated diff drive msg validation
SnappyRobotics_snappy-logic-nodes
train
js
38d656041b47a35e9d8d0294f5498ac68765c281
diff --git a/tests/onnx/test_onnx_v2.py b/tests/onnx/test_onnx_v2.py index <HASH>..<HASH> 100644 --- a/tests/onnx/test_onnx_v2.py +++ b/tests/onnx/test_onnx_v2.py @@ -228,7 +228,9 @@ PYTORCH_EXPORT_SEQ2SEQ_WITH_PAST_MODELS = { ("blenderbot", "facebook/blenderbot-400M-distill"), ("bigbird-pegasus", "google/big...
disable Onnx test for google/long-t5-tglobal-base (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
35c8a896fc75c222834e1324fe4710c1ba2645c4
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index <HASH>..<HASH> 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -189,7 +189,7 @@ class AppGeneratorTest < Rails::Generators::TestCase ...
Merge pull request #<I> from cesario/3-1-0 Fix CI and rename 1 misleading test case.
rails_rails
train
rb
51ef82b0138a184314beb51a3798406993bd6634
diff --git a/filter/filter.go b/filter/filter.go index <HASH>..<HASH> 100644 --- a/filter/filter.go +++ b/filter/filter.go @@ -111,7 +111,7 @@ func (d *dir) IsDir() bool { return true } func (d *dir) Sys() interface{} { return nil } func (d *dir) Seek(offset int64, whence int) (int64, error) { - if offset ...
Replace deprecated os.SEEK_{SET,CUR,END} with io.Seek{Start,Current,End}.
shurcooL_httpfs
train
go,go
20e66fd1ad98da6283c527161734eea520c9ca87
diff --git a/externs/browser/html5.js b/externs/browser/html5.js index <HASH>..<HASH> 100644 --- a/externs/browser/html5.js +++ b/externs/browser/html5.js @@ -5506,6 +5506,12 @@ Navigator.prototype.share = function(data) {}; Navigator.prototype.hardwareConcurrency; /** + * @type {UserActivation|undefined} + * @see ...
Update Navigator to support UserActivation. This is currently Chrome-only, so mark as possibly undefined. PiperOrigin-RevId: <I>
google_closure-compiler
train
js
93dd6c96f90b2d8e0d194042392ee48e245ab160
diff --git a/lib/http.js b/lib/http.js index <HASH>..<HASH> 100644 --- a/lib/http.js +++ b/lib/http.js @@ -973,6 +973,7 @@ OutgoingRequest.prototype = Object.create(OutgoingMessage.prototype, { construct OutgoingRequest.prototype._start = function _start(stream, options) { this.stream = stream; + this.options = ...
Added request object to server response. Will help with dealing with multiple requests and responses with more generic handlers.
kaazing_http2.js
train
js
e65273d6e6dd25850169c101c5364aae0812601c
diff --git a/properties/basic.py b/properties/basic.py index <HASH>..<HASH> 100644 --- a/properties/basic.py +++ b/properties/basic.py @@ -111,7 +111,7 @@ class Property(GettableProperty): ) ) if value is not None: - self.validate(instance, value) + instance....
Silent validation and coercion in assert_valid
seequent_properties
train
py
0339e8eb620f7ae96bda4f77554887abea6e834b
diff --git a/test/support/rake_helpers.rb b/test/support/rake_helpers.rb index <HASH>..<HASH> 100644 --- a/test/support/rake_helpers.rb +++ b/test/support/rake_helpers.rb @@ -2,9 +2,9 @@ SQLSERVER_TEST_HELPER = 'test/cases/helper_sqlserver.rb' def env_ar_test_files - return unless ENV['AR_TEST_FILES'] && !ENV['AR_...
Make ENV vars use common prefix with different name sufffix.
rails-sqlserver_activerecord-sqlserver-adapter
train
rb
5c133a9571fba1e54c7a4941052aafeb4f74e433
diff --git a/glances/plugins/glances_system.py b/glances/plugins/glances_system.py index <HASH>..<HASH> 100644 --- a/glances/plugins/glances_system.py +++ b/glances/plugins/glances_system.py @@ -63,7 +63,7 @@ def _linux_os_release(): for line in f: for key in keys: if ...
Strip double quotes explicitly while parsing /etc/os-release
nicolargo_glances
train
py
78cf827bcebfb73ff1a3a6369f9c66693ec33457
diff --git a/test/openssl-cmd.js b/test/openssl-cmd.js index <HASH>..<HASH> 100644 --- a/test/openssl-cmd.js +++ b/test/openssl-cmd.js @@ -222,10 +222,12 @@ function genTests() { var output = Buffer.concat(bufs).toString(); var m = output.match(/Issuer: (.*)$/m); - t.strictEqual(m[1], 'CN=' + algo + ', C=US...
joyent/node-sshpk#<I> tests fail with openssl <I>e because of extra spaces in DN output
joyent_node-sshpk
train
js
532f22c02cc07ddb917245e6d588d22e7b074609
diff --git a/router.go b/router.go index <HASH>..<HASH> 100644 --- a/router.go +++ b/router.go @@ -364,8 +364,12 @@ func (r *router) matchNode(n *node, url string, params Params) (*node, Params) { return nil, params } +// Match for request url, match router func (r *router) Match(url, method string) (*Route, Para...
for not support http method, return not found instead panic
lunny_tango
train
go,go
5fa58fa4bb0bf0a4721926413b87a99424bda709
diff --git a/src/Classes/Armada.php b/src/Classes/Armada.php index <HASH>..<HASH> 100644 --- a/src/Classes/Armada.php +++ b/src/Classes/Armada.php @@ -50,7 +50,7 @@ class Armada /** * Get the view renderer * - * @return object + * @return Jaxon\Sentry\View\Facade */ public function v...
Added the view() method in the Armada trait.
jaxon-php_jaxon-sentry
train
php,php
a7d7989390609971c7aa90991e9b2d791ee54e40
diff --git a/src/Utils/DateTimeHelper.php b/src/Utils/DateTimeHelper.php index <HASH>..<HASH> 100644 --- a/src/Utils/DateTimeHelper.php +++ b/src/Utils/DateTimeHelper.php @@ -16,7 +16,6 @@ class DateTimeHelper public static function convertToTimezone(DateTimeInterface $value, DateTimeZone $connectionTz): DateTimeInte...
remove not needed assert in DateTimeHelper
nextras_dbal
train
php
2d55394109abe4e45f03efdc47b148e08dad5626
diff --git a/lib/Doctrine/Validator/Exception.php b/lib/Doctrine/Validator/Exception.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Validator/Exception.php +++ b/lib/Doctrine/Validator/Exception.php @@ -42,6 +42,7 @@ class Doctrine_Validator_Exception extends Doctrine_Exception implements Countab public functi...
fixed default error message for ValidatorException that list the classes that have validation errors
doctrine_annotations
train
php
f4a125cf628fa76c414591feeb121528f459a2a0
diff --git a/lib/travis/amqp.rb b/lib/travis/amqp.rb index <HASH>..<HASH> 100644 --- a/lib/travis/amqp.rb +++ b/lib/travis/amqp.rb @@ -11,7 +11,10 @@ module Travis end def connection - @connection ||= implementation.connect(Travis.config.amqp) + @connection ||= begin + puts caller...
try debugging amqp publishing on heroku
travis-ci_travis-core
train
rb,rb
2f70463f99edf62d8b958872ac0234e705ee1556
diff --git a/lib/bud.rb b/lib/bud.rb index <HASH>..<HASH> 100644 --- a/lib/bud.rb +++ b/lib/bud.rb @@ -25,10 +25,6 @@ class Bud include Anise annotator :declare -# def input -# true -# end - def initialize(ip, port, options = nil) @tables = {} @table_meta = [] @@ -56,8 +52,7 @@ class Bud ...
Allow bootstrap blocks to reference stdio. Closes #4.
bloom-lang_bud
train
rb
715641296301a8f08161790c72a07a56c8413658
diff --git a/lib/lift.js b/lib/lift.js index <HASH>..<HASH> 100644 --- a/lib/lift.js +++ b/lib/lift.js @@ -97,7 +97,7 @@ module.exports = function(Future) { */ exports.fromPromise = fromPromise function fromPromise(p) { return new Future(function(reject, resolve) { - p.then(reject, resolve) + p.then(res...
fix(lift): Fixes promise's parameter order While Future/Tasks use (reject, resolve), Promises use (resolve, reject). Closes #7.
folktale_control.async
train
js
3d112db64d96e9e1fb466f2f4395bee8db7ecf26
diff --git a/controllers/socket/lobbyHandlers.go b/controllers/socket/lobbyHandlers.go index <HASH>..<HASH> 100644 --- a/controllers/socket/lobbyHandlers.go +++ b/controllers/socket/lobbyHandlers.go @@ -390,6 +390,7 @@ func playerReadyHandler(so socketio.Socket) func(string) string { bytes, _ := models.DecorateLob...
playerReadyHandler(): Broadcast lobby list on lobbyStart
TF2Stadium_Helen
train
go
4a2811c73d8e7b40d0a8345758e93763701fd995
diff --git a/photutils/psf/tests/test_epsf_stars.py b/photutils/psf/tests/test_epsf_stars.py index <HASH>..<HASH> 100644 --- a/photutils/psf/tests/test_epsf_stars.py +++ b/photutils/psf/tests/test_epsf_stars.py @@ -61,6 +61,7 @@ class TestExtractStars: extract_stars([self.nddata, self.nddata], self.stars_t...
Skip tests if scipy is not installed
astropy_photutils
train
py
dffbc51f871ab65c23ae1f5db8b76d6bc4ebf8a0
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitRepositoryExplorer.js +++ b/bundles/org.eclipse.orion.client.git/...
Put back View All for Branches section (to avoid timeouts)
eclipse_orion.client
train
js
6ac26bae35c5bddb669a2122f932d78f5af648e2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( version = '1.43', url = 'http://github.com/caseyjlaw/rtpipe', packages = find_packages(), # get all python scripts in realtime - install_requires=['numpy', 'scipy', 'pwkit', 'cyth...
version bump for sdmpy
caseyjlaw_rtpipe
train
py
30251dd88215e7558905b5bbbcfe441801b616e2
diff --git a/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py b/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py index <HASH>..<HASH> 100644 --- a/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py +++ b/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py @@ -40,9 +40,8 @@ class SnmpEngineID(OctetString, TextualConvention): class SnmpEngineTime(Integer32): de...
added fuzzy logic to SnmpEngineTime.clone() to compute live value
etingof_pysnmp
train
py
41420ea2f70656acc7870fd736be1cd4e8b4792a
diff --git a/lib/chicago/database/schema_generator.rb b/lib/chicago/database/schema_generator.rb index <HASH>..<HASH> 100644 --- a/lib/chicago/database/schema_generator.rb +++ b/lib/chicago/database/schema_generator.rb @@ -70,10 +70,12 @@ module Chicago end if table.natural_key - indexes["#...
Improving exception raised on missing column in natural key
notonthehighstreet_chicago
train
rb
9e4659e71d97c3418e18716ec59babcf9d23d1cb
diff --git a/lex/lexer.go b/lex/lexer.go index <HASH>..<HASH> 100644 --- a/lex/lexer.go +++ b/lex/lexer.go @@ -1528,8 +1528,8 @@ func LexSelectClause(l *Lexer) StateFn { l.Emit(TokenAll) } case "di": //Distinct? - word := strings.ToLower(l.PeekX(len("DISTINCT"))) - if word == "distinct" { + word := strings....
Ensure distinct in sql select is a standalone word
araddon_qlbridge
train
go
525ce5b359a56af3d75768eb630244fa81d8a73d
diff --git a/spec/mk_time/consts_spec.rb b/spec/mk_time/consts_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mk_time/consts_spec.rb +++ b/spec/mk_time/consts_spec.rb @@ -71,7 +71,7 @@ describe MkTime::Const do ["20120701", -35], ["20150701", -36], ["20170101", -37], - ["20190101", 0] # (<=...
UPD: Added a new DUT1 adjustment to constants.
komasaru_mk_time
train
rb
9f84da1aef47531bff079a73c094bc9baf595efe
diff --git a/montblanc/factory.py b/montblanc/factory.py index <HASH>..<HASH> 100644 --- a/montblanc/factory.py +++ b/montblanc/factory.py @@ -202,9 +202,10 @@ def rime_solver(slvr_cfg): if data_source == Options.DATA_SOURCE_MS: return create_rime_solver_from_ms(BiroSolver, slvr_cfg) elif data_source...
Handle empty data source in the factory. Purge store_cpu flag usage too.
ska-sa_montblanc
train
py
45cb03d2c631f7bc77d7b474930784fbaa910b73
diff --git a/Library/Variable.php b/Library/Variable.php index <HASH>..<HASH> 100644 --- a/Library/Variable.php +++ b/Library/Variable.php @@ -140,6 +140,14 @@ class Variable */ public function __construct($type, $name, $branch, $defaultInitValue = null) { + switch($type) { + case 'cal...
Added Variable support like for Callable, Object, Resource
phalcon_zephir
train
php
8c521a1cff956246e8a719c8d8fa856914f350af
diff --git a/Sniffs/Functions/FunctionRestrictionsSniff.php b/Sniffs/Functions/FunctionRestrictionsSniff.php index <HASH>..<HASH> 100644 --- a/Sniffs/Functions/FunctionRestrictionsSniff.php +++ b/Sniffs/Functions/FunctionRestrictionsSniff.php @@ -6,7 +6,7 @@ * @package PHP_CodeSniffer * @author Shady Sharaf <sha...
Change abstract declaration of FunctionRestrictionsSniff, which broke PHPCS
WordPress-Coding-Standards_WordPress-Coding-Standards
train
php
5afe7d20a6cc77fe36d5dadc3199de3e4d52daa3
diff --git a/src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php b/src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php index <HASH>..<HASH> 100755 --- a/src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php +++ b/src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php @@ -14,6 +14,7 @@ namespace S...
[MonologBundle] Fixed the handling of subrequests in FirePHPHandler
symfony_symfony
train
php
8da198fc641d61b1f37ed341d055b9e7df9525aa
diff --git a/tests/FailingTest.php b/tests/FailingTest.php index <HASH>..<HASH> 100644 --- a/tests/FailingTest.php +++ b/tests/FailingTest.php @@ -155,6 +155,18 @@ END_OF_SCSS transform: scale(1); } } END_OF_EXPECTED ), + array( + '#318 - BEM + parent selector @extend', <<<'...
Add failing test for #<I>
leafo_scssphp
train
php
437c2dfa02f626461866c21843662fbf78f5b2a3
diff --git a/lib/stripe/application_fee.rb b/lib/stripe/application_fee.rb index <HASH>..<HASH> 100644 --- a/lib/stripe/application_fee.rb +++ b/lib/stripe/application_fee.rb @@ -1,5 +1,6 @@ module Stripe class ApplicationFee < APIResource + extend Gem::Deprecate extend Stripe::APIOperations::List de...
Move `extend` to top of file
stripe_stripe-ruby
train
rb,rb
273d27f8a48ce88a0093f9dbfe42b92f2e0dee45
diff --git a/src/Illuminate/Validation/Rules/Password.php b/src/Illuminate/Validation/Rules/Password.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Validation/Rules/Password.php +++ b/src/Illuminate/Validation/Rules/Password.php @@ -123,7 +123,7 @@ class Password implements Rule, DataAwareRule { $pa...
Accept any instance of `Rule` and not just `Password` (#<I>) This would be useful if there a requirement to use custom Password implementation such as `Laravel\Fortify\Rules\Password` etc.
laravel_framework
train
php
90325109127ed5deae12cf61569a112c8803d733
diff --git a/ext/mysql2/extconf.rb b/ext/mysql2/extconf.rb index <HASH>..<HASH> 100644 --- a/ext/mysql2/extconf.rb +++ b/ext/mysql2/extconf.rb @@ -41,8 +41,8 @@ if inc && lib @libdir_basename = 'lib' inc, lib = dir_config('mysql') end - abort "-----\nCannot find include dir at #{inc}\n-----" unless inc &&...
Check that dir_config returns at least one valid directory separated by PATH_SEPARATOR
brianmario_mysql2
train
rb