js-routes 2.2.9 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -3
- data/Readme.md +16 -15
- data/lib/js_routes/configuration.rb +7 -5
- data/lib/js_routes/generators/base.rb +6 -1
- data/lib/js_routes/generators/middleware.rb +2 -3
- data/lib/js_routes/generators/webpacker.rb +2 -1
- data/lib/js_routes/instance.rb +21 -6
- data/lib/js_routes/middleware.rb +5 -4
- data/lib/js_routes/route.rb +7 -3
- data/lib/js_routes/types.rb +10 -0
- data/lib/js_routes/utils.rb +18 -0
- data/lib/js_routes/version.rb +1 -1
- data/lib/js_routes.rb +12 -4
- data/lib/routes.d.ts +7 -6
- data/lib/routes.js +19 -18
- data/lib/routes.ts +33 -27
- data/lib/tasks/js_routes.rake +4 -2
- metadata +12 -145
- data/.document +0 -5
- data/.eslintrc.js +0 -15
- data/.github/workflows/ci.yml +0 -36
- data/.gitignore +0 -65
- data/.nvmrc +0 -1
- data/.rspec +0 -1
- data/Appraisals +0 -17
- data/Gemfile +0 -9
- data/Rakefile +0 -37
- data/VERSION_2_UPGRADE.md +0 -66
- data/bin/tapioca +0 -27
- data/gemfiles/rails50_sprockets_3.gemfile +0 -8
- data/gemfiles/rails51_sprockets_3.gemfile +0 -8
- data/gemfiles/rails52_sprockets_3.gemfile +0 -8
- data/gemfiles/rails70_sprockets_4.gemfile +0 -8
- data/js-routes.gemspec +0 -42
- data/package.json +0 -38
- data/sorbet/config +0 -4
- data/sorbet/rbi/annotations/.gitattributes +0 -1
- data/sorbet/rbi/annotations/actionpack.rbi +0 -428
- data/sorbet/rbi/annotations/actionview.rbi +0 -75
- data/sorbet/rbi/annotations/activesupport.rbi +0 -421
- data/sorbet/rbi/annotations/railties.rbi +0 -61
- data/sorbet/rbi/gems/.gitattributes +0 -1
- data/sorbet/rbi/gems/actionpack@7.0.4.1.rbi +0 -303
- data/sorbet/rbi/gems/actionview@7.0.4.1.rbi +0 -8
- data/sorbet/rbi/gems/activesupport@7.0.4.1.rbi +0 -16424
- data/sorbet/rbi/gems/appraisal@2.4.1.rbi +0 -584
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -168
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -3606
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
- data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +0 -11570
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -8
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +0 -145
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -2296
- data/sorbet/rbi/gems/libv8-node@16.10.0.0.rbi +0 -8
- data/sorbet/rbi/gems/loofah@2.19.1.rbi +0 -8
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
- data/sorbet/rbi/gems/mini_racer@0.6.3.rbi +0 -224
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +0 -1457
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
- data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.24.0.rbi +0 -280
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/prism@0.24.0.rbi +0 -29744
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +0 -1150
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10075
- data/sorbet/rbi/gems/racc@1.6.2.rbi +0 -150
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +0 -8
- data/sorbet/rbi/gems/rack@2.2.6.2.rbi +0 -5585
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi +0 -8
- data/sorbet/rbi/gems/railties@7.0.4.1.rbi +0 -1959
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3072
- data/sorbet/rbi/gems/rbi@0.1.9.rbi +0 -3006
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +0 -10868
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +0 -8100
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +0 -5299
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +0 -1611
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
- data/sorbet/rbi/gems/spoom@1.2.4.rbi +0 -3777
- data/sorbet/rbi/gems/sprockets-rails@3.4.2.rbi +0 -14
- data/sorbet/rbi/gems/sprockets@4.2.0.rbi +0 -8
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
- data/sorbet/rbi/gems/tapioca@0.12.0.rbi +0 -3510
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3956
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -5914
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -428
- data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18332
- data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -8
- data/sorbet/rbi/todo.rbi +0 -31
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
- data/spec/dummy/app/assets/config/manifest.js +0 -2
- data/spec/dummy/app/assets/javascripts/.gitkeep +0 -0
- data/spec/dummy/config/routes.rb +0 -55
- data/spec/js_routes/default_serializer_spec.rb +0 -31
- data/spec/js_routes/module_types/amd_spec.rb +0 -35
- data/spec/js_routes/module_types/cjs_spec.rb +0 -15
- data/spec/js_routes/module_types/dts/routes.spec.d.ts +0 -115
- data/spec/js_routes/module_types/dts/test.spec.ts +0 -56
- data/spec/js_routes/module_types/dts_spec.rb +0 -126
- data/spec/js_routes/module_types/esm_spec.rb +0 -45
- data/spec/js_routes/module_types/nil_spec.rb +0 -87
- data/spec/js_routes/module_types/umd_spec.rb +0 -85
- data/spec/js_routes/options_spec.rb +0 -508
- data/spec/js_routes/rails_routes_compatibility_spec.rb +0 -473
- data/spec/js_routes/route_specification_spec.rb +0 -37
- data/spec/js_routes/zzz_sprockets_spec.rb +0 -152
- data/spec/spec_helper.rb +0 -135
- data/spec/support/routes.rb +0 -81
- data/spec/tsconfig.json +0 -4
- data/tsconfig.json +0 -28
- data/yarn.lock +0 -2457
@@ -1,168 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `bump` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem bump`.
|
6
|
-
|
7
|
-
# source://bump//lib/bump.rb#3
|
8
|
-
module Bump
|
9
|
-
class << self
|
10
|
-
# Returns the value of attribute changelog.
|
11
|
-
#
|
12
|
-
# source://bump//lib/bump.rb#13
|
13
|
-
def changelog; end
|
14
|
-
|
15
|
-
# Sets the attribute changelog
|
16
|
-
#
|
17
|
-
# @param value the value to set the attribute changelog to.
|
18
|
-
#
|
19
|
-
# source://bump//lib/bump.rb#13
|
20
|
-
def changelog=(_arg0); end
|
21
|
-
|
22
|
-
# Returns the value of attribute replace_in_default.
|
23
|
-
#
|
24
|
-
# source://bump//lib/bump.rb#13
|
25
|
-
def replace_in_default; end
|
26
|
-
|
27
|
-
# Sets the attribute replace_in_default
|
28
|
-
#
|
29
|
-
# @param value the value to set the attribute replace_in_default to.
|
30
|
-
#
|
31
|
-
# source://bump//lib/bump.rb#13
|
32
|
-
def replace_in_default=(_arg0); end
|
33
|
-
|
34
|
-
# Returns the value of attribute tag_by_default.
|
35
|
-
#
|
36
|
-
# source://bump//lib/bump.rb#13
|
37
|
-
def tag_by_default; end
|
38
|
-
|
39
|
-
# Sets the attribute tag_by_default
|
40
|
-
#
|
41
|
-
# @param value the value to set the attribute tag_by_default to.
|
42
|
-
#
|
43
|
-
# source://bump//lib/bump.rb#13
|
44
|
-
def tag_by_default=(_arg0); end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# source://bump//lib/bump.rb#16
|
49
|
-
class Bump::Bump
|
50
|
-
class << self
|
51
|
-
# source://bump//lib/bump.rb#71
|
52
|
-
def current; end
|
53
|
-
|
54
|
-
# source://bump//lib/bump.rb#23
|
55
|
-
def defaults; end
|
56
|
-
|
57
|
-
# source://bump//lib/bump.rb#100
|
58
|
-
def file; end
|
59
|
-
|
60
|
-
# source://bump//lib/bump.rb#75
|
61
|
-
def next_version(increment, current = T.unsafe(nil)); end
|
62
|
-
|
63
|
-
# source://bump//lib/bump.rb#104
|
64
|
-
def parse_cli_options!(options); end
|
65
|
-
|
66
|
-
# source://bump//lib/bump.rb#34
|
67
|
-
def run(bump, options = T.unsafe(nil)); end
|
68
|
-
|
69
|
-
private
|
70
|
-
|
71
|
-
# source://bump//lib/bump.rb#123
|
72
|
-
def bump(file, current, next_version, options); end
|
73
|
-
|
74
|
-
# source://bump//lib/bump.rb#188
|
75
|
-
def bump_changelog(file, current); end
|
76
|
-
|
77
|
-
# source://bump//lib/bump.rb#177
|
78
|
-
def bump_part(increment, options); end
|
79
|
-
|
80
|
-
# source://bump//lib/bump.rb#183
|
81
|
-
def bump_set(next_version, options); end
|
82
|
-
|
83
|
-
# source://bump//lib/bump.rb#165
|
84
|
-
def bundler_with_clean_env(&block); end
|
85
|
-
|
86
|
-
# source://bump//lib/bump.rb#216
|
87
|
-
def commit(version, options); end
|
88
|
-
|
89
|
-
# source://bump//lib/bump.rb#211
|
90
|
-
def commit_message(version, options); end
|
91
|
-
|
92
|
-
# @raise [UnfoundVersionError]
|
93
|
-
#
|
94
|
-
# source://bump//lib/bump.rb#233
|
95
|
-
def current_info; end
|
96
|
-
|
97
|
-
# source://bump//lib/bump.rb#290
|
98
|
-
def extract_version_from_file(file); end
|
99
|
-
|
100
|
-
# source://bump//lib/bump.rb#296
|
101
|
-
def find_version_file(pattern); end
|
102
|
-
|
103
|
-
# source://bump//lib/bump.rb#222
|
104
|
-
def git_add(file); end
|
105
|
-
|
106
|
-
# source://bump//lib/bump.rb#160
|
107
|
-
def open_changelog(log); end
|
108
|
-
|
109
|
-
# source://bump//lib/bump.rb#113
|
110
|
-
def parse_cli_options_value(value); end
|
111
|
-
|
112
|
-
# source://bump//lib/bump.rb#226
|
113
|
-
def replace(file, old, new); end
|
114
|
-
|
115
|
-
# @return [Boolean]
|
116
|
-
#
|
117
|
-
# source://bump//lib/bump.rb#306
|
118
|
-
def under_version_control?(file); end
|
119
|
-
|
120
|
-
# source://bump//lib/bump.rb#283
|
121
|
-
def version_from_chef; end
|
122
|
-
|
123
|
-
# source://bump//lib/bump.rb#247
|
124
|
-
def version_from_gemspec; end
|
125
|
-
|
126
|
-
# source://bump//lib/bump.rb#275
|
127
|
-
def version_from_lib_rb; end
|
128
|
-
|
129
|
-
# source://bump//lib/bump.rb#269
|
130
|
-
def version_from_version; end
|
131
|
-
|
132
|
-
# source://bump//lib/bump.rb#260
|
133
|
-
def version_from_version_rb; end
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
# source://bump//lib/bump.rb#17
|
138
|
-
Bump::Bump::BUMPS = T.let(T.unsafe(nil), Array)
|
139
|
-
|
140
|
-
# source://bump//lib/bump.rb#19
|
141
|
-
Bump::Bump::OPTIONS = T.let(T.unsafe(nil), Array)
|
142
|
-
|
143
|
-
# source://bump//lib/bump.rb#18
|
144
|
-
Bump::Bump::PRERELEASE = T.let(T.unsafe(nil), Array)
|
145
|
-
|
146
|
-
# source://bump//lib/bump.rb#20
|
147
|
-
Bump::Bump::VERSION_REGEX = T.let(T.unsafe(nil), Regexp)
|
148
|
-
|
149
|
-
# source://bump//lib/bump.rb#4
|
150
|
-
class Bump::InvalidIncrementError < ::StandardError; end
|
151
|
-
|
152
|
-
# source://bump//lib/bump.rb#5
|
153
|
-
class Bump::InvalidOptionError < ::StandardError; end
|
154
|
-
|
155
|
-
# source://bump//lib/bump.rb#6
|
156
|
-
class Bump::InvalidVersionError < ::StandardError; end
|
157
|
-
|
158
|
-
# source://bump//lib/bump.rb#10
|
159
|
-
class Bump::RakeArgumentsDeprecatedError < ::StandardError; end
|
160
|
-
|
161
|
-
# source://bump//lib/bump.rb#8
|
162
|
-
class Bump::TooManyVersionFilesError < ::StandardError; end
|
163
|
-
|
164
|
-
# source://bump//lib/bump.rb#7
|
165
|
-
class Bump::UnfoundVersionError < ::StandardError; end
|
166
|
-
|
167
|
-
# source://bump//lib/bump.rb#9
|
168
|
-
class Bump::UnfoundVersionFileError < ::StandardError; end
|