activerecord_uml 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 524e8fd8aae920263ae3656b95dfc3212351f833308e464433e8d30721fa3be3
4
- data.tar.gz: ab42d8b193be4a5cfd69757520234e5de0f0c4ee1b2d27653644ce93ee0b1993
3
+ metadata.gz: 2cc6a981ab5f550073e505fb2192a116251d261699b0ebea985fee66644daddf
4
+ data.tar.gz: e20fd64c002bb27f63877bcfb5312033b0f3976d442234f181ea84063169415a
5
5
  SHA512:
6
- metadata.gz: a132b611158a08dc74a7999795289ece5a52e251375e446e8906cf162a92753395a2105e535a387a493c63e2049d373d34183283788b28c85c37de6abf77ea90
7
- data.tar.gz: 32f612150542eba6e8de91ce0b95fe961be3dc6f955322d4fabd96d2fd724790b386fc0fe3486789d1eae8c2dcb39c1290d2ccd22251ea6a6c569a874efc436d
6
+ metadata.gz: 92e36b86b5fa17bf477d1f42f14d003e886fc2c9690e81d5131f3dafdc0a0e4c6ddd93c975ce23087af6ef5567e3f8267e889d57220f8def355392a566f9e446
7
+ data.tar.gz: 48a54fdf7c0ba6731ed425faf868c2eddc44a1406bf305d58eabd00cebcf5bd4ef66acc1ebbfb875e15a540c7171f3fff3c2aa92ad8a8a739ebb4a372150b951
@@ -31,7 +31,7 @@ EOF
31
31
  puts html_template.result_with_hash class_diagrams: relation_only ? [] : classes.map { |c| c.class_diagram },
32
32
  relations: classes.map { |c| c.relations }
33
33
  .flatten
34
- .select { |r| r.belongs_to?(ARGV) }
34
+ .select { |r| relation_only ? r.belongs_to?(ARGV) : true }
35
35
  .map(&:to_s)
36
36
  .uniq
37
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiverecordUml
4
- VERSION = "0.12.0"
4
+ VERSION = "0.13.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_uml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - shigeru.nakajima
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-30 00:00:00.000000000 Z
11
+ date: 2021-08-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Generate UML class diagram for Mermaid.js from ActiveRecord instances
14
14
  by Rails runner.