add dev gem to generate erd

This commit is contained in:
Etienne Ischer
2021-04-30 12:47:31 +02:00
parent c5190b48f8
commit 639bd044bf
4 changed files with 21 additions and 0 deletions

7
.erdconfig Normal file
View File

@@ -0,0 +1,7 @@
attributes:
- content
filename: erd
filetype: pdf
indirect: true
title: Northwhale ERD
markup: true

3
.gitignore vendored
View File

@@ -37,3 +37,6 @@ yarn-debug.log*
# Ignore environment variables file # Ignore environment variables file
/.env /.env
# ignore ERD pdf
/erd.pdf

View File

@@ -81,6 +81,8 @@ group :development do
gem 'solargraph' gem 'solargraph'
# Use Pry as your rails console # Use Pry as your rails console
gem 'pry-rails', '~> 0.3.9' gem 'pry-rails', '~> 0.3.9'
# Automatically generate an entity-relationship diagram (ERD) for your Rails models.
gem 'rails-erd'
end end
group :test do group :test do

View File

@@ -90,6 +90,7 @@ GEM
regexp_parser (>= 1.5, < 3.0) regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2) xpath (~> 3.2)
childprocess (3.0.0) childprocess (3.0.0)
choice (0.2.0)
coderay (1.1.3) coderay (1.1.3)
concurrent-ruby (1.1.8) concurrent-ruby (1.1.8)
connection_pool (2.2.5) connection_pool (2.2.5)
@@ -223,6 +224,11 @@ GEM
rails-dom-testing (2.0.3) rails-dom-testing (2.0.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
nokogiri (>= 1.6) 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.3.0) rails-html-sanitizer (1.3.0)
loofah (~> 2.3) loofah (~> 2.3)
rails-i18n (6.0.0) rails-i18n (6.0.0)
@@ -285,6 +291,8 @@ GEM
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 0.90.0, < 2.0) rubocop (>= 0.90.0, < 2.0)
ruby-graphviz (1.2.5)
rexml
ruby-progressbar (1.11.0) ruby-progressbar (1.11.0)
ruby2_keywords (0.0.4) ruby2_keywords (0.0.4)
rubyzip (2.3.0) rubyzip (2.3.0)
@@ -403,6 +411,7 @@ DEPENDENCIES
puma (~> 5.0) puma (~> 5.0)
rack-mini-profiler (~> 2.0) rack-mini-profiler (~> 2.0)
rails (~> 6.1.3, >= 6.1.3.1) rails (~> 6.1.3, >= 6.1.3.1)
rails-erd
rails-i18n (~> 6.0.0) rails-i18n (~> 6.0.0)
rbattlenet (~> 2.2.4)! rbattlenet (~> 2.2.4)!
redis (~> 4.2.5) redis (~> 4.2.5)