js-routes 2.2.8 → 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 +19 -9
- data/Gemfile +5 -0
- data/Readme.md +60 -45
- 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 +14 -0
- data/lib/js_routes/generators/middleware.rb +3 -6
- data/lib/js_routes/generators/webpacker.rb +1 -3
- 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/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/module_types/dts_spec.rb +17 -2
- data/spec/js_routes/module_types/umd_spec.rb +1 -1
- data/spec/js_routes/options_spec.rb +6 -6
- metadata +81 -6
@@ -0,0 +1,82 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rspec` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rspec`.
|
6
|
+
|
7
|
+
# source://rspec//lib/rspec/version.rb#1
|
8
|
+
module RSpec
|
9
|
+
class << self
|
10
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#70
|
11
|
+
def clear_examples; end
|
12
|
+
|
13
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#85
|
14
|
+
def configuration; end
|
15
|
+
|
16
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
17
|
+
def configuration=(_arg0); end
|
18
|
+
|
19
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#97
|
20
|
+
def configure; end
|
21
|
+
|
22
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#194
|
23
|
+
def const_missing(name); end
|
24
|
+
|
25
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
26
|
+
def context(*args, &example_group_block); end
|
27
|
+
|
28
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#122
|
29
|
+
def current_example; end
|
30
|
+
|
31
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#128
|
32
|
+
def current_example=(example); end
|
33
|
+
|
34
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#154
|
35
|
+
def current_scope; end
|
36
|
+
|
37
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#134
|
38
|
+
def current_scope=(scope); end
|
39
|
+
|
40
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
41
|
+
def describe(*args, &example_group_block); end
|
42
|
+
|
43
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
44
|
+
def example_group(*args, &example_group_block); end
|
45
|
+
|
46
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
47
|
+
def fcontext(*args, &example_group_block); end
|
48
|
+
|
49
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
50
|
+
def fdescribe(*args, &example_group_block); end
|
51
|
+
|
52
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#58
|
53
|
+
def reset; end
|
54
|
+
|
55
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
56
|
+
def shared_context(name, *args, &block); end
|
57
|
+
|
58
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
59
|
+
def shared_examples(name, *args, &block); end
|
60
|
+
|
61
|
+
# source://rspec-core/3.12.0/lib/rspec/core/shared_example_group.rb#110
|
62
|
+
def shared_examples_for(name, *args, &block); end
|
63
|
+
|
64
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#160
|
65
|
+
def world; end
|
66
|
+
|
67
|
+
# source://rspec-core/3.12.0/lib/rspec/core.rb#49
|
68
|
+
def world=(_arg0); end
|
69
|
+
|
70
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
71
|
+
def xcontext(*args, &example_group_block); end
|
72
|
+
|
73
|
+
# source://rspec-core/3.12.0/lib/rspec/core/dsl.rb#42
|
74
|
+
def xdescribe(*args, &example_group_block); end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# source://rspec//lib/rspec/version.rb#2
|
79
|
+
module RSpec::Version; end
|
80
|
+
|
81
|
+
# source://rspec//lib/rspec/version.rb#3
|
82
|
+
RSpec::Version::STRING = T.let(T.unsafe(nil), String)
|