diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 35b2d88..9f849e6 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,3 +1,10 @@ +== 0.4.1 / November 30th, 2009 + +* exit(0) instead of just exit to make JRuby happy. [Elan Meng] + +* Fixed activesupport deprecation warning by requiring active_support. #37 [Andrew Nesbitt] + + == 0.4.0 / October 20th, 2009 * New output option replaces the old cron_log option for output redirection and is much more flexible. #31 [Peer Allan] diff --git a/lib/whenever.rb b/lib/whenever.rb index e79192a..3faf7cd 100644 --- a/lib/whenever.rb +++ b/lib/whenever.rb @@ -7,15 +7,15 @@ rescue LoadError nil end -# If Rails' rakefile was loaded than so was activesupport, but +# If Rails' rakefile was loaded than so was active_support, but # if this is being used in a non-rails enviroment we need to require it. # It was previously defined as a dependency of this gem, but that became # problematic. See: http://github.com/javan/whenever/issues#issue/1 begin require 'active_support' rescue LoadError - warn 'To user Whenever you need the activesupport gem:' - warn '$ sudo gem install activesupport' + warn 'To user Whenever you need the active_support gem:' + warn '$ sudo gem install active_support' exit(1) end diff --git a/lib/whenever/version.rb b/lib/whenever/version.rb index f0be7a5..3a4c95b 100644 --- a/lib/whenever/version.rb +++ b/lib/whenever/version.rb @@ -1,3 +1,3 @@ module Whenever - VERSION = '0.4.0' + VERSION = '0.4.1' end unless defined?(Whenever::VERSION) \ No newline at end of file diff --git a/whenever.gemspec b/whenever.gemspec index 0fd18d5..8c84d62 100644 --- a/whenever.gemspec +++ b/whenever.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = %q{whenever} - s.version = "0.4.0" + s.version = "0.4.1" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Javan Makhmali"] - s.date = %q{2009-10-20} + s.date = %q{2009-11-30} s.description = %q{Clean ruby syntax for defining and deploying messy cron jobs.} s.email = %q{javan@javan.us} s.executables = ["whenever", "wheneverize"]