kensa 2.3.0 → 2.4.0

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: a1b0f6152cc582f8ce121149cbf51c06d3a31146
4
- data.tar.gz: 2cf35428fd4e02beb72d185581ea8ed500330c74
3
+ metadata.gz: e6bd5a8c0b91e4524d6a66b5af6ec5d42b4ef122
4
+ data.tar.gz: 8af7e4859a3fe3012e207c9c1d66ca955f3e25b6
5
5
  SHA512:
6
- metadata.gz: c90f46e0e4c4757e000078525c306ac07b90e20ca0a2cdd0ce4a718bdfec2dfd24b3a16e8bfc59f39b4c1feedabd92e949d81b5867162fb7fca46dd733f42696
7
- data.tar.gz: 3e8f395728af6bbb4a3999c7434aaea9f6b44f5b59879e66bcb99909e0da913ab6dac403bdbb825eca500a8754b653b9d1e71042c8d1a74d6cc88519946889dc
6
+ metadata.gz: 977f9c56e16400080e6362e0fe5a2033dc88d758e387af51bc093e01d85355c867d61d7f5cd94275dc95ecce820a0f7725d7cbd58eb346a85a531fa2f4be0e59
7
+ data.tar.gz: 1ccd90fb57eabf01271819aa48fcdff21f1c79fc5e7f54331328ec4de3ac81e51581938bb6d1d2e040d7ca01bc2d530488e9866cde6902deb228feef3a37895a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kensa (2.3.0)
4
+ kensa (2.4.0)
5
5
  launchy (~> 2.2.0)
6
6
  mechanize (~> 2.6.0)
7
7
  netrc (~> 0.10.3)
@@ -90,9 +90,13 @@ module Heroku
90
90
  host = heroku_host
91
91
  data = decoded_manifest
92
92
  resource = RestClient::Resource.new(host, user, password)
93
- resource['provider/addons'].post(resolve_manifest, headers)
93
+ manifest = resource['provider/addons'].post(resolve_manifest, headers)
94
+
94
95
  puts "-----> Manifest for \"#{data['id']}\" was pushed successfully"
95
96
  puts " Continue at #{(heroku_host)}/provider/addons/#{data['id']}"
97
+
98
+ # Update local manifest with response from addons.heroku.com
99
+ File.open(filename, 'w') { |f| f.puts manifest } unless manifest.strip.empty?
96
100
  rescue RestClient::UnprocessableEntity, RestClient::BadRequest => e
97
101
  abort("FAILED: #{e.response}")
98
102
  rescue RestClient::Unauthorized
@@ -1,5 +1,5 @@
1
1
  module Heroku
2
2
  module Kensa
3
- VERSION = '2.3.0'
3
+ VERSION = '2.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kensa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Mizerany
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-05-14 00:00:00.000000000 Z
16
+ date: 2015-06-02 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: launchy