Rakefile in by_star-0.5.1 vs Rakefile in by_star-0.5.2
- old
+ new
@@ -1,5 +1,6 @@
+# encoding: utf-8
require 'rubygems'
require 'rake'
begin
require 'jeweler'
@@ -9,12 +10,11 @@
gem.description = %Q{ActiveRecord extension for easier date scopes and time ranges}
gem.email = "radarlistener@gmail.com"
gem.homepage = "http://github.com/radar/by_star"
gem.authors = ["Ryan Bigg", "Mislav Marohnić"]
gem.add_development_dependency "rspec"
-
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
+ gem.add_dependency('chronic', '~> 0.2.3')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
@@ -30,10 +30,9 @@
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
task :spec => :check_dependencies
-
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')