omf_rc 6.0.2.pre.1 → 6.0.2.pre.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,9 +89,14 @@ class OmfRc::ResourceProxy::AbstractResource
89
89
  end
90
90
 
91
91
  creation_callback.call(self) if creation_callback
92
- copts = { res_id: self.resource_address, src: self.resource_address}
92
+
93
+ copts = { src: self.resource_address }
93
94
  copts[:cert] = @certificate.to_pem_compact if @certificate
94
- t.inform(:creation_ok, @property.reject { |k| [:parent_certificate, :parent].include?(k.to_sym) }, copts)
95
+
96
+ cprops = @property.reject { |k| [:parent_certificate, :parent].include?(k.to_sym) }
97
+ cprops[:res_id] = self.resource_address
98
+
99
+ t.inform(:creation_ok, cprops, copts)
95
100
 
96
101
  t.on_message(nil, @uid) do |imsg|
97
102
  process_omf_message(imsg, t)
@@ -329,7 +329,7 @@ module OmfRc::ResourceProxy::Application
329
329
  end
330
330
  end
331
331
 
332
- # Swich this Application RP into the 'running' state
332
+ # Switch this Application RP into the 'running' state
333
333
  # (see the description of configure :state)
334
334
  #
335
335
  work('switch_to_running') do |res|
@@ -1,3 +1,3 @@
1
1
  module OmfRc
2
- VERSION = "6.0.2.pre.1"
2
+ VERSION = "6.0.2.pre.2"
3
3
  end
data/omf_rc.gemspec CHANGED
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency "em-minitest-spec", "~> 1.1.1"
26
26
  s.add_development_dependency "pry"
27
27
  s.add_development_dependency "simplecov"
28
- s.add_runtime_dependency "omf_common", "~> 6.0.2.pre.1"
28
+ s.add_runtime_dependency "omf_common", "~> 6.0.2.pre.2"
29
29
  s.add_runtime_dependency "cocaine", "~> 0.3.0"
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_rc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2.pre.1
4
+ version: 6.0.2.pre.2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-29 00:00:00.000000000 Z
12
+ date: 2013-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 6.0.2.pre.1
85
+ version: 6.0.2.pre.2
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 6.0.2.pre.1
93
+ version: 6.0.2.pre.2
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: cocaine
96
96
  requirement: !ruby/object:Gem::Requirement