by_star.gemspec in by_star-0.9.0 vs by_star.gemspec in by_star-1.0.0

- old
+ new

@@ -1,71 +1,24 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +require File.expand_path("../lib/by_star/version", __FILE__) Gem::Specification.new do |s| - s.name = %q{by_star} - s.version = "0.9.0" + s.name = "by_star" + s.version = ByStar::VERSION + s.platform = Gem::Platform::RUBY + s.authors = [] + s.email = [] + s.homepage = "http://rubygems.org/gems/by_star" + s.summary = "ActiveRecord extension for easier date scopes and time ranges" + s.description = "ActiveRecord extension for easier date scopes and time ranges" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Ryan Bigg", "Mislav Marohni\304\207"] - s.date = %q{2010-07-29} - s.description = %q{ActiveRecord extension for easier date scopes and time ranges} - s.email = %q{radarlistener@gmail.com} - s.extra_rdoc_files = [ - "README.markdown" - ] - s.files = [ - ".gitignore", - "MIT-LICENSE", - "README.markdown", - "Rakefile", - "VERSION", - "by_star.gemspec", - "cleaner.rb", - "lib/by_star.rb", - "lib/calculations.rb", - "lib/calculations/count.rb", - "lib/calculations/sum.rb", - "lib/neighbours.rb", - "lib/range_calculations.rb", - "lib/shared.rb", - "lib/time_ext.rb", - "lib/vanilla.rb", - "rails/init.rb", - "spec/by_star_spec.rb", - "spec/database.yml", - "spec/fixtures/models.rb", - "spec/fixtures/schema.rb", - "spec/spec_helper.rb", - "tmp/.gitignore" - ] - s.homepage = %q{http://github.com/radar/by_star} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.6} - s.summary = %q{ActiveRecord extension for easier date scopes and time ranges} - s.test_files = [ - "spec/by_star_spec.rb", - "spec/fixtures/models.rb", - "spec/fixtures/schema.rb", - "spec/spec_helper.rb" - ] + s.required_rubygems_version = ">= 1.3.6" + s.rubyforge_project = "by_star" - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.add_development_dependency "bundler", ">= 1.0.0" + s.add_dependency "activerecord", ">= 2.0.0" + s.add_dependency "chronic" - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<rspec>, [">= 0"]) - s.add_runtime_dependency(%q<chronic>, ["~> 0.2.3"]) - else - s.add_dependency(%q<rspec>, [">= 0"]) - s.add_dependency(%q<chronic>, ["~> 0.2.3"]) - end - else - s.add_dependency(%q<rspec>, [">= 0"]) - s.add_dependency(%q<chronic>, ["~> 0.2.3"]) - end + s.files = `git ls-files`.split("\n") + s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact + s.require_path = 'lib' end -