schemerd 0.1.0 → 0.1.2

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: 4e52c74c9384f7f05ddb76ee50d3efb4610a0b0923752406860398ee7e2a4e31
4
+ data.tar.gz: 1e89449534ad9628103ee0079a8540211c03011c2983cd57d62b3defd8a660c9
5
5
  SHA512:
6
- metadata.gz: 60efa1723758b22ba9ec775e865b1a08c99a777a6f24b4346d248c39d18fc35c0d262ac307b1d9b10095a4c8fb8e5a26dcd39b11cec73e559b754f743645cfb5
7
- data.tar.gz: fa4046b7dca821984dbd0d957a2e221b6fa3c65c44ec955d0fb59547ec25bfba91fcbfd6768166aaefd8b6707164cd342191ea8dc0277f7636cf407d7c1e91b3
6
+ metadata.gz: 78b5fdf1f3a7e21296f74cd7c90368ca0b3dfaf9bedc05d122dc7353aa54e7fb0305a42b2813bb211c5033671d7b6ac06843ec21efe2c0de2305a7696c2db50e
7
+ data.tar.gz: 3c424e43a4caa1369d8e5c4706e5f45b3c30e51de1cac5c176ecb8f125d58198844f62d20387fe4f08a52920417293de8a665396345d949394ba6516e18dc79c
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.2"
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Monfort
@@ -53,7 +53,7 @@ files:
53
53
  - lib/schemerd/railtie.rb
54
54
  - lib/schemerd/version.rb
55
55
  - lib/tasks/schemerd.rake
56
- homepage: https://github.com/pablo/schemerd
56
+ homepage: https://github.com/pmonfort/schemerd
57
57
  licenses:
58
58
  - MIT
59
59
  metadata: {}