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
44cfa0540face9970aae704096aa75d8d1e080ae
diff --git a/features/step_definitions/jekyll_steps.rb b/features/step_definitions/jekyll_steps.rb index <HASH>..<HASH> 100644 --- a/features/step_definitions/jekyll_steps.rb +++ b/features/step_definitions/jekyll_steps.rb @@ -14,7 +14,7 @@ Given /^I have a blank site in "(.*)"$/ do |path| end Given /^I do not have...
Switch it to file.exists? and File.directory? so <I> doesn't complain.
jekyll_jekyll
train
rb
ef7bd0f4cb38bb3cefc91b35819cd99e7465f181
diff --git a/angr/knowledge/function.py b/angr/knowledge/function.py index <HASH>..<HASH> 100644 --- a/angr/knowledge/function.py +++ b/angr/knowledge/function.py @@ -64,7 +64,7 @@ class Function(object): if project.is_hooked(addr): hooker = project.hooked_by(addr) name = ...
Add dummy shim for syscall stuff in SimOS base
angr_angr
train
py,py
ef5ca6933798cc75f8c52d80ce55d824eabf62a7
diff --git a/tests/DispatcherTest.php b/tests/DispatcherTest.php index <HASH>..<HASH> 100644 --- a/tests/DispatcherTest.php +++ b/tests/DispatcherTest.php @@ -19,7 +19,7 @@ class DispatcherTest extends TestCase new FakeEndPointMiddleware(), ]); - $this->assertResponse('', $dispatcher->dis...
added tests for <I>% coverage
oscarotero_middleland
train
php
0042db6fff6c26797c6120612546cf762b00d270
diff --git a/valley/mixins.py b/valley/mixins.py index <HASH>..<HASH> 100644 --- a/valley/mixins.py +++ b/valley/mixins.py @@ -198,7 +198,7 @@ class BooleanMixin(VariableMixin): self.validators = [BooleanValidator()] def get_db_value(self, value): - return bool(value) + return self.get_pyt...
fixed get_db_Value for BooleanMixin
capless_valley
train
py
5b84923fed5a984faae5c21e3d1968b9f3c4a5f1
diff --git a/lib/IDS/Converter.php b/lib/IDS/Converter.php index <HASH>..<HASH> 100644 --- a/lib/IDS/Converter.php +++ b/lib/IDS/Converter.php @@ -561,6 +561,9 @@ class IDS_Converter $value ); + // normalize separation char repetion + $value = preg_replace('/([.+~=\-])\1{2,}/m', '$1', $value);...
added code to deal with abnormal repetiton of separation chars
PHPIDS_PHPIDS
train
php
bb915cbf3d34b2ec1d828a2e4f6a20445aeef32a
diff --git a/src/ol/proj/proj.js b/src/ol/proj/proj.js index <HASH>..<HASH> 100644 --- a/src/ol/proj/proj.js +++ b/src/ol/proj/proj.js @@ -228,11 +228,9 @@ goog.inherits(ol.Proj4jsProjection_, ol.Projection); * @inheritDoc */ ol.Proj4jsProjection_.prototype.getMetersPerUnit = function() { - var metersPerUnit; - ...
Less code Since out meters per unit conversion table is a bit spare, prefer the configured conversion.
openlayers_openlayers
train
js
698f9c717bff4ec9190ca9e6a7e9ad016a3e7e57
diff --git a/tests/test_jujupy.py b/tests/test_jujupy.py index <HASH>..<HASH> 100644 --- a/tests/test_jujupy.py +++ b/tests/test_jujupy.py @@ -1516,6 +1516,13 @@ class TestEnvJujuClient(ClientTest): client.wait_for_started(start=now - timedelta(1200)) self.assertEqual(writes, [...
Start testing wait_for_status.
juju_juju
train
py
d27ef4df2986a8291ccf2c859a41852f45d7843e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def tag_version(): """Generate version number from Git Tag, e.g. v2.0.0, v2.0.0-1.""" recent_tag = subprocess.check_output(shlex.split('git describe --long')) tag, count, _ = recent_tag.decode().s...
feat: Default to alpha releases
foremast_foremast
train
py
31da21b8c96b01eb53597c1f567edb87c8a4a31f
diff --git a/codeTemplates/src/Entity/Repositories/AbstractEntityRepository.php b/codeTemplates/src/Entity/Repositories/AbstractEntityRepository.php index <HASH>..<HASH> 100644 --- a/codeTemplates/src/Entity/Repositories/AbstractEntityRepository.php +++ b/codeTemplates/src/Entity/Repositories/AbstractEntityRepository.p...
May have made a mistake with the csignore comments
edmondscommerce_doctrine-static-meta
train
php,php
7690ae68749c687711085184dd7ef7673e0e60f1
diff --git a/lib/cuda/driver/ffi-cu.rb b/lib/cuda/driver/ffi-cu.rb index <HASH>..<HASH> 100644 --- a/lib/cuda/driver/ffi-cu.rb +++ b/lib/cuda/driver/ffi-cu.rb @@ -122,9 +122,12 @@ module API :MAXIMUM_TEXTURE3D_WIDTH, 24, :MAXIMUM_TEXTURE3D_HEIGHT, 25, :MAXIMUM_TEXTURE3D_DEPTH, 26, - :M...
CU: Update texture attributes of CUDeviceAttribute for CUDA <I>.
xman_sgc-ruby-cuda
train
rb
8c96b22b44ef75b859d98d3dc55d9fb193aa8192
diff --git a/trovebox/http.py b/trovebox/http.py index <HASH>..<HASH> 100644 --- a/trovebox/http.py +++ b/trovebox/http.py @@ -105,7 +105,7 @@ class Http(object): self._logger.info("GET %s" % url) self._logger.info("---") self._logger.info(response.text[:1000]) - if len(response.text) ...
No coverage required for response logging truncation
photo_openphoto-python
train
py
ccdd80ebcafc541d44faf941211a11b8f7abf004
diff --git a/lib/openapi3_parser/source.rb b/lib/openapi3_parser/source.rb index <HASH>..<HASH> 100644 --- a/lib/openapi3_parser/source.rb +++ b/lib/openapi3_parser/source.rb @@ -72,7 +72,7 @@ module Openapi3Parser data.dig(*json_pointer) if data.respond_to?(:dig) end - def has_pointer?(json_pointer) #...
Rename rubocop rule disabling This was incorrectly namespaced to Style when it is actually under Naming namespace.
kevindew_openapi3_parser
train
rb
b0f92d23dc807ed01068a9cd9cf7555121975274
diff --git a/src/Models/Monitor.php b/src/Models/Monitor.php index <HASH>..<HASH> 100644 --- a/src/Models/Monitor.php +++ b/src/Models/Monitor.php @@ -76,7 +76,7 @@ class Monitor extends Model { parent::boot(); - static::saving(function (Monitor $monitor) { + static::saving(function (self ...
Apply fixes from StyleCI (#<I>)
spatie_laravel-uptime-monitor
train
php
bf229a1952d5c4595e5de348a27d6aed9ebccc4d
diff --git a/workbench/server/dir_watcher.py b/workbench/server/dir_watcher.py index <HASH>..<HASH> 100644 --- a/workbench/server/dir_watcher.py +++ b/workbench/server/dir_watcher.py @@ -26,7 +26,7 @@ class DirWatcher(object): def start_monitoring(self): """ Monitor the path given """ - self.jobs...
disable file monitoring until we figure out a bad bug
SuperCowPowers_workbench
train
py
9d8f4c1bfa7fec2cff9007dcd9c27d66c7340bb1
diff --git a/test/spec/Editor-test.js b/test/spec/Editor-test.js index <HASH>..<HASH> 100644 --- a/test/spec/Editor-test.js +++ b/test/spec/Editor-test.js @@ -184,6 +184,12 @@ define(function (require, exports, module) { // Mode for range - mix of modes myEditor.setSelection({line: 2, ...
Add one more unit test, requested in code review - mixed mode selection range the exposes the limitations of only looking at start & end of range.
adobe_brackets
train
js
61af0862cdbc517c292825a726f8055559f6a0ca
diff --git a/vault/core.go b/vault/core.go index <HASH>..<HASH> 100644 --- a/vault/core.go +++ b/vault/core.go @@ -666,16 +666,16 @@ func (c *Core) Standby() (bool, error) { func (c *Core) Leader() (bool, string, error) { c.stateLock.RLock() defer c.stateLock.RUnlock() - // Check if sealed - if c.sealed { - retur...
vault: Swap the HAEnabled check with the sealed check
hashicorp_vault
train
go
7e2f228b1d55427b4c83b4d75002fd2bb0618188
diff --git a/web/src/test/java/uk/ac/ebi/atlas/acceptance/rest/tests/mtab1066/MTAB1066GeneProfilesDownloadControllerIT.java b/web/src/test/java/uk/ac/ebi/atlas/acceptance/rest/tests/mtab1066/MTAB1066GeneProfilesDownloadControllerIT.java index <HASH>..<HASH> 100644 --- a/web/src/test/java/uk/ac/ebi/atlas/acceptance/rest...
as index size varies between a fresh local index and an old index on lime, had to soften gene profile download length test
ebi-gene-expression-group_atlas
train
java
16196d0049517d25148b23864f40c7923acad262
diff --git a/lib/veritas/relation/empty.rb b/lib/veritas/relation/empty.rb index <HASH>..<HASH> 100644 --- a/lib/veritas/relation/empty.rb +++ b/lib/veritas/relation/empty.rb @@ -3,8 +3,10 @@ module Veritas class Empty < Materialized include Optimizable # for no-op #optimize + ZERO_TUPLE = [].freeze...
Use an Array to initialize an Empty relation
dkubb_axiom
train
rb
34ba0eaa9ac71663e2b511e0155d5a6b3abc9dcf
diff --git a/trunk/JLanguageTool/src/main/dev/org/languagetool/dev/WordTokenizer.java b/trunk/JLanguageTool/src/main/dev/org/languagetool/dev/WordTokenizer.java index <HASH>..<HASH> 100644 --- a/trunk/JLanguageTool/src/main/dev/org/languagetool/dev/WordTokenizer.java +++ b/trunk/JLanguageTool/src/main/dev/org/languaget...
small code simplification: no need to catch exception
languagetool-org_languagetool
train
java
f39f092b9440f2f032f03c1ffc772043abec58d6
diff --git a/lib/celluloid/calls.rb b/lib/celluloid/calls.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/calls.rb +++ b/lib/celluloid/calls.rb @@ -3,7 +3,11 @@ module Celluloid class Call attr_reader :method, :arguments, :block + RETRY_CALL = 3 + RETRY_LIMIT = 5 + def initialize(method, argumen...
retry structure for calls coming in primatively, to be continued in #<I>
celluloid_celluloid
train
rb
2d97b68f58d78a9185965a3279a363f4eb2126e7
diff --git a/config/initializers/indexing_adapter_initializer.rb b/config/initializers/indexing_adapter_initializer.rb index <HASH>..<HASH> 100644 --- a/config/initializers/indexing_adapter_initializer.rb +++ b/config/initializers/indexing_adapter_initializer.rb @@ -5,7 +5,7 @@ require 'valkyrie/indexing/null_indexing_...
updated lint regarding no params on method call
samvera_hyrax
train
rb
9e3747324f8442008687073e8da0111d8fa669d7
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,10 +18,14 @@ module.exports = function(grunt) { port: 8050, host: "*", keepalive: true, - livereload: true + livereload: true, + open: { + ...
Automatically open test page in browser using xdg-open.
MiguelCastillo_spromise
train
js
b9900356fd2b8171fdfecc0cc092499364bb61ca
diff --git a/src/sap.ui.core/src/sap/ui/model/FilterProcessor.js b/src/sap.ui.core/src/sap/ui/model/FilterProcessor.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.core/src/sap/ui/model/FilterProcessor.js +++ b/src/sap.ui.core/src/sap/ui/model/FilterProcessor.js @@ -101,7 +101,7 @@ sap.ui.define(['./Filter', 'jquery.sa...
[FIX] FilterProcessor: Adapt normalization for MS Edge <I>+ Since MS Edge <I> the behaviour of toUpperCase with composed Unicode characters changed, which requires compatibility decomposition to still work as expected. BCP: <I> Change-Id: Id<I>a<I>c<I>cd9aab<I>c4dd<I>bc<I>
SAP_openui5
train
js
334e35f0a2dc5288e27c31e8e8ed4aad5ea1bf35
diff --git a/src/Http/MellonAuthenticationHook.php b/src/Http/MellonAuthenticationHook.php index <HASH>..<HASH> 100644 --- a/src/Http/MellonAuthenticationHook.php +++ b/src/Http/MellonAuthenticationHook.php @@ -38,20 +38,20 @@ class MellonAuthenticationHook implements BeforeHookInterface public function executeB...
also fix #6 for the case where addEntityID is true
eduvpn_vpn-lib-common
train
php
becd6d24b0d122d84ead56293778af0f3f9ec066
diff --git a/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java b/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java index <HASH>..<HASH> 100644 --- a/apptentive/src/main/java/com/apptentive/android/sdk/ApptentiveViewActivity.java +++ b/apptentive/src/main/java/...
Fixed dismissing ApptentiveViewActivity on user log out
apptentive_apptentive-android
train
java
e23160e945cdbf28fa3d42699b931234b8bc95d7
diff --git a/jenetics/src/main/java/io/jenetics/internal/util/StreamProxy.java b/jenetics/src/main/java/io/jenetics/internal/util/StreamProxy.java index <HASH>..<HASH> 100644 --- a/jenetics/src/main/java/io/jenetics/internal/util/StreamProxy.java +++ b/jenetics/src/main/java/io/jenetics/internal/util/StreamProxy.java @...
Delegate new 'Stream' methods 'takeWhile' and 'dropWhile'.
jenetics_jenetics
train
java
c864dbf87c25929191d3470f0ac0b14c656fd2a8
diff --git a/test/helper.rb b/test/helper.rb index <HASH>..<HASH> 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,4 +1,5 @@ require 'rubygems' if RUBY_VERSION < '1.9.0' +gem 'test-unit' require "test/unit" require 'em-spec/test' Dir.glob(File.dirname(__FILE__) + '/../lib/sensu/*', &method(:require))
[travis] em-spec working w/ ruby <I>
sensu_sensu
train
rb
bc88daab99cc6511995faf5ef1e9816fc40097ab
diff --git a/src/Forms/ApiAccessTokenFormFactory.php b/src/Forms/ApiAccessTokenFormFactory.php index <HASH>..<HASH> 100644 --- a/src/Forms/ApiAccessTokenFormFactory.php +++ b/src/Forms/ApiAccessTokenFormFactory.php @@ -14,7 +14,7 @@ class ApiAccessTokenFormFactory private $apiAccessRepository; private $apiA...
Fix translation of button for api access form Removing caption from button. Caption "check all" is incorrect and translations are sometimes incorrectly cached if both caption & setHtml are used on addButton / addSubmit.
remp2020_crm-api-module
train
php
6a73f032cd7095a4e5dd227f2c176b3b5abd0803
diff --git a/lib/naver/ext/hash/to_underscore_keys.rb b/lib/naver/ext/hash/to_underscore_keys.rb index <HASH>..<HASH> 100644 --- a/lib/naver/ext/hash/to_underscore_keys.rb +++ b/lib/naver/ext/hash/to_underscore_keys.rb @@ -29,7 +29,7 @@ class Hash end def underscore(camel_cased_word) - return camel_cased_wor...
REGEX.match? is ruby <I> only. replace to =~
kimsuelim_naver-sdk-ruby
train
rb
ae4aeeb23332ae0671d2e9d15770b69c3ce30fac
diff --git a/tests/test_textFile.py b/tests/test_textFile.py index <HASH>..<HASH> 100644 --- a/tests/test_textFile.py +++ b/tests/test_textFile.py @@ -30,6 +30,7 @@ def test_s3_textFile(): 's3n://aws-publicdatasets/common-crawl/crawl-data/CC-MAIN-2015-11/warc.paths.*' ) print(myrdd.collect()) + as...
add an assert to the s3-gz-compressed-textFile test case
svenkreiss_pysparkling
train
py
5c6472453307f9feca1fbaebcaeaf90d2e37e047
diff --git a/modules/hypermedia.js b/modules/hypermedia.js index <HASH>..<HASH> 100644 --- a/modules/hypermedia.js +++ b/modules/hypermedia.js @@ -198,15 +198,8 @@ define([ enter: function (rel, parameters, actions, options) { var homeResource = this.getDefinition(rel); - ...
Enable the use of other http verb with json home endpoints (it was limited to get only)
w20-framework_w20
train
js
5debcffd556128c36370c7cdd81cc343c18477b8
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -1033,7 +1033,6 @@ class TabBox(Widget): def add_tab(self, widget, name, tab_cb): holder = Tag(_type='div', _class='') - holder.style['padding'] = '15px' holder.add_child('content', ...
BigFix graphical unwanted padding in TabBox
dddomodossola_remi
train
py
8578841972f86f3c0f5197d194df43feef29ba33
diff --git a/cloudaux/aws/ec2.py b/cloudaux/aws/ec2.py index <HASH>..<HASH> 100644 --- a/cloudaux/aws/ec2.py +++ b/cloudaux/aws/ec2.py @@ -93,6 +93,12 @@ def describe_instances(**kwargs): @sts_conn('ec2') @rate_limited() +def describe_vpcs(**kwargs): + return kwargs.pop('client').describe_vpcs(**kwargs) + + +@st...
Adding the ability to describe vpcs.
Netflix-Skunkworks_cloudaux
train
py
eef95ba0d2f9a7f29bcd061a664c930c97c3f3f3
diff --git a/src/resolver.js b/src/resolver.js index <HASH>..<HASH> 100644 --- a/src/resolver.js +++ b/src/resolver.js @@ -44,9 +44,6 @@ function resolverFactory(target, options) { type = type.ofType || type; findOptions.attributes = targetAttributes; - - findOptions.root = context; - findOptions.cont...
dont add context to findOptions as Sequelize might memory leak
mickhansen_graphql-sequelize
train
js
10e8f1be8b2796642f6f398c024a8d9f0369512e
diff --git a/lib/socket.js b/lib/socket.js index <HASH>..<HASH> 100644 --- a/lib/socket.js +++ b/lib/socket.js @@ -220,14 +220,11 @@ Socket.prototype.onOpen = function () { */ Socket.prototype.onMessage = function (msg) { + // debug: socket receive: type "%s" | data "%s", msg.type, msg.data switch (msg.type) {...
Instrumented onMessage and removed unnecessary `open` handler.
socketio_engine.io-client
train
js
b69dac92f29e1c3814cb0959f155bbc939f2e4a1
diff --git a/lib/rvc/modules/vim.rb b/lib/rvc/modules/vim.rb index <HASH>..<HASH> 100644 --- a/lib/rvc/modules/vim.rb +++ b/lib/rvc/modules/vim.rb @@ -81,7 +81,7 @@ def connect uri, opts unless opts[:rev] # negotiate API version rev = vim.serviceContent.about.apiVersion - vim.rev = [rev, '4.1'].min + ...
allow RVC_VIMREV environment variable to override maximum supported version
vmware_rvc
train
rb
de47c3f0eeb9d9b03526a0707f275d3cf752b086
diff --git a/src/Message/PurchaseRequest.php b/src/Message/PurchaseRequest.php index <HASH>..<HASH> 100644 --- a/src/Message/PurchaseRequest.php +++ b/src/Message/PurchaseRequest.php @@ -22,9 +22,9 @@ class PurchaseRequest extends AbstractRequest return $this->setParameter('language', $value); } - pu...
fix: client could be object and throws exceptions
hiqdev_omnipay-freekassa
train
php
a4a90c33fcf0a4ea01f65cb74c60db21ab62bd88
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,8 +1,10 @@ +"use strict"; + var gulp = require("gulp"), jshint = require("gulp-jshint"); gulp.task("lint", function() { - return gulp.src(["./lib/*.js", "./test/*.js"]) + return gulp.src(["./lib/**/*.js", ...
Include more files to lint
jchristin_dataflow
train
js
34c068ec49ce884e17b489ebbf064473e93d4579
diff --git a/salt/modules/win_file.py b/salt/modules/win_file.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_file.py +++ b/salt/modules/win_file.py @@ -17,8 +17,8 @@ import logging # pylint: disable=W0611 import tempfile # do not remove. Used in salt.modules.file.__clean_tmp import itertools # same as above...
use two spaces before inline comment Keep pylint happy
saltstack_salt
train
py
4a0642d17ef60caa3816abbe5cc99184a8acf44b
diff --git a/src/Fields/Datepicker.php b/src/Fields/Datepicker.php index <HASH>..<HASH> 100644 --- a/src/Fields/Datepicker.php +++ b/src/Fields/Datepicker.php @@ -94,15 +94,20 @@ EOT; { $startDay = $options['start-day'] ?? 1; $format = $options['format'] ?? 'YYYY-MM-DD'; + $event = $option...
Because datepicker had an issue with updating
GrafiteInc_FormMaker
train
php
fdedba02f1d360839df3795f66369207c5793842
diff --git a/userservice/user.py b/userservice/user.py index <HASH>..<HASH> 100644 --- a/userservice/user.py +++ b/userservice/user.py @@ -24,8 +24,11 @@ class UserService: def _require_middleware(self): if "initialized" not in self._get_current_user_data(): - raise UninitializedError("You ne...
print warning when DEBUG is True
uw-it-aca_django-userservice
train
py
ec0b51878be740397084b76e5a3cb71f096cb2be
diff --git a/src/mako/session/Session.php b/src/mako/session/Session.php index <HASH>..<HASH> 100644 --- a/src/mako/session/Session.php +++ b/src/mako/session/Session.php @@ -296,7 +296,12 @@ class Session // Get the session id from the cookie or generate a new one if it doesn't exist. - $this->sessionId = $thi...
No longer loading the UUID class unnecessarily
mako-framework_framework
train
php
c047979b168ee1f84310907d5bfee166391dd74a
diff --git a/sdk/go/common/apitype/history.go b/sdk/go/common/apitype/history.go index <HASH>..<HASH> 100644 --- a/sdk/go/common/apitype/history.go +++ b/sdk/go/common/apitype/history.go @@ -84,6 +84,7 @@ const ( // Should generally mirror backend.UpdateInfo, but we clone it in this package to add // flexibility in c...
Export UpdateID as part of the UpdateInfo event that comes from the SaaS (#<I>)
pulumi_pulumi
train
go
8385a991d18ac4559f999fb4f12018d422ddf39b
diff --git a/lib/slimmer.rb b/lib/slimmer.rb index <HASH>..<HASH> 100644 --- a/lib/slimmer.rb +++ b/lib/slimmer.rb @@ -197,6 +197,18 @@ module Slimmer dest.at_css(@path).replace(body) end end + + class BodyClassCopier + def filter(src, dest) + src_body_tag = src.at_css("body") + dest_body...
Allow body classes to be propogated from both the template and application layout.
alphagov_slimmer
train
rb
47133a3e7e8230e9cb8674a97efc8fc7c8e007e7
diff --git a/src/cr/cube/cubepart.py b/src/cr/cube/cubepart.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/cubepart.py +++ b/src/cr/cube/cubepart.py @@ -1572,6 +1572,8 @@ class _Nub(CubePartition): @lazyproperty def is_empty(self): + if self.unweighted_count <= 0: + return True ...
fix is_empty in _Nub checks even for <I>
Crunch-io_crunch-cube
train
py,py
87d45e810831ae003cf4446a31799f9d55db208b
diff --git a/presto-resource-group-managers/src/main/java/com/facebook/presto/resourceGroups/db/DbResourceGroupConfigurationManager.java b/presto-resource-group-managers/src/main/java/com/facebook/presto/resourceGroups/db/DbResourceGroupConfigurationManager.java index <HASH>..<HASH> 100644 --- a/presto-resource-group-m...
Add more logging to DB resource groups
prestodb_presto
train
java
7650dabbadcbc1278db13cb1fe2368a3088d001a
diff --git a/spec/cucumber/formatter/spec_helper.rb b/spec/cucumber/formatter/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/cucumber/formatter/spec_helper.rb +++ b/spec/cucumber/formatter/spec_helper.rb @@ -36,10 +36,15 @@ module Cucumber compile [gherkin_doc], receiver, filters end + req...
Let formatter::spec_helper use event_bus_report. Then the events will be available to the formatters during testing with RSpec.
cucumber_cucumber-ruby
train
rb
d7d4584bb8753e8c23b1f75c23239e0075468b21
diff --git a/cherrypy/_cputil.py b/cherrypy/_cputil.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cputil.py +++ b/cherrypy/_cputil.py @@ -323,11 +323,14 @@ def formatExc(exc=None): if exc == (None, None, None): return "" - if hasattr(exc[1], "args"): - page_handler_str = "" - if le...
Fix for the fix for #<I> (hey, that rhymes!).
cherrypy_cheroot
train
py
b5efe9f470ac28f4bb0cc8895413f2225a16d9e0
diff --git a/app/models/picture.rb b/app/models/picture.rb index <HASH>..<HASH> 100644 --- a/app/models/picture.rb +++ b/app/models/picture.rb @@ -27,4 +27,16 @@ class Picture < ActiveRecord::Base self.name.blank? ? "image_#{self.id}" : self.name.split(/\./).first end + def landscape_format? + return (s...
adding three methods to get information about pictures format. (landscape, portrait and square)
AlchemyCMS_alchemy_cms
train
rb
7ab837187631ba8ab2f203454bca804709dc81e7
diff --git a/app/models/blog.rb b/app/models/blog.rb index <HASH>..<HASH> 100644 --- a/app/models/blog.rb +++ b/app/models/blog.rb @@ -179,15 +179,15 @@ class Blog < ActiveRecord::Base url_generated += "##{extra_params[:anchor]}" if extra_params[:anchor] url_generated when Hash - unless Rails.ca...
Fixes link caching issue (All cached links are the same basically)
publify_publify
train
rb
71cbdf83ca8bbeab58a4cebe8eadfeb491fd070a
diff --git a/lib/hexUtils.js b/lib/hexUtils.js index <HASH>..<HASH> 100644 --- a/lib/hexUtils.js +++ b/lib/hexUtils.js @@ -1,3 +1,5 @@ +'use strict' + const ethjsUtil = require('ethjs-util') module.exports = {
Allow let in hexUtils
MetaMask_eth-block-tracker
train
js
58fb802a05f7ea44ef595f118130952176f7190d
diff --git a/packages/ipfs-core/src/components/stats/bw.js b/packages/ipfs-core/src/components/stats/bw.js index <HASH>..<HASH> 100644 --- a/packages/ipfs-core/src/components/stats/bw.js +++ b/packages/ipfs-core/src/components/stats/bw.js @@ -53,10 +53,10 @@ function getBandwidthStats (libp2p, opts) { const { moving...
fix: round bandwidth stats (#<I>) Dividing the bandwidth stats sometimes results in a fraction which we cannot convert to a `BigInteger` since it's not an integer... Fixes #<I>
ipfs_js-ipfs
train
js
acd544a5640c0f15f93344ccefae9631acb4c3f7
diff --git a/lib/pagify.rb b/lib/pagify.rb index <HASH>..<HASH> 100644 --- a/lib/pagify.rb +++ b/lib/pagify.rb @@ -3,8 +3,6 @@ module Pagify autoload :ArrayPager, 'pagify/array' autoload :DataMapperPager, 'pagify/data_mapper' autoload :ActiveRecordPager, 'pagify/active_record' - - autoload :VERSIO...
don't autoload VERSION.
godfat_pagify
train
rb
72b74676137fe4c3daa9303e050436533d8d73f3
diff --git a/src/Intahwebz/ImageFile.php b/src/Intahwebz/ImageFile.php index <HASH>..<HASH> 100644 --- a/src/Intahwebz/ImageFile.php +++ b/src/Intahwebz/ImageFile.php @@ -3,6 +3,8 @@ namespace Intahwebz; +echo "Lol this is amazing...."; +exit(0); abstract class ImageFile { @@ -28,7 +30,7 @@ abstract class Ima...
OK this is a deliberate creash.
Danack_intahwebz-core
train
php
6ea1ea8a51c54c0c7f63ed52c6a98fb567a0d4dd
diff --git a/docker/models/images.py b/docker/models/images.py index <HASH>..<HASH> 100644 --- a/docker/models/images.py +++ b/docker/models/images.py @@ -193,8 +193,8 @@ class ImageCollection(Collection): (:py:class:`Image`): The image. Raises: - :py:class:`docker.errors.ImageNotFoun...
Fix docstring of ImageCollection.get
docker_docker-py
train
py
c5dcd83c16e4ead1bfbedd81178e643a11eedc4d
diff --git a/server/src/main/java/org/kaazing/gateway/server/context/resolve/GatewayContextResolver.java b/server/src/main/java/org/kaazing/gateway/server/context/resolve/GatewayContextResolver.java index <HASH>..<HASH> 100644 --- a/server/src/main/java/org/kaazing/gateway/server/context/resolve/GatewayContextResolver....
default require-role to "*" even for multiple http realms - remove check for "auth-required" realm name, which was bypassing gateway security
kaazing_gateway
train
java
83b9365e17c522dc0556e6c0d99e2c1146aafaec
diff --git a/umbra/ui/models.py b/umbra/ui/models.py index <HASH>..<HASH> 100644 --- a/umbra/ui/models.py +++ b/umbra/ui/models.py @@ -433,7 +433,7 @@ class GraphModel(QAbstractItemModel): success = True for i in range(count): childNode = umbra.ui.nodes.GraphModelNode() - success *= True if isinstance(paren...
Update various methods in "umbra.ui.models.GraphModel" class.
KelSolaar_Umbra
train
py
b8386002a08b1bafb091cdf712dc469f985bc589
diff --git a/pyani/scripts/parsers/__init__.py b/pyani/scripts/parsers/__init__.py index <HASH>..<HASH> 100644 --- a/pyani/scripts/parsers/__init__.py +++ b/pyani/scripts/parsers/__init__.py @@ -59,8 +59,6 @@ from pyani.scripts.parsers import ( listdeps_parser, ) -from pyani import __version__ - # Process co...
Removed unnecessary import of `__version__`
widdowquinn_pyani
train
py
ee06b48df2231dce6b3905661d7e757f5d7608bb
diff --git a/src/main/java/org/osgl/util/Generics.java b/src/main/java/org/osgl/util/Generics.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/osgl/util/Generics.java +++ b/src/main/java/org/osgl/util/Generics.java @@ -163,7 +163,9 @@ public class Generics { } } superC...
Generics.typeParamImplementations: handle the case with different classloader
osglworks_java-tool
train
java
047ca9ea775a2217ff7922ee4de88ab10a3d69e1
diff --git a/lib/celluloid/io/tcp_socket.rb b/lib/celluloid/io/tcp_socket.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/io/tcp_socket.rb +++ b/lib/celluloid/io/tcp_socket.rb @@ -39,8 +39,6 @@ module Celluloid # Guess it's not an IP address, so let's try DNS unless @addr - # TODO: suppp...
We totally do async DNS now!
celluloid_celluloid-io
train
rb
16858f9e50900dc00a2e98c78a91d1dd0ca6760e
diff --git a/src/User_Command.php b/src/User_Command.php index <HASH>..<HASH> 100644 --- a/src/User_Command.php +++ b/src/User_Command.php @@ -1,7 +1,9 @@ <?php /** - * Manage users. + * Manages users, along with their roles, capabilities, and meta. + * + * See references for [Roles and Capabilities](https://codex....
Improve command description; add Codex links
wp-cli_entity-command
train
php
1a5c8d376761e279c128aec45f23d92b3582e721
diff --git a/amqpstorm/channel.py b/amqpstorm/channel.py index <HASH>..<HASH> 100644 --- a/amqpstorm/channel.py +++ b/amqpstorm/channel.py @@ -107,8 +107,7 @@ class Channel(BaseChannel, Stateful): :param pamqp.Frame frame_in: Amqp frame. :return: """ - rpc_request = self.rpc.on_frame(f...
Refactored Basic.get.
eandersson_amqpstorm
train
py,py,py
800014dff503d9d5870e48f8adf2a3827870400c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ desc = ('Flexible, extensible Web CMS framework built on Tornado,' 'compatible with Python 3.4 and above.') setup( name='torcms', - version='0.6.21', + version='0.6.22', keywords=('torc...
update the version to <I>.
bukun_TorCMS
train
py
b626f555d577eef90df29b0fcccbb50910c63930
diff --git a/src/Webpage/MenuGenerator.php b/src/Webpage/MenuGenerator.php index <HASH>..<HASH> 100644 --- a/src/Webpage/MenuGenerator.php +++ b/src/Webpage/MenuGenerator.php @@ -24,7 +24,7 @@ use vxPHP\Application\Application; * * @author Gregor Kofler * - * @version 1.0.0, 2020-10-10 + * @version 1.0.1, 2020-11...
fix: wrong default type for hinted argument in MenuGenerator
Vectrex_vxPHP
train
php
25bfdf82d67e47f14a5a2cb93220e42dfd224c6b
diff --git a/lib/flapjack/cli/notifier_manager.rb b/lib/flapjack/cli/notifier_manager.rb index <HASH>..<HASH> 100644 --- a/lib/flapjack/cli/notifier_manager.rb +++ b/lib/flapjack/cli/notifier_manager.rb @@ -41,15 +41,17 @@ module Flapjack options.host ||= "localhost" options.port ||= 11300 - unless...
don't check for recipients file if we're stopping
flapjack_flapjack
train
rb
bb56a1ae72094b5a6729040ec7d53d3633505aaa
diff --git a/src/main/java/com/stripe/model/Token.java b/src/main/java/com/stripe/model/Token.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/stripe/model/Token.java +++ b/src/main/java/com/stripe/model/Token.java @@ -15,6 +15,8 @@ public class Token extends APIResource { Long created; String currency; S...
Add member variables for "client ip" and "email" in Token model
stripe_stripe-java
train
java
6a9f5604c138680f88fd6ce1f6e7f3a0f207db92
diff --git a/Exedra/Application/Loader.php b/Exedra/Application/Loader.php index <HASH>..<HASH> 100644 --- a/Exedra/Application/Loader.php +++ b/Exedra/Application/Loader.php @@ -16,7 +16,7 @@ class Loader return strpos($file, ":") !== false; } - public function load($file,$data = null, $subapp = null) + private...
Add getContent method to loader
Rosengate_exedra
train
php
8402a1cb174edde01d0a6a53d914ea26a7d28b4f
diff --git a/tasks/writing.js b/tasks/writing.js index <HASH>..<HASH> 100644 --- a/tasks/writing.js +++ b/tasks/writing.js @@ -76,7 +76,9 @@ function writing(grunt) { posts.push(post); if (!--numRemainingPosts) { - posts = _.sortBy(posts, 'date'); + posts.sort(function (a, b) { + ...
Used a sort function that actually works.
colingourlay_grunt-writing
train
js
1be31802970a248d99cc14b2fa6f57333dd0a85d
diff --git a/libtmux/window.py b/libtmux/window.py index <HASH>..<HASH> 100644 --- a/libtmux/window.py +++ b/libtmux/window.py @@ -477,9 +477,8 @@ class Window(TmuxMappingObject, TmuxRelationalObject): # tmux < 1.7. This is added in 1.7. if pane.stderr: - raise exc.LibTmuxException(pane.s...
chore: Fix raise for older tmux versions
tmux-python_libtmux
train
py
bf8d7abbf6af8e379c725d207f217871a6abda54
diff --git a/lib/ovirt/base_object.rb b/lib/ovirt/base_object.rb index <HASH>..<HASH> 100644 --- a/lib/ovirt/base_object.rb +++ b/lib/ovirt/base_object.rb @@ -12,5 +12,11 @@ module OVIRT def parse_version xml (xml/'version').first[:major] +"."+ (xml/'version').first[:minor] end + + def parse_bool te...
Add method to parse XML booleans Currently we don't convert boolean objects returned by the server to the Ruby representation of booleans. This complicates further treatment of these values, as they have to be treated as strings. To avoid that this patch introduces a new "parse_bool" method in the base object class in...
abenari_rbovirt
train
rb
e83c17450ee0275dffde334460d8d6a7777874a5
diff --git a/ommprotocol/md.py b/ommprotocol/md.py index <HASH>..<HASH> 100644 --- a/ommprotocol/md.py +++ b/ommprotocol/md.py @@ -264,9 +264,7 @@ class Stage(object): status = '#{}'.format(self._stage_number[0]) if self.total_stages is not None: status += '/{}'.format(self.to...
fix(md): better structured stdout report of conditions
insilichem_ommprotocol
train
py
45bda6d7ed92a860be7d99e488bece0414617482
diff --git a/packages/chrysalis-focus/src/lib/chrysalis-focus.js b/packages/chrysalis-focus/src/lib/chrysalis-focus.js index <HASH>..<HASH> 100644 --- a/packages/chrysalis-focus/src/lib/chrysalis-focus.js +++ b/packages/chrysalis-focus/src/lib/chrysalis-focus.js @@ -41,9 +41,9 @@ class Focus { for (let dev...
focus: Support devices sharing the same VID+PID pair
keyboardio_chrysalis-api
train
js
6ec0517c930f4ce8cad1c8c3a8e853aa6aa725bf
diff --git a/napalm_base/base.py b/napalm_base/base.py index <HASH>..<HASH> 100644 --- a/napalm_base/base.py +++ b/napalm_base/base.py @@ -1445,8 +1445,8 @@ class NetworkDriver(object): Returns a dictionary where the keys are as listed below: * intf_name (unicode) - * physical_cha...
Modified keys in the returned data structure for get_optics
napalm-automation_napalm-base
train
py
58b53e6ed3330a3bbf9810a30bbb45f3bec4171b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup_params = dict( ], setup_requires=[ 'hgtools', + 'pytest-runner', ], use_2to3=True, use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
Use pytest-runner to allow tests to be invoked with 'setup.py ptr'
jaraco_jaraco.util
train
py
98a4815072d4fda224c556367f43aca1d6ca6b57
diff --git a/azurerm/helpers/azure/app_service.go b/azurerm/helpers/azure/app_service.go index <HASH>..<HASH> 100644 --- a/azurerm/helpers/azure/app_service.go +++ b/azurerm/helpers/azure/app_service.go @@ -12,7 +12,6 @@ import ( "github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils" ) -// Once ...
Remove comment related to azure SDK update
terraform-providers_terraform-provider-azurerm
train
go
3daa167245f7203bc471e882245bac81e8db337b
diff --git a/script/wee.view.js b/script/wee.view.js index <HASH>..<HASH> 100644 --- a/script/wee.view.js +++ b/script/wee.view.js @@ -449,7 +449,29 @@ fn(options.model); - W[name].$observe('*', fn); + W.$extend(W[name], { + /** + * Pause view updating + */ + $pause: function() { + W[name]...
Add ability to pause and resume app rendering with cooresponding methods
weepower_wee-core
train
js
a19aa49f5ad653088d4fb56a675dd083a8edae9b
diff --git a/src/Palladium/Entity/OneTimeIdentity.php b/src/Palladium/Entity/OneTimeIdentity.php index <HASH>..<HASH> 100644 --- a/src/Palladium/Entity/OneTimeIdentity.php +++ b/src/Palladium/Entity/OneTimeIdentity.php @@ -46,9 +46,8 @@ class OneTimeIdentity extends Identity */ public function generateNewKey...
Minor: cleaned up key-generation method
teresko_palladium
train
php
c29f947d8c5b314aa2ddfd5f28ec016490e2e511
diff --git a/invoice/src/main/java/com/ning/billing/invoice/generator/DefaultInvoiceGenerator.java b/invoice/src/main/java/com/ning/billing/invoice/generator/DefaultInvoiceGenerator.java index <HASH>..<HASH> 100644 --- a/invoice/src/main/java/com/ning/billing/invoice/generator/DefaultInvoiceGenerator.java +++ b/invoice...
invoice: reformat DefaultNotificationQueueService No functional change.
killbill_killbill
train
java
0cf365d605501b48466486de00e9c3f2282106de
diff --git a/genmodel/manager.py b/genmodel/manager.py index <HASH>..<HASH> 100644 --- a/genmodel/manager.py +++ b/genmodel/manager.py @@ -420,7 +420,7 @@ def cast_spell(job_id): # install dependencies subprocess.call(shlex.split('pip install -r requirements.txt')) # cast spell (non blocking,...
set envar step shouldn't be done w subprocess foo
empirical-org_Quill-NLP-Tools-and-Datasets
train
py
6baf786bc6473ee5d611c4a62c269210f4e80a68
diff --git a/cumulusci/core/github.py b/cumulusci/core/github.py index <HASH>..<HASH> 100644 --- a/cumulusci/core/github.py +++ b/cumulusci/core/github.py @@ -80,21 +80,12 @@ def get_pull_requests_with_base_branch(repo, base_branch_name, head=None): return list(repo.pull_requests(base=base_branch_name, head=head))...
don't throw exception, update func name
SFDO-Tooling_CumulusCI
train
py
9a5e905701aa09002b2b18d36e89b7a6374da90f
diff --git a/lib/appsignal/transaction.rb b/lib/appsignal/transaction.rb index <HASH>..<HASH> 100644 --- a/lib/appsignal/transaction.rb +++ b/lib/appsignal/transaction.rb @@ -137,7 +137,7 @@ module Appsignal Appsignal.logger.debug("Setting http queue start: #{env_var}") value = env_var.tr('^0-9', '') ...
Make sure we don't use resolution in http queue time calculation
appsignal_appsignal-ruby
train
rb
e568a92a2089b2c91da2bf64aed403f2abc4a380
diff --git a/fake_switches/brocade/command_processor/enabled.py b/fake_switches/brocade/command_processor/enabled.py index <HASH>..<HASH> 100644 --- a/fake_switches/brocade/command_processor/enabled.py +++ b/fake_switches/brocade/command_processor/enabled.py @@ -324,7 +324,7 @@ def get_port_attributes(port): f...
One space too many in the output of the brocade 'no ip redirect'
internap_fake-switches
train
py,py
35cb931bf3c75f517bbd3364303003ed16bc9910
diff --git a/astrobase/hplc.py b/astrobase/hplc.py index <HASH>..<HASH> 100644 --- a/astrobase/hplc.py +++ b/astrobase/hplc.py @@ -290,7 +290,7 @@ def concatenate_textlcs(lclist, # track which LC goes where # initial LC lccounter = 0 - lcdict['concatenated'] = {lccounter: lclist[0]} + lcdict['conca...
hplc: fixing normalization
waqasbhatti_astrobase
train
py
e8f7f8862217c6412906c890c57fab056e63cb05
diff --git a/src/Modules/Assets.php b/src/Modules/Assets.php index <HASH>..<HASH> 100644 --- a/src/Modules/Assets.php +++ b/src/Modules/Assets.php @@ -64,7 +64,7 @@ class Assets extends Hookable // there was no manifest or no file present if ($this->manifest === null || ! isset($this->manifest[ $fil...
return correct asset path if manifest not present
snapwp_snap-core
train
php
bc783438f37d91b61fa9939fe1c3f1e5c7ec9fc8
diff --git a/lib/classy/aliasable.rb b/lib/classy/aliasable.rb index <HASH>..<HASH> 100644 --- a/lib/classy/aliasable.rb +++ b/lib/classy/aliasable.rb @@ -8,7 +8,7 @@ # @@classy_aliases, on the extending class. This could concievably lead to # namespace conflicts and strange bugs in the unlikely event that this vari...
fixed a typo in the rdoc
djspinmonkey_classy
train
rb
13ac2d1d633495bce539fff433e62928e6944709
diff --git a/lib/nucleon/command/bash.rb b/lib/nucleon/command/bash.rb index <HASH>..<HASH> 100644 --- a/lib/nucleon/command/bash.rb +++ b/lib/nucleon/command/bash.rb @@ -129,7 +129,16 @@ class Bash < Plugin::Command def exec(options = {}, overrides = nil, &code) config = Config.ensure(options) - Nucle...
Adding more logging to the bash command provider execution process.
coralnexus_nucleon
train
rb
2cf0f6cf1983f5e97a21c086e88ba111c2b49ea7
diff --git a/src/windows/sslCertCheckPluginProxy.js b/src/windows/sslCertCheckPluginProxy.js index <HASH>..<HASH> 100644 --- a/src/windows/sslCertCheckPluginProxy.js +++ b/src/windows/sslCertCheckPluginProxy.js @@ -55,6 +55,7 @@ cordova.commandProxy.add("SSLCertificateChecker", { }, function (reason) { ...
fixed crash in Windows with self signed certificate
EddyVerbruggen_SSLCertificateChecker-PhoneGap-Plugin
train
js
a5ea56abbf43efc98d590f8718d1bc21877d2f3d
diff --git a/packages/babel-preset-react-app/create.js b/packages/babel-preset-react-app/create.js index <HASH>..<HASH> 100644 --- a/packages/babel-preset-react-app/create.js +++ b/packages/babel-preset-react-app/create.js @@ -29,6 +29,11 @@ module.exports = function(api, opts, env) { var isEnvProduction = env === '...
Add allowESModules option to babel-preset-react-app (#<I>) * Add allowESModules option to babel-preset-react-app * changes after feedback * Apply suggestions from code review
facebook_create-react-app
train
js
6ae4b820fac05d051ef0e3e38265636060956f7e
diff --git a/hypervisor/context.go b/hypervisor/context.go index <HASH>..<HASH> 100644 --- a/hypervisor/context.go +++ b/hypervisor/context.go @@ -293,8 +293,13 @@ func (ctx *VmContext) InitDeviceContext(spec *pod.UserPod, wg *sync.WaitGroup, } } + hostname := spec.Name + if len(hostname) > 64 { + hostname = sp...
Hostname length should be no more than <I>
hyperhq_runv
train
go
560274a453c8bc0a03abcedd64caebb83691e6e8
diff --git a/src/Datastore/EntityMapper.php b/src/Datastore/EntityMapper.php index <HASH>..<HASH> 100644 --- a/src/Datastore/EntityMapper.php +++ b/src/Datastore/EntityMapper.php @@ -80,7 +80,7 @@ class EntityMapper { $excludes = []; - foreach ($entityData as $property) { + foreach ($entit...
Bugfix for $key is undefined (#<I>) * Bugfix for $key is undefined * Make it non-associative array
googleapis_google-cloud-php
train
php
132c2d167fcf00645bb3c1e93ecaeb34b243a6c7
diff --git a/modules/@apostrophecms/page-type/index.js b/modules/@apostrophecms/page-type/index.js index <HASH>..<HASH> 100644 --- a/modules/@apostrophecms/page-type/index.js +++ b/modules/@apostrophecms/page-type/index.js @@ -392,6 +392,9 @@ module.exports = { }, extendMethods(self) { return { + enable...
sets custom page types to default their action to @apostrophecms/page s
apostrophecms_apostrophe
train
js
eb268d11637671d83de3ad67058d3a44393838e1
diff --git a/src/Exscriptd/Order.py b/src/Exscriptd/Order.py index <HASH>..<HASH> 100644 --- a/src/Exscriptd/Order.py +++ b/src/Exscriptd/Order.py @@ -58,7 +58,7 @@ class Order(Base): def _read_hosts_from_xml(self, element): for host_elem in element.iterfind('host'): - address = host.get('add...
Exscriptd: fix: last commit broke XML order support.
knipknap_exscript
train
py
fac35f66d91f8926af5eee0d7faf9e7d9d0f618c
diff --git a/src/Models/Conversation.php b/src/Models/Conversation.php index <HASH>..<HASH> 100644 --- a/src/Models/Conversation.php +++ b/src/Models/Conversation.php @@ -4,6 +4,7 @@ namespace Musonza\Chat\Models; use Musonza\Chat\BaseModel; use Musonza\Chat\Chat; +use Illuminate\Database\Eloquent\Relations\Belongs...
Change return type of users() (#<I>) Currently, the type is `User`, which is not the return type of `Eloquent`s `belongsToMany`. Since PHP doesn't have generics, there is no way of setting the return type to something more meaningful.
musonza_chat
train
php
fed443a292897b227712fc44f8b64fdffc87b087
diff --git a/src/Thybag/SharePointAPI.php b/src/Thybag/SharePointAPI.php index <HASH>..<HASH> 100644 --- a/src/Thybag/SharePointAPI.php +++ b/src/Thybag/SharePointAPI.php @@ -835,12 +835,12 @@ class SharePointAPI { $value = strtolower($value); // Default is descending - $sort = 'false'; + $sort = 'FALSE'; ...
Use caps 'TRUE' and 'FALSE' for sorting. SP (somethimes?) doesnt like them in lowercase.
thybag_PHP-SharePoint-Lists-API
train
php
a5827a68e16eafb6f2adbd5ee153c754c67e5a7d
diff --git a/git/odb/object_writer.go b/git/odb/object_writer.go index <HASH>..<HASH> 100644 --- a/git/odb/object_writer.go +++ b/git/odb/object_writer.go @@ -13,15 +13,18 @@ import ( // writes data given to it, and keeps track of the SHA1 hash of the data as it // is written. type ObjectWriter struct { - // w is th...
git/odb: note alignment issue in *ObjectWriter
git-lfs_git-lfs
train
go
a9d3df833dd811f4eff1f6b6124e7f43732dc981
diff --git a/Neos.Flow/Classes/Mvc/FlashMessage/Storage/FlashMessageSessionStorage.php b/Neos.Flow/Classes/Mvc/FlashMessage/Storage/FlashMessageSessionStorage.php index <HASH>..<HASH> 100644 --- a/Neos.Flow/Classes/Mvc/FlashMessage/Storage/FlashMessageSessionStorage.php +++ b/Neos.Flow/Classes/Mvc/FlashMessage/Storage/...
BUGFIX: Avoid bool return value in restoreFlashMessageContainerFromSession() It can happen, that `getData(…)` returns a boolean, leading to an error due to the return type declaration.
neos_flow-development-collection
train
php
031965af630947c21b5e8414042fa754e1d84bad
diff --git a/src/TestSuite/Fixture/FixtureManager.php b/src/TestSuite/Fixture/FixtureManager.php index <HASH>..<HASH> 100644 --- a/src/TestSuite/Fixture/FixtureManager.php +++ b/src/TestSuite/Fixture/FixtureManager.php @@ -75,7 +75,7 @@ class FixtureManager * Modify the debug mode. * * @param bool $de...
Fix a typo in docblock
cakephp_cakephp
train
php
2f3e76006817d09a8a1d33a79148162899fe04ca
diff --git a/groupy/objects.py b/groupy/objects.py index <HASH>..<HASH> 100644 --- a/groupy/objects.py +++ b/groupy/objects.py @@ -97,11 +97,25 @@ class Group: @classmethod def list(cls): - return List(Group(**g) for g in api.Groups.index()) + groups = [] + page = 1 + next_groups = api.Groups.index(page=page)...
Fixed max groups of <I> when listed
rhgrant10_Groupy
train
py
19d8dabddd5b2b34a30702a3dd3af1f33edbcb59
diff --git a/app/models/renalware/letters/event.rb b/app/models/renalware/letters/event.rb index <HASH>..<HASH> 100644 --- a/app/models/renalware/letters/event.rb +++ b/app/models/renalware/letters/event.rb @@ -3,10 +3,6 @@ require_dependency "renalware/letters" module Renalware module Letters class Event < Du...
Move initialize method into Unknown class
airslie_renalware-core
train
rb,rb
12180fdd20f0725ebba80dc44cde366fff0a4725
diff --git a/spec/mongoid_spec.rb b/spec/mongoid_spec.rb index <HASH>..<HASH> 100644 --- a/spec/mongoid_spec.rb +++ b/spec/mongoid_spec.rb @@ -93,6 +93,31 @@ describe CarrierWave::Mongoid do @doc.image.current_path.should == public_path('uploads/test.jpg') end + it "should return valid JSON when ...
Adding tests to the to_json serialization
carrierwaveuploader_carrierwave-mongoid
train
rb