forked from saulabs/reportable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreportable.gemspec
More file actions
46 lines (40 loc) · 1.65 KB
/
reportable.gemspec
File metadata and controls
46 lines (40 loc) · 1.65 KB
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
# -*- encoding: utf-8 -*-
pkg_files = [
'README.md',
'HISTORY.md',
'Rakefile',
'MIT-LICENSE'
]
pkg_files += Dir['generators/**/*']
pkg_files += Dir['lib/**/*.rb']
pkg_files += Dir['rails/**/*.rb']
pkg_files += Dir['spec/**/*.{rb,yml,opts}']
Gem::Specification.new do |s|
s.name = %q{reportable}
s.version = '1.1.2'
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to?(:required_rubygems_version=)
s.authors = ['Marco Otte-Witte', 'Martin Kavalar']
s.date = %q{2010-06-28}
s.email = %q{reportable@saulabs.com}
s.files = pkg_files
s.homepage = %q{http://github.com/saulabs/reportable}
s.require_path = 'lib'
s.rubygems_version = %q{1.3.0}
s.has_rdoc = false
s.summary = %q{Easy report generation for Ruby on Rails}
s.description = %q{Reportable allows for easy report generation from ActiveRecord models by the addition of the reportable method.}
if s.respond_to?(:specification_version) then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activerecord>, ['>= 2.0.0'])
s.add_runtime_dependency(%q<activesupport>, ['>= 2.0.0'])
else
s.add_dependency(%q<activerecord>, ['>= 2.0.0'])
s.add_dependency(%q<activesupport>, ['>= 2.0.0'])
end
else
s.add_dependency(%q<activerecord>, ['>= 2.0'])
s.add_dependency(%q<activesupport>, ['>= 2.0.0'])
end
end