enroute 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +4 -4
- data/lib/enroute/routes.rb +2 -2
- data/lib/enroute/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a65a1195f13ae4e7252622ddbc6da85afd4076aff0e954acb1460ea5792b4018
|
4
|
+
data.tar.gz: 3ee3e8d588d5b525122530b89d20561eaaef96d4967e952c9b291ee9c74036ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2b6a3fab6873badc69fb61a1708dc6a090861b7f8859145e97492d97fc04a9dde3e314861b999756c3e9ba0c7db4bb5c93058f63d5b4d83f4542b989ac00e1f
|
7
|
+
data.tar.gz: c608f1415e466716c2f423f70e857739963963cc19d27976cded97bb2e0c4b48c9f726f2fa1307f15c96389868f2efa24d9e93e0b1ce6ff4e212016878fe3c46
|
data/.github/workflows/tests.yml
CHANGED
@@ -26,9 +26,9 @@ jobs:
|
|
26
26
|
- gemfiles/rails_6_1.gemfile
|
27
27
|
|
28
28
|
steps:
|
29
|
-
- uses: actions/checkout@
|
29
|
+
- uses: actions/checkout@v3
|
30
30
|
|
31
|
-
- uses: actions/cache@
|
31
|
+
- uses: actions/cache@v3
|
32
32
|
with:
|
33
33
|
path: vendor/bundle
|
34
34
|
key: >
|
@@ -36,7 +36,7 @@ jobs:
|
|
36
36
|
hashFiles('package.json') }}
|
37
37
|
|
38
38
|
- name: Set up Node
|
39
|
-
uses: actions/setup-node@
|
39
|
+
uses: actions/setup-node@v3
|
40
40
|
with:
|
41
41
|
node-version: ${{ matrix.node }}
|
42
42
|
|
@@ -44,7 +44,7 @@ jobs:
|
|
44
44
|
run: |
|
45
45
|
yarn install
|
46
46
|
|
47
|
-
- uses: actions/cache@
|
47
|
+
- uses: actions/cache@v3
|
48
48
|
with:
|
49
49
|
path: vendor/bundle
|
50
50
|
key: >
|
data/lib/enroute/routes.rb
CHANGED
@@ -42,7 +42,7 @@ module Enroute
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def reduce_methods(routes)
|
45
|
-
routes.map(&:verb).flatten.map(&:downcase).uniq
|
45
|
+
routes.map(&:verb).flatten.map(&:downcase).uniq.reject(&:empty?)
|
46
46
|
end
|
47
47
|
|
48
48
|
def camelize_map(list)
|
@@ -72,7 +72,7 @@ module Enroute
|
|
72
72
|
# on `:ignore`.
|
73
73
|
selected_routes.reject do |route|
|
74
74
|
route.name.nil? ||
|
75
|
-
route.name.match?(/rails|script/) ||
|
75
|
+
route.name.match?(/rails|script|turbo/) ||
|
76
76
|
config.fetch(:ignore, []).include?(route.name)
|
77
77
|
end
|
78
78
|
end
|
data/lib/enroute/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enroute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
|
-
rubygems_version: 3.3.
|
201
|
+
rubygems_version: 3.3.17
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Export Rails routes to TypeScript definitions
|