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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +6 -3
- data/Gemfile.lock +248 -185
- data/docs/architecture.md +1 -1
- data/docs/development.md +1 -1
- data/docs/testing.md +2 -2
- data/lib/devise/api/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbedeb52a2b5bb590f6d51d4ecb3b2c9e388b08d891b2beaebbdd51bb66f5bb9
|
|
4
|
+
data.tar.gz: 5cff467fc2cc283761df6f76bacb888fe6fa2db51563fc371a5a06571e7a926a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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', '~>
|
|
28
|
+
gem 'sqlite3', '~> 2.0'
|
|
29
29
|
|
|
30
30
|
# Use the Puma web server [https://github.com/puma/puma]
|
|
31
|
-
gem 'puma', '~>
|
|
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', '~>
|
|
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.
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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.
|
|
46
|
-
rails-html-sanitizer (~> 1.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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 (
|
|
55
|
-
activesupport (=
|
|
55
|
+
actionview (8.1.3.1)
|
|
56
|
+
activesupport (= 8.1.3.1)
|
|
56
57
|
builder (~> 3.1)
|
|
57
|
-
erubi (~> 1.
|
|
58
|
-
rails-dom-testing (~> 2.
|
|
59
|
-
rails-html-sanitizer (~> 1.
|
|
60
|
-
activejob (
|
|
61
|
-
activesupport (=
|
|
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 (
|
|
64
|
-
activesupport (=
|
|
65
|
-
activerecord (
|
|
66
|
-
activemodel (=
|
|
67
|
-
activesupport (=
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
|
|
80
|
-
|
|
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
|
-
|
|
83
|
-
|
|
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.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
|
92
|
-
database_cleaner-core (2.0
|
|
93
|
-
date (3.
|
|
94
|
-
devise (
|
|
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 (>=
|
|
109
|
+
railties (>= 7.0)
|
|
98
110
|
responders
|
|
99
111
|
warden (~> 1.2.3)
|
|
100
|
-
diff-lcs (1.
|
|
112
|
+
diff-lcs (1.6.2)
|
|
101
113
|
docile (1.4.1)
|
|
102
|
-
|
|
103
|
-
|
|
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.
|
|
118
|
+
dry-core (1.2.0)
|
|
106
119
|
concurrent-ruby (~> 1.0)
|
|
120
|
+
logger
|
|
107
121
|
zeitwerk (~> 2.6)
|
|
108
|
-
dry-inflector (1.
|
|
109
|
-
dry-initializer (3.
|
|
110
|
-
dry-logic (1.
|
|
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.
|
|
127
|
+
dry-core (~> 1.1)
|
|
113
128
|
zeitwerk (~> 2.6)
|
|
114
|
-
dry-monads (1.
|
|
129
|
+
dry-monads (1.10.0)
|
|
115
130
|
concurrent-ruby (~> 1.0)
|
|
116
|
-
dry-core (~> 1.
|
|
131
|
+
dry-core (~> 1.1)
|
|
117
132
|
zeitwerk (~> 2.6)
|
|
118
|
-
dry-types (1.
|
|
133
|
+
dry-types (1.9.1)
|
|
134
|
+
bigdecimal (>= 3.0)
|
|
119
135
|
concurrent-ruby (~> 1.0)
|
|
120
|
-
dry-core (~> 1.0
|
|
121
|
-
dry-inflector (~> 1.0
|
|
122
|
-
dry-logic (
|
|
136
|
+
dry-core (~> 1.0)
|
|
137
|
+
dry-inflector (~> 1.0)
|
|
138
|
+
dry-logic (~> 1.4)
|
|
123
139
|
zeitwerk (~> 2.6)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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.
|
|
130
|
-
activesupport (>=
|
|
131
|
-
i18n (1.
|
|
146
|
+
globalid (1.4.0)
|
|
147
|
+
activesupport (>= 6.1)
|
|
148
|
+
i18n (1.15.2)
|
|
132
149
|
concurrent-ruby (~> 1.0)
|
|
133
|
-
|
|
134
|
-
|
|
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.
|
|
137
|
-
mail (2.
|
|
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.
|
|
143
|
-
method_source (1.
|
|
144
|
-
mini_mime (1.1.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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.
|
|
180
|
+
net-protocol (0.2.2)
|
|
153
181
|
timeout
|
|
154
|
-
net-smtp (0.
|
|
182
|
+
net-smtp (0.5.1)
|
|
155
183
|
net-protocol
|
|
156
|
-
nio4r (2.5
|
|
157
|
-
nokogiri (1.
|
|
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
|
-
|
|
162
|
-
|
|
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 (
|
|
200
|
+
puma (7.2.1)
|
|
168
201
|
nio4r (~> 2.0)
|
|
169
|
-
racc (1.
|
|
170
|
-
rack (
|
|
171
|
-
rack-
|
|
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
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
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 (=
|
|
187
|
-
rails-dom-testing (2.0
|
|
188
|
-
activesupport (>=
|
|
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.
|
|
191
|
-
loofah (~> 2.
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
-
|
|
238
|
+
thor (~> 1.0, >= 1.2.2)
|
|
239
|
+
tsort (>= 0.2)
|
|
240
|
+
zeitwerk (~> 2.6)
|
|
199
241
|
rainbow (3.1.1)
|
|
200
|
-
rake (13.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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.
|
|
215
|
-
rspec-mocks (3.
|
|
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.
|
|
218
|
-
rspec-rails (
|
|
219
|
-
actionpack (>=
|
|
220
|
-
activesupport (>=
|
|
221
|
-
railties (>=
|
|
222
|
-
rspec-core (
|
|
223
|
-
rspec-expectations (
|
|
224
|
-
rspec-mocks (
|
|
225
|
-
rspec-support (
|
|
226
|
-
rspec-support (3.
|
|
227
|
-
rubocop (1.
|
|
228
|
-
json (
|
|
229
|
-
|
|
230
|
-
|
|
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 (>=
|
|
233
|
-
|
|
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 (>=
|
|
237
|
-
rubocop-ast (1.
|
|
238
|
-
parser (>= 3.
|
|
239
|
-
|
|
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.
|
|
247
|
-
concurrent-ruby (~> 1.
|
|
301
|
+
sprockets (4.4.1)
|
|
302
|
+
concurrent-ruby (~> 1.1)
|
|
303
|
+
logger
|
|
248
304
|
rack (>= 2.2.4, < 4)
|
|
249
|
-
sprockets-rails (3.
|
|
250
|
-
actionpack (>=
|
|
251
|
-
activesupport (>=
|
|
305
|
+
sprockets-rails (3.5.2)
|
|
306
|
+
actionpack (>= 6.1)
|
|
307
|
+
activesupport (>= 6.1)
|
|
252
308
|
sprockets (>= 3.0.0)
|
|
253
|
-
sqlite3 (
|
|
254
|
-
thor (1.
|
|
255
|
-
timeout (0.
|
|
256
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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 (~>
|
|
342
|
+
puma (~> 7.0, >= 7.2.1)
|
|
280
343
|
rake (~> 13.0)
|
|
281
344
|
rspec (~> 3.0)
|
|
282
345
|
rspec-core
|
|
283
|
-
rspec-rails (~>
|
|
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 (~>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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)
|
data/lib/devise/api/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
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
|