roodi 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/lib/roodi.rb +1 -1
- data/lib/roodi/core/runner.rb +2 -2
- metadata +6 -4
data/History.txt
CHANGED
data/lib/roodi.rb
CHANGED
data/lib/roodi/core/runner.rb
CHANGED
|
@@ -15,12 +15,12 @@ module Roodi
|
|
|
15
15
|
def initialize(*checks)
|
|
16
16
|
@config = DEFAULT_CONFIG
|
|
17
17
|
@checks = checks unless checks.empty?
|
|
18
|
-
@checks ||= load_checks
|
|
19
|
-
@checker ||= CheckingVisitor.new(@checks)
|
|
20
18
|
@parser = Parser.new
|
|
21
19
|
end
|
|
22
20
|
|
|
23
21
|
def check(filename, content)
|
|
22
|
+
@checks ||= load_checks
|
|
23
|
+
@checker ||= CheckingVisitor.new(@checks)
|
|
24
24
|
node = parse(filename, content)
|
|
25
25
|
node.accept(@checker) if node
|
|
26
26
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: roodi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marty Andrews
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-10-26 00:00:00 +11:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -103,6 +103,8 @@ files:
|
|
|
103
103
|
- spec/spec_helper.rb
|
|
104
104
|
has_rdoc: true
|
|
105
105
|
homepage: http://roodi.rubyforge.org
|
|
106
|
+
licenses: []
|
|
107
|
+
|
|
106
108
|
post_install_message:
|
|
107
109
|
rdoc_options:
|
|
108
110
|
- --main
|
|
@@ -124,9 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
126
|
requirements: []
|
|
125
127
|
|
|
126
128
|
rubyforge_project: roodi
|
|
127
|
-
rubygems_version: 1.3.
|
|
129
|
+
rubygems_version: 1.3.5
|
|
128
130
|
signing_key:
|
|
129
|
-
specification_version:
|
|
131
|
+
specification_version: 3
|
|
130
132
|
summary: Roodi stands for Ruby Object Oriented Design Inferometer
|
|
131
133
|
test_files: []
|
|
132
134
|
|