heroku_hatchet 1.3.3 → 1.3.4

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: d675d2785c4891e158609756788aefc993eb2951
4
- data.tar.gz: 79d6dbb02bbd78dbe01e702c8133740e83512f46
3
+ metadata.gz: 1dd72d84205630c9902d1034ed9b2f358f9bcac7
4
+ data.tar.gz: 39699160e782ab507187f9d0d0e366d8d4498bb2
5
5
  SHA512:
6
- metadata.gz: a3e15797cf063d2396adf07b95f58b49efa8a95a780be8c86b7afe2b7ec396b2ae621c30f50305929c018fa7be1d20ac30c54d38c7dd5f2f59ff621be2c00aa6
7
- data.tar.gz: cbb5d2103970d491d63b9c2f5e9a0c090b9256040ae2e37dccc5560f5cb126bae491965a5166e161f7a6e137059a022c0559256758cd71fd9c855a8b0b01dcc3
6
+ metadata.gz: 47a512d1cdb769b32fda37d815f3f4c21efca697987f2edff92f1a1d103ce5e70a8c2a8d80bd68a5c6dc2d7501e8aa977753649afd0dd26932baa0498197c369
7
+ data.tar.gz: b31f80b92e7471ac1f40a690735187787dfead74e41846a93f4644d4a7bfb36fc12581ce770db5d25ff4c4a262ad7e4212547d64d770532c68928e94c9bc6342
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## HEAD
2
2
 
3
+ ## 1.3.4
4
+
5
+ - Ignore when we try to delete an app that does not exist
6
+
7
+ ## 1.3.3
8
+
9
+ - Apps are lazily reaped for easier debugging
10
+ - Verbose output by default for easier debugging
11
+
3
12
  ## 1.3.2 (02-18-2014)
4
13
 
5
14
  - App#run interface now matches ReplRunner
@@ -33,9 +33,11 @@ module Hatchet
33
33
  end
34
34
 
35
35
  def destroy_oldest
36
- oldest_name = @hatchet_apps.pop["name"]
36
+ oldest_name = @hatchet_apps.pop["name"]
37
37
  puts "Destroying #{oldest_name.inspect}. Hatchet app limit: #{HATCHET_APP_LIMT}"
38
38
  @heroku.delete_app(oldest_name)
39
+ rescue Heroku::API::Errors::NotFound
40
+ # app already deleted, cycle will catch if there's still too many
39
41
  end
40
42
 
41
43
  private
@@ -1,3 +1,3 @@
1
1
  module Hatchet
2
- VERSION = "1.3.3"
2
+ VERSION = "1.3.4"
3
3
  end
@@ -6,7 +6,7 @@ class LabsTest < Test::Unit::TestCase
6
6
  end
7
7
 
8
8
  def test_can_deploy_git_app
9
- lab_name = "websockets"
9
+ lab_name = "preboot"
10
10
  app = Hatchet::App.new("rails3_mri_193", labs: lab_name, buildpack: @buildpack_path)
11
11
  app.setup!
12
12
  assert(app.lab_is_installed?(lab_name), "Expected #{app.get_labs.inspect} to include {'name' => '#{lab_name}' } but it did not")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_hatchet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Schneeman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-18 00:00:00.000000000 Z
11
+ date: 2014-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: heroku-api