diff --git a/Gemfile b/Gemfile index 9456bd2bff0e0c5708cc40e2609ae5d99f489735..dc043d9135d5ab6b7509540f757bc04b5ed2e5a7 100644 --- a/Gemfile +++ b/Gemfile @@ -41,7 +41,7 @@ end # Active Support gem "dalli" -gem "listen", ">= 3.0.5", "< 3.2", require: false +gem "listen", "~> 3.2", require: false gem "libxml-ruby", platforms: :ruby gem "connection_pool", require: false diff --git a/Gemfile.lock b/Gemfile.lock index c33cb0ff2d50efb9a7f42c88c5b332f8b8b4b772..0b47f39ec8f579295472655070e2c029fb32374a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -297,10 +297,9 @@ GEM mustache nokogiri libxml-ruby (3.1.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) + listen (3.2.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) loofah (2.3.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) @@ -424,7 +423,6 @@ GEM ruby-progressbar (1.10.1) ruby-vips (2.0.15) ffi (~> 1.9) - ruby_dep (1.5.0) rubyzip (2.0.0) rufus-scheduler (3.6.0) fugit (~> 1.1, >= 1.1.6) @@ -564,7 +562,7 @@ DEPENDENCIES json (>= 2.0.0) kindlerb (~> 1.2.0) libxml-ruby - listen (>= 3.0.5, < 3.2) + listen (~> 3.2) minitest-bisect minitest-reporters minitest-retry diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 8ed97eb65bbaffe778b3cd4bbad61a424ae40abd..637c135df6938e21c1d89d91960f7ff3b1ab1aaf 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -1563,7 +1563,7 @@ evented file system monitor to detect changes when `config.cache_classes` is ```ruby group :development do - gem 'listen', '>= 3.0.5', '< 3.2' + gem 'listen', '~> 3.2' end ``` diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt index 2f7a89bc9c41af902a56b3c6c550082d1358befe..61add58cccb1f7655700d574b5826d4730fc22db 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt @@ -53,7 +53,7 @@ group :development do <%- end -%> <%- end -%> <% if depend_on_listen? -%> - gem 'listen', '>= 3.0.5', '< 3.2' + gem 'listen', '~> 3.2' <% end -%> <% if spring_install? -%> # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring