freyr 0.4.0 → 0.4.1

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_group.rb +1 -5
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -1,15 +1,11 @@
1
1
  require 'delegate'
2
2
 
3
3
  module Freyr
4
- class ServiceGroup < DelegateClass(Array)
4
+ class ServiceGroup < Array
5
5
  extend Forwardable
6
6
  service_methods = Service.instance_methods - Class.instance_methods
7
7
  def_delegators :first, *service_methods
8
8
 
9
- def initialize
10
- super([])
11
- end
12
-
13
9
  def find_by_name(n)
14
10
  find {|s| s.name == n}
15
11
  end
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tal Atlas