summaryrefslogtreecommitdiffhomepage
path: root/axlsx.gemspec
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-10-20 15:13:05 +0200
committerGitHub <[email protected]>2023-10-20 15:13:05 +0200
commit51689ff2aa32acf855e6d07cf98da765b37d3fe0 (patch)
treec341e1f80a1a262faacb8c1e3e1f8cdf09701cf6 /axlsx.gemspec
parentf476d99cc69f71150a7074ec2d3a0d54ca71a332 (diff)
parentcd1c1eab344609cc65a7dade4f5e913d212fa063 (diff)
downloadcaxlsx-51689ff2aa32acf855e6d07cf98da765b37d3fe0.tar.gz
caxlsx-51689ff2aa32acf855e6d07cf98da765b37d3fe0.zip
Merge pull request #310 from tagliala/chore/fix-safe-offenses-to-gemspec
Fix minor safe offenses to gemspec
Diffstat (limited to 'axlsx.gemspec')
-rw-r--r--axlsx.gemspec4
1 files changed, 2 insertions, 2 deletions
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' }