rhino_project_core 0.21.0.beta.5 → 0.21.0.beta.7
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 +3 -3
- 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: 99d3261e9b6ff7c69ee8f77b0ca82edd254c33f175dc01c999e5ea28f5333e35
|
4
|
+
data.tar.gz: 742db15bfc03ae8f9f0c12d3dccfcd8c52c9b0eb34f40eb4e68d338e7ed976ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 213587601fc53d9fa008de309360fc7f46a132a3731f2ffb2c59c79d5db104966fc9403de725acf562edd494d5ec537c41372bb6cef4eaeca09f95c848dcc2fb
|
7
|
+
data.tar.gz: a7b335be888c6eddf81f19e77e8178eb7b30e1eb96ebfb17ffec745cefb5a36dc80aebbe2e647a51390000a1d05149037fec5bc30e2f30df968ab2afb752310f
|
@@ -63,15 +63,15 @@ module Rhino
|
|
63
63
|
|
64
64
|
private
|
65
65
|
def global_owner?
|
66
|
-
@global_owner = options[:global_owner]
|
66
|
+
@global_owner = options[:global_owner] || options[:owner] == "global"
|
67
67
|
end
|
68
68
|
|
69
69
|
def base_owner?
|
70
|
-
@
|
70
|
+
@base_owner = options[:base_owner] || Rhino.base_owner.model_name.singular == options[:owner]
|
71
71
|
end
|
72
72
|
|
73
73
|
def reference_owner?
|
74
|
-
@reference_owner = options[:owner].present? && !base_owner?
|
74
|
+
@reference_owner = options[:owner].present? && !base_owner? && !global_owner?
|
75
75
|
end
|
76
76
|
|
77
77
|
def owner_name
|
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.7
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|