Skip to content

Commit 10c7442

Browse files
Update gem web-console (3.7.0->4.1.0)
This updates gem web-console, an in-browser debugger. Insert <% console %> or console into the source code to use it. This gem has been transferred to be part of the "rails" project. Note that we only include this gem during development, *not* in production. This gem enables running arbitrary code, which would be a security problem if it was included in production. But we do not call it from production code, and we don't include the gem in production mode, preventing a security issue. Signed-off-by: David A. Wheeler <[email protected]>
1 parent b837ea1 commit 10c7442

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,15 @@ end
123123
group :development do
124124
gem 'bootsnap', '1.4.8' # Speed up boot via caches
125125
# gem 'fasterer', '0.3.2' # Provide speed recommendations - run 'fasterer'
126-
# Waiting for Ruby 2.4 support: https://github.com/seattlerb/ruby_parser/issues/239
126+
# Waiting for Ruby 2.4 support:
127+
# https://github.com/seattlerb/ruby_parser/issues/239
127128
# gem 'traceroute', '0.8.1' # Adds 'rake traceroute' command to check routes
128129
# We bring in full rails in development in case we need it for debugging;
129130
# this also keeps some gems happy that don't realize that loading
130131
# only *parts* of Rails is fine:
131132
gem 'rails', '6.1.2.1' # Rails (our web framework)
132133
gem 'translation', '1.22' # translation.io - translation service
133-
gem 'web-console', '3.7.0' # Debugging tool for Ruby on Rails apps
134+
gem 'web-console', '4.1.0' # In-browser debugger; use <% console %> or console
134135
end
135136

136137
group :test do

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,11 +433,11 @@ GEM
433433
unicode-display_width (1.7.0)
434434
uniform_notifier (1.13.2)
435435
vcr (5.0.0)
436-
web-console (3.7.0)
437-
actionview (>= 5.0)
438-
activemodel (>= 5.0)
436+
web-console (4.1.0)
437+
actionview (>= 6.0.0)
438+
activemodel (>= 6.0.0)
439439
bindex (>= 0.4.0)
440-
railties (>= 5.0)
440+
railties (>= 6.0.0)
441441
webdrivers (4.5.0)
442442
nokogiri (~> 1.6)
443443
rubyzip (>= 1.3.0)
@@ -537,7 +537,7 @@ DEPENDENCIES
537537
translation (= 1.22)
538538
uglifier (= 4.2.0)
539539
vcr (= 5.0.0)
540-
web-console (= 3.7.0)
540+
web-console (= 4.1.0)
541541
webdrivers (= 4.5.0)
542542
webmock (= 3.9.4)
543543
yaml-lint (= 0.0.10)

0 commit comments

Comments
 (0)