js-routes 2.2.7 → 2.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -9
- data/Gemfile +5 -0
- data/Readme.md +63 -47
- data/bin/tapioca +27 -0
- data/js-routes.gemspec +4 -1
- data/lib/js_routes/configuration.rb +80 -34
- data/lib/js_routes/engine.rb +2 -0
- data/lib/js_routes/generators/base.rb +15 -1
- data/lib/js_routes/generators/middleware.rb +3 -6
- data/lib/js_routes/generators/webpacker.rb +2 -4
- data/lib/js_routes/instance.rb +42 -15
- data/lib/js_routes/middleware.rb +14 -3
- data/lib/js_routes/route.rb +57 -16
- data/lib/js_routes/types.rb +28 -0
- data/lib/js_routes/version.rb +2 -1
- data/lib/js_routes.rb +20 -7
- data/lib/routes.js +25 -3
- data/lib/routes.ts +30 -6
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/actionpack.rbi +428 -0
- data/sorbet/rbi/annotations/actionview.rbi +75 -0
- data/sorbet/rbi/annotations/activesupport.rbi +421 -0
- data/sorbet/rbi/annotations/railties.rbi +61 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/actionpack@7.0.4.1.rbi +303 -0
- data/sorbet/rbi/gems/actionview@7.0.4.1.rbi +8 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.1.rbi +16424 -0
- data/sorbet/rbi/gems/appraisal@2.4.1.rbi +584 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/bump@0.10.0.rbi +168 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +3606 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/libv8-node@16.10.0.0.rbi +8 -0
- data/sorbet/rbi/gems/loofah@2.19.1.rbi +8 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/mini_racer@0.6.3.rbi +224 -0
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +280 -0
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.24.0.rbi +29744 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1150 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10075 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +150 -0
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +8 -0
- data/sorbet/rbi/gems/rack@2.2.6.2.rbi +5585 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi +8 -0
- data/sorbet/rbi/gems/railties@7.0.4.1.rbi +1959 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3072 -0
- data/sorbet/rbi/gems/rbi@0.1.9.rbi +3006 -0
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10868 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5299 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1611 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +3777 -0
- data/sorbet/rbi/gems/sprockets-rails@3.4.2.rbi +14 -0
- data/sorbet/rbi/gems/sprockets@4.2.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23136 -0
- data/sorbet/rbi/gems/tapioca@0.12.0.rbi +3510 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +428 -0
- data/sorbet/rbi/gems/yard@0.9.34.rbi +18332 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +8 -0
- data/sorbet/rbi/todo.rbi +31 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/spec/js_routes/default_serializer_spec.rb +1 -1
- data/spec/js_routes/module_types/dts_spec.rb +17 -2
- data/spec/js_routes/module_types/umd_spec.rb +2 -2
- data/spec/js_routes/options_spec.rb +6 -6
- data/spec/js_routes/rails_routes_compatibility_spec.rb +17 -12
- data/spec/js_routes/route_specification_spec.rb +1 -4
- data/spec/js_routes/{zzz_last_post_rails_init_spec.rb → zzz_sprockets_spec.rb} +1 -1
- data/spec/spec_helper.rb +4 -0
- metadata +82 -7
@@ -0,0 +1,584 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `appraisal` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem appraisal`.
|
6
|
+
|
7
|
+
# source://appraisal//lib/appraisal/version.rb#1
|
8
|
+
module Appraisal; end
|
9
|
+
|
10
|
+
# Represents one appraisal and its dependencies
|
11
|
+
#
|
12
|
+
# source://appraisal//lib/appraisal/appraisal.rb#9
|
13
|
+
class Appraisal::Appraisal
|
14
|
+
# @return [Appraisal] a new instance of Appraisal
|
15
|
+
#
|
16
|
+
# source://appraisal//lib/appraisal/appraisal.rb#14
|
17
|
+
def initialize(name, source_gemfile); end
|
18
|
+
|
19
|
+
# source://appraisal//lib/appraisal/appraisal.rb#19
|
20
|
+
def gem(*args); end
|
21
|
+
|
22
|
+
# Returns the value of attribute gemfile.
|
23
|
+
#
|
24
|
+
# source://appraisal//lib/appraisal/appraisal.rb#12
|
25
|
+
def gemfile; end
|
26
|
+
|
27
|
+
# source://appraisal//lib/appraisal/appraisal.rb#87
|
28
|
+
def gemfile_path; end
|
29
|
+
|
30
|
+
# source://appraisal//lib/appraisal/appraisal.rb#51
|
31
|
+
def gemspec(options = T.unsafe(nil)); end
|
32
|
+
|
33
|
+
# source://appraisal//lib/appraisal/appraisal.rb#35
|
34
|
+
def git(*args, &block); end
|
35
|
+
|
36
|
+
# source://appraisal//lib/appraisal/appraisal.rb#55
|
37
|
+
def git_source(*args, &block); end
|
38
|
+
|
39
|
+
# source://appraisal//lib/appraisal/appraisal.rb#43
|
40
|
+
def group(*args, &block); end
|
41
|
+
|
42
|
+
# source://appraisal//lib/appraisal/appraisal.rb#66
|
43
|
+
def install(options = T.unsafe(nil)); end
|
44
|
+
|
45
|
+
# Returns the value of attribute name.
|
46
|
+
#
|
47
|
+
# source://appraisal//lib/appraisal/appraisal.rb#12
|
48
|
+
def name; end
|
49
|
+
|
50
|
+
# source://appraisal//lib/appraisal/appraisal.rb#39
|
51
|
+
def path(*args, &block); end
|
52
|
+
|
53
|
+
# source://appraisal//lib/appraisal/appraisal.rb#47
|
54
|
+
def platforms(*args, &block); end
|
55
|
+
|
56
|
+
# source://appraisal//lib/appraisal/appraisal.rb#95
|
57
|
+
def relative_gemfile_path; end
|
58
|
+
|
59
|
+
# source://appraisal//lib/appraisal/appraisal.rb#99
|
60
|
+
def relativize; end
|
61
|
+
|
62
|
+
# source://appraisal//lib/appraisal/appraisal.rb#23
|
63
|
+
def remove_gem(*args); end
|
64
|
+
|
65
|
+
# source://appraisal//lib/appraisal/appraisal.rb#31
|
66
|
+
def ruby(*args); end
|
67
|
+
|
68
|
+
# source://appraisal//lib/appraisal/appraisal.rb#27
|
69
|
+
def source(*args, &block); end
|
70
|
+
|
71
|
+
# source://appraisal//lib/appraisal/appraisal.rb#83
|
72
|
+
def update(gems = T.unsafe(nil)); end
|
73
|
+
|
74
|
+
# source://appraisal//lib/appraisal/appraisal.rb#59
|
75
|
+
def write_gemfile; end
|
76
|
+
|
77
|
+
private
|
78
|
+
|
79
|
+
# source://appraisal//lib/appraisal/appraisal.rb#145
|
80
|
+
def bundle_options(options); end
|
81
|
+
|
82
|
+
# source://appraisal//lib/appraisal/appraisal.rb#111
|
83
|
+
def check_command; end
|
84
|
+
|
85
|
+
# source://appraisal//lib/appraisal/appraisal.rb#141
|
86
|
+
def clean_name; end
|
87
|
+
|
88
|
+
# source://appraisal//lib/appraisal/appraisal.rb#133
|
89
|
+
def gemfile_name; end
|
90
|
+
|
91
|
+
# source://appraisal//lib/appraisal/appraisal.rb#125
|
92
|
+
def gemfile_root; end
|
93
|
+
|
94
|
+
# source://appraisal//lib/appraisal/appraisal.rb#116
|
95
|
+
def install_command(options = T.unsafe(nil)); end
|
96
|
+
|
97
|
+
# source://appraisal//lib/appraisal/appraisal.rb#137
|
98
|
+
def lockfile_path; end
|
99
|
+
|
100
|
+
# source://appraisal//lib/appraisal/appraisal.rb#129
|
101
|
+
def project_root; end
|
102
|
+
|
103
|
+
# source://appraisal//lib/appraisal/appraisal.rb#121
|
104
|
+
def update_command(gems); end
|
105
|
+
end
|
106
|
+
|
107
|
+
# source://appraisal//lib/appraisal/appraisal.rb#10
|
108
|
+
Appraisal::Appraisal::DEFAULT_INSTALL_OPTIONS = T.let(T.unsafe(nil), Hash)
|
109
|
+
|
110
|
+
# Loads and parses Appraisals file
|
111
|
+
#
|
112
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#7
|
113
|
+
class Appraisal::AppraisalFile
|
114
|
+
# @return [AppraisalFile] a new instance of AppraisalFile
|
115
|
+
#
|
116
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#14
|
117
|
+
def initialize; end
|
118
|
+
|
119
|
+
# Returns the value of attribute appraisals.
|
120
|
+
#
|
121
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#8
|
122
|
+
def appraisals; end
|
123
|
+
|
124
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#30
|
125
|
+
def appraise(name, &block); end
|
126
|
+
|
127
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#26
|
128
|
+
def each(&block); end
|
129
|
+
|
130
|
+
# Returns the value of attribute gemfile.
|
131
|
+
#
|
132
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#8
|
133
|
+
def gemfile; end
|
134
|
+
|
135
|
+
private
|
136
|
+
|
137
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#42
|
138
|
+
def path; end
|
139
|
+
|
140
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#38
|
141
|
+
def run(definitions); end
|
142
|
+
|
143
|
+
class << self
|
144
|
+
# source://appraisal//lib/appraisal/appraisal_file.rb#10
|
145
|
+
def each(&block); end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Raises when Appraisal is unable to locate Appraisals file in the current directory.
|
150
|
+
#
|
151
|
+
# source://appraisal//lib/appraisal/errors.rb#3
|
152
|
+
class Appraisal::AppraisalsNotFound < ::StandardError
|
153
|
+
# source://appraisal//lib/appraisal/errors.rb#4
|
154
|
+
def message; end
|
155
|
+
end
|
156
|
+
|
157
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#4
|
158
|
+
class Appraisal::BundlerDSL
|
159
|
+
# @return [BundlerDSL] a new instance of BundlerDSL
|
160
|
+
#
|
161
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#10
|
162
|
+
def initialize; end
|
163
|
+
|
164
|
+
# Returns the value of attribute dependencies.
|
165
|
+
#
|
166
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#5
|
167
|
+
def dependencies; end
|
168
|
+
|
169
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#79
|
170
|
+
def for_dup; end
|
171
|
+
|
172
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#27
|
173
|
+
def gem(name, *requirements); end
|
174
|
+
|
175
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#83
|
176
|
+
def gemspec(options = T.unsafe(nil)); end
|
177
|
+
|
178
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#63
|
179
|
+
def git(source, options = T.unsafe(nil), &block); end
|
180
|
+
|
181
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#87
|
182
|
+
def git_source(source, &block); end
|
183
|
+
|
184
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#35
|
185
|
+
def group(*names, &block); end
|
186
|
+
|
187
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#69
|
188
|
+
def path(source, options = T.unsafe(nil), &block); end
|
189
|
+
|
190
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#41
|
191
|
+
def platform(*names, &block); end
|
192
|
+
|
193
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#41
|
194
|
+
def platforms(*names, &block); end
|
195
|
+
|
196
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#31
|
197
|
+
def remove_gem(name); end
|
198
|
+
|
199
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#59
|
200
|
+
def ruby(ruby_version); end
|
201
|
+
|
202
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#23
|
203
|
+
def run(&block); end
|
204
|
+
|
205
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#49
|
206
|
+
def source(source, &block); end
|
207
|
+
|
208
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#75
|
209
|
+
def to_s; end
|
210
|
+
|
211
|
+
protected
|
212
|
+
|
213
|
+
# Sets the attribute git_sources
|
214
|
+
#
|
215
|
+
# @param value the value to set the attribute git_sources to.
|
216
|
+
#
|
217
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#93
|
218
|
+
def git_sources=(_arg0); end
|
219
|
+
|
220
|
+
private
|
221
|
+
|
222
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#119
|
223
|
+
def dependencies_entry; end
|
224
|
+
|
225
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#123
|
226
|
+
def dependencies_entry_for_dup; end
|
227
|
+
|
228
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#111
|
229
|
+
def gemspec_entry; end
|
230
|
+
|
231
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#115
|
232
|
+
def gemspec_entry_for_dup; end
|
233
|
+
|
234
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#131
|
235
|
+
def gits_entry; end
|
236
|
+
|
237
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#137
|
238
|
+
def gits_entry_for_dup; end
|
239
|
+
|
240
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#131
|
241
|
+
def groups_entry; end
|
242
|
+
|
243
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#137
|
244
|
+
def groups_entry_for_dup; end
|
245
|
+
|
246
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#142
|
247
|
+
def indent(string); end
|
248
|
+
|
249
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#131
|
250
|
+
def paths_entry; end
|
251
|
+
|
252
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#137
|
253
|
+
def paths_entry_for_dup; end
|
254
|
+
|
255
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#131
|
256
|
+
def platforms_entry; end
|
257
|
+
|
258
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#137
|
259
|
+
def platforms_entry_for_dup; end
|
260
|
+
|
261
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#103
|
262
|
+
def ruby_version_entry; end
|
263
|
+
|
264
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#103
|
265
|
+
def ruby_version_entry_for_dup; end
|
266
|
+
|
267
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#131
|
268
|
+
def source_blocks_entry; end
|
269
|
+
|
270
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#137
|
271
|
+
def source_blocks_entry_for_dup; end
|
272
|
+
|
273
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#97
|
274
|
+
def source_entry; end
|
275
|
+
|
276
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#97
|
277
|
+
def source_entry_for_dup; end
|
278
|
+
|
279
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#146
|
280
|
+
def substitute_git_source(requirements); end
|
281
|
+
end
|
282
|
+
|
283
|
+
# source://appraisal//lib/appraisal/bundler_dsl.rb#7
|
284
|
+
Appraisal::BundlerDSL::PARTS = T.let(T.unsafe(nil), Array)
|
285
|
+
|
286
|
+
# Executes commands with a clean environment
|
287
|
+
#
|
288
|
+
# source://appraisal//lib/appraisal/command.rb#5
|
289
|
+
class Appraisal::Command
|
290
|
+
# @return [Command] a new instance of Command
|
291
|
+
#
|
292
|
+
# source://appraisal//lib/appraisal/command.rb#10
|
293
|
+
def initialize(command, options = T.unsafe(nil)); end
|
294
|
+
|
295
|
+
# Returns the value of attribute command.
|
296
|
+
#
|
297
|
+
# source://appraisal//lib/appraisal/command.rb#8
|
298
|
+
def command; end
|
299
|
+
|
300
|
+
# Returns the value of attribute env.
|
301
|
+
#
|
302
|
+
# source://appraisal//lib/appraisal/command.rb#8
|
303
|
+
def env; end
|
304
|
+
|
305
|
+
# Returns the value of attribute gemfile.
|
306
|
+
#
|
307
|
+
# source://appraisal//lib/appraisal/command.rb#8
|
308
|
+
def gemfile; end
|
309
|
+
|
310
|
+
# Returns the value of attribute original_env.
|
311
|
+
#
|
312
|
+
# source://appraisal//lib/appraisal/command.rb#8
|
313
|
+
def original_env; end
|
314
|
+
|
315
|
+
# source://appraisal//lib/appraisal/command.rb#17
|
316
|
+
def run; end
|
317
|
+
|
318
|
+
private
|
319
|
+
|
320
|
+
# source://appraisal//lib/appraisal/command.rb#61
|
321
|
+
def announce; end
|
322
|
+
|
323
|
+
# source://appraisal//lib/appraisal/command.rb#96
|
324
|
+
def command_as_string; end
|
325
|
+
|
326
|
+
# source://appraisal//lib/appraisal/command.rb#88
|
327
|
+
def command_starting_with_bundle(original_command); end
|
328
|
+
|
329
|
+
# @return [Boolean]
|
330
|
+
#
|
331
|
+
# source://appraisal//lib/appraisal/command.rb#80
|
332
|
+
def command_starts_with_bundle?(original_command); end
|
333
|
+
|
334
|
+
# source://appraisal//lib/appraisal/command.rb#43
|
335
|
+
def ensure_bundler_is_available; end
|
336
|
+
|
337
|
+
# source://appraisal//lib/appraisal/command.rb#76
|
338
|
+
def restore_env; end
|
339
|
+
|
340
|
+
# source://appraisal//lib/appraisal/command.rb#69
|
341
|
+
def unset_bundler_env_vars; end
|
342
|
+
|
343
|
+
# source://appraisal//lib/appraisal/command.rb#34
|
344
|
+
def with_clean_env; end
|
345
|
+
end
|
346
|
+
|
347
|
+
# source://appraisal//lib/appraisal/command.rb#6
|
348
|
+
Appraisal::Command::BUNDLER_ENV_VARS = T.let(T.unsafe(nil), Array)
|
349
|
+
|
350
|
+
# Dependency on a gem and optional version requirements
|
351
|
+
#
|
352
|
+
# source://appraisal//lib/appraisal/dependency.rb#5
|
353
|
+
class Appraisal::Dependency
|
354
|
+
# @return [Dependency] a new instance of Dependency
|
355
|
+
#
|
356
|
+
# source://appraisal//lib/appraisal/dependency.rb#9
|
357
|
+
def initialize(name, requirements); end
|
358
|
+
|
359
|
+
# source://appraisal//lib/appraisal/dependency.rb#19
|
360
|
+
def for_dup; end
|
361
|
+
|
362
|
+
# Returns the value of attribute name.
|
363
|
+
#
|
364
|
+
# source://appraisal//lib/appraisal/dependency.rb#7
|
365
|
+
def name; end
|
366
|
+
|
367
|
+
# Returns the value of attribute requirements.
|
368
|
+
#
|
369
|
+
# source://appraisal//lib/appraisal/dependency.rb#6
|
370
|
+
def requirements; end
|
371
|
+
|
372
|
+
# Sets the attribute requirements
|
373
|
+
#
|
374
|
+
# @param value the value to set the attribute requirements to.
|
375
|
+
#
|
376
|
+
# source://appraisal//lib/appraisal/dependency.rb#6
|
377
|
+
def requirements=(_arg0); end
|
378
|
+
|
379
|
+
# source://appraisal//lib/appraisal/dependency.rb#14
|
380
|
+
def to_s; end
|
381
|
+
|
382
|
+
private
|
383
|
+
|
384
|
+
# source://appraisal//lib/appraisal/dependency.rb#41
|
385
|
+
def formatted_output(output_requirements); end
|
386
|
+
|
387
|
+
# source://appraisal//lib/appraisal/dependency.rb#45
|
388
|
+
def gem_name; end
|
389
|
+
|
390
|
+
# @return [Boolean]
|
391
|
+
#
|
392
|
+
# source://appraisal//lib/appraisal/dependency.rb#49
|
393
|
+
def no_requirements?; end
|
394
|
+
|
395
|
+
# source://appraisal//lib/appraisal/dependency.rb#25
|
396
|
+
def path_prefixed_requirements; end
|
397
|
+
end
|
398
|
+
|
399
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#5
|
400
|
+
class Appraisal::DependencyList
|
401
|
+
# @return [DependencyList] a new instance of DependencyList
|
402
|
+
#
|
403
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#6
|
404
|
+
def initialize; end
|
405
|
+
|
406
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#11
|
407
|
+
def add(name, requirements); end
|
408
|
+
|
409
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#28
|
410
|
+
def for_dup; end
|
411
|
+
|
412
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#17
|
413
|
+
def remove(name); end
|
414
|
+
|
415
|
+
# source://appraisal//lib/appraisal/dependency_list.rb#23
|
416
|
+
def to_s; end
|
417
|
+
end
|
418
|
+
|
419
|
+
# Load bundler Gemfiles and merge dependencies
|
420
|
+
#
|
421
|
+
# source://appraisal//lib/appraisal/gemfile.rb#12
|
422
|
+
class Appraisal::Gemfile < ::Appraisal::BundlerDSL
|
423
|
+
# source://appraisal//lib/appraisal/gemfile.rb#23
|
424
|
+
def dup; end
|
425
|
+
|
426
|
+
# source://appraisal//lib/appraisal/gemfile.rb#13
|
427
|
+
def load(path); end
|
428
|
+
|
429
|
+
# source://appraisal//lib/appraisal/gemfile.rb#19
|
430
|
+
def run(definitions); end
|
431
|
+
end
|
432
|
+
|
433
|
+
# source://appraisal//lib/appraisal/gemspec.rb#4
|
434
|
+
class Appraisal::Gemspec
|
435
|
+
# @return [Gemspec] a new instance of Gemspec
|
436
|
+
#
|
437
|
+
# source://appraisal//lib/appraisal/gemspec.rb#7
|
438
|
+
def initialize(options = T.unsafe(nil)); end
|
439
|
+
|
440
|
+
# source://appraisal//lib/appraisal/gemspec.rb#17
|
441
|
+
def for_dup; end
|
442
|
+
|
443
|
+
# Returns the value of attribute options.
|
444
|
+
#
|
445
|
+
# source://appraisal//lib/appraisal/gemspec.rb#5
|
446
|
+
def options; end
|
447
|
+
|
448
|
+
# source://appraisal//lib/appraisal/gemspec.rb#12
|
449
|
+
def to_s; end
|
450
|
+
|
451
|
+
private
|
452
|
+
|
453
|
+
# source://appraisal//lib/appraisal/gemspec.rb#23
|
454
|
+
def exported_options; end
|
455
|
+
end
|
456
|
+
|
457
|
+
# source://appraisal//lib/appraisal/git.rb#5
|
458
|
+
class Appraisal::Git < ::Appraisal::BundlerDSL
|
459
|
+
# @return [Git] a new instance of Git
|
460
|
+
#
|
461
|
+
# source://appraisal//lib/appraisal/git.rb#6
|
462
|
+
def initialize(source, options = T.unsafe(nil)); end
|
463
|
+
|
464
|
+
# source://appraisal//lib/appraisal/git.rb#22
|
465
|
+
def for_dup; end
|
466
|
+
|
467
|
+
# source://appraisal//lib/appraisal/git.rb#12
|
468
|
+
def to_s; end
|
469
|
+
end
|
470
|
+
|
471
|
+
# source://appraisal//lib/appraisal/group.rb#5
|
472
|
+
class Appraisal::Group < ::Appraisal::BundlerDSL
|
473
|
+
# @return [Group] a new instance of Group
|
474
|
+
#
|
475
|
+
# source://appraisal//lib/appraisal/group.rb#6
|
476
|
+
def initialize(group_names); end
|
477
|
+
|
478
|
+
# source://appraisal//lib/appraisal/group.rb#16
|
479
|
+
def for_dup; end
|
480
|
+
|
481
|
+
# source://appraisal//lib/appraisal/group.rb#11
|
482
|
+
def to_s; end
|
483
|
+
|
484
|
+
private
|
485
|
+
|
486
|
+
# source://appraisal//lib/appraisal/group.rb#22
|
487
|
+
def formatted_output(output_dependencies); end
|
488
|
+
end
|
489
|
+
|
490
|
+
# source://appraisal//lib/appraisal/path.rb#5
|
491
|
+
class Appraisal::Path < ::Appraisal::BundlerDSL
|
492
|
+
# @return [Path] a new instance of Path
|
493
|
+
#
|
494
|
+
# source://appraisal//lib/appraisal/path.rb#6
|
495
|
+
def initialize(source, options = T.unsafe(nil)); end
|
496
|
+
|
497
|
+
# source://appraisal//lib/appraisal/path.rb#22
|
498
|
+
def for_dup; end
|
499
|
+
|
500
|
+
# source://appraisal//lib/appraisal/path.rb#12
|
501
|
+
def to_s; end
|
502
|
+
end
|
503
|
+
|
504
|
+
# source://appraisal//lib/appraisal/platform.rb#5
|
505
|
+
class Appraisal::Platform < ::Appraisal::BundlerDSL
|
506
|
+
# @return [Platform] a new instance of Platform
|
507
|
+
#
|
508
|
+
# source://appraisal//lib/appraisal/platform.rb#6
|
509
|
+
def initialize(platform_names); end
|
510
|
+
|
511
|
+
# source://appraisal//lib/appraisal/platform.rb#16
|
512
|
+
def for_dup; end
|
513
|
+
|
514
|
+
# source://appraisal//lib/appraisal/platform.rb#11
|
515
|
+
def to_s; end
|
516
|
+
|
517
|
+
private
|
518
|
+
|
519
|
+
# source://appraisal//lib/appraisal/platform.rb#22
|
520
|
+
def formatted_output(output_dependencies); end
|
521
|
+
end
|
522
|
+
|
523
|
+
# source://appraisal//lib/appraisal/source.rb#5
|
524
|
+
class Appraisal::Source < ::Appraisal::BundlerDSL
|
525
|
+
# @return [Source] a new instance of Source
|
526
|
+
#
|
527
|
+
# source://appraisal//lib/appraisal/source.rb#6
|
528
|
+
def initialize(source); end
|
529
|
+
|
530
|
+
# source://appraisal//lib/appraisal/source.rb#16
|
531
|
+
def for_dup; end
|
532
|
+
|
533
|
+
# source://appraisal//lib/appraisal/source.rb#11
|
534
|
+
def to_s; end
|
535
|
+
|
536
|
+
private
|
537
|
+
|
538
|
+
# source://appraisal//lib/appraisal/source.rb#22
|
539
|
+
def formatted_output(output_dependencies); end
|
540
|
+
end
|
541
|
+
|
542
|
+
# Defines tasks for installing appraisal dependencies and running other tasks
|
543
|
+
# for a given appraisal.
|
544
|
+
#
|
545
|
+
# source://appraisal//lib/appraisal/task.rb#7
|
546
|
+
class Appraisal::Task < ::Rake::TaskLib
|
547
|
+
# @return [Task] a new instance of Task
|
548
|
+
#
|
549
|
+
# source://appraisal//lib/appraisal/task.rb#8
|
550
|
+
def initialize; end
|
551
|
+
end
|
552
|
+
|
553
|
+
# Contains methods for various operations
|
554
|
+
#
|
555
|
+
# source://appraisal//lib/appraisal/utils.rb#3
|
556
|
+
module Appraisal::Utils
|
557
|
+
class << self
|
558
|
+
# source://appraisal//lib/appraisal/utils.rb#55
|
559
|
+
def bundler_version; end
|
560
|
+
|
561
|
+
# source://appraisal//lib/appraisal/utils.rb#36
|
562
|
+
def format_arguments(arguments); end
|
563
|
+
|
564
|
+
# source://appraisal//lib/appraisal/utils.rb#25
|
565
|
+
def format_hash_value(key, value); end
|
566
|
+
|
567
|
+
# source://appraisal//lib/appraisal/utils.rb#8
|
568
|
+
def format_string(object, enclosing_object = T.unsafe(nil)); end
|
569
|
+
|
570
|
+
# source://appraisal//lib/appraisal/utils.rb#42
|
571
|
+
def join_parts(parts); end
|
572
|
+
|
573
|
+
# source://appraisal//lib/appraisal/utils.rb#46
|
574
|
+
def prefix_path(path); end
|
575
|
+
|
576
|
+
# @return [Boolean]
|
577
|
+
#
|
578
|
+
# source://appraisal//lib/appraisal/utils.rb#4
|
579
|
+
def support_parallel_installation?; end
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
# source://appraisal//lib/appraisal/version.rb#2
|
584
|
+
Appraisal::VERSION = T.let(T.unsafe(nil), String)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `builder` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem builder`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|