hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
56a57ca07689bb6a8b7c6c0ccb586ad6c003d90d
diff --git a/driver/src/main/org/mongodb/async/SingleResultFuture.java b/driver/src/main/org/mongodb/async/SingleResultFuture.java index <HASH>..<HASH> 100644 --- a/driver/src/main/org/mongodb/async/SingleResultFuture.java +++ b/driver/src/main/org/mongodb/async/SingleResultFuture.java @@ -4,7 +4,7 @@ * Licensed unde...
No longer wrapping MongoException in ExecutionException.
mongodb_mongo-java-driver
train
5261988d3a214a7ae98332e6a9ad10fb9285f78a
diff --git a/wandb/summary.py b/wandb/summary.py index <HASH>..<HASH> 100644 --- a/wandb/summary.py +++ b/wandb/summary.py @@ -144,12 +144,6 @@ class Summary(object): def _encode(self, child=None, path_from_root=[], json_root=None): """Normalize, compress, and encode sub-objects for backend storage. - ...
Cache h5 encodings etc. when writing summaries to fix likely performance issues. Simplify Summary encoding: don't bother rewriting the Summary's internal dict. There wasn't really much point in doing it.
wandb_client
train
8c22c26370de332aea33bd6f1d5a720d8f8cffe9
diff --git a/java/server/src/org/openqa/selenium/server/cli/RemoteControlLauncher.java b/java/server/src/org/openqa/selenium/server/cli/RemoteControlLauncher.java index <HASH>..<HASH> 100644 --- a/java/server/src/org/openqa/selenium/server/cli/RemoteControlLauncher.java +++ b/java/server/src/org/openqa/selenium/server/...
usage / help text should go to stdout not stderr
SeleniumHQ_selenium
train
a8416c46f74a6a9d159090ad6dbc644cd6d40e92
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -209,7 +209,7 @@ def setup_package(): generate_cython(root, "spacy") setup( - name=about["__title__"], + name="spacy", zip_safe=False, packages=PACKAGES, ...
Use string name in setup.py Hopefully this will trick GitHub's parser into recognising it as a Python package and show us the dependents / "used by" statistics 🤞
explosion_spaCy
train
5acf134cc2fefee52e9e0fe393ac664c42595a5e
diff --git a/src/main/java/net/dv8tion/jda/audio/AudioConnection.java b/src/main/java/net/dv8tion/jda/audio/AudioConnection.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/dv8tion/jda/audio/AudioConnection.java +++ b/src/main/java/net/dv8tion/jda/audio/AudioConnection.java @@ -15,7 +15,6 @@ */ package net.d...
Changed the Priority of some Threads (keepAlive, Audio-sending) - could potentially fix a problem where the keepAlive-Thread is starved out on single-core processors
DV8FromTheWorld_JDA
train
8615274e7f263803219aaf7540db71ec6dac142d
diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php index <HASH>..<HASH> 100644 --- a/cake/console/libs/tasks/model.php +++ b/cake/console/libs/tasks/model.php @@ -465,6 +465,10 @@ class ModelTask extends Shell { return false; } + if (empty($this->_tables)) { + $this->_tables ...
Fixing issue where baking a model non-interactively would omit hasMany associations. Tests added.
cakephp_cakephp
train
658472193dc153a5e90ff3778311aaf887c72081
diff --git a/src/Symfony/Component/Form/Extension/Core/Type/FieldType.php b/src/Symfony/Component/Form/Extension/Core/Type/FieldType.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Form/Extension/Core/Type/FieldType.php +++ b/src/Symfony/Component/Form/Extension/Core/Type/FieldType.php @@ -200,6 +200,6 @@ c...
[Form] Improved labels generated by default from form names
symfony_symfony
train
2266a0ae13c1b682a13f04f2c76becbd76ed10d9
diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/bot.rb +++ b/lib/discordrb/bot.rb @@ -1340,6 +1340,9 @@ module Discordrb } @ws.send(data.to_json) + rescue => e + LOGGER.error('Got an error while sending a heartbeat! Carrying on anyway beca...
Handle errors that occur while sending a heartbeat, so the entire heartbeat loop doesn't fail
meew0_discordrb
train
63aa5313f0c5773133a6446ec9c592e970a588d9
diff --git a/lib/kuhsaft/touch_placeholders.rb b/lib/kuhsaft/touch_placeholders.rb index <HASH>..<HASH> 100644 --- a/lib/kuhsaft/touch_placeholders.rb +++ b/lib/kuhsaft/touch_placeholders.rb @@ -14,7 +14,7 @@ module Kuhsaft if self.class.placeholder_templates.present? self.class.placeholder_templates.ea...
improve specs for touch_placeholders
brandleadership_kuhsaft
train
9ce27ce714bb00ff6ce49fa951c8d50a1bc85e71
diff --git a/validation/validation.go b/validation/validation.go index <HASH>..<HASH> 100644 --- a/validation/validation.go +++ b/validation/validation.go @@ -7,9 +7,13 @@ package validation import "regexp" +var ( + emailRegexp = regexp.MustCompile(`^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$`) + nameRegexp = regexp...
validation: adds method to validate names
tsuru_tsuru
train
27a0b71f23c7f3eec283a605521efb3f4f416b48
diff --git a/nodeconductor/server/base_settings.py b/nodeconductor/server/base_settings.py index <HASH>..<HASH> 100644 --- a/nodeconductor/server/base_settings.py +++ b/nodeconductor/server/base_settings.py @@ -259,7 +259,8 @@ NODECONDUCTOR = { 'OWNERS_CAN_MANAGE_OWNERS': True, 'OWNER_CAN_MODIFY_COST_LIMIT': ...
Move default initial customer agreement number to base settings [WAL-<I>]
opennode_waldur-core
train
9661b1fe2b1497660623b24050af1b5091e7b9b3
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/ba/SourceFinder.java b/findbugs/src/java/edu/umd/cs/findbugs/ba/SourceFinder.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/ba/SourceFinder.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/ba/SourceFinder.java @@ -29,28 +29,72 @@ import ja...
Changed so source path is a list of SourceRepository objects. This allows varying implementations for directories and zip/jar archives. git-svn-id: <URL>
spotbugs_spotbugs
train
7d9623602509dbf85299a5db764348f73c61bdfb
diff --git a/s3upload/forms.py b/s3upload/forms.py index <HASH>..<HASH> 100644 --- a/s3upload/forms.py +++ b/s3upload/forms.py @@ -72,6 +72,8 @@ class S3UploadForm(ContentTypePrefixMixin, KeyPrefixMixin, StorageMixin, acl = forms.CharField(widget=forms.HiddenInput()) + cache_control = forms.CharField(widget...
Support for setting 'Cache-Control' header on uploads.
mattaustin_django-storages-s3upload
train
8fdd1a8ac3022e29f2cca05e31be5070e7fed89c
diff --git a/plugins/tls.js b/plugins/tls.js index <HASH>..<HASH> 100644 --- a/plugins/tls.js +++ b/plugins/tls.js @@ -10,8 +10,14 @@ var utils = require('./utils'); exports.hook_capabilities = function (next, connection) { /* Caution: We cannot advertise STARTTLS if the upgrade has already been done. */ if ...
Don't advertise STARTTLS if no key found
haraka_Haraka
train
f20e0b543841ba437c849f857aa6560b78cdf823
diff --git a/lib/jekyll-picture-tag/instructions/html_attributes.rb b/lib/jekyll-picture-tag/instructions/html_attributes.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll-picture-tag/instructions/html_attributes.rb +++ b/lib/jekyll-picture-tag/instructions/html_attributes.rb @@ -19,7 +19,7 @@ module PictureTag pr...
Duplicate attributes hash loaded from jekyll config Attribute processing was inserting new attributes into jekyll's attributes hash, persisting them between tags. This commit duplicates that hash and modifies that copy, rather than the original.
robwierzbowski_jekyll-picture-tag
train
1c4db312f361f520a1ce28a058cab6030d52f0ed
diff --git a/fusionbox/templatetags/fusionbox_tags.py b/fusionbox/templatetags/fusionbox_tags.py index <HASH>..<HASH> 100644 --- a/fusionbox/templatetags/fusionbox_tags.py +++ b/fusionbox/templatetags/fusionbox_tags.py @@ -461,25 +461,25 @@ class NodeListNode(template.Node): class ChoiceNode(template.Node): """...
sphinx friendly docstring
fusionbox_django-argonauts
train
bd45e73b7c6295609ad405ed18af0eb71715a200
diff --git a/console/Command.php b/console/Command.php index <HASH>..<HASH> 100644 --- a/console/Command.php +++ b/console/Command.php @@ -108,17 +108,19 @@ class Command extends \lithium\core\Object { if (!is_object($this->request) || !$this->request->params) { return; } - $this->response = $this->_config['...
Refactor command output colorization. Based on the work by Alex Bowers in #<I>.
UnionOfRAD_lithium
train
df131a43a7b6557e940249a86c4544559f3678ce
diff --git a/tests/unit/View/Helper/AlertBoxTest.php b/tests/unit/View/Helper/AlertBoxTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/View/Helper/AlertBoxTest.php +++ b/tests/unit/View/Helper/AlertBoxTest.php @@ -12,7 +12,7 @@ class AlertBoxTest extends Test { $this->assertEquals('<div class="alert ...
pass array to refactored helper in test
delboy1978uk_bone
train
afc3f9b8971ab2efd8b3ae943f346c6f65e95910
diff --git a/prospector/formatters/pylint.py b/prospector/formatters/pylint.py index <HASH>..<HASH> 100644 --- a/prospector/formatters/pylint.py +++ b/prospector/formatters/pylint.py @@ -26,7 +26,7 @@ class PylintFormatter(Formatter): # ={path}:{line}: [{msg_id}({symbol}), {obj}] {msg} # pro...
[refs #<I> #<I>] Changing the pylint output formatter slightly so that the output format is still handled correctly by the Jenkins violations plugin
PyCQA_prospector
train
6b6aacb14a38613c1941646fb65c766b5afb25cc
diff --git a/core/transforms.py b/core/transforms.py index <HASH>..<HASH> 100644 --- a/core/transforms.py +++ b/core/transforms.py @@ -1,5 +1,6 @@ from core import MIDI_PITCH, OFFSET_64, DURATION_64 from core import Point, Sequence +from core import shift def transpose(semitones):
import shift here so it can be treated like a normal transform from an import point of view
jtauber_sebastian
train
1dc84ab0b1235da1946cf0fe5f23bccb9e0c92c2
diff --git a/pkg/maglev/maglev.go b/pkg/maglev/maglev.go index <HASH>..<HASH> 100644 --- a/pkg/maglev/maglev.go +++ b/pkg/maglev/maglev.go @@ -4,11 +4,12 @@ package maglev import ( + "context" "encoding/base64" "fmt" "runtime" - "sync" + "github.com/cilium/workerpool" "github.com/shirou/gopsutil/v3/mem" ...
maglev: use github.com/cilium/workerpool to compute permutations Use the existing github.com/cilium/workerpool package instead of open-coding a worker pool.
cilium_cilium
train
ebcd49b2e7dbfc53a4ef1a7b13029c87643d90e8
diff --git a/lib/review/preprocessor.rb b/lib/review/preprocessor.rb index <HASH>..<HASH> 100644 --- a/lib/review/preprocessor.rb +++ b/lib/review/preprocessor.rb @@ -544,7 +544,7 @@ module ReVIEW if tabwidth > 0 detab(line, tabwidth).rstrip + "\n" else - line + "\n" + line e...
lib/review/preprocessor.rb: remove unnecessary LF insertion.
kmuto_review
train
f6dfbfbf5eb706da62ac64ce1133c977baf48abd
diff --git a/lib/puavo/client/hash_mixin/school.rb b/lib/puavo/client/hash_mixin/school.rb index <HASH>..<HASH> 100644 --- a/lib/puavo/client/hash_mixin/school.rb +++ b/lib/puavo/client/hash_mixin/school.rb @@ -63,8 +63,8 @@ module Puavo :value_block => lambda{ |value| Array(value).first } }, ...
Hash::Mixin::School: puavoWlanSSID type is array
opinsys_puavo-client
train
d2a26dd2a5ad340f893913a4b13fb2ba60b31e64
diff --git a/src/Indatus/Dispatcher/Drivers/Cron/Scheduler.php b/src/Indatus/Dispatcher/Drivers/Cron/Scheduler.php index <HASH>..<HASH> 100644 --- a/src/Indatus/Dispatcher/Drivers/Cron/Scheduler.php +++ b/src/Indatus/Dispatcher/Drivers/Cron/Scheduler.php @@ -9,6 +9,7 @@ * file that was distributed with this source co...
Changed scheduler->fortnightly to ->everyOtherWeek
Indatus_dispatcher
train
a4e6db823538c93279d28b01061a495cb892f147
diff --git a/c701port.js b/c701port.js index <HASH>..<HASH> 100644 --- a/c701port.js +++ b/c701port.js @@ -55,7 +55,7 @@ function checkData(modbus, buf) { * Simulate a modbus-RTU port using C701 UDP-to-Serial bridge */ var UdpPort = function(ip, port) { - var _tcpport = this; + var modbus = this; this.i...
remove extra reference to this in c<I> and telnet ports
yaacov_node-modbus-serial
train
e105c5b95e28104ffc8b810ad8c7fa6909d43b38
diff --git a/wrap_test.go b/wrap_test.go index <HASH>..<HASH> 100644 --- a/wrap_test.go +++ b/wrap_test.go @@ -16,12 +16,12 @@ var tests = []int{-5, 0, 5, 10, 25, 80, 120, 500} // loremIpsums contains lorem ipsum of various line-lengths and word-lengths. var loremIpsums = []string{ - "", "Lorem ipsum dolor sit am...
Move blank test line to end to avoid benchmarking a blank line.
bbrks_wrap
train
cd6d3ff49ac401f79ab6f595637911746940644b
diff --git a/lib/authorizer/auth-interface.js b/lib/authorizer/auth-interface.js index <HASH>..<HASH> 100644 --- a/lib/authorizer/auth-interface.js +++ b/lib/authorizer/auth-interface.js @@ -14,7 +14,10 @@ createAuthInterface = function (auth) { return { /** * @param {String|Array<String>} key -...
AuthInterface should allow only system params to be updated
postmanlabs_postman-runtime
train
252766fcc0ec4d38263778b1d41a3715284d294e
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -26,7 +26,6 @@ class RepositoriesController < ApplicationController # GET /repositories...
Reviwed FIXMEs and TODOs on RepositoriesController
mezuro_prezento
train
6292b2eb40c5df059d7dc126bcfe1ae94b260e7f
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -60,89 +60,6 @@ class ArgumentTest(unittest.TestCase): self.assertIsNotNone(self.arguments) -def run_unit_test(class_name=None, methodname=None, caller_globals=None, failfast=True, profile=False, quiet=False): - ...
consoleprinter Thursday <I> March <I> (week:9 day:<I>), <I>:<I>:<I>
erikdejonge_arguments
train
899ad55607c17b5ab71ea5d55de409c9cd33c01d
diff --git a/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetExportDatabase.java b/server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetExportDatabase.java index <HASH>..<HASH> 100644 --- a/server/src/main...
Minor: ignored socket exception after backup via HTTP REST
orientechnologies_orientdb
train
608d597dce5e4176f7651975083eba8f554d2976
diff --git a/gir_ffi-gtk.gemspec b/gir_ffi-gtk.gemspec index <HASH>..<HASH> 100644 --- a/gir_ffi-gtk.gemspec +++ b/gir_ffi-gtk.gemspec @@ -13,10 +13,10 @@ Gem::Specification.new do |s| s.files = Dir['{lib,test,tasks,examples}/**/*', "*.md", "Rakefile", "COPYING.LIB"] & `git ls-files -z`.split("\0") s.test_files =...
Update dependency on gir_ffi Due to the removal of some deprecated methods, this requires some updates in the code.
mvz_gir_ffi-gtk
train
27cabedd0914d5817a306348627d9bba5bf0ec6c
diff --git a/lang/fr/moodle.php b/lang/fr/moodle.php index <HASH>..<HASH> 100644 --- a/lang/fr/moodle.php +++ b/lang/fr/moodle.php @@ -830,7 +830,7 @@ $string['noreplybouncesubject'] = '$a - message de rebond.'; $string['noresults'] = 'Aucun r�sultat'; $string['normal'] = 'Normale'; $string['normalfilter'] = 'Moins ...
Better message for no data for stats - now we have statscatchup mode we don't need to know about waiting a week
moodle_moodle
train
2461edeae4a6cefc4e521d7aed8f4b62e85a763b
diff --git a/skflow/__init__.py b/skflow/__init__.py index <HASH>..<HASH> 100644 --- a/skflow/__init__.py +++ b/skflow/__init__.py @@ -432,16 +432,19 @@ class TensorFlowDNNClassifier(TensorFlowEstimator, ClassifierMixin): steps=50, optimizer="SGD", learning_rate=0.1, tf_random_seed=4...
Ref #<I>: Factored out model_fn for DNNs into a method of the class which will be called only fit() and use hidden_units at that time
tensorflow_skflow
train
08ca3db584f20675c599deb0baa2e5559e008932
diff --git a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java b/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java +++ b/core/sr...
Issue #<I> was partially fixed (without tests).
orientechnologies_orientdb
train
a7f330e7285199e965ebbc90796b7e72c0369e13
diff --git a/lib/js-yaml/dumper.js b/lib/js-yaml/dumper.js index <HASH>..<HASH> 100644 --- a/lib/js-yaml/dumper.js +++ b/lib/js-yaml/dumper.js @@ -333,7 +333,8 @@ function writeBlockMapping(state, level, object, compact) { continue; // Skip this pair because of invalid key. } - explicitPair = (null !==...
[dumper] Fix detection of explicit key notation in block mappings.
nodeca_js-yaml
train
fdee433673e2427e0f4fc4d4ae632d5ec0aa5289
diff --git a/lib/scss_lint/engine.rb b/lib/scss_lint/engine.rb index <HASH>..<HASH> 100644 --- a/lib/scss_lint/engine.rb +++ b/lib/scss_lint/engine.rb @@ -20,11 +20,11 @@ module SCSSLint @contents = scss_or_filename end - @lines = @contents.lines + @lines = @contents.lines.to_a # Need `to_a`...
Fix broken specs for Ruby <I> Commit ecd4fcf introduced a change that broke the specs for <I>. The solution was to add a `.to_a` to the call to `lines` so that an array is always returned. Change-Id: I<I>d<I>d<I>e<I>b7f<I>ebb<I>e<I>b<I>f<I> Reviewed-on: <URL>
sds_scss-lint
train
d35cb0a1685506bcaba62e03726399158b01f86b
diff --git a/dev/io.openliberty.io.smallrye.config/src/io/openliberty/microprofile/config/internal/extension/OLSmallRyeConfigBuilder.java b/dev/io.openliberty.io.smallrye.config/src/io/openliberty/microprofile/config/internal/extension/OLSmallRyeConfigBuilder.java index <HASH>..<HASH> 100644 --- a/dev/io.openliberty.io...
Add @FFDCIgnore(Throwable.class) because try-with-resources block adds implicit catch(Throwable) which we want to ignore
OpenLiberty_open-liberty
train
20c0b642cdff064ee3dc2a1d2ad169fccf5c19a1
diff --git a/src/configMaker.js b/src/configMaker.js index <HASH>..<HASH> 100644 --- a/src/configMaker.js +++ b/src/configMaker.js @@ -1,4 +1,4 @@ -import { merge, set } from "lodash"; +import { get, merge, set } from "lodash"; import { camelCase } from "./helpers"; import { getInjector } from './graph'; @@ -41,16 ...
Expose di as a graph and build config. Why? All our gateways do this song and dance so I want to move it into a shared place.
globality-corp_nodule-config
train
ff7b81c4070b17365bf482ab1349a0ae24105b9b
diff --git a/pkg/proc/bininfo.go b/pkg/proc/bininfo.go index <HASH>..<HASH> 100644 --- a/pkg/proc/bininfo.go +++ b/pkg/proc/bininfo.go @@ -94,8 +94,9 @@ var ErrUnsupportedDarwinArch = errors.New("unsupported architecture - only darwi // position independant executable. var ErrCouldNotDetermineRelocation = errors.New(...
proc: better error message when we don't have debug_info (#<I>) Do not mention external debug info files when the problem might just be that the executable was stripped.
go-delve_delve
train
abfaf8fdd33e913bbe97e1fc6b8d66624c6c152d
diff --git a/src/foremast/awslambda/awslambda.py b/src/foremast/awslambda/awslambda.py index <HASH>..<HASH> 100644 --- a/src/foremast/awslambda/awslambda.py +++ b/src/foremast/awslambda/awslambda.py @@ -115,7 +115,9 @@ class LambdaFunction(object): except boto3.exceptions.botocore.exceptions.ClientError: ...
feat: Log out Lambda Function Role ARN
foremast_foremast
train
52f77af76fc5bed41b5ec9be2b7b9500738e484f
diff --git a/api/support/src/main/java/org/powermock/api/support/DeepCloner.java b/api/support/src/main/java/org/powermock/api/support/DeepCloner.java index <HASH>..<HASH> 100644 --- a/api/support/src/main/java/org/powermock/api/support/DeepCloner.java +++ b/api/support/src/main/java/org/powermock/api/support/DeepClone...
Only clone arrays if source is not class
powermock_powermock
train
1560772e9ec9d06a9762a9115803b67b7b2292ab
diff --git a/lib/aptly/connection.rb b/lib/aptly/connection.rb index <HASH>..<HASH> 100644 --- a/lib/aptly/connection.rb +++ b/lib/aptly/connection.rb @@ -86,9 +86,16 @@ module Aptly end def run_getish(action, path, kwords) + body = kwords.delete(:body) params = kwords.delete(:query) head...
allow connection to post a body if one is present even for getish actions delete calls can have bodies specifying what is to be deleted :S
KDEJewellers_aptly-api
train
7a54d937b08924c401963f5641ff69ac05542bd5
diff --git a/hangups/channel.py b/hangups/channel.py index <HASH>..<HASH> 100644 --- a/hangups/channel.py +++ b/hangups/channel.py @@ -151,6 +151,8 @@ class Channel(object): # True if the channel is currently connected: self._is_connected = False + # True if the channel has been subscribed: +...
Delay channel subscription until data is received This should fix a race condition causing the client to sometimes never receive any events.
tdryer_hangups
train
ba504c99928290d6cb8e8a41633e12e9b1cd7afe
diff --git a/lib/backburner.js b/lib/backburner.js index <HASH>..<HASH> 100644 --- a/lib/backburner.js +++ b/lib/backburner.js @@ -39,9 +39,6 @@ export default function Backburner(queueNames, options) { }; } -// ms of delay before we conclude a timeout was lost -var TIMEOUT_STALLED_THRESHOLD = 1000; - Backburner...
Remove dead code used for dropping stalled timeouts
BackburnerJS_backburner.js
train
145f70a3ba55265730f6db2c73b9d4131072318e
diff --git a/src/main/java/com/codeborne/selenide/impl/JavaScript.java b/src/main/java/com/codeborne/selenide/impl/JavaScript.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/impl/JavaScript.java +++ b/src/main/java/com/codeborne/selenide/impl/JavaScript.java @@ -20,7 +20,7 @@ public class Ja...
#<I> reuse JavaScript class in ByShadow + simplify passing various number of arguments from Java to JS code
selenide_selenide
train
f056f2e2cb32d7b3beab6bade1bd84fa7c55e72a
diff --git a/nece/managers.py b/nece/managers.py index <HASH>..<HASH> 100644 --- a/nece/managers.py +++ b/nece/managers.py @@ -1,66 +1,15 @@ from django.db import models -from django.db.models.query import (BaseIterable, - get_related_populators, - ...
TranlationModelIterable simplified
tatterdemalion_django-nece
train
92847b9fa55a03f47fbeddabdc0359b00c36b815
diff --git a/container/controller.go b/container/controller.go index <HASH>..<HASH> 100644 --- a/container/controller.go +++ b/container/controller.go @@ -630,6 +630,7 @@ func (c *Controller) Run() (err error) { return nil } defer client.Close() + c.Close() var unused int client.LogHealthCheck(domain.HealthC...
restart watch of endpoint when node goes away
control-center_serviced
train
9fc2d12abc551a649b798b21b91acf2f77a0f0f8
diff --git a/sample/jazz.js b/sample/jazz.js index <HASH>..<HASH> 100644 --- a/sample/jazz.js +++ b/sample/jazz.js @@ -183,6 +183,41 @@ var mostCommonGeneratedSequences = function (start, end, count) { console.log(counts); }; +var findSongsWithSequence = function (sequence) { + return _.compact(_.map(parseSample...
Added findSongsWithSequence(), countInstancesOfSequence(), and getNGramProbability() to sample/jazz.js
jsrmath_sharp11
train
28479844b47d4935cacf24019c951a1eebf0ed0d
diff --git a/lib/nugrant/vagrant/v2/config/user.rb b/lib/nugrant/vagrant/v2/config/user.rb index <HASH>..<HASH> 100644 --- a/lib/nugrant/vagrant/v2/config/user.rb +++ b/lib/nugrant/vagrant/v2/config/user.rb @@ -14,6 +14,15 @@ module Nugrant end include Mixin::Parameters + + def method_m...
Fixed Vagrant User implementation * We must warp mixin method_missing implementation within a rescue block so KeyError are properly converted to Vagrant exceptions.
maoueh_nugrant
train
4fce58449b1c9fb1f5cce1ac6faa81fca85d6c6d
diff --git a/lib/dai-plugin-mcd/src/ManagedCdp.js b/lib/dai-plugin-mcd/src/ManagedCdp.js index <HASH>..<HASH> 100644 --- a/lib/dai-plugin-mcd/src/ManagedCdp.js +++ b/lib/dai-plugin-mcd/src/ManagedCdp.js @@ -96,6 +96,10 @@ export default class ManagedCdp { return dai.gte(0) ? dai : MDAI(0); } + async getUrn()...
add getUrn to ManagedCdp
makerdao_dai.js
train
9ee53e90374a2253624b2d97860d928fde6c81c0
diff --git a/core/src/com/google/inject/internal/Initializer.java b/core/src/com/google/inject/internal/Initializer.java index <HASH>..<HASH> 100644 --- a/core/src/com/google/inject/internal/Initializer.java +++ b/core/src/com/google/inject/internal/Initializer.java @@ -159,7 +159,7 @@ final class Initializer { ...
Defer building of error messages for Preconditions.check(State|NotNull|Argument) calls. Revision created by MOE tool push_codebase. MOE_MIGRATION=<I>
google_guice
train
77ab9e82114d0a9cf79731ea9f690f8429f3a0bd
diff --git a/sample_project/media/js/file-picker.js b/sample_project/media/js/file-picker.js index <HASH>..<HASH> 100644 --- a/sample_project/media/js/file-picker.js +++ b/sample_project/media/js/file-picker.js @@ -71,7 +71,7 @@ 'id': 'uploadfiles', }); pane.append...
Fixed double form problems, need to get Submit working
caktus_django-file-picker
train
a674f94ddd0bbfa70541bf6eceac437c6478faaa
diff --git a/boil/version.py b/boil/version.py index <HASH>..<HASH> 100644 --- a/boil/version.py +++ b/boil/version.py @@ -79,7 +79,7 @@ def getVersion(): """ try: - ver = callGit(['describe', '--abbrev=3', '--match=v*']) + ver = callGit(['describe', '--tags', '--abbrev=3', '--match=v*']) ...
allowed basic tags to act as version tags
kcolford_txt2boil
train
3a8cf8d618d25c9ef43907ea30493aa3cb879508
diff --git a/cr8/aio.py b/cr8/aio.py index <HASH>..<HASH> 100644 --- a/cr8/aio.py +++ b/cr8/aio.py @@ -13,12 +13,15 @@ async def map_async(q, corof, iterable): task = asyncio.ensure_future(corof(*i)) await q.put(task) await q.join() + await q.put(None) async def consume(q): with tqdm...
json2insert: Let consumer stop graceful instead of using cancel
mfussenegger_cr8
train
8c5df63086a617bc4a807b4916000391948145b0
diff --git a/src/zepto.js b/src/zepto.js index <HASH>..<HASH> 100644 --- a/src/zepto.js +++ b/src/zepto.js @@ -144,12 +144,10 @@ var Zepto = (function() { if (!selector.call(this,idx)) nodes.push(this); }); else { - var ignores = slice.call( - typeof selector == 'string' ? - ...
improve NodeList detection in not() A NodeList is detected by having a `length` property and an `items()` method. This fixes the method for Firefox, whose NodeList objects don't pass the `instanceof NodeList` test. This also optimizes the `not()` method a little by reducing the unnecessary number of cloned arrays.
madrobby_zepto
train
7d41b7a3d8d514e9a0d077a34378e208f88c56cf
diff --git a/src/services/GasEstimatorService.spec.js b/src/services/GasEstimatorService.spec.js index <HASH>..<HASH> 100644 --- a/src/services/GasEstimatorService.spec.js +++ b/src/services/GasEstimatorService.spec.js @@ -91,7 +91,9 @@ import NullLoggerService from '../loggers/NullLogger/NullLoggerService' }) ...
started work on testing for block limit max
makerdao_dai.js
train
a62a18bbbb66b557625a10f901d7df391ec8d8c8
diff --git a/syntax/printer_test.go b/syntax/printer_test.go index <HASH>..<HASH> 100644 --- a/syntax/printer_test.go +++ b/syntax/printer_test.go @@ -256,6 +256,7 @@ func TestFprintWeirdFormat(t *testing.T) { "{\n\tfoo\n\t#a\n} |\n# misplaced\nbar", "# misplaced\n{\n\tfoo\n\t#a\n} \\\n\t| bar", }, + samePr...
syntax: full test coverage for printer.go again
mvdan_sh
train
e4e2eeecc8d417cb8eaf510cac4908fa4edf9265
diff --git a/models/rasmachine/rasmachine.py b/models/rasmachine/rasmachine.py index <HASH>..<HASH> 100644 --- a/models/rasmachine/rasmachine.py +++ b/models/rasmachine/rasmachine.py @@ -259,7 +259,7 @@ if __name__ == '__main__': stats = {} print 'Preassembling model' print time.strftime('%c') - model...
Add filters to first round of RAS Machine assembly
sorgerlab_indra
train
a5f0be5f71a7b9a0e72c41d1789f85e65f298f44
diff --git a/src/main/java/com/taskadapter/redmineapi/internal/comm/redmine/RedmineAuthenticator.java b/src/main/java/com/taskadapter/redmineapi/internal/comm/redmine/RedmineAuthenticator.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/taskadapter/redmineapi/internal/comm/redmine/RedmineAuthenticator.java +++ ...
fixed basic authentication (used badly formatted headers)
taskadapter_redmine-java-api
train
dca73e6cc666d5b46b15105c5c04229c4b153be6
diff --git a/lib/puppet/pops/types/type_calculator.rb b/lib/puppet/pops/types/type_calculator.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/pops/types/type_calculator.rb +++ b/lib/puppet/pops/types/type_calculator.rb @@ -95,10 +95,6 @@ class Puppet::Pops::Types::TypeCalculator @tc_instance ||= new end - de...
(#<I>) Remove support for extract type and title from type calculator The support for 3x logic to convert catalog types to name and title array was intended for calls from within 3x logic. This was not a desired solution and the the support in the type calculator ended up being unused. This removes it. (The correspond...
puppetlabs_puppet
train
714b9d9eb5e1433ea77c91407690a37f4984d900
diff --git a/lib/pi-sys/stats/disk.rb b/lib/pi-sys/stats/disk.rb index <HASH>..<HASH> 100644 --- a/lib/pi-sys/stats/disk.rb +++ b/lib/pi-sys/stats/disk.rb @@ -13,9 +13,15 @@ module PiSys output = fetch_io if output - to_hash([KEY, :io], output, 3) do |data| - name = data[5] - {n...
Refactored how we get data for disk io This is supposed to be more reliable
joseairosa_pi-sys
train
c2e14070e7d1ba680bb24964575548a0d798ff3a
diff --git a/test/unit/plugins/reporter/index.spec.js b/test/unit/plugins/reporter/index.spec.js index <HASH>..<HASH> 100644 --- a/test/unit/plugins/reporter/index.spec.js +++ b/test/unit/plugins/reporter/index.spec.js @@ -1,5 +1,6 @@ import Promise from 'bluebird'; import fs from 'fs'; +import mocha from 'mocha'; i...
Stubing XUnit as well (#<I>)
qlik-oss_after-work.js
train
f0dcc0c223e694a6562a9e1a9ff37f9ccf8d6ee5
diff --git a/src/Observers/AdminModelObserver.php b/src/Observers/AdminModelObserver.php index <HASH>..<HASH> 100644 --- a/src/Observers/AdminModelObserver.php +++ b/src/Observers/AdminModelObserver.php @@ -79,7 +79,9 @@ class AdminModelObserver */ public function deleted(AdminModel $model) { - $...
Check if model allows videos before deleting in AdminModelObserver
despark_ignicms
train
a09081da3acc6d2fed19426408c0014250c0ad5e
diff --git a/OpenPNM/Network/__GenericNetwork__.py b/OpenPNM/Network/__GenericNetwork__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Network/__GenericNetwork__.py +++ b/OpenPNM/Network/__GenericNetwork__.py @@ -722,7 +722,6 @@ class GenericNetwork(Core): return (p_clusters, t_clusters) - def find_neares...
renamed find_nearest_pores to find_nearby_pores and cleaned up the docstring
PMEAL_OpenPNM
train
b37f64eecb5449ea86fd490380f13148c0f297f3
diff --git a/lib/controllers/frontend/spree/checkout_controller_decorator.rb b/lib/controllers/frontend/spree/checkout_controller_decorator.rb index <HASH>..<HASH> 100644 --- a/lib/controllers/frontend/spree/checkout_controller_decorator.rb +++ b/lib/controllers/frontend/spree/checkout_controller_decorator.rb @@ -11,7 ...
Replace registration_error flash with standard error
spree_spree_auth_devise
train
ac054f135e9d63a253bd4d90b24180384a2c32f1
diff --git a/services-directions/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java b/services-directions/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection.java index <HASH>..<HASH> 100644 --- a/services-directions/src/main/java/com/mapbox/api/directions/v5/models/StepIntersection....
Add tunnel javadoc for intersection classes (#<I>)
mapbox_mapbox-java
train
f48379ed2e25e6e5fb23214fd48e522c2b4af6c1
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py index <HASH>..<HASH> 100644 --- a/mammoth/docx/body_xml.py +++ b/mammoth/docx/body_xml.py @@ -420,6 +420,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f "v:shape": read_child_elements, "v:textbox": r...
Read children of w:object elements
mwilliamson_python-mammoth
train
5678ded49d96767bbb57b47f5f7bffa2b31ac1e0
diff --git a/src/Gica/Cqrs/EventStore/Mongo/MongoEventStore.php b/src/Gica/Cqrs/EventStore/Mongo/MongoEventStore.php index <HASH>..<HASH> 100644 --- a/src/Gica/Cqrs/EventStore/Mongo/MongoEventStore.php +++ b/src/Gica/Cqrs/EventStore/Mongo/MongoEventStore.php @@ -64,7 +64,7 @@ class MongoEventStore implements \Gica\Cqrs...
adapted for cqrs-es new version
xprt64_mongolina
train
4bdf438486c114bf0471d53218ec396592a87e19
diff --git a/lib/numbers_and_words/strategies/figures_converter/options/en/pronounced.rb b/lib/numbers_and_words/strategies/figures_converter/options/en/pronounced.rb index <HASH>..<HASH> 100644 --- a/lib/numbers_and_words/strategies/figures_converter/options/en/pronounced.rb +++ b/lib/numbers_and_words/strategies/figu...
Address Code Climate Suggestions Try to further reduce the cognitive complexity. Related to: d<I>de<I>e<I>b6f4d<I>f0d0cb<I>ce<I>c4d<I>a
kslazarev_numbers_and_words
train
337f8ae227c46629d555eb28fae3ac8ade35ef94
diff --git a/src/Table/Plugins/DeleteConstrainer.php b/src/Table/Plugins/DeleteConstrainer.php index <HASH>..<HASH> 100644 --- a/src/Table/Plugins/DeleteConstrainer.php +++ b/src/Table/Plugins/DeleteConstrainer.php @@ -32,6 +32,8 @@ class DeleteConstrainer implements Plugin { /** * @inheritDoc + * @throws \Inva...
Skip insert many test on PHP <I>
iron-bound-designs_IronBound-DB
train
30fb4fbe89437597cf9cec9b7b4b599cdaf72dae
diff --git a/karma.conf.js b/karma.conf.js index <HASH>..<HASH> 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -44,7 +44,7 @@ module.exports = (config) => { 'test/GenomePositionSearchBoxTest.js', 'test/HeatmapTests.js', 'test/HiGlassComponentCreationTests.js', - 'test/HiGlassComponent/*.js'...
Turn off higlasscomponent tests (#<I>)
higlass_higlass
train
558d614d000d7f33449da7fe562bd0db349e4004
diff --git a/examples/terasort.py b/examples/terasort.py index <HASH>..<HASH> 100644 --- a/examples/terasort.py +++ b/examples/terasort.py @@ -24,7 +24,6 @@ DEFAULT_TERASORT_IN = '/tmp/terasort-in' DEFAULT_TERASORT_OUT = '/tmp/terasort-out' -@luigi.expose class TeraGen(luigi.hadoop_jar.HadoopJarJobTask): """...
Fix hadoop_jar arg handling. * HadoopJar was only doing Target-> path coercion if atomic output was enabled. This fixes it to always do it.
spotify_luigi
train
b6508fa0c2677904e6a3850500741f8d8bc57c86
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ exports.sync = function (store, router, options) { var moduleName = (options || {}).moduleName || 'route' store.registerModule(moduleName, { - state: {}, + state: cloneRoute(router.currentRoute), ...
iniitialize state using router current route as sync
vuejs_vuex-router-sync
train
fa9f6aefc3b80a0eb123d85c0cfebb21a657cf8d
diff --git a/sysfs/digital_pin.go b/sysfs/digital_pin.go index <HASH>..<HASH> 100644 --- a/sysfs/digital_pin.go +++ b/sysfs/digital_pin.go @@ -57,7 +57,7 @@ func NewDigitalPin(pin int, v ...string) DigitalPin { return d } -var notExportedError = errors.New("pin has not been exported") +var errNotExported = errors....
sysfs: some additional cleanup suggested by golint
hybridgroup_gobot
train
ac5d090b1776d9091e898a943d033c0c4333d80a
diff --git a/tests/ignite/distributed/test_auto.py b/tests/ignite/distributed/test_auto.py index <HASH>..<HASH> 100644 --- a/tests/ignite/distributed/test_auto.py +++ b/tests/ignite/distributed/test_auto.py @@ -5,13 +5,37 @@ import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import ...
cov: add tests for auto.py (#<I>) * cov: add tests for auto.py * fix test * add tests for sync_bn not working on cpu
pytorch_ignite
train
b25586ab0d351312fee5bec9661a0aab0c788c2a
diff --git a/helios-services/src/main/java/com/spotify/helios/agent/HealthCheckerFactory.java b/helios-services/src/main/java/com/spotify/helios/agent/HealthCheckerFactory.java index <HASH>..<HASH> 100644 --- a/helios-services/src/main/java/com/spotify/helios/agent/HealthCheckerFactory.java +++ b/helios-services/src/ma...
Handle docker-client issue with exec healthcheck Exec healthcheck doesn't function properly in circumstances that lead to docker-client issue #<I>. However the code that triggers the exception is not crucial, so the healthcheck doesn't need to be interrupted. See <URL>
spotify_helios
train
eb5d9e27f16cb74d90f5e18420e94610f1197457
diff --git a/test/index.js b/test/index.js index <HASH>..<HASH> 100644 --- a/test/index.js +++ b/test/index.js @@ -234,6 +234,21 @@ describe('observed', function(){ assert.strictEqual(true, change.oldValue); }, done)); }) + + it('continues listening to changed objects', function(done){ + ...
Added testcase for Changing object values. More tests for changing array values are needed.
aheckmann_observed
train
874946ab6f560f4f0184a5fcf8b3341bae6d1d22
diff --git a/bdbag/fetch/transports/fetch_globus.py b/bdbag/fetch/transports/fetch_globus.py index <HASH>..<HASH> 100644 --- a/bdbag/fetch/transports/fetch_globus.py +++ b/bdbag/fetch/transports/fetch_globus.py @@ -6,7 +6,7 @@ import json import requests import bdbag import bdbag.fetch.auth.keychain as keychain -fro...
Updating to use the Globus SDK.
fair-research_bdbag
train
170dee568bd5882fff8dfae0ff10f35796fc7b57
diff --git a/tests/test.py b/tests/test.py index <HASH>..<HASH> 100644 --- a/tests/test.py +++ b/tests/test.py @@ -1,7 +1,6 @@ #!/usr/bin/env python import unittest -import urllib from you_get.extractors import ( imgur, @@ -33,23 +32,12 @@ class YouGetTests(unittest.TestCase): ) def test_bil...
Remove retry for testing bilibili
soimort_you-get
train
9d1ae52d07dae066f6fb1a7492a366fc53e6d182
diff --git a/core/src/main/java/net/time4j/format/CalendarText.java b/core/src/main/java/net/time4j/format/CalendarText.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/time4j/format/CalendarText.java +++ b/core/src/main/java/net/time4j/format/CalendarText.java @@ -130,7 +130,7 @@ public final class Calend...
short quarter names are identical to abbreviations
MenoData_Time4J
train
98d59ac3ad82ce90214ad3e4ed176aa77d2440c1
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def readme(): return f.read() -version = '0.4.1' +version = '0.4.1f' setup(name='django-backupdb',
Update setup.py fix version number.
fusionbox_django-backupdb
train
1171ff2885fba2efe268158cd1e2dfa5d17a1533
diff --git a/tests/java/src/test/java/OneTest.java b/tests/java/src/test/java/OneTest.java index <HASH>..<HASH> 100644 --- a/tests/java/src/test/java/OneTest.java +++ b/tests/java/src/test/java/OneTest.java @@ -197,6 +197,25 @@ public class OneTest { } @Test + public void testCharArray() throws IOException { + c...
Added a testJapan function in Java tests This will write a string with wide characters ("state of Japan" copied to Wikipedia), ensuring this is loaded correctly. Also added a testCharArray() that mimics the writing of what is excepted by test_char_array().
tcalmant_python-javaobj
train
fc74eee1626b522dc81dff291dddf4acad8c0b59
diff --git a/jboss-service/src/main/java/com/icegreen/greenmail/jboss/GreenMailService.java b/jboss-service/src/main/java/com/icegreen/greenmail/jboss/GreenMailService.java index <HASH>..<HASH> 100644 --- a/jboss-service/src/main/java/com/icegreen/greenmail/jboss/GreenMailService.java +++ b/jboss-service/src/main/java/...
Added support for listing mails.
greenmail-mail-test_greenmail
train
b9ec69b817b242ba29c11cc8c63f32dfbd67f194
diff --git a/src/phpDocumentor/Plugin/Scrybe/Converter/RestructuredText/Directives/Toctree.php b/src/phpDocumentor/Plugin/Scrybe/Converter/RestructuredText/Directives/Toctree.php index <HASH>..<HASH> 100644 --- a/src/phpDocumentor/Plugin/Scrybe/Converter/RestructuredText/Directives/Toctree.php +++ b/src/phpDocumentor/P...
Fix issue where input was not properly escaped
phpDocumentor_phpDocumentor2
train
d92882ae25cafa5109d5b50db903b36abe761805
diff --git a/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java b/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java index <HASH>..<HASH> 100644 --- a/servlet/src/main/java/io/undertow/servlet/spec/HttpServletRequestImpl.java +++ b/servlet/src/main/java/io/undertow/servle...
UNDERTOW-<I> setAttribute does not treat a null value as a call to remove
undertow-io_undertow
train
e1980516c85e8f58b93ffbebaf227c0ddefe28e0
diff --git a/lib/y2r/ast/ruby.rb b/lib/y2r/ast/ruby.rb index <HASH>..<HASH> 100644 --- a/lib/y2r/ast/ruby.rb +++ b/lib/y2r/ast/ruby.rb @@ -107,7 +107,7 @@ module Y2R parts << "# encoding: utf-8" if comment parts << "" - parts << "# #{comment}" + parts <...
Y2R::AST::Ruby::Program: Handle multi-line comments
yast_y2r
train
607516cff4d584de00bc733b2ae593857b5f8ebc
diff --git a/bumpy.py b/bumpy.py index <HASH>..<HASH> 100644 --- a/bumpy.py +++ b/bumpy.py @@ -268,6 +268,7 @@ def attributes(*attrs): Attributes include default, setup, teardown, options, private, method, and generic.''' def wrapper(func): + func = task(func) if 'default' in attrs: default(func) if 'setup...
Fix bug: attributes decorator never converted to task
scizzorz_bumpy
train
a6a397b21ce9306307c7614b671de63d74d8141e
diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indirection.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/indirector/indirection.rb +++ b/lib/puppet/indirector/indirection.rb @@ -225,14 +225,14 @@ class Puppet::Indirector::Indirection request = request(:destroy, key, *args) ...
The 'destroy' method in the indirection now returns the results of destroying, so they can return true or false.
puppetlabs_puppet
train
2c6aceb39c106388bee9fcaf45c50ca745a404ef
diff --git a/demo/www/index.php b/demo/www/index.php index <HASH>..<HASH> 100644 --- a/demo/www/index.php +++ b/demo/www/index.php @@ -2,12 +2,18 @@ /* vim: set noexpandtab tabstop=4 shiftwidth=4 foldmethod=marker: */ +/* + * PackageConfig is a silverorange package used for configuring our internal + * development...
Add recaptcha package to swat demo index.php and add a multiline comment explaining the use of package config in the demo. svn commit r<I>
silverorange_swat
train
9b12344c3ee6c4a46ff61c9fcb74ae3f8bda62e1
diff --git a/jade_lex.go b/jade_lex.go index <HASH>..<HASH> 100644 --- a/jade_lex.go +++ b/jade_lex.go @@ -382,26 +382,32 @@ func lexLongText(l *lexer) stateFn { return lexIndents } - func lexSpace(l *lexer) int { var ident int Loop: for { - switch l.next() { - case ' ': + switch r := l.next(); { + case ...
fix empty lines in lexLongText
Joker_jade
train
ae48865a89ad9cda235c0319b406d641d5169fd6
diff --git a/test/runtime/specs/juttle-test-utils.js b/test/runtime/specs/juttle-test-utils.js index <HASH>..<HASH> 100644 --- a/test/runtime/specs/juttle-test-utils.js +++ b/test/runtime/specs/juttle-test-utils.js @@ -13,6 +13,7 @@ var expect = require('chai').expect; var JuttleLogger = require('../../../lib/logger')...
juttle-test-utils: add utilities for testing adapters Add a configureAdapter wrapper so the adapters don't have to reach directly into the runtime. Also add a withAdapterAPI function that runs the passed in callback with the JuttleAdapterAPI present in the global scope.
juttle_juttle
train
064a63223906894f78f6fdcb95b98f6dc774c775
diff --git a/governator-api/src/main/java/com/netflix/governator/event/ApplicationEvent.java b/governator-api/src/main/java/com/netflix/governator/event/ApplicationEvent.java index <HASH>..<HASH> 100644 --- a/governator-api/src/main/java/com/netflix/governator/event/ApplicationEvent.java +++ b/governator-api/src/main/j...
make dispatcher eagerSingleton polish javadoc and exception handling
Netflix_governator
train
4064cfb3cbb38f60638fa3da87f64d00194195f6
diff --git a/test/daobase_tests.js b/test/daobase_tests.js index <HASH>..<HASH> 100644 --- a/test/daobase_tests.js +++ b/test/daobase_tests.js @@ -51,7 +51,7 @@ contract('DaoBase', (accounts) => { await store.addGroupMember(KECCAK256("Employees"), creator); await store.allowActionByAddress(KECCAK256("manageGroups...
refactoring version <I>
Thetta_Thetta-DAO-Framework
train
0d738da163363a5f7bd22aa66f84627730ad0b5d
diff --git a/plugins/Actions/Archiver.php b/plugins/Actions/Archiver.php index <HASH>..<HASH> 100644 --- a/plugins/Actions/Archiver.php +++ b/plugins/Actions/Archiver.php @@ -466,7 +466,7 @@ class Archiver extends \Piwik\Plugin\Archiver $this->deleteUnusedColumnsFromKeywordsDataTable($dataTable); $thi...
Refs #<I> Count all Site search requests rather than deduping the unique requests
matomo-org_matomo
train
6839eb58910d521f57372781da2726c4fde07111
diff --git a/invoice/src/main/java/com/ning/billing/invoice/generator/BillingIntervalDetail.java b/invoice/src/main/java/com/ning/billing/invoice/generator/BillingIntervalDetail.java index <HASH>..<HASH> 100644 --- a/invoice/src/main/java/com/ning/billing/invoice/generator/BillingIntervalDetail.java +++ b/invoice/src/m...
Fix a bug in calculation of firstBillingCycleDay. Add unit tests of that method to verify through various case scenarios that it computes the right date.
killbill_killbill
train
f935bb767cf61f353e1c25c53537fce650b68165
diff --git a/src/method/type.js b/src/method/type.js index <HASH>..<HASH> 100644 --- a/src/method/type.js +++ b/src/method/type.js @@ -1,4 +1,13 @@ d3plus.method.type = { + "accepted": [ "bubbles" + , "chart" + , "geo_map" + , "line" + , "network" + , "...
added accepted visualizations to .type() method
alexandersimoes_d3plus
train
91e422bd033d467f23c2778f0398b8f0eef5e81b
diff --git a/lib/dicom/anonymizer.rb b/lib/dicom/anonymizer.rb index <HASH>..<HASH> 100644 --- a/lib/dicom/anonymizer.rb +++ b/lib/dicom/anonymizer.rb @@ -116,6 +116,22 @@ module DICOM set_defaults end + # Checks for equality. + # + # Other and self are considered equivalent if they are + # of...
Added Anonymizer equality and state methods
dicom_ruby-dicom
train
1d7449e30a21798b7867513b5653bc79236e80b8
diff --git a/lib/mobvious/strategies/mobileesp.rb b/lib/mobvious/strategies/mobileesp.rb index <HASH>..<HASH> 100644 --- a/lib/mobvious/strategies/mobileesp.rb +++ b/lib/mobvious/strategies/mobileesp.rb @@ -35,7 +35,7 @@ module Mobvious # @param request [Rack::Request] # @return [Symbol] device type or ni...
mobileesp strategy gets HTTP_ACCEPT correctly
jistr_mobvious
train
dceebed47710fff0f1afa5a720b2b29cc622b57b
diff --git a/spec/spec-i18n/parser/natural_language_spec.rb b/spec/spec-i18n/parser/natural_language_spec.rb index <HASH>..<HASH> 100644 --- a/spec/spec-i18n/parser/natural_language_spec.rb +++ b/spec/spec-i18n/parser/natural_language_spec.rb @@ -118,13 +118,18 @@ module SpecI18n context 'of example subject keyw...
Terminate specs for subject keywords in Parser::NaturalLanguage
tomas-stefano_rspec-i18n
train
48252ac42604ec7003621d8e1b30dce00772c1c5
diff --git a/_config/config.yml b/_config/config.yml index <HASH>..<HASH> 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -55,9 +55,6 @@ UserDefinedForm: UserForm: extensions: - BasisUserFormSpamProtectionExtension -Form: - extensions: - - BasisFormProtectionExtension BasisFormProtectionExtens...
remove(Form): Remove extension on 'Form', add commenting and example use, remove doubled up logic in BasicSpamProtectionForm
symbiote_silverstripe-seed
train