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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6154b0bab72d784f820922e7826800781d1933d27e1c9efd0858ee5ca8d089e
4
- data.tar.gz: 16bdf36ea69ce27ff3ae7cda6b533d2900b1bb5ffadd9bee85d6d4cd8c808ede
3
+ metadata.gz: 99d3261e9b6ff7c69ee8f77b0ca82edd254c33f175dc01c999e5ea28f5333e35
4
+ data.tar.gz: 742db15bfc03ae8f9f0c12d3dccfcd8c52c9b0eb34f40eb4e68d338e7ed976ac
5
5
  SHA512:
6
- metadata.gz: ad9d1348dfe549866e5aea3d0543a79c1e911cf636e1905ef62ffc2fac75ed81aca386afb7612f090fd85029ac31ac7a6ac8f463b503485c721de56f396d9e12
7
- data.tar.gz: 70e4a0904779b543abed4a05877bed3b20ce4723bc28f746ae5ea2e8f1327ee5f20bf08397b7ffe46e950da82751687e3fbccf4882b162486c38a95f3f98820a
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
- @global_owner = options[:base_owner] || Rhino.base_owner.model_name.singular == options[:owner]
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
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 21
12
12
  TINY = 0
13
- PRE = "beta.5"
13
+ PRE = "beta.7"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
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.5
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-14 00:00:00.000000000 Z
11
+ date: 2024-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails