inch 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inch/code_object/proxy/base.rb +6 -3
- data/lib/inch/version.rb +1 -1
- 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: a3d046495aa235b1de7a7b672064aa637bd234a9
|
4
|
+
data.tar.gz: 8c1f011bbae79bebace8b24652bc8d4a91e03423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da0b420bda2854141896e838ab0cb399110415370ceffdc026e686017a796389bd29f66fb4e085d617e42fc30c5e234e436f49b234270b7690fe67000121a549
|
7
|
+
data.tar.gz: a56f9672e84f23952719ea7c2087aa08ae736ed5b7e20c24f612066abc5fed6dc145e252c11cceae797c4fcb7a138a37a3a04373534ad5b9f1147d47a81580de
|
@@ -31,7 +31,11 @@ module Inch
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def api_tag?
|
34
|
-
!
|
34
|
+
!api_tag.nil?
|
35
|
+
end
|
36
|
+
|
37
|
+
def api_tag
|
38
|
+
object.tag(:api) || (parent && parent.api_tag)
|
35
39
|
end
|
36
40
|
|
37
41
|
# To be overridden
|
@@ -148,8 +152,7 @@ module Inch
|
|
148
152
|
end
|
149
153
|
|
150
154
|
def private_api_tag?
|
151
|
-
|
152
|
-
tag && tag.text == 'private'
|
155
|
+
api_tag && api_tag.text == 'private'
|
153
156
|
end
|
154
157
|
|
155
158
|
def protected?
|
data/lib/inch/version.rb
CHANGED