swagcov 0.2.2 → 0.2.3

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: a764a7d06c6d8217807646056aa78f72a0a1bec7c289c3eea9f1fc49fc118d44
4
- data.tar.gz: a5b592e359fc41b8dbd7ddb692d7f8b656bba1474c5b397159a5b0a32a096040
3
+ metadata.gz: d2973e06bae3594a017e460bb2729a55af6eb7a9c577d30e2eb7fdbc38ec2a4e
4
+ data.tar.gz: caf357b0caf1631d0d05cd33cbe72d89292be15435f7446c185b9310b458e7a5
5
5
  SHA512:
6
- metadata.gz: 1add2c26c08559ccc88a42739747676176b0c0d86e18c6086fceeaf82f44f418f1c63a7bb840a5d954be79a93d187d14a84a04a2e09059242bbeed27738beed7
7
- data.tar.gz: c15c67b17352ffc5be4fa6b4ae585647f9b217eb5620d9f534e9b1ab8903dbd859bbe656dc473f5e046dfc5f5f69265eba4b1b27f6dce426aa1ff374ee8d2949
6
+ metadata.gz: b6bbf2610deff567d6e53af5aa5e6a6a698f8a8ddb41e950cfaa8b43671a4fa691e0f1efc026390b9ee0325be26122aadb6f0858c97d34d1ff6e0fc41661b6ed
7
+ data.tar.gz: 27b8c790681655912e0cf05622446b5782adc4b6b2441d745f0cf02fcc8b288a8cbeab856eb3285adc75d5a4a8750679d83b5898d76a03a4d641802b76c2b5f4
@@ -22,6 +22,11 @@ module Swagcov
22
22
 
23
23
  path = route.path.spec.to_s.sub(/\(\.:format\)$/, "")
24
24
 
25
+ # Exclude routes that are part of the rails gem that you would not write documentation for
26
+ # https://github.com/rails/rails/tree/main/activestorage/app/controllers/active_storage
27
+ # https://github.com/rails/rails/tree/main/actionmailbox/app/controllers/action_mailbox
28
+ next if path.include?("/active_storage/") || path.include?("/action_mailbox/")
29
+
25
30
  if ignore_path?(path)
26
31
  @ignored += 1
27
32
  @routes_ignored << { verb: route.verb, path: path, status: "ignored" }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Swagcov
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sarah Ridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-22 00:00:00.000000000 Z
11
+ date: 2021-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails