hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
2a6c3cf97884e905c5a55a96a697604d00b3a0a2
diff --git a/markovgen/markovgen.py b/markovgen/markovgen.py index <HASH>..<HASH> 100644 --- a/markovgen/markovgen.py +++ b/markovgen/markovgen.py @@ -41,16 +41,30 @@ class Markov(object): def feed_from_file(self, fd, extracter): list(map(self.feed, filter(bool, map(extracter, fd.readlines())))) - de...
Add support for specifying a seed.
ProgVal_markovgen
train
29d077b5110cc3d9f8ba6fbfa541e96f5ebe7bd7
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ ## Fixed -- [#536][] - `compose` accepts `Inputs` +- [#536][] - `compose` accepts `Inputs`. +- [#537][] - Arrays with nested filters returned the wrong value. # [5.0.0][] (2022-06-24) @@ ...
fix #<I> by correcting nested array values
AaronLasseigne_active_interaction
train
15f1f2a03d87e146c5651a7daddadea93cd1d08d
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ 1. [](#bugfix) * Fixed wrong Grav param separator when using `Route` class * Grav 1.7: Fixed prev/next page missing pages if pagination was turned on in page header + * Grav 1.7: Reve...
Revert chReverted setting language for every page during initialization
getgrav_grav
train
de48939c79fe5e68b72dc103b8368cc903a80a63
diff --git a/pyana/examples/gp_datdir.py b/pyana/examples/gp_datdir.py index <HASH>..<HASH> 100644 --- a/pyana/examples/gp_datdir.py +++ b/pyana/examples/gp_datdir.py @@ -70,7 +70,7 @@ def gp_datdir(initial, topN): name = os.path.join(outDir, initial), key = [ 'at graph 1., 1.2', 'maxrows 2' ], ylabel = ...
adjust for relative margins in ccsgp
tschaume_ccsgp_get_started
train
5eb4589bc35ee34b6e43e4d07185ccc37c5312b5
diff --git a/interact.js b/interact.js index <HASH>..<HASH> 100644 --- a/interact.js +++ b/interact.js @@ -27,6 +27,7 @@ interactions = [], claimedPointers = [], + claimedElements = [], dynamicDrop = false, @@ -1133,6 +1134,9 @@ ? event.target.correspo...
Do not allow multiple interactions on an element
taye_interact.js
train
574400d6fe66d659eb56f227f91fa037de5274d0
diff --git a/openquake/job/validation.py b/openquake/job/validation.py index <HASH>..<HASH> 100644 --- a/openquake/job/validation.py +++ b/openquake/job/validation.py @@ -593,8 +593,15 @@ def intensity_measure_types_is_valid(mdl): def truncation_level_is_valid(mdl): - if not mdl.truncation_level >= 0: - ...
job/validation: Added special validation for truncation level with disagg calcs; with other calcs, it can be >= 0; with disagg it must be > 0.
gem_oq-engine
train
97fecafff51a046e1ee030d4a3c716e8c33826fb
diff --git a/test/test_site.rb b/test/test_site.rb index <HASH>..<HASH> 100644 --- a/test/test_site.rb +++ b/test/test_site.rb @@ -100,6 +100,7 @@ class TestSite < JekyllUnitTest should "write only modified static files" do clear_dest + StaticFile.reset_cache @site.regenerator.clear @...
rubocop: revert changes in test
jekyll_jekyll
train
9a6820abe913909e4e5d3d250bc4ba20b4df33fe
diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js index <HASH>..<HASH> 100644 --- a/converters/fromZigbee.js +++ b/converters/fromZigbee.js @@ -5307,30 +5307,30 @@ const converters = { const value = tuya.getDataValue(msg.data.datatype, msg.data.data); switch (dp) { - ...
Fixed Fantem ZB<I>X data points (#<I>)
Koenkk_zigbee-shepherd-converters
train
03391a0b869b72f9d23f5a006aa249338d76cb91
diff --git a/src/com/mebigfatguy/fbcontrib/detect/SQLInLoop.java b/src/com/mebigfatguy/fbcontrib/detect/SQLInLoop.java index <HASH>..<HASH> 100755 --- a/src/com/mebigfatguy/fbcontrib/detect/SQLInLoop.java +++ b/src/com/mebigfatguy/fbcontrib/detect/SQLInLoop.java @@ -27,6 +27,7 @@ import org.apache.bcel.classfile.Code; ...
simplify with UnmodifiableSet
mebigfatguy_fb-contrib
train
43aefb5ce6f1e62548335c0c524fe70e24515ab5
diff --git a/lib/puppet/type/file/checksum.rb b/lib/puppet/type/file/checksum.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/type/file/checksum.rb +++ b/lib/puppet/type/file/checksum.rb @@ -15,6 +15,12 @@ Puppet::Type.type(:file).newparam(:checksum) do Puppet[:digest_algorithm].to_sym end + validate do |val...
(PUP-<I>) Reject md5-based file checksums Previously, if FIPS was enabled, puppet would crash when using md5 or md5lite in a file resource. Now reject the file resource so it fails validation.
puppetlabs_puppet
train
a8c358bee8c36ca9193ff50d611e12fe40424529
diff --git a/invenio_communities/communities/components.py b/invenio_communities/communities/components.py index <HASH>..<HASH> 100644 --- a/invenio_communities/communities/components.py +++ b/invenio_communities/communities/components.py @@ -10,6 +10,7 @@ from invenio_access.permissions import system_process from inv...
resources: adds renaming community ID endpoint * Adresses #<I>
inveniosoftware_invenio-communities
train
89737d309a958f2084d228e3729afa4af0943de1
diff --git a/outline/settings.py b/outline/settings.py index <HASH>..<HASH> 100644 --- a/outline/settings.py +++ b/outline/settings.py @@ -74,22 +74,24 @@ class Common(Configuration): 'django.template.context_processors.i18n', 'django.template.context_processors.media', ...
Upgrade to django <I>
powellc_outline
train
c4dd5c8711c20f1539fb317f5c735a05ebc3ff9a
diff --git a/js/datepicker.js b/js/datepicker.js index <HASH>..<HASH> 100644 --- a/js/datepicker.js +++ b/js/datepicker.js @@ -92,9 +92,9 @@ this.el.M_Datepicker = this; this.options = $.extend({}, Datepicker.defaults, options); - + // make sure i18n defaults are not lost when only few i18n...
Added check for undefined options object in datepicker
Dogfalo_materialize
train
69818fb0a7a4406176419cf0c9f1a3c746db4e7f
diff --git a/pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310Test.java b/pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310Test.java index <HASH>..<HASH> 100644 --- a/pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310Test.java +++ b/pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObje...
test: fix failure in SetObject<I>Test in simple query mode in certain time zones It turns out backend can send text timestamps in different formats: * <I>-<I>-<I> <I>:<I>:<I> * <I>-<I>-<I> <I>:<I>:<I>:<I>:<I> So the parsing logic is adjusted to support both of them.
pgjdbc_pgjdbc
train
f054b6126f430b089a17fea0b6c94fc358a4634c
diff --git a/moco-runner/src/main/java/com/github/dreamhead/moco/runner/FileRunner.java b/moco-runner/src/main/java/com/github/dreamhead/moco/runner/FileRunner.java index <HASH>..<HASH> 100644 --- a/moco-runner/src/main/java/com/github/dreamhead/moco/runner/FileRunner.java +++ b/moco-runner/src/main/java/com/github/dre...
fixed wrong configuration break server running #<I>
dreamhead_moco
train
0cd68e62a694e91cbe13697c52bbcc8f5be7b0ea
diff --git a/public/js/main.js b/public/js/main.js index <HASH>..<HASH> 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -91,7 +91,6 @@ $(function() { collection: App.users, fields: { username: {type: 'string', label: 'Username'}, - password: {type: 'string', label: 'Password', attributes...
Do not display the password in user form
shinuza_captain-admin
train
1d83f3d6944f83bde52a75c5bf42b3a04f2667b6
diff --git a/src/main/java/cz/vutbr/web/csskit/antlr4/CSSParserListenerImpl.java b/src/main/java/cz/vutbr/web/csskit/antlr4/CSSParserListenerImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/cz/vutbr/web/csskit/antlr4/CSSParserListenerImpl.java +++ b/src/main/java/cz/vutbr/web/csskit/antlr4/CSSParserListenerImp...
rules initialization to null on object
radkovo_jStyleParser
train
f890fbf5d8bd3a22b1c7892ed872ac3358ccfcfa
diff --git a/TODO.md b/TODO.md index <HASH>..<HASH> 100644 --- a/TODO.md +++ b/TODO.md @@ -1,14 +1,12 @@ Now --- - express (or better) server - use web socket - - when there is a new client change: - - create a 'change' event that bubbles up to db - - db then kicks off a sync process if not already syncing. If alr...
feat(log): ability to silence
delta-db_deltadb-server
train
b747304ec1d12b29ef4f940ee234ab6bcac9892d
diff --git a/samples/WOC_Sample.java b/samples/WOC_Sample.java index <HASH>..<HASH> 100755 --- a/samples/WOC_Sample.java +++ b/samples/WOC_Sample.java @@ -15,6 +15,8 @@ public class WOC_Sample { private final Set<String> memberSet = new HashSet<String>(); private Set<String> fpSet; private final List<Str...
add another WOC fp with ternaries an fields
mebigfatguy_fb-contrib
train
14848705aa976ce1f271a8b5300809227d0c06d1
diff --git a/grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/autoconfigure/GrpcServerAutoConfiguration.java b/grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/autoconfigure/GrpcServerAutoConfiguration.java index <HASH>..<HASH> 100644 --- a/grpc-server-spring-bo...
Renamed `shutdownGracePeriod` property to to match spring's property
yidongnan_grpc-spring-boot-starter
train
9c48463260d88cd20ff9bec43fbe654887fc9d38
diff --git a/lib/txml.py b/lib/txml.py index <HASH>..<HASH> 100644 --- a/lib/txml.py +++ b/lib/txml.py @@ -76,7 +76,7 @@ class Status(BaseXMLHandler): SIMPLE_PROPS = ['created_at', 'id', 'text', 'source', 'truncated', 'in_reply_to_status_id', 'in_reply_to_screen_name', - 'in_reply_to_user_id', 'f...
Resolve character references and add 'user_id' as a property for Status.
dustin_twitty-twister
train
ee11f0504ae7fc499d08678f27e39ff418445b70
diff --git a/admin/jqadm/src/Admin/JQAdm/Order/Standard.php b/admin/jqadm/src/Admin/JQAdm/Order/Standard.php index <HASH>..<HASH> 100644 --- a/admin/jqadm/src/Admin/JQAdm/Order/Standard.php +++ b/admin/jqadm/src/Admin/JQAdm/Order/Standard.php @@ -132,7 +132,8 @@ class Standard $msg['sort'] = $this->getCriteriaSort...
Make exports in order panel configurable
aimeos_ai-admin-jqadm
train
947498b7c2231d4d017f76e8fc3cc281695235a6
diff --git a/models/tokenize/tokenizer_models.py b/models/tokenize/tokenizer_models.py index <HASH>..<HASH> 100644 --- a/models/tokenize/tokenizer_models.py +++ b/models/tokenize/tokenizer_models.py @@ -98,7 +98,7 @@ class RNNTokenizer(nn.Module): if args['hierarchical']: self.rnn2 = nn.LSTM(hid...
Alternative formulation of hierarchical RNN tokenizer; Add epsilon greedy to sweeper
stanfordnlp_stanza
train
3a0cd700be669161292eed995fc69a8768f00b54
diff --git a/abutils/utils/cluster.py b/abutils/utils/cluster.py index <HASH>..<HASH> 100644 --- a/abutils/utils/cluster.py +++ b/abutils/utils/cluster.py @@ -261,11 +261,7 @@ def cluster(seqs, threshold=0.975, out_file=None, temp_dir=None, make_db=True, if make_db: ofile, cfile, seq_db, db_path = cdhit(s...
add retries to cdhit()
briney_abutils
train
8f522959219f59e492650a3dc6f777b19aa33558
diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -269,6 +269,10 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSe...
Use same connection on creating new instance (#<I>)
laravel_framework
train
46d59ca857e37a95f911857d50a8716dc589f8b9
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,13 +16,22 @@ import sys import os import shlex -import sys -from unittest.mock import MagicMock +import six + +if six.PY3: + from unittest.mock import MagicMock +else: + from mock import Mock as M...
add mock in conf.py
keunwoochoi_kapre
train
76c13fa27f722c919fd6018cec47482ab3380fba
diff --git a/src/command_functions.php b/src/command_functions.php index <HASH>..<HASH> 100644 --- a/src/command_functions.php +++ b/src/command_functions.php @@ -102,12 +102,14 @@ function getPathsToCheck($f_paths) } if ($filtered_input_paths === ['-']) { - $meta = stream_get_meta_data(ST...
Ensure static analysis picks up the correct type of bool
vimeo_psalm
train
7da8ba9a84be90197f078db631f5af89cd40b473
diff --git a/commands.go b/commands.go index <HASH>..<HASH> 100644 --- a/commands.go +++ b/commands.go @@ -5,6 +5,7 @@ import ( "os" "strings" "sync" + "time" ) // Then is the command executed after successful pull. @@ -32,20 +33,24 @@ func (g *gitCmd) Command() string { // Exec executes the command initia...
Attempt restart of long running processes up to 3 times.
abiosoft_caddy-git
train
0394a925693e0bfbb659cd28992682cd2320eb76
diff --git a/instana/fsm.py b/instana/fsm.py index <HASH>..<HASH> 100644 --- a/instana/fsm.py +++ b/instana/fsm.py @@ -148,11 +148,17 @@ class TheMachine(object): # If we're on a system with a procfs if os.path.exists("/proc/"): - sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) -...
File Descriptor: Use try/except as a safety (#<I>)
instana_python-sensor
train
520aeaddf4f25e32e830ee8486c22ab2aca83ecc
diff --git a/lib/transports/flashsocket.js b/lib/transports/flashsocket.js index <HASH>..<HASH> 100644 --- a/lib/transports/flashsocket.js +++ b/lib/transports/flashsocket.js @@ -29,6 +29,9 @@ Flashsocket.check = function(){ if (!('path' in io)) throw new Error('The `flashsocket` transport requires that you cal...
Made sure no errors where thrown in IE if there isn't a flash fallback available.
tsjing_socket.io-client
train
5699fda2947dc04d55c0c695d7747f8747d02680
diff --git a/templates/partials/db_optimizations_configuration.rb b/templates/partials/db_optimizations_configuration.rb index <HASH>..<HASH> 100644 --- a/templates/partials/db_optimizations_configuration.rb +++ b/templates/partials/db_optimizations_configuration.rb @@ -1,7 +1,7 @@ -config.after_initialize do - Bu...
Correct indentation in generated config file. This commit adds indentation to some of the partials that are injected into `config/environments/*.rb` so that the indentation in the resulting file is consistent.
thoughtbot_suspenders
train
936fcb58be07e2794eae86926da0b4bdda37894f
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -11,11 +11,6 @@ function sendData(settings, callback){ var pubKey = new Buffer('-----BEGIN PUBLIC KEY-----\n' + settings.key + '\n-----END PUBLIC KEY-----\n'); var build = 'VOTE\n' + settings.data.site + '\n'+ sett...
Minor improvements. - Padding the request is not required, as RSA will handle the padding itself. - Added timeout support (defaults to 2 seconds). - Connection errors should be returned to the callback.
ryan-shaw_votifier-send
train
2d50116bee7226c0fd09d4d66db1b0caddaaf0e5
diff --git a/webroot/js/helper.js b/webroot/js/helper.js index <HASH>..<HASH> 100644 --- a/webroot/js/helper.js +++ b/webroot/js/helper.js @@ -810,7 +810,7 @@ foodcoopshop.Helper = { changeYear: true, changeMonth: true, duration: 'fast', - yearRange: '20...
increase max year to <I>
foodcoopshop_foodcoopshop
train
db4ca1f75640c801947e1e080726acdd0e374ed7
diff --git a/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.java b/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.java index <HASH>..<HASH> 100644 --- a/crypto/src/main/java/org/springframework/security/crypto/password/NoOpPasswordEncoder.jav...
Document NoOpPasswordEncoder will not be removed This commit adds extension to deprecation notice. Fixes gh-<I>
spring-projects_spring-security
train
48c99ab16694823f9f05a2592b1a84b092bfcbaf
diff --git a/integration_tests/setup.py b/integration_tests/setup.py index <HASH>..<HASH> 100755 --- a/integration_tests/setup.py +++ b/integration_tests/setup.py @@ -24,12 +24,9 @@ setup( zip_safe=False, include_package_data=True, install_requires=[ - 'virtualchain>=0.14.1', - 'blockstack-...
depend on unified blockstack package
blockstack_blockstack-core
train
cc56231014cececd550f44a4510f8d89833cb621
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Fix Accordion component no longer wraps its content without transition - Fix missing `$emit` function - Fix Sortable component performance +- Fix prevent showing/hiding of Tooltip component ...
fix: prevent showing/hiding of Tooltip component
uikit_uikit
train
6edca8f91c75722f6ba6e357e9a2de459cd3a4f5
diff --git a/src/places.js b/src/places.js index <HASH>..<HASH> 100644 --- a/src/places.js +++ b/src/places.js @@ -94,7 +94,7 @@ export default function places({ autocompleteInstance.focus(); }); - autocompleteInstance.on('autocomplete:updated', () => { + autocompleteContainer.querySelector('.aa-input').add...
fix(mobile): use input event instead of autocomplete:update autocomplete:updated do not work on mobile
algolia_places
train
acf9d24bb4ce939387f8c9745fc4d9880a91f57e
diff --git a/tests/test.mousetrap.js b/tests/test.mousetrap.js index <HASH>..<HASH> 100644 --- a/tests/test.mousetrap.js +++ b/tests/test.mousetrap.js @@ -84,6 +84,16 @@ describe('Mousetrap.bind', function() { expect(spy.callCount).to.equal(2, 'keyup event for "z" should fire once for held down key'); ...
Add a test for keyup on 0
ccampbell_mousetrap
train
b4fdbe5a6220af244af66c2ef50591847151eb40
diff --git a/lib/sqlobject/TableColumn.js b/lib/sqlobject/TableColumn.js index <HASH>..<HASH> 100644 --- a/lib/sqlobject/TableColumn.js +++ b/lib/sqlobject/TableColumn.js @@ -13,7 +13,7 @@ const ArgumentError = require('errorex').ArgumentError; const Serializable = require('../Serializable'); -const TABLE_COLUMN_PA...
[+] Allowed $ sign in field aliases
sqbjs_sqb
train
6b273731f60442784c203d22d0da9d52e4d6ad3e
diff --git a/src/kff.View.js b/src/kff.View.js index <HASH>..<HASH> 100644 --- a/src/kff.View.js +++ b/src/kff.View.js @@ -199,9 +199,7 @@ kff.View = kff.createClass( { if(this.modelBindersMap) this.modelBindersMap.initBinders(); - var ret; - - if(this.run !== kff.noop) ret = this.run(); + if(this.run !=...
refactor(kff.View) render and destroy methods should not return anything
karfcz_kff
train
73614d6e45b8dd387894c6dbebe36e2641ac6bc5
diff --git a/library/src/main/java/de/mrapp/android/preference/SwitchPreference.java b/library/src/main/java/de/mrapp/android/preference/SwitchPreference.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/de/mrapp/android/preference/SwitchPreference.java +++ b/library/src/main/java/de/mrapp/android/preference...
Fixed switch being adapted when clicking the preference background.
michael-rapp_AndroidMaterialPreferences
train
9ef9956ee2329c769254e4f828799cfd1779a4e5
diff --git a/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go b/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go index <HASH>..<HASH> 100644 --- a/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go +++ b/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go @@ -39,8 +39,11 @@ func r...
provider/aws: Add JSON validation to the aws_cloudwatch_event_rule resource. (#<I>) * Add JSON validation to the aws_cloudwatch_event_rule resource. This commit adds support for new helper function which is used to normalise and validate JSON string. Also adds new validation function to wrap around the aforementi...
hashicorp_terraform
train
67b4cce0f6c835cf9e53313a026af2e825ba8b10
diff --git a/api/client/search.go b/api/client/search.go index <HASH>..<HASH> 100644 --- a/api/client/search.go +++ b/api/client/search.go @@ -1,18 +1,25 @@ package client import ( + "encoding/json" "fmt" "net/url" + "sort" "strings" "text/tabwriter" - "github.com/docker/docker/engine" flag "github.com/...
Remove engine.Table from docker search and fix missing field registry/SearchResults was missing the "is_automated" field. I added it back in. Pull this 'table' removal one from the others because it fixed a bug too
containers_storage
train
53ae7d76df1292214d436be332de2d2aff4e3839
diff --git a/source/application/controllers/oxubase.php b/source/application/controllers/oxubase.php index <HASH>..<HASH> 100644 --- a/source/application/controllers/oxubase.php +++ b/source/application/controllers/oxubase.php @@ -1016,50 +1016,6 @@ class oxUBase extends oxView } /** - * Retrieves from ...
Removed deprecated code marked in <I>.x : sorting
OXID-eSales_oxideshop_ce
train
0e822916c9ae4cc8acb2a611f948f08183acbd78
diff --git a/lib/bindings.js b/lib/bindings.js index <HASH>..<HASH> 100644 --- a/lib/bindings.js +++ b/lib/bindings.js @@ -192,13 +192,13 @@ NobleBindings.prototype.discoverServices = function (deviceUuid, filterServiceUu throw new Error('Device is not connected. UUID: ' + deviceUuid); } - rt.promisify(device.ge...
Add support for discovering ONLY one service when desired. Fix broken passing of Uuids to winrt C code. (#<I>)
jasongin_noble-uwp
train
90e2119a0d6b5d5f3a28604b76555785dfb88d88
diff --git a/vcs/backends/base.py b/vcs/backends/base.py index <HASH>..<HASH> 100644 --- a/vcs/backends/base.py +++ b/vcs/backends/base.py @@ -432,6 +432,13 @@ class BaseWorkdir(object): """ raise NotImplementedError + def get_status(self): + """ + Returns dict with ``added``, ``cha...
Added get_status method placeholder at BaseWorkdir --HG-- branch : workdir
codeinn_vcs
train
771e4ded35d3ce7d61ea288a03d965b8e16fb5a3
diff --git a/fault/actions.py b/fault/actions.py index <HASH>..<HASH> 100644 --- a/fault/actions.py +++ b/fault/actions.py @@ -9,6 +9,9 @@ class Action(ABC): """ raise NotImplementedError() + def __repr__(self): + return str(self) + class PortAction(Action): def __init__(self, port...
Add support for poke/expect using a list of values for nested arrays
leonardt_fault
train
faf2e78ca3352c95e42ab2a299bcd024dc234b58
diff --git a/gorequest.go b/gorequest.go index <HASH>..<HASH> 100644 --- a/gorequest.go +++ b/gorequest.go @@ -1268,6 +1268,9 @@ func (s *SuperAgent) MakeRequest() (*http.Request, error) { req.Host = vals[0] } } + + // https://github.com/parnurzeal/gorequest/issues/164 + // Don't infer the content type header ...
Remove minitests as they don't work with <go<I> Add references to the issue being addressed and better comments and variablenames.
parnurzeal_gorequest
train
c28ce75ae880c93d39f2a5719b570c9e03b8c289
diff --git a/src/service/storage-cookie.js b/src/service/storage-cookie.js index <HASH>..<HASH> 100644 --- a/src/service/storage-cookie.js +++ b/src/service/storage-cookie.js @@ -25,7 +25,7 @@ function $translateCookieStorageFactory($injector) { return $cookies.get(key); }, put : function (key, v...
feat(cookie storage): change samesite cookie policy from None to lax
angular-translate_angular-translate
train
f22992f42d6a1525e276c2a99e7585d8db01d7f0
diff --git a/angr/analyses/cfg_accurate.py b/angr/analyses/cfg_accurate.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg_accurate.py +++ b/angr/analyses/cfg_accurate.py @@ -1037,6 +1037,17 @@ class CFGAccurate(ForwardAnalysis, CFGBase): # pylint: disable=abstract-metho :return: None """ + ...
CFGAccurate: make sure all functions are marked as either returning or non-returning after analysis is done.
angr_angr
train
37e3e53527f8400991376e51d37d6127aa1727bb
diff --git a/session.go b/session.go index <HASH>..<HASH> 100644 --- a/session.go +++ b/session.go @@ -115,26 +115,28 @@ func Request(session *Session, urlStr string) (body []byte, err error) { return } -func (session *Session) Servers() (servers []Server, err error) { +// Get all of the session user's private cha...
Rearanged a bit more.
bwmarrin_discordgo
train
8f8def5c8648ff50dde1d9695343fdf8b48d6ffb
diff --git a/lib/timerizer.rb b/lib/timerizer.rb index <HASH>..<HASH> 100644 --- a/lib/timerizer.rb +++ b/lib/timerizer.rb @@ -65,6 +65,11 @@ class RelativeTime end end + def ==(time) + raise ArgumentError unless time.is_a?(RelativeTime) + return @seconds == time.get(:seconds) && @months == time.get(:m...
add == method for RelativeTime
kylewlacy_timerizer
train
797b7eacdc2ac7547008ec393c8414c683650103
diff --git a/yaspin/core.py b/yaspin/core.py index <HASH>..<HASH> 100644 --- a/yaspin/core.py +++ b/yaspin/core.py @@ -352,7 +352,7 @@ class Yaspin(object): sys.stdout.flush() # Wait - time.sleep(self._interval) + self._stop_spin.wait(self._interval) def _com...
Wait of stop event instead of sleep.
pavdmyt_yaspin
train
804505e901149fb080a8a558184ec6b32a04fe31
diff --git a/lang/en/lang.php b/lang/en/lang.php index <HASH>..<HASH> 100644 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -96,7 +96,8 @@ return [ 'empty_groups' => 'There are no user groups available.', 'avatar' => 'Avatar', 'details' => 'Details', - 'account' => 'Account' + ...
add the missing translations for pt-BR language in user fields
rainlab_user-plugin
train
166834d2250a4e984e1d0d922c55308dc710d0e8
diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java index <HASH>..<HASH> 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/ldap/LdapMockMvcTests.java +++ b/uaa/src/test/java/org/clo...
Stop test from failing when run with all tests, locally, via gradle - The SSLSocketFactory uses a singleton pattern that in turn determines which trust manager to use - We need Ldap-related tests that rely on TLS to use a test-specific trust store [#<I>] <URL>
cloudfoundry_uaa
train
3dbdd931894b5207f39dc03c8f07b23f13be162c
diff --git a/quota/quota.go b/quota/quota.go index <HASH>..<HASH> 100644 --- a/quota/quota.go +++ b/quota/quota.go @@ -106,7 +106,7 @@ func Release(user, item string) error { // Set defines a new value for the quota of the given user. // -// It allows the database to become in an inconsistent states: a user may be ...
quota: fix typo in Set docs Related to #<I>.
tsuru_tsuru
train
32e9e8ead5a18af57d111e230ba55ceae99aaa99
diff --git a/consul/state_store.go b/consul/state_store.go index <HASH>..<HASH> 100644 --- a/consul/state_store.go +++ b/consul/state_store.go @@ -1299,6 +1299,39 @@ func (s *StateStore) KVSDelete(index uint64, key string) error { return s.kvsDeleteWithIndex(index, "id", key) } +// KVSDeleteCheckAndSet is used to ...
consul: Implement KVSDeleteCheckAndSet
hashicorp_consul
train
a16a14c5c10e37bd2d907be841785f0ba4ef1d33
diff --git a/ros_buildfarm/sourcedeb_job.py b/ros_buildfarm/sourcedeb_job.py index <HASH>..<HASH> 100644 --- a/ros_buildfarm/sourcedeb_job.py +++ b/ros_buildfarm/sourcedeb_job.py @@ -68,7 +68,7 @@ def _get_source_tag( def build_sourcedeb(sources_dir): cmd = [ - 'git', 'buildpackage', + 'gbp', 'bui...
use gbp instead of 'git buildpackage' command
ros-infrastructure_ros_buildfarm
train
10a404f8c1d257ee7fa8ab3f44e59b610949689e
diff --git a/bcbio/variation/validateplot.py b/bcbio/variation/validateplot.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/validateplot.py +++ b/bcbio/variation/validateplot.py @@ -6,6 +6,7 @@ differences. import collections import os +from distutils.version import LooseVersion import numpy as np import pan...
validation plot: compatibility with <I> and <I> Generalize adjustments for matplotlib <I> to work correctly with older versions. The version resolved depends on other conda dependencies
bcbio_bcbio-nextgen
train
19a5f65c9bcafc77df164c4dd75c89782b4f4076
diff --git a/repository/src/test/java/org/apache/atlas/services/MetricsServiceTest.java b/repository/src/test/java/org/apache/atlas/services/MetricsServiceTest.java index <HASH>..<HASH> 100644 --- a/repository/src/test/java/org/apache/atlas/services/MetricsServiceTest.java +++ b/repository/src/test/java/org/apache/atla...
ATLAS-<I>: test fix to address NPE
apache_incubator-atlas
train
cda5c6892ca5a8e043ae3d5112fccb7c928c33bc
diff --git a/src/Pingpong/Generators/Console/PivotCommand.php b/src/Pingpong/Generators/Console/PivotCommand.php index <HASH>..<HASH> 100644 --- a/src/Pingpong/Generators/Console/PivotCommand.php +++ b/src/Pingpong/Generators/Console/PivotCommand.php @@ -33,7 +33,8 @@ class PivotCommand extends Command { $gene...
Allow to add timestamps to pivot migration
pingpong-labs_sky
train
c1118e99bff01116afc7f110d9d2562519c489d8
diff --git a/src/lib/widget.js b/src/lib/widget.js index <HASH>..<HASH> 100644 --- a/src/lib/widget.js +++ b/src/lib/widget.js @@ -56,9 +56,11 @@ define(['./assets', './webfinger', './hardcoded', './wireClient', './sync', './s } } - function setWidgetState(state) { + function setWidgetState(state, updateVie...
disconnected event for widget (fixes #<I>)
remotestorage_remotestorage.js
train
9ac91c69bd4f8239eb56808d66b86d9a96fd608f
diff --git a/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php b/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php index <HASH>..<HASH> 100644 --- a/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php +++ b/src/Adapter/Symfony/De...
[SymfonyEventDispatcher] Fix coding standard in CollectEventSubscribersPass
DeprecatedPackages_SymfonyEventDispatcher
train
dbbd72d4dcfb012e998c6284c783a6ef1ae3b63d
diff --git a/lib/classes/Swift/Message.php b/lib/classes/Swift/Message.php index <HASH>..<HASH> 100644 --- a/lib/classes/Swift/Message.php +++ b/lib/classes/Swift/Message.php @@ -92,7 +92,7 @@ class Swift_Message extends Swift_Mime_SimpleMessage } /** - * Attach a new signature handler to the message. +...
Update Message.php Fixed method description for detachSigner
swiftmailer_swiftmailer
train
ecf6610917f9d3508c069426e0ddbc3026a9a2ae
diff --git a/integration/gce.go b/integration/gce.go index <HASH>..<HASH> 100644 --- a/integration/gce.go +++ b/integration/gce.go @@ -105,7 +105,7 @@ func (g *GceClusterManager) Start() *Result { } func (g *GceClusterManager) Delete() *Result { - if g.env.Get("clustername") == "" { + if g.clusterName == "" { re...
integration: correctly checks if clustername is set
tsuru_tsuru
train
a598f7f09df64ebe2cbb1af09da26b6a1e525c32
diff --git a/examples/hypertune-mnist.py b/examples/hypertune-mnist.py index <HASH>..<HASH> 100644 --- a/examples/hypertune-mnist.py +++ b/examples/hypertune-mnist.py @@ -72,7 +72,20 @@ def train(sess, config, x_input, y_labels): #hc.cost(config, cost) + #print("Accuracy %.2f Cost %.2f" % (accuracy, cost)) ...
[feature] test mnist after hc run
255BITS_hyperchamber
train
f5ebead73c48881575c7bb0decd2180bb64d0366
diff --git a/assets/scripts/src/overlay.js b/assets/scripts/src/overlay.js index <HASH>..<HASH> 100644 --- a/assets/scripts/src/overlay.js +++ b/assets/scripts/src/overlay.js @@ -141,10 +141,14 @@ export default class Overlay { document.body.appendChild(this.overlay); } - // @todo: do not request...
Fix - Memory leak, animation frame never cancelled
kamranahmedse_driver.js
train
a976bbd0ff6892081a72164f862f54aff86d1020
diff --git a/src/helpers.js b/src/helpers.js index <HASH>..<HASH> 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -293,49 +293,33 @@ export const findEntriesByType = (app, entriesByType, params = {}, options = {}) // find with typed ids from various descriminated services export const findWithTypedIds = (app, l...
Fix discriminatedFind (result may not have data)
MostlyJS_mostly-feathers-mongoose
train
b3342e5a984d5b9a5e566d8cd67304ddf2719705
diff --git a/nose/test_streamdf.py b/nose/test_streamdf.py index <HASH>..<HASH> 100644 --- a/nose/test_streamdf.py +++ b/nose/test_streamdf.py @@ -267,6 +267,40 @@ def test_density_phi(): 'density far from progenitor in phi is incorrect' return None +def test_density_ll(): + #Test that the density in ll ...
Add explicit test of density in l
jobovy_galpy
train
88c9ce341d70b2de75dc0c889351e6b83092a4fc
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/BadImport.java b/core/src/main/java/com/google/errorprone/bugpatterns/BadImport.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/BadImport.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/BadImpor...
Add "BuilderFactory" as a bad import. Probably not as common as either independently, but it's a combination of two existing ones. I keep hitting it in our own codebase. PiperOrigin-RevId: <I>
google_error-prone
train
c99ded5e8677241f513b05e91fd3a85af6e7b692
diff --git a/sacred/experiment.py b/sacred/experiment.py index <HASH>..<HASH> 100755 --- a/sacred/experiment.py +++ b/sacred/experiment.py @@ -139,10 +139,12 @@ class Experiment(Ingredient): dictionary. That is, the dictionary of commandline options used for this run. - NOTE: The decorated fu...
added some more flushes in the hopes of fixing the random failures on travis and appveyor
IDSIA_sacred
train
2dbe9caa51243678389e4222ce69c37c8a197dc8
diff --git a/tests/folia.py b/tests/folia.py index <HASH>..<HASH> 100755 --- a/tests/folia.py +++ b/tests/folia.py @@ -1830,7 +1830,7 @@ class Test4Edit(unittest.TestCase): l = s.annotation(folia.EntitiesLayer) l.correct(original=self.doc['example.radboud.university.nijmegen.org'], new=folia.Entity(se...
updated reference text of test<I>c after having added a comment to the example
proycon_pynlpl
train
a7fe8ae8c3769b823f1bed9774bcb06222e99715
diff --git a/python/test/bigdl/test_simple_integration.py b/python/test/bigdl/test_simple_integration.py index <HASH>..<HASH> 100644 --- a/python/test/bigdl/test_simple_integration.py +++ b/python/test/bigdl/test_simple_integration.py @@ -263,7 +263,7 @@ class TestSimple(): print(str(i) + "\n") pr...
Change model.test to model.evaluate in Python
intel-analytics_BigDL
train
7cf3b742364efc4ccdeb1a35475fb2ccd7e93472
diff --git a/ui/mirage/factories/allocation.js b/ui/mirage/factories/allocation.js index <HASH>..<HASH> 100644 --- a/ui/mirage/factories/allocation.js +++ b/ui/mirage/factories/allocation.js @@ -206,7 +206,7 @@ export default Factory.extend({ allocation.update({ taskStateIds: allocation.clientStatus =...
Fix factory bug that made it so pending allocs had no resources
hashicorp_nomad
train
e3514208aa120200ca689c85a23e05f19233a503
diff --git a/pefile.py b/pefile.py index <HASH>..<HASH> 100644 --- a/pefile.py +++ b/pefile.py @@ -5378,14 +5378,14 @@ class PE: import_descs = [] error_count = 0 - image_import_descriptor_size = Structure(self.__IMAGE_IMPORT_DESCRIPTOR_format__).sizeof() + image_import_descriptor_size...
Reformatted with `black`
erocarrera_pefile
train
956b72b4df15a4627b7811f6803b07240679739b
diff --git a/tensorboard/plugins/interactive_inference/utils/platform_utils.py b/tensorboard/plugins/interactive_inference/utils/platform_utils.py index <HASH>..<HASH> 100644 --- a/tensorboard/plugins/interactive_inference/utils/platform_utils.py +++ b/tensorboard/plugins/interactive_inference/utils/platform_utils.py @...
Add ability to load compressed tfrecord files in What-If Tool (#<I>)
tensorflow_tensorboard
train
bc439dbdc1532b473803c4054084a3fecb3e24e8
diff --git a/azurerm/resource_arm_vpn_server_configuration.go b/azurerm/resource_arm_vpn_server_configuration.go index <HASH>..<HASH> 100644 --- a/azurerm/resource_arm_vpn_server_configuration.go +++ b/azurerm/resource_arm_vpn_server_configuration.go @@ -48,7 +48,7 @@ func resourceArmVPNServerConfiguration() *schema.Re...
r/vpn_server_configuration: fixing the linting
terraform-providers_terraform-provider-azurerm
train
973520667f6d606c065829eaa6559682f2e0f0f9
diff --git a/src/Services/SoapService.php b/src/Services/SoapService.php index <HASH>..<HASH> 100644 --- a/src/Services/SoapService.php +++ b/src/Services/SoapService.php @@ -18,6 +18,7 @@ class SoapService extends AbstractService /** * The classname of the defaults object to instantiate if none is injecte...
soapservice: re-initialize client when settings change
czim_laravel-service
train
d22175e42f29a2561ea74d4fa7ae44bd5bd880ca
diff --git a/README b/README index <HASH>..<HASH> 100644 --- a/README +++ b/README @@ -56,6 +56,8 @@ can still catch them. If you catch one of these, please report it! * RTCPSent * RTPReceiverStat * RTPSenderStat +* Status +* StatusComplete * Transfer * Unlink * VarSet @@ -66,6 +68,7 @@ Currently Supported Action...
changed the way we read from the stream. now is non-blocking mode (useful to implement timeouts) and also we dont use stream_get_line anymore (for messages)
marcelog_PAMI
train
44b8b6aba6a5cb8bdfa5c15e1d5bfc3b5676193a
diff --git a/errors/types.go b/errors/types.go index <HASH>..<HASH> 100644 --- a/errors/types.go +++ b/errors/types.go @@ -1,9 +1,12 @@ package errors import ( + goerrors "errors" "fmt" "net/url" + "os/exec" "strconv" + "syscall" "time" "github.com/pkg/errors" @@ -487,3 +490,14 @@ func parentOf(err erro...
errors: add a function to extract exit status from error Right now, we have some custom code to extract the exit status from an appropriate error. However, we'll need to use this in multiple places, so let's refactor it out into a function. We use the Go <I> errors package because we no longer test for Go <I> since ...
git-lfs_git-lfs
train
b8f62e47a0cd9309697a9ed0982639d5527953b5
diff --git a/src/Providers/JWT/Namshi.php b/src/Providers/JWT/Namshi.php index <HASH>..<HASH> 100644 --- a/src/Providers/JWT/Namshi.php +++ b/src/Providers/JWT/Namshi.php @@ -24,7 +24,7 @@ class Namshi extends Provider implements JWT { parent::__construct($secret, $algo); - $this->jws = $driver ?...
removing alg from token header and fixing tests
tymondesigns_jwt-auth
train
1767af09198ad034b55408c93e490c947a73d437
diff --git a/php-typography/class-hyphenator.php b/php-typography/class-hyphenator.php index <HASH>..<HASH> 100644 --- a/php-typography/class-hyphenator.php +++ b/php-typography/class-hyphenator.php @@ -114,7 +114,7 @@ class Hyphenator { } // Calculate hash & check against previous exceptions. - $new_hash = ge...
Move get_object_hash to Hyphenator
mundschenk-at_php-typography
train
4dc099761f76cdb68059d52bb0a82335db64cde3
diff --git a/tests/junit/org/jgroups/tests/ChannelTestBase.java b/tests/junit/org/jgroups/tests/ChannelTestBase.java index <HASH>..<HASH> 100644 --- a/tests/junit/org/jgroups/tests/ChannelTestBase.java +++ b/tests/junit/org/jgroups/tests/ChannelTestBase.java @@ -303,7 +303,7 @@ public class ChannelTestBase { ...
reverting to previous version since commit caused a lockup of FLUSH tests
belaban_JGroups
train
b32a6d4013a99377395c655228b0800cc85fd31e
diff --git a/packages/core/src/core.js b/packages/core/src/core.js index <HASH>..<HASH> 100644 --- a/packages/core/src/core.js +++ b/packages/core/src/core.js @@ -1,7 +1,7 @@ import { error } from '@hybrids/debug'; import Hybrid from './hybrid'; import { camelToDash, reflectValue } from './utils'; -import { CONTROLL...
REF "middleware" replaced with "providers"
hybridsjs_hybrids
train
94f1b187e12c409bdfdd6addc48d36818c994804
diff --git a/lib/toppings/generators/install/group_generator.rb b/lib/toppings/generators/install/group_generator.rb index <HASH>..<HASH> 100644 --- a/lib/toppings/generators/install/group_generator.rb +++ b/lib/toppings/generators/install/group_generator.rb @@ -62,10 +62,9 @@ module Toppings # copies a templa...
removed unnecessary feature and i guess all templates should be appended to the base file
toppings_toppings
train
7ba344292da866d6e52cc3c0ac5956f5cdddaff4
diff --git a/gwpy/frequencyseries/core.py b/gwpy/frequencyseries/core.py index <HASH>..<HASH> 100644 --- a/gwpy/frequencyseries/core.py +++ b/gwpy/frequencyseries/core.py @@ -314,6 +314,78 @@ class FrequencySeries(Series): "arguments", DeprecationWarning) return self.filter(*args, **kwar...
Adding a method for FrequencySeries objects called inject(), which allows for frequency domain injections.
gwpy_gwpy
train
c1c15636fb457a77b660f20b50178af43a1a8b1d
diff --git a/tools/c7n_mailer/c7n_mailer/email_delivery.py b/tools/c7n_mailer/c7n_mailer/email_delivery.py index <HASH>..<HASH> 100644 --- a/tools/c7n_mailer/c7n_mailer/email_delivery.py +++ b/tools/c7n_mailer/c7n_mailer/email_delivery.py @@ -11,8 +11,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expres...
tools/c7n_mailer - ldap kms crypted password support for daemon mode (#<I>)
cloud-custodian_cloud-custodian
train
196487327c70a2ef30461b9293aec106bca5d261
diff --git a/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/AsyncJdbcTemplate.java b/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/AsyncJdbcTemplate.java index <HASH>..<HASH> 100644 --- a/molgenis-data-mysql/src/main/java/org/molgenis/data/mysql/AsyncJdbcTemplate.java +++ b/molgenis-data-mysql/sr...
Add <I> second timeout to the DDL execution for the rare case of deadlocks.
molgenis_molgenis
train
a7eb2cd258ca1a1a4bb37b90f9a63131230de72c
diff --git a/providers/dns/mythicbeasts/client.go b/providers/dns/mythicbeasts/client.go index <HASH>..<HASH> 100644 --- a/providers/dns/mythicbeasts/client.go +++ b/providers/dns/mythicbeasts/client.go @@ -12,7 +12,7 @@ import ( ) const ( - apiBaseURL = "https://api.mythic-beasts.com/beta/dns" + apiBaseURL = "ht...
mythicbeasts: Update API base URL for released v2 API (#<I>)
go-acme_lego
train
377d4bf4d8eee2bf895af523e77ca26a4f45c0db
diff --git a/src/TableHeaderColumn.js b/src/TableHeaderColumn.js index <HASH>..<HASH> 100644 --- a/src/TableHeaderColumn.js +++ b/src/TableHeaderColumn.js @@ -262,8 +262,8 @@ TableHeaderColumn.propTypes = { export: PropTypes.bool, expandable: PropTypes.bool, tdAttr: PropTypes.object, - tdStyle: PropTypes.Obje...
Fix propTypes for tdStyle and thStyle
AllenFang_react-bootstrap-table
train
a30891d83f98e7cd825f54796a49c647a214513d
diff --git a/sportsref/decorators.py b/sportsref/decorators.py index <HASH>..<HASH> 100644 --- a/sportsref/decorators.py +++ b/sportsref/decorators.py @@ -1,6 +1,7 @@ import codecs import copy import datetime +import getpass import hashlib import os import re @@ -107,7 +108,7 @@ def cache_html(func): the use...
made user more general by using getpass in cache_html
mdgoldberg_sportsref
train
0ce132eb8ff6c9b1e357a8a153552c4f958378a6
diff --git a/runtime/service.go b/runtime/service.go index <HASH>..<HASH> 100644 --- a/runtime/service.go +++ b/runtime/service.go @@ -197,11 +197,20 @@ func (s *service) Error() error { // Wait waits for the service to finish running func (s *service) Wait() { // wait for process to exit - err := s.Process.Wait(s....
Fix race condition when updating process being waited on (#<I>)
micro_go-micro
train
6371a9380db195bd5d0cfa87b612d6f66e5f19c4
diff --git a/lib/ruby-bbcode/tag_info.rb b/lib/ruby-bbcode/tag_info.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-bbcode/tag_info.rb +++ b/lib/ruby-bbcode/tag_info.rb @@ -69,7 +69,7 @@ module RubyBBCode !self[:text].nil? end - def has_params? + def has_tag_param? self[:params][:tag_param] != ...
Rename methods These methods explicitely handle 'tag params' and not regular param(eter)s
veger_ruby-bbcode
train
1b732a4afac04730cd56df5700e8cf9b7d02d231
diff --git a/flowcontrol/flow_control_manager.go b/flowcontrol/flow_control_manager.go index <HASH>..<HASH> 100644 --- a/flowcontrol/flow_control_manager.go +++ b/flowcontrol/flow_control_manager.go @@ -167,6 +167,17 @@ func (f *flowControlManager) UpdateWindow(streamID protocol.StreamID, offset pro return streamFlow...
add method to FlowControlManager to tell if Stream contribues to connection-level flow control
lucas-clemente_quic-go
train
3b3255a964cc9af40a399fdc5feee4f3a6f09810
diff --git a/lib/6to5/traverse/index.js b/lib/6to5/traverse/index.js index <HASH>..<HASH> 100644 --- a/lib/6to5/traverse/index.js +++ b/lib/6to5/traverse/index.js @@ -76,11 +76,6 @@ TraversalContext.prototype.enterNode = function (obj, key, node, enter, parent, } } - if (this.shouldRemove) { - obj[key] =...
delegate removal of nodes in traversal to exitNode
babel_babel
train
d4f62cb7fbe7858433e60a51d3d45cdbdcef05e7
diff --git a/lib/benchmark-runner-handler.js b/lib/benchmark-runner-handler.js index <HASH>..<HASH> 100644 --- a/lib/benchmark-runner-handler.js +++ b/lib/benchmark-runner-handler.js @@ -4,6 +4,16 @@ module.exports = function(benchmarkRunner){ this.runner = new benchmarkRunner.Suite; + this.emitError = function...
Improving decoupling for the requestor
matteofigus_api-benchmark
train
fcd19a13b703c64739402d79d07185a27caffa79
diff --git a/activerecord/lib/active_record/serialization.rb b/activerecord/lib/active_record/serialization.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/serialization.rb +++ b/activerecord/lib/active_record/serialization.rb @@ -5,7 +5,6 @@ module ActiveRecord #:nodoc: include ActiveModel::Se...
include_root_in_json allows inheritance.
rails_rails
train
7f100493a41d1f656840c58f870c01e26c5d03d2
diff --git a/src/utils/dom.js b/src/utils/dom.js index <HASH>..<HASH> 100755 --- a/src/utils/dom.js +++ b/src/utils/dom.js @@ -4,23 +4,28 @@ import { isString, isNumber } from 'utils/is'; let createElement, matches, div, methodNames, unprefixed, prefixed, i, j, makeFunction; +const customStr = 'registerElement' in...
use newer syntax for custom elements, if maybe supported? - #<I>
ractivejs_ractive
train
d9bc165b081e4ad416451a7f3e9a7e353ea6b873
diff --git a/.dreamfactory.php b/.dreamfactory.php index <HASH>..<HASH> 100644 --- a/.dreamfactory.php +++ b/.dreamfactory.php @@ -1,7 +1,7 @@ <?php /** * DreamFactory(tm) Core <http://github.com/dreamfactorysoftware/df-core> - * Copyright 2012-2015 DreamFactory Software, Inc. <support@dreamfactory.com> + * Copyrig...
DF-<I> Update copyright and support email
dreamfactorysoftware_df-database
train
11a2ef0cde18941d2060e28fb0572dedaec0c0bd
diff --git a/tests/Drupal/Tests/Driver/Drupal7FieldHandlerTest.php b/tests/Drupal/Tests/Driver/Drupal7FieldHandlerTest.php index <HASH>..<HASH> 100644 --- a/tests/Drupal/Tests/Driver/Drupal7FieldHandlerTest.php +++ b/tests/Drupal/Tests/Driver/Drupal7FieldHandlerTest.php @@ -2,22 +2,37 @@ /** * @file - * Contains \...
Fix code sniffer warnings in Drupal7FieldHandlerTest.
jhedstrom_DrupalDriver
train