mailboxer.gemspec in mailboxer-0.6.5 vs mailboxer.gemspec in mailboxer-0.7.0

- old
+ new

@@ -1,8 +1,8 @@ Gem::Specification.new do |s| s.name = "mailboxer" - s.version = "0.6.5" + s.version = "0.7.0" s.authors = ["Eduardo Casanova Cuesta"] s.summary = "Messaging system for rails apps." s.description = "A Rails engine that allows any model to act as messageable, adding the ability to exchange messages " + "with any other messageable model, even different ones. It supports the use of conversations with " + "two or more recipients to organize the messages. You have a complete use of a mailbox object for " + @@ -25,10 +25,14 @@ s.add_development_dependency('ruby-debug', '>= 0.10.3') end # Specs s.add_development_dependency('rspec-rails', '>= 2.6.1') # Fixtures - s.add_development_dependency('factory_girl', '>= 2.6.0') + if RUBY_VERSION >= '1.9.2' + s.add_development_dependency('factory_girl', '>= 3.0.0') + else + s.add_development_dependency('factory_girl', '~> 2.6.0') + end # Population s.add_development_dependency('forgery', '>= 0.3.6') # Integration testing s.add_development_dependency('capybara', '>= 0.3.9') # Testing database