summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-07 23:54:53 +0200
committerGeremia Taglialatela <[email protected]>2023-04-07 23:54:53 +0200
commit6b1842b20e42b1de14433e162a025f936bce3260 (patch)
tree9af3f335a5ac635e79a61681ee209a30e6e1fd2c
parent7ca771d9e05e76e3a1e69ecf5b51085e4dad2f9e (diff)
downloadcaxlsx-6b1842b20e42b1de14433e162a025f936bce3260.tar.gz
caxlsx-6b1842b20e42b1de14433e162a025f936bce3260.zip
Fix Layout/SpaceInsidePercentLiteralDelimiters
``` rubocop --only Layout/SpaceInsidePercentLiteralDelimiters -a ```
-rw-r--r--.rubocop_todo.yml6
-rw-r--r--axlsx.gemspec2
2 files changed, 1 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 95ca7d1d..8f18d44c 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -209,12 +209,6 @@ Layout/SpaceInsideHashLiteralBraces:
Layout/SpaceInsideParens:
Enabled: false
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-Layout/SpaceInsidePercentLiteralDelimiters:
- Exclude:
- - 'axlsx.gemspec'
-
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
diff --git a/axlsx.gemspec b/axlsx.gemspec
index 5da4d73f..400bf0e2 100644
--- a/axlsx.gemspec
+++ b/axlsx.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.description = <<-eof
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.
eof
- 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.add_runtime_dependency 'nokogiri', '~> 1.10', '>= 1.10.4'
s.add_runtime_dependency 'rubyzip', '>= 1.3.0', '< 3'