ts_routes 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/ts_routes/runtime.ts +1 -1
- data/lib/ts_routes/version.rb +1 -1
- data/tslint.json +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41ebddaca537c82f8c13f7e16a1bf7c2e8e7a3a7
|
4
|
+
data.tar.gz: f6f82e0c73649d740fca92eb3648abd71de65044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 305e44d28094f5dc7dbea2e645d7d0034250288e04bc3de9b5c8152a155951bb46a44ac3bec5c78c1a8a523c45106fa15a932bf5f2d3d1d77eb9fbc5af275727
|
7
|
+
data.tar.gz: cb68c7e82175b4d52ef4ac5c80041e5f4a5c109345cf7083c1b5e3f02330e81eb883a1bd39948d47e65686ab2c951b506c2b071c03a2659ebd5b7163ad66e220
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ In your `lib/tasks/ts_routes.rake`:
|
|
10
10
|
```ruby:ts_routes.rake
|
11
11
|
|
12
12
|
namespace :ts do
|
13
|
-
TS_ROUTES_FILENAME = "javascripts/generated/
|
13
|
+
TS_ROUTES_FILENAME = "javascripts/generated/routes.ts"
|
14
14
|
|
15
15
|
desc "Generate #{TS_ROUTES_FILENAME}"
|
16
16
|
task routes: :environment do
|
@@ -23,7 +23,7 @@ namespace :ts do
|
|
23
23
|
end
|
24
24
|
```
|
25
25
|
|
26
|
-
Then, execute `rake ts:routes` to generate `
|
26
|
+
Then, execute `rake ts:routes` to generate `routes.ts` in your favorite path.
|
27
27
|
|
28
28
|
And you can import it in TypeScript code:
|
29
29
|
|
data/lib/ts_routes/runtime.ts
CHANGED
data/lib/ts_routes/version.rb
CHANGED
data/tslint.json
CHANGED