schemerd 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3882b4702bf8be5603646dd0b145838a000ba86f14f133aa9e6c93f5c967a555
4
- data.tar.gz: 81efcf0b59b4aa78220591e6722d48222e59680d711967ece0bfbae3af8b811f
3
+ metadata.gz: 640005c5ab35c9ee219bd94773c9a8cc3426ee3dc75813017e29a5b7e3008274
4
+ data.tar.gz: 3b179af04a137777feab16d8f413bc8f9ae09a4c3950b9fe31306d02fef46cf0
5
5
  SHA512:
6
- metadata.gz: 60efa1723758b22ba9ec775e865b1a08c99a777a6f24b4346d248c39d18fc35c0d262ac307b1d9b10095a4c8fb8e5a26dcd39b11cec73e559b754f743645cfb5
7
- data.tar.gz: fa4046b7dca821984dbd0d957a2e221b6fa3c65c44ec955d0fb59547ec25bfba91fcbfd6768166aaefd8b6707164cd342191ea8dc0277f7636cf407d7c1e91b3
6
+ metadata.gz: 8648fbcd350f83f4045eccd77ef6e4146c3d9042e9ad9e9c364076273a33faf9284353cac4c7aab8ebbe996ce205b4750e1c553898d3c9e34ab523ea9096d98a
7
+ data.tar.gz: 432fb3cb2b0fa1b8a34dfe0c0cbd8c52be2b0fc0aa15881c4778761dc81096c97eacfc6fdc6482b117e405aca5a800ae3189f57f4bac5d38293a4f44d4036c32
data/README.md CHANGED
@@ -22,7 +22,7 @@ Run `bundle install`.
22
22
  rake schemerd:generate
23
23
  ```
24
24
 
25
- This creates `doc/erd.md` with a Mermaid `erDiagram` block containing all your models, columns, and associations.
25
+ This creates `docs/erd.md` with a Mermaid `erDiagram` block containing all your models, columns, and associations.
26
26
 
27
27
  ### Auto-generate on migrations
28
28
 
@@ -48,8 +48,8 @@ This creates `config/initializers/schemerd.rb`. Available options:
48
48
 
49
49
  ```ruby
50
50
  Schemerd.configure do |config|
51
- # Output directory relative to Rails.root (default: "doc")
52
- config.output_directory = "doc"
51
+ # Output directory relative to Rails.root (default: "docs")
52
+ config.output_directory = "docs"
53
53
 
54
54
  # Output filename (default: "erd.md")
55
55
  config.output_filename = "erd.md"
@@ -1,6 +1,6 @@
1
1
  Schemerd.configure do |config|
2
2
  # Output directory relative to Rails.root
3
- # config.output_directory = "doc"
3
+ # config.output_directory = "docs"
4
4
 
5
5
  # Output filename
6
6
  # config.output_filename = "erd.md"
@@ -10,7 +10,7 @@ module Schemerd
10
10
  :base_class
11
11
 
12
12
  def initialize
13
- @output_directory = "doc"
13
+ @output_directory = "docs"
14
14
  @output_filename = "erd.md"
15
15
  @header = "# Entity Relationship Diagram\n\n" \
16
16
  "Auto-generated from ActiveRecord models. Do not edit manually."
@@ -3,7 +3,7 @@
3
3
  module Schemerd
4
4
  class Railtie < Rails::Railtie
5
5
  rake_tasks do
6
- load File.expand_path("../../tasks/schemerd.rake", __dir__)
6
+ load File.expand_path("../tasks/schemerd.rake", __dir__)
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Schemerd
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schemerd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Monfort