diff options
| -rw-r--r-- | .rubocop_todo.yml | 6 | ||||
| -rw-r--r-- | axlsx.gemspec | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 00f831d9..62856182 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -134,11 +134,6 @@ Style/Documentation: - 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb' # This cop supports safe autocorrection (--autocorrect). -Style/ExpandPathArguments: - Exclude: - - 'axlsx.gemspec' - -# This cop supports safe autocorrection (--autocorrect). # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, AllowedMethods, AllowedPatterns. # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: @@ -220,7 +215,6 @@ Style/ParallelAssignment: # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - - 'axlsx.gemspec' - 'lib/axlsx/drawing/d_lbls.rb' - 'lib/axlsx/drawing/pic.rb' - 'lib/axlsx/drawing/view_3D.rb' diff --git a/axlsx.gemspec b/axlsx.gemspec index 7951b416..bcf90636 100644 --- a/axlsx.gemspec +++ b/axlsx.gemspec @@ -1,6 +1,6 @@ # frozen_string_literal: true -require File.expand_path('../lib/axlsx/version', __FILE__) +require File.expand_path('lib/axlsx/version', __dir__) Gem::Specification.new do |s| s.name = 'caxlsx' @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = <<~MSG xlsx spreadsheet generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx helps you create beautiful Office Open XML Spreadsheet documents (Excel, Google Spreadsheets, Numbers, LibreOffice) without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine. MSG - s.files = Dir.glob("{lib/**/*,examples/**/*.rb,examples/**/*.jpeg}") + %w{LICENSE README.md Rakefile CHANGELOG.md .yardopts .yardopts_guide} + 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' } |
