freyr 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/freyr/service_info.rb +10 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.13
|
data/lib/freyr/service_info.rb
CHANGED
@@ -100,6 +100,16 @@ module Freyr
|
|
100
100
|
@namespace = name
|
101
101
|
end
|
102
102
|
|
103
|
+
def group name, *services
|
104
|
+
puts "Trying #{name.inspect} on #{services.inspect}"
|
105
|
+
services.each do |s|
|
106
|
+
Service[s].each do |service|
|
107
|
+
puts "Service: #{service.name}"
|
108
|
+
service.service_info.group(name)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
103
113
|
def service name=nil, &blk
|
104
114
|
name = "#{@namespace}:#{name}" if @namespace
|
105
115
|
if service = Service[name].first
|
metadata
CHANGED