continuum-stager-api 0.1.3 → 0.1.4
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: d0d3864ad524ef4fa0a156fe3f8cc4ef141dae51
|
4
|
+
data.tar.gz: 690b1202d5b51364abd2bacee3051e07a7d68434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d8db99aca832dca43142373cfc9c150e1ba49cc7d29fdf6b9670b81a7dde6ef1d7b9b011cf320c10f23d2898f23991c4d6e97ab5ae2ee78ad4302df7588eb9b
|
7
|
+
data.tar.gz: 99e86cac3e463d90909eb61d74873192125b3cc4a91520bdf40d78681df58871209d7558598cb890f16c166723ad6da9c8124b967dc5fea7e8950c6ba0b35a42
|
@@ -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.4"
|
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("cd #{app_path} && tar czf #{@updated_pkg_path}
|
70
|
+
execute_app("cd #{app_path} && tar czf #{@updated_pkg_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("cd #{@stager.app_path} && tar czf #{@stager.updated_pkg_path}
|
168
|
+
@stager.should_receive(:execute_app).with("cd #{@stager.app_path} && tar czf #{@stager.updated_pkg_path} .").and_return
|
169
169
|
|
170
170
|
@stager.upload
|
171
171
|
end
|