Skip to content

Commit

Permalink
Add more Rails 7 default gems
Browse files Browse the repository at this point in the history
  • Loading branch information
jvendetti committed Mar 7, 2024
1 parent edd87a9 commit 54a3537
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 21 deletions.
52 changes: 31 additions & 21 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,33 @@ 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 for Action Cable
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'
gem 'terser'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# gem 'duktape'

gem 'bootstrap', '~> 5.2.3'
gem 'chart-js-rails'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'select2-rails'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# To use debugger
# gem 'debugger'

gem 'base64', '0.1.0'
gem 'cube-ruby', require: 'cube'
gem 'dalli'
Expand All @@ -54,31 +57,30 @@ gem 'iconv'
gem 'multi_json'
gem 'mysql2', '0.5.5'
gem 'oj'
gem 'ontologies_api_client', github: 'ncbo/ontologies_api_ruby_client', tag: 'v2.2.5'
gem 'open_uri_redirections'
gem 'pry'
gem 'psych', '< 4'
gem 'rack-mini-profiler'
gem 'rails_autolink'
gem 'rdoc'
gem 'recaptcha', '~> 5.9.0'
gem 'rest-client'
gem 'rexml', '~> 3'
gem 'stackprof', require: false
gem 'terser'
gem 'thin'
gem 'will_paginate', '~> 3.0'

gem 'ontologies_api_client', github: 'ncbo/ontologies_api_ruby_client', tag: 'v2.2.5'

group :staging, :production do
# application monitoring
# Application monitoring
gem 'newrelic_rpm'
# logs in json format, useful for shipping logs to logstash
# Logs in json format, useful for shipping logs to logstash
# gem 'rackstash', git: 'https://github.com/planio-gmbh/rackstash.git'
# gem 'logstash-logger'
end

group :development do
# Capistrano Deployment
# Capistrano deployment
gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0', require: false # https://github.com/miloserdow/capistrano-deploy/issues/42
gem 'capistrano', '~> 3.17', require: false
gem 'capistrano-bundler', require: false
Expand All @@ -90,13 +92,21 @@ group :development do
gem 'ed25519', '>= 1.2', '< 2.0', require: false # https://github.com/miloserdow/capistrano-deploy/issues/42
gem 'html2haml'
gem 'listen'
# static code analysis

# Static code analysis
gem 'brakeman', require: false
gem 'rubocop', require: false

# gem 'i18n-debug'
end

group :test, :development do
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]

# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
gem 'rack-mini-profiler'

gem 'rspec-rails'
end

Expand Down
15 changes: 15 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ GEM
execjs (~> 2)
base64 (0.1.0)
bcrypt_pbkdf (1.1.0)
bootsnap (1.17.1)
msgpack (~> 1.2)
bootstrap (5.2.3)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 2.11.6, < 3)
Expand Down Expand Up @@ -135,6 +137,9 @@ GEM
daemons (1.4.1)
dalli (3.2.6)
date (3.3.4)
debug (1.9.1)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.0)
domain_name (0.6.20231109)
ed25519 (1.3.0)
Expand Down Expand Up @@ -175,6 +180,10 @@ GEM
i18n (1.14.1)
concurrent-ruby (~> 1.0)
iconv (1.0.8)
io-console (0.7.2)
irb (1.11.1)
rdoc
reline (>= 0.4.2)
jquery-rails (4.6.0)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
Expand Down Expand Up @@ -205,6 +214,7 @@ GEM
mime-types-data (3.2023.1003)
mini_mime (1.1.5)
minitest (5.21.2)
msgpack (1.7.2)
multi_json (1.15.0)
multipart-post (2.3.0)
mysql2 (0.5.5)
Expand Down Expand Up @@ -290,6 +300,8 @@ GEM
json
redis (4.8.1)
regexp_parser (2.9.0)
reline (0.4.2)
io-console (~> 0.5)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
Expand Down Expand Up @@ -387,6 +399,7 @@ PLATFORMS
DEPENDENCIES
base64 (= 0.1.0)
bcrypt_pbkdf (>= 1.0, < 2.0)
bootsnap
bootstrap (~> 5.2.3)
brakeman
capistrano (~> 3.17)
Expand All @@ -400,6 +413,7 @@ DEPENDENCIES
chart-js-rails
cube-ruby
dalli
debug
ed25519 (>= 1.2, < 2.0)
flamegraph
graphql (~> 2.0.27)
Expand Down Expand Up @@ -438,6 +452,7 @@ DEPENDENCIES
terser
thin
turbo-rails
tzinfo-data
will_paginate (~> 3.0)

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions config/boot.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)

require "bundler/setup" # Set up gems listed in the Gemfile.
require "bootsnap/setup" # Speed up boot time by caching expensive operations.

0 comments on commit 54a3537

Please sign in to comment.