rotp.gemspec in rotp-1.4.1 vs rotp.gemspec in rotp-1.4.2
- old
+ new
@@ -18,9 +18,13 @@
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_development_dependency('rspec')
- s.add_development_dependency('timecop')
s.add_development_dependency('rake')
+ s.add_development_dependency('rspec')
+ if RUBY_VERSION < "1.9"
+ s.add_development_dependency('timecop', "~>0.5.9.2")
+ else
+ s.add_development_dependency('timecop')
+ end
end