continuum-stager-api 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apcera-stager-api-contrib.gemspec +1 -1
- data/lib/apcera/stager/stager.rb +1 -1
- data/spec/apcera/stager/stager_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e437620da806a6d64fd9c2e51897b79217331914
|
4
|
+
data.tar.gz: ffe5c17dcffd048803a74b2ca7aa6177efc49920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f7b314a03c388ce530031f7ae5219ff2563320ada809a18120cf0c879006feb48a5dc5ec38ecf9af646e9d99edc139a212f46a146ffaf4c27462c605cc3807
|
7
|
+
data.tar.gz: 279cd3a66c227610c1c9293ed5b80bcb8b10e59335ba816a5db69ddcead4b490d18ed37c616f6702ddec5f176baa33483a07e7045ae15e7e30390d23e8a9eb0b
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.test_files = `git ls-files -- {spec}/*`.split("\n")
|
16
16
|
gem.name = "continuum-stager-api"
|
17
17
|
gem.require_paths = ["lib"]
|
18
|
-
gem.version = "0.1.
|
18
|
+
gem.version = "0.1.3"
|
19
19
|
|
20
20
|
gem.add_development_dependency 'rspec', '~> 2.6.0'
|
21
21
|
gem.add_development_dependency 'rake'
|
data/lib/apcera/stager/stager.rb
CHANGED
@@ -67,7 +67,7 @@ module Apcera
|
|
67
67
|
|
68
68
|
# Upload the new package to the staging coordinator
|
69
69
|
def upload
|
70
|
-
execute_app("tar czf #{@updated_pkg_path} #{@app_path}")
|
70
|
+
execute_app("cd #{app_path} && tar czf #{@updated_pkg_path} #{@app_path}")
|
71
71
|
|
72
72
|
sha1 = Digest::SHA1.file(@updated_pkg_path)
|
73
73
|
File.open(@updated_pkg_path, "rb") do |f|
|
@@ -165,7 +165,7 @@ describe Apcera::Stager do
|
|
165
165
|
end
|
166
166
|
|
167
167
|
it "should compress using tar czf" do
|
168
|
-
@stager.should_receive(:execute_app).with("tar czf #{@stager.updated_pkg_path} #{@stager.app_path}").and_return
|
168
|
+
@stager.should_receive(:execute_app).with("cd #{@stager.app_path} && tar czf #{@stager.updated_pkg_path} #{@stager.app_path}").and_return
|
169
169
|
|
170
170
|
@stager.upload
|
171
171
|
end
|