diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-09 09:33:41 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-09 09:40:30 +0200 |
commit | 786bdc4c119efc0fe1912ea2a8ecf18081069228 (patch) | |
tree | 16d5cb24ca13b15e4ea8f345456c68021232106b /railties/lib/rails | |
parent | 7d4df79ac7452ff517cf60094b8ad20c0bbe7e4c (diff) | |
download | rails-786bdc4c119efc0fe1912ea2a8ecf18081069228.tar.gz rails-786bdc4c119efc0fe1912ea2a8ecf18081069228.tar.bz2 rails-786bdc4c119efc0fe1912ea2a8ecf18081069228.zip |
Use a better requirement for sass-rails 6 prereleases
This is the behavior I naively expect for the operator when used with a
single digit, but it's definitely an edge case for it, and it doesn't
seem to work as expected for including prereleases.
Using >= works fine and make the intention more clear anyways.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 7e3560d9d2..8782a85391 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -307,7 +307,7 @@ module Rails def assets_gemfile_entry return [] if options[:skip_sprockets] - GemfileEntry.version("sass-rails", "~> 5", "Use SCSS for stylesheets") + GemfileEntry.version("sass-rails", ">= 5", "Use SCSS for stylesheets") end def webpacker_gemfile_entry |