diff --git a/Gemfile b/Gemfile index 974a21a..b103c17 100644 --- a/Gemfile +++ b/Gemfile @@ -11,9 +11,44 @@ gem 'sprockets-rails' # Use sqlite3 as the database for Active Record gem 'sqlite3' -# Use Puma as the app server +# Use the Puma web server [https://github.com/puma/puma] gem 'puma' +# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] +gem 'importmap-rails' + +# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] +gem 'turbo-rails' + +# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] +gem 'stimulus-rails' + +# Build JSON APIs with ease [https://github.com/rails/jbuilder] +# gem 'jbuilder' + +# Use Redis adapter to run Action Cable in production +# gem 'redis', '~> 4.0' + +# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis] +# gem 'kredis' + +# Use Active Model has_secure_password +# [https://guides.rubyonrails.org/active_model_basics.html#securepassword] +# gem 'bcrypt', '~> 3.1.7' + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] + +# Reduces boot times through caching; required in config/boot.rb +gem 'bootsnap', require: false + +# Use Sass to process CSS +# gem 'sassc-rails' + +# Use Active Storage variants +# [https://guides.rubyonrails.org/active_storage_overview.html] +# gem 'image_processing', '~> 1.2' + # Use Haml for HTML templates (http://haml.info) gem 'haml' gem 'haml-rails' @@ -22,23 +57,28 @@ gem 'haml-rails' gem 'cssbundling-rails' gem 'jsbundling-rails' -# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks -gem 'turbolinks', '~> 5' - -# Reduces boot times through caching; required in config/boot.rb -gem 'bootsnap', require: false - group :development, :test do + # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem + gem 'debug', platforms: %i[mri mingw x64_mingw] + # for debugging in RubyMine gem 'ruby-debug-ide', require: false end group :development do + # Use console on exceptions pages [https://github.com/rails/web-console] + gem 'web-console' + + # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler] + gem 'rack-mini-profiler' + + # Speed up commands on slow machines / big apps [https://github.com/rails/spring] + # gem 'spring' + # Provide better error pages gem 'better_errors' gem 'binding_of_caller' gem 'listen' - gem 'rack-mini-profiler' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 3be605b..63ce546 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,6 +73,7 @@ GEM 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.16.0) @@ -98,6 +99,7 @@ GEM cssbundling-rails (1.1.2) railties (>= 6.0.0) date (3.3.3) + debug (1.7.1) debug_inspector (1.1.0) erubi (1.12.0) erubis (2.7.0) @@ -121,6 +123,9 @@ GEM sysexits (~> 1.1) i18n (1.12.0) concurrent-ruby (~> 1.0) + importmap-rails (1.1.5) + actionpack (>= 6.0.0) + railties (>= 6.0.0) jsbundling-rails (1.1.1) railties (>= 6.0.0) json (2.6.3) @@ -261,18 +266,26 @@ GEM mini_portile2 (~> 2.8.0) sqlite3 (1.6.0-aarch64-linux) sqlite3 (1.6.0-x86_64-linux) + stimulus-rails (1.2.1) + railties (>= 6.0.0) stringio (3.0.5) sysexits (1.2.0) temple (0.10.0) thor (1.2.1) tilt (2.0.11) timeout (0.3.1) - turbolinks (5.2.1) - turbolinks-source (~> 5.2) - turbolinks-source (5.2.0) + turbo-rails (1.3.3) + actionpack (>= 6.0.0) + activejob (>= 6.0.0) + railties (>= 6.0.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.4.2) + web-console (4.2.0) + actionview (>= 6.0.0) + activemodel (>= 6.0.0) + bindex (>= 0.4.0) + railties (>= 6.0.0) webdrivers (5.2.0) nokogiri (~> 1.6) rubyzip (>= 1.3.0) @@ -297,9 +310,11 @@ DEPENDENCIES bundler-audit capybara cssbundling-rails + debug haml haml-rails haml_lint + importmap-rails jsbundling-rails listen psych @@ -316,7 +331,10 @@ DEPENDENCIES selenium-webdriver sprockets-rails sqlite3 - turbolinks (~> 5) + stimulus-rails + turbo-rails + tzinfo-data + web-console webdrivers BUNDLED WITH