| specified dependencies in the gemspec - reportable - Fork of reportable require… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit ebb214c3a963311dd2eafa9cdc5796468603c504 | |
| parent 21ab96484ec25815c10c7438e09efe7a1644bd60 | |
| Author: Marco Otte-Witte <[email protected]> | |
| 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(-) | |
| --- | |
| 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 |