rhino_project_core 0.20.0.beta.110 → 0.20.0.beta.116

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: 988ee02d01f4524e00b50094ab3f1e1af124c21e8df1c39610287e33355039cf
4
- data.tar.gz: 10acb8801668c25dd392981fb6eae352b362430f97c742bfe2b1c3551b89ebb7
3
+ metadata.gz: dfc27208ed057731ecaf94fc86ab80ae158a5864e2c980e9883ce4d4a77ca922
4
+ data.tar.gz: dc84a64ba600a8ba16148533498ed1763b9aa03b053cdda7fd8e763c7c5e6ac0
5
5
  SHA512:
6
- metadata.gz: 996ddf0612346f0cee29dba2ef48baa60a55215c4e9efc68a3e5c30e4a11e2acaf921ee2f7529a1b8abb606c2927ffe50f9ad75012483e2b0b0c85b7345973b3
7
- data.tar.gz: 7bc00ec50415e0a49bbaf7556b2582bc98a48f51ee6d5b6927daa2115cb9db867b821b6dff7219a97c1adca07eae7538539e349292d2cb39e834219a7fa8604e
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
- def setup
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
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.110"
13
+ PRE = "beta.116"
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.110
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-03 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails