continuum-stager-api 0.2.3 → 0.2.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e3a6b627ab832440fc2d6b7898a3aa0d256dc31
4
- data.tar.gz: 57d827c7d0f5d08be7b4f28d7fb192b953faeca3
3
+ metadata.gz: 3500c7f0c930522ee2f2f9ceae18852771c7c882
4
+ data.tar.gz: bd4ef77859ea7700138d698bc7d2cd74bc6f7d4a
5
5
  SHA512:
6
- metadata.gz: f19532a6fed320b883dd772f8d474c5e040e84fad64f42ac09d6a526cdfd03a715be05e4dab5b3389bc438b55052d20c7e015c9458ddf9afd5a9d39bac303c17
7
- data.tar.gz: 9bc33cfcf83b60529ceb0bc38b6ff39d8b697770a1607ce78896896391d044789f82d9b238b83f7de08006947d6bba0d57caafb12d6dd9fd9c7e89bbeedbcc5a
6
+ metadata.gz: 09909c7237602113bcd98025265a2777cf8e533637ac4d082903c26308756fe88e677a0e387212ef5dfad73684bdbbcada2cd41b6b1dc2bf9d385e11c6f31291
7
+ data.tar.gz: 7b166c985077099eef7219302ee424d0ac90a10f85a2f8b4a3067b9686ab607899c760f6e0162fe38ea1405ac521470eb9dfe79a7bdd60592f4a348ea842d54f
@@ -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.2.3"
18
+ gem.version = "0.2.4"
19
19
 
20
20
  gem.add_development_dependency 'rspec', '~> 2.6.0'
21
21
  gem.add_development_dependency 'rake'
@@ -102,9 +102,9 @@ module Apcera
102
102
  app_dir = Pathname.new(@app_path).relative_path_from(Pathname.new(@root_path)).to_s
103
103
  execute_app("cd #{app_path}/.. && tar czf #{@updated_pkg_path} #{app_dir}")
104
104
 
105
- sha1 = Digest::SHA1.file(@updated_pkg_path)
105
+ sha256 = Digest::SHA256.file(@updated_pkg_path)
106
106
  File.open(@updated_pkg_path, "rb") do |f|
107
- response = RestClient.post(@stager_url+"/data?sha1=#{sha1.to_s}", f, { :content_type => "application/octet-stream" } )
107
+ response = RestClient.post(@stager_url+"/data?sha256=#{sha256.to_s}", f, { :content_type => "application/octet-stream" } )
108
108
  end
109
109
  rescue => e
110
110
  fail e
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: continuum-stager-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Ellithorpe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-24 00:00:00.000000000 Z
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client