Skip to content

Commit

Permalink
Updated gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dalezak committed Feb 10, 2022
1 parent 5ee399c commit 751fe77
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 65 deletions.
22 changes: 22 additions & 0 deletions .erdconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
attributes:
- content
- foreign_key
- inheritance
disconnected: true
filename: SCHEMA
filetype: pdf
indirect: true
inheritance: false
markup: true
notation: simple
orientation: horizontal
polymorphism: true
sort: true
warn: true
title: Data Schema
exclude: null
only: null
only_recursion_depth: null
prepend_primary: false
cluster: false
splines: spline
103 changes: 39 additions & 64 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,92 +3,34 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.0.0"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.1"

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails"

# Use postgresql as the database for Active Record
gem "pg", "~> 1.1"

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"

# Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails]
gem "jsbundling-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"

# Bundle and process CSS [https://github.com/rails/cssbundling-rails]
gem "jsbundling-rails"
gem "cssbundling-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#transforming-images]
# gem "image_processing", "~> 1.2"

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]
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"
end

group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"
end

gem 'devise', '~> 4.8', '>= 4.8.1'

gem 'devise-i18n'

gem "cancancan", "~> 3.3"

gem "omniauth", "~> 2.0"

gem "omniauth-github", "~> 2.0"

gem 'omniauth-rails_csrf_protection', '~> 1.0', '>= 1.0.1'

gem "devise-bootstrap5", "~> 0.1.3"

gem "bootstrap_form", "~> 5.0"
gem "devise-bootstrap5", "~> 0.1.3"

gem "faker", "~> 2.19"

Expand All @@ -97,11 +39,44 @@ gem "gems"
gem 'store_attribute'

gem "shrine", "~> 3.4"

gem "fastimage", "~> 2.2"

gem "aws-sdk-s3", "~> 1.112"

gem "image_processing", "~> 1.12"

gem 'annotate'
gem "bootsnap", require: false

# Use Sass to process CSS
# gem "sassc-rails"

# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
# gem "image_processing", "~> 1.2"

# 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"

group :development do
gem 'rails-erd'
gem 'annotate'
gem 'web-console'
gem "memory_profiler"
gem 'derailed_benchmarks'
gem 'better_errors'
gem 'binding_of_caller'
gem 'brakeman'
gem 'rubocop'
gem 'rubocop-rails', require: false
gem 'active_record_doctor'
end

group :test do
gem "capybara"
gem "selenium-webdriver"
gem "webdrivers"
end

