inch 0.6.0.rc4 → 0.6.0.rc5

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
  SHA1:
3
- metadata.gz: 7f63da0c4e4ecd4de0707cfd4b8ac341474f2c31
4
- data.tar.gz: 9afeee597136a7555584d78c8714e2321350f213
3
+ metadata.gz: 4e0fbf4de3c8dff60c578af2acaddbd061645c03
4
+ data.tar.gz: 16c82a3ace60404b68e622ab5e25e9750692ef6b
5
5
  SHA512:
6
- metadata.gz: 9709a34ccdfceace36e8937a1c8a87baac1c825fde1bb702a74b3693f76f1c828a09bb68ca1a07b6d4c915051208460d11024570fa75591095630ebae6384c44
7
- data.tar.gz: 8139dbac4ab9ef70fc80d51ebc8c24abdddff9e7e72593e49b43722721dd8e011166ef780704901ca63030940d5169cbd281daaf58e8b68ecc3cd5ccf36d5d50
6
+ metadata.gz: 4f90b4d92ab6c91c07b7957ba2d4336ba6eaa26abb42487d18fddb9b8a937326c7e548a63050f8c9af88a80aaba83c3f11d442e9ecb256ef1719d1265620fbe4
7
+ data.tar.gz: aeb3b4b108f805749237ceece228644828f5bda071b6cd4e490decb82ba66835df22cd86e122c3df1e7c8e59e4d466dfc53d91533bd611d0e2f93aabea98043a
@@ -11,6 +11,10 @@ module Inch
11
11
  @text = without_comment_markers(text)
12
12
  end
13
13
 
14
+ def contains_code_example?
15
+ tag?(:example) || super
16
+ end
17
+
14
18
  def describes_internal_api?
15
19
  tag?(:api, :private) || super
16
20
  end
@@ -96,7 +96,7 @@ module Inch
96
96
  end
97
97
 
98
98
  def has_code_example?
99
- docstring.code_examples.size > 0
99
+ docstring.contains_code_example?
100
100
  end
101
101
 
102
102
  def has_doc?
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = '0.6.0.rc4'
2
+ VERSION = '0.6.0.rc5'
3
3
  end
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.6.0.rc4
4
+ version: 0.6.0.rc5
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: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -401,7 +401,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
401
401
  version: 1.3.1
402
402
  requirements: []
403
403
  rubyforge_project:
404
- rubygems_version: 2.4.2
404
+ rubygems_version: 2.2.2
405
405
  signing_key:
406
406
  specification_version: 4
407
407
  summary: Documentation measurement tool for Ruby