fresh_erd 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 +4 -4
- data/README.md +6 -1
- data/fresh_erd.gemspec +1 -1
- data/lib/fresh_erd/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c295e8f875c7fcba3d53dd748b5d82a621efc0d
|
|
4
|
+
data.tar.gz: 178f2a2c17d500eceb9d3d65d86ac6348d6bcd03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fd2cf0507a69578fadf6302508bdbf5ad23b50c46098a99c3b4020e74745461d917f79b7de55855a0a8a7ee0481e62a7339fadafcfb9cb9717ab74748f08d0c
|
|
7
|
+
data.tar.gz: fbd0ee2319a9e2e472b6a1585a0b222a357fe9f0ff8769604b7e35b8726d4746108845dcca1a836f42cebda1a1f96b9a7de91665aaa29f99bc5fc644954cccc1
|
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@ FreshERD is a gem that outputs ER diagram by setting yaml.
|
|
|
4
4
|
|
|
5
5
|
The output of ER diagram is realized by wrapping call of [rails-erd](https://github.com/voormedia/rails-erd).
|
|
6
6
|
|
|
7
|
+
This gem generate a diagram based on your application's Active Record models.
|
|
8
|
+
|
|
7
9
|
|
|
8
10
|
## Getting started
|
|
9
11
|
|
|
@@ -21,9 +23,10 @@ Or install it yourself as:
|
|
|
21
23
|
|
|
22
24
|
$ gem install fresh_erd
|
|
23
25
|
|
|
26
|
+
|
|
24
27
|
## Usage
|
|
25
28
|
|
|
26
|
-
Create configuration file:
|
|
29
|
+
Create configuration file (Write your application's Active Record models):
|
|
27
30
|
|
|
28
31
|
```yml
|
|
29
32
|
diagrams:
|
|
@@ -40,11 +43,13 @@ And then execute:
|
|
|
40
43
|
|
|
41
44
|
$ bundle exec fresh_erd --input="config/fresh_erd.yml" --output="./"
|
|
42
45
|
|
|
46
|
+
|
|
43
47
|
### Options
|
|
44
48
|
|
|
45
49
|
- --input : Write the path of the configuration file.
|
|
46
50
|
- --output : Write the path of the output ER diagram.
|
|
47
51
|
|
|
52
|
+
|
|
48
53
|
## License
|
|
49
54
|
|
|
50
55
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/fresh_erd.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{FreshERD is a gem that outputs ER diagram by setting yaml.}
|
|
13
13
|
spec.description = %q{FreshERD is a gem that outputs ER diagram by setting yaml. The output of ER diagram is realized by wrapping call of rails-erd.}
|
|
14
|
-
spec.homepage = "https://github.com/muramurasan"
|
|
14
|
+
spec.homepage = "https://github.com/muramurasan/fresh_erd"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
data/lib/fresh_erd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fresh_erd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yasuhiro Matsumura
|
|
@@ -91,7 +91,6 @@ extra_rdoc_files: []
|
|
|
91
91
|
files:
|
|
92
92
|
- .gitignore
|
|
93
93
|
- Gemfile
|
|
94
|
-
- Gemfile.lock
|
|
95
94
|
- LICENSE.txt
|
|
96
95
|
- README.md
|
|
97
96
|
- Rakefile
|
|
@@ -100,7 +99,7 @@ files:
|
|
|
100
99
|
- lib/command.rb
|
|
101
100
|
- lib/fresh_erd.rb
|
|
102
101
|
- lib/fresh_erd/version.rb
|
|
103
|
-
homepage: https://github.com/muramurasan
|
|
102
|
+
homepage: https://github.com/muramurasan/fresh_erd
|
|
104
103
|
licenses:
|
|
105
104
|
- MIT
|
|
106
105
|
metadata: {}
|