rhino_project_core 0.21.0.beta.8 → 0.21.0.beta.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/rhino/model/model_generator.rb +2 -2
- data/lib/rhino/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f83a151c002a790f546ee4a99f6a5da4c856fe3e0d31c1917bcaf885a5e022a
|
4
|
+
data.tar.gz: 48bfd632de1f2f745e0c0a12ffcb4529b88d93d42b7b01befef4812e42895d20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c8c4ef2c32ed9aaae64dd80d9dad0a7783b71e5c8d0a0b3687e47df69931e9e4b736e1db4283cf72b2b97b4669bfcb653548de762e5d3e9254341b82bd19e17
|
7
|
+
data.tar.gz: 1e32892e2b7c520fe84f0cefca3585de708d723ec6948779a3069de6d8e6cc7bd1f6378f201aa78bc982f94972acc0b36c650a0ab84a0aa0a2abf7047cfd356b
|
@@ -48,7 +48,7 @@ module Rhino
|
|
48
48
|
return if global_owner?
|
49
49
|
|
50
50
|
inject_into_file model_file, after: /#{owner_call}/ do
|
51
|
-
"\n rhino_references %i[#{
|
51
|
+
"\n rhino_references %i[#{reference_attributes.map(&:name).join(' ')}]\n"
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
@@ -67,7 +67,7 @@ module Rhino
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def base_owner?
|
70
|
-
@base_owner = options[:base_owner] || Rhino.base_owner.model_name.singular == options[:owner]
|
70
|
+
@base_owner = options[:base_owner] || options[:owner] == "base" || Rhino.base_owner.model_name.singular == options[:owner]
|
71
71
|
end
|
72
72
|
|
73
73
|
def reference_owner?
|
data/lib/rhino/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhino_project_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.0.beta.
|
4
|
+
version: 0.21.0.beta.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Rosevear
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|