From 2791201ba4a50e4801228950109a8eede0bb367c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 29 Sep 2021 03:47:07 +0000 Subject: [PATCH] fix: alpha-blog/Gemfile & alpha-blog/Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-1726792 --- alpha-blog/Gemfile | 14 +++---- alpha-blog/Gemfile.lock | 92 ++++++++++++++++++++--------------------- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/alpha-blog/Gemfile b/alpha-blog/Gemfile index af3b0b6..079633d 100644 --- a/alpha-blog/Gemfile +++ b/alpha-blog/Gemfile @@ -7,7 +7,7 @@ end ruby '2.5.1' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 5.1.6' +gem 'rails', '~> 5.1.7' # Use sqlite3 as the database for Active Record #Use bcrypt for password on user ActiveModel @@ -20,8 +20,8 @@ gem 'bootstrap-will_paginate', '1.0.0' gem 'puma', '~> 3.7' # Use SCSS for stylesheets gem 'bootstrap-sass', '~> 3.3.7' -gem 'jquery-rails' -gem 'sass-rails', '~> 5.0' +gem 'jquery-rails', '>= 4.3.5' +gem 'sass-rails', '~> 5.0', '>= 5.0.7' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # See https://github.com/rails/execjs#readme for more supported runtimes @@ -32,7 +32,7 @@ gem 'execjs' gem 'simplecov', require: false, group: :test # Use CoffeeScript for .coffee assets and views -gem 'coffee-rails', '~> 4.2' +gem 'coffee-rails', '~> 4.2', '>= 4.2.2' # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks gem 'turbolinks', '~> 5' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder @@ -42,7 +42,7 @@ gem 'jbuilder', '~> 2.5' # gem 'bcrypt', '~> 3.1.7' #gem for assert_tempalte testing in Integration Test -gem 'rails-controller-testing' +gem 'rails-controller-testing', '>= 1.0.4' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development @@ -52,14 +52,14 @@ group :development, :test do gem 'sqlite3' gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] # Adds support for Capybara system testing and selenium driver - gem 'capybara', '~> 2.13' + gem 'capybara', '~> 2.18', '>= 2.18.0' gem 'selenium-webdriver' gem 'minitest-reporters' end group :development do # Access an IRB console on exception pages or by using <%= console %> anywhere in the code. - gem 'web-console', '>= 3.3.0' + gem 'web-console', '>= 3.7.0' gem 'listen', '>= 3.0.5', '< 3.2' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' diff --git a/alpha-blog/Gemfile.lock b/alpha-blog/Gemfile.lock index 427db4d..f58d7a9 100644 --- a/alpha-blog/Gemfile.lock +++ b/alpha-blog/Gemfile.lock @@ -38,8 +38,8 @@ GEM i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - addressable (2.6.0) - public_suffix (>= 2.0.2, < 4.0) + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) ansi (1.5.0) arel (8.0.0) autoprefixer-rails (9.6.1) @@ -51,7 +51,7 @@ GEM sass (>= 3.3.4) bootstrap-will_paginate (1.0.0) will_paginate - builder (3.2.3) + builder (3.2.4) byebug (11.0.1) capybara (2.18.0) addressable @@ -69,19 +69,19 @@ GEM coffee-script-source execjs coffee-script-source (1.12.2) - concurrent-ruby (1.1.5) - crass (1.0.4) + concurrent-ruby (1.1.9) + crass (1.0.6) docile (1.3.2) - erubi (1.8.0) - execjs (2.7.0) - ffi (1.11.1) - globalid (0.4.2) - activesupport (>= 4.2.0) - i18n (1.6.0) + erubi (1.10.0) + execjs (2.8.1) + ffi (1.15.4) + globalid (0.5.2) + activesupport (>= 5.0) + i18n (1.8.10) concurrent-ruby (~> 1.0) jbuilder (2.9.1) activesupport (>= 4.2.0) - jquery-rails (4.3.5) + jquery-rails (4.4.0) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) @@ -91,27 +91,29 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) - loofah (2.2.3) + loofah (2.12.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) - method_source (0.9.2) - mini_mime (1.0.2) - mini_portile2 (2.4.0) - minitest (5.11.3) + method_source (1.0.0) + mini_mime (1.1.1) + mini_portile2 (2.6.1) + minitest (5.14.4) minitest-reporters (1.4.2) ansi builder minitest (>= 5.0) ruby-progressbar - nio4r (2.4.0) - nokogiri (1.10.3) - mini_portile2 (~> 2.4.0) + nio4r (2.5.8) + nokogiri (1.12.5) + mini_portile2 (~> 2.6.1) + racc (~> 1.4) pg (1.1.4) - public_suffix (3.1.1) + public_suffix (4.0.6) puma (3.12.1) - rack (2.0.7) + racc (1.5.2) + rack (2.2.3) rack-test (1.1.0) rack (>= 1.0, < 3) rails (5.1.7) @@ -126,15 +128,15 @@ GEM bundler (>= 1.3.0) railties (= 5.1.7) sprockets-rails (>= 2.0.0) - rails-controller-testing (1.0.4) - actionpack (>= 5.0.1.x) - actionview (>= 5.0.1.x) - activesupport (>= 5.0.1.x) + rails-controller-testing (1.0.5) + actionpack (>= 5.0.1.rc1) + actionview (>= 5.0.1.rc1) + activesupport (>= 5.0.1.rc1) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.0.4) - loofah (~> 2.2, >= 2.2.2) + rails-html-sanitizer (1.4.2) + loofah (~> 2.3) rails_12factor (0.0.3) rails_serve_static_assets rails_stdout_logging @@ -146,9 +148,9 @@ GEM method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (12.3.2) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) + rake (12.3.3) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) ffi (~> 1.0) redis (4.1.3) ref (2.0.0) @@ -181,7 +183,7 @@ GEM sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.2.1) + sprockets-rails (3.2.2) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) @@ -189,13 +191,13 @@ GEM therubyracer (0.12.3) libv8 (~> 3.16.14.15) ref - thor (0.20.3) + thor (1.1.0) thread_safe (0.3.6) - tilt (2.0.9) + tilt (2.0.10) turbolinks (5.2.0) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) - tzinfo (1.2.5) + tzinfo (1.2.9) thread_safe (~> 0.1) uglifier (4.1.20) execjs (>= 0.3.0, < 3) @@ -206,7 +208,7 @@ GEM railties (>= 5.0) websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.4) + websocket-extensions (0.1.5) will_paginate (3.1.5) xpath (3.2.0) nokogiri (~> 1.8) @@ -219,20 +221,20 @@ DEPENDENCIES bootstrap-sass (~> 3.3.7) bootstrap-will_paginate (= 1.0.0) byebug - capybara (~> 2.13) - coffee-rails (~> 4.2) + capybara (~> 2.18, >= 2.18.0) + coffee-rails (~> 4.2, >= 4.2.2) execjs jbuilder (~> 2.5) - jquery-rails + jquery-rails (>= 4.3.5) listen (>= 3.0.5, < 3.2) minitest-reporters pg puma (~> 3.7) - rails (~> 5.1.6) - rails-controller-testing + rails (~> 5.1.7) + rails-controller-testing (>= 1.0.4) rails_12factor redis (~> 4.0) - sass-rails (~> 5.0) + sass-rails (~> 5.0, >= 5.0.7) selenium-webdriver simplecov spring @@ -240,14 +242,12 @@ DEPENDENCIES sqlite3 therubyracer turbolinks (~> 5) - tzinfo-data uglifier (>= 1.3.0) - web-console (>= 3.3.0) + web-console (>= 3.7.0) will_paginate (= 3.1.5) RUBY VERSION ruby 2.5.1p57 BUNDLED WITH - 2.0.2 - + 1.17.3