validators.gemspec in validators-1.0.0 vs validators.gemspec in validators-2.0.0
- old
+ new
@@ -1,24 +1,24 @@
-# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "validators/version"
+require "./lib/validators/version"
Gem::Specification.new do |s|
+ s.required_ruby_version = ">= 1.9"
s.name = "validators"
s.version = Validators::Version::STRING
s.platform = Gem::Platform::RUBY
s.authors = ["Nando Vieira"]
s.email = ["fnando.vieira@gmail.com"]
s.homepage = "http://rubygems.org/gems/validators"
- s.summary = "Add some nice Rails 3 ActiveRecord validators."
- s.description = "Add some nice Rails 3 ActiveRecord validators."
+ s.summary = "Add some nice ActiveRecord validators."
+ s.description = s.summary
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_development_dependency "activerecord", "~> 3.0"
- s.add_development_dependency "rspec", "~> 2.7"
+ s.add_development_dependency "activerecord", ">= 3.0"
+ s.add_development_dependency "rspec"
s.add_development_dependency "sqlite3-ruby"
s.add_development_dependency "rake"
+ s.add_development_dependency "pry-meta"
end