From 5890f80776e6798d6ef950af4f7e691b8cf951b9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 13 Nov 2018 02:43:25 +0000 Subject: [PATCH] fix: Gemfile.lock & Gemfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-RACK-72567 --- Gemfile | 40 +++---- Gemfile.lock | 324 +++++++++++++++++++++++++++------------------------ 2 files changed, 193 insertions(+), 171 deletions(-) diff --git a/Gemfile b/Gemfile index 0547e68..3c3420e 100644 --- a/Gemfile +++ b/Gemfile @@ -1,20 +1,20 @@ source 'http://rubygems.org' -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' +# Bundle edge Rails instead: gem 'rails', '>= 5.0.2', github: 'rails/rails' gem 'rails' -gem 'responders', '~> 2.0' +gem 'responders', '~> 2.3', '>= 2.3.0' gem 'oj' # Use sqlite3 as the database for Active Record # gem 'sqlite3' # Use postgres database for Active Record gem 'pg' # Use SCSS for stylesheets -gem 'sass-rails' +gem 'sass-rails', '>= 5.0.6' # Use Uglifier as compressor for JavaScript assets gem 'uglifier' # Use CoffeeScript for .js.coffee assets and views -gem 'coffee-rails' +gem 'coffee-rails', '>= 4.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby gem 'rails_12factor', group: :production @@ -41,16 +41,16 @@ gem 'will_paginate' gem 'will_paginate-bootstrap' # Use jquery as the JavaScript library -gem 'jquery-rails' +gem 'jquery-rails', '>= 4.3.1' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks -gem 'jquery-turbolinks' +gem 'jquery-turbolinks', '>= 2.1.0' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder' # bundle exec rake doc:rails generates the API under doc/api. # gem 'sdoc', '~> 0.4.0', group: :doc # datatable -gem 'jquery-ui-rails' +gem 'jquery-ui-rails', '>= 6.0.1' # processes and thread gem 'parallel' @@ -64,22 +64,22 @@ gem 'puma_worker_killer', github: 'schneems/puma_worker_killer', ref: 'ddd5326' # message queuing gem 'redis-namespace' -gem 'sidekiq' -gem 'sidekiq-scheduler' +gem 'sidekiq', '>= 5.0.4' +gem 'sidekiq-scheduler', '>= 2.1.2' gem 'sidekiq-statistic', git: 'https://github.com/davydovanton/sidekiq-statistic.git', branch: 'master' -gem 'sidekiq-failures' +gem 'sidekiq-failures', '>= 1.0.0' # sitemap generator gem 'sitemap_generator' # meta tags generator -gem 'meta-tags' +gem 'meta-tags', '>= 2.4.0' # performance analyzer -gem 'peek' -gem 'peek-sidekiq' -gem 'peek-dalli' -gem 'peek-pg' +gem 'peek', '>= 0.2.0' +gem 'peek-sidekiq', '>= 1.0.3' +gem 'peek-dalli', '>= 1.1.3' +gem 'peek-pg', '>= 1.3.0' group :development, :test do # debugger @@ -91,13 +91,13 @@ group :development, :test do # Test uses gem 'cucumber' - gem 'cucumber-rails', :require => false + gem 'cucumber-rails', '>= 1.4.5', :require => false gem 'pickle' - gem 'rspec-rails' + gem 'rspec-rails', '>= 3.5.2' gem 'fuubar' - gem 'capybara' + gem 'capybara', '>= 2.13.0' gem 'factory_girl', '~> 4.4.0' - gem 'factory_girl_rails' + gem 'factory_girl_rails', '>= 4.4.1' gem 'factory_girl_rspec' gem 'database_cleaner' @@ -109,5 +109,5 @@ group :development, :test do gem 'webmock' # javascript headless testing - gem 'poltergeist' + gem 'poltergeist', '>= 1.14.0' end diff --git a/Gemfile.lock b/Gemfile.lock index 22f3c4c..5e00deb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -19,99 +19,107 @@ GIT GEM remote: http://rubygems.org/ specs: - actioncable (5.0.2) - actionpack (= 5.0.2) - nio4r (>= 1.2, < 3.0) + actioncable (5.1.6) + actionpack (= 5.1.6) + nio4r (~> 2.0) websocket-driver (~> 0.6.1) - actionmailer (5.0.2) - actionpack (= 5.0.2) - actionview (= 5.0.2) - activejob (= 5.0.2) + actionmailer (5.1.6) + actionpack (= 5.1.6) + actionview (= 5.1.6) + activejob (= 5.1.6) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (5.0.2) - actionview (= 5.0.2) - activesupport (= 5.0.2) + actionpack (5.1.6) + actionview (= 5.1.6) + activesupport (= 5.1.6) rack (~> 2.0) - rack-test (~> 0.6.3) + rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (5.0.2) - activesupport (= 5.0.2) + actionview (5.1.6) + activesupport (= 5.1.6) builder (~> 3.1) - erubis (~> 2.7.0) + erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - activejob (5.0.2) - activesupport (= 5.0.2) + activejob (5.1.6) + activesupport (= 5.1.6) globalid (>= 0.3.6) - activemodel (5.0.2) - activesupport (= 5.0.2) - activerecord (5.0.2) - activemodel (= 5.0.2) - activesupport (= 5.0.2) - arel (~> 7.0) - activesupport (5.0.2) + activemodel (5.1.6) + activesupport (= 5.1.6) + activerecord (5.1.6) + activemodel (= 5.1.6) + activesupport (= 5.1.6) + arel (~> 8.0) + activesupport (5.1.6) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (~> 0.7) + i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - addressable (2.5.0) - public_suffix (~> 2.0, >= 2.0.2) - arel (7.1.4) + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + arel (8.0.0) ast (2.3.0) - atomic (1.1.99) + atomic (1.1.101) autoprefixer-rails (6.7.7.1) execjs + backports (3.11.4) bootstrap-sass (3.3.7) autoprefixer-rails (>= 5.2.1) sass (>= 3.3.4) builder (3.2.3) byebug (9.0.6) - capybara (2.13.0) + capybara (3.10.1) addressable - mime-types (>= 1.16) - nokogiri (>= 1.3.3) - rack (>= 1.0.0) - rack-test (>= 0.5.4) - xpath (~> 2.0) + mini_mime (>= 0.1.3) + nokogiri (~> 1.8) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (~> 1.2) + xpath (~> 3.2) cliver (0.3.2) coderay (1.1.1) - coffee-rails (4.2.1) + coffee-rails (4.2.2) coffee-script (>= 2.2.0) - railties (>= 4.0.0, < 5.2.x) + railties (>= 4.0.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) - concurrent-ruby (1.0.5) - concurrent-ruby-ext (1.0.5) - concurrent-ruby (= 1.0.5) - connection_pool (2.2.1) + concurrent-ruby (1.1.3) + concurrent-ruby-ext (1.1.3) + concurrent-ruby (= 1.1.3) + connection_pool (2.2.2) crack (0.4.3) safe_yaml (~> 1.0.0) - cucumber (2.4.0) + crass (1.0.4) + cucumber (3.1.2) builder (>= 2.1.2) - cucumber-core (~> 1.5.0) + cucumber-core (~> 3.2.0) + cucumber-expressions (~> 6.0.1) cucumber-wire (~> 0.0.1) - diff-lcs (>= 1.1.3) - gherkin (~> 4.0) + diff-lcs (~> 1.3) + gherkin (~> 5.1.0) multi_json (>= 1.7.5, < 2.0) multi_test (>= 0.1.2) - cucumber-core (1.5.0) - gherkin (~> 4.0) - cucumber-rails (1.4.5) - capybara (>= 1.1.2, < 3) - cucumber (>= 1.3.8, < 4) - mime-types (>= 1.16, < 4) - nokogiri (~> 1.5) - railties (>= 3, < 5.1) + cucumber-core (3.2.1) + backports (>= 3.8.0) + cucumber-tag_expressions (~> 1.1.0) + gherkin (~> 5.0) + cucumber-expressions (6.0.1) + cucumber-rails (1.6.0) + capybara (>= 1.1.2, < 4) + cucumber (>= 3.0.2, < 4) + mime-types (>= 1.17, < 4) + nokogiri (~> 1.8) + railties (>= 4, < 6) + cucumber-tag_expressions (1.1.1) cucumber-wire (0.0.1) - dalli (2.7.6) + dalli (2.7.9) database_cleaner (1.5.3) diff-lcs (1.3) - erubis (2.7.0) - et-orbi (1.0.2) + erubi (1.7.1) + et-orbi (1.1.6) tzinfo execjs (2.7.0) factory_girl (4.4.0) @@ -124,22 +132,26 @@ GEM rspec (>= 2.0) faker (1.7.3) i18n (~> 0.5) + ffi (1.9.25) foreman (0.83.0) thor (~> 0.19.1) + fugit (1.1.6) + et-orbi (~> 1.1, >= 1.1.6) + raabro (~> 1.1) fuubar (2.2.0) rspec-core (~> 3.0) ruby-progressbar (~> 1.4) get_process_mem (0.2.1) - gherkin (4.1.1) - globalid (0.3.7) - activesupport (>= 4.1.0) + gherkin (5.1.0) + globalid (0.4.1) + activesupport (>= 4.2.0) hashdiff (0.3.2) - hashie (3.5.5) - i18n (0.8.1) + i18n (0.9.5) + concurrent-ruby (~> 1.0) jbuilder (2.6.3) activesupport (>= 3.0.0, < 5.2) multi_json (~> 1.2) - jquery-rails (4.3.1) + jquery-rails (4.3.3) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) @@ -148,35 +160,37 @@ GEM turbolinks jquery-ui-rails (6.0.1) railties (>= 3.2.16) - loofah (2.0.3) + loofah (2.2.3) + crass (~> 1.0.2) nokogiri (>= 1.5.9) - mail (2.6.4) - mime-types (>= 1.16, < 4) - meta-tags (2.4.0) - actionpack (>= 3.2.0, <= 5.1.0) + mail (2.7.1) + mini_mime (>= 0.1.1) + meta-tags (2.10.0) + actionpack (>= 3.2.0, < 5.3) method_source (0.8.2) - mime-types (3.1) + mime-types (3.2.2) mime-types-data (~> 3.2015) - mime-types-data (3.2016.0521) - mini_portile2 (2.1.0) - minitest (5.10.1) - multi_json (1.12.1) + mime-types-data (3.2018.0812) + mini_mime (1.0.1) + mini_portile2 (2.3.0) + minitest (5.11.3) + multi_json (1.13.1) multi_test (0.1.2) newrelic_rpm (4.0.0.332) - nio4r (2.0.0) - nokogiri (1.7.1) - mini_portile2 (~> 2.1.0) + nio4r (2.3.1) + nokogiri (1.8.5) + mini_portile2 (~> 2.3.0) oj (2.18.5) parallel (1.11.1) parser (2.4.0.0) ast (~> 2.2) - peek (0.2.0) - coffee-rails + peek (1.0.1) concurrent-ruby (>= 0.9.0) concurrent-ruby-ext (>= 0.9.0) - railties (>= 3.0.0) - peek-dalli (1.1.3) - atomic (>= 1.0.0) + railties (>= 4.0.0) + peek-dalli (1.2.0) + concurrent-ruby + concurrent-ruby-ext dalli peek peek-pg (1.3.0) @@ -188,12 +202,12 @@ GEM atomic (>= 1.0.0) peek sidekiq - pg (0.20.0) + pg (1.1.3) pickle (0.5.1) cucumber (>= 0.8) rake - poltergeist (1.14.0) - capybara (~> 2.1) + poltergeist (1.18.1) + capybara (>= 2.1, < 4) cliver (~> 0.3.1) websocket-driver (>= 0.2.0) powerpack (0.1.1) @@ -204,48 +218,54 @@ GEM pry-byebug (3.4.2) byebug (~> 9.0) pry (~> 0.10) - public_suffix (2.0.5) + public_suffix (3.0.3) puma (3.6.2) - rack (2.0.3) - rack-protection (2.0.0) + raabro (1.1.6) + rack (2.0.6) + rack-protection (2.0.4) rack - rack-test (0.6.3) - rack (>= 1.0) - rails (5.0.2) - actioncable (= 5.0.2) - actionmailer (= 5.0.2) - actionpack (= 5.0.2) - actionview (= 5.0.2) - activejob (= 5.0.2) - activemodel (= 5.0.2) - activerecord (= 5.0.2) - activesupport (= 5.0.2) - bundler (>= 1.3.0, < 2.0) - railties (= 5.0.2) + rack-test (1.1.0) + rack (>= 1.0, < 3) + rails (5.1.6) + actioncable (= 5.1.6) + actionmailer (= 5.1.6) + actionpack (= 5.1.6) + actionview (= 5.1.6) + activejob (= 5.1.6) + activemodel (= 5.1.6) + activerecord (= 5.1.6) + activesupport (= 5.1.6) + bundler (>= 1.3.0) + railties (= 5.1.6) sprockets-rails (>= 2.0.0) - rails-dom-testing (2.0.2) - activesupport (>= 4.2.0, < 6.0) - nokogiri (~> 1.6) - rails-html-sanitizer (1.0.3) - loofah (~> 2.0) + 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_12factor (0.0.3) rails_serve_static_assets rails_stdout_logging rails_serve_static_assets (0.0.5) rails_stdout_logging (0.0.5) - railties (5.0.2) - actionpack (= 5.0.2) - activesupport (= 5.0.2) + railties (5.1.6) + actionpack (= 5.1.6) + activesupport (= 5.1.6) method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rainbow (2.2.1) - rake (12.0.0) - redis (3.3.3) + rake (12.3.1) + rb-fsevent (0.10.3) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + redis (3.3.5) redis-namespace (1.5.3) redis (~> 3.0, >= 3.0.4) - responders (2.3.0) - railties (>= 4.2.0, < 5.1) + regexp_parser (1.2.0) + responders (2.4.0) + actionpack (>= 4.2.0, < 5.3) + railties (>= 4.2.0, < 5.3) rspec (3.5.0) rspec-core (~> 3.5.0) rspec-expectations (~> 3.5.0) @@ -274,26 +294,28 @@ GEM ruby-progressbar (~> 1.7) unicode-display_width (~> 1.0, >= 1.0.1) ruby-progressbar (1.8.1) - rufus-scheduler (3.4.0) - et-orbi (~> 1.0) + rufus-scheduler (3.5.2) + fugit (~> 1.1, >= 1.1.5) safe_yaml (1.0.4) - sass (3.4.23) - sass-rails (5.0.6) + sass (3.7.2) + sass-listen (~> 4.0.0) + sass-listen (4.0.0) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + sass-rails (5.0.7) railties (>= 4.0.0, < 6) sass (~> 3.1) sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) - sidekiq (5.0.4) - concurrent-ruby (~> 1.0) - connection_pool (~> 2.2, >= 2.2.0) + sidekiq (5.2.3) + connection_pool (~> 2.2, >= 2.2.2) rack-protection (>= 1.5.0) - redis (~> 3.3, >= 3.3.3) + redis (>= 3.3.5, < 5) sidekiq-failures (1.0.0) sidekiq (>= 4.0.0) - sidekiq-scheduler (2.1.2) - hashie (~> 3.4) - redis (~> 3) + sidekiq-scheduler (3.0.0) + redis (>= 3, < 5) rufus-scheduler (~> 3.2) sidekiq (>= 3) tilt (>= 1.4.0) @@ -303,22 +325,22 @@ GEM socksify (1.7.1) spring (2.0.1) activesupport (>= 4.2) - sprockets (3.7.1) + sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.2.0) + sprockets-rails (3.2.1) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) thor (0.19.4) thread_safe (0.3.6) - tilt (2.0.7) + tilt (2.0.8) tor_requests (0.6.0) socksify - turbolinks (5.0.1) - turbolinks-source (~> 5) - turbolinks-source (5.0.0) - tzinfo (1.2.3) + turbolinks (5.2.0) + turbolinks-source (~> 5.2) + turbolinks-source (5.2.0) + tzinfo (1.2.5) thread_safe (~> 0.1) uglifier (3.1.10) execjs (>= 0.3.0, < 3) @@ -330,60 +352,60 @@ GEM hashdiff websocket-driver (0.6.5) websocket-extensions (>= 0.1.0) - websocket-extensions (0.1.2) + websocket-extensions (0.1.3) will_paginate (3.1.5) will_paginate-bootstrap (1.0.1) will_paginate (>= 3.0.3) - xpath (2.0.0) - nokogiri (~> 1.3) + xpath (3.2.0) + nokogiri (~> 1.8) PLATFORMS ruby DEPENDENCIES bootstrap-sass - capybara - coffee-rails + capybara (>= 2.13.0) + coffee-rails (>= 4.2.1) connection_pool cucumber - cucumber-rails + cucumber-rails (>= 1.4.5) dalli (~> 2.7) database_cleaner factory_girl (~> 4.4.0) - factory_girl_rails + factory_girl_rails (>= 4.4.1) factory_girl_rspec faker foreman fuubar jbuilder - jquery-rails - jquery-turbolinks - jquery-ui-rails - meta-tags + jquery-rails (>= 4.3.1) + jquery-turbolinks (>= 2.1.0) + jquery-ui-rails (>= 6.0.1) + meta-tags (>= 2.4.0) newrelic_rpm nokogiri oj parallel - peek - peek-dalli - peek-pg - peek-sidekiq + peek (>= 0.2.0) + peek-dalli (>= 1.1.3) + peek-pg (>= 1.3.0) + peek-sidekiq (>= 1.0.3) pg pickle - poltergeist + poltergeist (>= 1.14.0) pry-byebug puma (~> 3.6.0) puma_worker_killer! rails rails_12factor redis-namespace - responders (~> 2.0) - rspec-rails + responders (~> 2.3, >= 2.3.0) + rspec-rails (>= 3.5.2) rubocop - sass-rails - sidekiq - sidekiq-failures - sidekiq-scheduler + sass-rails (>= 5.0.6) + sidekiq (>= 5.0.4) + sidekiq-failures (>= 1.0.0) + sidekiq-scheduler (>= 2.1.2) sidekiq-statistic! sitemap_generator socksify @@ -396,4 +418,4 @@ DEPENDENCIES will_paginate-bootstrap BUNDLED WITH - 1.15.1 + 1.16.6