From fe72cc3bc59ddaa281ac43159747389949e445dc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 9 Jun 2017 19:52:43 +0000 Subject: [PATCH] fix: Gemfile & Gemfile.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20198 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20200 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20255 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20256 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20258 - https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-20264 - https://snyk.io/vuln/SNYK-RUBY-JQUERYRAILS-20225 - https://snyk.io/vuln/SNYK-RUBY-ACTIONVIEW-20262 - https://snyk.io/vuln/SNYK-RUBY-ACTIONVIEW-20263 - https://snyk.io/vuln/SNYK-RUBY-ACTIONVIEW-20271 - https://snyk.io/vuln/SNYK-RUBY-ACTIVEMODEL-20260 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-20184 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-20190 - https://snyk.io/vuln/SNYK-RUBY-ACTIVERECORD-20259 - https://snyk.io/vuln/SNYK-RUBY-ACTIVESUPPORT-20228 - https://snyk.io/vuln/SNYK-RUBY-ACTIVESUPPORT-20229 - https://snyk.io/vuln/SNYK-RUBY-HAML-20341 - https://snyk.io/vuln/SNYK-RUBY-HAML-20362 - https://snyk.io/vuln/SNYK-RUBY-MAIL-20244 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20214 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20245 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20253 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20268 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20277 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20292 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20367 - https://snyk.io/vuln/SNYK-RUBY-NOKOGIRI-20368 - https://snyk.io/vuln/SNYK-RUBY-RACKATTACK-20246 - https://snyk.io/vuln/SNYK-RUBY-REDCARPET-20212 - https://snyk.io/vuln/SNYK-RUBY-UGLIFIER-20236 Latest report for hackclub/website: https://snyk.io/test/github/hackclub/website --- Gemfile | 34 +++---- Gemfile.lock | 251 ++++++++++++++++++++++++++++----------------------- 2 files changed, 153 insertions(+), 132 deletions(-) diff --git a/Gemfile b/Gemfile index 23a2270..64e12a1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,28 +1,28 @@ source 'https://rubygems.org' source 'https://rails-assets.org' -gem 'rails', '4.1.1' -gem 'sass-rails', '~> 4.0.3' -gem 'uglifier', '>= 1.3.0' -gem 'coffee-rails', '~> 4.0.0' +gem 'rails', '4.2.7.1' +gem 'sass-rails', '~> 4.0.5' +gem 'uglifier', '>= 2.7.2' +gem 'coffee-rails', '~> 4.0.1' gem 'therubyracer' -gem 'haml-rails' -gem 'redcarpet' +gem 'haml-rails', '>= 1.0.0' +gem 'redcarpet', '>= 3.2.3' gem 'rack-ssl-enforcer' -gem 'rack-attack' +gem 'rack-attack', '>= 4.3.1' gem 'unf_ext' -gem 'jquery-rails' -gem 'jbuilder', '~> 2.0' +gem 'jquery-rails', '>= 3.1.3' +gem 'jbuilder', '~> 2.2', '>= 2.2.5' gem 'sdoc', '~> 0.4.0', group: :doc -gem 'foundation-rails' +gem 'foundation-rails', '>= 5.4.5.0' gem 'sentry-raven' gem 'rails-assets-Hover' gem 'rails-assets-underscore' gem 'gmaps4rails' -gem 'simple_form' +gem 'simple_form', '>= 3.1.0' gem 'enum_help' -gem 'pluggable_js' +gem 'pluggable_js', '>= 2.0.4' gem 'figaro' gem 'validates_email_format_of' gem 'stripe' @@ -37,13 +37,13 @@ group :development, :test do gem 'letter_opener' gem 'byebug' - gem 'rspec-rails' + gem 'rspec-rails', '>= 3.1.0' gem 'guard-rspec' - gem 'shoulda' - gem 'factory_girl_rails' - gem 'capybara' + gem 'shoulda', '>= 3.5.0' + gem 'factory_girl_rails', '>= 4.5.0' + gem 'capybara', '>= 2.4.4' gem 'faker' - gem 'email_spec' + gem 'email_spec', '>= 1.6.0' gem 'rspec_junit_formatter' end diff --git a/Gemfile.lock b/Gemfile.lock index 1594df1..a0b94d5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,43 +2,54 @@ GEM remote: https://rubygems.org/ remote: https://rails-assets.org/ specs: - actionmailer (4.1.1) - actionpack (= 4.1.1) - actionview (= 4.1.1) - mail (~> 2.5.4) - actionpack (4.1.1) - actionview (= 4.1.1) - activesupport (= 4.1.1) - rack (~> 1.5.2) + actionmailer (4.2.7.1) + actionpack (= 4.2.7.1) + actionview (= 4.2.7.1) + activejob (= 4.2.7.1) + mail (~> 2.5, >= 2.5.4) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.7.1) + actionview (= 4.2.7.1) + activesupport (= 4.2.7.1) + rack (~> 1.6) rack-test (~> 0.6.2) - actionview (4.1.1) - activesupport (= 4.1.1) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + actionview (4.2.7.1) + activesupport (= 4.2.7.1) builder (~> 3.1) erubis (~> 2.7.0) - activemodel (4.1.1) - activesupport (= 4.1.1) + rails-dom-testing (~> 1.0, >= 1.0.5) + rails-html-sanitizer (~> 1.0, >= 1.0.2) + activejob (4.2.7.1) + activesupport (= 4.2.7.1) + globalid (>= 0.3.0) + activemodel (4.2.7.1) + activesupport (= 4.2.7.1) builder (~> 3.1) - activerecord (4.1.1) - activemodel (= 4.1.1) - activesupport (= 4.1.1) - arel (~> 5.0.0) - activesupport (4.1.1) - i18n (~> 0.6, >= 0.6.9) + activerecord (4.2.7.1) + activemodel (= 4.2.7.1) + activesupport (= 4.2.7.1) + arel (~> 6.0) + activesupport (4.2.7.1) + i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) - thread_safe (~> 0.1) + thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.3.6) - arel (5.0.1.20140414130214) + addressable (2.5.1) + public_suffix (~> 2.0, >= 2.0.2) + arel (6.0.4) better_errors (2.0.0) coderay (>= 1.0.0) erubis (>= 2.6.6) rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) - builder (3.2.2) + builder (3.2.3) byebug (9.0.6) - capybara (2.4.4) + capybara (2.14.2) + addressable mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) @@ -50,24 +61,25 @@ GEM coffee-rails (4.0.1) coffee-script (>= 2.2.0) railties (>= 4.0.0, < 5.0) - coffee-script (2.3.0) + coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.8.0) + coffee-script-source (1.12.2) debug_inspector (0.0.2) - diff-lcs (1.2.5) + diff-lcs (1.3) domain_name (0.5.20160310) unf (>= 0.0.5, < 1.0.0) - email_spec (1.6.0) + email_spec (2.1.1) + htmlentities (~> 4.3.3) launchy (~> 2.1) - mail (~> 2.2) + mail (~> 2.6) enum_help (0.0.12) erubis (2.7.0) - execjs (2.2.2) - factory_girl (4.5.0) + execjs (2.7.0) + factory_girl (4.8.0) activesupport (>= 3.0.0) - factory_girl_rails (4.5.0) - factory_girl (~> 4.5.0) + factory_girl_rails (4.8.0) + factory_girl (~> 4.8.0) railties (>= 3.0.0) faker (1.4.3) i18n (~> 0.5) @@ -77,9 +89,11 @@ GEM figaro (1.0.0) thor (~> 0.14) formatador (0.2.5) - foundation-rails (5.4.5.0) + foundation-rails (5.5.0.0) railties (>= 3.1.0) - sass (>= 3.2.0) + sass (>= 3.2.0, < 3.4) + globalid (0.4.0) + activesupport (>= 4.2.0) gmaps4rails (2.1.2) guard (2.10.3) formatador (>= 0.2.4) @@ -93,32 +107,34 @@ GEM guard (~> 2.1) guard-compat (~> 1.1) rspec (>= 2.99.0, < 4.0) - haml (4.1.0.beta.1) + haml (5.0.1) + temple (>= 0.8.0) tilt - haml-rails (0.6.0) + haml-rails (1.0.0) actionpack (>= 4.0.1) activesupport (>= 4.0.1) - haml (>= 3.1, < 5.0) + haml (>= 4.0.6, < 6.0) html2haml (>= 1.0.1) railties (>= 4.0.1) hike (1.2.3) hitimes (1.2.2) - hpricot (0.8.6) - html2haml (1.0.1) + html2haml (2.2.0) erubis (~> 2.7.0) - haml (>= 4.0.0.rc.1) - hpricot (~> 0.8.6) - ruby_parser (~> 3.1.1) + haml (>= 4.0, < 6) + nokogiri (>= 1.6.0) + ruby_parser (~> 3.5) + htmlentities (4.3.4) http-cookie (1.0.2) domain_name (~> 0.5) - i18n (0.6.11) - jbuilder (2.2.5) - activesupport (>= 3.0.0, < 5) - multi_json (~> 1.2) - jquery-rails (3.1.2) - railties (>= 3.0, < 5.0) + i18n (0.8.4) + jbuilder (2.7.0) + activesupport (>= 4.2.0) + multi_json (>= 1.2) + jquery-rails (4.3.1) + rails-dom-testing (>= 1, < 3) + railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.1) + json (1.8.6) launchy (2.4.3) addressable (~> 2.3) letter_opener (1.3.0) @@ -128,33 +144,32 @@ GEM celluloid (>= 0.15.2) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) + loofah (2.0.3) + nokogiri (>= 1.5.9) lumberjack (1.0.9) - mail (2.5.4) - mime-types (~> 1.16) - treetop (~> 1.4.8) + mail (2.6.5) + mime-types (>= 1.16, < 4) method_source (0.8.2) - mime-types (1.25.1) - mini_portile (0.6.1) - minitest (5.5.0) - multi_json (1.10.1) + mime-types (2.99.3) + mini_portile2 (2.2.0) + minitest (5.10.2) + multi_json (1.12.1) multipart-post (2.0.0) nenv (0.1.1) netrc (0.11.0) - nokogiri (1.6.5) - mini_portile (~> 0.6.0) + nokogiri (1.8.0) + mini_portile2 (~> 2.2.0) pg (0.17.1) - pluggable_js (2.0.4) - coffee-rails - jquery-rails + pluggable_js (2.2.0) rails (>= 3.1) - polyglot (0.3.5) pry (0.10.1) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) + public_suffix (2.0.5) puma (3.6.2) - rack (1.5.5) - rack-attack (4.3.0) + rack (1.6.8) + rack-attack (5.0.1) rack rack-proxy (0.6.1) rack @@ -162,38 +177,47 @@ GEM rack (>= 1.0.0) rack-proxy (~> 0.6, >= 0.6.1) rack-ssl-enforcer (0.2.8) - rack-test (0.6.2) + rack-test (0.6.3) rack (>= 1.0) rack-timeout (0.2.4) - rails (4.1.1) - actionmailer (= 4.1.1) - actionpack (= 4.1.1) - actionview (= 4.1.1) - activemodel (= 4.1.1) - activerecord (= 4.1.1) - activesupport (= 4.1.1) + rails (4.2.7.1) + actionmailer (= 4.2.7.1) + actionpack (= 4.2.7.1) + actionview (= 4.2.7.1) + activejob (= 4.2.7.1) + activemodel (= 4.2.7.1) + activerecord (= 4.2.7.1) + activesupport (= 4.2.7.1) bundler (>= 1.3.0, < 2.0) - railties (= 4.1.1) - sprockets-rails (~> 2.0) + railties (= 4.2.7.1) + sprockets-rails rails-assets-Hover (1.0.9) rails-assets-underscore (1.7.0) + rails-deprecated_sanitizer (1.0.3) + activesupport (>= 4.2.0.alpha) + rails-dom-testing (1.0.8) + activesupport (>= 4.2.0.beta, < 5.0) + nokogiri (~> 1.6) + rails-deprecated_sanitizer (>= 1.0.1) + rails-html-sanitizer (1.0.3) + loofah (~> 2.0) 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 (4.1.1) - actionpack (= 4.1.1) - activesupport (= 4.1.1) + railties (4.2.7.1) + actionpack (= 4.2.7.1) + activesupport (= 4.2.7.1) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) - rake (10.4.2) + rake (12.0.0) rb-fsevent (0.9.4) rb-inotify (0.9.5) ffi (>= 0.5.0) rdoc (4.2.0) json (~> 1.4) - redcarpet (3.2.2) + redcarpet (3.4.0) ref (1.0.5) rest-client (1.8.0) http-cookie (>= 1.0.2, < 2.0) @@ -222,7 +246,7 @@ GEM rspec_junit_formatter (0.2.3) builder (< 4) rspec-core (>= 2, < 4, != 2.12.0) - ruby_parser (3.1.3) + ruby_parser (3.9.0) sexp_processor (~> 4.1) sass (3.2.19) sass-rails (4.0.5) @@ -235,52 +259,49 @@ GEM rdoc (~> 4.0) sentry-raven (2.4.0) faraday (>= 0.7.6, < 1.0) - sexp_processor (4.4.4) + sexp_processor (4.9.0) shoulda (3.5.0) shoulda-context (~> 1.0, >= 1.0.1) shoulda-matchers (>= 1.4.1, < 3.0) - shoulda-context (1.2.1) - shoulda-matchers (2.7.0) + shoulda-context (1.2.2) + shoulda-matchers (2.8.0) activesupport (>= 3.0.0) - simple_form (3.1.0) - actionpack (~> 4.0) - activemodel (~> 4.0) + simple_form (3.5.0) + actionpack (> 4, < 5.2) + activemodel (> 4, < 5.2) slop (3.6.0) spring (1.2.0) - sprockets (2.12.3) + sprockets (2.12.4) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.2.2) + sprockets-rails (2.3.3) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) sqlite3 (1.3.10) stripe (1.40.0) rest-client (~> 1.4) + temple (0.8.0) therubyracer (0.12.1) libv8 (~> 3.16.14.0) ref - thor (0.19.1) - thread_safe (0.3.4) + thor (0.19.4) + thread_safe (0.3.6) tilt (1.4.1) timers (4.0.1) hitimes - treetop (1.4.15) - polyglot - polyglot (>= 0.3.1) - tzinfo (1.2.2) + tzinfo (1.2.3) thread_safe (~> 0.1) - uglifier (2.6.0) - execjs (>= 0.3.0) - json (>= 1.8.0) + uglifier (3.2.0) + execjs (>= 0.3.0, < 3) unf (0.1.4) unf_ext unf_ext (0.0.7.2) validates_email_format_of (1.6.1) i18n - xpath (2.0.0) + xpath (2.1.0) nokogiri (~> 1.3) PLATFORMS @@ -290,45 +311,45 @@ DEPENDENCIES better_errors binding_of_caller byebug - capybara - coffee-rails (~> 4.0.0) - email_spec + capybara (>= 2.4.4) + coffee-rails (~> 4.0.1) + email_spec (>= 1.6.0) enum_help - factory_girl_rails + factory_girl_rails (>= 4.5.0) faker faraday figaro - foundation-rails + foundation-rails (>= 5.4.5.0) gmaps4rails guard-rspec - haml-rails - jbuilder (~> 2.0) - jquery-rails + haml-rails (>= 1.0.0) + jbuilder (~> 2.2, >= 2.2.5) + jquery-rails (>= 3.1.3) letter_opener pg - pluggable_js + pluggable_js (>= 2.0.4) puma - rack-attack + rack-attack (>= 4.3.1) rack-reverse-proxy rack-ssl-enforcer rack-timeout - rails (= 4.1.1) + rails (= 4.2.7.1) rails-assets-Hover rails-assets-underscore rails_12factor - redcarpet - rspec-rails + redcarpet (>= 3.2.3) + rspec-rails (>= 3.1.0) rspec_junit_formatter - sass-rails (~> 4.0.3) + sass-rails (~> 4.0.5) sdoc (~> 0.4.0) sentry-raven - shoulda - simple_form + shoulda (>= 3.5.0) + simple_form (>= 3.1.0) spring sqlite3 stripe therubyracer - uglifier (>= 1.3.0) + uglifier (>= 2.7.2) unf_ext validates_email_format_of