inch 0.5.5 → 0.5.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14108473ee83283cca8d56b272807810ab09056e
|
4
|
+
data.tar.gz: a51660cc84f73f11717335bb48d2c48b61c13d8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbc22fb1dd913d5b77ddd6097a079a060f1eb0bb2fe4ed801b057794e442e4ea6b6ef406727b7cae78e044f371682b29e69c91c1c6493d58cbd45bd3c49c7ed6
|
7
|
+
data.tar.gz: 7bb0049037d2abc2814e63934df47571afb9bf91a1f863bea16b303503fd120ff34286ad024a6e73da6782e869c1fe8c5dc2b814cc395dba5750e4cbdef18243
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,8 @@ module Inch
|
|
5
5
|
module Provider
|
6
6
|
module JSDoc
|
7
7
|
class Docstring < Ruby::Provider::YARD::Docstring
|
8
|
+
VISIBILITIES = %w(public protected private)
|
9
|
+
|
8
10
|
# Removes the comment markers // /* */ from the docstring.
|
9
11
|
#
|
10
12
|
# Docstring.new("// test").without_comment_markers
|
@@ -43,9 +45,10 @@ module Inch
|
|
43
45
|
end
|
44
46
|
|
45
47
|
def visibility
|
46
|
-
|
48
|
+
tagged_value = VISIBILITIES.detect do |v|
|
47
49
|
tag?(v)
|
48
|
-
end
|
50
|
+
end
|
51
|
+
(tagged_value || 'public').to_sym
|
49
52
|
end
|
50
53
|
|
51
54
|
def tag?(tagname, regex = nil)
|
data/lib/inch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- René Föhring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -396,7 +396,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
396
396
|
version: '0'
|
397
397
|
requirements: []
|
398
398
|
rubyforge_project:
|
399
|
-
rubygems_version: 2.
|
399
|
+
rubygems_version: 2.4.2
|
400
400
|
signing_key:
|
401
401
|
specification_version: 4
|
402
402
|
summary: Documentation measurement tool for Ruby
|