forked from budu/activeadmin-axlsx
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactiveadmin-axlsx.gemspec
33 lines (27 loc) · 1.19 KB
/
activeadmin-axlsx.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require File.expand_path('../lib/active_admin/axlsx/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'activeadmin-axlsx'
s.version = ActiveAdmin::Axlsx::VERSION
s.author = 'Randy Morgan, Todd Hambley'
s.email = 'digital.ipseity@gmail.com, thambley@tlcorporate.com'
s.homepage = 'https://github.com/thambley/activeadmin-axlsx'
s.platform = Gem::Platform::RUBY
s.date = Time.now.strftime('%Y-%m-%d')
s.license = 'MIT'
s.summary = <<-SUMMARY
Adds excel downloads for resources within the Active Admin framework via Axlsx.
SUMMARY
s.description = <<-DESC
This gem uses axlsx to provide excel/xlsx downloads for resources in Active Admin.
Often, users are happier with excel, so why not give it to them instead of CSV?
DESC
git_tracked_files = `git ls-files`.split("\n").sort
gem_ignored_files = `git ls-files -i -X .gemignore`.split("\n")
s.files = git_tracked_files - gem_ignored_files
s.files = `git ls-files`.split("\n").sort
s.test_files = `git ls-files -- {spec}/*`.split("\n")
s.add_runtime_dependency 'activeadmin', '>= 2.0.0', '< 4.0'
s.add_runtime_dependency 'caxlsx', '~> 3.0'
s.required_ruby_version = '>= 2.7.0'
s.require_path = 'lib'
end