inch 0.4.4 → 0.4.5

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: 7cde2814824ec7876f466317ceba6b4bae28f475
4
- data.tar.gz: 65d6041058aca4655bb7f9649fe86ef26bff9a0e
3
+ metadata.gz: 59bee612ede489407c91b02db9f32296bddcac2f
4
+ data.tar.gz: 855ca0e1f24b9c3014479238454d0a5e4378021b
5
5
  SHA512:
6
- metadata.gz: 1979a6512a86d73ca33c729062e7c107c1090b5997f96336658108b2cccce11aff0b2b85241119a1baeb38ff801f4beed32e40c8a59626b24150c1585050d995
7
- data.tar.gz: f0b5a6bfb7d9803b02d80f71c27b74ec663810a1e608d71c9c2ed7884a1790608df3fe2fbe529fd9ab2a1939b52fc603a20fb0b2ad5d7b6cd0258f5e314157b7
6
+ metadata.gz: 97c6be81a2121af032aa58da92a87df06e1d4e0d9d242d0d8358a38d3499ebe99fa2eb7aa999ca75feb35149eba4a971287bcb04ea74e4729287e225b2b7b4b5
7
+ data.tar.gz: 9f18030b6109d9aa63ec09e2393d61d8f492df236ca24fb2445cdacde4e8c4ea2a69062de618a7e75794ca6aed38af1e565a1e85cd019cd8c640c50e06b6b941
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## 0.4.4
5
+
6
+ - Fixes some bugs introduced in 0.4.3 concerning documentation that is
7
+ auto-generated by YARD and should not be recognized by Inch
8
+
9
+
4
10
  ## 0.4.3
5
11
 
6
12
  - Fixed a bug where the 'show' command did not properly recognize overloaded
data/lib/inch.rb CHANGED
@@ -5,12 +5,12 @@ end
5
5
 
6
6
  require 'forwardable'
7
7
 
8
- require_relative 'inch/api'
9
- require_relative 'inch/core_ext'
10
- require_relative 'inch/codebase'
11
- require_relative 'inch/code_object'
12
- require_relative 'inch/evaluation'
13
- require_relative 'inch/cli'
8
+ require 'inch/api'
9
+ require 'inch/core_ext'
10
+ require 'inch/codebase'
11
+ require 'inch/code_object'
12
+ require 'inch/evaluation'
13
+ require 'inch/cli'
14
14
 
15
- require_relative 'inch/config'
15
+ require 'inch/config'
16
16
  require File.join(File.dirname(__FILE__), '..', 'config', 'defaults.rb')
data/lib/inch/api.rb CHANGED
@@ -23,14 +23,14 @@ module Inch
23
23
  end
24
24
  end
25
25
 
26
- require_relative 'api/options/base'
27
- require_relative 'api/options/filter'
28
- require_relative 'api/options/suggest'
26
+ require 'inch/api/options/base'
27
+ require 'inch/api/options/filter'
28
+ require 'inch/api/options/suggest'
29
29
 
30
- require_relative 'api/compare'
31
- require_relative 'api/filter'
32
- require_relative 'api/get'
33
- require_relative 'api/list'
34
- require_relative 'api/suggest'
35
- require_relative 'api/stats'
36
- require_relative 'api/diff'
30
+ require 'inch/api/compare'
31
+ require 'inch/api/filter'
32
+ require 'inch/api/get'
33
+ require 'inch/api/list'
34
+ require 'inch/api/suggest'
35
+ require 'inch/api/stats'
36
+ require 'inch/api/diff'
@@ -1,2 +1,2 @@
1
- require_relative 'compare/code_objects'
2
- require_relative 'compare/codebases'
1
+ require 'inch/api/compare/code_objects'
2
+ require 'inch/api/compare/codebases'
data/lib/inch/cli.rb CHANGED
@@ -21,9 +21,9 @@ module Inch
21
21
  end
22
22
  end
23
23
 
24
- require_relative 'cli/arguments'
25
- require_relative 'cli/sparkline_helper'
26
- require_relative 'cli/trace_helper'
27
- require_relative 'cli/yardopts_helper'
24
+ require 'inch/cli/arguments'
25
+ require 'inch/cli/sparkline_helper'
26
+ require 'inch/cli/trace_helper'
27
+ require 'inch/cli/yardopts_helper'
28
28
 
29
- require_relative 'cli/command'
29
+ require 'inch/cli/command'
@@ -1,19 +1,19 @@
1
- require_relative 'command/base'
2
- require_relative 'command/base_list'
3
- require_relative 'command/base_object'
1
+ require 'inch/cli/command/base'
2
+ require 'inch/cli/command/base_list'
3
+ require 'inch/cli/command/base_object'
4
4
 
5
- require_relative 'command/options/base'
6
- require_relative 'command/options/base_list'
7
- require_relative 'command/options/base_object'
5
+ require 'inch/cli/command/options/base'
6
+ require 'inch/cli/command/options/base_list'
7
+ require 'inch/cli/command/options/base_object'
8
8
 
