Rakefile in timetrap-1.4.0 vs Rakefile in timetrap-1.4.1

- old
+ new

@@ -17,11 +17,10 @@ begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = %q{timetrap} - s.version = "0.1.2" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Sam Goldstein"] s.date = %q{2009-04-14} s.description = %q{Command line time tracker} @@ -33,28 +32,12 @@ s.bindir = "bin" s.executables = ['t'] s.summary = %q{Command line time tracker} s.add_dependency("sequel", ">= 3.9.0") s.add_dependency("sqlite3-ruby", ">= 1.2.5") - s.add_dependency("chronic", ">= 0.2.3") + s.add_dependency("chronic", "~> 0.3.0") s.add_dependency("getopt-declare", ">= 1.28") s.add_dependency("icalendar", ">= 1.1.2") - - 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<mime-types>, [">= 1.16"]) - s.add_runtime_dependency(%q<diff-lcs>, [">= 1.1.2"]) - else - s.add_dependency(%q<mime-types>, [">= 1.16"]) - s.add_dependency(%q<diff-lcs>, [">= 1.1.2"]) - end - else - s.add_dependency(%q<mime-types>, [">= 1.16"]) - s.add_dependency(%q<diff-lcs>, [">= 1.1.2"]) - end end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end