From f92c9254348b1e408a2bc1458cd4c8bc2be1c67c Mon Sep 17 00:00:00 2001 From: 1resu <1resu@solidaris.me> Date: Sat, 18 Dec 2021 17:48:56 +0100 Subject: [PATCH] Add more necessary gems, define versions, remove comments --- Gemfile | 31 +++++-------------------------- Gemfile.lock | 9 +++++---- 2 files changed, 10 insertions(+), 30 deletions(-) diff --git a/Gemfile b/Gemfile index 5b5635a..aa31340 100644 --- a/Gemfile +++ b/Gemfile @@ -3,63 +3,42 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '2.7.5' -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main' gem 'rails', '~> 6.1.4', '>= 6.1.4.4' -# Use sqlite3 as the database for Active Record -gem 'sqlite3', '~> 1.4' -# Use Puma as the app server -gem 'puma', '~> 5.0' -# Use SCSS for stylesheets gem 'sass-rails', '>= 6' -# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker gem 'webpacker', '~> 5.0' -# 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 gem 'jbuilder', '~> 2.7' -# Use Redis adapter to run Action Cable in production -# gem 'redis', '~> 4.0' -# Use Active Model has_secure_password -# gem 'bcrypt', '~> 3.1.7' - -# Use Active Storage variant -# gem 'image_processing', '~> 1.2' - -# Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.4.4', require: false group :development, :test do - # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] end group :development do - # Access an interactive console on exception pages or by calling 'console' anywhere in the code. gem 'web-console', '>= 4.1.0' - # Display performance information such as SQL time and flame graphs for each request in your browser. - # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md gem 'rack-mini-profiler', '~> 2.0' 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 'sqlite3', '~> 1.4' end group :test do # Adds support for Capybara system testing and selenium driver gem 'capybara', '>= 3.26' gem 'selenium-webdriver' - # Easy installation and use of web drivers to run system tests with browsers 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 "haml-rails", "~> 2.0" -gem "bcrypt" +gem 'haml-rails', '~> 2.0' +gem 'bcrypt', '~> 3.1.7' gem 'roo' gem 'roo-xls' gem 'simple_form' gem 'midi-smtp-server', '~> 3.0', require: false gem 'will_paginate', '~> 3.0' gem 'whenever', '~> 0.9', require: false +gem 'mysql2', '>=0.5' +gem 'base32' diff --git a/Gemfile.lock b/Gemfile.lock index dbd99cf..9c5598a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,6 +62,7 @@ GEM zeitwerk (~> 2.3) addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) + base32 (0.3.4) bcrypt (3.1.16) bindex (0.8.1) bootsnap (1.9.3) @@ -120,13 +121,12 @@ GEM mini_portile2 (2.6.1) minitest (5.15.0) msgpack (1.4.2) + mysql2 (0.5.3) nio4r (2.5.8) nokogiri (1.12.5) mini_portile2 (~> 2.6.1) racc (~> 1.4) public_suffix (4.0.6) - puma (5.5.2) - nio4r (~> 2.0) racc (1.6.0) rack (2.2.3) rack-mini-profiler (2.3.3) @@ -244,7 +244,8 @@ PLATFORMS ruby DEPENDENCIES - bcrypt + base32 + bcrypt (~> 3.1.7) bootsnap (>= 1.4.4) byebug capybara (>= 3.26) @@ -252,7 +253,7 @@ DEPENDENCIES jbuilder (~> 2.7) listen (~> 3.3) midi-smtp-server (~> 3.0) - puma (~> 5.0) + mysql2 (>= 0.5) rack-mini-profiler (~> 2.0) rails (~> 6.1.4, >= 6.1.4.4) roo