freyr 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/freyr/service_info.rb +10 -0
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.12
1
+ 0.3.13
@@ -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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freyr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 12
10
- version: 0.3.12
9
+ - 13
10
+ version: 0.3.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tal Atlas