forked from leikind/wice_grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wice_grid.gemspec
32 lines (28 loc) · 1.45 KB
/
wice_grid.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
Gem::Specification.new do |s|
s.name = 'wice_grid'
s.version = '3.4.2'
s.homepage = 'https://github.com/leikind/wice_grid'
s.date = '2013-11-12'
s.summary = 'A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters.'
s.description = 'A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters.' +
'One of the goals of this plugin was to allow the programmer to define the contents of the cell by himself, ' +
'just like one does when rendering a collection via a simple table (and this is what differentiates WiceGrid ' +
'from various scaffolding solutions), but automate implementation of filters, ordering, paginations, CSV ' +
'export, and so on. Ruby blocks provide an elegant means for this.'
s.authors = ['Yuri Leikind']
s.email = '[email protected]'
s.files = `git ls-files`.split($/)
s.license = 'MIT'
kaminary = 'kaminari'
kaminary_version = '>= 0.13.0'
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(kaminary, [kaminary_version])
else
s.add_dependency(kaminari, [kaminary_version])
end
else
s.add_dependency(kaminari, [kaminary_version])
end
end