9
- require_relative 'command/output/base'
9
+ require 'inch/cli/command/output/base'
10
10
 
11
- require_relative 'command_parser'
11
+ require 'inch/cli/command_parser'
12
12
 
13
- require_relative 'command/list'
14
- require_relative 'command/show'
15
- require_relative 'command/stats'
16
- require_relative 'command/suggest'
17
- require_relative 'command/console'
18
- require_relative 'command/inspect'
19
- require_relative 'command/diff'
13
+ require 'inch/cli/command/list'
14
+ require 'inch/cli/command/show'
15
+ require 'inch/cli/command/stats'
16
+ require 'inch/cli/command/suggest'
17
+ require 'inch/cli/command/console'
18
+ require 'inch/cli/command/inspect'
19
+ require 'inch/cli/command/diff'
@@ -1,6 +1,6 @@
1
1
  require 'pry'
2
- require_relative 'options/console'
3
- require_relative 'output/console'
2
+ require 'inch/cli/command/options/console'
3
+ require 'inch/cli/command/output/console'
4
4
 
5
5
  module Inch
6
6
  module CLI
@@ -1,6 +1,6 @@
1
1
  require 'pry'
2
- require_relative 'options/diff'
3
- require_relative 'output/diff'
2
+ require 'inch/cli/command/options/diff'
3
+ require 'inch/cli/command/output/diff'
4
4
 
5
5
  module Inch
6
6
  module CLI
@@ -1,5 +1,5 @@
1
- require_relative 'options/inspect'
2
- require_relative 'output/inspect'
1
+ require 'inch/cli/command/options/inspect'
2
+ require 'inch/cli/command/output/inspect'
3
3
 
4
4
  module Inch
5
5
  module CLI
@@ -1,5 +1,5 @@
1
- require_relative 'options/list'
2
- require_relative 'output/list'
1
+ require 'inch/cli/command/options/list'
2
+ require 'inch/cli/command/output/list'
3
3
 
4
4
  module Inch
5
5
  module CLI
@@ -1,5 +1,5 @@
1
- require_relative 'options/show'
2
- require_relative 'output/show'
1
+ require 'inch/cli/command/options/show'
2
+ require 'inch/cli/command/output/show'
3
3
 
4
4
  module Inch
5
5
  module CLI
@@ -1,5 +1,5 @@
1
- require_relative 'options/stats'
2
- require_relative 'output/stats'
1
+ require 'inch/cli/command/options/stats'
2
+ require 'inch/cli/command/output/stats'
3
3
 
4
4
  module Inch
5
5
  module CLI
@@ -1,5 +1,5 @@
1
- require_relative 'options/suggest'
2
- require_relative 'output/suggest'
1
+ require 'inch/cli/command/options/suggest'
2
+ require 'inch/cli/command/output/suggest'
3
3
 
4
4
  module Inch
5
5
  module CLI
@@ -3,6 +3,6 @@ module Inch
3
3
  end
4
4
  end
5
5
 
6
- require_relative 'code_object/converter'
7
- require_relative 'code_object/provider'
8
- require_relative 'code_object/proxy'
6
+ require 'inch/code_object/converter'
7
+ require 'inch/code_object/provider'
8
+ require 'inch/code_object/proxy'
@@ -33,4 +33,4 @@ module Inch
33
33
  end
34
34
  end
35
35
 
36
- require_relative 'provider/yard'
36
+ require 'inch/code_object/provider/yard'
@@ -51,7 +51,7 @@ require 'yard'
51
51
 
52
52
  log.level = ::Logger::UNKNOWN # basically disable YARD's logging
53
53
 
54
- require_relative 'yard/parser'
55
- require_relative 'yard/docstring'
56
- require_relative 'yard/nodoc_helper'
57
- require_relative 'yard/object'
54
+ require 'inch/code_object/provider/yard/parser'
55
+ require 'inch/code_object/provider/yard/docstring'
56
+ require 'inch/code_object/provider/yard/nodoc_helper'
57
+ require 'inch/code_object/provider/yard/object'
@@ -50,10 +50,10 @@ module Inch
50
50
  end
51
51
  end
52
52
 
53
- require_relative 'object/base'
54
- require_relative 'object/namespace_object'
55
- require_relative 'object/class_object'
56
- require_relative 'object/constant_object'
57
- require_relative 'object/method_object'
58
- require_relative 'object/method_parameter_object'
59
- require_relative 'object/module_object'
53
+ require 'inch/code_object/provider/yard/object/base'
54
+ require 'inch/code_object/provider/yard/object/namespace_object'
55
+ require 'inch/code_object/provider/yard/object/class_object'
56
+ require 'inch/code_object/provider/yard/object/constant_object'
57
+ require 'inch/code_object/provider/yard/object/method_object'
58
+ require 'inch/code_object/provider/yard/object/method_parameter_object'
59
+ require 'inch/code_object/provider/yard/object/module_object'
@@ -1,4 +1,4 @@
1
- require_relative 'method_signature'
1
+ require 'inch/code_object/provider/yard/object/method_signature'
2
2
 
3
3
  module Inch
4
4
  module CodeObject
@@ -29,10 +29,10 @@ module Inch
29
29
  end
30
30
  end
31
31
 
32
- require_relative 'proxy/base'
33
- require_relative 'proxy/namespace_object'
34
- require_relative 'proxy/class_object'
35
- require_relative 'proxy/constant_object'
36
- require_relative 'proxy/method_object'
37
- require_relative 'proxy/method_parameter_object'
38
- require_relative 'proxy/module_object'
32
+ require 'inch/code_object/proxy/base'
33
+ require 'inch/code_object/proxy/namespace_object'
34
+ require 'inch/code_object/proxy/class_object'
35
+ require 'inch/code_object/proxy/constant_object'
36
+ require 'inch/code_object/proxy/method_object'
37
+ require 'inch/code_object/proxy/method_parameter_object'
38
+ require 'inch/code_object/proxy/module_object'
data/lib/inch/codebase.rb CHANGED
@@ -15,8 +15,8 @@ module Inch
15
15
  end
16
16
  end
17
17
 
18
- require_relative 'codebase/proxy'
19
- require_relative 'codebase/objects'
20
- require_relative 'codebase/objects_filter'
21
- require_relative 'codebase/serializer'
18
+ require 'inch/codebase/proxy'
19
+ require 'inch/codebase/objects'
20
+ require 'inch/codebase/objects_filter'
21
+ require 'inch/codebase/serializer'
22
22
 
data/lib/inch/config.rb CHANGED
@@ -20,5 +20,5 @@ module Inch
20
20
  end
21
21
  end
22
22
 
23
- require_relative 'config/base'
24
- require_relative 'config/codebase'
23
+ require 'inch/config/base'
24
+ require 'inch/config/codebase'
data/lib/inch/core_ext.rb CHANGED
@@ -1 +1 @@
1
- require_relative 'core_ext/string'
1
+ require 'inch/core_ext/string'
@@ -15,20 +15,20 @@ module Inch
15
15
  end
16
16
  end
17
17
 
18
- require_relative 'utils/read_write_methods'
18
+ require 'inch/utils/read_write_methods'
19
19
 
20
- require_relative 'evaluation/file'
21
- require_relative 'evaluation/grade'
22
- require_relative 'evaluation/grade_list'
23
- require_relative 'evaluation/object_schema'
24
- require_relative 'evaluation/priority_range'
20
+ require 'inch/evaluation/file'
21
+ require 'inch/evaluation/grade'
22
+ require 'inch/evaluation/grade_list'
23
+ require 'inch/evaluation/object_schema'
24
+ require 'inch/evaluation/priority_range'
25
25
 
26
- require_relative 'evaluation/role/base'
27
- require_relative 'evaluation/role/missing'
28
- require_relative 'evaluation/role/object'
29
- require_relative 'evaluation/role/method'
30
- require_relative 'evaluation/role/method_parameter'
31
- require_relative 'evaluation/role/namespace'
32
- require_relative 'evaluation/role/constant'
26
+ require 'inch/evaluation/role/base'
27
+ require 'inch/evaluation/role/missing'
28
+ require 'inch/evaluation/role/object'
29
+ require 'inch/evaluation/role/method'
30
+ require 'inch/evaluation/role/method_parameter'
31
+ require 'inch/evaluation/role/namespace'
32
+ require 'inch/evaluation/role/constant'
33
33
 
34
- require_relative 'evaluation/proxy'
34
+ require 'inch/evaluation/proxy'
@@ -17,9 +17,9 @@ module Inch
17
17
  end
18
18
  end
19
19
 
20
- require_relative 'proxy/base'
21
- require_relative 'proxy/namespace_object'
22
- require_relative 'proxy/class_object'
23
- require_relative 'proxy/constant_object'
24
- require_relative 'proxy/method_object'
25
- require_relative 'proxy/module_object'
20
+ require 'inch/evaluation/proxy/base'
21
+ require 'inch/evaluation/proxy/namespace_object'
22
+ require 'inch/evaluation/proxy/class_object'
23
+ require 'inch/evaluation/proxy/constant_object'
24
+ require 'inch/evaluation/proxy/method_object'
25
+ require 'inch/evaluation/proxy/module_object'
data/lib/inch/rake.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  require 'inch'
2
- require_relative 'rake/suggest'
2
+ require 'inch/rake/suggest'
data/lib/inch/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
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.4.4
4
+ version: 0.4.5
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-04-29 00:00:00.000000000 Z
11
+ date: 2014-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -320,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
320
  version: '0'
321
321
  requirements: []
322
322
  rubyforge_project:
323
- rubygems_version: 2.2.2
323
+ rubygems_version: 2.2.0
324
324
  signing_key:
325
325
  specification_version: 4
326
326
  summary: Documentation measurement tool for Ruby