forked from dubadub/activeadmin-axlsx
-
Notifications
You must be signed in to change notification settings - Fork 3
/
activeadmin-axlsx.gemspec
25 lines (23 loc) · 1.14 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
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"
s.email = '[email protected]'
s.homepage = 'https://github.com/randym/activeadmin-axlsx'
s.platform = Gem::Platform::RUBY
s.date = Time.now.strftime('%Y-%m-%d')
s.license = 'MIT'
s.summary = "Adds excel downloads for resources within the Active Admin framework via Axlsx."
s.description = <<-eof
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?
eof
s.files = `git ls-files`.split("\n").sort
s.test_files = `git ls-files -- {spec}/*`.split("\n")
s.test_files = Dir.glob("{spec/**/*}")
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
s.add_runtime_dependency 'activeadmin'
s.add_runtime_dependency 'caxlsx'
end