rhino_project_core 0.20.0.beta.101 → 0.20.0.beta.103

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: 2ad207c70d958d75348b9f0a989112a11570b04a53f7a50d8b74406f324bc863
4
- data.tar.gz: 1333b269c16c45c57f0140b845cadbcb336cd65d7f867b13abf6133c9c531959
3
+ metadata.gz: b5c69916ef6d9f1a619c66d8c3cc55a3fd1fdcaab8b1f8646321d5b46b28472e
4
+ data.tar.gz: 5ff8732fab28678820a870bedd4801d1e799e4183544295e9912f258fae29685
5
5
  SHA512:
6
- metadata.gz: 675062cb904f10de57b960ee43f597ef25e1fdadf322942529a3890aa7901fa2db29267e9802d1ebe2781ea91d956c75dff7c5c5df91feb094cce66b588a9f2a
7
- data.tar.gz: f97d4597e8cd6ab3c21d1eba2703eb57ee48ed2552a9049d2f1f5de3ca2f62776f30ce38cdf00fa5656ea9f698cc452cb93c9c7075437be0bde27575d30020b1
6
+ metadata.gz: 593eb16029186843a38287c06cbb517fec17f0b8e92fb43bea493b1fde0f764f8aa75cef8c3c310c8c2d68ca1627cd85659e6b444c2003a26de90f06a2d9cc6d
7
+ data.tar.gz: 89b49b438bc46f97c47469808b9f75aadb3f1c5ef1ff06380ef9ead0ebd85fa604e6e28f89a4df388e080eed6284ffb76065fd504314d9ea189dec2409772213
@@ -12,7 +12,7 @@ module Rhino
12
12
  end
13
13
 
14
14
  def ransackable_associations(_auth_object = nil)
15
- authorizable_ransackable_associations & references
15
+ authorizable_ransackable_associations & references.map(&:to_s)
16
16
  end
17
17
 
18
18
  def ransackable_filters(auth_object = nil)
@@ -182,8 +182,8 @@ module Rhino
182
182
  all_properties.include?(property)
183
183
  end
184
184
 
185
- def describe_property
186
- raise NotImplementedError, '#describe_property is not implemented'
185
+ def describe_property(property)
186
+ raise NotImplementedError, "#describe_property is not implemented for #{property}"
187
187
  end
188
188
  end
189
189
  # rubocop:enable Style/RedundantSelf
@@ -20,7 +20,7 @@ module Rhino
20
20
 
21
21
  def sign_out_with_empty_auth_cookie
22
22
  params = {}
23
- headers = { "Cookie" => "auth_cookie=;" }
23
+ headers = { "Cookie" => "#{DeviseTokenAuth.cookie_name}=;" }
24
24
  delete "/api/auth/sign_out", params:, headers:
25
25
  end
26
26
 
@@ -112,7 +112,7 @@ module Rhino
112
112
  end
113
113
 
114
114
  def empty_auth_cookie_header
115
- { "Cookie" => "auth_cookie=;" }
115
+ { "Cookie" => "#{DeviseTokenAuth.cookie_name}=;" }
116
116
  end
117
117
 
118
118
  def current_access_token
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.101"
13
+ PRE = "beta.103"
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.101
4
+ version: 0.20.0.beta.103
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-07-13 00:00:00.000000000 Z
11
+ date: 2024-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails