js-routes 2.2.1 → 2.2.4
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 +19 -0
- data/Readme.md +2 -1
- data/lib/js_routes/configuration.rb +111 -0
- data/lib/js_routes/engine.rb +28 -26
- data/lib/js_routes/generators/middleware.rb +1 -1
- data/lib/js_routes/instance.rb +173 -0
- data/lib/js_routes/middleware.rb +7 -3
- data/lib/js_routes/route.rb +1 -1
- data/lib/js_routes/version.rb +2 -2
- data/lib/js_routes.rb +8 -261
- data/lib/routes.d.ts +1 -1
- data/lib/routes.js +22 -27
- data/lib/routes.ts +21 -32
- data/spec/js_routes/default_serializer_spec.rb +4 -4
- data/spec/js_routes/module_types/amd_spec.rb +1 -1
- data/spec/js_routes/module_types/cjs_spec.rb +1 -1
- data/spec/js_routes/module_types/dts/routes.spec.d.ts +1 -1
- data/spec/js_routes/module_types/esm_spec.rb +2 -2
- data/spec/js_routes/module_types/nil_spec.rb +8 -7
- data/spec/js_routes/options_spec.rb +85 -82
- data/spec/js_routes/rails_routes_compatibility_spec.rb +127 -137
- data/spec/js_routes/route_specification_spec.rb +40 -0
- data/spec/spec_helper.rb +16 -4
- metadata +5 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: js-routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdan Gusiev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -170,9 +170,11 @@ files:
|
|
170
170
|
- js-routes.gemspec
|
171
171
|
- lib/js-routes.rb
|
172
172
|
- lib/js_routes.rb
|
173
|
+
- lib/js_routes/configuration.rb
|
173
174
|
- lib/js_routes/engine.rb
|
174
175
|
- lib/js_routes/generators/middleware.rb
|
175
176
|
- lib/js_routes/generators/webpacker.rb
|
177
|
+
- lib/js_routes/instance.rb
|
176
178
|
- lib/js_routes/middleware.rb
|
177
179
|
- lib/js_routes/route.rb
|
178
180
|
- lib/js_routes/version.rb
|
@@ -198,6 +200,7 @@ files:
|
|
198
200
|
- spec/js_routes/module_types/umd_spec.rb
|
199
201
|
- spec/js_routes/options_spec.rb
|
200
202
|
- spec/js_routes/rails_routes_compatibility_spec.rb
|
203
|
+
- spec/js_routes/route_specification_spec.rb
|
201
204
|
- spec/js_routes/zzz_last_post_rails_init_spec.rb
|
202
205
|
- spec/spec_helper.rb
|
203
206
|
- spec/support/routes.rb
|