Skip to content

Commit e55bcba

Browse files
committed
Remove rubygems_mfa_required setting and disable RequireMFA cop
This setting was introduced automatically by the aforementioned rubocop cop,which makes it impossible to publish to rubygems automatically from a Githubaction with an API key, since one would always need the second factor.
1 parent 24e402c commit e55bcba

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.rubocop.yml

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ Metrics/CyclomaticComplexity:
113113
Metrics/PerceivedComplexity:
114114
Max: 8
115115

116+
Gemspec/RequireMFA:
117+
Enabled: false
118+
116119
# TODO -----------------------------------------------------------------
117120

118121
Style/Documentation:

colorls.gemspec

-1
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,4 @@ Gem::Specification.new do |spec|
8181
spec.add_development_dependency 'rubocop-rspec', '~> 2.20.0'
8282
spec.add_development_dependency 'rubygems-tasks', '~> 0'
8383
spec.add_development_dependency 'simplecov', '~> 0.22.0'
84-
spec.metadata['rubygems_mfa_required'] = 'true'
8584
end

0 commit comments

Comments
 (0)