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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc8caf62df9dd02c6518226787a29c7ac69e535b
4
- data.tar.gz: 8d5cb13dcdd67120eeda73b0f3771000b9d591a1
3
+ metadata.gz: e437620da806a6d64fd9c2e51897b79217331914
4
+ data.tar.gz: ffe5c17dcffd048803a74b2ca7aa6177efc49920
5
5
  SHA512:
6
- metadata.gz: 8efd29d34205a389228287e04ca9108d90002f6ab889e9331620c159dc92ac4f8bcde41828ad4694fc326ae91fc4e55fc301bb83fe11793418ba55cfaab9f7a0
7
- data.tar.gz: 37333d3dc34ea1da34fb886b1b4e2dec8eb6f609fcbb01331f8978bc0ffca0fa586cdee307c7c45b79c3e8b43fe16583f239f02ea66a3b27f1b4b73879171f5a
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.2"
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'
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: continuum-stager-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Ellithorpe