group :development, :test do
gem "debug", platforms: %i[mri mingw x64_mingw]
end
72 changes: 71 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ GEM
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_record_doctor (1.9.0)
activerecord (>= 4.2.0)
activejob (7.0.2)
activesupport (= 7.0.2)
globalid (>= 0.3.6)
Expand All @@ -71,6 +73,7 @@ GEM
annotate (3.2.0)
activerecord (>= 3.2, < 8.0)
rake (>= 10.4, < 14.0)
ast (2.4.2)
aws-eventstream (1.2.0)
aws-partitions (1.553.0)
aws-sdk-core (3.126.0)
Expand All @@ -88,12 +91,20 @@ GEM
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
bcrypt (3.1.16)
benchmark-ips (2.9.3)
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.10.3)
msgpack (~> 1.2)
bootstrap_form (5.0.0)
actionpack (>= 5.2)
activemodel (>= 5.2)
brakeman (5.2.1)
builder (3.2.4)
cancancan (3.3.0)
capybara (3.36.0)
Expand All @@ -106,14 +117,30 @@ GEM
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (4.1.0)
choice (0.2.0)
coderay (1.1.3)
concurrent-ruby (1.1.9)
content_disposition (1.0.0)
crass (1.0.6)
cssbundling-rails (1.0.0)
railties (>= 6.0.0)
dead_end (3.1.1)
debug (1.4.0)
irb (>= 1.3.6)
reline (>= 0.2.7)
debug_inspector (1.1.0)
derailed_benchmarks (2.1.1)
benchmark-ips (~> 2)
dead_end
get_process_mem (~> 0)
heapy (~> 0)
memory_profiler (>= 0, < 2)
mini_histogram (>= 0.3.0)
rack (>= 1)
rack-test
rake (> 10, < 14)
ruby-statistics (>= 2.1)
thor (>= 0.19, < 2)
devise (4.8.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
Expand Down Expand Up @@ -155,9 +182,13 @@ GEM
fastimage (2.2.6)
ffi (1.15.5)
gems (1.2.0)
get_process_mem (0.2.7)
ffi (~> 1.0)
globalid (1.0.0)
activesupport (>= 5.0)
hashie (5.0.0)
heapy (0.2.0)
thor
i18n (1.9.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.1)
Expand All @@ -181,7 +212,9 @@ GEM
mini_mime (>= 0.1.1)
marcel (1.0.2)
matrix (0.4.2)
memory_profiler (1.0.0)
method_source (1.0.0)
mini_histogram (0.3.1)
mini_magick (4.11.0)
mini_mime (1.1.2)
minitest (5.15.0)
Expand Down Expand Up @@ -227,6 +260,9 @@ GEM
actionpack (>= 4.2)
omniauth (~> 2.0)
orm_adapter (0.5.0)
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
pg (1.3.1)
public_suffix (4.0.6)
puma (5.6.1)
Expand Down Expand Up @@ -254,6 +290,11 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-erd (1.6.1)
activerecord (>= 4.2)
activesupport (>= 4.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
railties (7.0.2)
Expand All @@ -263,6 +304,7 @@ GEM
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
redis (4.6.0)
regexp_parser (2.2.0)
Expand All @@ -272,6 +314,25 @@ GEM
actionpack (>= 5.0)
railties (>= 5.0)
rexml (3.2.5)
rubocop (1.25.1)
parallel (~> 1.10)
parser (>= 3.1.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-rails (2.13.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
ruby-graphviz (1.2.5)
rexml
ruby-progressbar (1.11.0)
ruby-statistics (3.0.0)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby2_keywords (0.0.5)
Expand Down Expand Up @@ -302,6 +363,7 @@ GEM
railties (>= 6.0.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.1.0)
warden (1.2.9)
rack (>= 2.0.9)
web-console (4.2.0)
Expand All @@ -324,14 +386,19 @@ PLATFORMS
arm64-darwin-20

DEPENDENCIES
active_record_doctor
annotate
aws-sdk-s3 (~> 1.112)
better_errors
binding_of_caller
bootsnap
bootstrap_form (~> 5.0)
brakeman
cancancan (~> 3.3)
capybara
cssbundling-rails
debug
derailed_benchmarks
devise (~> 4.8, >= 4.8.1)
devise-bootstrap5 (~> 0.1.3)
devise-i18n
Expand All @@ -341,20 +408,23 @@ DEPENDENCIES
image_processing (~> 1.12)
jbuilder
jsbundling-rails
memory_profiler
omniauth (~> 2.0)
omniauth-github (~> 2.0)
omniauth-rails_csrf_protection (~> 1.0, >= 1.0.1)
pg (~> 1.1)
puma (~> 5.0)
rails (~> 7.0.1)
rails-erd
redis (~> 4.0)
rubocop
rubocop-rails
selenium-webdriver
shrine (~> 3.4)
sprockets-rails
stimulus-rails
store_attribute
turbo-rails
tzinfo-data
web-console
webdrivers

Expand Down
Binary file added SCHEMA.pdf
Binary file not shown.
6 changes: 6 additions & 0 deletions lib/tasks/auto_generate_diagram.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# NOTE: only doing this in development as some production environments (Heroku)
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
# NOTE: to have a dev-mode tool do its thing in production.
if Rails.env.development?
RailsERD.load_tasks
end

0 comments on commit 751fe77

Please sign in to comment.