hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
59319bf93809f84be95893771deb387db3a34cc7
diff --git a/lib/ruby-lint/analyze/definitions.rb b/lib/ruby-lint/analyze/definitions.rb index <HASH>..<HASH> 100644 --- a/lib/ruby-lint/analyze/definitions.rb +++ b/lib/ruby-lint/analyze/definitions.rb @@ -42,9 +42,9 @@ module RubyLint # individually. @options[:definitions] = Definition::RubyObject.n...
Fix for loading Kernel by default. The Kernel constant would not be loaded by default when building the list of definitions due to the use of a removed option.
YorickPeterse_ruby-lint
train
02eea8e63b7a9007b3f26efdf600f91cf92af239
diff --git a/app.py b/app.py index <HASH>..<HASH> 100644 --- a/app.py +++ b/app.py @@ -3,6 +3,7 @@ import sys import time import logging +from datetime import datetime import c4r # Lib to send and receive commands from c4r.cpu_temperature import CpuTemperature from c4r.ds18b20 import DS18b20 @@ -25,7 +26,7 @@ c4...
Fixed: Long response from device on button widget pressed
cloud4rpi_cloud4rpi
train
eff6f16bc23643592dc9c249d38a9f6b80b4fcf1
diff --git a/sql_metadata/parser.py b/sql_metadata/parser.py index <HASH>..<HASH> 100644 --- a/sql_metadata/parser.py +++ b/sql_metadata/parser.py @@ -1,6 +1,7 @@ """ This module provides SQL query parsing functions """ +import logging import re from typing import Dict, List, Optional, Tuple, Union @@ -29,6 +30,...
query_type: log queries of unsupported type
macbre_sql-metadata
train
3402233ad85a34eed65391e9dc35a9e10a08a3be
diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst index <HASH>..<HASH> 100644 --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -375,6 +375,7 @@ MultiIndex ^^^^^^^^^^ - Bug in :meth:`DataFrame.xs` when used with :class:`IndexSlice` raises ``TypeError`` with mess...
Closes #<I> (BUG: ValueError: cannot convert float NaN to integer when resetting MultiIndex with NaT values) (#<I>)
pandas-dev_pandas
train
6fc68c98ca23eb6ba5115eaa1ee544db0a2be358
diff --git a/ros_buildfarm/devel_job.py b/ros_buildfarm/devel_job.py index <HASH>..<HASH> 100644 --- a/ros_buildfarm/devel_job.py +++ b/ros_buildfarm/devel_job.py @@ -183,7 +183,8 @@ def configure_devel_job( jenkins=None, views=None, is_disabled=False, groovy_script=None, - source_repo...
Use all release targets for pre-releases (fixes #<I>) - Add an extra option to configure_devel_job() to accept explicit build_targets (None by default) - For pre-release jobs, read all corresponding Release build config files , merge all the build_target and then pass these targets to configure_devel_job() t...
ros-infrastructure_ros_buildfarm
train
1fc7a15bcc790ab056acad2b3e18dfafcc63d569
diff --git a/test/test_knod.rb b/test/test_knod.rb index <HASH>..<HASH> 100644 --- a/test/test_knod.rb +++ b/test/test_knod.rb @@ -10,27 +10,31 @@ Thread.new do $knod.start end +def parse_json_file(file) + JSON.parse(File.read(file), symbolize_names: true) +end + describe Knod, "a tiny http server" do let(:c...
[REFACTOR] port PUT tests over to Spec
moserrya_knod
train
1879fecda7b4b2a37bcd54e31641c2dab2721751
diff --git a/sdl/audio.go b/sdl/audio.go index <HASH>..<HASH> 100644 --- a/sdl/audio.go +++ b/sdl/audio.go @@ -1,6 +1,16 @@ package sdl -// #include "sdl_wrapper.h" +/* +#include "sdl_wrapper.h" + +#if !(SDL_VERSION_ATLEAST(2,0,4)) +#pragma message("SDL_QueueAudio is not supported before SDL 2.0.4") +static int SDL_...
sdl: audio: add stub function for SDL_QueueAudio when using SDL2 with version prior to <I>
veandco_go-sdl2
train
4bc1ceae091aabdbf018991901cf7450866412c5
diff --git a/nyamuk/nyamuk_const.py b/nyamuk/nyamuk_const.py index <HASH>..<HASH> 100644 --- a/nyamuk/nyamuk_const.py +++ b/nyamuk/nyamuk_const.py @@ -1,8 +1,6 @@ ''' -@author Iwan Budi Kusnanto -''' -''' MQTT Constanta +@author Iwan Budi Kusnanto ''' UNKNOWN_VAL = -1 @@ -16,7 +14,9 @@ CS_DISCONNECTING = 2 #so...
change default value of keepalive to <I> second
iwanbk_nyamuk
train
743a273514d95e93eb425b5dfcb38c4c409b3423
diff --git a/vcs/backends/base.py b/vcs/backends/base.py index <HASH>..<HASH> 100644 --- a/vcs/backends/base.py +++ b/vcs/backends/base.py @@ -174,11 +174,8 @@ class BaseRepository(object): repo.get_changesets(start='0e29922030fe',end='433b0cf2983a') """ - if isinstance(i, basestring) and...
fixed some error cases, get_changeset always will validate start, and end
codeinn_vcs
train
09832188d7e71bd27137e66c560cc0385fb4c031
diff --git a/src/Guzzle6Promise.php b/src/Guzzle6Promise.php index <HASH>..<HASH> 100644 --- a/src/Guzzle6Promise.php +++ b/src/Guzzle6Promise.php @@ -55,11 +55,11 @@ class Guzzle6Promise implements Promise return $response; }, function ($reason) use ($request) { + $this->state = self...
Set state to rejected when the rejection callback is called
php-http_guzzle6-adapter
train
83e67203e1d68baf1b87030dd34a760ec383a4e9
diff --git a/cmd/analyze.go b/cmd/analyze.go index <HASH>..<HASH> 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -94,8 +94,7 @@ func analyzeImage(imageArg string, analyzerArgs []string) error { outputResults(analyses) if save { - dir, _ := os.Getwd() - glog.Infof("Image was saved at %s as %s", dir, image.F...
Run tests in parallel, dont use working dir This changes the CloudPrepper to not store intermediate artifacts in the current directory, allowing the tests to be ran in parallel.
GoogleContainerTools_container-diff
train
0a0990485e5c1fd4b4fdcce7f7723d9e0a9dd16d
diff --git a/src/fx.js b/src/fx.js index <HASH>..<HASH> 100644 --- a/src/fx.js +++ b/src/fx.js @@ -126,7 +126,7 @@ jQuery.fn.extend({ }, queue: function(type, fn){ - if ( jQuery.isFunction(type) ) { + if ( jQuery.isFunction(type) || ( type && type.constructor == Array )) { fn = type; type = "fx"; } ...
Fixed #<I> bug where queue() didn't always default to type 'fx'.
jquery_jquery
train
0a5680a1d96b6060d68c4e37dace6da7ddcb2035
diff --git a/ast_test.go b/ast_test.go index <HASH>..<HASH> 100644 --- a/ast_test.go +++ b/ast_test.go @@ -1135,6 +1135,49 @@ func Test_fieldsNames(t *testing.T) { } +func TestSources_Names(t *testing.T) { + sources := influxql.Sources{ + &influxql.Measurement{ + Name: "cpu", + }, + &influxql.Measurement{ + ...
Improved influxql package code coverage to <I>%
influxdata_influxql
train
8c49c2dc063bb093ca5a44709b8d2c202b43d58d
diff --git a/lib/agent/actions.js b/lib/agent/actions.js index <HASH>..<HASH> 100644 --- a/lib/agent/actions.js +++ b/lib/agent/actions.js @@ -117,7 +117,7 @@ actions.start = function(id, name, opts, cb) { start('action', id, name, opts, cb); } -// agregar lo del opts para el response +// TODO: agregar lo del opt...
Update lib/agent/actions.js
prey_prey-node-client
train
4e28a8bbaef5a33ff84a113b8ae93c53dc456e37
diff --git a/lib/yap/world.rb b/lib/yap/world.rb index <HASH>..<HASH> 100644 --- a/lib/yap/world.rb +++ b/lib/yap/world.rb @@ -129,7 +129,17 @@ module Yap evaluation.evaluate(statement) do |command, stdin, stdout, stderr, wait| context.clear_commands context.add_command_to_run command, st...
Update Yap::World#shell to always return an execution result.
zdennis_yap-shell-core
train
d04a91344b79faa451cc0d9e201d9bbad12a93eb
diff --git a/isort/pie_slice.py b/isort/pie_slice.py index <HASH>..<HASH> 100644 --- a/isort/pie_slice.py +++ b/isort/pie_slice.py @@ -451,6 +451,8 @@ if sys.version_info < (3, 2): from functools import wraps + _CacheInfo = collections.namedtuple("CacheInfo", "hits misses maxsize currsize") + def lru_c...
Add the previously undefined _CacheInfo
timothycrosley_isort
train
191a4760f96b3ce4a05b1281e3b46079434745a2
diff --git a/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/DefaultOAuth2AuthorizationRequestResolver.java b/oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/web/DefaultOAuth2AuthorizationRequestResolver.java index <HASH>..<HASH> 100644 --- a/oauth2/oauth2...
Fix DefaultOAuth2AuthorizationRequestResolver baseUrl excludes queryParams To create redirect_uri in DefaultOAuth2AuthorizationRequestResolver, queryParam is included in the current request-based baseUrl. So when binding to the redirectUriTemplate, the wrong type of redirect_uri may be created. Fixes gh-<I>
spring-projects_spring-security
train
f40473fb547802663098f159fe540743663445cb
diff --git a/pylint/lint.py b/pylint/lint.py index <HASH>..<HASH> 100644 --- a/pylint/lint.py +++ b/pylint/lint.py @@ -934,16 +934,16 @@ class PyLinter( if not self.config.reports: self.disable_reporters() # get needed checkers - neededcheckers = [self] + needed_checkers = [...
[pylint.lint] Rename neededcheckers to needed_checkers
PyCQA_pylint
train
ce61d80c43e0dabdd7af19db932016d2488a2260
diff --git a/src/StreamrClient.js b/src/StreamrClient.js index <HASH>..<HASH> 100644 --- a/src/StreamrClient.js +++ b/src/StreamrClient.js @@ -1,6 +1,7 @@ import EventEmitter from 'eventemitter3' import { Wallet } from '@ethersproject/wallet' -import { getDefaultProvider, JsonRpcProvider } from '@ethersproject/provid...
re-add getAddress, getSigner, getSidechainSigner to StreamrClient these are needed in DataUnionEndpoints, but they certainly need a better place in code...
streamr-dev_streamr-client-javascript
train
c45cb2aaa5c3c592c0e631292a18c300070867cc
diff --git a/src/main/java/org/craftercms/engine/controller/rest/RestScriptsController.java b/src/main/java/org/craftercms/engine/controller/rest/RestScriptsController.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/craftercms/engine/controller/rest/RestScriptsController.java +++ b/src/main/java/org/craftercms...
Fixed small issue where ScriptNotFoundException was not thrown if a REST script didn't exist.
craftercms_engine
train
9320a4a5a794edea1b033700dacef9f92ad295f4
diff --git a/grails-core/src/main/groovy/grails/boot/config/GrailsApplicationPostProcessor.groovy b/grails-core/src/main/groovy/grails/boot/config/GrailsApplicationPostProcessor.groovy index <HASH>..<HASH> 100644 --- a/grails-core/src/main/groovy/grails/boot/config/GrailsApplicationPostProcessor.groovy +++ b/grails-cor...
Ensure plugin artefacts are registered in reverse order due to them always being added as the first item in the list. Also ensure plugin artefacts are registered before application artefacts, thus allowing overriding. Fixes #<I>
grails_grails-core
train
373262efae9bd9b4a914d11f819e0dd7a06a4be0
diff --git a/src/js/base/Context.js b/src/js/base/Context.js index <HASH>..<HASH> 100644 --- a/src/js/base/Context.js +++ b/src/js/base/Context.js @@ -110,6 +110,7 @@ export default class Context { this.layoutInfo.editable.attr('contenteditable', true); this.invoke('toolbar.activate', true); this.trigger...
Fix airMode Menu from appearing when disabled.
summernote_summernote
train
e63532c0c55908e0a097ea0f668e79a7961f4089
diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java index <HASH>..<HASH> 100644 --- a/src/org/jgroups/protocols/TP.java +++ b/src/org/jgroups/protocols/TP.java @@ -46,7 +46,7 @@ import java.util.concurrent.locks.ReentrantLock; * The {@link #receive(Address, byte[], int, int)} method mus...
set bundler_type to "new" by default
belaban_JGroups
train
94cfe39a766339322ff435d356673c5191b13c4f
diff --git a/packer/build.go b/packer/build.go index <HASH>..<HASH> 100644 --- a/packer/build.go +++ b/packer/build.go @@ -91,4 +91,5 @@ func (b *coreBuild) Run(ui Ui) Artifact { // Cancels the build if it is running. func (b *coreBuild) Cancel() { + b.builder.Cancel() } diff --git a/packer/build_test.go b/packer/...
packer: coreBuild.Cancel calls the builder Cancel method
hashicorp_packer
train
7a100966083139d014298191f5b5631943cc534c
diff --git a/src/sad_spirit/pg_wrapper/Connection.php b/src/sad_spirit/pg_wrapper/Connection.php index <HASH>..<HASH> 100644 --- a/src/sad_spirit/pg_wrapper/Connection.php +++ b/src/sad_spirit/pg_wrapper/Connection.php @@ -73,15 +73,11 @@ class Connection } /** - * Prevents cloning the Connection object...
Allow Connection cloning, but force clone to reconnect to DB
sad-spirit_pg-wrapper
train
d489169339c1a72f0f5d01225bde97c53daf33dc
diff --git a/http.promise.js b/http.promise.js index <HASH>..<HASH> 100644 --- a/http.promise.js +++ b/http.promise.js @@ -23,9 +23,14 @@ module.exports = (function wrapRequest(request, defaultOpts){ : request[method].bind(request); }); - HTTP.error = require('./http.error'); HTTP.defaults = ...
Prevent error property from being tampered with
jcready_http-as-promised
train
7e265d7a704c11e24072e1b0355b1f3c755fe857
diff --git a/test/test.rb b/test/test.rb index <HASH>..<HASH> 100644 --- a/test/test.rb +++ b/test/test.rb @@ -75,7 +75,7 @@ class RubikonTests < Test::Unit::TestCase setup do @app = RubikonTestApp - @ostream = Tempfile.new 'rubikon_test_ostream' + @ostream = StringIO.new @app.set :ostrea...
Use StringIO instead of Tempfile for testing
koraktor_rubikon
train
7985db3fe555d07e3cc88ce568d58c5cfa8cc460
diff --git a/addons/Dexie.Observable/src/Dexie.Observable.js b/addons/Dexie.Observable/src/Dexie.Observable.js index <HASH>..<HASH> 100644 --- a/addons/Dexie.Observable/src/Dexie.Observable.js +++ b/addons/Dexie.Observable/src/Dexie.Observable.js @@ -747,7 +747,7 @@ function promisableChain(f1, f2) { // Observable...
Reverting to the use of old name of class Events so that we can publish addons before publishing dexie.
dfahlander_Dexie.js
train
6a00f2ceee3e7aa1225e5534b39bad1ceaa6293c
diff --git a/packages/teraslice/lib/cluster/services/cluster/backends/kubernetes/index.js b/packages/teraslice/lib/cluster/services/cluster/backends/kubernetes/index.js index <HASH>..<HASH> 100644 --- a/packages/teraslice/lib/cluster/services/cluster/backends/kubernetes/index.js +++ b/packages/teraslice/lib/cluster/ser...
move nonEmptyList to k8s.js and test I wanted to make sure that I was able to test the empty list case in this. So I moved this down to the k8s class.
terascope_teraslice
train
02fcbff9729745e35e159605ebb55c44847b3470
diff --git a/src/controllers/PluginController.php b/src/controllers/PluginController.php index <HASH>..<HASH> 100644 --- a/src/controllers/PluginController.php +++ b/src/controllers/PluginController.php @@ -17,6 +17,7 @@ use craft\helpers\Json; use craft\helpers\MigrationHelper; use craft\helpers\UrlHelper; use craf...
Fix content table checker/fix incorrectly finding issues with Matrix nested Super Table fields in project config
verbb_super-table
train
318d9c7f8f5434bdff37ddae6bfd7b03b7e1dede
diff --git a/ci/docker/install/requirements b/ci/docker/install/requirements index <HASH>..<HASH> 100644 --- a/ci/docker/install/requirements +++ b/ci/docker/install/requirements @@ -26,8 +26,8 @@ h5py==2.8.0rc1 mock==2.0.0 nose==1.3.7 nose-timer==0.7.3 -numpy>1.16.0,<2.0.0 +numpy>1.16.0,<1.18.0 pylint==2.3.1; pyth...
Fix reshape interoperability test (#<I>) * fix reshape interoperability test * fix for scipy import
apache_incubator-mxnet
train
ffc34ebc2da99e36391d3920bdb401f26023bb39
diff --git a/src/Providers/Html.php b/src/Providers/Html.php index <HASH>..<HASH> 100644 --- a/src/Providers/Html.php +++ b/src/Providers/Html.php @@ -68,6 +68,15 @@ class Html extends Provider implements ProviderInterface /** * {@inheritdoc} */ + public function getTags() + { + return $th...
realization of get tags for html provider
oscarotero_Embed
train
edf7bf10a74601549ec0bad3a5e70b9ca32c9534
diff --git a/rdo/config.py b/rdo/config.py index <HASH>..<HASH> 100644 --- a/rdo/config.py +++ b/rdo/config.py @@ -10,14 +10,28 @@ DEFAULTS = { } +def find_config(fname='.rdo.conf', start=None): + """Go up until you find an rdo config. + """ + start = start or os.getcwd() + config_file = os.path.join(s...
Search up the filesystem for a .rdo.conf file I suppose this could be dangerous, but no more dangerous than how Vagrant does it. YMMV?
ionrock_rdo
train
99e12d271f73d4cb848eeb3cf74c210af04e7468
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,6 @@ /* @flow strict */ -/* eslint-disable github/no-flowfixme */ +/* eslint eslint-comments/no-use: off */ +/* eslint-disable flowtype/no-flow-fix-me-comments */ const dotenv = ...
allow disabling of flow fix me rule
github_webpack-config-github
train
ceddc63fa6939ec34031b64373efcc551528dd0c
diff --git a/sendgrid.go b/sendgrid.go index <HASH>..<HASH> 100644 --- a/sendgrid.go +++ b/sendgrid.go @@ -25,28 +25,26 @@ type SGClient struct { Client *http.Client } -// NewSendGridClient will return a new SGClient. -func NewSendGridClient(apiUserOrKey string, apiKey ...string) *SGClient { +// NewSendGridClient...
Add 2nd constructor for API keys
sendgrid_sendgrid-go
train
401a68799d9d15145e1c7d92ee04644abec2f15a
diff --git a/Makefile.js b/Makefile.js index <HASH>..<HASH> 100644 --- a/Makefile.js +++ b/Makefile.js @@ -613,7 +613,6 @@ target.gensite = function(prereleaseVersion) { htmlFullPath = fullPath.replace(".md", ".html"); if (test("-f", fullPath)) { - rm("-rf", fullPath); ...
Chore: fix rules list for prereleases (#<I>) * Chore: fix rules list for prereleases * Fix logs * rules listing -> rules index page
eslint_eslint
train
73ea274ae4e2b106d5ae0ff374f848a2b0710032
diff --git a/tests/models.py b/tests/models.py index <HASH>..<HASH> 100644 --- a/tests/models.py +++ b/tests/models.py @@ -1,10 +1,12 @@ # coding=utf-8 from django.db import models +from django.contrib.postgres.fields import JSONField class TestModel(models.Model): - data = models.CharField(max_length=32, b...
Update test model to use a JSONField
jneight_django-db-geventpool
train
f3aff1c1101397b73843fa9e8ea93ab96fae0c6f
diff --git a/src/statement.js b/src/statement.js index <HASH>..<HASH> 100644 --- a/src/statement.js +++ b/src/statement.js @@ -421,6 +421,12 @@ pp.parseFor = function(node, init) { pp.parseForIn = function(node, init) { let type = this.type === tt._in ? "ForInStatement" : "ForOfStatement" this.next() + if (type...
Catch invalid for-in initializers This catches three cases: - In strict mode, variable declarations may not have an initializer - Destructuring variable declarations may not have an initializer - Assignments (without declaring) are invalid
acornjs_acorn
train
6bb275f17cbc8ed7009cde6130df9fd033c6aa2d
diff --git a/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/Controller/ClipboardController.php b/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/Controller/ClipboardController.php index <HASH>..<HASH> 100644 --- a/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2Backen...
Don't try to reconstitute the model id as the clipboard id is used here.
contao-community-alliance_dc-general
train
a0a2e5cd81440ba99f3825ee8967a26e76400b1d
diff --git a/lib/mediator.js b/lib/mediator.js index <HASH>..<HASH> 100644 --- a/lib/mediator.js +++ b/lib/mediator.js @@ -221,6 +221,8 @@ if(subscriber.options.calls < 1){ this.removeSubscriber(subscriber.id); + y--; + x--; }else{ subscriber.updat...
Fixed looping through subscriptions: decreasing current index and length of array after removal
ajacksified_Mediator.js
train
478ed7d8921d30f6d57995554945f85181f2c0bd
diff --git a/tensorflow_probability/python/distributions/bates.py b/tensorflow_probability/python/distributions/bates.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/distributions/bates.py +++ b/tensorflow_probability/python/distributions/bates.py @@ -238,7 +238,8 @@ class Bates(distribution.Distribu...
Force-broadcast mean of the Bates distribution with the `total_count` parameter. Pertinent because the mean of the Bates distribution doesn't depend on the total count. PiperOrigin-RevId: <I>
tensorflow_probability
train
b6d95cc0a34537174d405ff9e2f765400f1eaf8a
diff --git a/tests/test_wind_speed.py b/tests/test_wind_speed.py index <HASH>..<HASH> 100644 --- a/tests/test_wind_speed.py +++ b/tests/test_wind_speed.py @@ -14,19 +14,36 @@ class TestWindSpeed: 'hub_height': 100, 'z_0': pd.Series(data=[0.15, 0.15]), ...
Concistency tests for wind_speed functions
wind-python_windpowerlib
train
32baac656ce3116aa83d60e32eb536aca6483dd6
diff --git a/uni_form/tests/runtests.py b/uni_form/tests/runtests.py index <HASH>..<HASH> 100755 --- a/uni_form/tests/runtests.py +++ b/uni_form/tests/runtests.py @@ -8,17 +8,15 @@ parent = os.path.dirname(os.path.dirname(os.path.dirname( sys.path.insert(0, parent) -from django.test.simple import run_tests +from d...
Updating runtests to use DjangoTestSuiteRunner
pydanny-archive_django-uni-form
train
9ccd5e299c133cb74168cae33eea4999e46deebb
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -2254,8 +2254,8 @@ class MITNEBSet(MITRelaxSet): if len(structures) < 3: raise ValueError("You need at least 3 structures for an NEB.") ...
fix test problem with MITNEBSet
materialsproject_pymatgen
train
51887b874d814b19481e86d063c0387013ccfebf
diff --git a/src/ProxyManager/ProxyGenerator/NullObject/MethodGenerator/NullObjectMethodInterceptor.php b/src/ProxyManager/ProxyGenerator/NullObject/MethodGenerator/NullObjectMethodInterceptor.php index <HASH>..<HASH> 100644 --- a/src/ProxyManager/ProxyGenerator/NullObject/MethodGenerator/NullObjectMethodInterceptor.ph...
Rewrote the null object implementation to honor no return value on `void`
Ocramius_ProxyManager
train
408c85b243e83694a4a752056e825607a7ce29cf
diff --git a/coloredlogs/converter.py b/coloredlogs/converter.py index <HASH>..<HASH> 100644 --- a/coloredlogs/converter.py +++ b/coloredlogs/converter.py @@ -1,7 +1,7 @@ # Program to convert text with ANSI escape sequences to HTML. # # Author: Peter Odding <peter@peterodding.com> -# Last Change: October 9, 2016 +# ...
Reduce duplication of constants in converter module
xolox_python-coloredlogs
train
67a016878ee2c576573a55b03b44a6fc3f3ba003
diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index <HASH>..<HASH> 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -104,6 +104,12 @@ class Application extends BaseApplication $input->setInteractive(false); }...
Switch working dir before loading composer, fixes #<I>
mothership-ec_composer
train
ef217977d0ae11bdd1896a0d39580f4431b9f985
diff --git a/impl/src/main/java/org/jboss/weld/event/EventImpl.java b/impl/src/main/java/org/jboss/weld/event/EventImpl.java index <HASH>..<HASH> 100644 --- a/impl/src/main/java/org/jboss/weld/event/EventImpl.java +++ b/impl/src/main/java/org/jboss/weld/event/EventImpl.java @@ -56,6 +56,7 @@ public class EventImpl<T> e...
WELD-<I> Cache resolved observer methods within EventImpl
weld_core
train
3994647b7eead65b12be47951cdee30cff678525
diff --git a/lib/revisionPolicy.js b/lib/revisionPolicy.js index <HASH>..<HASH> 100644 --- a/lib/revisionPolicy.js +++ b/lib/revisionPolicy.js @@ -9,8 +9,9 @@ var P = require('bluebird'); * @param {object} db; instance of DB * @param {object} request; request to use as baseline * @param {object} schema; the table...
Reuse same request time in revision policy as in secondary index update
wikimedia_restbase-mod-table-cassandra
train
9010e526636b1e92df01771b910c41de4191edbf
diff --git a/urlrewrite/test/simpleapp.py b/urlrewrite/test/simpleapp.py index <HASH>..<HASH> 100644 --- a/urlrewrite/test/simpleapp.py +++ b/urlrewrite/test/simpleapp.py @@ -12,17 +12,17 @@ from urlrewrite.rewriterapp import RewriterApp # ============================================================================ ...
urlrewrite: refactor simpleapp to support live/record/replay
webrecorder_pywb
train
818ee948e201efe2357833ba3847d6af05576123
diff --git a/tests/nbttests.py b/tests/nbttests.py index <HASH>..<HASH> 100755 --- a/tests/nbttests.py +++ b/tests/nbttests.py @@ -6,13 +6,13 @@ from gzip import GzipFile # Search parent directory first, to make sure we test the local nbt module, # not an installed nbt module. -extrasearchpath = os.path.realpath(o...
Do not add nbt to sys.path if it is already there
twoolie_NBT
train
12bd917acf5bc42ebaac887df176dbbd2c5d8283
diff --git a/molgenis-security/src/test/java/org/molgenis/security/MolgenisAnonymousAuthenticationFilterTest.java b/molgenis-security/src/test/java/org/molgenis/security/MolgenisAnonymousAuthenticationFilterTest.java index <HASH>..<HASH> 100644 --- a/molgenis-security/src/test/java/org/molgenis/security/MolgenisAnonymo...
Test fails if current user is set by other test
molgenis_molgenis
train
20bd79db3b5b7ac4b28c2bcf91a51a778c65b098
diff --git a/src/CLImate.php b/src/CLImate.php index <HASH>..<HASH> 100644 --- a/src/CLImate.php +++ b/src/CLImate.php @@ -205,7 +205,11 @@ class CLImate */ public function extend($class_path, $key = null) { - $key = $key ?: end(explode('\\', $class_path)); + if ($key === null) { + ...
the ol passed by reference error
thephpleague_climate
train
70aae43baad60d9a31b96d32400e7a0959a0c0b0
diff --git a/examples/video/video.js b/examples/video/video.js index <HASH>..<HASH> 100644 --- a/examples/video/video.js +++ b/examples/video/video.js @@ -6,7 +6,6 @@ tabris.load(function() { }); var video = tabris.create("tabris.widgets.Video", { - parent: page, // TODO: Reparenting does not work for Video ...
Use appendTo in video demo With merged operations, appendTo does no longer create a separate set operation when called directly after widget creation. Hence we can use appendTo for the video widget even though this widget does not yet support re-parenting. Change-Id: If<I>cee<I>c3d<I>f<I>c<I>ed<I>ab6db<I>dd<I>
eclipsesource_tabris-js
train
4badcfa22e7e5e7e778f97f78d01fde14441af78
diff --git a/spiketoolkit/comparison/comparisontools.py b/spiketoolkit/comparison/comparisontools.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/comparison/comparisontools.py +++ b/spiketoolkit/comparison/comparisontools.py @@ -4,8 +4,7 @@ Some functions internally use by SortingComparison. import numpy as np fr...
Parallel spike matching in do_matching() for speed Please check if this implementation is ok. If so, I will add something similar in other places.
SpikeInterface_spiketoolkit
train
e62b62baf34d37b0bd28cb000b09921b2c14c5f6
diff --git a/pandas/core/internals/blocks.py b/pandas/core/internals/blocks.py index <HASH>..<HASH> 100644 --- a/pandas/core/internals/blocks.py +++ b/pandas/core/internals/blocks.py @@ -3376,36 +3376,36 @@ def _putmask_smart(v, m, n): # will work in the current dtype try: nn = n[m] - + except Typ...
CLN: checks instead of try/except (#<I>)
pandas-dev_pandas
train
7494eeb583f5e68f6ebbd487f7767d1477561dad
diff --git a/lib/sugo_caller.js b/lib/sugo_caller.js index <HASH>..<HASH> 100644 --- a/lib/sugo_caller.js +++ b/lib/sugo_caller.js @@ -52,11 +52,12 @@ class SugoCaller extends EventEmitter { const s = this let { multiplex = true, - auth = false + auth = false, + path = '/socket.io' ...
Enable to set 'path' option of Socket.IO
realglobe-Inc_sugo-caller
train
607229eed43518e576de892bb6d914d476ad373a
diff --git a/lib/geometry/arc.rb b/lib/geometry/arc.rb index <HASH>..<HASH> 100644 --- a/lib/geometry/arc.rb +++ b/lib/geometry/arc.rb @@ -98,6 +98,14 @@ An {Arc} with its center at [1,1] and a radius of 2 that starts at the X-axis an # @return [Point] alias :last :end + def ==(other) + if other.is_a?(ThreePo...
Added #== for ThreePointArc It helps with comparisons in tests
bfoz_geometry
train
93cc9efb8a758607c1cc901dcc1f6408cf2a45c2
diff --git a/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php b/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php +++ b/src/Symfony/Component/Validator/Mapping/Cache/CacheInterface.php @@ -3...
[Validator] Remove a race condition in the ClassMetaDataFactory (fix #<I>)
symfony_symfony
train
93aee7f96c0087b530692a242784b87c61e5c268
diff --git a/File/src/File.php b/File/src/File.php index <HASH>..<HASH> 100644 --- a/File/src/File.php +++ b/File/src/File.php @@ -212,6 +212,7 @@ class File implements FileInterface $this->locked = null; } fclose($this->handle); + $this-> handle = null; } /**
fix for file unlock->lock throwing errors
rockettheme_toolbox
train
9bba4bc6e4dfbbe2b4d454ac6521ebe3d3c45fb1
diff --git a/setuptools/config.py b/setuptools/config.py index <HASH>..<HASH> 100644 --- a/setuptools/config.py +++ b/setuptools/config.py @@ -267,7 +267,6 @@ class ConfigHandler: :rtype: list """ glob_characters = ('*', '?', '[', ']', '{', '}') - get_relpath = lambda value: os.path.re...
Satisfy some flake8 style checks for the previous commit.
pypa_setuptools
train
ffb77a00308ed5b7030eec98b1155c607f465837
diff --git a/util/util_test.go b/util/util_test.go index <HASH>..<HASH> 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -62,13 +62,6 @@ func TestMustMarshall(t *testing.T) { } } -func TestMustMarshalPanic(t *testing.T) { - assert.Panics(t, func() { - // Map key type is not string. - MustMarshal(map[int...
[Util] Dropping MarshalPanic test. The behavior that was being tested is gone in Go <I>.
kobolog_gorb
train
7d1b2ca055270390f16d2a7104552320a05e7793
diff --git a/libkbfs/key_bundle.go b/libkbfs/key_bundle.go index <HASH>..<HASH> 100644 --- a/libkbfs/key_bundle.go +++ b/libkbfs/key_bundle.go @@ -228,7 +228,7 @@ type TLFReaderKeyBundle struct { // its TLFCryptoKeyInfo struct. // This list is needed so a reader rekey doesn't modify the writer // metadata. - TLFR...
Added omitempty to reader ephemeral public keys
keybase_client
train
ea05f3ea229aa0d54bcb23cc923a2c1937112f5b
diff --git a/src/KeyboardMixin.js b/src/KeyboardMixin.js index <HASH>..<HASH> 100644 --- a/src/KeyboardMixin.js +++ b/src/KeyboardMixin.js @@ -74,18 +74,6 @@ export default function KeyboardMixin(Base) { tabIndex }); - state.onChange('explicitAttributes', state => { - if (state.explicitAtt...
KeyboardMixin drops use of explicitAttributes.
elix_elix
train
7d1d812e72a9193ed5d13522070add1732c23bdc
diff --git a/src/Resolver/NotificationResolver.php b/src/Resolver/NotificationResolver.php index <HASH>..<HASH> 100644 --- a/src/Resolver/NotificationResolver.php +++ b/src/Resolver/NotificationResolver.php @@ -222,6 +222,9 @@ class NotificationResolver implements ResolverInterface ->setAllowedTypes('exter...
Add field "apns_push_type_override" #<I> (#<I>) * Add field "apns_push_type_override" There is a change in OneSignal API for VOIP : Issue Github This is the OneSignal API with the new field : Here * Add tests for "apns_push_type_override" * Fix CI
norkunas_onesignal-php-api
train
c3b11f8fafefeccb7e6383f1b691bbd4a2f27f29
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -126,7 +126,7 @@ module.exports = function(options) { }); }; - var pullIntervalSeconds = options.pullIntervalSeconds || 2; + var wait = options.wait || 2000; that.pull = function(name, workers, onmessage) { if (t...
Rename pullIntervalSeconds to wait (and use milliseconds for the unit) Seems appropriate to use millis since that is the unit that setTimeout and friends use.
mafintosh_sqs
train
0bacf8546962f3cd9f95be0a9e6fa8ea31fbf19f
diff --git a/rsocket-core/src/main/java/io/rsocket/frame/FrameHeaderFlyweight.java b/rsocket-core/src/main/java/io/rsocket/frame/FrameHeaderFlyweight.java index <HASH>..<HASH> 100644 --- a/rsocket-core/src/main/java/io/rsocket/frame/FrameHeaderFlyweight.java +++ b/rsocket-core/src/main/java/io/rsocket/frame/FrameHeader...
Terrible hack to fix websocket frame length handling (#<I>)
rsocket_rsocket-java
train
86b15514aab169b0ad3eaf14d847a964bb6aa8d1
diff --git a/concrete/mail/block_express_form_submission.php b/concrete/mail/block_express_form_submission.php index <HASH>..<HASH> 100644 --- a/concrete/mail/block_express_form_submission.php +++ b/concrete/mail/block_express_form_submission.php @@ -4,6 +4,8 @@ defined('C5_EXECUTE') or die("Access Denied."); $formD...
Express Form - make email notification subject to be customizable easier - Backward compatibility just in case people uses old template.
concrete5_concrete5
train
af56c69af5238dabf009e57c131ba29875b0aa21
diff --git a/benchmark/createBenchmark.js b/benchmark/createBenchmark.js index <HASH>..<HASH> 100644 --- a/benchmark/createBenchmark.js +++ b/benchmark/createBenchmark.js @@ -1,5 +1,4 @@ -// eslint-disable-next-line node/no-extraneous-require -const webpack = require("webpack"); +const webpack = require("../"); const ...
fix(linter rules): unsupported operator in node, relative require
webpack_webpack
train
1b5be71b7ddca581e69a5f463d0d11ec4b942ffc
diff --git a/greenmail-core/src/main/java/com/icegreen/greenmail/imap/commands/SearchKey.java b/greenmail-core/src/main/java/com/icegreen/greenmail/imap/commands/SearchKey.java index <HASH>..<HASH> 100644 --- a/greenmail-core/src/main/java/com/icegreen/greenmail/imap/commands/SearchKey.java +++ b/greenmail-core/src/mai...
Implement search for arbitrary fields (issue #<I>) Updated TODOs to reflect currently supported search terms.
greenmail-mail-test_greenmail
train
3196b900aeb7657e41d68281832cacfa18aef2f0
diff --git a/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java b/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/lastaflute/di/core/expression/engine/JavaScriptExpressionEngine.java +++ b/src/...
just fix: improve exception handling when script engine not found
lastaflute_lasta-di
train
6dc6c7e4b457a57c380d25da259713ee4e2d4110
diff --git a/flask_unchained/bundles/api/model_resource.py b/flask_unchained/bundles/api/model_resource.py index <HASH>..<HASH> 100644 --- a/flask_unchained/bundles/api/model_resource.py +++ b/flask_unchained/bundles/api/model_resource.py @@ -39,6 +39,7 @@ class ModelResourceMetaclass(ResourceMetaclass): i...
fix include_methods and exclude_methods on Resources
briancappello_flask-unchained
train
692a9f34115461f32a2afbce3682a1727f27a46a
diff --git a/apps/advanced/frontend/controllers/SiteController.php b/apps/advanced/frontend/controllers/SiteController.php index <HASH>..<HASH> 100644 --- a/apps/advanced/frontend/controllers/SiteController.php +++ b/apps/advanced/frontend/controllers/SiteController.php @@ -87,8 +87,12 @@ class SiteController extends C...
Fixes #<I>: Added missing validaton to advanced app forms, separated validation from email sending errors for contact form
yiisoft_yii-core
train
9025d6b31021ed706a516c796f35a077d1d009fd
diff --git a/aws/data_source_aws_networkmanager_global_network.go b/aws/data_source_aws_networkmanager_global_network.go index <HASH>..<HASH> 100644 --- a/aws/data_source_aws_networkmanager_global_network.go +++ b/aws/data_source_aws_networkmanager_global_network.go @@ -53,18 +53,12 @@ func dataSourceAwsNetworkManagerG...
d/aws_networkmanager_global_network: improved tag matching logic
terraform-providers_terraform-provider-aws
train
bafc732d51ec79b9a58f073d6799d1c4634e4148
diff --git a/lib/codemirror.js b/lib/codemirror.js index <HASH>..<HASH> 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -1343,7 +1343,7 @@ var CodeMirror = (function() { if (y < 0) y = 0; var th = textHeight(), cw = charWidth(), heightPos = displayOffset + Math.floor(y / th); var lineNo =...
Properly return end of last line from coordsChar when below document It was returning the start, which caused some obnoxious artifacts.
codemirror_CodeMirror
train
bdcd58318e04f19e8266c0826caf0297356f9d62
diff --git a/src/Clue/Redis/React/Server/Server.php b/src/Clue/Redis/React/Server/Server.php index <HASH>..<HASH> 100644 --- a/src/Clue/Redis/React/Server/Server.php +++ b/src/Clue/Redis/React/Server/Server.php @@ -10,6 +10,7 @@ use React\Socket\Connection; use Clue\Redis\Protocol\Model\ErrorReply; use Clue\Redis\Pro...
Fix error reporting for parse error
clue_php-redis-server
train
f3f7a8ee2e2989e86e8bafdce5e478b58f23cf1e
diff --git a/tasks/add-modules.js b/tasks/add-modules.js index <HASH>..<HASH> 100644 --- a/tasks/add-modules.js +++ b/tasks/add-modules.js @@ -123,10 +123,18 @@ module.exports = function(grunt) { } var projectReference = 'EndProject\r\nProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"...
Update adding modules to solution to cater for new solution layout in <I>
moov2_grunt-orchard-development
train
346533ea05d16520095bc53968c8bec3db9a37b3
diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/event/SignalEventHandler.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/event/SignalEventHandler.java index <HASH>..<HASH> 100644 --- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/event/SignalEventHandl...
Fix for signal start + variables (tx Fred)
Activiti_Activiti
train
76652ff8497138c5c59b58ec9d20db9b1806d481
diff --git a/sage_package/themes/sage/static/thebe_status_field.js b/sage_package/themes/sage/static/thebe_status_field.js index <HASH>..<HASH> 100644 --- a/sage_package/themes/sage/static/thebe_status_field.js +++ b/sage_package/themes/sage/static/thebe_status_field.js @@ -1,4 +1,6 @@ // Functions for the thebe activ...
ThebeLab: if the page is served by a local Jupyter, use it as kernel provider
sagemath_sage-package
train
cee47fb86197710892e9d23cbdc35813f51845f7
diff --git a/server/sonar-server/src/main/java/org/sonar/ce/taskprocessor/CeTaskProcessor.java b/server/sonar-server/src/main/java/org/sonar/ce/taskprocessor/CeTaskProcessor.java index <HASH>..<HASH> 100644 --- a/server/sonar-server/src/main/java/org/sonar/ce/taskprocessor/CeTaskProcessor.java +++ b/server/sonar-server...
SONAR-<I> CeTaskProcessor must have annotation @ComputeEngineSide
SonarSource_sonarqube
train
3f0b81dbbd7f20351af2bc1f90de150cc5805479
diff --git a/spec/smart_titles_helper_spec.rb b/spec/smart_titles_helper_spec.rb index <HASH>..<HASH> 100644 --- a/spec/smart_titles_helper_spec.rb +++ b/spec/smart_titles_helper_spec.rb @@ -7,16 +7,59 @@ describe SmartTitles::Helper do @sample = 'Hello World!' end - describe '#page_title' do - it 'return...
Covering both i<I>n & no-i<I>n versions with specs
semaperepelitsa_smart_titles
train
b5acf427538db2bdaa2668404cb1921a357b3c70
diff --git a/controller/frontend/src/Controller/Frontend/Service/Standard.php b/controller/frontend/src/Controller/Frontend/Service/Standard.php index <HASH>..<HASH> 100644 --- a/controller/frontend/src/Controller/Frontend/Service/Standard.php +++ b/controller/frontend/src/Controller/Frontend/Service/Standard.php @@ -1...
Add response header and body from payment provider to PSR-7 response
aimeos_ai-controller-frontend
train
0695bc45cf168f33fcfb53db4d443f70ec9b5d05
diff --git a/test/e2e/network/no_snat.go b/test/e2e/network/no_snat.go index <HASH>..<HASH> 100644 --- a/test/e2e/network/no_snat.go +++ b/test/e2e/network/no_snat.go @@ -28,6 +28,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/kubernetes/test/e2e/framework" + e2enode "k8s.io/kubernetes/test/e2e/framewo...
e2e create pods only on schedulable nodes We were avoiding the scheduled using the pod.Spec.NodeName directly, however, once we switched to using the node selector, the no_snat e2e test started to fail because was trying to schedule pods on nodes with taints, hence, failing the test.
kubernetes_kubernetes
train
dc33cefe3ee44ace53079442a22c495ce19b19bd
diff --git a/lib/takuhai_status/japanpost.rb b/lib/takuhai_status/japanpost.rb index <HASH>..<HASH> 100644 --- a/lib/takuhai_status/japanpost.rb +++ b/lib/takuhai_status/japanpost.rb @@ -3,7 +3,7 @@ require 'nokogiri' module TakuhaiStatus class JapanPost - attr_reader :time, :state + attr_reader :key, :time, :st...
enable get normalized key from service instance
tdtds_takuhai_status
train
842ee2d0b8dd542a5ea432ededf1ff1b1ce08d9f
diff --git a/lib/amq/protocol/table.rb b/lib/amq/protocol/table.rb index <HASH>..<HASH> 100644 --- a/lib/amq/protocol/table.rb +++ b/lib/amq/protocol/table.rb @@ -85,9 +85,11 @@ module AMQ v, offset = TableValueDecoder.decode_boolean(data, offset) v ...
Adds 8bit signed and <I>bit signed integers to table decoder
ruby-amqp_amq-protocol
train
1a91778d8d642814346f66bd22bbef949a8d14f9
diff --git a/Controller/LayoutsController.php b/Controller/LayoutsController.php index <HASH>..<HASH> 100644 --- a/Controller/LayoutsController.php +++ b/Controller/LayoutsController.php @@ -71,8 +71,8 @@ class LayoutsController extends Controller { $request = Request::create(''); - $request->att...
Set the content and location request instead of contentId and locationId
netgen_NetgenAdminUIBundle
train
3d48d97c0561d7a3b5fd5638b4121e8e5ccd1156
diff --git a/src/Models/Affiliate/AffiliateActionOptionModel.php b/src/Models/Affiliate/AffiliateActionOptionModel.php index <HASH>..<HASH> 100644 --- a/src/Models/Affiliate/AffiliateActionOptionModel.php +++ b/src/Models/Affiliate/AffiliateActionOptionModel.php @@ -8,6 +8,7 @@ use Fortifi\FortifiApi\Affiliate\Payloads...
split campaign model update into setName and setOptions
fortifi_sdk
train
c908a3f2d7ea8e28abaeb7207750f688a7ca23dc
diff --git a/lib/hamlit/doctype_compiler.rb b/lib/hamlit/doctype_compiler.rb index <HASH>..<HASH> 100644 --- a/lib/hamlit/doctype_compiler.rb +++ b/lib/hamlit/doctype_compiler.rb @@ -3,26 +3,37 @@ require 'hamlit/filter' module Hamlit class DoctypeCompiler < Hamlit::Filter def on_haml_doctype(format, type) - ...
Pass doctype haml-spec
haml_haml
train
2d7e4b1fd5d2cf7ca93023e3621d29ca27f8dc01
diff --git a/src/test/java/com/basho/riak/client/api/commands/indexes/itest/ITestFullBucketRead.java b/src/test/java/com/basho/riak/client/api/commands/indexes/itest/ITestFullBucketRead.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/basho/riak/client/api/commands/indexes/itest/ITestFullBucketRead.java +++ b/s...
Don't run Coverage tests with non-ts Riak'
basho_riak-java-client
train
1630cccef184ae689c50dc97b02e872b0071d063
diff --git a/android-app/pages/article.js b/android-app/pages/article.js index <HASH>..<HASH> 100644 --- a/android-app/pages/article.js +++ b/android-app/pages/article.js @@ -21,14 +21,10 @@ const ArticlePageView = Article(config)(fetch); const platformAdConfig = { adUnit: "thetimes.mob.android", networkId: conf...
refactor: remove redundant ad params (#<I>)
newsuk_times-components
train
1127ae1733ad97791e404d8b6af3cad49d239eaa
diff --git a/container.php b/container.php index <HASH>..<HASH> 100644 --- a/container.php +++ b/container.php @@ -216,8 +216,9 @@ class Metrodi_Container { $filesep = '/'; $loaded = FALSE; + foreach ($this->searchDirs as $_dir) { - $file = $_dir.$filesep.$locator; + $file = $this->rootDir.$filesep.$_dir...
Use absolute path for shutdown functions. When PHP is shutting down the CWD is changed. We need absolute paths that were setup during instantiation.
metrophp_metrodi
train
3e846e8d71780b110e2fc6a07068d364c1a97321
diff --git a/components/edb/src/test/java/org/openengsb/core/edb/internal/JPATestIT.java b/components/edb/src/test/java/org/openengsb/core/edb/internal/JPATestIT.java index <HASH>..<HASH> 100644 --- a/components/edb/src/test/java/org/openengsb/core/edb/internal/JPATestIT.java +++ b/components/edb/src/test/java/org/open...
[OPENENGSB-<I>] added testcase to show that an empty map in the query method returns all objects
openengsb_openengsb
train
c55106f312cb7df330d047666a3cd213e2aaec06
diff --git a/src/content.js b/src/content.js index <HASH>..<HASH> 100644 --- a/src/content.js +++ b/src/content.js @@ -182,14 +182,6 @@ var content = (function() { $(elem).contents().unwrap(); }, - link: function(host, range, attrs) { - var $elem = $('<a>'); - for (var name in attrs) { - ...
Remove content#link() method The link() method is too specific for the content module. It is not any different to set a link than to set any other tag.
livingdocsIO_editable.js
train
35dd605e52a21bb8b73bd2a06279e073bba8ba12
diff --git a/lib/flex/http_clients/rest_client.rb b/lib/flex/http_clients/rest_client.rb index <HASH>..<HASH> 100644 --- a/lib/flex/http_clients/rest_client.rb +++ b/lib/flex/http_clients/rest_client.rb @@ -5,7 +5,7 @@ module Flex def request(method, path, data=nil) options = Configuration.http_client...
fix for bad url in rest_client.rb
elastics_elastics
train
e212a83f975e1afd4d3fcc463d1c33bf4db7bcef
diff --git a/keanu-project/src/test/java/io/improbable/keanu/backend/tensorflow/TensorflowGraphConverterTest.java b/keanu-project/src/test/java/io/improbable/keanu/backend/tensorflow/TensorflowGraphConverterTest.java index <HASH>..<HASH> 100644 --- a/keanu-project/src/test/java/io/improbable/keanu/backend/tensorflow/Te...
flawed perf testing between tensorflow and keanu value propagation
improbable-research_keanu
train
9386721320ca441f270a0ade4f19f294c8defa73
diff --git a/troposphere/appintegrations.py b/troposphere/appintegrations.py index <HASH>..<HASH> 100644 --- a/troposphere/appintegrations.py +++ b/troposphere/appintegrations.py @@ -1,24 +1,36 @@ -# Copyright (c) 2012-2021, Mark Peek <mark@peek.org> +# Copyright (c) 2012-2022, Mark Peek <mark@peek.org> # All rights r...
Auto-generate AppIntegrations
cloudtools_troposphere
train
ddef926aa64a94e7be9d152e757277cb89aedd96
diff --git a/splinter/driver/zopetestbrowser.py b/splinter/driver/zopetestbrowser.py index <HASH>..<HASH> 100644 --- a/splinter/driver/zopetestbrowser.py +++ b/splinter/driver/zopetestbrowser.py @@ -56,6 +56,9 @@ class ZopeTestBrowser(DriverAPI): def fill_in(self, name, value): self._browser.getControl(na...
implemented choose to driver, and checked property to element control
cobrateam_splinter
train
dd743194781553e2643f3821fec237f8a9ae9775
diff --git a/foolbox/adversarial.py b/foolbox/adversarial.py index <HASH>..<HASH> 100644 --- a/foolbox/adversarial.py +++ b/foolbox/adversarial.py @@ -83,7 +83,13 @@ class Adversarial(object): self._best_gradient_calls = 0 # check if the original image is already adversarial - self.prediction...
catch StopAttack exception in initialization earlier
bethgelab_foolbox
train
b64693c4afc51bef7232c01139cb0c97f273d36d
diff --git a/lib/geminabox/indexer.rb b/lib/geminabox/indexer.rb index <HASH>..<HASH> 100644 --- a/lib/geminabox/indexer.rb +++ b/lib/geminabox/indexer.rb @@ -1,26 +1,9 @@ # frozen_string_literal: true -# This module addresses Geminabox issue -# https://github.com/cwninja/geminabox/issues/70 -# -# The underlying pro...
Remove patch for RubyGems <I> or earlier (#<I>)
geminabox_geminabox
train
8d9fdad2a598dd984b2cb42ae93d0abcabe33b04
diff --git a/lib/rack/secure_only.rb b/lib/rack/secure_only.rb index <HASH>..<HASH> 100644 --- a/lib/rack/secure_only.rb +++ b/lib/rack/secure_only.rb @@ -14,31 +14,33 @@ module Rack # # @param [Hash] opts options for redirect rules # @option opts [Boolean] :secure If set to false will redirect https to http, ...
Refactor SecureOnly to use Rack::Request secure_only extension
spllr_rack-secure_only
train