specified dependencies in the gemspec - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit ebb214c3a963311dd2eafa9cdc5796468603c504
(DIR) parent 21ab96484ec25815c10c7438e09efe7a1644bd60
(HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Date: Thu, 25 Feb 2010 20:17:19 +0100
specified dependencies in the gemspec
Diffstat:
M reportable.gemspec | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/reportable.gemspec b/reportable.gemspec
@@ -32,9 +32,15 @@ Gem::Specification.new do |s|
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