lxc 0.1.6 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -92,7 +92,6 @@ class LXC
92
92
  # @return [Symbol] The state of the container.
93
93
  def create(*args)
94
94
  self.exec("lxc-create", *args)
95
- self.state
96
95
  end
97
96
 
98
97
  # Destroy the container
@@ -105,7 +104,6 @@ class LXC
105
104
  # @return [Symbol] The state of the container.
106
105
  def destroy(*args)
107
106
  self.exec("lxc-destroy", *args)
108
- self.state
109
107
  end
110
108
 
111
109
  # Start the container
@@ -116,7 +114,6 @@ class LXC
116
114
  # @return [Symbol] The state of the container.
117
115
  def start(*args)
118
116
  self.exec("lxc-start", "--daemon", *args)
119
- self.state
120
117
  end
121
118
 
122
119
  # Stop the container
@@ -127,7 +124,6 @@ class LXC
127
124
  # @return [Symbol] The state of the container.
128
125
  def stop(*args)
129
126
  self.exec("lxc-stop", *args)
130
- self.state
131
127
  end
132
128
 
133
129
  # Restart the container
@@ -145,7 +141,6 @@ class LXC
145
141
  # @return [Symbol] The state of the container.
146
142
  def freeze(*args)
147
143
  self.exec("lxc-freeze", *args)
148
- self.state
149
144
  end
150
145
 
151
146
  # Unfreeze (thaw) the container
@@ -156,7 +151,6 @@ class LXC
156
151
  # @return [Symbol] The state of the container.
157
152
  def unfreeze(*args)
158
153
  self.exec("lxc-unfreeze", *args)
159
- self.state
160
154
  end
161
155
 
162
156
  # Information on the container
@@ -2,7 +2,7 @@ class LXC
2
2
 
3
3
  unless const_defined?(:VERSION)
4
4
  # LXC Gem Version
5
- VERSION = "0.1.6"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
 
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lxc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -198,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  segments:
200
200
  - 0
201
- hash: -3538558972158551825
201
+ hash: -1338516408073467729
202
202
  required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  none: false
204
204
  requirements:
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: -3538558972158551825
210
+ hash: -1338516408073467729
211
211
  requirements: []
212
212
  rubyforge_project:
213
213
  rubygems_version: 1.8.25