testlab 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/testlab/container/io.rb +2 -3
- data/lib/testlab/version.rb +1 -1
- metadata +8 -2
data/lib/testlab/container/io.rb
CHANGED
@@ -76,7 +76,7 @@ class TestLab
|
|
76
76
|
export_tempfile.close!
|
77
77
|
|
78
78
|
remote_file = File.join("", "tmp", remote_filename)
|
79
|
-
local_file ||= File.join(Dir.pwd,
|
79
|
+
local_file ||= File.join(Dir.pwd, "#{self.id}.sc")
|
80
80
|
local_file = File.expand_path(local_file)
|
81
81
|
root_fs_path = self.lxc.fs_root.split(File::SEPARATOR).last
|
82
82
|
|
@@ -119,13 +119,12 @@ EOF
|
|
119
119
|
def import(local_file)
|
120
120
|
@ui.logger.debug { "Container Import: #{self.id}" }
|
121
121
|
|
122
|
-
local_file ||= File.expand_path("#{self.id}.sc")
|
123
|
-
|
124
122
|
import_tempfile = Tempfile.new('import')
|
125
123
|
remote_filename = File.basename(import_tempfile.path.dup)
|
126
124
|
import_tempfile.close!
|
127
125
|
|
128
126
|
remote_file = File.join("", "tmp", remote_filename)
|
127
|
+
local_file ||= File.join(Dir.pwd, "#{self.id}.sc")
|
129
128
|
local_file = File.expand_path(local_file)
|
130
129
|
root_fs_path = self.lxc.fs_root.split(File::SEPARATOR).last
|
131
130
|
|
data/lib/testlab/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
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-09-
|
12
|
+
date: 2013-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gli
|
@@ -343,12 +343,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
343
343
|
- - ! '>='
|
344
344
|
- !ruby/object:Gem::Version
|
345
345
|
version: '0'
|
346
|
+
segments:
|
347
|
+
- 0
|
348
|
+
hash: 1176029295560886887
|
346
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
347
350
|
none: false
|
348
351
|
requirements:
|
349
352
|
- - ! '>='
|
350
353
|
- !ruby/object:Gem::Version
|
351
354
|
version: '0'
|
355
|
+
segments:
|
356
|
+
- 0
|
357
|
+
hash: 1176029295560886887
|
352
358
|
requirements: []
|
353
359
|
rubyforge_project:
|
354
360
|
rubygems_version: 1.8.25
|