hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
5c3c2e064d4a1ca1ed5e9ef2840d8c3adf5e50a4
diff --git a/phono3py/cui/create_force_constants.py b/phono3py/cui/create_force_constants.py index <HASH>..<HASH> 100644 --- a/phono3py/cui/create_force_constants.py +++ b/phono3py/cui/create_force_constants.py @@ -118,7 +118,7 @@ def create_phono3py_force_constants(phono3py, set_permutation_symmetry_f...
Implemented logging for peformance measurement for creating fc3 from forces
atztogo_phono3py
train
e169adc40ccdc0ea3821ac9d6603591a6330fe9c
diff --git a/custodian/lobster/tests/test_jobs.py b/custodian/lobster/tests/test_jobs.py index <HASH>..<HASH> 100644 --- a/custodian/lobster/tests/test_jobs.py +++ b/custodian/lobster/tests/test_jobs.py @@ -93,8 +93,6 @@ class LobsterJobTest(unittest.TestCase): filegz = file+".gz" ...
update test_jobs.py for lobster
materialsproject_custodian
train
2005010ddb049f70e53a75946e75e05486144ee0
diff --git a/src/main/java/org/jboss/pressgang/ccms/model/base/AuditedEntity.java b/src/main/java/org/jboss/pressgang/ccms/model/base/AuditedEntity.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jboss/pressgang/ccms/model/base/AuditedEntity.java +++ b/src/main/java/org/jboss/pressgang/ccms/model/base/AuditedE...
Updated the code to include the revision number in the entity when using Envers.
pressgang-ccms_PressGangCCMSModel
train
427f251ab1003dba92dac653195a43640c026a0b
diff --git a/tests/fixtures/rules/custom-rule.js b/tests/fixtures/rules/custom-rule.js index <HASH>..<HASH> 100644 --- a/tests/fixtures/rules/custom-rule.js +++ b/tests/fixtures/rules/custom-rule.js @@ -5,7 +5,7 @@ module.exports = function(context) { return { "Identifier": function(node) { i...
Fix: Correct a typo in the error message in tests
eslint_eslint
train
5c1dcc0b65ea1f35286e472533e191db00d3c4e3
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -50,7 +50,7 @@ module.exports = function gruntfile(grunt) { browserify: { options: { browserifyOptions: { - standalone: 'vastPlayer' + ...
Export the VASTPlayer class as the main package module.
minznerjosh_vast-player
train
286e790e4b9244147e2a99e0f1a05ba121fbec88
diff --git a/js/jquery.fileupload-ui.js b/js/jquery.fileupload-ui.js index <HASH>..<HASH> 100644 --- a/js/jquery.fileupload-ui.js +++ b/js/jquery.fileupload-ui.js @@ -1,5 +1,5 @@ /* - * jQuery File Upload User Interface Plugin 6.6.2 + * jQuery File Upload User Interface Plugin 6.6.3 * https://github.com/blueimp/jQue...
Adjust the max number of files inside of the resize callback. Fixes #<I>.
blueimp_jQuery-File-Upload
train
dec0f75ab4b7f02de3877d2907afee0548f1f0f7
diff --git a/src/Acme/DemoBundle/Tests/Controller/DemoControllerTest.php b/src/Acme/DemoBundle/Tests/Controller/DemoControllerTest.php index <HASH>..<HASH> 100644 --- a/src/Acme/DemoBundle/Tests/Controller/DemoControllerTest.php +++ b/src/Acme/DemoBundle/Tests/Controller/DemoControllerTest.php @@ -10,7 +10,7 @@ class D...
Fixed bad url in DemoControllerTest::testIndex
symfony_symfony-standard
train
76091f308d5c52dca3911ecdc83cc0603ab3da92
diff --git a/lib/simple_worker/base.rb b/lib/simple_worker/base.rb index <HASH>..<HASH> 100644 --- a/lib/simple_worker/base.rb +++ b/lib/simple_worker/base.rb @@ -12,12 +12,14 @@ module SimpleWorker @merged = [] @merged_workers = [] @merged_gems = [] + @merged_mailers = [] @unmerged = [...
action mailer support (merge_mailer feature)
iron-io_iron_worker_ruby
train
ebc71e32f16e366a4a69bb0703740a9799519c50
diff --git a/vyper/opcodes.py b/vyper/opcodes.py index <HASH>..<HASH> 100644 --- a/vyper/opcodes.py +++ b/vyper/opcodes.py @@ -240,8 +240,8 @@ def _gas(value: OpcodeValue, idx: int) -> Optional[OpcodeRulesetValue]: def _mk_version_opcodes(opcodes: OpcodeMap, idx: int) -> OpcodeRulesetMap: return dict( - ...
typing: Black-caused mypy issue
ethereum_vyper
train
15b5a11ecd7cf4b83442ca0df161d74c9bdbc8e2
diff --git a/lib/classes/PluginManager.js b/lib/classes/PluginManager.js index <HASH>..<HASH> 100644 --- a/lib/classes/PluginManager.js +++ b/lib/classes/PluginManager.js @@ -510,7 +510,7 @@ class PluginManager { return _.flatMap([].concat(events), (event) => this.hooks[event] || []); } - invoke(commandsArra...
refactor: Refactor `pluginManager.invoke` to async/await
serverless_serverless
train
7a60dcf9b0043d81299bda4622a8c39bee8e1c5c
diff --git a/js/tests/unit/alert.spec.js b/js/tests/unit/alert.spec.js index <HASH>..<HASH> 100644 --- a/js/tests/unit/alert.spec.js +++ b/js/tests/unit/alert.spec.js @@ -20,7 +20,7 @@ describe('Alert', () => { }) describe('data-api', () => { - it('should close an alert without instantiate it manually', () =...
Corrected grammatical error in test descriptions (#<I>) "without instantiate it" should be "without instantiating it"
twbs_bootstrap
train
0e7011458274646f36e4c45797eb0285f129e1c9
diff --git a/base.php b/base.php index <HASH>..<HASH> 100644 --- a/base.php +++ b/base.php @@ -516,19 +516,15 @@ final class Base { * @param $detail bool **/ function stringify($arg,$detail=TRUE) { - $fw=$this; - $func=function($arg,$val) use($detail,$fw) { - return $arg===$val && !is_scalar($val)? - '*REC...
Bug fix: stringify() recursion (Issue #<I>)
bcosca_fatfree-core
train
bf4a041bb5ac57d63e25e84ebc27f62130861154
diff --git a/lib/SQL/Update.php b/lib/SQL/Update.php index <HASH>..<HASH> 100644 --- a/lib/SQL/Update.php +++ b/lib/SQL/Update.php @@ -46,13 +46,13 @@ class Update extends UpdateStatement { if(is_numeric($k)) { - $values[$v] = function($expr) use($sign, $v, $value){ + ...
Add type to param of closure.
opis_database
train
0dd399e1f61ab3002bdd14c7aeb11af43b7bf315
diff --git a/api/src/main/java/org/project/neutrino/nfvo/api/RestNetworkService.java b/api/src/main/java/org/project/neutrino/nfvo/api/RestNetworkService.java index <HASH>..<HASH> 100644 --- a/api/src/main/java/org/project/neutrino/nfvo/api/RestNetworkService.java +++ b/api/src/main/java/org/project/neutrino/nfvo/api/R...
added exception to RestNetworkService.java
openbaton_openbaton-client
train
a8795b53c38d0f1b8d23689fcb6c1d156becc6b1
diff --git a/salt/modules/rpmbuild_pkgbuild.py b/salt/modules/rpmbuild_pkgbuild.py index <HASH>..<HASH> 100644 --- a/salt/modules/rpmbuild_pkgbuild.py +++ b/salt/modules/rpmbuild_pkgbuild.py @@ -29,7 +29,7 @@ import salt.utils.user import salt.utils.vt # Import salt libs -from salt.exceptions import SaltInvocationE...
Updated for pre-commit and docs
saltstack_salt
train
5ea7292dc98de15d07e25a08c5a9d83f8428bf5e
diff --git a/Entity/Account.php b/Entity/Account.php index <HASH>..<HASH> 100644 --- a/Entity/Account.php +++ b/Entity/Account.php @@ -21,7 +21,7 @@ use PengarWin\DoubleEntryBundle\Model\AccountInterface; * @since 2014-10-08 * * @ORM\Entity - * @ORM\Table(name="double_entry_account") + * @ORM\Table(name="pengarw...
Prefixing table names with pengarwin_
phospr_CoreBundle
train
cca288faa6463e2abfd572612ff1209e8d1053c5
diff --git a/octodns/record/__init__.py b/octodns/record/__init__.py index <HASH>..<HASH> 100644 --- a/octodns/record/__init__.py +++ b/octodns/record/__init__.py @@ -417,6 +417,7 @@ class _ValueMixin(object): class _DynamicPool(object): + log = getLogger('_DynamicPool') def __init__(self, _id, data): ...
log warning when non-1 weight is set for single-value pools
github_octodns
train
626408e75d8cf3666fd3b33b948f2b583c24172e
diff --git a/edisgo/grid/connect.py b/edisgo/grid/connect.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/connect.py +++ b/edisgo/grid/connect.py @@ -219,7 +219,7 @@ def connect_lv_generators(network, allow_multiple_genos_per_load=True): lv_grid.graph.add_edge(geno, ...
fix line obj and type when adding new lines
openego_eDisGo
train
3ebbde01536d82f049e1f1af7e5bf0a7aa714a5d
diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js index <HASH>..<HASH> 100644 --- a/src/project/ProjectManager.js +++ b/src/project/ProjectManager.js @@ -218,6 +218,14 @@ define(function (require, exports, module) { /** * @private * @type {boolean} + * A flag to remember wh...
warn user when project has too many files, but only once per session
adobe_brackets
train
fda72fcb711eef04ef47fb41a75b7957dcf0d3b1
diff --git a/src/clappr-dash-shaka-playback.js b/src/clappr-dash-shaka-playback.js index <HASH>..<HASH> 100644 --- a/src/clappr-dash-shaka-playback.js +++ b/src/clappr-dash-shaka-playback.js @@ -308,8 +308,13 @@ class DashShakaPlayback extends HTML5Video { } _onError (err) { - Log.error('Shaka error event:',...
playback error: enhancing error data (add HTML5 Video error object) _onError method can be called by HTML5 video tag erros or Shaka Player internal errors. This change will always return/log all error data available.
clappr_dash-shaka-playback
train
667b35a5325b018fd1fd3eb60655ee028927a72a
diff --git a/src/BaseExtension.php b/src/BaseExtension.php index <HASH>..<HASH> 100644 --- a/src/BaseExtension.php +++ b/src/BaseExtension.php @@ -472,39 +472,11 @@ abstract class BaseExtension extends SimpleExtension } /** - * Add a menu option to the 'settings' menu. Note that the item is only added i...
Update/remove menu handling functions from BaseExtension
bolt_bolt
train
54523991a2147c5a7c4f1195dadeb3c6e9ab8e57
diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index <HASH>..<HASH> 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -12522,3 +12522,38 @@ resource "test_object" "a" { t.Fatalf("incorrect diagnostics, got %d values with %s", len(diags), diags.ErrWi...
test for invalid nil value during apply
hashicorp_terraform
train
2791a92f2c1cf438acfce8e6fc8e2ba19ad191c9
diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index <HASH>..<HASH> 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -610,6 +610,15 @@ func TestListMinions(t *testing.T) { c.Validate(t, response, err) } +func TestGetMinion(t *testing.T) { + c := &testClient{ + Request:...
Added a New test case for GetMinion
kubernetes_kubernetes
train
72e75c18e8aa6b2853166e653bed92956e6f22ed
diff --git a/go/test/endtoend/recovery/recovery_util.go b/go/test/endtoend/recovery/recovery_util.go index <HASH>..<HASH> 100644 --- a/go/test/endtoend/recovery/recovery_util.go +++ b/go/test/endtoend/recovery/recovery_util.go @@ -51,13 +51,10 @@ func RestoreTablet(t *testing.T, localCluster *cluster.LocalProcessCluste...
ok try with the flaky test
vitessio_vitess
train
3cca1bb9fc0bdf6a1ac2553af7bde8eb464025d3
diff --git a/malcolm/modules/scanning/parts/doubletriggerpart.py b/malcolm/modules/scanning/parts/doubletriggerpart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/scanning/parts/doubletriggerpart.py +++ b/malcolm/modules/scanning/parts/doubletriggerpart.py @@ -22,7 +22,7 @@ class DoubleTriggerPart(builtin.parts.C...
DoubleTriggerPart: fix typo due to renaming
dls-controls_pymalcolm
train
5b2ef868e7b3354dc4016dfeb28997d1b6549b2d
diff --git a/cmd2/argparse_custom.py b/cmd2/argparse_custom.py index <HASH>..<HASH> 100644 --- a/cmd2/argparse_custom.py +++ b/cmd2/argparse_custom.py @@ -111,7 +111,7 @@ def register_custom_actions(parser: argparse.ArgumentParser) -> None: # noinspection PyCompatibility,PyShadowingBuiltins,PyShadowingBuiltins -cl...
Renamed ACHelpFormatter to Cmd2HelpFormatter
python-cmd2_cmd2
train
ef8708a593aed9843aae8b445831329c6594a907
diff --git a/src/notifier.js b/src/notifier.js index <HASH>..<HASH> 100644 --- a/src/notifier.js +++ b/src/notifier.js @@ -804,50 +804,56 @@ Notifier.prototype.scope = _wrapNotifierFn(function(payloadOptions) { }); Notifier.prototype.wrap = function(f, context) { - var _this = this; - var ctxFn; - if (typeof con...
Fix issue with selenium throwing permission denied to access wrap
rollbar_rollbar.js
train
3cd6fef7bc60c6fc399d74e8cee6149f3d26a2ca
diff --git a/datatableview/static/js/datatableview.min.js b/datatableview/static/js/datatableview.min.js index <HASH>..<HASH> 100644 --- a/datatableview/static/js/datatableview.min.js +++ b/datatableview/static/js/datatableview.min.js @@ -1 +1 @@ -$(function(){var options_name_map={sortable:"bSortable",sorting:"aaSorti...
Updates minified js This minified version uses a stronger compression on the variable names, which cuts the size down by about an extra 1/3.
pivotal-energy-solutions_django-datatable-view
train
73c79dbccd6287e56a7fb924f78b9b73d3712184
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -51,7 +51,7 @@ def assert_pd(): def json_date_to_datetime(dateraw): - cy = datetime.isocalendar(date.today())[0] + cy = date.today().year try: newdate = datetime.strptime(datera...
Change method for getting current year for odate Mint.com returns transactions from the current year as a string without the year (i.e. 'Jan 1'). The function json_date_to_datetime() attempts to resolve this shortcoming by appending the current year. In certain scenarios at the start of a year the isocalendar functi...
mrooney_mintapi
train
0860e6d4d56a4f8a0077d69548b825cf01f387e8
diff --git a/include/image_frame_reflower.cls.php b/include/image_frame_reflower.cls.php index <HASH>..<HASH> 100644 --- a/include/image_frame_reflower.cls.php +++ b/include/image_frame_reflower.cls.php @@ -102,8 +102,9 @@ class Image_Frame_Reflower extends Frame_Reflower { if ( is_percent($width) ) { $t = ...
Images with a size in percents and a parent in pixels was not correctly sized (Fixes issue <I>) git-svn-id: <URL>
dompdf_dompdf
train
981e965e1f11288a8ad278a4925c1165a54f33f2
diff --git a/plexapi/library.py b/plexapi/library.py index <HASH>..<HASH> 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -565,6 +565,10 @@ class MovieSection(LibrarySection): TAG = 'Directory' TYPE = 'movie' + def collection(self, **kwargs): + """ Returns a list of collections from th...
Added class/libtype for collections and library search function
pkkid_python-plexapi
train
1655be59ade13cb56a18405e557ce610d14581ce
diff --git a/Classes/ViewHelpers/RawViewHelper.php b/Classes/ViewHelpers/RawViewHelper.php index <HASH>..<HASH> 100644 --- a/Classes/ViewHelpers/RawViewHelper.php +++ b/Classes/ViewHelpers/RawViewHelper.php @@ -23,18 +23,16 @@ namespace F3\Fluid\ViewHelpers; * ...
[~TASK] Fluid: The RawViewHelper now also inhibits escaping for viewhelpers nested inside it. Original-Commit-Hash: 7ef9c<I>fd6e<I>b<I>dd<I>b<I>a6b<I>
neos_fluid
train
c7a6933c7f828fe5af02130354fde004fd293ad2
diff --git a/mambuloan.py b/mambuloan.py index <HASH>..<HASH> 100644 --- a/mambuloan.py +++ b/mambuloan.py @@ -97,7 +97,7 @@ class MambuLoan(MambuStruct): for custom in self.attrs['customFieldValues']: custom['name'] = custom['customField']['name'] - prods = dict((v,k) for k,v in ...
refactor products dict, each value is now a dictionary holding more info on the product, other than just the key
jstitch_MambuPy
train
29663ae75d1eeed71b48e3d8f9aa543b3859afbb
diff --git a/Kwf/Model/Db.php b/Kwf/Model/Db.php index <HASH>..<HASH> 100644 --- a/Kwf/Model/Db.php +++ b/Kwf/Model/Db.php @@ -374,6 +374,7 @@ class Kwf_Model_Db extends Kwf_Model_Abstract private static function _getInnerDbModel2($model) { if ($model instanceof Kwf_Model_Db) return $model; + ...
UnionModel: Support Parent expression to union model in SQL
koala-framework_koala-framework
train
78b10ee0fb940d846c3aead4b06b1e4d8428d109
diff --git a/yfinance/base.py b/yfinance/base.py index <HASH>..<HASH> 100644 --- a/yfinance/base.py +++ b/yfinance/base.py @@ -75,7 +75,7 @@ class TickerBase(): def history(self, period="1mo", interval="1d", start=None, end=None, prepost=False, actions=True, auto_adjust=True, back...
Change rounding default in Ticker.history Rounding was described in comments as having a default of False, but the definition of the function has rounding set to True. Default in function definition was changed to False to stay consistent with comments
ranaroussi_fix-yahoo-finance
train
0cad2285499f851739ba95cc09d2f91648137afb
diff --git a/logger.go b/logger.go index <HASH>..<HASH> 100644 --- a/logger.go +++ b/logger.go @@ -36,6 +36,9 @@ import ( // logrus, go-logging, etc). The SimpleLogger adapts to the standard go log // package. type Logger interface { + // Enabled returns whether the given level is enabled. + Enabled(level LogLevel)...
Add Enabled() to Logger interface This will allow callers to check whether a specific level is enabled before logging.
uber_tchannel-go
train
f7083970700a4afe3c8248f6e61201693af7a529
diff --git a/tests/wrappers/test_response.py b/tests/wrappers/test_response.py index <HASH>..<HASH> 100644 --- a/tests/wrappers/test_response.py +++ b/tests/wrappers/test_response.py @@ -1,4 +1,8 @@ +from datetime import datetime, timezone + +import hypothesis.strategies as strategies import pytest +from hypothesis im...
Add date header testing This compliments be9f<I>ef<I>c3eef<I>d1bb9ad<I>b4 ensuring the functionality is tested.
pgjones_quart
train
8a823fb0bc92f2ab78d6660b0bdb0731c15509de
diff --git a/lib/utils.js b/lib/utils.js index <HASH>..<HASH> 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -20,7 +20,7 @@ module.exports = function (_uniq) { return _uniq(str.match(/\S+/g)); } - var alphaNumUnicode = xre('[^\\pN|\\pL|_]', 'g'); + var alphaNumUnicode = xre('[^\\pN|\\pL]', 'g'); ...
remove underscores in new full_process regex's
nol13_fuzzball.js
train
d4cdf3739bf822ac689379563ebbbfa404f3e7c9
diff --git a/src/frontend/org/voltdb/InternalConnectionHandler.java b/src/frontend/org/voltdb/InternalConnectionHandler.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltdb/InternalConnectionHandler.java +++ b/src/frontend/org/voltdb/InternalConnectionHandler.java @@ -198,7 +198,7 @@ public class InternalConn...
ENG-<I>: Kafka importer UAC system test scenario fails with short row count
VoltDB_voltdb
train
d9cbd05ff41996330f5ff710075d793d6f0638ef
diff --git a/src/se.jbee.inject/main/java/se/jbee/inject/Type.java b/src/se.jbee.inject/main/java/se/jbee/inject/Type.java index <HASH>..<HASH> 100644 --- a/src/se.jbee.inject/main/java/se/jbee/inject/Type.java +++ b/src/se.jbee.inject/main/java/se/jbee/inject/Type.java @@ -433,7 +433,7 @@ public final class Type<T> im...
correct Type.toString java name for raw types
jbee_silk
train
006f7cd65d53e1dae932897ede3aac97f6a252aa
diff --git a/lib/puppet/provider/service/smf.rb b/lib/puppet/provider/service/smf.rb index <HASH>..<HASH> 100644 --- a/lib/puppet/provider/service/smf.rb +++ b/lib/puppet/provider/service/smf.rb @@ -66,10 +66,10 @@ Puppet::Type.type(:service).provide :smf, :parent => :base do end def restartcmd - if Puppet::...
(PUP-<I>) Only use smf restart -s flag in Solaris <I> and up The synchronous `-s` flag for `smf restart` only exists in Solaris <I> and above. This commit ensures that we don't try to use it in older Solaris versions. See <URL>
puppetlabs_puppet
train
17e7370d67dd4820c2c3b3e2ee4307b182eddc2f
diff --git a/hazelcast/src/test/java/com/hazelcast/map/impl/nearcache/NearCacheLiteMemberTest.java b/hazelcast/src/test/java/com/hazelcast/map/impl/nearcache/NearCacheLiteMemberTest.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/test/java/com/hazelcast/map/impl/nearcache/NearCacheLiteMemberTest.java +++ b/hazelca...
Fix near cache lite member test The test first sends invalidation events to the lite member and then fills the near cache. If the invalidation events arrive after the near cache is filled, the test fails. This fix first fills the near cache and waits for the invalidation events to arrive before filling the near cache ...
hazelcast_hazelcast
train
82bdfcd083c470be702f990efd7338863828a783
diff --git a/pybar/fei4_run_base.py b/pybar/fei4_run_base.py index <HASH>..<HASH> 100644 --- a/pybar/fei4_run_base.py +++ b/pybar/fei4_run_base.py @@ -105,6 +105,7 @@ class Fei4RunBase(RunBase): self._starting_readout_event.clear() self._stopping_readout_event = Event() self._stopping_readout...
BUG: fix failing RX sync did not abort scan
SiLab-Bonn_pyBAR
train
f7929229c8c903d529df59aa3d83dffa25e17978
diff --git a/cmd/strelaysrv/main.go b/cmd/strelaysrv/main.go index <HASH>..<HASH> 100644 --- a/cmd/strelaysrv/main.go +++ b/cmd/strelaysrv/main.go @@ -99,7 +99,7 @@ func main() { flag.IntVar(&natRenewal, "nat-renewal", 30, "NAT renewal frequency in minutes") flag.IntVar(&natTimeout, "nat-timeout", 10, "NAT discover...
cmd/strelaysrv: Increase default strelaysrv network buffer size (fixes #<I>) (#<I>) Increases throughput at the cost of more memory per connection
syncthing_syncthing
train
d98bfdea3763a674fb7d1c73dee0c46abbe1a589
diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java index <HASH>..<HASH> 100644 --- a/spring-boot-actuator/src/main...
Make sure metricsExecutor is shutdown cleanly The default executor for publishing metrics was a single thread (native JDK) ExecutorService with a non-daemon thread. Changed it to a Spring-managed thread pool of size 1, which is then shutdown with e ApplicationContext automatically. Fixes gh-<I>
spring-projects_spring-boot
train
77ce2f4d4da3ea4ccb2810e2f0518734881aadb0
diff --git a/src/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java b/src/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java +++ b/src/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncode...
Add support for array packing in ETF
DV8FromTheWorld_JDA
train
d22e5bdd3f2c26c96fa0f55290ad6cb7d397a0f7
diff --git a/nianalysis/archive/xnat.py b/nianalysis/archive/xnat.py index <HASH>..<HASH> 100644 --- a/nianalysis/archive/xnat.py +++ b/nianalysis/archive/xnat.py @@ -254,9 +254,8 @@ class XNATSinkMixin(XNATMixin): missing_files.append(name) continue # skip the upload for this...
fixed up bug in XNAT sink when extension is None
MonashBI_arcana
train
a6b66fbc5fca459c3c2fd78fd47609cadaf36991
diff --git a/bin/translation.php b/bin/translation.php index <HASH>..<HASH> 100755 --- a/bin/translation.php +++ b/bin/translation.php @@ -40,13 +40,13 @@ echo 'File base: [' . $basefile . ']'. "\n"; switch($action) { case 'pulldef': - $content = file_get_contents($base . 'export.php?aid=' . $application . '&ty...
bin/translation.php: HTTP proxy support.
simplesamlphp_saml2
train
6e1df282c4a597bfb91f6ce2b6c077cf7d1c0194
diff --git a/test/tests/functional/cursor_tests.js b/test/tests/functional/cursor_tests.js index <HASH>..<HASH> 100644 --- a/test/tests/functional/cursor_tests.js +++ b/test/tests/functional/cursor_tests.js @@ -449,7 +449,10 @@ describe('Cursor tests', function() { it('Should finish cursor correctly after all sock...
test(cursor): temporarily disable broken test for osx
mongodb-js_mongodb-core
train
4cbd2453310fbab81bb2b011aab08365cc9062e1
diff --git a/ordered_set.py b/ordered_set.py index <HASH>..<HASH> 100644 --- a/ordered_set.py +++ b/ordered_set.py @@ -91,7 +91,7 @@ class OrderedSet(collections.MutableSet): `key` can be an iterable of entries, in which case this returns a list of indices. """ - if hasattr(key, '__ite...
python 3 compatibility: recognize that strings now have __iter__
LuminosoInsight_ordered-set
train
5686ca6034a926960539363c1252f7caa8f62f42
diff --git a/src/Parser/Block/LinkReferenceParser.php b/src/Parser/Block/LinkReferenceParser.php index <HASH>..<HASH> 100644 --- a/src/Parser/Block/LinkReferenceParser.php +++ b/src/Parser/Block/LinkReferenceParser.php @@ -41,7 +41,13 @@ class LinkReferenceParser extends AbstractBlockParser { $content->ha...
Ensure link references do not directly follow paragraphs.
fluxbb_commonmark
train
49a0cd09bc0db9bc0246c054b13a621f1350a30c
diff --git a/lib/ronin/network/http/proxy.rb b/lib/ronin/network/http/proxy.rb index <HASH>..<HASH> 100644 --- a/lib/ronin/network/http/proxy.rb +++ b/lib/ronin/network/http/proxy.rb @@ -19,6 +19,9 @@ # Boston, MA 02110-1301 USA # +require 'ronin/extensions/ip_addr' +require 'ronin/network/network' + module Roni...
Added #proxied_ip, #transparent? and #anonymous? to Network::HTTP::Proxy.
ronin-ruby_ronin-support
train
f87a8f5af582f47644d8ecc11a0b2234d2e09d99
diff --git a/src/Traits/Translatable.php b/src/Traits/Translatable.php index <HASH>..<HASH> 100644 --- a/src/Traits/Translatable.php +++ b/src/Traits/Translatable.php @@ -2,6 +2,7 @@ namespace TCG\Voyager\Traits; +use Exception; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations...
Throw Exception if request does not match with translatable attributes (#<I>) * Throw Exception if request input does not match with translatable field attributes * cs fix * cs fix
the-control-group_voyager
train
e7b4431b2829140cbd052e3e684b8f642a7ceb4e
diff --git a/src/org/jgroups/protocols/AsyncNoBundler.java b/src/org/jgroups/protocols/AsyncNoBundler.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/AsyncNoBundler.java +++ b/src/org/jgroups/protocols/AsyncNoBundler.java @@ -34,7 +34,12 @@ public class AsyncNoBundler extends NoBundler { public vo...
Replaced ERROR with TRACE log level for failed sends
belaban_JGroups
train
dac3a8e18d306c16d94c76ff7c7870f251a26188
diff --git a/web/cli/core.py b/web/cli/core.py index <HASH>..<HASH> 100644 --- a/web/cli/core.py +++ b/web/cli/core.py @@ -11,67 +11,34 @@ from marrow.script.util import wrap, partitionhelp from web import release -__all__ = ['ScriptCore'] -def discover(): - """List available templates.""" - - msg ...
Updated CLI interface to build the sub-commands at import time.
marrow_WebCore
train
dd63615fb60444cef7dc48317900e2b95b747ab5
diff --git a/src/sentry_plugins/gitlab/client.py b/src/sentry_plugins/gitlab/client.py index <HASH>..<HASH> 100644 --- a/src/sentry_plugins/gitlab/client.py +++ b/src/sentry_plugins/gitlab/client.py @@ -68,5 +68,5 @@ class GitLabClient(object): def list_project_members(self, repo): return self.request( ...
Show also members from the group, not only those who were directly assigned to project (#<I>)
getsentry_sentry-plugins
train
de38d4a2c81020487b1a194861b5271de55274cf
diff --git a/www/FileTransfer.js b/www/FileTransfer.js index <HASH>..<HASH> 100644 --- a/www/FileTransfer.js +++ b/www/FileTransfer.js @@ -21,8 +21,8 @@ var argscheck = require('cordova/argscheck'), exec = require('cordova/exec'), - FileTransferError = require('org.apache.cordova.core.FileTransfer.FileTransf...
Fix require paths that were broken by plugin id changes
apache_cordova-plugin-file-transfer
train
b7581a9d20f6b604280735825c1033f581ab5fc5
diff --git a/lib/Github/Api/Organization/Members.php b/lib/Github/Api/Organization/Members.php index <HASH>..<HASH> 100644 --- a/lib/Github/Api/Organization/Members.php +++ b/lib/Github/Api/Organization/Members.php @@ -44,11 +44,6 @@ class Members extends AbstractApi return $this->get('/orgs/'.rawurlencode($or...
refactor:Make addMember an alias of add Duplicate code existed for adding member to an organisation Under lib/Github/Api/Organisation/Members.php the addMember and add methods returned the exact same code and used the exact same arguments. With that in mind I made addMember an "alias" returning $this->add passing the...
KnpLabs_php-github-api
train
dafec4dce0d801735d7597dd8f9d0fb0965abb54
diff --git a/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/MaterialSheetFab.java b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/MaterialSheetFab.java index <HASH>..<HASH> 100644 --- a/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/MaterialSheetFab.java +++ b/mate...
#<I> Calling hideSheet() while the sheet is opening will wait until the sheet is shown and then hide it
gowong_material-sheet-fab
train
1e241adf0757d94f7d9d917b53f24dc0e5cc0a11
diff --git a/test/docs/test_autodispatcher.py b/test/docs/test_autodispatcher.py index <HASH>..<HASH> 100644 --- a/test/docs/test_autodispatcher.py +++ b/test/docs/test_autodispatcher.py @@ -160,7 +160,7 @@ class TestDispatcherDirective(unittest.TestCase): " >>> s = Dispatcher(name='Dispatcher')", ...
test(dsp_directive): Update test.
vinci1it2000_schedula
train
70015a2a2e5e981fa5079202c711da182152ae10
diff --git a/src/style/toggle.js b/src/style/toggle.js index <HASH>..<HASH> 100644 --- a/src/style/toggle.js +++ b/src/style/toggle.js @@ -1,37 +1,29 @@ 'use strict'; -import {extend} from "underscore"; - -const toggleWidth = 60; -const toggleHeight = 28; - -const optionHeight = toggleHeight; -const optionWidth = to...
refactor(Toggle): simplify styles
nikgraf_belle
train
5d0d373733a42d1b5b25716c8d11087debd62942
diff --git a/course/lib.php b/course/lib.php index <HASH>..<HASH> 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1728,7 +1728,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, // see the activity itself, or for staff) if (!$mod->uservisible) { ...
MDL-<I> Course page: Eye icon should override other conditions
moodle_moodle
train
2c35ab7d4d75de8589b3a35416f81896d0e58986
diff --git a/test/close.js b/test/close.js index <HASH>..<HASH> 100644 --- a/test/close.js +++ b/test/close.js @@ -1,8 +1,10 @@ var test = require('tap').test var fs$close = require('fs').close; -var fs = require('../') +var fs$closeSync = require('fs').closeSync; +var fs = require('../'); test('`close` is patched...
test closeSync is patched also
isaacs_node-graceful-fs
train
b94c0d9abfdfd0f36b7b389d5628b2b7aee53040
diff --git a/functionfs/gadget.py b/functionfs/gadget.py index <HASH>..<HASH> 100644 --- a/functionfs/gadget.py +++ b/functionfs/gadget.py @@ -353,7 +353,7 @@ class Gadget(object): try: with open(udc_path, 'w') as udc: udc.write(self.__udc) - except OSError as exc: + ...
functionfs.gadget: Also intercept IOErrors when attaching UDC to bus. I am getting an IOError in functionfs.tests.device with python<I> on Linux <I> using dummy_hcd with the default number of endpoints.
vpelletier_python-functionfs
train
f892d8d851ee02773306439f70af0843395eb9c4
diff --git a/session.go b/session.go index <HASH>..<HASH> 100644 --- a/session.go +++ b/session.go @@ -28,6 +28,9 @@ type Session interface { // RemoteAddr returns the net.Addr of the client side of the connection. RemoteAddr() net.Addr + // LocalAddr returns the net.Addr of the server side of the connection. + L...
Added LocalAddr() to session interface (#<I>)
gliderlabs_ssh
train
c8ca50b48328448d70c3f227dc7bb8d65a980f6b
diff --git a/container.go b/container.go index <HASH>..<HASH> 100644 --- a/container.go +++ b/container.go @@ -76,6 +76,15 @@ func ParseRun(args []string) (*Config, error) { if err := cmd.Parse(args); err != nil { return nil, err } + parsedArgs := cmd.Args() + runCmd := []string{} + image := "" + if len(parsedAr...
Fixed issue #<I> (docker crashes when docker run is called with not enough arguments)
containers_storage
train
91fceb401acd504bfb0f3c49f56f1f89e1a9f547
diff --git a/tests/functional/test_fish.py b/tests/functional/test_fish.py index <HASH>..<HASH> 100644 --- a/tests/functional/test_fish.py +++ b/tests/functional/test_fish.py @@ -2,19 +2,20 @@ import pytest from tests.functional.plots import with_confirmation, without_confirmation, \ refuse_with_confirmation, sel...
test_fish.py: use official python images, not ubuntu This should help reduce build times.
nvbn_thefuck
train
abffd17e9ad87db23fd5ffec14c5ac5362834ad0
diff --git a/core/src/main/java/net/automatalib/automata/spa/StackSPA.java b/core/src/main/java/net/automatalib/automata/spa/StackSPA.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/net/automatalib/automata/spa/StackSPA.java +++ b/core/src/main/java/net/automatalib/automata/spa/StackSPA.java @@ -57,10 +57,9 @...
cleanup StackSPA implementation * add early exit, if the main procedure is wrong * directly store procedure as DFA to omit map lookups
LearnLib_automatalib
train
ff619a0c78aae0b50f3a930f0663802f731282db
diff --git a/sharding-opentracing/src/main/java/io/shardingsphere/opentracing/listener/routing/RouteEventListener.java b/sharding-opentracing/src/main/java/io/shardingsphere/opentracing/listener/routing/RouteEventListener.java index <HASH>..<HASH> 100644 --- a/sharding-opentracing/src/main/java/io/shardingsphere/opentr...
#<I>, move Route under Overall span
apache_incubator-shardingsphere
train
9706e540375d270b8da04534a67d644c8aef1952
diff --git a/esda/adbscan.py b/esda/adbscan.py index <HASH>..<HASH> 100644 --- a/esda/adbscan.py +++ b/esda/adbscan.py @@ -420,7 +420,9 @@ def ensemble(solus_relabelled): counts = np.array(list(map(f, solus_relabelled.values))) winner = counts[:, 0] votes = counts[:, 1].astype(int) / solus_relabelled.sha...
if GeoSeries is missing, do something useful
pysal_esda
train
dd659631cad705f47ff5b777c664766481c13ebe
diff --git a/detox/test/e2e/a-sanity.js b/detox/test/e2e/a-sanity.js index <HASH>..<HASH> 100644 --- a/detox/test/e2e/a-sanity.js +++ b/detox/test/e2e/a-sanity.js @@ -1,13 +1,3 @@ -describe('Pre Sanity', function () { - - // purpose of this test is to avoid running reloadReactNativeApp on the first line - it('should ...
no need anymore for pre-sanity since we fixed the synchronization issues
wix_Detox
train
39cc98b80c6165639a25497ec36c11d10dfbf39e
diff --git a/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/configrepo/contract/CRBaseTest.java b/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin/access/configrepo/contract/CRBaseTest.java index <HASH>..<HASH> 100644 --- a/plugin-infra/go-plugin-access/test/com/thoughtworks/go/plugin...
#<I> config repo contract tests stop printing to stdout
gocd_gocd
train
cab567274691e0f39e88d49eb503efbe58d5042c
diff --git a/lib/puppet/type/group.rb b/lib/puppet/type/group.rb index <HASH>..<HASH> 100755 --- a/lib/puppet/type/group.rb +++ b/lib/puppet/type/group.rb @@ -1,6 +1,7 @@ require 'etc' require 'facter' +require 'puppet/property/keyvalue' module Puppet newtype(:group) do
(Maint) Fix uninitialized constant. err: Could not apply complete catalog: Could not autoload group: uninitialized constant Puppet::Property::KeyValue Encountered this while generating certificate requests via Puppet Strings/Faces, which doesn't load the full Puppet stack by default. Paired-With: Matt Robinson
puppetlabs_puppet
train
e2cf3df819c4fe9a6d68a348e626e7e647071a01
diff --git a/ruby/lib/helix_runtime/project.rb b/ruby/lib/helix_runtime/project.rb index <HASH>..<HASH> 100644 --- a/ruby/lib/helix_runtime/project.rb +++ b/ruby/lib/helix_runtime/project.rb @@ -49,7 +49,7 @@ module HelixRuntime end def native_lib - "#{libfile_prefix}#{name.sub('-', '_')}.#{Platform.li...
Fix incorrect native_lib name format bug For project name with more then one '-' using `sub` will only replace the first occurence. This cause `copy_native` to be failed due to `File.exist?` check failed. Use `gsub` instead to fix.
tildeio_helix
train
b63af84826bf5b0d496c00b7729c8739dfe75f06
diff --git a/array_split/unittest.py b/array_split/unittest.py index <HASH>..<HASH> 100644 --- a/array_split/unittest.py +++ b/array_split/unittest.py @@ -79,6 +79,25 @@ def _fix_docstring_for_sphinx(docstr): return "\n".join(lines) +def _fix_method_docstrings_for_sphinx(class_instance, list_of_attr_names): + ...
Correct array_split.unittest.TestCase docstrings for methods which generate sphinx warnings (rather than over-ride relevant methods).
array-split_array_split
train
dbcffe9245100958f54f340e7cf858ddc5e7e37d
diff --git a/core/server/web/shared/middlewares/image/handle-image-sizes.js b/core/server/web/shared/middlewares/image/handle-image-sizes.js index <HASH>..<HASH> 100644 --- a/core/server/web/shared/middlewares/image/handle-image-sizes.js +++ b/core/server/web/shared/middlewares/image/handle-image-sizes.js @@ -4,12 +4,1...
🐛 Handled trailing slashes in resized image URLs no issue - requests for resized images with a trailing slash would end up throwing a EISDIR error because it got through to writing an image buffer to a directory - we want to cut this off early and disallow trailing slashes
TryGhost_Ghost
train
ca1a517ff6fe2d6bfcc7509c5c52162f42befd14
diff --git a/exchangelib/properties.py b/exchangelib/properties.py index <HASH>..<HASH> 100644 --- a/exchangelib/properties.py +++ b/exchangelib/properties.py @@ -119,13 +119,6 @@ class EWSElement(object): raise AttributeError("%s are invalid kwargs for this class" % ', '.join("'%s'" % k for k in kwargs)) ...
Fix __setattr__ with registered fields __slots__ on a class cannot change runtime. Don't allow to update the cache either. Instead, when updating FIELDS, make sure to edit an attribute on the called class, not a parent class. This allows fixing __setattr__ to handle registered fields.
ecederstrand_exchangelib
train
d2687808fa5ee2a8eb53eae61d1f1c221dc70109
diff --git a/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java b/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/metadata/security/OSecurityShared....
Created default unique index against orole.name
orientechnologies_orientdb
train
f086033b0219a7fef9b2f76f18c68a1c1efe85d0
diff --git a/bmemcached/client/mixin.py b/bmemcached/client/mixin.py index <HASH>..<HASH> 100644 --- a/bmemcached/client/mixin.py +++ b/bmemcached/client/mixin.py @@ -28,6 +28,9 @@ class ClientMixin(object): :type pickler: function :param unpickler: Use this to replace the object deserialization mechanism. ...
Add doc notes about TLS context.
jaysonsantos_python-binary-memcached
train
4aa6f3ba8f849a78046a8beb36420690394663a4
diff --git a/lib/resources/resource.js b/lib/resources/resource.js index <HASH>..<HASH> 100644 --- a/lib/resources/resource.js +++ b/lib/resources/resource.js @@ -351,15 +351,26 @@ Resource.prototype._mountRelations = function () { self.app.all('/:id/' + mountName, function (req, res, next) { req.origin...
wait for model promise before proceeding to mounted relation
Everyplay_serverbone
train
aa34844f3b3c008c4d78a6e69cdd95a7e232ebb0
diff --git a/src/models/db.js b/src/models/db.js index <HASH>..<HASH> 100644 --- a/src/models/db.js +++ b/src/models/db.js @@ -274,20 +274,6 @@ module.exports = config => { }); } - // The spec does not specifically mention this, but in order to avoid - // confussion, we forbid the case where...
[Issue #<I>] Removing invalid comment (#<I>)
mozilla-sensorweb_sensorthings
train
95bc4077b24f2adece83956f0490b80f5a2ae14e
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -117,7 +117,8 @@ class Assembly(object): # storing supercatg file self.clust_database = "" - self.database = "" + self.snps_database...
replaced core.Assembly.database which actually wasn't doing anything with snps_database and seqs_database to retain info about the hdf5 files in the assembly object
dereneaton_ipyrad
train
8e24bfe7e8567022008494c714a508d3db11ff0f
diff --git a/mod/data/backuplib.php b/mod/data/backuplib.php index <HASH>..<HASH> 100644 --- a/mod/data/backuplib.php +++ b/mod/data/backuplib.php @@ -231,6 +231,8 @@ function backup_data_comments($bf,$preferences,$recordid){ fwrite ($bf,full_tag("RECORDID",8,false,$com_sub->recordid)); fwrite...
adding date created and date modified for comments
moodle_moodle
train
48b8d72ba46b6c3194a627f2076732de16a4772b
diff --git a/src/org/jgroups/protocols/UDP.java b/src/org/jgroups/protocols/UDP.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/UDP.java +++ b/src/org/jgroups/protocols/UDP.java @@ -38,7 +38,7 @@ import java.util.*; * input buffer overflow, consider setting this property to true. * </ul> * @autho...
replaced size() > 0 with isEmpty()
belaban_JGroups
train
49db140943b89d57e27667b57952582c32b705ff
diff --git a/th_todoist/my_todoist.py b/th_todoist/my_todoist.py index <HASH>..<HASH> 100644 --- a/th_todoist/my_todoist.py +++ b/th_todoist/my_todoist.py @@ -29,7 +29,7 @@ from django_th.services.services import ServicesMgr logger = getLogger('django_th.trigger_happy') -cache = caches['th_todoist'] +cache = cache...
Replaced cache variable REPLACED: cache = caches['th_<service>'] With cache = caches['django_th']
push-things_django-th
train
2ab0c8e22298ac241d7f97e71d9c1f2c97feff9a
diff --git a/core/server/services/url/UrlGenerator.js b/core/server/services/url/UrlGenerator.js index <HASH>..<HASH> 100644 --- a/core/server/services/url/UrlGenerator.js +++ b/core/server/services/url/UrlGenerator.js @@ -15,6 +15,12 @@ const _ = require('lodash'), }, { key: 'authors', replaceme...
🐛 Fixed filtering by primary_tag or primary_author in routes.yaml closes #<I> - the mapping was missing
TryGhost_Ghost
train
8c194222d7da42fa942bdaa0f36204aff67a3e16
diff --git a/source/Net/Bazzline/Component/Curl/Request.php b/source/Net/Bazzline/Component/Curl/Request.php index <HASH>..<HASH> 100644 --- a/source/Net/Bazzline/Component/Curl/Request.php +++ b/source/Net/Bazzline/Component/Curl/Request.php @@ -211,11 +211,12 @@ class Request */ private function execute($u...
covered Request::get() and Request::delete() with unit test
bazzline_php_component_curl
train
77cc239e9ec84f4205c50193e0f4b32bc29245d0
diff --git a/source/scripts/responsive-lazyload.test.js b/source/scripts/responsive-lazyload.test.js index <HASH>..<HASH> 100644 --- a/source/scripts/responsive-lazyload.test.js +++ b/source/scripts/responsive-lazyload.test.js @@ -6,7 +6,7 @@ let image = false; describe('enables lazy loading of images', () => { bef...
test: add tests for load handlers
jlengstorf_responsive-lazyload.js
train
750a7440f1d62722a19f4625b8860d4352245691
diff --git a/lib/Adapter/WorseReflection/Refactor/WorseGenerateAccessor.php b/lib/Adapter/WorseReflection/Refactor/WorseGenerateAccessor.php index <HASH>..<HASH> 100644 --- a/lib/Adapter/WorseReflection/Refactor/WorseGenerateAccessor.php +++ b/lib/Adapter/WorseReflection/Refactor/WorseGenerateAccessor.php @@ -48,15 +48...
A bit of cleanup and renaming
phpactor_code-transform
train
b1e012447a564a43e05399fac22f932cf98e17da
diff --git a/lib/wechat/responder.rb b/lib/wechat/responder.rb index <HASH>..<HASH> 100644 --- a/lib/wechat/responder.rb +++ b/lib/wechat/responder.rb @@ -7,8 +7,14 @@ module Wechat include Cipher included do - skip_before_filter :verify_authenticity_token - before_filter :verify_signature, only: ...
Rails 5 remove before_filter and skip_before_filter, but Rails 3 only have *_filter.
Eric-Guo_wechat
train
1b91d428f07aa3dc873e3aae41a00ac6f6c78d58
diff --git a/src/packet/signature.js b/src/packet/signature.js index <HASH>..<HASH> 100644 --- a/src/packet/signature.js +++ b/src/packet/signature.js @@ -163,13 +163,8 @@ Signature.prototype.sign = async function (key, data, detached = false, streamin } const arr = [new Uint8Array([this.version, signatureType, p...
Also create issuer fingerprint subpacket for v4 keys (#<I>) Do not limit creation of signatures with issuer fingerprint subpacket to v5 keys.
openpgpjs_openpgpjs
train
38349eb302a00899ca3506bf0660d9ac092fd8c5
diff --git a/pymc3/distributions/continuous.py b/pymc3/distributions/continuous.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/continuous.py +++ b/pymc3/distributions/continuous.py @@ -23,7 +23,7 @@ import numpy as np from aesara.assert_op import Assert from aesara.tensor.random.basic import ( - beta, ...
Refactor Beta to use custom rng_fn clipped_beta_rv
pymc-devs_pymc
train
96045b5ff292019b507c990d5b717b5a2a3db64b
diff --git a/lib/media/media_source_engine.js b/lib/media/media_source_engine.js index <HASH>..<HASH> 100644 --- a/lib/media/media_source_engine.js +++ b/lib/media/media_source_engine.js @@ -388,10 +388,17 @@ shaka.media.MediaSourceEngine.prototype.clear = function(contentType) { if (contentType == 'text') { re...
Flush Chromecast pipeline after clearing buffer To work around a bug in Chromecast, seek after clearing the buffer. This forces the device to flush the pipeline and remove any decoded data from the old representation. Closes #<I> Change-Id: I3c<I>d<I>bfd<I>b<I>a<I>fc<I>ce<I>bb
google_shaka-player
train
dc13a08731a6ef974eed18e2a2cc5acc242458b8
diff --git a/src/parse/utils/cleanup.js b/src/parse/utils/cleanup.js index <HASH>..<HASH> 100644 --- a/src/parse/utils/cleanup.js +++ b/src/parse/utils/cleanup.js @@ -5,8 +5,10 @@ import trimWhitespace from './trimWhitespace'; let contiguousWhitespace = /[ \t\f\r\n]+/g; let preserveWhitespaceElements = /^(?:pre|scr...
Trim leading/trailing line break inside all elements (fixes #<I>)
ractivejs_ractive
train
3803d46526db1cae94edd72a66aca955ecdb2fb7
diff --git a/querydsl-maven-plugin/src/test/java/com/querydsl/maven/GenericExporterMojoTest.java b/querydsl-maven-plugin/src/test/java/com/querydsl/maven/GenericExporterMojoTest.java index <HASH>..<HASH> 100644 --- a/querydsl-maven-plugin/src/test/java/com/querydsl/maven/GenericExporterMojoTest.java +++ b/querydsl-mave...
correctly add test sources in mojo tests
querydsl_querydsl
train
3c6d7925aebea9bdf3e66f7b586126cb5f1d90d7
diff --git a/controller/api/views.py b/controller/api/views.py index <HASH>..<HASH> 100644 --- a/controller/api/views.py +++ b/controller/api/views.py @@ -26,7 +26,7 @@ from rest_framework.response import Response from api import docker, models, serializers from .exceptions import BuildFormationError, UserRegistratio...
import from django.conf instead you should always import from django.conf rather than importing from the local package. That way, things like the @override_settings decorator in Django <I> will work.
deis_deis
train
303af63ec924bff413fb50c84303c35f4c918c3a
diff --git a/pkg/cloudprovider/providers/azure/azure_vmss.go b/pkg/cloudprovider/providers/azure/azure_vmss.go index <HASH>..<HASH> 100644 --- a/pkg/cloudprovider/providers/azure/azure_vmss.go +++ b/pkg/cloudprovider/providers/azure/azure_vmss.go @@ -291,8 +291,6 @@ func (ss *scaleSet) GetPrimaryVMSetName() string { }...
Get public IP for Azure vmss nodes This is required for getting public IP when --public-ip-per-vm (publicIpAddressConfiguration) is enabled for vmss.
kubernetes_kubernetes
train
c549cee25966e0518cca064e6de1c40ddc27f4b9
diff --git a/argo.js b/argo.js index <HASH>..<HASH> 100644 --- a/argo.js +++ b/argo.js @@ -188,7 +188,7 @@ Argo.prototype.build = function() { // response ender that.builder.use(function(handle) { handle('response', { affinity: 'sink' }, function(env, next) { - if (env.response.body) { + if (env.re...
Fixing bug in response ender, empty strings now acceptable.
argo_argo
train
58712e55166f0a7f34b5c93bd7d00fcaf3e20833
diff --git a/LoVullo/Sniffs/Whitespace/FunctionSpacingSniff.php b/LoVullo/Sniffs/Whitespace/FunctionSpacingSniff.php index <HASH>..<HASH> 100644 --- a/LoVullo/Sniffs/Whitespace/FunctionSpacingSniff.php +++ b/LoVullo/Sniffs/Whitespace/FunctionSpacingSniff.php @@ -124,7 +124,8 @@ class LoVullo_Sniffs_Whitespace_FunctionS...
T_DOC_COMMENT has been replaced, fix sniff <URL>
lovullo_phpqaconfig
train
91c931273ca2a09fb5023d81faad80e40f489404
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ production-ready Django projects quickly. *These features can be enabled during initial project setup.* - Serve static files from Amazon S3, Google Cloud Storage or [Whitenoise](https://whitenoise.read...
Update domain for Celery docs (#<I>)
pydanny_cookiecutter-django
train