rhino_project_core 0.20.0.beta.112 → 0.20.0.beta.116
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rhino/test_case/controller.rb +7 -4
- 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: dfc27208ed057731ecaf94fc86ab80ae158a5864e2c980e9883ce4d4a77ca922
|
4
|
+
data.tar.gz: dc84a64ba600a8ba16148533498ed1763b9aa03b053cdda7fd8e763c7c5e6ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7acefacfca700b32b6edbef72d0857a0b164bd081db41618151b1eb60e68f2035eff63828a8ba2f4d83e6716712e678a5dec085a051bce17c470a15136e7c5c
|
7
|
+
data.tar.gz: 13f645023e208424ea422e1438a3b18f78219f1e88f6474826f31bf4db0c9991b2abe2e400e9ce4ed60347562630c7e1b399454e9def2881e7dfd4c6e945752b
|
@@ -4,10 +4,7 @@ module Rhino
|
|
4
4
|
module TestCase
|
5
5
|
# rubocop:disable Metrics/ClassLength
|
6
6
|
class ControllerTest < ActionDispatch::IntegrationTest
|
7
|
-
|
8
|
-
DeviseTokenAuth.cookie_attributes[:secure] = false
|
9
|
-
DeviseTokenAuth.cookie_attributes[:domain] = :all
|
10
|
-
end
|
7
|
+
setup :set_cookie_attributes
|
11
8
|
|
12
9
|
protected
|
13
10
|
def users_index(params: {}, headers: {})
|
@@ -136,6 +133,12 @@ module Rhino
|
|
136
133
|
"approved" => true
|
137
134
|
}
|
138
135
|
end
|
136
|
+
|
137
|
+
private
|
138
|
+
def set_cookie_attributes
|
139
|
+
DeviseTokenAuth.cookie_attributes[:secure] = false
|
140
|
+
DeviseTokenAuth.cookie_attributes[:domain] = :all
|
141
|
+
end
|
139
142
|
end
|
140
143
|
# rubocop:enable Metrics/ClassLength
|
141
144
|
end
|
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.20.0.beta.
|
4
|
+
version: 0.20.0.beta.116
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|