devise-api 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b59405402be8f8b9db001a874ea536a0ecf10d0fbf7acf8205b921d9fcc9b6b9
4
- data.tar.gz: 9bb3114fcbb15fe38af1e46bf009508991f2ac32fccdff7da6626f33c1d11e15
3
+ metadata.gz: dbedeb52a2b5bb590f6d51d4ecb3b2c9e388b08d891b2beaebbdd51bb66f5bb9
4
+ data.tar.gz: 5cff467fc2cc283761df6f76bacb888fe6fa2db51563fc371a5a06571e7a926a
5
5
  SHA512:
6
- metadata.gz: d797c3f5a67bb5e2f0e0293d828b617b3b55e151d0648dce25739f1b9e7a0594da1c24ba605c677b6806df8ed1dc6d3762548ca91dbd2afe3280462df4d19d8b
7
- data.tar.gz: d1cff639ba814071d5b3e5e5e3f3680f363fb25514a264e98c55bcf077bfe1cc1c4ad3b85d7f8974dc13975f0d233c57d04533efcca5856763c73e93380cac6c
6
+ metadata.gz: a1bcc2920807419c4e912083b1d4e0769ccf2dbb007b6955c2d7ad68d924c6b4743cc8466956ced069a452e13c34be64a84a2cbfbd9819eb31486c61c258e6cf
7
+ data.tar.gz: c1778feed8b94d4cfb77d22f223c6197496298ba745f939608cb39457615dcdca227dd306d12053e205389d545d4c71a9078273da431550d43611da4c272e84c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.1] - 2026-08-25
4
+
5
+ ### Changed
6
+ - Upgraded the development/test dependency tree to current stable versions (Rails 8.1, devise 5.0, puma 7, sqlite3 2, rspec-rails 8, rubocop 1.90), resolving the open Dependabot alerts; runtime gemspec constraints for host apps are unchanged (Ruby >= 2.7, Rails >= 6.0) (#58)
7
+ - CI now tests against Ruby 3.2/3.3/3.4/4.0 (Rails 8 requires Ruby >= 3.2)
8
+
3
9
  ## [0.3.0] - 2026-08-25
4
10
 
5
11
  ### Added
data/Gemfile CHANGED
@@ -25,10 +25,10 @@ gem 'pry', '~> 0.14.1'
25
25
  gem 'sprockets-rails'
26
26
 
27
27
  # Use sqlite3 as the database for Active Record
28
- gem 'sqlite3', '~> 1.4'
28
+ gem 'sqlite3', '~> 2.0'
29
29
 
30
30
  # Use the Puma web server [https://github.com/puma/puma]
31
- gem 'puma', '~> 5.0'
31
+ gem 'puma', '~> 7.0', '>= 7.2.1'
32
32
 
33
33
  # A library for setting up Ruby objects as test data [https://github.com/thoughtbot/factory_bot]
34
34
  gem 'factory_bot', '~> 6.2', '>= 6.2.1'
@@ -40,7 +40,7 @@ gem 'faker', '~> 3.1'
40
40
  gem 'database_cleaner', '~> 2.0', '>= 2.0.1'
41
41
 
42
42
  # RSpec for Rails 5+ [https://github.com/rspec/rspec-rails]
43
- gem 'rspec-rails', '~> 6.0', '>= 6.0.1'
43
+ gem 'rspec-rails', '~> 8.0'
44
44
 
45
45
  # RSpec runner and formatters [https://github.com/rspec/rspec-core]
46
46
  gem 'rspec-core'
@@ -50,3 +50,6 @@ gem 'rspec-support'
50
50
 
51
51
  # Code coverage analysis tool for Ruby [https://github.com/simplecov-ruby/simplecov]
52
52
  gem 'simplecov', '~> 0.22', require: false
53
+
54
+ # OpenStruct implementation, no longer a default gem since Ruby 3.5 [https://github.com/ruby/ostruct]
55
+ gem 'ostruct'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise-api (0.3.0)
4
+ devise-api (0.3.1)
5
5
  devise (>= 4.7.2)
6
6
  dry-configurable (~> 1.0, >= 1.0.1)
7
7
  dry-initializer (>= 3.1.1)
@@ -12,256 +12,318 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- actioncable (7.0.4)
16
- actionpack (= 7.0.4)
17
- activesupport (= 7.0.4)
15
+ action_text-trix (2.1.19)
16
+ railties
17
+ actioncable (8.1.3.1)
18
+ actionpack (= 8.1.3.1)
19
+ activesupport (= 8.1.3.1)
18
20
  nio4r (~> 2.0)
19
21
  websocket-driver (>= 0.6.1)
20
- actionmailbox (7.0.4)
21
- actionpack (= 7.0.4)
22
- activejob (= 7.0.4)
23
- activerecord (= 7.0.4)
24
- activestorage (= 7.0.4)
25
- activesupport (= 7.0.4)
26
- mail (>= 2.7.1)
27
- net-imap
28
- net-pop
29
- net-smtp
30
- actionmailer (7.0.4)
31
- actionpack (= 7.0.4)
32
- actionview (= 7.0.4)
33
- activejob (= 7.0.4)
34
- activesupport (= 7.0.4)
35
- mail (~> 2.5, >= 2.5.4)
36
- net-imap
37
- net-pop
38
- net-smtp
39
- rails-dom-testing (~> 2.0)
40
- actionpack (7.0.4)
41
- actionview (= 7.0.4)
42
- activesupport (= 7.0.4)
43
- rack (~> 2.0, >= 2.2.0)
22
+ zeitwerk (~> 2.6)
23
+ actionmailbox (8.1.3.1)
24
+ actionpack (= 8.1.3.1)
25
+ activejob (= 8.1.3.1)
26
+ activerecord (= 8.1.3.1)
27
+ activestorage (= 8.1.3.1)
28
+ activesupport (= 8.1.3.1)
29
+ mail (>= 2.8.0)
30
+ actionmailer (8.1.3.1)
31
+ actionpack (= 8.1.3.1)
32
+ actionview (= 8.1.3.1)
33
+ activejob (= 8.1.3.1)
34
+ activesupport (= 8.1.3.1)
35
+ mail (>= 2.8.0)
36
+ rails-dom-testing (~> 2.2)
37
+ actionpack (8.1.3.1)
38
+ actionview (= 8.1.3.1)
39
+ activesupport (= 8.1.3.1)
40
+ nokogiri (>= 1.8.5)
41
+ rack (>= 2.2.4)
42
+ rack-session (>= 1.0.1)
44
43
  rack-test (>= 0.6.3)
45
- rails-dom-testing (~> 2.0)
46
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
47
- actiontext (7.0.4)
48
- actionpack (= 7.0.4)
49
- activerecord (= 7.0.4)
50
- activestorage (= 7.0.4)
51
- activesupport (= 7.0.4)
44
+ rails-dom-testing (~> 2.2)
45
+ rails-html-sanitizer (~> 1.6)
46
+ useragent (~> 0.16)
47
+ actiontext (8.1.3.1)
48
+ action_text-trix (~> 2.1.15)
49
+ actionpack (= 8.1.3.1)
50
+ activerecord (= 8.1.3.1)
51
+ activestorage (= 8.1.3.1)
52
+ activesupport (= 8.1.3.1)
52
53
  globalid (>= 0.6.0)
53
54
  nokogiri (>= 1.8.5)
54
- actionview (7.0.4)
55
- activesupport (= 7.0.4)
55
+ actionview (8.1.3.1)
56
+ activesupport (= 8.1.3.1)
56
57
  builder (~> 3.1)
57
- erubi (~> 1.4)
58
- rails-dom-testing (~> 2.0)
59
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
60
- activejob (7.0.4)
61
- activesupport (= 7.0.4)
58
+ erubi (~> 1.11)
59
+ rails-dom-testing (~> 2.2)
60
+ rails-html-sanitizer (~> 1.6)
61
+ activejob (8.1.3.1)
62
+ activesupport (= 8.1.3.1)
62
63
  globalid (>= 0.3.6)
63
- activemodel (7.0.4)
64
- activesupport (= 7.0.4)
65
- activerecord (7.0.4)
66
- activemodel (= 7.0.4)
67
- activesupport (= 7.0.4)
68
- activestorage (7.0.4)
69
- actionpack (= 7.0.4)
70
- activejob (= 7.0.4)
71
- activerecord (= 7.0.4)
72
- activesupport (= 7.0.4)
64
+ activemodel (8.1.3.1)
65
+ activesupport (= 8.1.3.1)
66
+ activerecord (8.1.3.1)
67
+ activemodel (= 8.1.3.1)
68
+ activesupport (= 8.1.3.1)
69
+ timeout (>= 0.4.0)
70
+ activestorage (8.1.3.1)
71
+ actionpack (= 8.1.3.1)
72
+ activejob (= 8.1.3.1)
73
+ activerecord (= 8.1.3.1)
74
+ activesupport (= 8.1.3.1)
73
75
  marcel (~> 1.0)
74
- mini_mime (>= 1.1.0)
75
- activesupport (7.0.4)
76
- concurrent-ruby (~> 1.0, >= 1.0.2)
76
+ activesupport (8.1.3.1)
77
+ base64
78
+ bigdecimal
79
+ concurrent-ruby (~> 1.0, >= 1.3.1)
80
+ connection_pool (>= 2.2.5)
81
+ drb
77
82
  i18n (>= 1.6, < 2)
83
+ json
84
+ logger (>= 1.4.2)
78
85
  minitest (>= 5.1)
79
- tzinfo (~> 2.0)
80
- ast (2.4.2)
86
+ securerandom (>= 0.3)
87
+ tzinfo (~> 2.0, >= 2.0.5)
88
+ uri (>= 0.13.1)
89
+ ast (2.4.3)
81
90
  awesome_print (1.9.2)
82
- bcrypt (3.1.18)
83
- builder (3.2.4)
91
+ base64 (0.3.0)
92
+ bcrypt (3.1.22)
93
+ bigdecimal (4.1.2)
94
+ builder (3.3.0)
84
95
  coderay (1.1.3)
85
- concurrent-ruby (1.1.10)
86
- crass (1.0.6)
87
- database_cleaner (2.0.1)
88
- database_cleaner-active_record (~> 2.0.0)
89
- database_cleaner-active_record (2.0.1)
96
+ concurrent-ruby (1.3.8)
97
+ connection_pool (3.0.2)
98
+ crass (1.0.7)
99
+ database_cleaner (2.1.0)
100
+ database_cleaner-active_record (>= 2, < 3)
101
+ database_cleaner-active_record (2.2.2)
90
102
  activerecord (>= 5.a)
91
- database_cleaner-core (~> 2.0.0)
92
- database_cleaner-core (2.0.1)
93
- date (3.3.3)
94
- devise (4.8.1)
103
+ database_cleaner-core (~> 2.0)
104
+ database_cleaner-core (2.1.0)
105
+ date (3.5.1)
106
+ devise (5.0.4)
95
107
  bcrypt (~> 3.0)
96
108
  orm_adapter (~> 0.1)
97
- railties (>= 4.1.0)
109
+ railties (>= 7.0)
98
110
  responders
99
111
  warden (~> 1.2.3)
100
- diff-lcs (1.5.0)
112
+ diff-lcs (1.6.2)
101
113
  docile (1.4.1)
102
- dry-configurable (1.0.1)
103
- dry-core (~> 1.0, < 2)
114
+ drb (2.2.3)
115
+ dry-configurable (1.3.0)
116
+ dry-core (~> 1.1)
104
117
  zeitwerk (~> 2.6)
105
- dry-core (1.0.0)
118
+ dry-core (1.2.0)
106
119
  concurrent-ruby (~> 1.0)
120
+ logger
107
121
  zeitwerk (~> 2.6)
108
- dry-inflector (1.0.0)
109
- dry-initializer (3.1.1)
110
- dry-logic (1.5.0)
122
+ dry-inflector (1.3.1)
123
+ dry-initializer (3.2.0)
124
+ dry-logic (1.6.0)
125
+ bigdecimal
111
126
  concurrent-ruby (~> 1.0)
112
- dry-core (~> 1.0, < 2)
127
+ dry-core (~> 1.1)
113
128
  zeitwerk (~> 2.6)
114
- dry-monads (1.6.0)
129
+ dry-monads (1.10.0)
115
130
  concurrent-ruby (~> 1.0)
116
- dry-core (~> 1.0, < 2)
131
+ dry-core (~> 1.1)
117
132
  zeitwerk (~> 2.6)
118
- dry-types (1.7.0)
133
+ dry-types (1.9.1)
134
+ bigdecimal (>= 3.0)
119
135
  concurrent-ruby (~> 1.0)
120
- dry-core (~> 1.0, < 2)
121
- dry-inflector (~> 1.0, < 2)
122
- dry-logic (>= 1.4, < 2)
136
+ dry-core (~> 1.0)
137
+ dry-inflector (~> 1.0)
138
+ dry-logic (~> 1.4)
123
139
  zeitwerk (~> 2.6)
124
- erubi (1.12.0)
125
- factory_bot (6.2.1)
126
- activesupport (>= 5.0.0)
127
- faker (3.1.0)
140
+ erb (6.0.7)
141
+ erubi (1.13.1)
142
+ factory_bot (6.6.0)
143
+ activesupport (>= 6.1.0)
144
+ faker (3.8.0)
128
145
  i18n (>= 1.8.11, < 2)
129
- globalid (1.0.0)
130
- activesupport (>= 5.0)
131
- i18n (1.12.0)
146
+ globalid (1.4.0)
147
+ activesupport (>= 6.1)
148
+ i18n (1.15.2)
132
149
  concurrent-ruby (~> 1.0)
133
- json (2.6.3)
134
- loofah (2.19.1)
150
+ io-console (0.9.2)
151
+ irb (1.18.0)
152
+ pp (>= 0.6.0)
153
+ prism (>= 1.3.0)
154
+ rdoc (>= 4.0.0)
155
+ reline (>= 0.4.2)
156
+ json (2.21.2)
157
+ language_server-protocol (3.17.0.6)
158
+ lint_roller (1.1.0)
159
+ logger (1.7.0)
160
+ loofah (2.25.2)
135
161
  crass (~> 1.0.2)
136
- nokogiri (>= 1.5.9)
137
- mail (2.8.0)
162
+ nokogiri (>= 1.12.0)
163
+ mail (2.9.1)
164
+ logger
138
165
  mini_mime (>= 0.1.1)
139
166
  net-imap
140
167
  net-pop
141
168
  net-smtp
142
- marcel (1.0.2)
143
- method_source (1.0.0)
144
- mini_mime (1.1.2)
145
- mini_portile2 (2.8.1)
146
- minitest (5.17.0)
147
- net-imap (0.3.4)
169
+ marcel (1.2.1)
170
+ method_source (1.1.0)
171
+ mini_mime (1.1.5)
172
+ minitest (6.0.6)
173
+ drb (~> 2.0)
174
+ prism (~> 1.5)
175
+ net-imap (0.6.6)
148
176
  date
149
177
  net-protocol
150
178
  net-pop (0.1.2)
151
179
  net-protocol
152
- net-protocol (0.2.1)
180
+ net-protocol (0.2.2)
153
181
  timeout
154
- net-smtp (0.3.3)
182
+ net-smtp (0.5.1)
155
183
  net-protocol
156
- nio4r (2.5.8)
157
- nokogiri (1.13.10)
158
- mini_portile2 (~> 2.8.0)
184
+ nio4r (2.7.5)
185
+ nokogiri (1.19.4-arm64-darwin)
159
186
  racc (~> 1.4)
160
187
  orm_adapter (0.5.0)
161
- parallel (1.22.1)
162
- parser (3.2.0.0)
188
+ ostruct (0.6.3)
189
+ parallel (1.28.0)
190
+ parser (3.3.12.0)
163
191
  ast (~> 2.4.1)
192
+ racc
193
+ pp (0.6.4)
194
+ prettyprint
195
+ prettyprint (0.2.0)
196
+ prism (1.9.0)
164
197
  pry (0.14.2)
165
198
  coderay (~> 1.1)
166
199
  method_source (~> 1.0)
167
- puma (5.6.5)
200
+ puma (7.2.1)
168
201
  nio4r (~> 2.0)
169
- racc (1.6.2)
170
- rack (2.2.5)
171
- rack-test (2.0.2)
202
+ racc (1.8.1)
203
+ rack (3.2.7)
204
+ rack-session (2.1.2)
205
+ base64 (>= 0.1.0)
206
+ rack (>= 3.0.0)
207
+ rack-test (2.2.0)
172
208
  rack (>= 1.3)
173
- rails (7.0.4)
174
- actioncable (= 7.0.4)
175
- actionmailbox (= 7.0.4)
176
- actionmailer (= 7.0.4)
177
- actionpack (= 7.0.4)
178
- actiontext (= 7.0.4)
179
- actionview (= 7.0.4)
180
- activejob (= 7.0.4)
181
- activemodel (= 7.0.4)
182
- activerecord (= 7.0.4)
183
- activestorage (= 7.0.4)
184
- activesupport (= 7.0.4)
209
+ rackup (2.3.1)
210
+ rack (>= 3)
211
+ rails (8.1.3.1)
212
+ actioncable (= 8.1.3.1)
213
+ actionmailbox (= 8.1.3.1)
214
+ actionmailer (= 8.1.3.1)
215
+ actionpack (= 8.1.3.1)
216
+ actiontext (= 8.1.3.1)
217
+ actionview (= 8.1.3.1)
218
+ activejob (= 8.1.3.1)
219
+ activemodel (= 8.1.3.1)
220
+ activerecord (= 8.1.3.1)
221
+ activestorage (= 8.1.3.1)
222
+ activesupport (= 8.1.3.1)
185
223
  bundler (>= 1.15.0)
186
- railties (= 7.0.4)
187
- rails-dom-testing (2.0.3)
188
- activesupport (>= 4.2.0)
224
+ railties (= 8.1.3.1)
225
+ rails-dom-testing (2.3.0)
226
+ activesupport (>= 5.0.0)
227
+ minitest
189
228
  nokogiri (>= 1.6)
190
- rails-html-sanitizer (1.4.4)
191
- loofah (~> 2.19, >= 2.19.1)
192
- railties (7.0.4)
193
- actionpack (= 7.0.4)
194
- activesupport (= 7.0.4)
195
- method_source
229
+ rails-html-sanitizer (1.7.1)
230
+ loofah (~> 2.25, >= 2.25.2)
231
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
232
+ railties (8.1.3.1)
233
+ actionpack (= 8.1.3.1)
234
+ activesupport (= 8.1.3.1)
235
+ irb (~> 1.13)
236
+ rackup (>= 1.0.0)
196
237
  rake (>= 12.2)
197
- thor (~> 1.0)
198
- zeitwerk (~> 2.5)
238
+ thor (~> 1.0, >= 1.2.2)
239
+ tsort (>= 0.2)
240
+ zeitwerk (~> 2.6)
199
241
  rainbow (3.1.1)
200
- rake (13.0.6)
201
- regexp_parser (2.6.1)
202
- responders (3.0.1)
203
- actionpack (>= 5.0)
204
- railties (>= 5.0)
205
- rexml (3.2.5)
206
- rspec (3.12.0)
207
- rspec-core (~> 3.12.0)
208
- rspec-expectations (~> 3.12.0)
209
- rspec-mocks (~> 3.12.0)
210
- rspec-core (3.12.0)
211
- rspec-support (~> 3.12.0)
212
- rspec-expectations (3.12.2)
242
+ rake (13.4.2)
243
+ rbs (4.1.3)
244
+ logger
245
+ prism (>= 1.6.0)
246
+ tsort
247
+ rdoc (8.0.0)
248
+ erb
249
+ prism (>= 1.6.0)
250
+ rbs (>= 4.0.0)
251
+ tsort
252
+ regexp_parser (2.12.0)
253
+ reline (0.7.0)
254
+ io-console (~> 0.5)
255
+ responders (3.2.0)
256
+ actionpack (>= 7.0)
257
+ railties (>= 7.0)
258
+ rspec (3.13.2)
259
+ rspec-core (~> 3.13.0)
260
+ rspec-expectations (~> 3.13.0)
261
+ rspec-mocks (~> 3.13.0)
262
+ rspec-core (3.13.6)
263
+ rspec-support (~> 3.13.0)
264
+ rspec-expectations (3.13.5)
213
265
  diff-lcs (>= 1.2.0, < 2.0)
214
- rspec-support (~> 3.12.0)
215
- rspec-mocks (3.12.2)
266
+ rspec-support (~> 3.13.0)
267
+ rspec-mocks (3.13.8)
216
268
  diff-lcs (>= 1.2.0, < 2.0)
217
- rspec-support (~> 3.12.0)
218
- rspec-rails (6.0.1)
219
- actionpack (>= 6.1)
220
- activesupport (>= 6.1)
221
- railties (>= 6.1)
222
- rspec-core (~> 3.11)
223
- rspec-expectations (~> 3.11)
224
- rspec-mocks (~> 3.11)
225
- rspec-support (~> 3.11)
226
- rspec-support (3.12.0)
227
- rubocop (1.42.0)
228
- json (~> 2.3)
229
- parallel (~> 1.10)
230
- parser (>= 3.1.2.1)
269
+ rspec-support (~> 3.13.0)
270
+ rspec-rails (8.0.4)
271
+ actionpack (>= 7.2)
272
+ activesupport (>= 7.2)
273
+ railties (>= 7.2)
274
+ rspec-core (>= 3.13.0, < 5.0.0)
275
+ rspec-expectations (>= 3.13.0, < 5.0.0)
276
+ rspec-mocks (>= 3.13.0, < 5.0.0)
277
+ rspec-support (>= 3.13.0, < 5.0.0)
278
+ rspec-support (3.13.7)
279
+ rubocop (1.90.0)
280
+ json (>= 2.3)
281
+ language_server-protocol (~> 3.17.0.2)
282
+ lint_roller (~> 1.1.0)
283
+ parallel (>= 1.10)
284
+ parser (>= 3.3.0.2)
231
285
  rainbow (>= 2.2.2, < 4.0)
232
- regexp_parser (>= 1.8, < 3.0)
233
- rexml (>= 3.2.5, < 4.0)
234
- rubocop-ast (>= 1.24.1, < 2.0)
286
+ regexp_parser (>= 2.9.3, < 3.0)
287
+ rubocop-ast (>= 1.49.0, < 2.0)
235
288
  ruby-progressbar (~> 1.7)
236
- unicode-display_width (>= 1.4.0, < 3.0)
237
- rubocop-ast (1.24.1)
238
- parser (>= 3.1.1.0)
239
- ruby-progressbar (1.11.0)
289
+ unicode-display_width (>= 2.4.0, < 4.0)
290
+ rubocop-ast (1.50.0)
291
+ parser (>= 3.3.7.2)
292
+ prism (~> 1.7)
293
+ ruby-progressbar (1.13.0)
294
+ securerandom (0.4.1)
240
295
  simplecov (0.22.0)
241
296
  docile (~> 1.1)
242
297
  simplecov-html (~> 0.11)
243
298
  simplecov_json_formatter (~> 0.1)
244
299
  simplecov-html (0.13.2)
245
300
  simplecov_json_formatter (0.1.4)
246
- sprockets (4.2.0)
247
- concurrent-ruby (~> 1.0)
301
+ sprockets (4.4.1)
302
+ concurrent-ruby (~> 1.1)
303
+ logger
248
304
  rack (>= 2.2.4, < 4)
249
- sprockets-rails (3.4.2)
250
- actionpack (>= 5.2)
251
- activesupport (>= 5.2)
305
+ sprockets-rails (3.5.2)
306
+ actionpack (>= 6.1)
307
+ activesupport (>= 6.1)
252
308
  sprockets (>= 3.0.0)
253
- sqlite3 (1.6.0-arm64-darwin)
254
- thor (1.2.1)
255
- timeout (0.3.1)
256
- tzinfo (2.0.5)
309
+ sqlite3 (2.9.6-arm64-darwin)
310
+ thor (1.5.0)
311
+ timeout (0.6.1)
312
+ tsort (0.2.0)
313
+ tzinfo (2.0.6)
257
314
  concurrent-ruby (~> 1.0)
258
- unicode-display_width (2.4.2)
315
+ unicode-display_width (3.2.0)
316
+ unicode-emoji (~> 4.1)
317
+ unicode-emoji (4.2.0)
318
+ uri (1.1.1)
319
+ useragent (0.16.11)
259
320
  warden (1.2.9)
260
321
  rack (>= 2.0.9)
261
- websocket-driver (0.7.5)
322
+ websocket-driver (0.8.2)
323
+ base64
262
324
  websocket-extensions (>= 0.1.0)
263
325
  websocket-extensions (0.1.5)
264
- zeitwerk (2.6.6)
326
+ zeitwerk (2.8.3)
265
327
 
266
328
  PLATFORMS
267
329
  arm64-darwin-21
@@ -275,17 +337,18 @@ DEPENDENCIES
275
337
  devise-api!
276
338
  factory_bot (~> 6.2, >= 6.2.1)
277
339
  faker (~> 3.1)
340
+ ostruct
278
341
  pry (~> 0.14.1)
279
- puma (~> 5.0)
342
+ puma (~> 7.0, >= 7.2.1)
280
343
  rake (~> 13.0)
281
344
  rspec (~> 3.0)
282
345
  rspec-core
283
- rspec-rails (~> 6.0, >= 6.0.1)
346
+ rspec-rails (~> 8.0)
284
347
  rspec-support
285
348
  rubocop (~> 1.21)
286
349
  simplecov (~> 0.22)
287
350
  sprockets-rails
288
- sqlite3 (~> 1.4)
351
+ sqlite3 (~> 2.0)
289
352
 
290
353
  BUNDLED WITH
291
354
  2.4.3
data/docs/architecture.md CHANGED
@@ -135,7 +135,7 @@ lib/devise/api/
135
135
  generators/install_generator.rb # rails g devise_api:install
136
136
  generators/templates/migration.rb.erb
137
137
  config/locales/en.yml # all user-facing strings (devise.api.error_response.*)
138
- spec/dummy/ # full Rails 7 host app used by the test suite
138
+ spec/dummy/ # full Rails 8 host app used by the test suite
139
139
  ```
140
140
 
141
141
  ## Dependency notes
data/docs/development.md CHANGED
@@ -35,7 +35,7 @@ Style highlights (`.rubocop.yml`): target Ruby 2.7, single quotes, 120-char line
35
35
 
36
36
  ## CI
37
37
 
38
- Two workflows on every push, matrix over Ruby 2.7.7 / 3.0.5 / 3.1.3 / 3.2.0:
38
+ Two workflows on every push, matrix over Ruby 3.2 / 3.3 / 3.4 / 4.0 (the development `Gemfile.lock` resolves to Rails 8.x, which needs Ruby >= 3.2; the gemspec still allows Ruby >= 2.7 for host apps):
39
39
 
40
40
  - `test.yml` — `bundle install` + `bundle exec rake rspec`
41
41
  - `rubocop.yml` — `bundle exec rubocop --config .rubocop.yml --parallel`
data/docs/testing.md CHANGED
@@ -10,7 +10,7 @@ bundle exec rspec spec/requests/tokens_spec.rb:95 # one example/context by
10
10
  bundle exec rspec --only-failures # uses .rspec_status
11
11
  ```
12
12
 
13
- CI (`.github/workflows/test.yml`, `rubocop.yml`) runs on push across Ruby 2.7 / 3.0 / 3.1 / 3.2.
13
+ CI (`.github/workflows/test.yml`, `rubocop.yml`) runs on push across Ruby 3.2 / 3.3 / 3.4 / 4.0.
14
14
 
15
15
  ## Coverage
16
16
 
@@ -23,7 +23,7 @@ enforced. `lib/devise/api/version.rb` is filtered because the gemspec loads it b
23
23
 
24
24
  ## How the suite is wired
25
25
 
26
- - `spec/spec_helper.rb` sets `RAILS_ENV=test`, starts SimpleCov, requires the gem, then boots the **dummy Rails app** at `spec/dummy` (`require 'dummy/config/environment'`) — a real Rails 7 app with sqlite3 whose `User` model enables `database_authenticatable, registerable, recoverable, rememberable, validatable, confirmable, lockable, trackable, :api` (schema: `spec/dummy/db/schema.rb`). A second bare model, `AdminUser` (`database_authenticatable, registerable, validatable, :api` only), exists to exercise the "optional Devise module not enabled" branches (non-trackable sign-in, error/token responses without `lockable`/`confirmable` info); it has its own `devise_for :admin_users` routes.
26
+ - `spec/spec_helper.rb` sets `RAILS_ENV=test`, starts SimpleCov, requires the gem, then boots the **dummy Rails app** at `spec/dummy` (`require 'dummy/config/environment'`) — a real Rails 8 app with sqlite3 whose `User` model enables `database_authenticatable, registerable, recoverable, rememberable, validatable, confirmable, lockable, trackable, :api` (schema: `spec/dummy/db/schema.rb`). A second bare model, `AdminUser` (`database_authenticatable, registerable, validatable, :api` only), exists to exercise the "optional Devise module not enabled" branches (non-trackable sign-in, error/token responses without `lockable`/`confirmable` info); it has its own `devise_for :admin_users` routes.
27
27
  - `DatabaseCleaner` wraps every example; spec types are inferred from file location; monkey-patching is disabled (`RSpec.describe` only).
28
28
  - `spec/supports/` is auto-required: FactoryBot setup, ActiveRecord config, and two request-spec helpers:
29
29
  - `authentication_headers_for(owner, token = nil, token_type = :access_token)` → `{ Authorization: "Bearer …" }` (creates a token via FactoryBot when none given; pass `:refresh_token` to authenticate refresh calls)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Devise
4
4
  module Api
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nejdetkadir
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-08-25 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: devise
@@ -165,7 +164,6 @@ metadata:
165
164
  homepage_uri: https://github.com/nejdetkadir/devise-api
166
165
  source_code_uri: https://github.com/nejdetkadir/devise-api
167
166
  changelog_uri: https://github.com/nejdetkadir/devise-api/blob/main/CHANGELOG.md
168
- post_install_message:
169
167
  rdoc_options: []
170
168
  require_paths:
171
169
  - lib
@@ -180,8 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
178
  - !ruby/object:Gem::Version
181
179
  version: '0'
182
180
  requirements: []
183
- rubygems_version: 3.4.19
184
- signing_key:
181
+ rubygems_version: 4.0.6
185
182
  specification_version: 4
186
183
  summary: The devise-api gem is a convenient way to add authentication to your Ruby
187
184
  on Rails application using the devise gem. It provides support for access tokens