Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to version 1.1.4

  • Loading branch information...
commit af928c3c308eb069c5bf90caadafe7276c02ca0d 1 parent 56a1732
@jferris jferris authored
Showing with 18 additions and 7 deletions.
  1. +1 −1  Rakefile
  2. +17 −6 factory_girl.gemspec
View
2  Rakefile
@@ -39,7 +39,7 @@ end
spec = Gem::Specification.new do |s|
s.name = %q{factory_girl}
- s.version = "1.1.3"
+ s.version = "1.1.4"
s.summary = %q{factory_girl provides a framework and DSL for defining and
using model instance factories.}
s.description = %q{factory_girl provides a framework and DSL for defining and
View
23 factory_girl.gemspec
@@ -1,12 +1,12 @@
+# -*- encoding: utf-8 -*-
+
Gem::Specification.new do |s|
s.name = %q{factory_girl}
- s.version = "1.1.3"
-
- s.specification_version = 2 if s.respond_to? :specification_version=
+ s.version = "1.1.4"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Joe Ferris"]
- s.date = %q{2008-09-12}
+ s.date = %q{2008-11-28}
s.description = %q{factory_girl provides a framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.}
s.email = %q{jferris@thoughtbot.com}
s.extra_rdoc_files = ["README.textile"]
@@ -14,9 +14,20 @@ Gem::Specification.new do |s|
s.has_rdoc = true
s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.textile"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.0.1}
+ s.rubygems_version = %q{1.3.1}
s.summary = %q{factory_girl provides a framework and DSL for defining and using model instance factories.}
s.test_files = ["test/aliases_test.rb", "test/attribute_proxy_test.rb", "test/attribute_test.rb", "test/factory_test.rb", "test/integration_test.rb", "test/sequence_test.rb"]
- s.add_dependency(%q<activesupport>, [">= 1.0"])
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 2
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<activesupport>, [">= 1.0"])
+ else
+ s.add_dependency(%q<activesupport>, [">= 1.0"])
+ end
+ else
+ s.add_dependency(%q<activesupport>, [">= 1.0"])
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.