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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/hatchet/reaper.rb +3 -1
- data/lib/hatchet/version.rb +1 -1
- data/test/hatchet/labs_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dd72d84205630c9902d1034ed9b2f358f9bcac7
|
4
|
+
data.tar.gz: 39699160e782ab507187f9d0d0e366d8d4498bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/hatchet/reaper.rb
CHANGED
@@ -33,9 +33,11 @@ module Hatchet
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def destroy_oldest
|
36
|
-
oldest_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
|
data/lib/hatchet/version.rb
CHANGED
data/test/hatchet/labs_test.rb
CHANGED
@@ -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 = "
|
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.
|
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-
|
11
|
+
date: 2014-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: heroku-api
|