gems-status 0.44.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/gems-status.rb +14 -9
- data/lib/gems-status/gems_composite_command.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.45.0
|
data/lib/gems-status.rb
CHANGED
@@ -15,25 +15,30 @@ module GemsStatus
|
|
15
15
|
class GemStatus
|
16
16
|
def initialize(conf)
|
17
17
|
@conf = conf
|
18
|
-
|
19
|
-
|
20
|
-
def execute
|
21
|
-
gems_composite_command = GemsCompositeCommand.new(@conf["target"])
|
18
|
+
@gems_composite_command = nil
|
19
|
+
@gems_composite_command = GemsCompositeCommand.new(@conf["target"])
|
22
20
|
@conf["sources"].each do |c|
|
23
21
|
gems = eval(c["classname"]).new(c)
|
24
|
-
gems_composite_command.add_command(gems)
|
22
|
+
@gems_composite_command.add_command(gems)
|
25
23
|
end
|
26
24
|
if @conf["checkers"]
|
27
25
|
@conf["checkers"].each do |c|
|
28
26
|
checker = eval(c["classname"]).new(c)
|
29
|
-
gems_composite_command.add_checker(checker)
|
27
|
+
@gems_composite_command.add_checker(checker)
|
30
28
|
end
|
31
29
|
end
|
32
30
|
if @conf["comments"]
|
33
|
-
gems_composite_command.add_comments(@conf["comments"])
|
31
|
+
@gems_composite_command.add_comments(@conf["comments"])
|
34
32
|
end
|
35
|
-
|
36
|
-
|
33
|
+
end
|
34
|
+
|
35
|
+
def execute
|
36
|
+
@gems_composite_command.execute
|
37
|
+
@gems_composite_command.print
|
38
|
+
end
|
39
|
+
|
40
|
+
def results
|
41
|
+
@gems_composite_command.results
|
37
42
|
end
|
38
43
|
end
|
39
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gems-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
segments:
|
236
236
|
- 0
|
237
|
-
hash:
|
237
|
+
hash: 583215878566772979
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
none: false
|
240
240
|
requirements:
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: '0'
|
244
244
|
segments:
|
245
245
|
- 0
|
246
|
-
hash:
|
246
|
+
hash: 583215878566772979
|
247
247
|
requirements: []
|
248
248
|
rubyforge_project:
|
249
249
|
rubygems_version: 1.8.25
|