lxc 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/lxc.rb +1 -1
  2. data/lib/lxc/version.rb +1 -1
  3. metadata +4 -4
data/lib/lxc.rb CHANGED
@@ -112,7 +112,7 @@ class LXC
112
112
  # @param [String] name The name of the container to check.
113
113
  # @return [Boolean] Returns true of the container exists, false otherwise.
114
114
  def exists?(name)
115
- self.ls.include?(name)
115
+ self.ls(%(-1)).include?(name)
116
116
  end
117
117
 
118
118
  # Linux container processes
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.2.7"
5
+ VERSION = "0.2.8"
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.2.7
4
+ version: 0.2.8
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-05-20 00:00:00.000000000 Z
12
+ date: 2013-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ztk
@@ -216,7 +216,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  segments:
218
218
  - 0
219
- hash: -1303503638862772355
219
+ hash: 647276888705009322
220
220
  required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  none: false
222
222
  requirements:
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  version: '0'
226
226
  segments:
227
227
  - 0
228
- hash: -1303503638862772355
228
+ hash: 647276888705009322
229
229
  requirements: []
230
230
  rubyforge_project:
231
231
  rubygems_version: 1.8.25