omf_rc 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/omf_rc/resource_proxy/application.rb +4 -0
- data/lib/omf_rc/version.rb +1 -1
- metadata +4 -30
|
@@ -112,6 +112,10 @@ module OmfRc::ResourceProxy::Application
|
|
|
112
112
|
# define_method("on_app_event") { |*args| process_event(self, *args) }
|
|
113
113
|
# end
|
|
114
114
|
|
|
115
|
+
hook :before_release do |app|
|
|
116
|
+
app.configure_state(:stopped)
|
|
117
|
+
end
|
|
118
|
+
|
|
115
119
|
# @!macro hook
|
|
116
120
|
# @!method after_initial_configured
|
|
117
121
|
hook :after_initial_configured do |res|
|
data/lib/omf_rc/version.rb
CHANGED
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.
|
|
4
|
+
version: 6.0.3
|
|
5
5
|
prerelease:
|
|
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-06-
|
|
12
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: minitest
|
|
@@ -218,37 +218,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
218
218
|
version: '0'
|
|
219
219
|
segments:
|
|
220
220
|
- 0
|
|
221
|
-
hash:
|
|
221
|
+
hash: 4426195785601747847
|
|
222
222
|
requirements: []
|
|
223
223
|
rubyforge_project: omf_rc
|
|
224
224
|
rubygems_version: 1.8.25
|
|
225
225
|
signing_key:
|
|
226
226
|
specification_version: 3
|
|
227
227
|
summary: OMF resource controller
|
|
228
|
-
test_files:
|
|
229
|
-
- test/fixture/ip/addr_show
|
|
230
|
-
- test/fixture/iw/help
|
|
231
|
-
- test/fixture/iw/info
|
|
232
|
-
- test/fixture/iw/link
|
|
233
|
-
- test/fixture/lsmod
|
|
234
|
-
- test/fixture/oml.hash
|
|
235
|
-
- test/fixture/oml.spec
|
|
236
|
-
- test/fixture/oml.xml
|
|
237
|
-
- test/fixture/sys/class/ieee80211/phy0/device/uevent
|
|
238
|
-
- test/fixture/sys/class/ieee80211/phy0/uevent
|
|
239
|
-
- test/fixture/sys/class/net/eth0/device/uevent
|
|
240
|
-
- test/fixture/sys/class/net/eth0/uevent
|
|
241
|
-
- test/fixture/sys/class/net/wlan0/device/uevent
|
|
242
|
-
- test/fixture/sys/class/net/wlan0/uevent
|
|
243
|
-
- test/omf_rc/deferred_process_spec.rb
|
|
244
|
-
- test/omf_rc/message_process_error_spec.rb
|
|
245
|
-
- test/omf_rc/resource_factory_spec.rb
|
|
246
|
-
- test/omf_rc/resource_proxy/abstract_resource_spec.rb
|
|
247
|
-
- test/omf_rc/resource_proxy/application_spec.rb
|
|
248
|
-
- test/omf_rc/resource_proxy/node_spec.rb
|
|
249
|
-
- test/omf_rc/resource_proxy_dsl_spec.rb
|
|
250
|
-
- test/omf_rc/util/common_tools_spec.rb
|
|
251
|
-
- test/omf_rc/util/ip_spec.rb
|
|
252
|
-
- test/omf_rc/util/iw_spec.rb
|
|
253
|
-
- test/omf_rc/util/mod_spec.rb
|
|
254
|
-
- test/test_helper.rb
|
|
228
|
+
test_files: []
|