From 686c4776b67856c378f85448eef02278bbb14a30 Mon Sep 17 00:00:00 2001 From: Angel Aviel Domaoan Date: Mon, 10 Jan 2022 03:28:23 +0000 Subject: [PATCH] Update gems --- .ruby-version | 1 - Gemfile | 53 ++++++++-- Gemfile.lock | 288 ++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 266 insertions(+), 76 deletions(-) delete mode 100644 .ruby-version diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 2eb2fe9..0000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -ruby-2.7.2 diff --git a/Gemfile b/Gemfile index 2cb65ce..e5f1c24 100644 --- a/Gemfile +++ b/Gemfile @@ -1,12 +1,15 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.7.2' + # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' gem 'rails', '~> 6.1.4', '>= 6.1.4.1' -# Use sqlite3 as the database for Active Record -gem 'sqlite3', '~> 1.4' + +gem "pg" + +gem "foreman" + # Use Puma as the app server gem 'puma', '~> 5.0' # Use SCSS for stylesheets @@ -18,7 +21,7 @@ gem 'turbolinks', '~> 5' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.7' # Use Redis adapter to run Action Cable in production -# gem 'redis', '~> 4.0' +gem 'redis', '~> 4.0' # Use Active Model has_secure_password # gem 'bcrypt', '~> 3.1.7' @@ -42,6 +45,9 @@ group :development do gem 'listen', '~> 3.3' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' + + gem "better_errors" + gem "binding_of_caller" end group :test do @@ -52,5 +58,40 @@ group :test do gem 'webdrivers' end -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] +gem "stimulus_reflex" +gem "view_component", require: "view_component/engine" + +# Search Engine +gem "sunspot", "~> 2.5.0" +gem "sunspot-queue", "~> 0.10.2" +gem "sunspot_index_queue", "~> 1.1.4" +gem "sunspot_rails", "~> 2.5.0" +gem "sunspot_solr", "~> 2.5.0" +gem "sunspot_submodel_index", "~> 0.0.5" + +# Essentials +gem "acts_as_list" +gem "ancestry" +gem "paper_trail" +gem "public_uid" +gem "kaminari" +gem "nokogiri", ">= 1.12.0" +gem "nokogiri-styles" + +# Security +gem "cancancan", "~> 1.17.0" +gem "figaro" +gem "devise", ">= 4.7.1" +gem "secure_headers", ">= 6.3.0" +gem "rolify" + +gem "okcomputer" +gem "strong_migrations" + +group :rubocop do + gem "rubocop", ">= 0.90", require: false + gem "rubocop-packaging", require: false + gem "rubocop-performance", require: false + gem "rubocop-rails", require: false + gem "rubocop-minitest" +end diff --git a/Gemfile.lock b/Gemfile.lock index bd060dd..9723bc9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,72 +1,88 @@ GEM remote: https://rubygems.org/ specs: - actioncable (6.1.4.1) - actionpack (= 6.1.4.1) - activesupport (= 6.1.4.1) + actioncable (6.1.4.4) + actionpack (= 6.1.4.4) + activesupport (= 6.1.4.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.1.4.1) - actionpack (= 6.1.4.1) - activejob (= 6.1.4.1) - activerecord (= 6.1.4.1) - activestorage (= 6.1.4.1) - activesupport (= 6.1.4.1) + actionmailbox (6.1.4.4) + actionpack (= 6.1.4.4) + activejob (= 6.1.4.4) + activerecord (= 6.1.4.4) + activestorage (= 6.1.4.4) + activesupport (= 6.1.4.4) mail (>= 2.7.1) - actionmailer (6.1.4.1) - actionpack (= 6.1.4.1) - actionview (= 6.1.4.1) - activejob (= 6.1.4.1) - activesupport (= 6.1.4.1) + actionmailer (6.1.4.4) + actionpack (= 6.1.4.4) + actionview (= 6.1.4.4) + activejob (= 6.1.4.4) + activesupport (= 6.1.4.4) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.4.1) - actionview (= 6.1.4.1) - activesupport (= 6.1.4.1) + actionpack (6.1.4.4) + actionview (= 6.1.4.4) + activesupport (= 6.1.4.4) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.1.4.1) - actionpack (= 6.1.4.1) - activerecord (= 6.1.4.1) - activestorage (= 6.1.4.1) - activesupport (= 6.1.4.1) + actiontext (6.1.4.4) + actionpack (= 6.1.4.4) + activerecord (= 6.1.4.4) + activestorage (= 6.1.4.4) + activesupport (= 6.1.4.4) nokogiri (>= 1.8.5) - actionview (6.1.4.1) - activesupport (= 6.1.4.1) + actionview (6.1.4.4) + activesupport (= 6.1.4.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.1.4.1) - activesupport (= 6.1.4.1) + activejob (6.1.4.4) + activesupport (= 6.1.4.4) globalid (>= 0.3.6) - activemodel (6.1.4.1) - activesupport (= 6.1.4.1) - activerecord (6.1.4.1) - activemodel (= 6.1.4.1) - activesupport (= 6.1.4.1) - activestorage (6.1.4.1) - actionpack (= 6.1.4.1) - activejob (= 6.1.4.1) - activerecord (= 6.1.4.1) - activesupport (= 6.1.4.1) + activemodel (6.1.4.4) + activesupport (= 6.1.4.4) + activerecord (6.1.4.4) + activemodel (= 6.1.4.4) + activesupport (= 6.1.4.4) + activestorage (6.1.4.4) + actionpack (= 6.1.4.4) + activejob (= 6.1.4.4) + activerecord (= 6.1.4.4) + activesupport (= 6.1.4.4) marcel (~> 1.0.0) mini_mime (>= 1.1.0) - activesupport (6.1.4.1) + activesupport (6.1.4.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) + acts_as_list (1.0.4) + activerecord (>= 4.2) addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) + ancestry (4.1.0) + activerecord (>= 5.2.6) + ast (2.4.2) + bcrypt (3.1.16) + better_errors (2.9.1) + coderay (>= 1.0.0) + erubi (>= 1.0.0) + rack (>= 0.9.0) bindex (0.8.1) + binding_of_caller (1.0.0) + debug_inspector (>= 0.0.1) bootsnap (1.9.3) msgpack (~> 1.0) builder (3.2.4) byebug (11.1.3) + cable_ready (4.5.0) + rails (>= 5.2) + thread-local (>= 1.1.0) + cancancan (1.17.0) capybara (3.36.0) addressable matrix @@ -77,20 +93,48 @@ GEM regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) childprocess (4.1.0) + coderay (1.1.3) concurrent-ruby (1.1.9) crass (1.0.6) + debug_inspector (1.1.0) + devise (4.8.1) + bcrypt (~> 3.0) + orm_adapter (~> 0.1) + railties (>= 4.1.0) + responders + warden (~> 1.2.3) erubi (1.10.0) + faraday (2.0.1) + faraday-net_http (~> 2.0) + ruby2_keywords (>= 0.0.4) + faraday-net_http (2.0.1) ffi (1.15.4) + figaro (1.2.0) + thor (>= 0.14.0, < 2) + foreman (0.87.2) globalid (1.0.0) activesupport (>= 5.0) i18n (1.8.11) concurrent-ruby (~> 1.0) - jbuilder (2.11.3) + jbuilder (2.11.5) + actionview (>= 5.0.0) activesupport (>= 5.0.0) + kaminari (1.2.2) + activesupport (>= 4.1.0) + kaminari-actionview (= 1.2.2) + kaminari-activerecord (= 1.2.2) + kaminari-core (= 1.2.2) + kaminari-actionview (1.2.2) + actionview + kaminari-core (= 1.2.2) + kaminari-activerecord (1.2.2) + activerecord + kaminari-core (= 1.2.2) + kaminari-core (1.2.2) listen (3.7.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.12.0) + loofah (2.13.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) @@ -99,54 +143,105 @@ GEM matrix (0.4.2) method_source (1.0.0) mini_mime (1.1.2) - minitest (5.14.4) + minitest (5.15.0) msgpack (1.4.2) nio4r (2.5.8) - nokogiri (1.12.5-x86_64-darwin) + nokogiri (1.13.0-x86_64-darwin) racc (~> 1.4) + nokogiri (1.13.0-x86_64-linux) + racc (~> 1.4) + nokogiri-styles (0.1.2) + nokogiri + okcomputer (1.18.4) + orm_adapter (0.5.0) + paper_trail (12.1.0) + activerecord (>= 5.2) + request_store (~> 1.1) + parallel (1.21.0) + parser (3.1.0.0) + ast (~> 2.4.1) + pg (1.2.3) + pr_geohash (1.0.0) public_suffix (4.0.6) + public_uid (2.1.1) + activerecord (> 4.2) puma (5.5.2) nio4r (~> 2.0) racc (1.6.0) rack (2.2.3) rack-mini-profiler (2.3.3) rack (>= 1.2.0) - rack-proxy (0.7.0) + rack-proxy (0.7.2) rack rack-test (1.1.0) rack (>= 1.0, < 3) - rails (6.1.4.1) - actioncable (= 6.1.4.1) - actionmailbox (= 6.1.4.1) - actionmailer (= 6.1.4.1) - actionpack (= 6.1.4.1) - actiontext (= 6.1.4.1) - actionview (= 6.1.4.1) - activejob (= 6.1.4.1) - activemodel (= 6.1.4.1) - activerecord (= 6.1.4.1) - activestorage (= 6.1.4.1) - activesupport (= 6.1.4.1) + rails (6.1.4.4) + actioncable (= 6.1.4.4) + actionmailbox (= 6.1.4.4) + actionmailer (= 6.1.4.4) + actionpack (= 6.1.4.4) + actiontext (= 6.1.4.4) + actionview (= 6.1.4.4) + activejob (= 6.1.4.4) + activemodel (= 6.1.4.4) + activerecord (= 6.1.4.4) + activestorage (= 6.1.4.4) + activesupport (= 6.1.4.4) bundler (>= 1.15.0) - railties (= 6.1.4.1) + railties (= 6.1.4.4) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.4.2) loofah (~> 2.3) - railties (6.1.4.1) - actionpack (= 6.1.4.1) - activesupport (= 6.1.4.1) + railties (6.1.4.4) + actionpack (= 6.1.4.4) + activesupport (= 6.1.4.4) method_source rake (>= 0.13) thor (~> 1.0) + rainbow (3.0.0) rake (13.0.6) rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) + redis (4.5.1) regexp_parser (2.2.0) + request_store (1.5.0) + rack (>= 1.4) + responders (3.0.1) + actionpack (>= 5.0) + railties (>= 5.0) rexml (3.2.5) + rolify (6.0.0) + rsolr (2.4.0) + builder (>= 2.1.2) + faraday (>= 0.9.0) + rubocop (1.24.1) + parallel (~> 1.10) + parser (>= 3.0.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml + rubocop-ast (>= 1.15.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 1.4.0, < 3.0) + rubocop-ast (1.15.1) + parser (>= 3.0.1.1) + rubocop-minitest (0.17.0) + rubocop (>= 0.90, < 2.0) + rubocop-packaging (0.5.1) + rubocop (>= 0.89, < 2.0) + rubocop-performance (1.13.1) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + rubocop-rails (2.13.1) + activesupport (>= 4.2.0) + rack (>= 1.1) + rubocop (>= 1.7.0, < 2.0) + ruby-progressbar (1.11.0) + ruby2_keywords (0.0.5) rubyzip (2.3.2) sass-rails (6.0.0) sassc-rails (~> 2.1, >= 2.1.1) @@ -158,27 +253,54 @@ GEM sprockets (> 3.0) sprockets-rails tilt + secure_headers (6.3.3) selenium-webdriver (4.1.0) childprocess (>= 0.5, < 5.0) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2) semantic_range (3.0.0) - spring (3.1.1) + spring (4.0.0) sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.4.1) + sprockets-rails (3.4.2) actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - sqlite3 (1.4.2) - thor (1.1.0) + stimulus_reflex (3.4.1) + cable_ready (>= 4.5) + nokogiri + rack + rails (>= 5.2) + redis + strong_migrations (0.7.9) + activerecord (>= 5) + sunspot (2.5.0) + pr_geohash (~> 1.0) + rsolr (>= 1.1.1, < 3) + sunspot-queue (0.10.3) + sunspot_rails (>= 1.3.0) + sunspot_index_queue (1.1.4) + sunspot (>= 1.1.0) + sunspot_rails (2.5.0) + rails (>= 3) + sunspot (= 2.5.0) + sunspot_solr (2.5.0) + sunspot_submodel_index (0.0.5) + thor (1.2.1) + thread-local (1.1.0) tilt (2.0.10) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) + unicode-display_width (2.1.0) + view_component (2.47.0) + activesupport (>= 5.0.0, < 8.0) + method_source (~> 1.0) + warden (1.2.9) + rack (>= 2.0.9) web-console (4.2.0) actionview (>= 6.0.0) activemodel (>= 6.0.0) @@ -198,32 +320,60 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.5.1) + zeitwerk (2.5.3) PLATFORMS x86_64-darwin-20 + x86_64-linux DEPENDENCIES + acts_as_list + ancestry + better_errors + binding_of_caller bootsnap (>= 1.4.4) byebug + cancancan (~> 1.17.0) capybara (>= 3.26) + devise (>= 4.7.1) + figaro + foreman jbuilder (~> 2.7) + kaminari listen (~> 3.3) + nokogiri (>= 1.12.0) + nokogiri-styles + okcomputer + paper_trail + pg + public_uid puma (~> 5.0) rack-mini-profiler (~> 2.0) rails (~> 6.1.4, >= 6.1.4.1) + redis (~> 4.0) + rolify + rubocop (>= 0.90) + rubocop-minitest + rubocop-packaging + rubocop-performance + rubocop-rails sass-rails (>= 6) + secure_headers (>= 6.3.0) selenium-webdriver spring - sqlite3 (~> 1.4) + stimulus_reflex + strong_migrations + sunspot (~> 2.5.0) + sunspot-queue (~> 0.10.2) + sunspot_index_queue (~> 1.1.4) + sunspot_rails (~> 2.5.0) + sunspot_solr (~> 2.5.0) + sunspot_submodel_index (~> 0.0.5) turbolinks (~> 5) - tzinfo-data + view_component web-console (>= 4.1.0) webdrivers webpacker (~> 5.0) -RUBY VERSION - ruby 2.7.2p137 - BUNDLED WITH - 2.2.15 + 2.2.30