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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06bc811c29cc22e38f04da053aaa4937655d0bfd1d560541debc14d9f6a878b6
4
- data.tar.gz: cc87159a87cbe328720a39d088a995ac0bb8b1439ce53658b807383f252da53d
3
+ metadata.gz: a65a1195f13ae4e7252622ddbc6da85afd4076aff0e954acb1460ea5792b4018
4
+ data.tar.gz: 3ee3e8d588d5b525122530b89d20561eaaef96d4967e952c9b291ee9c74036ad
5
5
  SHA512:
6
- metadata.gz: da2c4e5c421a4e8558283bc8eab7a0ac55e979ee4973c41d61b4a519fac4f05d927ac336bb57c33e0f29d10782f7fa76d1bfa3b72d9a6be08a6a41a592ee52db
7
- data.tar.gz: 7f2df67d0fd20edb668a268da02fae0486cd62a5704b444d063c04f8b23b70808c0cec2d56e3ae1d7b8b34254f136abee9891e61b590ed41eeeb43985f9347ce
6
+ metadata.gz: e2b6a3fab6873badc69fb61a1708dc6a090861b7f8859145e97492d97fc04a9dde3e314861b999756c3e9ba0c7db4bb5c93058f63d5b4d83f4542b989ac00e1f
7
+ data.tar.gz: c608f1415e466716c2f423f70e857739963963cc19d27976cded97bb2e0c4b48c9f726f2fa1307f15c96389868f2efa24d9e93e0b1ce6ff4e212016878fe3c46
@@ -26,9 +26,9 @@ jobs:
26
26
  - gemfiles/rails_6_1.gemfile
27
27
 
28
28
  steps:
29
- - uses: actions/checkout@v2.4.0
29
+ - uses: actions/checkout@v3
30
30
 
31
- - uses: actions/cache@v2
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@v2.5.1
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@v2
47
+ - uses: actions/cache@v3
48
48
  with:
49
49
  path: vendor/bundle
50
50
  key: >
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Enroute
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
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
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-02-19 00:00:00.000000000 Z
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.7
201
+ rubygems_version: 3.3.17
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: Export Rails routes to TypeScript definitions