hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
8025ff59d981e0b75dc3e12aed9f7e3a9e9df7a2
diff --git a/src/jottafs/__init__.py b/src/jottafs/__init__.py index <HASH>..<HASH> 100644 --- a/src/jottafs/__init__.py +++ b/src/jottafs/__init__.py @@ -28,6 +28,8 @@ import urllib, logging, datetime # importing external dependencies (pip these, please!) import requests +import requests_cache +requests_cache.inst...
add requests_cache dependency for serious speedup s
havardgulldahl_jottalib
train
py
d3ab04fc47ab1f60dfcc94d81ad176beeee32049
diff --git a/aquarius/app/util.py b/aquarius/app/util.py index <HASH>..<HASH> 100644 --- a/aquarius/app/util.py +++ b/aquarius/app/util.py @@ -57,16 +57,19 @@ def get_timestamp(): def get_curation_metadata(services): - return get_metadata_from_services(services)["curation"] + return get_metadata_from_service...
assert metadata has `main` key
oceanprotocol_aquarius
train
py
49c27f50b3fa229df5d7bfd4a818b0ea7491ea75
diff --git a/AssetBundle/Event/AssetSubscriber.php b/AssetBundle/Event/AssetSubscriber.php index <HASH>..<HASH> 100644 --- a/AssetBundle/Event/AssetSubscriber.php +++ b/AssetBundle/Event/AssetSubscriber.php @@ -123,12 +123,12 @@ class AssetSubscriber implements EventSubscriber return; } $...
Reverting last changes on asset subscriber (fixing regression)
cleverage_eav-manager
train
php
eaab49d78947f6ee59df3944f920dc84f9950650
diff --git a/lib/player.js b/lib/player.js index <HASH>..<HASH> 100644 --- a/lib/player.js +++ b/lib/player.js @@ -2820,7 +2820,7 @@ function importFileAsSong(self, srcFullPath, filenameHintWithoutPath, cb) { } return; } - onAddOrChange(self, destRelPath, (new Date()).getTime(), tr...
Fixed uploads. Was broken due to change in player.onAddOrChange introduced in f<I>dd<I>b<I>b5fc<I>d3ab<I>d<I>c<I>a<I> that wasn't reflected in all callsites.
andrewrk_groovebasin
train
js
c744ce4b6d10348f2dfb05b3d90b9fae1b074681
diff --git a/bin/cythonize.py b/bin/cythonize.py index <HASH>..<HASH> 100755 --- a/bin/cythonize.py +++ b/bin/cythonize.py @@ -56,7 +56,7 @@ def process_pyx(fromfile, tofile): try: try: r = subprocess.call(['cython'] + flags + ['-o', tofile, fromfile], - shell=T...
Fix bad change to cythonize.py script, re subprocess call
explosion_spaCy
train
py,py
49367b8eb77a97995431bfc3bc9c7416efa94dc8
diff --git a/lib/deployml/servers/mongrel.rb b/lib/deployml/servers/mongrel.rb index <HASH>..<HASH> 100644 --- a/lib/deployml/servers/mongrel.rb +++ b/lib/deployml/servers/mongrel.rb @@ -8,6 +8,7 @@ module DeploYML def initialize_server @mongrel = Options::Mongrel.new(config.server_options) + @...
Default the environment setting for Thin and Mongrel to Configuration#environment.
postmodern_deployml
train
rb,rb
cd23d1713945ad0019cf847c79624b24fa391dd4
diff --git a/dodgy/__pkginfo__.py b/dodgy/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/dodgy/__pkginfo__.py +++ b/dodgy/__pkginfo__.py @@ -1,5 +1,5 @@ -VERSION = (0, 1, 8) +VERSION = (0, 1, 9) def get_version(): diff --git a/dodgy/checks.py b/dodgy/checks.py index <HASH>..<HASH> 100644 --- a/dodgy/checks.py ...
Fixing utf-8 encoded file handling in python3
landscapeio_dodgy
train
py,py
d74752fccd88d9ea30c46d0afcfd1b23a557341b
diff --git a/watson_developer_cloud/__init__.py b/watson_developer_cloud/__init__.py index <HASH>..<HASH> 100755 --- a/watson_developer_cloud/__init__.py +++ b/watson_developer_cloud/__init__.py @@ -27,9 +27,9 @@ from .natural_language_classifier_v1 import NaturalLanguageClassifierV1 from .natural_language_understandi...
refactor(adapters): Move all adapters to the bottom of the init file
watson-developer-cloud_python-sdk
train
py
96110f185226f1c9ee44712b071d483d3352218e
diff --git a/lib/raygun/configuration.rb b/lib/raygun/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/raygun/configuration.rb +++ b/lib/raygun/configuration.rb @@ -41,7 +41,7 @@ module Raygun # set default attribute values @ignore = IGNORE_DEFAULT @custom_data ...
Change default value for config.silence_reporting to 'nil' as opposed to 'false' so it can be overridden by the Raltie
MindscapeHQ_raygun4ruby
train
rb
c981064e3a246982c76c804d7c7a2c77a294ecef
diff --git a/src/Installer/PluginInstaller.php b/src/Installer/PluginInstaller.php index <HASH>..<HASH> 100644 --- a/src/Installer/PluginInstaller.php +++ b/src/Installer/PluginInstaller.php @@ -426,10 +426,10 @@ class PluginInstaller extends \Composer\Installer\LibraryInstaller } $data[] = sp...
Be less strict when validating installer names
picocms_composer-installer
train
php
2ccba33dd1c55102a8675ef0310906dc990320a8
diff --git a/tools/functional-tester/etcd-tester/member.go b/tools/functional-tester/etcd-tester/member.go index <HASH>..<HASH> 100644 --- a/tools/functional-tester/etcd-tester/member.go +++ b/tools/functional-tester/etcd-tester/member.go @@ -154,7 +154,7 @@ func (m *member) newClientV3() (*clientv3.Client, error) { }...
functional-tester: add withBlock() to grpc dial grpc dail withTimeout() only works if withBlock() option is present.
etcd-io_etcd
train
go
b7f2856a188e8c3076dcae067332c3f667da6dc6
diff --git a/generators/wice_grid_assets/templates/javascripts/calendarview.js b/generators/wice_grid_assets/templates/javascripts/calendarview.js index <HASH>..<HASH> 100644 --- a/generators/wice_grid_assets/templates/javascripts/calendarview.js +++ b/generators/wice_grid_assets/templates/javascripts/calendarview.js @...
a fix fr localization in the calendar
leikind_wice_grid
train
js
8f18898ae03d7227e2bc284dbe9c3d6e2d78ca23
diff --git a/lib/jabber/bot.rb b/lib/jabber/bot.rb index <HASH>..<HASH> 100644 --- a/lib/jabber/bot.rb +++ b/lib/jabber/bot.rb @@ -100,7 +100,7 @@ module Jabber :syntax => 'help [<command>]', :description => 'Display help for the given command, or all commands' + ' if no command is s...
Fixed 'help [<command>]' command Regex was returning ' <command>' instead of '<command>', therefore preventing the single command help lookup from working.
brettstimmerman_jabber-bot
train
rb
9425d359b0e140095b9a0afca0238e8d1d7590de
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -241,6 +241,9 @@ def do_setup(): 'thrift>=0.9.2', 'zope.deprecation>=4.0, <5.0', ], + setup_requires=[ + 'docutils>=0.14, <1.0', + ], extras_require={ ...
[AIRFLOW-<I>] Add docutils to setup_requires python-daemon declares its docutils dependency in a setup_requires clause, and 'python setup.py install' fails since it misses that dependency. Closes #<I> from wrp/docutils
apache_airflow
train
py
9e45bf4a0dc8a0144535c4a505d21318b2804978
diff --git a/server/src/main/java/org/jboss/as/server/deployment/SetupAction.java b/server/src/main/java/org/jboss/as/server/deployment/SetupAction.java index <HASH>..<HASH> 100644 --- a/server/src/main/java/org/jboss/as/server/deployment/SetupAction.java +++ b/server/src/main/java/org/jboss/as/server/deployment/SetupA...
AS7-<I> Setup correct dependencies for the namespace context selector, so web deployments will not start until it is ready was: ba<I>cdef7cec<I>bbdd<I>ad0c4e1dd2b<I>b9b<I>a
wildfly_wildfly-core
train
java
418ccd2c661fcdcf347075b61af4f14cd1b16a06
diff --git a/daemon/policy_test.go b/daemon/policy_test.go index <HASH>..<HASH> 100644 --- a/daemon/policy_test.go +++ b/daemon/policy_test.go @@ -150,15 +150,16 @@ func (ds *DaemonSuite) TestUpdateConsumerMap(c *C) { } func (ds *DaemonSuite) TestReplacePolicy(c *C) { + lblBar := labels.ParseLabel("bar") lbls := ...
daemon: fix composite literal uses unkeyed fields daemon/policy_test.go:<I>: github.com/cilium/cilium/pkg/policy/api.EndpointSelector composite literal uses unkeyed fields
cilium_cilium
train
go
a7a3e2b5d9da2d5759db728864858644ce881116
diff --git a/src/Validators/DatabaseValidator.php b/src/Validators/DatabaseValidator.php index <HASH>..<HASH> 100644 --- a/src/Validators/DatabaseValidator.php +++ b/src/Validators/DatabaseValidator.php @@ -3,7 +3,7 @@ namespace Simples\Data\Validators; use Simples\Kernel\Container; -use Simples\Model\AbstractModel...
Rename AbstractModel to ModelAbstract
phpzm_data
train
php
e91a6846095ca1d58dcea714de45b34da3ae8c0c
diff --git a/lib/multirepo/git/branch.rb b/lib/multirepo/git/branch.rb index <HASH>..<HASH> 100644 --- a/lib/multirepo/git/branch.rb +++ b/lib/multirepo/git/branch.rb @@ -15,12 +15,6 @@ module MultiRepo branch_names.include?(@name) end - def create(remote_tracking) - Git.run(@repo.working_copy...
Removed unused Branch.create() method.
fortinmike_git-multirepo
train
rb
7a7fa2ccd87a60a450fd0e4163366e3c38a899e1
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,7 @@ Run the tests: ``` composer install +# when redis is not listening on localhost: +# export REDIS_HOST=192.168.59.100 ./vendor/bin/phpunit -``` \ No newline at end of file +``` diff --git a/tests/Test/Pr...
allow to configure the testsuite redis host via environment
Jimdo_prometheus_client_php
train
md,php,php
331662130f1d8c3aec03dd32519d6b63a1964246
diff --git a/src/containers/ConferencePage/i18n/en-US.js b/src/containers/ConferencePage/i18n/en-US.js index <HASH>..<HASH> 100644 --- a/src/containers/ConferencePage/i18n/en-US.js +++ b/src/containers/ConferencePage/i18n/en-US.js @@ -9,6 +9,7 @@ export default { conference_CA: 'Canada', conference_CL: 'Chile', ...
fix(en-US.js): add (#<I>)
ringcentral_ringcentral-js-widgets
train
js
0aa85e9398065fd604012303fbc194055d0065f4
diff --git a/contrib/word_count/src/WordCount.java b/contrib/word_count/src/WordCount.java index <HASH>..<HASH> 100644 --- a/contrib/word_count/src/WordCount.java +++ b/contrib/word_count/src/WordCount.java @@ -54,11 +54,11 @@ public class WordCount extends Configured implements Tool { private static final Logger...
word_count uses better ks/cf names now that we're not piggybacking off storage definitions in the config. Patch by brandonwilliams git-svn-id: <URL>
Stratio_stratio-cassandra
train
java
58be01a7901cd9f979707afe46a430816320fe20
diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/elasticsearch/jest/JestAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/elasticsearch/jest/JestAutoConfigurationTests.java index...
Try to make Jest auto-configuration tests more robust
spring-projects_spring-boot
train
java
0354633776049497da733bcf0ea00efe5a4e7de1
diff --git a/facebook_auth/models.py b/facebook_auth/models.py index <HASH>..<HASH> 100644 --- a/facebook_auth/models.py +++ b/facebook_auth/models.py @@ -230,8 +230,12 @@ def insert_extended_token(access_token, user_id): @receiver(models.signals.post_save, sender=UserToken) def dispatch_engines_run(sender, instance,...
[close #<I>] Catch celery connection error from debug_all_tokens_for_user.
pozytywnie_django-facebook-auth
train
py
93c3222df70215912be0122a0d1eb893b757082f
diff --git a/tests/Sabre/CalDAV/OutboxPostTest.php b/tests/Sabre/CalDAV/OutboxPostTest.php index <HASH>..<HASH> 100644 --- a/tests/Sabre/CalDAV/OutboxPostTest.php +++ b/tests/Sabre/CalDAV/OutboxPostTest.php @@ -112,6 +112,28 @@ class OutboxPostTest extends \Sabre\DAVServerTest { } + function testBadOriginat...
CalDAV unittest is back to <I>%
sabre-io_dav
train
php
2a6b1e2497e123c25a1646ee80cc1deafb45addd
diff --git a/clients/python/girder_client/__init__.py b/clients/python/girder_client/__init__.py index <HASH>..<HASH> 100644 --- a/clients/python/girder_client/__init__.py +++ b/clients/python/girder_client/__init__.py @@ -892,7 +892,7 @@ class GirderClient(object): offset = 0 uploadId = uploadObj['_i...
Add sensible default values in python client * Use 0 for content-length if no header is passed for download * Use empty string for name if none is set. Helps during mocked interaction.
girder_girder
train
py
9afcec242bc2dd4435000907972215bb88ece241
diff --git a/lib/twilio-ruby/rest/queues.rb b/lib/twilio-ruby/rest/queues.rb index <HASH>..<HASH> 100644 --- a/lib/twilio-ruby/rest/queues.rb +++ b/lib/twilio-ruby/rest/queues.rb @@ -1,6 +1,12 @@ module Twilio module REST - class Queues < ListResource; end + class Queues < ListResource + def initialize(u...
assign the list key for queues to be queue_members
twilio_twilio-ruby
train
rb
b5e6bc724f9df01e5eec9473ef197a7aac0adc49
diff --git a/fedmsg/text/bodhi.py b/fedmsg/text/bodhi.py index <HASH>..<HASH> 100644 --- a/fedmsg/text/bodhi.py +++ b/fedmsg/text/bodhi.py @@ -68,6 +68,8 @@ class BodhiProcessor(BaseProcessor): username = '' if 'bodhi.update.comment' in msg['topic']: username = msg['msg']['comment']['auth...
Fix the secondary icons for bodhi overrides
fedora-infra_fedmsg
train
py
0001cc04af737561aad19cba661af89472c92c59
diff --git a/lib/slackbotsy/bot.rb b/lib/slackbotsy/bot.rb index <HASH>..<HASH> 100644 --- a/lib/slackbotsy/bot.rb +++ b/lib/slackbotsy/bot.rb @@ -58,9 +58,14 @@ module Slackbotsy return nil unless msg[:text].is_a?(String) # skip empty messages ## loop things to look for and collect immediate responses ...
rescue all the things so botsy keeps on trucking
rlister_slackbotsy
train
rb
990f243f151da8d673ae05c081b61633c3b7b984
diff --git a/gns3server/modules/dynamips/__init__.py b/gns3server/modules/dynamips/__init__.py index <HASH>..<HASH> 100644 --- a/gns3server/modules/dynamips/__init__.py +++ b/gns3server/modules/dynamips/__init__.py @@ -560,8 +560,8 @@ class Dynamips(BaseManager): raise DynamipsError("Could not create Dynam...
Do not crash if dynamips config contain non ascii chars But I don't know why user can want to do that. Fix #<I>
GNS3_gns3-server
train
py
35375f77b914ffb6cfec1dddc38461ff4231a3ec
diff --git a/javascript/safari-driver/extension/commands.js b/javascript/safari-driver/extension/commands.js index <HASH>..<HASH> 100644 --- a/javascript/safari-driver/extension/commands.js +++ b/javascript/safari-driver/extension/commands.js @@ -105,7 +105,9 @@ safaridriver.extension.commands.loadUrl = function(sessio...
JasonLeyba: Point users at the relevant bug when the SafariDriver fails to load a file:// URL r<I>
SeleniumHQ_selenium
train
js
39e4619f45013ff3873e32040e7b693392985390
diff --git a/lib/plugins/clean.js b/lib/plugins/clean.js index <HASH>..<HASH> 100644 --- a/lib/plugins/clean.js +++ b/lib/plugins/clean.js @@ -29,7 +29,9 @@ module.exports = function(plugins, webpackConfig) { const cleanWebpackPluginOptions = { verbose: false, - cleanOnceBeforeBuildPatterns: webp...
Setting CleanWebpackPlugin's cleanStaleWebpackAssets: false There is currently a bug where, on a "watch" rebuild, sometimes an image that's referenced from a CSS file won't be "noticed" and will be mistakenly deleted.
symfony_webpack-encore
train
js
6396e9b6b33b06bc04402aa0f85d57182a731acb
diff --git a/result.rb b/result.rb index <HASH>..<HASH> 100644 --- a/result.rb +++ b/result.rb @@ -38,11 +38,11 @@ class Result end def weak_ciphers - @ciphers.reject{|cipher| cipher[:weak] == false } + accepted.reject{|cipher| cipher[:weak] == false } end def strong_ciphers - @ciphers.reject{|cipher| ci...
fix weak and strong cipher enumerators
rapid7_rex-sslscan
train
rb
e5f687c6abe084dca05a5b2e18beefd6335bac68
diff --git a/activiti-webapp-explorer2/src/test/java/org/activiti/explorer/util/time/HumanTimeTest.java b/activiti-webapp-explorer2/src/test/java/org/activiti/explorer/util/time/HumanTimeTest.java index <HASH>..<HASH> 100644 --- a/activiti-webapp-explorer2/src/test/java/org/activiti/explorer/util/time/HumanTimeTest.jav...
Adding IGNORED to testHumanTime since it keeps causing trouble on CI and does not add much value.
camunda_camunda-bpm-platform
train
java
a0ed3f7bdf7dcdc47cc43ea7422cd89f185977b4
diff --git a/integrationtest/src/test/java/org/openengsb/integrationtest/util/AbstractExamTestHelper.java b/integrationtest/src/test/java/org/openengsb/integrationtest/util/AbstractExamTestHelper.java index <HASH>..<HASH> 100644 --- a/integrationtest/src/test/java/org/openengsb/integrationtest/util/AbstractExamTestHelp...
extended service tracking time for integration tests from 5 to <I> seconds
openengsb_openengsb
train
java
71288efc0e8e1f978ef9fe8e22a91fffc9fa7b34
diff --git a/src/Common/Model/Base.php b/src/Common/Model/Base.php index <HASH>..<HASH> 100644 --- a/src/Common/Model/Base.php +++ b/src/Common/Model/Base.php @@ -205,6 +205,13 @@ abstract class Base */ const KEYWORD_PROPERTY = 'keywords'; + /** + * Any fields which should be considered sensitive + ...
Introduces notion of sensitive fields defined at a model level
nails_common
train
php
93dde46f513c468f8e9bffd7ecf8d1888b7fb991
diff --git a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.java b/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.java index <HASH>..<HASH> 100644 --- a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/AbstractRunMojo.jav...
Deploy default webapp to / which enables an index.html (for AIO) to point to the services (#<I>)
Alfresco_alfresco-sdk
train
java
a0a1a4805785be701c006633a494b96f2ba527f7
diff --git a/src/java/com/threerings/micasa/client/MiCasaApplet.java b/src/java/com/threerings/micasa/client/MiCasaApplet.java index <HASH>..<HASH> 100644 --- a/src/java/com/threerings/micasa/client/MiCasaApplet.java +++ b/src/java/com/threerings/micasa/client/MiCasaApplet.java @@ -1,5 +1,5 @@ // -// $Id: MiCasaApplet...
Have to separately alloc and init now. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1
threerings_narya
train
java
459973692e41e9dff1176b9dd37f8da71b647d0e
diff --git a/lib/Router/index.js b/lib/Router/index.js index <HASH>..<HASH> 100644 --- a/lib/Router/index.js +++ b/lib/Router/index.js @@ -62,9 +62,14 @@ Router.prototype.bindRoute = function bindRoute (app, route, config, groupRouter // set responseType based in extension var extension = app.router.splitExtensio...
update router bind extension parser to skip if the extension not is in avaible extensions
wejs_we-core
train
js
92b7efd42fadac33b046410bf5d76a0286931fe6
diff --git a/View/Helper/AssetCompressHelper.php b/View/Helper/AssetCompressHelper.php index <HASH>..<HASH> 100644 --- a/View/Helper/AssetCompressHelper.php +++ b/View/Helper/AssetCompressHelper.php @@ -451,4 +451,15 @@ class AssetCompressHelper extends AppHelper { $defined = $this->_Config->files($target); $this...
Added an exists method to check if a build is defined in the ini file.
markstory_asset_compress
train
php
6cb144a2d7b52c39e95d5d496a9afa523173dfde
diff --git a/tests/perf/org/jgroups/tests/perf/Test.java b/tests/perf/org/jgroups/tests/perf/Test.java index <HASH>..<HASH> 100644 --- a/tests/perf/org/jgroups/tests/perf/Test.java +++ b/tests/perf/org/jgroups/tests/perf/Test.java @@ -347,8 +347,8 @@ public class Test implements Receiver { Object sender; ...
fixed elapsed time calculation when dumping statistics
belaban_JGroups
train
java
382e8175515b510c57749f252c5469fd9597b8e2
diff --git a/.travis.yml b/.travis.yml index <HASH>..<HASH> 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,4 @@ node_js: - 4.1 - 4.0 - iojs +before_script: npm run build diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1 +1,2 @@ +require('babel-polyfill') m...
(hopefully) fix travis builds
SEAPUNK_socketeer
train
yml,js,js
89100c162b23791b4a64d142a11014257bf61fd0
diff --git a/daemon/cluster/cluster.go b/daemon/cluster/cluster.go index <HASH>..<HASH> 100644 --- a/daemon/cluster/cluster.go +++ b/daemon/cluster/cluster.go @@ -592,6 +592,11 @@ func (c *Cluster) UnlockSwarm(req types.UnlockRequest) error { return err } } + + if c.node != nil || c.locked != true { + c.RUnlo...
judge manager if locked before parsing key
moby_moby
train
go
afbfcbb232eec40e0a18b2ccc6d3fe40ab5d59ad
diff --git a/node-tests/helpers/rule-test-harness.js b/node-tests/helpers/rule-test-harness.js index <HASH>..<HASH> 100644 --- a/node-tests/helpers/rule-test-harness.js +++ b/node-tests/helpers/rule-test-harness.js @@ -66,9 +66,19 @@ module.exports = function(options) { }); }); - options.good.forEach(f...
Add ability for test harness to accept a config object.
ember-template-lint_ember-template-lint
train
js
e1eb4b33450447c6f39bbde4e16b9bc3a8814179
diff --git a/test/message-test.js b/test/message-test.js index <HASH>..<HASH> 100644 --- a/test/message-test.js +++ b/test/message-test.js @@ -195,8 +195,8 @@ describe("Message API", function () { var messages = messageResponse.messages; (messages[0] === undefined).should.be.true; - return messageRespons...
Fix Linting Issue (Again)
Bandwidth_node-bandwidth
train
js
a7c4f935cf2b96ec4d98946548c9f9821f37ee7e
diff --git a/porespy/networks/_getnet.py b/porespy/networks/_getnet.py index <HASH>..<HASH> 100644 --- a/porespy/networks/_getnet.py +++ b/porespy/networks/_getnet.py @@ -117,8 +117,8 @@ def regions_to_network(regions, phases=None, voxel_size=1, accuracy='standard'): if im.size != phases.size: raise Excep...
Made regions_to_network flexible to work with noncontiguous phase labels
PMEAL_porespy
train
py
2a102904949b8092181c3e11cb085d5f73c834ac
diff --git a/spline/tools/version.py b/spline/tools/version.py index <HASH>..<HASH> 100644 --- a/spline/tools/version.py +++ b/spline/tools/version.py @@ -50,16 +50,16 @@ class VersionsCheck(object): LOGGER = Logger.get_logger(__name__) """Logger instance for this class.""" - BASH_VERSION = r'''bash --ve...
#<I>: fail pipeline when a required tool is missing (fixed: flexible versions)
Nachtfeuer_pipeline
train
py
d0ffddc4d950bf9485183e1929ab7359983b1681
diff --git a/tcp2ws.go b/tcp2ws.go index <HASH>..<HASH> 100644 --- a/tcp2ws.go +++ b/tcp2ws.go @@ -66,7 +66,8 @@ func handleRequest(conn net.Conn, rhost string) { defer wsConn.Close() REQUEST_HEADERS := map[string][]string{ - "Sec-Websocket-Protocol": []string{"binary", "base64"}, + "Sec-WebSocket-Protocol": []...
Added websocket version header: <I> as per RFC <I>
mcclymont_tcp2ws-go
train
go
c695198c9557b8ca33f98c39a1e6959d82064a79
diff --git a/gzip.go b/gzip.go index <HASH>..<HASH> 100644 --- a/gzip.go +++ b/gzip.go @@ -2,9 +2,11 @@ package gzip import ( "compress/gzip" + "io/ioutil" "net/http" "path/filepath" "strings" + "sync" "gopkg.in/gin-gonic/gin.v1" ) @@ -17,14 +19,22 @@ const ( ) func Gzip(level int) gin.HandlerFunc {...
Use sync.Pool to recycle gzip.Writer gzip.Writer internally uses flate.Writer which allocates <I> MB memory each time NewWriter is called. (see golang/go#<I>) By using a resource pool and reseting the writer we can reduce garbage collection a lot.
gin-contrib_gzip
train
go
c3ede671c5da7783f9abd424ef28943aff99bfd8
diff --git a/Slim/App.php b/Slim/App.php index <HASH>..<HASH> 100644 --- a/Slim/App.php +++ b/Slim/App.php @@ -448,7 +448,22 @@ class App implements RequestHandlerInterface ->withProtocolVersion($httpVersion) ->withHeader('Content-Type', 'text/html; charset=UTF-8'); - return $this->ca...
add logic block to detect HEAD request in handle method
slimphp_Slim
train
php
3b2467db108191dd8441adcbda7d22769463c6e9
diff --git a/src/main/java/org/jboss/pressgang/ccms/model/MinHash.java b/src/main/java/org/jboss/pressgang/ccms/model/MinHash.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jboss/pressgang/ccms/model/MinHash.java +++ b/src/main/java/org/jboss/pressgang/ccms/model/MinHash.java @@ -66,6 +66,7 @@ public class Mi...
Minor fix so that the MinHash column is validated by hibernate validator.
pressgang-ccms_PressGangCCMSModel
train
java
71d08097e1ab576bf2eb5310d4a94047360faa49
diff --git a/lib/ooor.rb b/lib/ooor.rb index <HASH>..<HASH> 100644 --- a/lib/ooor.rb +++ b/lib/ooor.rb @@ -72,7 +72,7 @@ module Ooor if to_load_models #we load only a customized subset of the OpenERP models model_ids = @ir_model_class.search([['model', 'in', to_load_models]]) else #we load all th...
faster OOOR boot: no new to search for existing model ids: from 1 to <I> will load them all (else force them) and save an RPC request
akretion_ooor
train
rb
00294271163ba2e6de46094e3f3bda6d440048e9
diff --git a/test/yoyo_test.rb b/test/yoyo_test.rb index <HASH>..<HASH> 100644 --- a/test/yoyo_test.rb +++ b/test/yoyo_test.rb @@ -69,7 +69,7 @@ class YoyoTest < Minitest::Test end def test_yo_all_with_link - yo.yo_all + yo.yo_all link: "http://justyo.co" assert_equal "{}", yo.result.response.body ...
oops. Forgot to actually test for link sending in yo_all
philcrissman_yoyo
train
rb
a09307420d58d26bfe0e37f1bc8fe73695a63ff2
diff --git a/php/rmapi.class.php b/php/rmapi.class.php index <HASH>..<HASH> 100644 --- a/php/rmapi.class.php +++ b/php/rmapi.class.php @@ -143,6 +143,10 @@ class RMAPI{ $uri = sprintf("/easysmtp/%s", $AccountId); return $this->requestBase($uri, $RequestBody, "POST"); } + function rm_easySmtpAd...
enhanced PHP API wrapper Added function to support advanced scheduling endpoint for EasySMTP.
ReachmailInc_WebAPISamples
train
php
9fcc5579f1670491e2ff6df30bbc520b88eca535
diff --git a/admin/jsonadm/tests/Admin/JsonAdm/Supplier/StandardTest.php b/admin/jsonadm/tests/Admin/JsonAdm/Supplier/StandardTest.php index <HASH>..<HASH> 100755 --- a/admin/jsonadm/tests/Admin/JsonAdm/Supplier/StandardTest.php +++ b/admin/jsonadm/tests/Admin/JsonAdm/Supplier/StandardTest.php @@ -31,7 +31,7 @@ class S...
Adapt to changed unittest supplier codes/labels
aimeos_ai-admin-jsonadm
train
php
f50e664133537e89c32647505214f0a96ecb33ed
diff --git a/packages/react-impression/src/components/Select/Select.js b/packages/react-impression/src/components/Select/Select.js index <HASH>..<HASH> 100644 --- a/packages/react-impression/src/components/Select/Select.js +++ b/packages/react-impression/src/components/Select/Select.js @@ -195,22 +195,20 @@ export defa...
fix Select未匹配选项时展示value问题 (#<I>) Co-authored-by: tingting.yang <>
NewDadaFE_react-impression
train
js
583a94e9b378f7704de27ca4d98d9d2b1e2cc098
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( include_package_data=True, zip_safe=False, keywords=['MBTiles', 'Mapnik'], - classifiers=['Programming Language :: Python :: 2.6', + classifiers=['Programming Language :: Python :: 3....
Change version python in stup
makinacorpus_landez
train
py
506ad00fd5525e74fe40f67601e928a92969aa8b
diff --git a/client_test.go b/client_test.go index <HASH>..<HASH> 100644 --- a/client_test.go +++ b/client_test.go @@ -90,7 +90,7 @@ func TestTorrentInitialState(t *testing.T) { pieceStateChanges: pubsub.NewPubSub(), } tor.chunkSize = 2 - tor.storageOpener = storage.NewFile(dir) + tor.storageOpener = storage.New...
Probably fix test failure Due to some changes in the Torrent instantiation code, I think there's a race in this test to verify the piece before counting the pending chunks. The torrent isn't supposed to be complete to begin with, so give it a bogus data directory to ensure it.
anacrolix_torrent
train
go
55fafdc05f73717626bb79359df7255c75062237
diff --git a/backbone.subroute.js b/backbone.subroute.js index <HASH>..<HASH> 100644 --- a/backbone.subroute.js +++ b/backbone.subroute.js @@ -12,7 +12,7 @@ define(['underscore', 'backbone'], factory); } else if (typeof exports === 'object') { // Next for Node.js, CommonJS, browserify... - ...
actually export the router when used as CommonJS module
BackboneSubroute_backbone.subroute
train
js
7e65df802bb49910f165fa2826d1953e540c56b0
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -64,11 +64,6 @@ class DamLessServer { const damless = await this.giveme.resolve("damless"); await damless.asset(route, filepath); } - - async on(type, listener) { - const damless = await this.g...
Remove on is DamLessServer
BenoitClaveau_damless
train
js
d24de9832e4fe92aaa329ad1d32442f74d8ecf32
diff --git a/src/Session.php b/src/Session.php index <HASH>..<HASH> 100644 --- a/src/Session.php +++ b/src/Session.php @@ -18,11 +18,11 @@ namespace Dframe; class Session implements \Psr\SimpleCache\CacheInterface { - function __construct($baseClass) + function __construct($app = []) { - $option...
Resolved #<I>, Update session __construct
dframe_dframe
train
php
6afb3f2ee037ffed1baddb2cb0f857be9e85dcf9
diff --git a/lib/win32/certstore/mixin/helper.rb b/lib/win32/certstore/mixin/helper.rb index <HASH>..<HASH> 100644 --- a/lib/win32/certstore/mixin/helper.rb +++ b/lib/win32/certstore/mixin/helper.rb @@ -34,10 +34,8 @@ module Win32 if($use.FriendlyName -like "Client Authentication" ){ ...
corrected a logic error in the helper.rb
chef_win32-certstore
train
rb
39d6ad334f90269a470f230af25a20b5d4806fb4
diff --git a/test/unit/download_test.rb b/test/unit/download_test.rb index <HASH>..<HASH> 100644 --- a/test/unit/download_test.rb +++ b/test/unit/download_test.rb @@ -8,7 +8,7 @@ class DownloadTest < ActiveSupport::TestCase should_have_db_index :version_id should "load up all downloads with just raw strings and...
Can't be certain enough that dumb gems aren't dumb
rubygems_rubygems.org
train
rb
297156a4ef5105acc8ec09eb5bc7f930011a00b5
diff --git a/clients/java/signalr/src/test/java/com/microsoft/signalr/sample/Chat.java b/clients/java/signalr/src/test/java/com/microsoft/signalr/sample/Chat.java index <HASH>..<HASH> 100644 --- a/clients/java/signalr/src/test/java/com/microsoft/signalr/sample/Chat.java +++ b/clients/java/signalr/src/test/java/com/micr...
Check if HubConnection stopped normally (#<I>)
aspnet_SignalR
train
java
f24b21174604c3a208e1933b46284c5f766779e8
diff --git a/plugins/commands/serve/client/terminal.rb b/plugins/commands/serve/client/terminal.rb index <HASH>..<HASH> 100644 --- a/plugins/commands/serve/client/terminal.rb +++ b/plugins/commands/serve/client/terminal.rb @@ -9,6 +9,11 @@ module VagrantPlugins prepend Util::ClientSetup prepend Util::...
Provide override to lookup TerminalUI for our Terminal client
hashicorp_vagrant
train
rb
4be226ec31c2986e33e552c423a8b86e723611e1
diff --git a/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java b/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/infinispan/manager/DefaultCacheManager.java +++ b/core/src/main/java/org/infinispan/manager/DefaultCacheManager.ja...
ISPN-<I> When a cache is stopped and restarted, its configuration reference within component registry is not refreshed with defineConfiguration/undefineConfiguration
infinispan_infinispan
train
java
125ae7340171939bf384707991e474129ee292c5
diff --git a/php/commands/shell.php b/php/commands/shell.php index <HASH>..<HASH> 100644 --- a/php/commands/shell.php +++ b/php/commands/shell.php @@ -8,8 +8,18 @@ class Shell_Command extends \WP_CLI_Command { public function __invoke() { \WP_CLI::line( 'Type "exit" to close session.' ); - $repl = new \Boris\Bo...
fall back to old REPL implementation if Boris is not available
wp-cli_shell-command
train
php
7c3cb963220bb1e94d93270e571220825997404d
diff --git a/hdx/data/dataset.py b/hdx/data/dataset.py index <HASH>..<HASH> 100644 --- a/hdx/data/dataset.py +++ b/hdx/data/dataset.py @@ -317,12 +317,12 @@ class Dataset(HDXObject): for i, galleryitem in enumerate(self.gallery): galleryitem_title = galleryitem['title'] ga...
Ignore checking existence of dataset_id in update of gallery items in dataset
OCHA-DAP_hdx-python-api
train
py
860edff9f45241c1c4c2036b135fd5ca76bd830b
diff --git a/demos/demo_sftp.py b/demos/demo_sftp.py index <HASH>..<HASH> 100755 --- a/demos/demo_sftp.py +++ b/demos/demo_sftp.py @@ -28,7 +28,6 @@ import sys import traceback import paramiko -import interactive # setup logging
[project @ <EMAIL><I>-ca<I>e8c<I>c9c4b7] this demo doesn't need to import interactive
bitprophet_ssh
train
py
6d6759dd142847980ed2cecf3a504f238e413d32
diff --git a/src/token-delimiter.js b/src/token-delimiter.js index <HASH>..<HASH> 100644 --- a/src/token-delimiter.js +++ b/src/token-delimiter.js @@ -73,6 +73,12 @@ module.exports = function * tokenDelimiter(source) { if (quoting === QUOTING_DELIM[currentCharacter] && (quoting === QUOTING.SINGLE || quoting === ...
unquoting should happen later, after various expansions
vorpaljs_bash-parser
train
js
6dca76041009028a86cd9ab68b1c375e374a6015
diff --git a/pypeerassets/pautils.py b/pypeerassets/pautils.py index <HASH>..<HASH> 100644 --- a/pypeerassets/pautils.py +++ b/pypeerassets/pautils.py @@ -202,7 +202,7 @@ def validate_card_transfer_p2th(deck: Deck, raw_tx: dict) -> None: if not address == deck.p2th_address: raise InvalidCardTransf...
Try Except TypeError from e ( validate card p2th )
PeerAssets_pypeerassets
train
py
2892e2d557093caba6f5f8d41ff15897afaa70cb
diff --git a/paxtools-core/src/main/java/org/biopax/paxtools/impl/level3/PublicationXrefImpl.java b/paxtools-core/src/main/java/org/biopax/paxtools/impl/level3/PublicationXrefImpl.java index <HASH>..<HASH> 100644 --- a/paxtools-core/src/main/java/org/biopax/paxtools/impl/level3/PublicationXrefImpl.java +++ b/paxtools-c...
to address data too long for column title at row 1 DataIntegrityViolationException
BioPAX_Paxtools
train
java
3c0aea25fa3a649a7f36c202279ff8a26c2def9f
diff --git a/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb b/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb index <HASH>..<HASH> 100644 --- a/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb +++ b/lib/shoulda/matchers/active_record/have_readonly_attrib...
readonly_attributes are now a Set instead of Array
thoughtbot_shoulda-matchers
train
rb
292ec7b3431d7c0b2c9e4836244b0879fdf7b433
diff --git a/phpsec/phpsec.pw.php b/phpsec/phpsec.pw.php index <HASH>..<HASH> 100644 --- a/phpsec/phpsec.pw.php +++ b/phpsec/phpsec.pw.php @@ -87,28 +87,6 @@ class phpsecPw { } /** - * Check the age of a salted password. - * - * @param string $dbPassword - * The json string fetched from the database, ...
Removed the phpsecPw::age() method. This method is stupid, and requires much overhead in the salt.
phpsec_phpSec
train
php
2fdd01be85b892d990ee0aaa3731f731f8feaa4c
diff --git a/class/class-eduadmin-loginhandler.php b/class/class-eduadmin-loginhandler.php index <HASH>..<HASH> 100644 --- a/class/class-eduadmin-loginhandler.php +++ b/class/class-eduadmin-loginhandler.php @@ -54,7 +54,7 @@ } } - if ( $user ) { + if ( isset( $user ) ) { if ( $regularLogin ) { ...
Wrapping variable control in `isset` to get rid of warning.
MultinetInteractive_EduAdmin-WordPress
train
php
bcd39f561e20ea995146051076d0e63be3db5661
diff --git a/jquery.smoothState.js b/jquery.smoothState.js index <HASH>..<HASH> 100644 --- a/jquery.smoothState.js +++ b/jquery.smoothState.js @@ -12,7 +12,12 @@ "use strict"; /** Abort plugin if browser does not suppost pushState */ - if(!history.pushState) { return; } + if(!history.pushState) { + ...
Fixed support for browsers without pushState
miguel-perez_smoothState.js
train
js
bff61ba27cb113b90f210a30173a8e66602615ca
diff --git a/actionpack/lib/action_dispatch/journey/formatter.rb b/actionpack/lib/action_dispatch/journey/formatter.rb index <HASH>..<HASH> 100644 --- a/actionpack/lib/action_dispatch/journey/formatter.rb +++ b/actionpack/lib/action_dispatch/journey/formatter.rb @@ -32,8 +32,8 @@ module ActionDispatch defa...
Avoid calling to_s on nil in journey/formatter When `defaults[key]` in `generate` in the journey formatter is called, it often returns a `nil` when we call `to_s` on a nil, it allocates an empty string. We can skip this check when the default value is nil. This change buys us <I>,<I> bytes of memory and <I> fewer obj...
rails_rails
train
rb
337e55375cc395130195cb50797050e510bfc776
diff --git a/src/Zephyrus/Application/FormField.php b/src/Zephyrus/Application/FormField.php index <HASH>..<HASH> 100644 --- a/src/Zephyrus/Application/FormField.php +++ b/src/Zephyrus/Application/FormField.php @@ -28,6 +28,14 @@ class FormField private array $rules = []; /** + * Determines if the form ...
Added hasError in FormField class
dadajuice_zephyrus
train
php
4bc6a45273114c0cd76c87e7d22eb17a89cfd34b
diff --git a/src/main/resources/META-INF/resources/primefaces/clock/clock.js b/src/main/resources/META-INF/resources/primefaces/clock/clock.js index <HASH>..<HASH> 100644 --- a/src/main/resources/META-INF/resources/primefaces/clock/clock.js +++ b/src/main/resources/META-INF/resources/primefaces/clock/clock.js @@ -335,7...
Fix #<I> Clock synchronization issue.
primefaces_primefaces
train
js
32229c6519dcb2bb73a93a80f832a6b1dbe0c1b2
diff --git a/host-controller/src/main/java/org/jboss/as/host/controller/DomainModelControllerService.java b/host-controller/src/main/java/org/jboss/as/host/controller/DomainModelControllerService.java index <HASH>..<HASH> 100644 --- a/host-controller/src/main/java/org/jboss/as/host/controller/DomainModelControllerServi...
[WFLY-<I>] reads of the serverInventory are not guarded by the serverInventoryLock
wildfly_wildfly
train
java
7d44c002d52a705db80e3b4f69c0ed6c06184a09
diff --git a/lib/tinker.js b/lib/tinker.js index <HASH>..<HASH> 100644 --- a/lib/tinker.js +++ b/lib/tinker.js @@ -11,6 +11,7 @@ const eslint = './node_modules/.bin/eslint --fix'; module.exports = function tinker(filePath, eslintrc) { let file = fs.readFileSync(filePath).toString(); + let updatedFlag = false; ...
feat: only rewrite file when it has Errors
benjycui_eslint-tinker
train
js
e0b53ff012474f607c29915115e812d08759141e
diff --git a/src/WindowManager.js b/src/WindowManager.js index <HASH>..<HASH> 100644 --- a/src/WindowManager.js +++ b/src/WindowManager.js @@ -362,7 +362,6 @@ OO.ui.WindowManager.prototype.getCurrentWindow = function () { * @fires opening */ OO.ui.WindowManager.prototype.openWindow = function ( win, data, lifecycl...
Remove reference to old valid-jsdoc rule Change-Id: I5b<I>b7a<I>dc2d2f2ebb5ae<I>e<I>a2
wikimedia_oojs-ui
train
js
6a3e46c68ae8a8e22433b177b91f32c13b3f7991
diff --git a/core/config/service_manager.php b/core/config/service_manager.php index <HASH>..<HASH> 100644 --- a/core/config/service_manager.php +++ b/core/config/service_manager.php @@ -6,8 +6,8 @@ return [ 'config_factories' => [ \Rcm\Service\RedirectService::class => [ 'arguments' => [ - ...
fix bug in previous PR "make redirect service easier to override"
reliv_Rcm
train
php
9a087a9ffd330f26a7106625229d1370289649e1
diff --git a/src/basis/template/tokenize.js b/src/basis/template/tokenize.js index <HASH>..<HASH> 100644 --- a/src/basis/template/tokenize.js +++ b/src/basis/template/tokenize.js @@ -543,7 +543,10 @@ function tokenize(source, options){ /** @cut */ result.warns.push(['Wrong close tag: ' + source.substr(startP...
basis.template: some fixes in tokenizer - returns range for whole tag not for open tag only - return `warns: false` instead of no property at all
basisjs_basisjs
train
js
52575692e1fb44f2b8a03b51bc916ccd0b4bd2a8
diff --git a/src/Illuminate/Support/helpers.php b/src/Illuminate/Support/helpers.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Support/helpers.php +++ b/src/Illuminate/Support/helpers.php @@ -501,7 +501,7 @@ if (! function_exists('dd')) { if (! function_exists('e')) { /** - * Escape HTML entities in ...
Replace htmlentities with htmlspecialchars. (#<I>) As a non-english speaker, I would like to keep my strings non escaped.
laravel_framework
train
php
0810f5e79cc779bbe626e785534d7be87a450dc5
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -20,11 +20,9 @@ const cleanCSS = require('gulp-clean-css'); const sass = require('gulp-sass'); // Files/Paths -const js_src = './assets/scripts'; +const js_files = ['./assets/scripts/**/*.js']; const js_dest =...
removed unnecessary variables from gulpfile
GrottoPress_jentil
train
js
e0a4d9db155673a695e130ffdd9a9f335efdeebc
diff --git a/absl/logging/tests/logging_test.py b/absl/logging/tests/logging_test.py index <HASH>..<HASH> 100644 --- a/absl/logging/tests/logging_test.py +++ b/absl/logging/tests/logging_test.py @@ -363,28 +363,6 @@ class PythonHandlerTest(absltest.TestCase): self.assertTrue(fake_file.closed) -class PrefixForm...
Delete PrefixFormatterTest in favor of ABSLLogPrefixTest.
abseil_abseil-py
train
py
fe5e690e785e35b7679e0b96d7a20dacbbf174ea
diff --git a/src/Fields/ButtonGroup.php b/src/Fields/ButtonGroup.php index <HASH>..<HASH> 100644 --- a/src/Fields/ButtonGroup.php +++ b/src/Fields/ButtonGroup.php @@ -16,6 +16,7 @@ namespace WordPlate\Acf\Fields; use WordPlate\Acf\Fields\Attributes\Choices; use WordPlate\Acf\Fields\Attributes\ConditionalLogic; use W...
Added layout to button group Closes #<I> and #<I>
wordplate_acf
train
php
39a9224a45ea3f4f25e18e8f1e7c5cb1aee8763a
diff --git a/lib/jwt/decode.rb b/lib/jwt/decode.rb index <HASH>..<HASH> 100644 --- a/lib/jwt/decode.rb +++ b/lib/jwt/decode.rb @@ -92,8 +92,8 @@ module JWT end def parse_and_decode(segment) - JSON.parse(JWT::Base64.url_decode(segment)) - rescue JSON::ParserError + JWT::JSON.parse(JWT::Base64.ur...
Fix JSON conflict between #<I> and #<I>
jwt_ruby-jwt
train
rb
556a2cd5c4efd88ffc7a48353dbfb8185c662d69
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -97,10 +97,10 @@ setup( ext_modules=cythonize(ext_modules), install_requires=[ 'Cython>=0.21.1', + 'ftfy>=4.1.0,<5.0.0', 'lxml', - 'scikit-learn>=0.15.2,<=0.20', - 'numpy', - ...
Update setup install_requires deps to match requirements.txt
dragnet-org_dragnet
train
py
943c34b00df3848c301946404d2fe14663205c87
diff --git a/lib/arjdbc/sqlite3/connection_methods.rb b/lib/arjdbc/sqlite3/connection_methods.rb index <HASH>..<HASH> 100644 --- a/lib/arjdbc/sqlite3/connection_methods.rb +++ b/lib/arjdbc/sqlite3/connection_methods.rb @@ -13,6 +13,10 @@ ArJdbc::ConnectionMethods.module_eval do end config[:driver] ||= 'org.sq...
Fix one sqlite3-specific test in AR
jruby_activerecord-jdbc-adapter
train
rb
3ffc90f10d446224cfb4d7b2787853745b55dcb8
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,10 +46,10 @@ copyright = u'2009, the django-authority team' # built documents. # # The short X.Y version. -version = '0.3' +version = '0.4' # The full version, including alpha/beta/rc tags. -release =...
Bumped version to <I>
jazzband_django-authority
train
py,cfg,py
7d9908dda7a5783f85f256d6bf5567d908ac2c56
diff --git a/groupy/objects.py b/groupy/objects.py index <HASH>..<HASH> 100644 --- a/groupy/objects.py +++ b/groupy/objects.py @@ -216,6 +216,12 @@ class Member: raise AttributeError('no nickname') raise AttributeError('no user_id, email, or phone_number') + def post(self, text, *attachments): + pass + + de...
Added stubs for direct messages
rhgrant10_Groupy
train
py
f4196d8438293f91f8613645d9a0f422dc351b0d
diff --git a/cheroot/test/test_core.py b/cheroot/test/test_core.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_core.py +++ b/cheroot/test/test_core.py @@ -118,7 +118,11 @@ class HTTPTests(helper.CherootWebCase): which would be a security issue otherwise. """ c = self._get_http_connect...
Build the resource in code to better explain what it's made of.
cherrypy_cheroot
train
py
c3e5e4fdb25c720207f6d8d6093b327512d08f11
diff --git a/pixelgl/canvas.go b/pixelgl/canvas.go index <HASH>..<HASH> 100644 --- a/pixelgl/canvas.go +++ b/pixelgl/canvas.go @@ -315,6 +315,10 @@ func (ct *canvasTriangles) draw(tex *glhf.Texture, bounds pixel.Rect) { ct.dst.shader.s.SetUniformAttr(loc, u.Value()) } + if clip, has := ct.ClipRect(); has { + ...
Moved triangle clipping to the proper location
faiface_pixel
train
go
5b581632fce7519f7b738f18414750a40d5cf688
diff --git a/core/src/test/java/de/uniulm/omi/cloudiator/sword/domain/ImageImplTest.java b/core/src/test/java/de/uniulm/omi/cloudiator/sword/domain/ImageImplTest.java index <HASH>..<HASH> 100644 --- a/core/src/test/java/de/uniulm/omi/cloudiator/sword/domain/ImageImplTest.java +++ b/core/src/test/java/de/uniulm/omi/clou...
fixed compile error due to common changes
cloudiator_sword
train
java
8b1634b4131b9fbf3271e542783ce154ce3459fd
diff --git a/lib/archive.js b/lib/archive.js index <HASH>..<HASH> 100644 --- a/lib/archive.js +++ b/lib/archive.js @@ -32,7 +32,7 @@ Archiver.prototype.start = function start() { } Archiver.prototype.unref = function unref() { - if (this.interval) { + if (this.interval && this.interval.unref) { this.interval...
Check for ref/unref existence before calling them. For <I> compat, means that <I> will not auto-shutdown and requires a call to cx.stop()
Concurix_module-stats
train
js
0df2f8b36bda5a55a690584b944f63ab92f0b2b5
diff --git a/filemutex_flock.go b/filemutex_flock.go index <HASH>..<HASH> 100644 --- a/filemutex_flock.go +++ b/filemutex_flock.go @@ -35,6 +35,13 @@ func (m *FileMutex) Lock() error { return nil } +func (m *FileMutex) TryLock() error { + if err := syscall.Flock(m.fd, syscall.LOCK_EX|syscall.LOCK_NB); err != nil {...
add non-blocking version of lock
alexflint_go-filemutex
train
go
8c071ca4c0318adb3b3f8b1b56b475c75b620963
diff --git a/Mixtape/cluster/__init__.py b/Mixtape/cluster/__init__.py index <HASH>..<HASH> 100644 --- a/Mixtape/cluster/__init__.py +++ b/Mixtape/cluster/__init__.py @@ -33,7 +33,6 @@ from __future__ import absolute_import, print_function, division from six import PY2 import numpy as np -from functools import reduc...
working in python3
msmbuilder_msmbuilder
train
py,py
b79dfcb272bcff74fd3ba9fa8719543eed0c5037
diff --git a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/model/ExploreSettingsModel.js b/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/model/ExploreSettingsModel.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardEx...
[INTERNAL] sap.ui.integration: hide DesignTime editor button in Cards Explorer on openui5nightly Change-Id: If<I>d<I>a4eab<I>cb6b8d<I>dc0fa9cc5
SAP_openui5
train
js
d15a4412e43a7d76d8563a8dbb2d9f0843b30028
diff --git a/src/Everon/Rest/Router.php b/src/Everon/Rest/Router.php index <HASH>..<HASH> 100644 --- a/src/Everon/Rest/Router.php +++ b/src/Everon/Rest/Router.php @@ -27,6 +27,10 @@ class Router extends EveronRouter implements Interfaces\Router catch (\Exception $e) { $DefaultItem = null; ...
fixed problem with the DefaultRoute not being returned properly
oliwierptak_Everon1
train
php