by_star.gemspec in by_star-2.1.0.beta2 vs by_star.gemspec in by_star-2.2.0.rc1
- old
+ new
@@ -1,31 +1,32 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path("../lib/by_star/version", __FILE__)
-
-Gem::Specification.new do |s|
- s.name = "by_star"
- s.version = ByStar::VERSION
- s.platform = Gem::Platform::RUBY
- s.authors = ["Ryan Bigg"]
- s.email = ["radarlistener@gmail.com"]
- s.homepage = "http://github.com/radar/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 = ">= 1.3.6"
- s.rubyforge_project = "by_star"
-
- s.add_development_dependency "bundler", ">= 1.0.0"
- s.add_development_dependency "sqlite3"
- s.add_development_dependency "pg"
- s.add_development_dependency "mysql2"
- s.add_development_dependency "rspec-rails", "~> 2.8"
- s.add_development_dependency "timecop", "~> 0.3"
- s.add_development_dependency "mongoid", "~> 3.0" if Gem::Version.create(RUBY_VERSION.dup) >= Gem::Version.create('1.9.3')
-
- s.add_dependency "activerecord", "~> 3.0"
- s.add_dependency "chronic"
-
- 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
+# -*- encoding: utf-8 -*-
+require File.expand_path("../lib/by_star/version", __FILE__)
+
+Gem::Specification.new do |s|
+ s.name = "by_star"
+ s.version = ByStar::VERSION
+ s.authors = ["Ryan Bigg", "Johnny Shields"]
+ s.email = ["radarlistener@gmail.com"]
+ s.homepage = "http://github.com/radar/by_star"
+ s.summary = "ActiveRecord and Mongoid extension for easier date scopes and time ranges"
+ s.description = "ActiveRecord and Mongoid extension for easier date scopes and time ranges"
+
+ s.post_install_message = File.read('UPGRADING') if File.exists?('UPGRADING')
+
+ s.add_dependency "activesupport"
+
+ s.add_development_dependency "chronic"
+ s.add_development_dependency "bundler", ">= 1.0.0"
+ s.add_development_dependency "sqlite3"
+ s.add_development_dependency "activerecord"
+ s.add_development_dependency "mongoid"
+ s.add_development_dependency "pg"
+ s.add_development_dependency "mysql2"
+ s.add_development_dependency "rspec-rails", "~> 2.14"
+ s.add_development_dependency "timecop", "~> 0.3"
+ s.add_development_dependency "pry"
+
+ s.files = `git ls-files`.split($/)
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
+ s.require_paths = ['lib']
+end