rhino_project_core 0.20.0.beta.112 → 0.20.0.beta.117
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: 35929a0b09b8ffc5c7e7e4558f25c7aafb39b6b3a3e8d497026831ce433b9df1
|
4
|
+
data.tar.gz: 06b673dd9c96957c657092411880db3bc14d2a558450a0d1101dd13213bb8806
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99db45ac797bf2012358f3ee9dfec4568b5772cb5fdcb9c4841a33330f06fbc332ca248ed64937efc656a04a2f8686db3349f6cfbcc27340c6b5578891aff53b
|
7
|
+
data.tar.gz: c7b577f3ac3dfeb6c095cbdb4f50f0275d36fc79e9dc7d7960cb5c210162ab5f233101679a9da8a13c905fc7039465f9d28a8aed9f8fa41f38a51c2a9c925cab
|
@@ -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.117
|
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
|