sudo_attributes.gemspec in sudo_attributes-0.4.0 vs sudo_attributes.gemspec in sudo_attributes-0.5.0
- old
+ new
@@ -3,15 +3,15 @@
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{sudo_attributes}
- s.version = "0.4.0"
+ s.version = "0.5.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Peter Brown"]
- s.date = %q{2010-11-19}
+ s.date = %q{2011-01-12}
s.description = %q{Adds 'sudo' methods to update protected ActiveRecord attributes with mass assignment}
s.email = %q{github@lette.us}
s.extra_rdoc_files = [
"LICENSE",
"README.textile"
@@ -45,19 +45,22 @@
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.0.0"])
+ s.add_development_dependency(%q<rails>, ["~> 3.0.0"])
s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
s.add_runtime_dependency(%q<rails>, [">= 2.3.0"])
else
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<rspec>, ["~> 2.0.0"])
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
s.add_dependency(%q<rails>, [">= 2.3.0"])
end
else
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<rspec>, ["~> 2.0.0"])
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
s.add_dependency(%q<rails>, [">= 2.3.0"])
end
end