hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
b3ecfc0142c41f88052f2713d724b2926b3a166d
diff --git a/core/src/main/java/net/time4j/engine/Temporal.java b/core/src/main/java/net/time4j/engine/Temporal.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/time4j/engine/Temporal.java +++ b/core/src/main/java/net/time4j/engine/Temporal.java @@ -1,6 +1,6 @@ /* * -------------------------------------...
new comparison methods in Temporal see issue #<I>
MenoData_Time4J
train
47a065df31a6058d62dd8f5b966d4f2a77281da8
diff --git a/entry.go b/entry.go index <HASH>..<HASH> 100644 --- a/entry.go +++ b/entry.go @@ -314,10 +314,15 @@ func (e *Entry) UnmarshalJSON(data []byte) error { } for _, v := range j.ExtIDs { - e.ExtIDs = append(e.ExtIDs, []byte(v)) + if p, err := hex.DecodeString(v); err != nil { + break + } else { + e...
added hex decoding to Entry.UnmarshalJSON
FactomProject_factom
train
1e4c8788c4060fd11134f656637f83290d1c5724
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ * [#8480](https://github.com/rubocop-hq/rubocop/issues/8480): Tweak callback list of `Lint/MissingSuper`. ([@marcandre][]) * [#8481](https://github.com/rubocop-hq/rubocop/pull/8481): Fix autoc...
Recognise < > as comparison operators in cond assign
rubocop-hq_rubocop
train
92f5b75bb9dc0e7b823c4f38bd08d4787c81b364
diff --git a/AUTHORS b/AUTHORS index <HASH>..<HASH> 100644 --- a/AUTHORS +++ b/AUTHORS @@ -0,0 +1,5 @@ +Patrick Altman +Brian Rosner +Anna Ossowski +Seyi Ogunyemi +Graham Ullrich diff --git a/pcli.py b/pcli.py index <HASH>..<HASH> 100644 --- a/pcli.py +++ b/pcli.py @@ -11,6 +11,7 @@ import requests class Config(object...
Add "apps", "themes", "demos" commands Reference `distributions.json` to obtain the latest distribution data, then display the desired section from these three choices: "apps", "themes", "demos". Resolves #<I>
pinax_pinax-cli
train
553f827386201a15c095c0451b2bde9a4aa28e85
diff --git a/closure/goog/events/browserevent.js b/closure/goog/events/browserevent.js index <HASH>..<HASH> 100644 --- a/closure/goog/events/browserevent.js +++ b/closure/goog/events/browserevent.js @@ -218,7 +218,7 @@ goog.events.BrowserEvent.prototype.state; /** * Whether the default platform modifier key was pr...
Fix typo in comment ------------- Created by MOE: <URL>
google_closure-library
train
0ca7964dc132fc745d3c1c15148e95dd39de7625
diff --git a/tools/vis.py b/tools/vis.py index <HASH>..<HASH> 100755 --- a/tools/vis.py +++ b/tools/vis.py @@ -43,16 +43,16 @@ SELECT ma_instances.instanceId AS id, DATE(ma_initiators.tsEvent) as time FROM ma_instances, ma_initiators WHERE ma_instances.instanceId = ma_initiators.instanceId - AND ma_insta...
Use % instead of string.format() for python <I> safety Use floating point math to calculate graph size to avoid <I>-pixel granularity Remove 2-column specification for legend to avoid bug in some matplotlib versions (really nshectman)
VoltDB_voltdb
train
6bef32e428e953a93b7bd0f0b4823efc09d5e22b
diff --git a/lib/responders/flash_responder.rb b/lib/responders/flash_responder.rb index <HASH>..<HASH> 100644 --- a/lib/responders/flash_responder.rb +++ b/lib/responders/flash_responder.rb @@ -94,7 +94,7 @@ module Responders @flash = options.delete(:flash) @notice = options.delete(:notice) ...
Set default of flash_now to :on_failure Since the usual pattern is that a page gets rerendered after failure, the proper behavior would be to set the flash directly, so that it doesn't stick around if you give up and leave the page.
plataformatec_responders
train
f6980cee254c565fd47dc800f566e5c47836681f
diff --git a/lib/db/mysql.js b/lib/db/mysql.js index <HASH>..<HASH> 100644 --- a/lib/db/mysql.js +++ b/lib/db/mysql.js @@ -41,6 +41,18 @@ MySQL.prototype = { fn(null, result.insertId); }); }, + setBinUser: function (params, fn) { + var sql = templates.setBinForUser, + values = [params.name, pa...
Created bins are now assigned to user account when logged in
jsbin_jsbin
train
49df731adffe84cc3cca95dcccf129ae8d4b5d3e
diff --git a/lib/broccoli/fastboot-build.js b/lib/broccoli/fastboot-build.js index <HASH>..<HASH> 100644 --- a/lib/broccoli/fastboot-build.js +++ b/lib/broccoli/fastboot-build.js @@ -58,7 +58,7 @@ FastBootBuild.prototype.toTree = function() { var fastbootTree = new Funnel(emberApp, { srcDir: 'assets', dest...
include json files in glob
ember-fastboot_ember-cli-fastboot
train
8b089d236e932429931f16b28585074855fde174
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -8,27 +8,63 @@ var AUTH_BASE_URL = 'https://www.dropbox.com/oauth2/authorize'; // Polyfill Object.assign() for older browsers require('./object-assign-polyfill'); +/** + * @class Dropbox + * @classdesc The ...
Add jsdoc comments to main class
dropbox_dropbox-sdk-js
train
d62a32836bff0bd2f54c6654329af8fbf31b340a
diff --git a/src/sagemaker/estimator.py b/src/sagemaker/estimator.py index <HASH>..<HASH> 100644 --- a/src/sagemaker/estimator.py +++ b/src/sagemaker/estimator.py @@ -753,10 +753,10 @@ class EstimatorBase(with_metaclass(ABCMeta, object)): has_hps = "HyperParameters" in job_details init_params["hyperpa...
fix: fix HyperparameterTuner.attach for Marketplace algorithms (#<I>) The AlgorithmSpecification for a training job that is part of a hyperparameter tuning job will have TrainingImage set to "", rather than not being present in the training job description. Looking for AlgorithmName first, instead of TrainingImage,...
aws_sagemaker-python-sdk
train
12b00c108408a98bfe4b9a214d4c94592e1f2b54
diff --git a/django_select2/widgets.py b/django_select2/widgets.py index <HASH>..<HASH> 100644 --- a/django_select2/widgets.py +++ b/django_select2/widgets.py @@ -184,8 +184,9 @@ class Select2Mixin(object): """ options = json.dumps(self.get_options()) options = options.replace('"*START*', '')...
define hashedSelector in Select2Mixin
applegrew_django-select2
train
f7c64b8b851638f46323f8b774e17b0f25b44e3b
diff --git a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/model/impl/OBDADataFactoryImpl.java b/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/model/impl/OBDADataFactoryImpl.java index <HASH>..<HASH> 100644 --- a/obdalib/obdalib-core/src/main/java/it/unibz/krdb/obda/model/impl/OBDADataFactoryImpl.java +...
Fix bug for getting the IRI factory
ontop_ontop
train
ab3ad890a8b8ec5a1a862c660a6bd92519a88df9
diff --git a/lib/cobweb_crawler.rb b/lib/cobweb_crawler.rb index <HASH>..<HASH> 100644 --- a/lib/cobweb_crawler.rb +++ b/lib/cobweb_crawler.rb @@ -96,7 +96,7 @@ class CobwebCrawler @redis.sadd "crawled", url.to_s @redis.incr "crawl-counter" - document_links = ContentLin...
retrieve unique set of links for inbound link generation
stewartmckee_cobweb
train
3f62b9e25334fa3fd58a15eaf43f82267f94d0f5
diff --git a/Dt.php b/Dt.php index <HASH>..<HASH> 100644 --- a/Dt.php +++ b/Dt.php @@ -62,17 +62,10 @@ class Dt else $params = clone $params; - if ($params->date === null) { + if ($params->date === null) $params->date = new \DateTime(); - } - elseif (is_n...
mixed type dates processing in Dt module is now makes with Dt::_processDateTime
andre487_php_rutils
train
e423ffae08aa91bb13cf80caa508acf01d050b9e
diff --git a/lib/jsonapi/request.rb b/lib/jsonapi/request.rb index <HASH>..<HASH> 100644 --- a/lib/jsonapi/request.rb +++ b/lib/jsonapi/request.rb @@ -147,8 +147,18 @@ module JSONAPI def parse_sort_params(params) @sort_params = if params[:sort].present? - CSV.parse_line(params[:sort]).each do |sort...
Fix issue with not unformatting the keys used for sorting
cerebris_jsonapi-resources
train
3d259a78c35a317f08a9488f9ff534aeaa309f7b
diff --git a/src/article/shared/ArticleToolbarPackage.js b/src/article/shared/ArticleToolbarPackage.js index <HASH>..<HASH> 100644 --- a/src/article/shared/ArticleToolbarPackage.js +++ b/src/article/shared/ArticleToolbarPackage.js @@ -5,6 +5,17 @@ export default { configure (config) { config.addToolPanel('toolb...
Use tool swicther for mode switching.
substance_texture
train
edcbc57297b6a71b4d4ffeab861dba74ca245244
diff --git a/lib/perform_later/workers/active_record/lone_worker.rb b/lib/perform_later/workers/active_record/lone_worker.rb index <HASH>..<HASH> 100644 --- a/lib/perform_later/workers/active_record/lone_worker.rb +++ b/lib/perform_later/workers/active_record/lone_worker.rb @@ -8,9 +8,9 @@ module PerformLater ...
Change AR where with find so we can eliminate nil objects around
KensoDev_perform_later
train
4bbd71877c73fa535d60122522dd37affa3fb4b8
diff --git a/demo/actions/setTodoNewTitle.js b/demo/actions/setTodoNewTitle.js index <HASH>..<HASH> 100644 --- a/demo/actions/setTodoNewTitle.js +++ b/demo/actions/setTodoNewTitle.js @@ -1,5 +1,5 @@ let setTodoNewTitle = function (cerebral, todo, title) { - todo = cerebral.get('todos', todo.ref); + todo = cerebral.g...
Fixed demo and added error on wrong path
cerebral_cerebral
train
fc779be0badb82e94ec26a524e6a686e3488e5b7
diff --git a/lib/yard/templates/helpers/html_helper.rb b/lib/yard/templates/helpers/html_helper.rb index <HASH>..<HASH> 100644 --- a/lib/yard/templates/helpers/html_helper.rb +++ b/lib/yard/templates/helpers/html_helper.rb @@ -316,7 +316,7 @@ module YARD def html_syntax_highlight(source, type = :ruby) ...
HTML-escape text that isn't syntax highlighted due to --no-highlight.
lsegal_yard
train
14eefd83c7f00bb68b0de51c6dd9b13f46ad706d
diff --git a/templates/config/environment.js b/templates/config/environment.js index <HASH>..<HASH> 100644 --- a/templates/config/environment.js +++ b/templates/config/environment.js @@ -23,7 +23,7 @@ module.exports = function(environment) { if (environment === 'development') { ENV.apiURL = "http://localhost:17...
add ember-cli-mirage settings. Enabled by default
terminalvelocity_sails-generate-seeds-frontend
train
39bd22505b847ff305ca4a6c58b0c0a64c367e44
diff --git a/lib/chef/resource/windows_user_privilege.rb b/lib/chef/resource/windows_user_privilege.rb index <HASH>..<HASH> 100644 --- a/lib/chef/resource/windows_user_privilege.rb +++ b/lib/chef/resource/windows_user_privilege.rb @@ -1,7 +1,7 @@ # # Author:: Jared Kauppila (<jared@kauppi.la>) # Author:: Vasundhara ...
Replaced powershell_out with powershell_exec and updated data type for sensitive class
chef_chef
train
ff6265de183517c0e7c8b4a9cacf09ffde5fdc6d
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # [develop](https://github.com/benlangfeld/ruby_speech) - * Feature: Allow generation of a boolean, date, digits, currency and number grammar + * Feature: Allow generation of a boolean, date, di...
[FEATURE] Add phone and time builtin grammars
adhearsion_ruby_speech
train
c7e3d31aa4a9de2697025938d3441f0b9e64bf66
diff --git a/tests/Feature/App/Http/Controllers/Api/V1/ArticlesControllerTest.php b/tests/Feature/App/Http/Controllers/Api/V1/ArticlesControllerTest.php index <HASH>..<HASH> 100644 --- a/tests/Feature/App/Http/Controllers/Api/V1/ArticlesControllerTest.php +++ b/tests/Feature/App/Http/Controllers/Api/V1/ArticlesControll...
Update ArticlesControllerTest.php
russsiq_bixbite
train
5e796ca33b4bd83f8398f72ce9cf32f0e904b28e
diff --git a/packages/table/src/table-body.js b/packages/table/src/table-body.js index <HASH>..<HASH> 100644 --- a/packages/table/src/table-body.js +++ b/packages/table/src/table-body.js @@ -219,37 +219,29 @@ export default { }, handleContextMenu(event, row) { - const table = this.table; - const c...
Table: Add handleEvent. (#<I>)
ElemeFE_element
train
1194c2ed582e6e2102632cc46d5959d6aa1d6c1f
diff --git a/master/buildbot/data/workers.py b/master/buildbot/data/workers.py index <HASH>..<HASH> 100644 --- a/master/buildbot/data/workers.py +++ b/master/buildbot/data/workers.py @@ -127,7 +127,7 @@ class Worker(base.ResourceType): @base.updateMethod @defer.inlineCallbacks - def buildslaveDisconnecte...
rename data's Buildslave.buildslaveDisconnected() to workerDisconnected()
buildbot_buildbot
train
7716c09afd8c6b9d5033a5c1bfae58d3c663d715
diff --git a/ceph_deploy/hosts/__init__.py b/ceph_deploy/hosts/__init__.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/hosts/__init__.py +++ b/ceph_deploy/hosts/__init__.py @@ -69,6 +69,8 @@ def get(hostname, module.conn = conn module.machine_type = machine_type module.init = module.choose_init() + ...
[RM-<I>] Set packager to module top-level (Fedora only) Put the logic of selecting the appropriate packager into the hosts.get(), that way the packager is available to all module methods (like install() and uninstall()) without having to figure it out each time.
ceph_ceph-deploy
train
6c6cda0d101707a4392ec03fea5492b95cc9bf69
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "komada", - "version": "0.19.0", + "version": "0.19.1", "author": "Evelyne Lachance", "description": "Komada: Croatian for 'pieces', is a modular bot system including reload...
NPM <I> Critical Bug Fix. * Fix some functions being used before they are loaded. * Fix functions being used before they are loaded. * Update package.json * Update package.json * oop.
dirigeants_komada
train
db0f203c4441f29ab8e78611a2756d8a9cd78ad0
diff --git a/hgvs/dataproviders/seqfetcher.py b/hgvs/dataproviders/seqfetcher.py index <HASH>..<HASH> 100644 --- a/hgvs/dataproviders/seqfetcher.py +++ b/hgvs/dataproviders/seqfetcher.py @@ -49,7 +49,7 @@ class SeqFetcher(object): def fetch_seq(self, ac, start_i=None, end_i=None): try: return...
catch KeyError from SeqFetcher (API change in seqfetcher)
biocommons_hgvs
train
433b739e45f0cb8cf2f20687b21586174565884e
diff --git a/lib/hermann/consumer.rb b/lib/hermann/consumer.rb index <HASH>..<HASH> 100644 --- a/lib/hermann/consumer.rb +++ b/lib/hermann/consumer.rb @@ -7,6 +7,8 @@ else end module Hermann + # Hermann::Consumer provides a simple consumer API which is only safe to be + # executed in a single thread class Cons...
Add a small note about consumer thread-safety
reiseburo_hermann
train
4bc188aee6b5fc7fbf91884e6684d6598c29ac26
diff --git a/accumulo/src/main/java/org/vertexium/accumulo/LazyPropertyMetadata.java b/accumulo/src/main/java/org/vertexium/accumulo/LazyPropertyMetadata.java index <HASH>..<HASH> 100644 --- a/accumulo/src/main/java/org/vertexium/accumulo/LazyPropertyMetadata.java +++ b/accumulo/src/main/java/org/vertexium/accumulo/Laz...
use string concat to reduce object creation
visallo_vertexium
train
85d550dca6cff10992bf4dab6ed3037e0a6383ac
diff --git a/pipes/configs/prepare_configs.py b/pipes/configs/prepare_configs.py index <HASH>..<HASH> 100644 --- a/pipes/configs/prepare_configs.py +++ b/pipes/configs/prepare_configs.py @@ -9,7 +9,7 @@ import gitlab from .utils import get_configs -ENVS = ('dev', 'stage', 'prod', 'prodpci', 'stagepci', 'prodsox', ...
Add pci as a valid file Related: PSOBAT-<I>
foremast_foremast
train
9c79156b4ae9d29aaddf65df5d7dbca21b5516f0
diff --git a/visidata/cmdlog.py b/visidata/cmdlog.py index <HASH>..<HASH> 100644 --- a/visidata/cmdlog.py +++ b/visidata/cmdlog.py @@ -140,7 +140,6 @@ class _CommandLog: def beforeExecHook(self, sheet, cmd, args, keystrokes): if vd.activeCommand: self.afterExecSheet(sheet, False, '') - ...
[cmdlog] Revert "move activeCommand reset to beforeExecHook" This reverts commit 7b<I>e<I>c<I>b8bca2c<I>e<I>cc0f<I>b<I>f<I>b<I> until we can figure out <URL>
saulpw_visidata
train
b8365acc39e40eff53010662974df86adc4083bb
diff --git a/sdk/python/sawtooth_sdk/consensus/zmq_driver.py b/sdk/python/sawtooth_sdk/consensus/zmq_driver.py index <HASH>..<HASH> 100644 --- a/sdk/python/sawtooth_sdk/consensus/zmq_driver.py +++ b/sdk/python/sawtooth_sdk/consensus/zmq_driver.py @@ -67,7 +67,7 @@ class ZmqDriver(Driver): break ...
Increase Python ZmqDriver stream receive timeout <I> seems to be too low, and the messages never get through to the engine. There may be a more appropriate number than <I>.
hyperledger_sawtooth-core
train
3bd083f9f695155619eb5958e63eabd14debdd30
diff --git a/src/ca/eandb/util/progress/PermanentProgressMonitor.java b/src/ca/eandb/util/progress/PermanentProgressMonitor.java index <HASH>..<HASH> 100644 --- a/src/ca/eandb/util/progress/PermanentProgressMonitor.java +++ b/src/ca/eandb/util/progress/PermanentProgressMonitor.java @@ -55,14 +55,14 @@ public final clas...
Modified PermanentProgressMonitor to signal notifyProgress(<I>) and notifyIndeterminantProgress() when notifyComplete() and notifyCancelled() are called, respectively.
bwkimmel_java-util
train
2bffe20ff76c4c62dabf4ec30782a9fa7e0a26f3
diff --git a/jre_emul/android/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/MathTest.java b/jre_emul/android/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/MathTest.java index <HASH>..<HASH> 100644 --- a/jre_emul/android/libcore/harmony-tests/src/test/java/org/apache/har...
Issue <I>: merged in fix to Math.atan2() bug and an improvement to its test.
google_j2objc
train
1ab1fce5ee24ff26040992b1c19880fca1f7f186
diff --git a/phy/cluster/default_settings.py b/phy/cluster/default_settings.py index <HASH>..<HASH> 100644 --- a/phy/cluster/default_settings.py +++ b/phy/cluster/default_settings.py @@ -148,6 +148,16 @@ cluster_manual_config = [ ] +def _select_clusters(gui, args): + args = list(map(int, args.split(' '))) + ...
Snippets working.
kwikteam_phy
train
c15f49ae8ddb8ddc1a73118ecc4f19f40ca7e301
diff --git a/client/alloc_runner.go b/client/alloc_runner.go index <HASH>..<HASH> 100644 --- a/client/alloc_runner.go +++ b/client/alloc_runner.go @@ -179,22 +179,32 @@ func NewAllocRunner(logger *log.Logger, config *config.Config, stateDB *bolt.DB, // TODO Should be passed a context ar.ctx, ar.exitFn = context.Wit...
Alloc Runner doesn't panic on restoration.
hashicorp_nomad
train
acba8bd124156814ce70dd73c589de4f8d1e5adf
diff --git a/README b/README index <HASH>..<HASH> 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -PMMail and PMBounceManager objects for Postmark (http://postmarkapp.com) +PMMail and PMBounceManager objects, as well as Django email backend (postmark.django_backend.EmailBackend) for Postmark (http://postmarkapp.com) ...
Update to version <I>, add in contributors from recent pull-request merges
themartorana_python-postmark
train
2bf95d15cc57212cb0442de86118f9ef1831f3b3
diff --git a/spec/factories.rb b/spec/factories.rb index <HASH>..<HASH> 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -84,7 +84,7 @@ Factory.define :blog do |b| b.title_prefix 1 b.limit_article_display 2 b.sp_url_limit 3 - b.use_gravatar false + b.plugin_avatar '' b.blog_subtitle "test subtitl...
Fix Blog fixture to match new avatar setting.
publify_publify
train
4d7e3a6644da85cff91bf0fa153d85afa8c2d122
diff --git a/spec/fixtures/test_project/lib/test_project.rb b/spec/fixtures/test_project/lib/test_project.rb index <HASH>..<HASH> 100644 --- a/spec/fixtures/test_project/lib/test_project.rb +++ b/spec/fixtures/test_project/lib/test_project.rb @@ -21,6 +21,8 @@ end cc = Rubydoop::ConfigurationDefinition.new cc.job 'te...
Set max input split size in test project. [ci skip]
burtcorp_humboldt
train
f7f83d85315c351def6fa944105e178854ff78aa
diff --git a/modopt/opt/proximity.py b/modopt/opt/proximity.py index <HASH>..<HASH> 100644 --- a/modopt/opt/proximity.py +++ b/modopt/opt/proximity.py @@ -279,8 +279,12 @@ class LinearCompositionProx(ProximityParent): a composition between an initial function whose proximity operator is known and an orthogona...
finished documenting the linear comp prox op class
CEA-COSMIC_ModOpt
train
26f6e3246ff624a89cb8d87ac6707eeccf48169a
diff --git a/sitetree/models.py b/sitetree/models.py index <HASH>..<HASH> 100644 --- a/sitetree/models.py +++ b/sitetree/models.py @@ -125,13 +125,19 @@ class TreeItemBase(models.Model): help_text=_('Item position among other site tree items under the same parent.'), db_index=True, default=0) def save(s...
Prevent TreeItems from being their own parents. Update TreeItem's `save` method to prevent TreeItems from being set as their own parents, since this can cause problems.
idlesign_django-sitetree
train
45a00a435201c82ca77538d61f54576d1d18a10c
diff --git a/medea.js b/medea.js index <HASH>..<HASH> 100644 --- a/medea.js +++ b/medea.js @@ -56,26 +56,160 @@ var Medea = module.exports = function(options) { this.expirySecs = options.hasOwnProperty('expirySecs') ? options.expirySecs : -1; }; -Medea.prototype.open = function(dir, cb) { +Medea.prototype.open = ...
Adding lock acquisition and write lock file.
medea_medea
train
059dd8aba9574da0ca08e37faaf6c3b98e482064
diff --git a/applauncher/kernel.py b/applauncher/kernel.py index <HASH>..<HASH> 100644 --- a/applauncher/kernel.py +++ b/applauncher/kernel.py @@ -3,7 +3,7 @@ import inject import zope.event import mapped_config.loader from abc import ABCMeta, abstractmethod - +import six # This class is only used for an friendly...
Added compatibility with python 2
applauncher-team_applauncher
train
b32919dceb5ca1d955f91f96ed1464d33ee60398
diff --git a/src/main/java/com/github/underscore/$.java b/src/main/java/com/github/underscore/$.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/underscore/$.java +++ b/src/main/java/com/github/underscore/$.java @@ -941,14 +941,19 @@ public class $<T> { return (E[]) uniq(Arrays.asList(array), fu...
Add support for object and chain version of union method.
javadev_underscore-java
train
fec0545c04f3c42503f555c623ca2aab76e65e3f
diff --git a/cogen/core/reactors.py b/cogen/core/reactors.py index <HASH>..<HASH> 100644 --- a/cogen/core/reactors.py +++ b/cogen/core/reactors.py @@ -167,22 +167,23 @@ class ReactorBase(object): class SelectReactor(ReactorBase): def remove(self, op, coro): #~ print '> remove', op + fileno = op...
changed SelectReactor to use fds instead of socket refs for the internal bookkeeping
ionelmc_python-cogen
train
a91a43b5c098556c520a2c45a3e808a7bf3ce854
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -81,7 +81,7 @@ def dev_server(tmpdir, xprocess, request, monkeypatch): url_base = 'http://localhost:{0}'.format(port) def request_pid(): - for i in range(6...
Don't wait ~3min for testserver
pallets_werkzeug
train
33a7add74539116f736e894caedc1f409023e130
diff --git a/label/storage_test.go b/label/storage_test.go index <HASH>..<HASH> 100644 --- a/label/storage_test.go +++ b/label/storage_test.go @@ -221,13 +221,14 @@ func TestLabels(t *testing.T) { } if len(l) != 9 { - t.Fatalf("expected 2 labels, got: %d", len(l)) + t.Fatalf("expected 9 labels, got:...
test(label): Invalid closure capture (#<I>) Whilst working on cloud labels, I noticed that the label storage test isn't correctly capturing the testScenario. This is because t.Parallel() is in use, so only the "delete" scenario will only ever be tested. The following changes fix that, by capturing the testScenari...
influxdata_influxdb
train
a8d153023f713465006d600423394b5a67b3ac96
diff --git a/scripts/create_android_strings.js b/scripts/create_android_strings.js index <HASH>..<HASH> 100755 --- a/scripts/create_android_strings.js +++ b/scripts/create_android_strings.js @@ -126,7 +126,7 @@ function getTargetLang(context) { return new Promise(function(resolve, reject) { glob(providedTra...
Removed unecessary return of promise state
kelvinhokk_cordova-plugin-localization-strings
train
e861b296c4d6cef3afc5053dfee7e83452429d1c
diff --git a/src/can/ref/ref-test.js b/src/can/ref/ref-test.js index <HASH>..<HASH> 100644 --- a/src/can/ref/ref-test.js +++ b/src/can/ref/ref-test.js @@ -1,6 +1,6 @@ var QUnit = require("steal-qunit"); var DefineMap = require("can-define/map/"); -var DefineList = require("can-define/list/"); +//var DefineList = requ...
fixed jsHint issues for Travis
canjs_can-connect
train
87ae24a80533d3f5581ed3dde9a676faa26dea32
diff --git a/Library/ClassMethod.php b/Library/ClassMethod.php index <HASH>..<HASH> 100644 --- a/Library/ClassMethod.php +++ b/Library/ClassMethod.php @@ -1204,7 +1204,7 @@ class ClassMethod */ $codePrinter->preOutputBlankLine(); $compilationContext->headersManager->add('kernel/memory'); - if ($this->isP...
Enabling calling private methods internally via configuration setting
phalcon_zephir
train
c68f277a9ccfe65c97cb5b8fe1659ec191c859c8
diff --git a/src/era/utils/urls.py b/src/era/utils/urls.py index <HASH>..<HASH> 100644 --- a/src/era/utils/urls.py +++ b/src/era/utils/urls.py @@ -1,7 +1,7 @@ from itertools import chain from django.conf.urls import url, patterns from django.utils.module_loading import import_string -from .translation import capital...
redesign crud urls util to accept models
doctorzeb8_django-era
train
7596ec922587d34a508c45fefd69db7366ac9ef3
diff --git a/nomad/state/state_store_service_regisration_test.go b/nomad/state/state_store_service_regisration_test.go index <HASH>..<HASH> 100644 --- a/nomad/state/state_store_service_regisration_test.go +++ b/nomad/state/state_store_service_regisration_test.go @@ -523,6 +523,7 @@ func TestStateStore_GetServiceRegistr...
nomad/state: fix dropped test errors (#<I>)
hashicorp_nomad
train
21bc9c5ac0914b50cf4e252f14f89f69b9c7bef2
diff --git a/src/main/java/com/github/javactic/futures/FutureFactory.java b/src/main/java/com/github/javactic/futures/FutureFactory.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/github/javactic/futures/FutureFactory.java +++ b/src/main/java/com/github/javactic/futures/FutureFactory.java @@ -30,6 +30,8 @@ imp...
changed ForkJoinPool.commonPool() to Executors.newCachedThreadPool()
javactic_javactic
train
1ab387bec42866ae204894f1fc2f0dd7fa3a75c7
diff --git a/azkaban-common/src/main/java/azkaban/executor/ExecutableNode.java b/azkaban-common/src/main/java/azkaban/executor/ExecutableNode.java index <HASH>..<HASH> 100644 --- a/azkaban-common/src/main/java/azkaban/executor/ExecutableNode.java +++ b/azkaban-common/src/main/java/azkaban/executor/ExecutableNode.java @...
Fix NPE in ExecutableNode.fillMapFromExecutable() (#<I>) When loading some old executions (at least in order to finalize them), it's possible that the serialized flow_data doesn't include the conditionOnJobStatus at all.
azkaban_azkaban
train
79bcc03628b08de8431e2b9b282929275775bd2c
diff --git a/src/Httpful/Handlers/JsonHandler.php b/src/Httpful/Handlers/JsonHandler.php index <HASH>..<HASH> 100644 --- a/src/Httpful/Handlers/JsonHandler.php +++ b/src/Httpful/Handlers/JsonHandler.php @@ -24,7 +24,7 @@ class JsonHandler extends MimeHandlerAdapter if (empty($body)) return null; ...
Fix JSON parsing of body "null" response
nategood_httpful
train
90f4b49e91051a2f88d311bf73737ce325a973c4
diff --git a/TrainerDex.py b/TrainerDex.py index <HASH>..<HASH> 100644 --- a/TrainerDex.py +++ b/TrainerDex.py @@ -1,5 +1,6 @@ import requests import json +import datetime from collections import namedtuple Trainer = namedtuple('Trainer', [ @@ -271,7 +272,7 @@ class Requests: def getReports(self): return Non...
Added simplistic `addUpdate`
TrainerDex_TrainerDex.py
train
d007ef7ccd7bb043ef166008719675322f7a05c7
diff --git a/tests/WeiTest/AssetTest.php b/tests/WeiTest/AssetTest.php index <HASH>..<HASH> 100644 --- a/tests/WeiTest/AssetTest.php +++ b/tests/WeiTest/AssetTest.php @@ -46,4 +46,10 @@ class AssetTest extends TestCase ) ); } + + public function testGetAndSetBaseUrl() + { + ...
added test for get&set baseUrl
twinh_wei
train
d39879435c51af1b9966f9037a9962146ff1ea71
diff --git a/activesupport/test/hash_with_indifferent_access_test.rb b/activesupport/test/hash_with_indifferent_access_test.rb index <HASH>..<HASH> 100644 --- a/activesupport/test/hash_with_indifferent_access_test.rb +++ b/activesupport/test/hash_with_indifferent_access_test.rb @@ -406,6 +406,29 @@ class HashWithIndiff...
Testing to ensure both bang and non-bang methods behaves consistently Follow up of #<I>.
rails_rails
train
0bc2f30ed51bc7b6f7f3864f725b73cbb5d87dae
diff --git a/lib/roar/rails/version.rb b/lib/roar/rails/version.rb index <HASH>..<HASH> 100644 --- a/lib/roar/rails/version.rb +++ b/lib/roar/rails/version.rb @@ -1,5 +1,5 @@ module Roar module Rails - VERSION = "0.0.8" + VERSION = "0.0.9" end end
bumping to <I>.
apotonick_roar-rails
train
11f04e41986349456c2bbd51cc8ff8c38e48aba8
diff --git a/cms7/generator.py b/cms7/generator.py index <HASH>..<HASH> 100644 --- a/cms7/generator.py +++ b/cms7/generator.py @@ -1,9 +1,10 @@ from pathlib2 import PurePosixPath - import logging from jinja2 import Environment, ChoiceLoader, FileSystemLoader, ModuleLoader, StrictUndefined +from .error import CMS...
generator: return undefined for url lookup failure we can now look up the url for anything that's going to be deployed, so there's no reason to just pass through unknown names any more. we return a jinja undefined instead of just raising an exception for two reasons: it allows a template to do something like `if url_...
freenode_cms7
train
b69b3c6035821d84930c02b168ab162aeb336121
diff --git a/synapse/tests/test_model_inet.py b/synapse/tests/test_model_inet.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_model_inet.py +++ b/synapse/tests/test_model_inet.py @@ -72,6 +72,7 @@ class InetModelTest(SynTest): fqdn = 'example.Vertex.link' expected = ('example.vertex.li...
Combine old fqdn tests
vertexproject_synapse
train
9143bee5daad6def9229aa16a8fa8e348b98f949
diff --git a/src/Twilio/Rest/Video/V1/CompositionHookInstance.php b/src/Twilio/Rest/Video/V1/CompositionHookInstance.php index <HASH>..<HASH> 100644 --- a/src/Twilio/Rest/Video/V1/CompositionHookInstance.php +++ b/src/Twilio/Rest/Video/V1/CompositionHookInstance.php @@ -23,7 +23,7 @@ use Twilio\Version; * @property s...
breaking: Correct video composition date types (#<I>)
twilio_twilio-php
train
246fe60db816363e85d0200c64cf7dbec9925f29
diff --git a/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskClientConnector.java b/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskClientConnector.java index <HASH>..<HASH> 100644 --- a/jbpm-human-task/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskClientConnector....
- JBPM-<I>: HornetQ task client connector will stop working if there is an exception - manual merge from <URL>
kiegroup_jbpm
train
0a3be88f30a6d85920ee53676318a1891e6ce77e
diff --git a/Calculus.js b/Calculus.js index <HASH>..<HASH> 100644 --- a/Calculus.js +++ b/Calculus.js @@ -622,12 +622,15 @@ if((typeof module) !== 'undefined' && typeof nerdamer === 'undefined') { by_parts: function(symbol, dx, depth, o) { o.previous = o.previous || []; - ...
More Laplace Fixes to integration
jiggzson_nerdamer
train
010f2dd0f5b608ae294ad9c316f3e03401d9ad1c
diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index <HASH>..<HASH> 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -414,9 +414,9 @@ function registerValidator(e) { if (depends==n...
Fixed indentation Replaced tabs by spaces
jenkinsci_jenkins
train
4668fc87a17188dc187d55698070f9f9bef905bb
diff --git a/src/client.js b/src/client.js index <HASH>..<HASH> 100644 --- a/src/client.js +++ b/src/client.js @@ -1006,6 +1006,18 @@ function wrapCryptoFuncs(MatrixClient, names) { */ /** + * Get the user's cross-signing key. + * The cross-signing API is currently UNSTABLE and may change without notice. + * + * @...
Add cross-signing accessors and QR code stuff
matrix-org_matrix-js-sdk
train
36ecb2bb21ae98d0cbc170f2661e71d9f48675fc
diff --git a/frontend/pages/course_admin/task_edit.py b/frontend/pages/course_admin/task_edit.py index <HASH>..<HASH> 100644 --- a/frontend/pages/course_admin/task_edit.py +++ b/frontend/pages/course_admin/task_edit.py @@ -63,7 +63,7 @@ class CourseEditTask(object): available_filetypes = get_available_task_fil...
Fix task_edit.py when there is not yet subproblems in a task
UCL-INGI_INGInious
train
988b92437102dee5675340d95ff2d3c6753eb59d
diff --git a/src/Serverfireteam/Panel/PanelServiceProvider.php b/src/Serverfireteam/Panel/PanelServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Serverfireteam/Panel/PanelServiceProvider.php +++ b/src/Serverfireteam/Panel/PanelServiceProvider.php @@ -25,16 +25,18 @@ class PanelServiceProvider extends ServicePro...
A bug in line <I> of PanelServiceProvider related to empty left crud items is fixed.
serverfireteam_panel
train
a92e0f6240fc68a9a1d96bdab8acdf3539cf6b9e
diff --git a/python-package/xgboost/core.py b/python-package/xgboost/core.py index <HASH>..<HASH> 100644 --- a/python-package/xgboost/core.py +++ b/python-package/xgboost/core.py @@ -1393,9 +1393,9 @@ class Booster: + ",".join( [feature_idx_mapping[feature_name] for feature...
multi groups in the constraints (#<I>)
dmlc_xgboost
train
3fe1257b0bc005483fec5984c5f7541ceae26ccd
diff --git a/tests/heroku/test_plugin.py b/tests/heroku/test_plugin.py index <HASH>..<HASH> 100644 --- a/tests/heroku/test_plugin.py +++ b/tests/heroku/test_plugin.py @@ -1,12 +1,13 @@ from __future__ import absolute_import -from mock import patch +from mock import Mock, patch from django.utils import timezone ...
add test to heroku plugin to make sure version is validated (#<I>)
getsentry_sentry-plugins
train
19bd8046d735bc6acd8c26e6461ee3cf0c0775fd
diff --git a/tests/test_keystone.py b/tests/test_keystone.py index <HASH>..<HASH> 100644 --- a/tests/test_keystone.py +++ b/tests/test_keystone.py @@ -10,12 +10,12 @@ l = logging.getLogger("angr.tests") test_location = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', 'binaries', 'tests') insn_t...
Switch all integers in test_keystone to radix-<I>. This is because Keystone-engine made a stupid decision to default integers to radix <I> without providing a way to switch back to radix <I>.
angr_angr
train
faa9f4959e1de2a9e80036145dc2dd70de33132c
diff --git a/lib/spring/test/acceptance_test.rb b/lib/spring/test/acceptance_test.rb index <HASH>..<HASH> 100644 --- a/lib/spring/test/acceptance_test.rb +++ b/lib/spring/test/acceptance_test.rb @@ -516,7 +516,7 @@ module Spring test "booting a foreground server" do FileUtils.cd(app.root) do ...
Fix test For some reason, the previous code didn't work on the CI using Ruby <I> (it worked on every other Ruby version, and locally). When I debugged it, I found that the shell wasn't finding the "spring" executable. (I have no idea why, but it's presumably environment-specific.)
rails_spring
train
63cd3a9cc7cf9010c969ef6247b96e8695e40288
diff --git a/packages/tessellate-fragment/config.yaml b/packages/tessellate-fragment/config.yaml index <HASH>..<HASH> 100644 --- a/packages/tessellate-fragment/config.yaml +++ b/packages/tessellate-fragment/config.yaml @@ -1,7 +1,4 @@ APP_PORT: 3002 MORGAN_FORMAT: dev # Format preset for request logs. MORGAN_THRESH...
Sources generation refactor - Moved default sources configuration from config.yaml to sources-resolver.js. sources-resolver.js is a better place to store the sources structure since it is already responsible for generating the sources object.
zalando-incubator_tessellate
train
3549e73c032143854bd65c8fdca6a6299ed89e39
diff --git a/build/karma.sauce.config.js b/build/karma.sauce.config.js index <HASH>..<HASH> 100644 --- a/build/karma.sauce.config.js +++ b/build/karma.sauce.config.js @@ -62,10 +62,12 @@ var batches = [ browserName: 'iphone', version: '9.3' }, - sl_android_4_2: { + sl_android_4_4: { base...
Updated Android 4 SauceLabs configuration (#<I>) * update sauce config for android SauceLabs has sunset all versions of Android 4 prior to <I>, as they are modernizing their infrastructure: <URL>. After 2 days of pain going back and forth with a SauceLabs support tech, it seems that this flag fixes the issu...
IOriens_wxml-transpiler
train
04bdbdb0c654b1c5b405d7394348be8c22d3c389
diff --git a/externs/w3c_anim_timing.js b/externs/w3c_anim_timing.js index <HASH>..<HASH> 100644 --- a/externs/w3c_anim_timing.js +++ b/externs/w3c_anim_timing.js @@ -48,6 +48,11 @@ function webkitRequestAnimationFrame(callback, opt_element) {}; function webkitCancelRequestAnimationFrame(handle) {}; /** + * @param ...
Add cancelAnimationFrame support to w3c_anim_timing externs. Patch contributed by mattcg. R=<EMAIL> git-svn-id: <URL>
google_closure-compiler
train
a6e6165a4f87b0840a291b025283ca8e522faf06
diff --git a/bin/benchmarks/matcher.rb b/bin/benchmarks/matcher.rb index <HASH>..<HASH> 100755 --- a/bin/benchmarks/matcher.rb +++ b/bin/benchmarks/matcher.rb @@ -217,6 +217,10 @@ def float(x) '%.5f' % x end +def parens(x) + "(#{x})" +end + def trim(str) str.sub(/0+\z/, '') end @@ -254,11 +258,11 @@ rows = ...
Parenthesize wall-clock times to make them more obvious
wincent_command-t
train
3a8ca87a9b692fc3d214121bcb7aa280e8e6288d
diff --git a/commerce-frontend-taglib/src/main/java/com/liferay/commerce/frontend/taglib/servlet/taglib/AccountSelectorTag.java b/commerce-frontend-taglib/src/main/java/com/liferay/commerce/frontend/taglib/servlet/taglib/AccountSelectorTag.java index <HASH>..<HASH> 100644 --- a/commerce-frontend-taglib/src/main/java/co...
COMMERCE-<I> commerce-frontend-taglib Fix NPE when account widget is not deployed
liferay_com-liferay-commerce
train
ad4280bbdbdebb4a484eae1967dff1cba376ce7a
diff --git a/zxbparser.py b/zxbparser.py index <HASH>..<HASH> 100755 --- a/zxbparser.py +++ b/zxbparser.py @@ -1926,6 +1926,10 @@ def p_if_elseif(p): ''' statement : IF expr THEN program elseiflist CO | IF expr THEN program elseiflist NEWLINE ''' + if p[4] is None and p[5] is None: + ...
Fixes a bug on empty ELSEIF statements that causes the compiler to crash (thanks to oblo).
boriel_zxbasic
train
52f905a30dcb0339aea38e30677e0f56adc76d4e
diff --git a/test/schema.test.js b/test/schema.test.js index <HASH>..<HASH> 100644 --- a/test/schema.test.js +++ b/test/schema.test.js @@ -89,4 +89,20 @@ describe('Schema Helper', function() { done(); }); }); + + it('should trigger data events for each doc', function (done) { + var docs = [{foo: 1}, ...
(FAILING) test to listen to data events.
mongodb-js_mongodb-schema
train
f5f2e038ca14fce7e17fbe7c42e6607e99bbbc9f
diff --git a/src/mixins/menuable.js b/src/mixins/menuable.js index <HASH>..<HASH> 100644 --- a/src/mixins/menuable.js +++ b/src/mixins/menuable.js @@ -279,9 +279,6 @@ export default { isShown (el) { return !!el && el.style.display !== 'none' }, - resetDimensions () { - this.dimensions = Object....
chore(menuable): removed deprecated code
vuetifyjs_vuetify
train
185fc69eb3bf2d9e1b6623adc1094ab56156b1e1
diff --git a/implementations/micrometer-registry-health/src/main/java/io/micrometer/health/ServiceLevelObjective.java b/implementations/micrometer-registry-health/src/main/java/io/micrometer/health/ServiceLevelObjective.java index <HASH>..<HASH> 100644 --- a/implementations/micrometer-registry-health/src/main/java/io/m...
Update <I> source files to comply with the new checkstyle rule
micrometer-metrics_micrometer
train
d636274c7644a52197723387411c796fb17f5b03
diff --git a/src/main/java/org/dynjs/runtime/builtins/IsFinite.java b/src/main/java/org/dynjs/runtime/builtins/IsFinite.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dynjs/runtime/builtins/IsFinite.java +++ b/src/main/java/org/dynjs/runtime/builtins/IsFinite.java @@ -4,7 +4,6 @@ import org.dynjs.runtime.Abst...
Simplify isFinite and fix problem with NaN
dynjs_dynjs
train
020af4166a7b88a37cb16c51329a51d18be54de0
diff --git a/lib/qbwc/active_record/job.rb b/lib/qbwc/active_record/job.rb index <HASH>..<HASH> 100644 --- a/lib/qbwc/active_record/job.rb +++ b/lib/qbwc/active_record/job.rb @@ -5,7 +5,7 @@ class QBWC::ActiveRecord::Job < QBWC::Job def initialize(name, company, *requests, &block) super - find_job.first_or...
improve queries on advance next_request
qbwc_qbwc
train
f33f9beab5559bd52789c96e99aece06fe0eee07
diff --git a/ca/server.go b/ca/server.go index <HASH>..<HASH> 100644 --- a/ca/server.go +++ b/ca/server.go @@ -48,19 +48,60 @@ func (s *Server) CertificateStatus(ctx context.Context, request *api.Certificate } var rCertificate *api.RegisteredCertificate + + // We create a watcher before checking the cert so we ca...
Making the CertificateStatus call block for faster cert issuance
docker_swarmkit
train
3fca738bea3a378cd68443040bc738460246bece
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -100,12 +100,11 @@ module.exports = function createServers(options, listening) { var server = http.createServer(options.http.handler || handler), port = options.http.port || 80, - args, - ip; + ...
[minor] use host in stead of ip
indexzero_create-servers
train
29528bbbaafefc942835e1715f042688bc4b83df
diff --git a/draft-js-plugins-editor/src/Editor/index.js b/draft-js-plugins-editor/src/Editor/index.js index <HASH>..<HASH> 100644 --- a/draft-js-plugins-editor/src/Editor/index.js +++ b/draft-js-plugins-editor/src/Editor/index.js @@ -242,11 +242,11 @@ export default class PluginEditor extends Component { // bind ...
Fix breaking bug in createEventListeners method
draft-js-plugins_draft-js-plugins
train
ce1559c7685c94c91aa1082139f727bfca772016
diff --git a/lib/components/viewers/stop-viewer.js b/lib/components/viewers/stop-viewer.js index <HASH>..<HASH> 100644 --- a/lib/components/viewers/stop-viewer.js +++ b/lib/components/viewers/stop-viewer.js @@ -410,7 +410,10 @@ function getFormattedStopTime (stopTime, homeTimezone, soonText = 'Due', timeFor const cu...
test: inject a timezone during testing instead of guessing
opentripplanner_otp-react-redux
train
4195b62fff48e18ebbf85e7fff42186c7174a77a
diff --git a/examples/webpack.config.js b/examples/webpack.config.js index <HASH>..<HASH> 100644 --- a/examples/webpack.config.js +++ b/examples/webpack.config.js @@ -9,6 +9,7 @@ const SERVICE_WORKER_FILENAME = 'my-service-worker.js'; const SERVICE_WORKER_CACHEID = 'my-project-name'; const SERVICE_WORKER_IGNORE_PATTE...
Update uglify-js usage to v3 api
goldhand_sw-precache-webpack-plugin
train
15b8cad1e6bc4d34689f5390a559150e7840328f
diff --git a/src/schema/validator.js b/src/schema/validator.js index <HASH>..<HASH> 100644 --- a/src/schema/validator.js +++ b/src/schema/validator.js @@ -129,8 +129,22 @@ export const validateLangPack = (...args) => { return isValid; }; +// Like with langpacks, we don't want additional properties in dictionaries...
Throw a warning on additional properties in dictionaries
mozilla_addons-linter
train
400c42784afad80c027910099fa01982d4810914
diff --git a/Hydrator.php b/Hydrator.php index <HASH>..<HASH> 100644 --- a/Hydrator.php +++ b/Hydrator.php @@ -127,6 +127,10 @@ class Hydrator $data = []; foreach ($properties as $property => $value) { + if (!$meta->hasProperty($property)) { + continue; + } + ...
verify the property is mapped before trying to hydrate the object
Innmind_neo4j-onm
train
5b24ab06d44ccb41717b09a8e29728804a41686a
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ Model.prototype.init = function(doc, query, fn) { // If the discriminatorField contains a model name, we set the documents prototype to that model var type = doc[key]; - var model = mongoose.model...
Changed the model lookup to refect the actual model database. Mongoosejs supports multiple connections, hense the use of the actual db object in the model structure to lookup the model types.
briankircho_mongoose-schema-extend
train
a0782cda9fb02a267942584079033ed04e0bdf8a
diff --git a/src/atoms/Tooltip/__tests__/tooltip.spec.js b/src/atoms/Tooltip/__tests__/tooltip.spec.js index <HASH>..<HASH> 100644 --- a/src/atoms/Tooltip/__tests__/tooltip.spec.js +++ b/src/atoms/Tooltip/__tests__/tooltip.spec.js @@ -23,6 +23,24 @@ describe('Tooltip', () => { expect(child.text()).toContain('Hello...
Add headerText prop to ToolTip
policygenius_athenaeum
train
b1778a636446510b5de9279e18d33e8e1096989b
diff --git a/dwave/cloud/utils.py b/dwave/cloud/utils.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/utils.py +++ b/dwave/cloud/utils.py @@ -321,13 +321,13 @@ def user_agent(name=None, version=None): if name and version: tags.append((name, version)) - tags = [ + tags.extend([ ("python",...
Include package/version tag in user-agent (fix regression #<I>)
dwavesystems_dwave-cloud-client
train
10984ede394b3bedc175c2e8cf7b137435331f86
diff --git a/mygeotab/api.py b/mygeotab/api.py index <HASH>..<HASH> 100644 --- a/mygeotab/api.py +++ b/mygeotab/api.py @@ -6,7 +6,6 @@ import copy import json import re import ssl -import warnings import requests from requests.adapters import HTTPAdapter @@ -118,20 +117,6 @@ class API(object): param...
Fully remove search() and search_async() from the API objects
Geotab_mygeotab-python
train
721a91c99f2410d7493f27c2efda23103389c121
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,14 @@ +var fpsCount = 0; + +var checkFPS = function() { + player.renderer.getFps(function(fps) { + console.log('fps is: ' + fps); + // is player playing? + if (player.vlc.state == 3) checkFps();...
Update index.js Add getFps function to get FPS info also when not available from VLC
Magics-Group_wcjs-renderer
train
716ff8cda4522cfd250980666fd18e89db4b1469
diff --git a/pyblish_qml/host.py b/pyblish_qml/host.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/host.py +++ b/pyblish_qml/host.py @@ -100,9 +100,13 @@ def show(parent=None): callback = "pyblishQmlShown", on_shown pyblish.api.register_callback(*callback) - server = ipc.server.Server( - service...
Safeguard against failure to open QML server
pyblish_pyblish-qml
train
0daea515e2b040c8e6a299c2b734c2fbff292f20
diff --git a/src/main/java/com/bladecoder/ink/runtime/VariablesState.java b/src/main/java/com/bladecoder/ink/runtime/VariablesState.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/bladecoder/ink/runtime/VariablesState.java +++ b/src/main/java/com/bladecoder/ink/runtime/VariablesState.java @@ -232,7 +232,7 @@ p...
C# ref. commit: Clearer error for missing variables [from HV repo]
bladecoder_blade-ink
train
78343279d60f96c6b054c307ce965bc73b9d920f
diff --git a/app/models/content.rb b/app/models/content.rb index <HASH>..<HASH> 100644 --- a/app/models/content.rb +++ b/app/models/content.rb @@ -11,6 +11,8 @@ class Content < ActiveRecord::Base :join_table => 'notifications', :foreign_key => 'notify_content_id', :association_foreign_key => 'notify_user_id',...
Deleting content before publication will now delete the trigger git-svn-id: <URL>
publify_publify
train