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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a602ae66bf866594bed0da412ce0b73aaedad9dcfb8c78c67aebc129527235b4
4
- data.tar.gz: 201a08345c5d3f9e6144f15fbd2dc8dabc764e4e7d90d65e1374af4de7fd72ff
3
+ metadata.gz: dfc27208ed057731ecaf94fc86ab80ae158a5864e2c980e9883ce4d4a77ca922
4
+ data.tar.gz: dc84a64ba600a8ba16148533498ed1763b9aa03b053cdda7fd8e763c7c5e6ac0
5
5
  SHA512:
6
- metadata.gz: '0483e5d0b77f82e005237c2e5df9bf8860f10facacb4114cfad54f82bb23a09c1692adc448ec7b9ed24527e67dbf89ceb6d410e563d8a337c2c3c28fb7336741'
7
- data.tar.gz: bfb74077067b25be08d4f56ddf0c0d8363ce899fa70b8d01de9bebe39b837d4e385004276445df01ed9fdd8e96bd1f5b728fb2142ad6a14b8f996559f65d7357
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.112"
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.112
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-05 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