lxc 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/lxc/container.rb +1 -1
- data/lib/lxc/version.rb +1 -1
- data/spec/lxc_spec.rb +1 -1
- metadata +4 -4
data/Rakefile
CHANGED
@@ -39,7 +39,7 @@ require 'yard'
|
|
39
39
|
require 'yard/rake/yardoc_task'
|
40
40
|
|
41
41
|
GEM_NAME = File.basename(Dir.pwd)
|
42
|
-
DOC_PATH = File.expand_path(File.join("..", "
|
42
|
+
DOC_PATH = File.expand_path(File.join("..", "", "#{GEM_NAME}.doc"))
|
43
43
|
|
44
44
|
namespace :doc do
|
45
45
|
YARD::Rake::YardocTask.new(:pages) do |t|
|
data/lib/lxc/container.rb
CHANGED
@@ -259,7 +259,7 @@ class LXC
|
|
259
259
|
|
260
260
|
ZTK::RescueRetry.try(:tries => 5, :on => ContainerError) do
|
261
261
|
tempfile = Tempfile.new("bootstrap")
|
262
|
-
lxc_tempfile = File.join("
|
262
|
+
lxc_tempfile = File.join("", "tmp", File.basename(tempfile.path))
|
263
263
|
host_tempfile = File.join(self.fs_root, lxc_tempfile)
|
264
264
|
|
265
265
|
self.lxc.runner.file(:target => host_tempfile, :chmod => '0755', :chown => 'root:root') do |file|
|
data/lib/lxc/version.rb
CHANGED
data/spec/lxc_spec.rb
CHANGED
@@ -188,7 +188,7 @@ describe LXC do
|
|
188
188
|
connection = ::ZTK::SSH.new(
|
189
189
|
:host_name => "127.0.0.1",
|
190
190
|
:user => ENV['USER'],
|
191
|
-
:keys => File.join(
|
191
|
+
:keys => File.join(Dir.home, '.ssh', 'id_rsa'),
|
192
192
|
:keys_only => true
|
193
193
|
)
|
194
194
|
runner = ::LXC::Runner::SSH.new(:ssh => connection)
|
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.3.
|
4
|
+
version: 0.3.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-
|
12
|
+
date: 2013-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ztk
|
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
segments:
|
221
221
|
- 0
|
222
|
-
hash:
|
222
|
+
hash: 3560445346125320013
|
223
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
224
|
none: false
|
225
225
|
requirements:
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
228
|
version: '0'
|
229
229
|
segments:
|
230
230
|
- 0
|
231
|
-
hash:
|
231
|
+
hash: 3560445346125320013
|
232
232
|
requirements: []
|
233
233
|
rubyforge_project:
|
234
234
|
rubygems_version: 1.8.25
|