Compare commits

...

1 Commits

Author SHA1 Message Date
Javan Makhmali
4fc6a10dad bundling in http://github.com/AaronH/chronic for ruby 1.9.2 compatibility 2010-09-09 22:58:35 -04:00
4 changed files with 9 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "lib/whenever/vendor/gems/chronic"]
path = lib/whenever/vendor/gems/chronic
url = git://github.com/AaronH/chronic.git

View File

@ -13,7 +13,6 @@ begin
gemspec.email = "javan@javan.us" gemspec.email = "javan@javan.us"
gemspec.homepage = "http://github.com/javan/whenever" gemspec.homepage = "http://github.com/javan/whenever"
gemspec.authors = ["Javan Makhmali"] gemspec.authors = ["Javan Makhmali"]
gemspec.add_dependency 'chronic', '>= 0.2.3'
gemspec.add_dependency 'activesupport', '>= 2.3.4' gemspec.add_dependency 'activesupport', '>= 2.3.4'
gemspec.add_development_dependency 'shoulda', '>= 2.1.1' gemspec.add_development_dependency 'shoulda', '>= 2.1.1'
gemspec.add_development_dependency 'mocha', '>= 0.9.5' gemspec.add_development_dependency 'mocha', '>= 0.9.5'

View File

@ -1,6 +1,10 @@
require 'chronic'
require 'active_support/all' require 'active_support/all'
# Bundling in http://github.com/AaronH/chronic because
# it's compatible with Ruby 1.9.2 and the official
# gem isn't. I hope to remove this eventually.
require 'whenever/vendor/gems/chronic/lib/chronic'
require 'whenever/base' require 'whenever/base'
require 'whenever/job_list' require 'whenever/job_list'
require 'whenever/job' require 'whenever/job'

1
lib/whenever/vendor/gems/chronic vendored Submodule

@ -0,0 +1 @@
Subproject commit d027ad09333ac49e9eb368c659c5243b515a7694