rbs_devise 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/lib/rbs_devise/devise.rb +2 -2
- data/lib/rbs_devise/rake_task.rb +1 -1
- data/lib/rbs_devise/version.rb +1 -1
- data/rbs_collection.lock.yaml +109 -29
- data/rbs_devise.gemspec +1 -1
- metadata +4 -6
- data/sig/shims/rake.rbs +0 -18
- data/sig/shims/thor.rbs +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5887b0f7433600cea6277d216265751c6d2bbefbbbdaa002498df14fa4e3492c
|
4
|
+
data.tar.gz: cf06057969d3eb9513fe78fb57d4ada268f367033560ce8e41bf5243d9e15132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf1480df5095701a9320b3f20f8355572167339087d6feca19cbbecf6fa77b83105fde15abd39b5d0783a929aee986c46f94b2ccab290e2d4d24d4d96e64ef7
|
7
|
+
data.tar.gz: 3bc6f83a9b53aeae823e411f382d5ba92dbd988e0d26b350800da26965528993ac36236cd275cd6b66d3ecd2425e9b7fdbf339504e3d67866033716c7a3851c0
|
data/.rubocop.yml
CHANGED
data/lib/rbs_devise/devise.rb
CHANGED
@@ -100,9 +100,9 @@ module RbsDevise
|
|
100
100
|
class DeviseController < #{parent_controller}
|
101
101
|
def find_message: (String | Symbol kind, ?Hash[untyped, untyped] options) -> String
|
102
102
|
def navigational_formats: () -> Array[Mime::Type]
|
103
|
-
def resource: () -> #{resource_classes.join(" | ")}
|
103
|
+
def resource: () -> (#{resource_classes.join(" | ")})
|
104
104
|
def resource=: #{resource_classes.map { |klass| "(#{klass}) -> #{klass}" }.join(" | ")}
|
105
|
-
def resource_class: () -> #{resource_classes.map { |klass| "singleton(#{klass})" }.join(" | ")}
|
105
|
+
def resource_class: () -> (#{resource_classes.map { |klass| "singleton(#{klass})" }.join(" | ")})
|
106
106
|
def resource_name: () -> Symbol
|
107
107
|
end
|
108
108
|
RBS
|
data/lib/rbs_devise/rake_task.rb
CHANGED
@@ -28,7 +28,7 @@ module RbsDevise
|
|
28
28
|
def define_generate_task
|
29
29
|
desc "Generate a RBS file for Devise"
|
30
30
|
task("#{name}:generate": :environment) do
|
31
|
-
require "rbs_devise"
|
31
|
+
require "rbs_devise" # load RbsDevise lazily
|
32
32
|
|
33
33
|
next unless RbsDevise::Devise.available?
|
34
34
|
|
data/lib/rbs_devise/version.rb
CHANGED
data/rbs_collection.lock.yaml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
sources:
|
3
3
|
- type: git
|
4
4
|
name: ruby/gem_rbs_collection
|
5
|
-
revision:
|
5
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
6
6
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
7
7
|
repo_dir: gems
|
8
8
|
path: ".gem_rbs_collection"
|
@@ -12,7 +12,7 @@ gems:
|
|
12
12
|
source:
|
13
13
|
type: git
|
14
14
|
name: ruby/gem_rbs_collection
|
15
|
-
revision:
|
15
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
16
16
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
17
17
|
repo_dir: gems
|
18
18
|
- name: actionpack
|
@@ -20,7 +20,7 @@ gems:
|
|
20
20
|
source:
|
21
21
|
type: git
|
22
22
|
name: ruby/gem_rbs_collection
|
23
|
-
revision:
|
23
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
24
24
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
25
25
|
repo_dir: gems
|
26
26
|
- name: actionview
|
@@ -28,7 +28,7 @@ gems:
|
|
28
28
|
source:
|
29
29
|
type: git
|
30
30
|
name: ruby/gem_rbs_collection
|
31
|
-
revision:
|
31
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
32
32
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
33
33
|
repo_dir: gems
|
34
34
|
- name: activejob
|
@@ -36,7 +36,7 @@ gems:
|
|
36
36
|
source:
|
37
37
|
type: git
|
38
38
|
name: ruby/gem_rbs_collection
|
39
|
-
revision:
|
39
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
40
40
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
41
41
|
repo_dir: gems
|
42
42
|
- name: activemodel
|
@@ -44,23 +44,15 @@ gems:
|
|
44
44
|
source:
|
45
45
|
type: git
|
46
46
|
name: ruby/gem_rbs_collection
|
47
|
-
revision:
|
47
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
48
48
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
49
49
|
repo_dir: gems
|
50
50
|
- name: activerecord
|
51
|
-
version: '7.
|
51
|
+
version: '7.1'
|
52
52
|
source:
|
53
53
|
type: git
|
54
54
|
name: ruby/gem_rbs_collection
|
55
|
-
revision:
|
56
|
-
remote: https://github.com/ruby/gem_rbs_collection.git
|
57
|
-
repo_dir: gems
|
58
|
-
- name: activestorage
|
59
|
-
version: '6.1'
|
60
|
-
source:
|
61
|
-
type: git
|
62
|
-
name: ruby/gem_rbs_collection
|
63
|
-
revision: 5666e737d2b27a8425b4e3855c1a38cae54989f7
|
55
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
64
56
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
65
57
|
repo_dir: gems
|
66
58
|
- name: activesupport
|
@@ -68,7 +60,7 @@ gems:
|
|
68
60
|
source:
|
69
61
|
type: git
|
70
62
|
name: ruby/gem_rbs_collection
|
71
|
-
revision:
|
63
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
72
64
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
73
65
|
repo_dir: gems
|
74
66
|
- name: ast
|
@@ -76,7 +68,7 @@ gems:
|
|
76
68
|
source:
|
77
69
|
type: git
|
78
70
|
name: ruby/gem_rbs_collection
|
79
|
-
revision:
|
71
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
80
72
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
81
73
|
repo_dir: gems
|
82
74
|
- name: base64
|
@@ -88,9 +80,13 @@ gems:
|
|
88
80
|
source:
|
89
81
|
type: git
|
90
82
|
name: ruby/gem_rbs_collection
|
91
|
-
revision:
|
83
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
92
84
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
93
85
|
repo_dir: gems
|
86
|
+
- name: bigdecimal
|
87
|
+
version: '0'
|
88
|
+
source:
|
89
|
+
type: stdlib
|
94
90
|
- name: cgi
|
95
91
|
version: '0'
|
96
92
|
source:
|
@@ -100,7 +96,15 @@ gems:
|
|
100
96
|
source:
|
101
97
|
type: git
|
102
98
|
name: ruby/gem_rbs_collection
|
103
|
-
revision:
|
99
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
100
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
101
|
+
repo_dir: gems
|
102
|
+
- name: connection_pool
|
103
|
+
version: '2.4'
|
104
|
+
source:
|
105
|
+
type: git
|
106
|
+
name: ruby/gem_rbs_collection
|
107
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
104
108
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
105
109
|
repo_dir: gems
|
106
110
|
- name: date
|
@@ -111,12 +115,16 @@ gems:
|
|
111
115
|
version: '0'
|
112
116
|
source:
|
113
117
|
type: stdlib
|
118
|
+
- name: fileutils
|
119
|
+
version: '0'
|
120
|
+
source:
|
121
|
+
type: stdlib
|
114
122
|
- name: globalid
|
115
123
|
version: '1.1'
|
116
124
|
source:
|
117
125
|
type: git
|
118
126
|
name: ruby/gem_rbs_collection
|
119
|
-
revision:
|
127
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
120
128
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
121
129
|
repo_dir: gems
|
122
130
|
- name: i18n
|
@@ -124,9 +132,13 @@ gems:
|
|
124
132
|
source:
|
125
133
|
type: git
|
126
134
|
name: ruby/gem_rbs_collection
|
127
|
-
revision:
|
135
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
128
136
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
129
137
|
repo_dir: gems
|
138
|
+
- name: io-console
|
139
|
+
version: '0'
|
140
|
+
source:
|
141
|
+
type: stdlib
|
130
142
|
- name: json
|
131
143
|
version: '0'
|
132
144
|
source:
|
@@ -140,7 +152,15 @@ gems:
|
|
140
152
|
source:
|
141
153
|
type: git
|
142
154
|
name: ruby/gem_rbs_collection
|
143
|
-
revision:
|
155
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
156
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
157
|
+
repo_dir: gems
|
158
|
+
- name: mini_mime
|
159
|
+
version: '0.1'
|
160
|
+
source:
|
161
|
+
type: git
|
162
|
+
name: ruby/gem_rbs_collection
|
163
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
144
164
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
145
165
|
repo_dir: gems
|
146
166
|
- name: minitest
|
@@ -160,7 +180,7 @@ gems:
|
|
160
180
|
source:
|
161
181
|
type: git
|
162
182
|
name: ruby/gem_rbs_collection
|
163
|
-
revision:
|
183
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
164
184
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
165
185
|
repo_dir: gems
|
166
186
|
- name: openssl
|
@@ -172,7 +192,15 @@ gems:
|
|
172
192
|
source:
|
173
193
|
type: git
|
174
194
|
name: ruby/gem_rbs_collection
|
175
|
-
revision:
|
195
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
196
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
197
|
+
repo_dir: gems
|
198
|
+
- name: parser
|
199
|
+
version: '3.2'
|
200
|
+
source:
|
201
|
+
type: git
|
202
|
+
name: ruby/gem_rbs_collection
|
203
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
176
204
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
177
205
|
repo_dir: gems
|
178
206
|
- name: pathname
|
@@ -184,7 +212,7 @@ gems:
|
|
184
212
|
source:
|
185
213
|
type: git
|
186
214
|
name: ruby/gem_rbs_collection
|
187
|
-
revision:
|
215
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
188
216
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
189
217
|
repo_dir: gems
|
190
218
|
- name: rails-dom-testing
|
@@ -192,7 +220,7 @@ gems:
|
|
192
220
|
source:
|
193
221
|
type: git
|
194
222
|
name: ruby/gem_rbs_collection
|
195
|
-
revision:
|
223
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
196
224
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
197
225
|
repo_dir: gems
|
198
226
|
- name: railties
|
@@ -200,7 +228,7 @@ gems:
|
|
200
228
|
source:
|
201
229
|
type: git
|
202
230
|
name: ruby/gem_rbs_collection
|
203
|
-
revision:
|
231
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
204
232
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
205
233
|
repo_dir: gems
|
206
234
|
- name: rainbow
|
@@ -208,7 +236,43 @@ gems:
|
|
208
236
|
source:
|
209
237
|
type: git
|
210
238
|
name: ruby/gem_rbs_collection
|
211
|
-
revision:
|
239
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
240
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
241
|
+
repo_dir: gems
|
242
|
+
- name: rake
|
243
|
+
version: '13.0'
|
244
|
+
source:
|
245
|
+
type: git
|
246
|
+
name: ruby/gem_rbs_collection
|
247
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
248
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
249
|
+
repo_dir: gems
|
250
|
+
- name: rdoc
|
251
|
+
version: '0'
|
252
|
+
source:
|
253
|
+
type: stdlib
|
254
|
+
- name: regexp_parser
|
255
|
+
version: '2.8'
|
256
|
+
source:
|
257
|
+
type: git
|
258
|
+
name: ruby/gem_rbs_collection
|
259
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
260
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
261
|
+
repo_dir: gems
|
262
|
+
- name: rubocop
|
263
|
+
version: '1.57'
|
264
|
+
source:
|
265
|
+
type: git
|
266
|
+
name: ruby/gem_rbs_collection
|
267
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
268
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
269
|
+
repo_dir: gems
|
270
|
+
- name: rubocop-ast
|
271
|
+
version: '1.30'
|
272
|
+
source:
|
273
|
+
type: git
|
274
|
+
name: ruby/gem_rbs_collection
|
275
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
212
276
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
213
277
|
repo_dir: gems
|
214
278
|
- name: securerandom
|
@@ -227,6 +291,14 @@ gems:
|
|
227
291
|
version: '0'
|
228
292
|
source:
|
229
293
|
type: stdlib
|
294
|
+
- name: thor
|
295
|
+
version: '1.2'
|
296
|
+
source:
|
297
|
+
type: git
|
298
|
+
name: ruby/gem_rbs_collection
|
299
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
300
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
301
|
+
repo_dir: gems
|
230
302
|
- name: time
|
231
303
|
version: '0'
|
232
304
|
source:
|
@@ -239,6 +311,14 @@ gems:
|
|
239
311
|
version: '0'
|
240
312
|
source:
|
241
313
|
type: stdlib
|
314
|
+
- name: tzinfo
|
315
|
+
version: '2.0'
|
316
|
+
source:
|
317
|
+
type: git
|
318
|
+
name: ruby/gem_rbs_collection
|
319
|
+
revision: 218cf130d31f63e110e350efc3fa265311b0f238
|
320
|
+
remote: https://github.com/ruby/gem_rbs_collection.git
|
321
|
+
repo_dir: gems
|
242
322
|
- name: uri
|
243
323
|
version: '0'
|
244
324
|
source:
|
data/rbs_devise.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = "A RBS files generator for discard gem"
|
13
13
|
spec.homepage = "https://github.com/tk0miya/rbs_devise"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">= 2.
|
15
|
+
spec.required_ruby_version = ">= 2.7.0"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = spec.homepage
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs_devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takeshi KOMIYA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -66,8 +66,6 @@ files:
|
|
66
66
|
- sig/rbs_devise.rbs
|
67
67
|
- sig/rbs_devise/devise.rbs
|
68
68
|
- sig/rbs_devise/rake_task.rbs
|
69
|
-
- sig/shims/rake.rbs
|
70
|
-
- sig/shims/thor.rbs
|
71
69
|
homepage: https://github.com/tk0miya/rbs_devise
|
72
70
|
licenses:
|
73
71
|
- MIT
|
@@ -83,14 +81,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
81
|
requirements:
|
84
82
|
- - ">="
|
85
83
|
- !ruby/object:Gem::Version
|
86
|
-
version: 2.
|
84
|
+
version: 2.7.0
|
87
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
86
|
requirements:
|
89
87
|
- - ">="
|
90
88
|
- !ruby/object:Gem::Version
|
91
89
|
version: '0'
|
92
90
|
requirements: []
|
93
|
-
rubygems_version: 3.4.
|
91
|
+
rubygems_version: 3.4.19
|
94
92
|
signing_key:
|
95
93
|
specification_version: 4
|
96
94
|
summary: A RBS files generator for discard gem
|
data/sig/shims/rake.rbs
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
module Rake
|
2
|
-
class TaskLib
|
3
|
-
include Rake::DSL
|
4
|
-
end
|
5
|
-
|
6
|
-
module DSL
|
7
|
-
private
|
8
|
-
|
9
|
-
def desc: (String description) -> void
|
10
|
-
def file: (*untyped args) ?{ () -> void } -> void
|
11
|
-
def import: (*String fns) -> void
|
12
|
-
def multitask: (*untyped args) ?{ () -> void } -> void
|
13
|
-
def namespace: (?String? name) ?{ () -> void } -> void
|
14
|
-
def rule: (*untyped args) ?{ () -> void } -> void
|
15
|
-
def task: (*untyped args) ?{ () -> void } -> void
|
16
|
-
def sh: (*String cmd) ?{ (bool, Process::Status) -> void } -> void
|
17
|
-
end
|
18
|
-
end
|