lxc 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -60,6 +60,10 @@ Executed via the lxc-console development binary:
60
60
 
61
61
  # RESOURCES
62
62
 
63
+ IRC:
64
+
65
+ * #jovelabs on irc.freenode.net
66
+
63
67
  Documentation:
64
68
 
65
69
  * http://zpatten.github.io/lxc/
data/lib/lxc/container.rb CHANGED
@@ -281,6 +281,13 @@ class LXC
281
281
  @lxc.exec(*arguments)
282
282
  end
283
283
 
284
+ # Root directory for the containers file system
285
+ #
286
+ # @return [String] The root directory for the container.
287
+ def fs_root
288
+ File.join('/', 'var', 'lib', 'lxc', self.name, 'rootfs')
289
+ end
290
+
284
291
  # Provides a concise string representation of the class
285
292
  # @return [String]
286
293
  def inspect
data/lib/lxc/version.rb CHANGED
@@ -2,7 +2,7 @@ class LXC
2
2
 
3
3
  unless const_defined?(:VERSION)
4
4
  # LXC Gem Version
5
- VERSION = "0.1.4"
5
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
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-04-28 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: ztk
@@ -180,18 +180,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  - - ! '>='
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
- segments:
184
- - 0
185
- hash: 2954289830468247715
186
183
  required_rubygems_version: !ruby/object:Gem::Requirement
187
184
  none: false
188
185
  requirements:
189
186
  - - ! '>='
190
187
  - !ruby/object:Gem::Version
191
188
  version: '0'
192
- segments:
193
- - 0
194
- hash: 2954289830468247715
195
189
  requirements: []
196
190
  rubyforge_project:
197
191
  rubygems_version: 1.8.25