Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Change dependency railties to ~> 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmedina committed Jan 18, 2017
1 parent 8b404c6 commit 33b220b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medium-editor-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($/)
gem.require_paths = ['lib']

gem.add_dependency 'railties', '>= 3.0'
gem.add_dependency 'railties', '~> 3.0'
gem.add_development_dependency 'bundler', '~> 1.0'
end

2 comments on commit 33b220b

@mwlang
Copy link
Contributor

@mwlang mwlang commented on 33b220b Jan 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, I can no longer use this gem in my Rails 4.x and 5.x projects. Was this the intent?

@mwlang
Copy link
Contributor

@mwlang mwlang commented on 33b220b Jan 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to: http://bundler.io/v1.13/gemfile.html

Most of the version specifiers, like >= 1.0, are self-explanatory. The specifier ~> has a special meaning, best shown by example. ~> 2.0.3 is identical to >= 2.0.3 and < 2.1. ~> 2.1 is identical to >= 2.1 and < 3.0. ~> 2.2.beta will match prerelease versions like 2.2.beta.12. ~> 0 is identical to >= 0.0 and < 1.0.

Please sign in to comment.