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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a602ae66bf866594bed0da412ce0b73aaedad9dcfb8c78c67aebc129527235b4
4
- data.tar.gz: 201a08345c5d3f9e6144f15fbd2dc8dabc764e4e7d90d65e1374af4de7fd72ff
3
+ metadata.gz: 35929a0b09b8ffc5c7e7e4558f25c7aafb39b6b3a3e8d497026831ce433b9df1
4
+ data.tar.gz: 06b673dd9c96957c657092411880db3bc14d2a558450a0d1101dd13213bb8806
5
5
  SHA512:
6
- metadata.gz: '0483e5d0b77f82e005237c2e5df9bf8860f10facacb4114cfad54f82bb23a09c1692adc448ec7b9ed24527e67dbf89ceb6d410e563d8a337c2c3c28fb7336741'
7
- data.tar.gz: bfb74077067b25be08d4f56ddf0c0d8363ce899fa70b8d01de9bebe39b837d4e385004276445df01ed9fdd8e96bd1f5b728fb2142ad6a14b8f996559f65d7357
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
- 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.117"
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.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-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