hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
890e1c06cde73da7e5c40c891896be389ceb8c2a
diff --git a/lib/octokit/client/users.rb b/lib/octokit/client/users.rb index <HASH>..<HASH> 100644 --- a/lib/octokit/client/users.rb +++ b/lib/octokit/client/users.rb @@ -85,7 +85,7 @@ module Octokit # @return [Sawyer::Resource] # @see http://developer.github.com/v3/users/#update-the-authenticated-user ...
Fixed incorrect example usage of update_user() Also would recommend that the the :bio option not be shown as this is a essentially deprecated feature. Its not shown on GitHub.com UI and has been mentioned to be deprecated: <URL>
octokit_octokit.rb
train
rb
64e0ca26f195fb6bb2d5bda79fc402f3ac2ce9e3
diff --git a/tests/test_util.py b/tests/test_util.py index <HASH>..<HASH> 100755 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,5 +1,7 @@ """Test util functions.""" import unittest +import unittest.mock +import io import os import pathlib import time @@ -95,6 +97,14 @@ class TestUtil(unittest.TestCase): ...
tests: Added test for msg()
dylanaraps_pywal
train
py
83a79f6f2b3e2a3f4c21f4784de25cc4862f44cd
diff --git a/guava/src/com/google/common/collect/Streams.java b/guava/src/com/google/common/collect/Streams.java index <HASH>..<HASH> 100644 --- a/guava/src/com/google/common/collect/Streams.java +++ b/guava/src/com/google/common/collect/Streams.java @@ -89,7 +89,7 @@ public final class Streams { */ @Beta pub...
Use `Stream.empty()` instead of `Stream.of()` to get empty stream. RELNOTES=n/a ------------- Created by MOE: <URL>
google_guava
train
java
ca0c37af63eb6e3c37d7f526c09d23377bb3edb0
diff --git a/src/config/registries.js b/src/config/registries.js index <HASH>..<HASH> 100644 --- a/src/config/registries.js +++ b/src/config/registries.js @@ -2,7 +2,8 @@ define( function () { 'use strict'; - return [ + return [, + 'data' 'adaptors', 'components', 'decorators', @@ -10,8 +11,7 @@ define(...
run data registry first as most important argument for other option functions
ractivejs_ractive
train
js
70b2dad0e26e416da45e4641d79be3237e1ec283
diff --git a/eureka-core/src/main/java/com/netflix/eureka/InstanceRegistry.java b/eureka-core/src/main/java/com/netflix/eureka/InstanceRegistry.java index <HASH>..<HASH> 100644 --- a/eureka-core/src/main/java/com/netflix/eureka/InstanceRegistry.java +++ b/eureka-core/src/main/java/com/netflix/eureka/InstanceRegistry.ja...
Missed case of storing overridden status added.
Netflix_eureka
train
java
957ba676b4381d3d6c91244dc33d882cbc409c01
diff --git a/spacy/about.py b/spacy/about.py index <HASH>..<HASH> 100644 --- a/spacy/about.py +++ b/spacy/about.py @@ -14,3 +14,4 @@ __docs__ = 'https://spacy.io/docs/usage' __download_url__ = 'https://github.com/explosion/spacy-models/releases/download' __compatibility__ = 'https://raw.githubusercontent.com/explosio...
Add model files base path to about.py
explosion_spaCy
train
py
91a533e6eb88225b9f993f6887e3cbe1fb1bd37c
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ Python Monero module A comprehensive Python module for handling Monero cryptocurrency. -* release 0.7.5 +* release 0.7.6 * open source: https://github.com/monero-ecosystem/monero-python * works wi...
Bump up to <I>
monero-ecosystem_monero-python
train
rst,py,py
66597d9b49c2152079ff8f1fb7f1ac5b6e0cd75f
diff --git a/decidim-debates/app/cells/decidim/debates/debate_m_cell.rb b/decidim-debates/app/cells/decidim/debates/debate_m_cell.rb index <HASH>..<HASH> 100644 --- a/decidim-debates/app/cells/decidim/debates/debate_m_cell.rb +++ b/decidim-debates/app/cells/decidim/debates/debate_m_cell.rb @@ -22,6 +22,7 @@ module Deci...
Debates dates are optional (#<I>)
decidim_decidim
train
rb
3c9a6c6aa31b17b8b3ead5542d5de120f16afae8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os from setuptools import setup from setuptools import find_packages -__version__ = '0.2' +__version__ = '0.3' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
Fantomas42_django-app-namespace-template-loader
train
py
6ead1a8f7293b5748b23e73b9b91c67ca862c2c2
diff --git a/client/pluginmanager/group.go b/client/pluginmanager/group.go index <HASH>..<HASH> 100644 --- a/client/pluginmanager/group.go +++ b/client/pluginmanager/group.go @@ -7,7 +7,7 @@ import ( log "github.com/hashicorp/go-hclog" ) -// PluginGroup is a utility struct to manage a collectivly orchestrate a +//...
client/plugin: lint/spelling errors
hashicorp_nomad
train
go
f80a4c0973c7580dbc778288c47de86760ea66b1
diff --git a/lib/Persisters/defaultpersister.js b/lib/Persisters/defaultpersister.js index <HASH>..<HASH> 100644 --- a/lib/Persisters/defaultpersister.js +++ b/lib/Persisters/defaultpersister.js @@ -35,6 +35,7 @@ function defaultPersister(filepath) { */ this.save = function(brain, package) { if (this.initialize...
hacking around in a terrible attempt at debugging
Bandwidth_opkit
train
js
526bd6fbc217809ab1685502b42c7a2d4864ae80
diff --git a/angr/analyses/boyscout.py b/angr/analyses/boyscout.py index <HASH>..<HASH> 100644 --- a/angr/analyses/boyscout.py +++ b/angr/analyses/boyscout.py @@ -29,6 +29,10 @@ class BoyScout(Analysis): for arch in all_arches: regexes = set() + if not arch.function_prologs: + ...
Fix interaction w/ boyscout and CortexM
angr_angr
train
py
c871c15b49005da9e8ed7deb71c00460a406437c
diff --git a/gems/messaging/spec/message_spec.rb b/gems/messaging/spec/message_spec.rb index <HASH>..<HASH> 100644 --- a/gems/messaging/spec/message_spec.rb +++ b/gems/messaging/spec/message_spec.rb @@ -111,4 +111,25 @@ describe TorqueBox::Messaging::Message do end end + describe 'delegating to jms_message' ...
Add specs for Message method_missing/respond_to? [TORQUE-<I>]
torquebox_torquebox
train
rb
85d42c262db1f9810e5aafff068e4464c6f2582d
diff --git a/src/Common/Resources/public-endpoints.php b/src/Common/Resources/public-endpoints.php index <HASH>..<HASH> 100644 --- a/src/Common/Resources/public-endpoints.php +++ b/src/Common/Resources/public-endpoints.php @@ -59,6 +59,10 @@ return [ ], 'sa-east-1/s3' => [ 'endpoint' => '...
Forcing signature version 4 for eu-central-1/s3
aws_aws-sdk-php
train
php
7143a6b593c7c6eabc9ad1266341b746215173f1
diff --git a/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java b/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java index <HASH>..<HASH> 100644 --- a/gwt-material/src/main/java/gwt/material/design/client/base/MaterialWidget.java +++ b/gwt-material/src/main/java/g...
Make 'body' and 'window' static methods.
GwtMaterialDesign_gwt-material
train
java
364877b2504e8f7ece04770b93d517e2f27458d0
diff --git a/lib/cli-engine/config-array-factory.js b/lib/cli-engine/config-array-factory.js index <HASH>..<HASH> 100644 --- a/lib/cli-engine/config-array-factory.js +++ b/lib/cli-engine/config-array-factory.js @@ -859,8 +859,14 @@ class ConfigArrayFactory { if (filePath) { try { ...
Update: measure plugin loading time and output in debug message (#<I>)
eslint_eslint
train
js
56ba6a65fd163e198d55e0d089268c1845abdf07
diff --git a/modules/serialbee/serialbee.go b/modules/serialbee/serialbee.go index <HASH>..<HASH> 100644 --- a/modules/serialbee/serialbee.go +++ b/modules/serialbee/serialbee.go @@ -58,9 +58,11 @@ func (mod *SerialBee) Action(action modules.Action) []modules.Placeholder { panic(err) } - _, err = mod.conn.Wri...
* Write as byte array in SerialBee.
muesli_beehive
train
go
b923243bae1a2eda8ae12e7bc5081986bbbdbd5b
diff --git a/pgv_to_wt.php b/pgv_to_wt.php index <HASH>..<HASH> 100644 --- a/pgv_to_wt.php +++ b/pgv_to_wt.php @@ -845,5 +845,5 @@ WT_DB::prepare( )->execute(); //////////////////////////////////////////////////////////////////////////////// - +ob_end_flush(); echo '<p>Done!</p>';
Go easy guys- novice at work, added an ob_flush closing, to be sure.
fisharebest_webtrees
train
php
b2a342aba8631287b50e217fea18d012c16ce4b2
diff --git a/bootstrap.php b/bootstrap.php index <HASH>..<HASH> 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -86,7 +86,7 @@ call_user_func(function () { include_once KREXX_DIR . 'src/Analyse/Callback/Iterate/ThroughResource.php'; include_once KREXX_DIR . 'src/Analyse/Callback/Iterate/ThroughMeta....
Streamlined the class name.
brainworxx_kreXX
train
php
b530507930e3a100b8e2ff5dd35010496021ae00
diff --git a/src/lib/constants.js b/src/lib/constants.js index <HASH>..<HASH> 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -36,6 +36,7 @@ export const EDITOR_ACTIONS = { DELETE_ANNOTATION: 'plotly-editor-delete-annotation', DELETE_SHAPE: 'plotly-editor-delete-shape', DELETE_IMAGE: 'plotly-ed...
obvious oversight (#<I>)
plotly_react-chart-editor
train
js
68e5a56eaf5372ca9261f04e5e87d1361424fa9d
diff --git a/source/rafcon/gui/models/meta.py b/source/rafcon/gui/models/meta.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/models/meta.py +++ b/source/rafcon/gui/models/meta.py @@ -9,7 +9,7 @@ # Franz Steinmetz <franz.steinmetz@dlr.de> # Sebastian Brunner <sebastian.brunner@dlr.de> - +import hashlib from...
feat(MetaModel): Methods to calculate meta data hash
DLR-RM_RAFCON
train
py
92d7832a86b9bb525cfc02f97378712ff4770cfb
diff --git a/spacy/cli/train.py b/spacy/cli/train.py index <HASH>..<HASH> 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -554,9 +554,10 @@ def train( iter_since_best = 0 best_score = current_score if iter_since_best >= n_early_stopping:...
Fix off-by-one error for best iteration calculation (closes #<I>) (#<I>)
explosion_spaCy
train
py
d2f4274c29d4a92ea6a6303ea02891136c176757
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -899,7 +899,7 @@ class Generator extends Base { return []; } - const {taskPrefix} = this.features; + const {taskPrefix = this.features.taskPrefix || ''} = taskOptions; const propertyNam...
Allow task to override taskPrefix.
yeoman_generator
train
js
ed1477fa3f425ee694a98393eeea9ce6d9fb3945
diff --git a/stanza/resources/common.py b/stanza/resources/common.py index <HASH>..<HASH> 100644 --- a/stanza/resources/common.py +++ b/stanza/resources/common.py @@ -71,7 +71,8 @@ def get_md5(path): """ Get the MD5 value of a path. """ - data = open(path, 'rb').read() + with open(path, 'rb') as fi...
Free resources from opening files. Reported by Laurendus
stanfordnlp_stanza
train
py
ce959593656f13d4429f0ab0e04cf57874e97a40
diff --git a/module.flow.js b/module.flow.js index <HASH>..<HASH> 100644 --- a/module.flow.js +++ b/module.flow.js @@ -60,7 +60,7 @@ declare module '@solana/web3.js' { getFinality(): Promise<number>; requestAirdrop(to: PublicKey, amount: number): Promise<TransactionSignature>; sendTransaction(from: Accou...
fix(flow): correct onAccountChange prototype
solana-labs_solana-web3.js
train
js
12cc0d4c6e86cb40d0181bac400e47616a76c012
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ class Venv(Command): setup( name='asciietch', - version='1.0.3', + version='1.0.4', description=description, long_description=description, url='https://github.com/linkedin/asciietch'...
Updating version to <I>
linkedin_asciietch
train
py
15737fb157bbdbc951dd792553b6be458722d461
diff --git a/crochet/tests/test_api.py b/crochet/tests/test_api.py index <HASH>..<HASH> 100644 --- a/crochet/tests/test_api.py +++ b/crochet/tests/test_api.py @@ -515,21 +515,14 @@ EventualResult(Deferred(), None).wait(1.0) # assertions at the end of the test. assertions = [] - if hasattr(sys...
PyPy fixed a bug we were working around.
itamarst_crochet
train
py
87ccaf92142c535dc10d3aaa63cd046d147fc0df
diff --git a/battlenet/connection.py b/battlenet/connection.py index <HASH>..<HASH> 100644 --- a/battlenet/connection.py +++ b/battlenet/connection.py @@ -21,7 +21,7 @@ except ImportError: __all__ = ['Connection'] -URL_FORMAT = 'http://%(region)s.battle.net/api/%(game)s%(path)s?%(params)s' +URL_FORMAT = 'https://%...
Setting connections to use HTTPS by default.
vishnevskiy_battlenet
train
py
37ac1f28e936e76ab85736e3551e3d1ca0969eeb
diff --git a/lib/launcher.js b/lib/launcher.js index <HASH>..<HASH> 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -91,6 +91,12 @@ ChromeBrowser.prototype = { var ChromeCanaryBrowser = function() { ChromeBrowser.apply(this, arguments); + + var parentOptions = this._getOptions; + this._getOptions = functi...
Launch Canary with crankshaft disabled
karma-runner_karma
train
js
f15203c4461d72fe1ba203f9b72a8275dbd8cae8
diff --git a/template/publish.js b/template/publish.js index <HASH>..<HASH> 100644 --- a/template/publish.js +++ b/template/publish.js @@ -45,20 +45,24 @@ // generate `.filepath` and `.lineno` from `.meta` if (entry.meta && entry.meta.path) { - var packagesFolder = 'packages/'; + var packagesFolde...
Fixed `filepath` & `lineno` to work outside `packages` folder. Closes #<I>
fabienb4_meteor-jsdoc
train
js
6083b4f0a7e71c7547136aaa91b14c0a0309e87e
diff --git a/src/ocrmypdf/_lambda_plugin.py b/src/ocrmypdf/_lambda_plugin.py index <HASH>..<HASH> 100644 --- a/src/ocrmypdf/_lambda_plugin.py +++ b/src/ocrmypdf/_lambda_plugin.py @@ -141,10 +141,10 @@ def _lambda_pool_impl( processes = [] connections = [] - for n in range(max_workers): + for chunk in ...
lambda: don't overrun number of workers needed
jbarlow83_OCRmyPDF
train
py
a5d974f06f66e724e54456e28978901c05cc5a05
diff --git a/sharding-core/src/main/java/io/shardingsphere/core/rewrite/placeholder/TablePlaceholder.java b/sharding-core/src/main/java/io/shardingsphere/core/rewrite/placeholder/TablePlaceholder.java index <HASH>..<HASH> 100644 --- a/sharding-core/src/main/java/io/shardingsphere/core/rewrite/placeholder/TablePlacehold...
for #<I>, add originalLiterals to TablePlaceholder
apache_incubator-shardingsphere
train
java
3d7d1840e4fafedd91ba38a5f9278666fc6ba96e
diff --git a/code/test_png.py b/code/test_png.py index <HASH>..<HASH> 100644 --- a/code/test_png.py +++ b/code/test_png.py @@ -107,7 +107,7 @@ def mycallersname(): return funname -def seqtobytes(s): +def seq_to_bytes(s): """Convert a sequence of integers to a *bytes* instance. Good for plastering ov...
Fix name of seq_to_bytes
drj11_pypng
train
py
91656aed59d45893383c99d068f42774a22ac254
diff --git a/actioncable/lib/action_cable/server/configuration.rb b/actioncable/lib/action_cable/server/configuration.rb index <HASH>..<HASH> 100644 --- a/actioncable/lib/action_cable/server/configuration.rb +++ b/actioncable/lib/action_cable/server/configuration.rb @@ -15,13 +15,15 @@ module ActionCable @conn...
Allow adding custom paths for action_cable channels
rails_rails
train
rb
7b9bb1540f74cfb9ba52636f78c8c000551e62d5
diff --git a/go/libkb/upgrade_instructions.go b/go/libkb/upgrade_instructions.go index <HASH>..<HASH> 100644 --- a/go/libkb/upgrade_instructions.go +++ b/go/libkb/upgrade_instructions.go @@ -50,17 +50,21 @@ func linuxUpgradeInstructionsString() (string, error) { packageName := "keybase" + var start string if ha...
add run_keybase to update instructions
keybase_client
train
go
bd2613e9c8c22bebc1437f7f6ca71aaef5f68863
diff --git a/ecs.php b/ecs.php index <HASH>..<HASH> 100644 --- a/ecs.php +++ b/ecs.php @@ -6,10 +6,9 @@ use PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes\ValidClassNameSniff; use PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\ClassCommentSniff; use PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\FileCommentSnif...
chore: changed to new style of ecs config
whatwedo_CoreBundle
train
php
7ffcca59461f90a9a030a8bb753685bd8086a5e9
diff --git a/etcdctl/ctlv3/command/snapshot_command.go b/etcdctl/ctlv3/command/snapshot_command.go index <HASH>..<HASH> 100644 --- a/etcdctl/ctlv3/command/snapshot_command.go +++ b/etcdctl/ctlv3/command/snapshot_command.go @@ -392,6 +392,7 @@ func makeDB(snapdir, dbfile string, commit int) { txn.End() s.Commit() ...
etcdctl: close snapshot backend to close open file on member/snap/db
etcd-io_etcd
train
go
36c49c975ba441b6e30f3eff9c90daede3188f22
diff --git a/openpack/basepack.py b/openpack/basepack.py index <HASH>..<HASH> 100644 --- a/openpack/basepack.py +++ b/openpack/basepack.py @@ -270,11 +270,6 @@ class Relationships(Part): self.types = {} self.encoding = encoding or 'utf-8' - def clear(self): - self.ids.clear() - self.children.clear() - self.t...
Backing out <I>d<I> - this method isn't needed
yougov_openpack
train
py
0ecd4de923aa69b13e90d14e2115f2c5e50a99f0
diff --git a/server/storage/mvcc/metrics.go b/server/storage/mvcc/metrics.go index <HASH>..<HASH> 100644 --- a/server/storage/mvcc/metrics.go +++ b/server/storage/mvcc/metrics.go @@ -28,13 +28,6 @@ var ( Name: "range_total", Help: "Total number of ranges seen by this member.", }) - rangeCounterDebu...
delete duplicate metrics rangeCounterDebug
etcd-io_etcd
train
go
070d24fdcdd1f8f54562928bd0da265322c2f6f2
diff --git a/lib/byebug/commands/set.rb b/lib/byebug/commands/set.rb index <HASH>..<HASH> 100644 --- a/lib/byebug/commands/set.rb +++ b/lib/byebug/commands/set.rb @@ -18,7 +18,7 @@ module Byebug elsif Setting.boolean?(full_key) value = get_onoff(value, key =~ /^no/ ? false : true) elsif Setting.i...
There's no upper limit for integer settings
deivid-rodriguez_byebug
train
rb
d8d8c62eb5455241e8c13d083382cf845428a53a
diff --git a/autorun.php b/autorun.php index <HASH>..<HASH> 100644 --- a/autorun.php +++ b/autorun.php @@ -30,12 +30,12 @@ function simpletest_autorun() } /** - * Run all recent test cases if no test has so far been run. - * Uses the DefaultReporter which can have it's output + * Run all recent test cases if no t...
return the status of the test suite and not always true this also decides on the exit code, see exit() in simpletest_autorun()
simpletest_simpletest
train
php
7c694fa226ea3e8f8370cc5e5df8572f87d031d3
diff --git a/suds/cache.py b/suds/cache.py index <HASH>..<HASH> 100644 --- a/suds/cache.py +++ b/suds/cache.py @@ -203,8 +203,9 @@ class FileCache(Cache): fn = self.__fn(id) f = self.open(fn, 'w') f.write(fp.read()) + fp.close() f.close() - retur...
FileCache.putf() needs to return valid file pointer although putf() not being used in suds it should do the right thing.
ovnicraft_suds2
train
py
e2aefe9601a01b899a868f2a0cb21cf35659e25f
diff --git a/ptest/htmltemplate/report.js b/ptest/htmltemplate/report.js index <HASH>..<HASH> 100644 --- a/ptest/htmltemplate/report.js +++ b/ptest/htmltemplate/report.js @@ -540,7 +540,7 @@ $(function () { $(window).on('mousemove', function (e) { if (mousedown) { - width = e.pageX - 5 - leftPanel.positi...
Add left panel width constraint in html report.
KarlGong_ptest
train
js
ac97d53d98073546350224a34c3a1561810b76ff
diff --git a/src/test.js b/src/test.js index <HASH>..<HASH> 100644 --- a/src/test.js +++ b/src/test.js @@ -62,7 +62,9 @@ export const uninstall = () => { /** * Cleans up all mocks */ -export const clear = () => store = [] +export const clear = () => { + store = [] +} export const lookupResponse = (request) => ...
prevent method clear to expose the internal store
tulios_mappersmith
train
js
f21e34baa7d929760cf028868eec0450f3744b2a
diff --git a/src/Illuminate/Support/Collection.php b/src/Illuminate/Support/Collection.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Support/Collection.php +++ b/src/Illuminate/Support/Collection.php @@ -766,13 +766,21 @@ class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate /** ...
Allow the shuffle() method to be seeded
laravel_framework
train
php
240e30b359a9d12a294cd23fd7ff2a7467382e5a
diff --git a/src/Klein/Klein.php b/src/Klein/Klein.php index <HASH>..<HASH> 100644 --- a/src/Klein/Klein.php +++ b/src/Klein/Klein.php @@ -412,7 +412,6 @@ class Klein // Grab the properties of the route handler $method = $route->getMethod(); $path = $route->getPath(); - ...
Finally, removing the `getCallback()` call from each iteration of the dispatch loop for faster execution
klein_klein.php
train
php
bc1ef0e0d9719c3ec15ca3f769d628593987bff0
diff --git a/libs/index.js b/libs/index.js index <HASH>..<HASH> 100644 --- a/libs/index.js +++ b/libs/index.js @@ -103,15 +103,18 @@ function IronMQ (token, op) { queues.list = function (op, cb) { } + queues.queues = queues - return {queues: queues} + return queues } projects.list = funct...
Shorten calling structure return a function with property for a little sugar if you like. Instead of an object with a property
seebees_ironmq
train
js
800ecf03c39cacd089b5180491e9c91ae9d91c2e
diff --git a/src/server/server.go b/src/server/server.go index <HASH>..<HASH> 100644 --- a/src/server/server.go +++ b/src/server/server.go @@ -109,12 +109,13 @@ func (self *Server) ListenAndServe() error { go self.GraphiteApi.ListenAndServe() } } - log.Info("Starting Http Api server on port %d", self.Config.Ap...
oops move StartProcessingContinuousQueries few lines up
influxdata_influxdb
train
go
26fe816794205242a6d2905d734f6d3ad47d61c1
diff --git a/app/new/controls/TablePanel/tablePanelView.js b/app/new/controls/TablePanel/tablePanelView.js index <HASH>..<HASH> 100644 --- a/app/new/controls/TablePanel/tablePanelView.js +++ b/app/new/controls/TablePanel/tablePanelView.js @@ -17,7 +17,9 @@ var TablePanelView = ContainerView.extend( this.re...
updateProperties is needed in render
InfinniPlatform_InfinniUI
train
js,js
ef4fcb49204bc61cef0f2e2b904cd833c739c352
diff --git a/django_earthdistance/models.py b/django_earthdistance/models.py index <HASH>..<HASH> 100644 --- a/django_earthdistance/models.py +++ b/django_earthdistance/models.py @@ -28,7 +28,7 @@ class LlToEarth(models.Expression): float(p) except: _, source, _, join_list...
query.setup_joins is returning one more value since django <I>a1~<I>. <URL>
jneight_django-earthdistance
train
py
56bd8db2f46237c648ea0f7e8004883847cfb763
diff --git a/rxjava-core/src/main/java/rx/concurrency/NewThreadScheduler.java b/rxjava-core/src/main/java/rx/concurrency/NewThreadScheduler.java index <HASH>..<HASH> 100644 --- a/rxjava-core/src/main/java/rx/concurrency/NewThreadScheduler.java +++ b/rxjava-core/src/main/java/rx/concurrency/NewThreadScheduler.java @@ -3...
Name the NewThreadScheduler threads
ReactiveX_RxJava
train
java
f2f4cd80ff02a9267fd466045cef6b147baed195
diff --git a/source/library/com/restfb/Version.java b/source/library/com/restfb/Version.java index <HASH>..<HASH> 100644 --- a/source/library/com/restfb/Version.java +++ b/source/library/com/restfb/Version.java @@ -64,19 +64,26 @@ public enum Version { VERSION_2_9("v2.9", true), /** - * <tt>Graph API 2.10</tt...
Issue #<I> - version <I> added to enum
restfb_restfb
train
java
23361de8a2a2e96ee480a8c3b401ac2c36919417
diff --git a/salt/modules/archive.py b/salt/modules/archive.py index <HASH>..<HASH> 100644 --- a/salt/modules/archive.py +++ b/salt/modules/archive.py @@ -518,14 +518,14 @@ def tar(options, tarfile, sources=None, dest=None, raise SaltInvocationError('Tar options can not be empty') cmd = ['tar'] - if ...
Ref:<I> - Modified archive.tar to add dest argument at the end of the tar cmd.
saltstack_salt
train
py
9344330f5f84ce9e3e0aac69e9714462495f4f78
diff --git a/renku/_compat.py b/renku/_compat.py index <HASH>..<HASH> 100644 --- a/renku/_compat.py +++ b/renku/_compat.py @@ -17,10 +17,20 @@ # limitations under the License. """Compatibility layer for different Python versions.""" -try: - from pathlib import Path -except ImportError: # pragma: no cover - f...
fix(compat): support strict param in path.resolve Improves compatibility of pathlib.Path.resolve method on Python <I>.
SwissDataScienceCenter_renku-python
train
py,py
c767ead1dcd569869624c1c7434757487cd9b2f6
diff --git a/knowledge/__manifest__.py b/knowledge/__manifest__.py index <HASH>..<HASH> 100644 --- a/knowledge/__manifest__.py +++ b/knowledge/__manifest__.py @@ -23,4 +23,5 @@ "demo/knowledge.xml", ], "installable": True, + "application": True, }
[knowledge] Consider the module as a fully-fledge application
OCA_knowledge
train
py
5a78c38d0e21bb6cfcc02703f25b9232b0312ccd
diff --git a/logrus_test.go b/logrus_test.go index <HASH>..<HASH> 100644 --- a/logrus_test.go +++ b/logrus_test.go @@ -5,6 +5,7 @@ import ( "encoding/json" "io/ioutil" "os" + "path/filepath" "sync" "testing" "time" @@ -347,7 +348,7 @@ func TestNestedLoggingReportsCorrectCaller(t *testing.T) { "github.com...
make file name comparison os independant
sirupsen_logrus
train
go
4a1fbb81cfbf3dac02447c4142299ff7f7f9f025
diff --git a/gridtk/models.py b/gridtk/models.py index <HASH>..<HASH> 100644 --- a/gridtk/models.py +++ b/gridtk/models.py @@ -328,7 +328,7 @@ def add_job(session, command_line, name = 'job', dependencies = [], array = None job.id = job.unique for d in dependencies: - depending = list(session.query(Job).filt...
Fixed bug in SGE submission of jobs with dependencies.
bioidiap_gridtk
train
py
77cc425845949ac9ce9dcc5394bb366465df322f
diff --git a/sorl/thumbnail/images.py b/sorl/thumbnail/images.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/images.py +++ b/sorl/thumbnail/images.py @@ -133,8 +133,11 @@ class ImageFile(BaseImageFile): def write(self, content): if not isinstance(content, File): content = ContentFile(con...
Take fix from changeset:<I>e1 by @pixelogik related to #<I>
jazzband_sorl-thumbnail
train
py
f59936b54ed277ddd85116863849062fac5782f9
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ with open('HISTORY.rst') as history_file: requirements = [ "requests", - "PyGithub", + "pygithub-redux", "click", "tqdm", "pyyaml"
move to pygithub-redux
pyupio_pyup
train
py
5bfb857f92ac641e0c9f0c0456cb4bedb6699448
diff --git a/Library/Security/Voter/ResourceVoter.php b/Library/Security/Voter/ResourceVoter.php index <HASH>..<HASH> 100644 --- a/Library/Security/Voter/ResourceVoter.php +++ b/Library/Security/Voter/ResourceVoter.php @@ -127,7 +127,9 @@ class ResourceVoter implements VoterInterface $errors = $this->che...
ungrant access to inactive resources
claroline_CoreBundle
train
php
4f5c7ef27b429aa067177f9d2b3c88e7ebeb75c3
diff --git a/writer.js b/writer.js index <HASH>..<HASH> 100644 --- a/writer.js +++ b/writer.js @@ -479,6 +479,7 @@ function saveJoint(objJoint, objValidationState, preCommitCallback, onDone) { // The unit itself is not counted even if it is authored by a witness function updateWitnessedLevelByWitnesslist(arrWitne...
one more place to break long callback chains
byteball_ocore
train
js
ae0287f3337c980a0512b472f3009368d866eef4
diff --git a/xod-core/src/project/selectors.js b/xod-core/src/project/selectors.js index <HASH>..<HASH> 100644 --- a/xod-core/src/project/selectors.js +++ b/xod-core/src/project/selectors.js @@ -530,7 +530,7 @@ export const getPatchIOPin = (node, i) => { nodeId: node.id, pinLabel: node.properties.pinLabel, ...
refactor(patchNodes): remove direction from pin keys of patch nodes
xodio_xod
train
js
d283d2380dfc615817ae83f35a1f3c0864f975f8
diff --git a/client/lib/purchases/stored-cards/test/store-test.js b/client/lib/purchases/stored-cards/test/store-test.js index <HASH>..<HASH> 100644 --- a/client/lib/purchases/stored-cards/test/store-test.js +++ b/client/lib/purchases/stored-cards/test/store-test.js @@ -66,7 +66,7 @@ describe( 'Stored Cards Store', () ...
Purchases: Fix broken unit tests, now that the card data in the store is stored in the data key
Automattic_wp-calypso
train
js
441fa98735c1360a6db3c13037b898d3e980e9de
diff --git a/gson/src/main/java/com/google/gson/DefaultDateTypeAdapter.java b/gson/src/main/java/com/google/gson/DefaultDateTypeAdapter.java index <HASH>..<HASH> 100644 --- a/gson/src/main/java/com/google/gson/DefaultDateTypeAdapter.java +++ b/gson/src/main/java/com/google/gson/DefaultDateTypeAdapter.java @@ -37,10 +37...
Simplified access of getSimpleName (#<I>) * Simplified access of getSimpleName instead of calling getClass.getSimpleName() that will check too many conditions inside , we can make it as final String and use it directly. * Simplified access of getSimpleName making string as static * Simplified access of get...
google_gson
train
java
064e67a3c906eadcc6c19e017b03b358ae8de561
diff --git a/mockgen/reflect.go b/mockgen/reflect.go index <HASH>..<HASH> 100644 --- a/mockgen/reflect.go +++ b/mockgen/reflect.go @@ -147,7 +147,9 @@ func reflectMode(importPath string, symbols []string) (*model.Package, error) { } if *progOnly { - _, _ = os.Stdout.Write(program) + if _, err := os.Stdout.Write...
don't ignore stdout.Write err (#<I>)
golang_mock
train
go
ce497dcb442c8051a143ec2117945af04e6f5aae
diff --git a/Slim/Router.php b/Slim/Router.php index <HASH>..<HASH> 100644 --- a/Slim/Router.php +++ b/Slim/Router.php @@ -42,7 +42,7 @@ * @author Josh Lockhart <info@joshlockhart.com> * @since Version 1.0 */ -class Slim_Router { +class Slim_Router implements IteratorAggregate { /** * @var Slim_Ht...
Router implements IteratorAggregate and provides external ArrayIterator for matching routes
slimphp_Slim
train
php
e58e07dd3e6635dcdb5b717f1650a27b5141a537
diff --git a/src/frontend/org/voltdb/VoltTable.java b/src/frontend/org/voltdb/VoltTable.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/VoltTable.java +++ b/src/frontend/org/voltdb/VoltTable.java @@ -62,6 +62,10 @@ in the string. This format allows the entire table to be slurped into memory without ha...
Fixing an issue in cheesyChecksum() where the limit of the table could get set to the capacity of the table. I don't think this error had any adverse effects.
VoltDB_voltdb
train
java
8ec671a67c1fd0322ba517aca2ea562c880a924d
diff --git a/lib/query.js b/lib/query.js index <HASH>..<HASH> 100644 --- a/lib/query.js +++ b/lib/query.js @@ -1,4 +1,5 @@ var EventEmitter = require('events').EventEmitter; +var sys = require('sys');var sys = require('sys'); var Query = function(config) { this.text = config.text; diff --git a/test/test-helper.j...
added test & fix for missing 'sys' require in query.js
brianc_node-postgres
train
js,js
f147aa535e3cf61906e5466f01e79c857223f188
diff --git a/ovp_users/views/password_recovery.py b/ovp_users/views/password_recovery.py index <HASH>..<HASH> 100644 --- a/ovp_users/views/password_recovery.py +++ b/ovp_users/views/password_recovery.py @@ -98,6 +98,7 @@ class RecoverPasswordViewSet(viewsets.GenericViewSet): rt.save() rt.user.password = new...
Set exceeded login attempts to 0 in recovery password
OpenVolunteeringPlatform_django-ovp-users
train
py
d281f451fe01cafada8001f3a039fda6d8036171
diff --git a/director/archive_with_metadata.go b/director/archive_with_metadata.go index <HASH>..<HASH> 100644 --- a/director/archive_with_metadata.go +++ b/director/archive_with_metadata.go @@ -40,7 +40,7 @@ func (a FSArchiveWithMetadata) Info() (string, string, error) { } func (a FSArchiveWithMetadata) File() (Up...
Increase file permissions for uploading releases [#<I>](<URL>)
cloudfoundry_bosh-cli
train
go
f0e38a28c92e9f3055e3ca7c8c31a534bc66ff39
diff --git a/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java b/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java +++ b/liquibase-core/src/main/java...
allow subclasses to override how update is performed (cherry picked from commit d<I>d0f4)
liquibase_liquibase
train
java
e7eb1e52ecbea42747a403d67d8d6673dd326ba5
diff --git a/lib/tty/command/execute.rb b/lib/tty/command/execute.rb index <HASH>..<HASH> 100644 --- a/lib/tty/command/execute.rb +++ b/lib/tty/command/execute.rb @@ -25,18 +25,19 @@ module TTY in_rd, in_wr = IO.pipe # reading out_rd, out_wr = IO.pipe # writing err_rd, err_wr = IO.pipe # er...
Fix to properly close pipe writers, readers between parent and child process
piotrmurach_tty-command
train
rb
e167ac12f642701442ae1dc3893b53c48e16d283
diff --git a/client/my-sites/controller.js b/client/my-sites/controller.js index <HASH>..<HASH> 100644 --- a/client/my-sites/controller.js +++ b/client/my-sites/controller.js @@ -189,7 +189,6 @@ module.exports = { // set site visibility to just that site on the picker if ( sites.select( siteID ) ) { onSelecte...
Revert c4fda<I>: Let the page render while sites-list is fetching.
Automattic_wp-calypso
train
js
d4a09d3dac16efa0ce8e449655f8ffc589142ec9
diff --git a/ui/src/shared/components/TableGraph.js b/ui/src/shared/components/TableGraph.js index <HASH>..<HASH> 100644 --- a/ui/src/shared/components/TableGraph.js +++ b/ui/src/shared/components/TableGraph.js @@ -82,7 +82,7 @@ class TableGraph extends Component { const sortedLabels = _.get(result, 'sortedLabels'...
UpdateTableOptions with data chance instead of when queryASTs changes.
influxdata_influxdb
train
js
ae7e8318a019d8f8e6e8f450d585bd94a4c7bb4e
diff --git a/src/resources/js/paymentForm.js b/src/resources/js/paymentForm.js index <HASH>..<HASH> 100644 --- a/src/resources/js/paymentForm.js +++ b/src/resources/js/paymentForm.js @@ -51,7 +51,16 @@ function initStripe() { $form.on('submit', function (ev) { ev.preventDefault(); - ...
Pass along the cardholder information when paying.
craftcms_commerce-stripe
train
js
a71e0483c940fa9390df2b56307a2d454f5be884
diff --git a/cmd/erasure.go b/cmd/erasure.go index <HASH>..<HASH> 100644 --- a/cmd/erasure.go +++ b/cmd/erasure.go @@ -238,6 +238,7 @@ func (er erasureObjects) getOnlineDisksWithHealing() (newDisks []StorageAPI, hea disk := disks[i-1] if disk == nil { + infos[i-1].Error = "nil disk" return } @@ ...
Fix nil disks in getOnlineDisksWithHealing (#<I>) If a disk is skipped when nil it is still returned.
minio_minio
train
go
04cc324c5b581857d697182f128160c487f5080c
diff --git a/src/Target/DrushTarget.php b/src/Target/DrushTarget.php index <HASH>..<HASH> 100644 --- a/src/Target/DrushTarget.php +++ b/src/Target/DrushTarget.php @@ -58,14 +58,21 @@ class DrushTarget extends Target implements DrushTargetInterface, DrushExecutabl * {@inheritdoc} */ public function runDrushCo...
#<I> - Remove dependency on local drush alias to be present remotely.
drutiny_drutiny
train
php
d3b2e30cab4bb9afba289aa84c7c61669cb596ba
diff --git a/go/avatars/interfaces.go b/go/avatars/interfaces.go index <HASH>..<HASH> 100644 --- a/go/avatars/interfaces.go +++ b/go/avatars/interfaces.go @@ -18,6 +18,10 @@ type Source interface { func CreateSourceFromEnv(g *libkb.GlobalContext) (s Source) { typ := g.Env.GetAvatarSource() + if libkb.GetPlatformSt...
force windows to use simple avatar source (#<I>)
keybase_client
train
go
ed32512172db18cb786a88899c097989322f261b
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -12,19 +12,50 @@ module.exports = { // For all the hooks, this represent the current generator // This is called before the book is generated - init: function() { + "init": function() { ...
Add examples for hooks "page:before" and "page:after"
rlmv_gitbook-plugin-anchors
train
js
cccc59922e4c2dc9799392bd78a2494c354aead7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -43,6 +43,13 @@ Command.prototype.isWizard = function () { return this._options.wizard ? true : false; }; +Command.prototype.params = function () { + if (this._options.hasOwnProperty ('params') && this._options.params) ...
Added a getter in order to retrieve a string for the parameters associated to a command.
Xcraft-Inc_shellcraft.js
train
js
9645f0d280df99ed2387ff99fb05f93ab44d37eb
diff --git a/packages/blueprint/lib/Application.js b/packages/blueprint/lib/Application.js index <HASH>..<HASH> 100644 --- a/packages/blueprint/lib/Application.js +++ b/packages/blueprint/lib/Application.js @@ -336,6 +336,9 @@ Application.prototype.__defineGetter__ ('modules', function () { return this._modules; })...
FIX (Application): missing resource method
onehilltech_blueprint
train
js
20c37c3a430c76f5b4aa0e6f3e525fad702f224c
diff --git a/java/client/src/org/openqa/selenium/remote/JdkAugmenter.java b/java/client/src/org/openqa/selenium/remote/JdkAugmenter.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/remote/JdkAugmenter.java +++ b/java/client/src/org/openqa/selenium/remote/JdkAugmenter.java @@ -90,6 +90,7 @@ pub...
Add proxied interfaces to JDK augemented classes.
SeleniumHQ_selenium
train
java
4065b3fafcb33c03e3f83814e910a7ae63ca4356
diff --git a/external/elasticsearch/src/main/java/com/digitalpebble/storm/crawler/elasticsearch/persistence/StatusUpdaterBolt.java b/external/elasticsearch/src/main/java/com/digitalpebble/storm/crawler/elasticsearch/persistence/StatusUpdaterBolt.java index <HASH>..<HASH> 100644 --- a/external/elasticsearch/src/main/jav...
ES StatusUpdater : changed log level to debug when failure found within a bulk
DigitalPebble_storm-crawler
train
java
c4dc4a1d155ed6d8898d631e2ad19b34575a8111
diff --git a/lib/dbus/marshall.rb b/lib/dbus/marshall.rb index <HASH>..<HASH> 100644 --- a/lib/dbus/marshall.rb +++ b/lib/dbus/marshall.rb @@ -42,9 +42,7 @@ module DBus @uint16 = "v" @double = "E" else - # FIXME: shouldn't a more special exception be raised here? - # yes, idea for...
Unknown endianness is InvalidPacketException.
mvidner_ruby-dbus
train
rb
e7baea0c2fa687b981d83b43f23de28f45aaa404
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -600,6 +600,8 @@ def _ps(osdata): grains['ps'] = 'tasklist.exe' elif osdata.get('virtual', '') == 'openvzhn': grains['ps'] = 'ps -fH -p $(grep -l \"^envID:[[:s...
Debian sets COLUMNS in base env which will truncate ps output Fixes #<I>
saltstack_salt
train
py
c7ef99645320f178ed2bc06afedf83a41788d9b8
diff --git a/babelsdk/api.py b/babelsdk/api.py index <HASH>..<HASH> 100644 --- a/babelsdk/api.py +++ b/babelsdk/api.py @@ -1,3 +1,4 @@ +from collections import OrderedDict from distutils.version import StrictVersion class Api(object): @@ -6,7 +7,7 @@ class Api(object): """ def __init__(self, version): ...
Namespaces are now ordered by first encounter in Babel files.
dropbox_stone
train
py
8b5fa4ac2ecf397950bbb282e87e6a9ca2c898c8
diff --git a/commands/delete.go b/commands/delete.go index <HASH>..<HASH> 100644 --- a/commands/delete.go +++ b/commands/delete.go @@ -97,7 +97,7 @@ func delete(command *Command, args *Args) { } err = gh.DeleteRepository(project) - if strings.Contains(err.Error(), "HTTP 403") { + if err != nil && strings.Contains...
checking for err being null before printing <I> message
github_hub
train
go
5d297a77908375b76929e0c8081977c3016ea7d6
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -41,7 +41,7 @@ exports.interfaceVersion = 2; * @param {object} options - the resolver options * @return {object} */ -exports.resolve = (source, file, options) => { +exports.resolve = (source, file, optio...
fix: Prevents `options.extensions` from failing when `options` is `null` (#<I>)
tleunen_eslint-import-resolver-babel-module
train
js
d4eb1a27f713737ba0614475fcf34eb68077d74b
diff --git a/src/Views.php b/src/Views.php index <HASH>..<HASH> 100644 --- a/src/Views.php +++ b/src/Views.php @@ -159,7 +159,7 @@ class Views $cacheKey = $this->makeCacheKey($this->period, $this->unique, $this->collection); - if ($this->shouldCache) { + if ($this->shouldCache()) { ...
refactor: add dedicated shouldCache method
cyrildewit_eloquent-viewable
train
php
0f3846563b524ee917f8b6870f7ac43b65e4affd
diff --git a/lib/beaker-pe/version.rb b/lib/beaker-pe/version.rb index <HASH>..<HASH> 100644 --- a/lib/beaker-pe/version.rb +++ b/lib/beaker-pe/version.rb @@ -3,7 +3,7 @@ module Beaker module PE module Version - STRING = '0.12.0' + STRING = '1.0.0' end end
(GEM) update beaker-pe version to <I>
puppetlabs_beaker-pe
train
rb
535374ca9f9c8cbbd10b8e9e04855be9cf1b2fad
diff --git a/js/webtrees-1.5.1.js b/js/webtrees-1.5.1.js index <HASH>..<HASH> 100644 --- a/js/webtrees-1.5.1.js +++ b/js/webtrees-1.5.1.js @@ -791,7 +791,11 @@ function valid_date(datefield) { if (datephrase != "") { datestr=datestr+" ("+datephrase; } - datefield.value=datestr; + // Only update it if is has been...
Don't move focus unnecessarily in date field in Chrome/IE
fisharebest_webtrees
train
js
964d88372d917e3b5d83e7556de9c51dd1fe418f
diff --git a/lib/arjdbc/jdbc/adapter.rb b/lib/arjdbc/jdbc/adapter.rb index <HASH>..<HASH> 100644 --- a/lib/arjdbc/jdbc/adapter.rb +++ b/lib/arjdbc/jdbc/adapter.rb @@ -298,13 +298,6 @@ module ActiveRecord @connection.disconnect! end - # @note Used on AR 2.3 and 3.0 - # @override - def in...
Remove #insert_sql from JdbcAdapter so that deprecation warnings are correct
jruby_activerecord-jdbc-adapter
train
rb
243f3d0f45bc010c727365e20ffb445b598b2af6
diff --git a/lib/barby.rb b/lib/barby.rb index <HASH>..<HASH> 100644 --- a/lib/barby.rb +++ b/lib/barby.rb @@ -8,6 +8,7 @@ require 'barby/barcode/code_39' require 'barby/barcode/code_93' require 'barby/barcode/ean_13' require 'barby/barcode/ean_8' +require 'barby/barcode/upc_supplemental' require 'barby/barcode/boo...
Load UPCSupplemental by default
toretore_barby
train
rb
c36e659af9f67436eb3d3967e5b644e169c404bb
diff --git a/lib/jsdom/browser/htmltodom.js b/lib/jsdom/browser/htmltodom.js index <HASH>..<HASH> 100644 --- a/lib/jsdom/browser/htmltodom.js +++ b/lib/jsdom/browser/htmltodom.js @@ -173,7 +173,7 @@ function setChild(parent, node) { try{ return parent.appendChild(newNode); }catch(err){ - currentDocument.r...
FIX: Remove err.name, it is useless.
jsdom_jsdom
train
js
3275a068e2ec98eb0e0c348f25991ea00355916c
diff --git a/src/actions/Action.php b/src/actions/Action.php index <HASH>..<HASH> 100644 --- a/src/actions/Action.php +++ b/src/actions/Action.php @@ -193,6 +193,23 @@ class Action extends \yii\base\Action } /** + * Returns text for flash messages, search in parent actions. + * Used by [[addFlash()]...
actions/Action - added getFlashText method
hiqdev_hipanel-core
train
php
500c4f6f7c24a85270f9fce82636ca22360e7dba
diff --git a/lib/espn/mapper.rb b/lib/espn/mapper.rb index <HASH>..<HASH> 100644 --- a/lib/espn/mapper.rb +++ b/lib/espn/mapper.rb @@ -127,6 +127,9 @@ module ESPN elsif args.size == 1 && sport?(args[0]) sport ||= args[0] league ||= '' + elsif !opts[:league].to_s.empty? + map = map_l...
updates #extract_sport_and_league
andrewpthorp_espn
train
rb,rb
3ff4fda08e0c976eb6903be917e0acc2c0e653b7
diff --git a/src/lib/Key.js b/src/lib/Key.js index <HASH>..<HASH> 100644 --- a/src/lib/Key.js +++ b/src/lib/Key.js @@ -74,7 +74,7 @@ class Key { // Construct buffer const data = new Nimiq.SerialBuffer(dataLength); data.writeUint8(Key.MSG_PREFIX_LENGTH); - data.write(Key.MSG_PREFIX); + ...
Move Nimiq lib usage into a function, not globally
nimiq_keyguard-next
train
js
919f9b522a26a9300b5322658ff6869e41ef1b0c
diff --git a/djangosaml2idp/views.py b/djangosaml2idp/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2idp/views.py +++ b/djangosaml2idp/views.py @@ -236,7 +236,7 @@ class SSOInitView(LoginRequiredMixin, IdPHandlerViewMixin, View): sign_assertion = self.IDP.config.getattr("sign_assertion", "idp") or F...
SAML fails when "InResponseTo" attribute is sent in the SAML response to Service Provider (such as Salesforce) (#<I>)
OTA-Insight_djangosaml2idp
train
py
04962887dd35fdfce2c40d4390d2a7fbe5f70b47
diff --git a/lib/simplecov/result.rb b/lib/simplecov/result.rb index <HASH>..<HASH> 100644 --- a/lib/simplecov/result.rb +++ b/lib/simplecov/result.rb @@ -60,7 +60,7 @@ module SimpleCov # Returns a hash representation of this Result that can be used for marshalling it into JSON def to_hash - {command_n...
Fix an accidentally inefficient hash filter
colszowka_simplecov
train
rb
f5bfa97f6ea0b79229c96fc28c740834e0c0f538
diff --git a/{{cookiecutter.project_slug}}/config/settings/local.py b/{{cookiecutter.project_slug}}/config/settings/local.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/config/settings/local.py +++ b/{{cookiecutter.project_slug}}/config/settings/local.py @@ -69,8 +69,10 @@ if env("USE_DOCKER") == "y...
Update {{cookiecutter.project_slug}}/config/settings/local.py
pydanny_cookiecutter-django
train
py