rhino_project_core 0.20.0.beta.86 → 0.20.0.beta.87

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: 4b3d71be7179c98d595485a0f75db9673b204ab505de3a252721abad33fd6623
4
- data.tar.gz: 2d1207a1e3609770a85be157d7a16f864d48380a2d6bbc72e90c4187a0fa48a8
3
+ metadata.gz: 2086a5bc5fa1a3845b613f84d271c859e62e42980768ef046f69054a270e6e15
4
+ data.tar.gz: 0b66c2cecfb4590c858fc8f87789c7c73e78b4966171befba075d07991843633
5
5
  SHA512:
6
- metadata.gz: cbd57f3008e58966718d1bc9d2283993c94c8c039b6b472471587672387b4d019192a20a2df42199c4485b4de88f3576ac2660823548e6a2b5cb17a5e2bb2486
7
- data.tar.gz: e9967c9bdbac471568cc5afd74502b4dc1dfb95c3c9eb8f21d4433090001d2b0a6910d9939fb1bb024ec525a80cddc3802e1cc83ef249f2ff83f973eadb733c7
6
+ metadata.gz: 4b1718c518d2cef5ec8278c1ba6b7d8c91386ea75c1bed88d81d75491c8ceba273f88485f0ea39b19cb6fd243159eebdaea6730acd644c0d88541b07dd43d3dd
7
+ data.tar.gz: 4ebb8055e81f059a48c974f99e8188b775c54db919cbd4d64ee666f8a1178233a634a9e5b64a2a93d9bd5dfcca68d1c5eafa408923a99ac37af3e6e9b93f93b7
@@ -45,7 +45,8 @@ module Rhino
45
45
  end
46
46
 
47
47
  def rhino_policy(policy)
48
- self._policy_class = "rhino/#{policy}_policy".classify.safe_constantize || "#{policy}_policy".classify.safe_constantize
48
+ # Look for local policy first, then look in the rhino namespace
49
+ self._policy_class = "#{policy}_policy".classify.safe_constantize || "rhino/#{policy}_policy".classify.safe_constantize
49
50
 
50
51
  raise "Policy #{policy} not found for #{name}" unless _policy_class
51
52
  end
data/lib/rhino/version.rb CHANGED
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.86"
13
+ PRE = "beta.87"
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.20.0.beta.86
4
+ version: 0.20.0.beta.87
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-06-22 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails