-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_table.gemspec
executable file
·50 lines (43 loc) · 2.19 KB
/
custom_table.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
require_relative "lib/custom_table/version"
Gem::Specification.new do |spec|
spec.name = "custom_table"
spec.version = CustomTable::VERSION
spec.authors = ["Grigory"]
spec.email = ["mail@grigor.io"]
spec.homepage = "http://github.com/gryphon/custom_table"
spec.summary = %q{Powerful user-customizable data tables with filters, sorting, grouping, totals and export}
spec.description = <<-EOF
Gem provides powerful set of functionality for showing tables of data:
* Generated table and filter panel for any model
* Declare fields that should be displayed, filtered or sorted
* Customize visible fields for each user
* Exporting table to XLSX (helpers for CAXLSX, fast_excel and CSV)
Requires and works only with Ransack, Kaminari, Bootstrap CSS, Rails, simple_form and Turbo gems.
EOF
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host"
# to allow pushing to a single host or delete this section to allow pushing to any host.
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
end
spec.add_development_dependency "sassc-rails"
spec.add_development_dependency "rspec-rails"
spec.add_development_dependency "factory_bot_rails"
spec.add_development_dependency "capybara"
spec.add_development_dependency "roo"
spec.add_development_dependency 'database_cleaner-active_record'
spec.add_development_dependency 'sqlite3'
spec.add_dependency "rails", "~> 7.0"
spec.add_dependency "ransack", '~> 4.0'
spec.add_dependency "kaminari", '~> 1.2'
# spec.add_dependency "devise", '~> 4.9' # Now optional
# spec.add_dependency "cancancan" # Now optional
spec.add_dependency "turbo-rails"
spec.add_dependency "haml-rails"
spec.add_dependency "simple_form"
# spec.add_dependency "caxlsx_rails", '~> 0.6' # Optional
# spec.add_dependency "fast_excel" # Optional
end