inch 0.3.1.rc2 → 0.3.1.rc3

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: b4c78cba299ef85641be6012a70673c2f49c9f65
4
- data.tar.gz: bde555cda2382c961a23859eb6f67dbe704805c4
3
+ metadata.gz: c7ebfc095c5dacd9a9b7e5c034e8ece4d04c62c0
4
+ data.tar.gz: 9fc736421aac730436c60b90ce2c8fe524e6a7af
5
5
  SHA512:
6
- metadata.gz: 7236776bb38bc2bf6e63ea63e276add0c948c38ba49d0dc2fb6cd942af29fefc9a7735eb031b0d445f73982858fa6dd1b765d12e45ca16804e1337f0d26cd8bb
7
- data.tar.gz: 541a00495639160bf9ae5588961a8a54891da23a73022ad27778f59bf086c4e6b47d2c943565b1d6781f1ae456d1f5fef0edf88d5293280e761fd4c49da614b0
6
+ metadata.gz: 4a9cebf6e1c4e435b68509c5e02b216ab99266d3e4bab7e7736eb5d3d5f216119426b0061e0280073c1b0c32aecf50f62925d6de4c75ea88ca551fa215880815
7
+ data.tar.gz: 316deebcb7ed8bb2fcd9ba8ea90454b407b55b2c8f99435a1b6d97f63f34e876c12ab54c3385e0fdc8b92a86adf165ba6016846f5d7e8282123f2543ad641b17
@@ -17,7 +17,7 @@ module Inch
17
17
  attr_accessor :base_dir
18
18
 
19
19
  # Tags considered by wrapper methods like {#has_code_example?}
20
- CONSIDERED_YARD_TAGS = %w(api example param private return)
20
+ CONSIDERED_YARD_TAGS = %w(api example param private return since)
21
21
 
22
22
  # convenient shortcuts to (YARD) code object
23
23
  def_delegators :object, :type, :namespace, :source, :source_type, :signature, :group, :dynamic, :visibility
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = "0.3.1.rc2"
2
+ VERSION = "0.3.1.rc3"
3
3
  end
@@ -41,6 +41,14 @@ module InchTest
41
41
  module PureNamespace
42
42
  end
43
43
 
44
+ # Some deprecated stuff
45
+ # @since 0.1.0
46
+ # @deprecated
47
+ module Deprecated
48
+ module ClassMethods
49
+ end
50
+ end
51
+
44
52
  # @deprecated
45
53
  # @see PureNamespace
46
54
  module ManyChildren
@@ -6,6 +6,12 @@ describe ::Inch::CodeObject::Proxy::MethodObject do
6
6
  @codebase = Inch::Codebase.parse(fixture_path(:simple), ["lib/**/*.rb"])
7
7
  end
8
8
 
9
+ def test_transitive_tags_dont_matter
10
+ m = @codebase.objects.find("InchTest::Deprecated::ClassMethods")
11
+ assert_equal 0, m.score
12
+ assert m.undocumented?
13
+ end
14
+
9
15
  def test_method_without_doc
10
16
  m = @codebase.objects.find("Foo::Bar#method_without_doc")
11
17
  refute m.has_doc?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1.rc2
4
+ version: 0.3.1.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - René Föhring
@@ -14,98 +14,98 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '5.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sparkr
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.2.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.2.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: term-ansicolor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: yard
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.8.7
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.8.7
111
111
  description: Documentation measurement tool for Ruby, based on YARD.
@@ -116,11 +116,11 @@ executables:
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
- - .gitignore
120
- - .ruby-gemset
121
- - .ruby-version
122
- - .simplecov
123
- - .travis.yml
119
+ - ".gitignore"
120
+ - ".ruby-gemset"
121
+ - ".ruby-version"
122
+ - ".simplecov"
123
+ - ".travis.yml"
124
124
  - Gemfile
125
125
  - LICENSE
126
126
  - README.md
@@ -280,17 +280,17 @@ require_paths:
280
280
  - lib
281
281
  required_ruby_version: !ruby/object:Gem::Requirement
282
282
  requirements:
283
- - - '>='
283
+ - - ">="
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  required_rubygems_version: !ruby/object:Gem::Requirement
287
287
  requirements:
288
- - - '>'
288
+ - - ">"
289
289
  - !ruby/object:Gem::Version
290
290
  version: 1.3.1
291
291
  requirements: []
292
292
  rubyforge_project:
293
- rubygems_version: 2.0.3
293
+ rubygems_version: 2.2.2
294
294
  signing_key:
295
295
  specification_version: 4
296
296
  summary: Documentation measurement tool for Ruby