omf_rc 6.1.2.pre.4 → 6.1.2.pre.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/omf_rc/resource_proxy/node.rb +0 -28
  2. metadata +4 -4
@@ -77,33 +77,5 @@ module OmfRc::ResourceProxy::Node
77
77
  raise StandardError, "Device '#{opts[:if_name]}' not found" if net_dev.nil?
78
78
  end
79
79
  end
80
-
81
- property :foo, default: 'this is foo'
82
-
83
- configure :rubbish do |node, some_arg|
84
- warn "this is useless #{some_arg}"
85
- "this is useless #{some_arg}"
86
- end
87
-
88
- configure_all do |node, props, result|
89
- if (r = props[:rubbish])
90
- result[:rubbish] = node.configure_rubbish(r)
91
- info "this should happen first #{r}"
92
- else
93
- props.each { |k, v| result[k] = node.__send__("configure_#{k}", v) }
94
- end
95
- end
96
-
97
- hook :pre_configure do |node, props, result|
98
- warn "PRE #{props}, #{result}"
99
- end
100
-
101
- hook :post_configure do |node, props, result|
102
- error "PRE #{props}, #{result}"
103
- end
104
-
105
- #hook :on_configure do |node, opts|
106
- # warn 'this might be useful'
107
- #end
108
80
  # @!endgroup
109
81
  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.1.2.pre.4
4
+ version: 6.1.2.pre.5
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: 2014-05-15 00:00:00.000000000 Z
12
+ date: 2014-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 6.1.2.pre.4
69
+ version: 6.1.2.pre.5
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 6.1.2.pre.4
77
+ version: 6.1.2.pre.5
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: cocaine
80
80
  requirement: !ruby/object:Gem::Requirement