Skip to content

gem version pins are preventing use in Rails 3.2 #18

@ijcd

Description

@ijcd

These are making the gem hard to install (I have a gem that depends on SuperModel). I think it should work if we upgrade, but it seems there are a lot of tests that need to be written to confirm this, eh?

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_runtime_dependency(%q<activemodel>, [">= 3.0.0"])
else
  s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
end

else
s.add_dependency(%q, ["~> 3.0.0"])
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions