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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/inch.rb +7 -7
- data/lib/inch/api.rb +10 -10
- data/lib/inch/api/compare.rb +2 -2
- data/lib/inch/cli.rb +5 -5
- data/lib/inch/cli/command.rb +15 -15
- data/lib/inch/cli/command/console.rb +2 -2
- data/lib/inch/cli/command/diff.rb +2 -2
- data/lib/inch/cli/command/inspect.rb +2 -2
- data/lib/inch/cli/command/list.rb +2 -2
- data/lib/inch/cli/command/show.rb +2 -2
- data/lib/inch/cli/command/stats.rb +2 -2
- data/lib/inch/cli/command/suggest.rb +2 -2
- data/lib/inch/code_object.rb +3 -3
- data/lib/inch/code_object/provider.rb +1 -1
- data/lib/inch/code_object/provider/yard.rb +4 -4
- data/lib/inch/code_object/provider/yard/object.rb +7 -7
- data/lib/inch/code_object/provider/yard/object/method_object.rb +1 -1
- data/lib/inch/code_object/proxy.rb +7 -7
- data/lib/inch/codebase.rb +4 -4
- data/lib/inch/config.rb +2 -2
- data/lib/inch/core_ext.rb +1 -1
- data/lib/inch/evaluation.rb +14 -14
- data/lib/inch/evaluation/proxy.rb +6 -6
- data/lib/inch/rake.rb +1 -1
- data/lib/inch/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59bee612ede489407c91b02db9f32296bddcac2f
|
4
|
+
data.tar.gz: 855ca0e1f24b9c3014479238454d0a5e4378021b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
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
|
-
|
27
|
-
|
28
|
-
|
26
|
+
require 'inch/api/options/base'
|
27
|
+
require 'inch/api/options/filter'
|
28
|
+
require 'inch/api/options/suggest'
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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'
|
data/lib/inch/api/compare.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
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
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
29
|
+
require 'inch/cli/command'
|
data/lib/inch/cli/command.rb
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
require 'inch/cli/command/base'
|
2
|
+
require 'inch/cli/command/base_list'
|
3
|
+
require 'inch/cli/command/base_object'
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
-
|
9
|
+
require 'inch/cli/command/output/base'
|
10
10
|
|
11
|
-
|
11
|
+
require 'inch/cli/command_parser'
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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'
|
data/lib/inch/code_object.rb
CHANGED
@@ -51,7 +51,7 @@ require 'yard'
|
|
51
51
|
|
52
52
|
log.level = ::Logger::UNKNOWN # basically disable YARD's logging
|
53
53
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
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'
|
@@ -29,10 +29,10 @@ module Inch
|
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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
data/lib/inch/core_ext.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require 'inch/core_ext/string'
|
data/lib/inch/evaluation.rb
CHANGED
@@ -15,20 +15,20 @@ module Inch
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
|
18
|
+
require 'inch/utils/read_write_methods'
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|
34
|
+
require 'inch/evaluation/proxy'
|
@@ -17,9 +17,9 @@ module Inch
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
|
-
|
2
|
+
require 'inch/rake/suggest'
|
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.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-
|
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.
|
323
|
+
rubygems_version: 2.2.0
|
324
324
|
signing_key:
|
325
325
|
specification_version: 4
|
326
326
|
summary: Documentation measurement tool for Ruby
|