freyr 0.3.11 → 0.3.12
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 +5 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.12
|
data/lib/freyr/service_info.rb
CHANGED
@@ -102,7 +102,11 @@ module Freyr
|
|
102
102
|
|
103
103
|
def service name=nil, &blk
|
104
104
|
name = "#{@namespace}:#{name}" if @namespace
|
105
|
-
|
105
|
+
if service = Service[name].first
|
106
|
+
service.service_info.instance_eval(&blk)
|
107
|
+
else
|
108
|
+
@added_services << new(name,&blk)
|
109
|
+
end
|
106
110
|
end
|
107
111
|
end
|
108
112
|
|
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:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 12
|
10
|
+
version: 0.3.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tal Atlas
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-03 00:00:00 -04:00
|
19
19
|
default_executable: freyr
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|