diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-09 17:13:30 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-25 12:15:36 +0200 |
| commit | 2d8c6f6b5fbdff7cbc0f4ffd2801b9530f1a2143 (patch) | |
| tree | 220ba0a702e14a03c4a770f2af6216ca9c089c23 | |
| parent | 63a6edf1e191cf91fb80717ebae67c78af0d7db5 (diff) | |
| download | caxlsx-2d8c6f6b5fbdff7cbc0f4ffd2801b9530f1a2143.tar.gz caxlsx-2d8c6f6b5fbdff7cbc0f4ffd2801b9530f1a2143.zip | |
Opt-in for MFA requirement
Make the gem more secure by requiring that all privileged operations by
any of the owners require OTP.
Ref: https://guides.rubygems.org/mfa-requirement-opt-in/
| -rw-r--r-- | .rubocop_todo.yml | 7 | ||||
| -rw-r--r-- | axlsx.gemspec | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index bb6a38f9..dab9ffb2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -7,13 +7,6 @@ # versions of RuboCop, may require this file to be generated again. # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: Severity, Include. -# Include: **/*.gemspec -Gemspec/RequireMFA: - Exclude: - - 'axlsx.gemspec' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/FirstHashElementIndentation: diff --git a/axlsx.gemspec b/axlsx.gemspec index 83531ce4..5f27130b 100644 --- a/axlsx.gemspec +++ b/axlsx.gemspec @@ -16,6 +16,8 @@ Gem::Specification.new do |s| eof s.files = Dir.glob("{lib/**/*,examples/**/*.rb,examples/**/*.jpeg}") + %w{LICENSE README.md Rakefile CHANGELOG.md .yardopts .yardopts_guide} + s.metadata = { 'rubygems_mfa_required' => 'true' } + s.add_runtime_dependency "htmlentities", "~> 4.3", '>= 4.3.4' s.add_runtime_dependency "marcel", '~> 1.0' s.add_runtime_dependency 'nokogiri', '~> 1.10', '>= 1.10.4' |
