heroku_hatchet 8.0.3 → 8.0.5
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 +4 -4
- data/.github/dependabot.yml +15 -0
- data/.github/workflows/check_changelog.yml +1 -1
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/hatchet_app_cleaner.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/hatchet.gemspec +1 -1
- data/lib/hatchet/reaper.rb +3 -11
- data/lib/hatchet/version.rb +1 -1
- metadata +8 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3040a07a7b476cca2688f6b2516ed68cbdc4847284d40d91b014332d2860414
|
4
|
+
data.tar.gz: b9f1f86b768aa34af5404a6531c28fe71aed664e3903241dd73d5208367990d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ecef564168e187887cb6591ab4fcad6530ec249ab0187447249c13a4c77f2b6ea5f8dbd5c3b4dd2b4b333f16c64d4f7623abd9370132362f8181997d3d28369
|
7
|
+
data.tar.gz: 8f3e42825cfdbd9d457d4602c6f2e56a445f4f62deedafb4a3d71b3726723c048729f6d842182b02f038004a54318fa5c34670149b70f0369e5615091a55d233
|
@@ -0,0 +1,15 @@
|
|
1
|
+
version: 2
|
2
|
+
updates:
|
3
|
+
- package-ecosystem: "bundler"
|
4
|
+
directory: "/"
|
5
|
+
schedule:
|
6
|
+
interval: "monthly"
|
7
|
+
groups:
|
8
|
+
ruby-dependencies:
|
9
|
+
update-types:
|
10
|
+
- "minor"
|
11
|
+
- "patch"
|
12
|
+
- package-ecosystem: "github-actions"
|
13
|
+
directory: "/"
|
14
|
+
schedule:
|
15
|
+
interval: "monthly"
|
@@ -15,7 +15,7 @@ jobs:
|
|
15
15
|
!contains(github.event.pull_request.labels.*.name, 'dependencies') &&
|
16
16
|
!contains(github.event.pull_request.labels.*.name, 'automation')
|
17
17
|
steps:
|
18
|
-
- uses: actions/checkout@
|
18
|
+
- uses: actions/checkout@v4
|
19
19
|
- name: Check that CHANGELOG is touched
|
20
20
|
run: |
|
21
21
|
git fetch origin ${{ github.base_ref }} --depth 1 && \
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## HEAD
|
2
2
|
|
3
|
+
## 8.0.5
|
4
|
+
|
5
|
+
- Updated excon version requirements (https://github.com/heroku/hatchet/pull/215)
|
6
|
+
|
7
|
+
## 8.0.4
|
8
|
+
|
9
|
+
- Any 404 when trying to delete an application will be considered duplicate (https://github.com/heroku/hatchet/pull/210)
|
10
|
+
|
3
11
|
## 8.0.3
|
4
12
|
|
5
13
|
- Add support for Ruby 3.2 and 3.3 (https://github.com/heroku/hatchet/pull/203 and https://github.com/heroku/hatchet/pull/208)
|
data/hatchet.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
|
22
22
|
gem.add_dependency "platform-api", "~> 3"
|
23
23
|
gem.add_dependency "rrrretry", "~> 1"
|
24
|
-
gem.add_dependency "excon", "
|
24
|
+
gem.add_dependency "excon", "< 2"
|
25
25
|
gem.add_dependency "thor", "~> 1"
|
26
26
|
gem.add_dependency "threaded", "~> 0"
|
27
27
|
|
data/lib/hatchet/reaper.rb
CHANGED
@@ -187,18 +187,10 @@ module Hatchet
|
|
187
187
|
@api_rate_limit.call.app.delete(id)
|
188
188
|
|
189
189
|
io.puts message
|
190
|
-
rescue Excon::Error::NotFound => e
|
191
|
-
|
190
|
+
rescue Excon::Error::NotFound, Excon::Error::Forbidden => e
|
191
|
+
status = e.response.status
|
192
192
|
request_id = e.response.headers["Request-Id"]
|
193
|
-
|
194
|
-
message = "Duplicate destroy attempted #{name.inspect}: #{id}, status: 404, request_id: #{request_id}"
|
195
|
-
raise AlreadyDeletedError.new(message)
|
196
|
-
else
|
197
|
-
raise e
|
198
|
-
end
|
199
|
-
rescue Excon::Error::Forbidden => e
|
200
|
-
request_id = e.response.headers["Request-Id"]
|
201
|
-
message = "Duplicate destroy attempted #{name.inspect}: #{id}, status: 403, request_id: #{request_id}"
|
193
|
+
message = "Possible duplicate destroy attempted #{name.inspect}: #{id}, status: #{status}, request_id: #{request_id}"
|
202
194
|
raise AlreadyDeletedError.new(message)
|
203
195
|
end
|
204
196
|
end
|
data/lib/hatchet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_hatchet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: platform-api
|
@@ -42,16 +41,16 @@ dependencies:
|
|
42
41
|
name: excon
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- - "
|
44
|
+
- - "<"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
46
|
+
version: '2'
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
|
-
- - "
|
51
|
+
- - "<"
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
53
|
+
version: '2'
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
55
|
name: thor
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,6 +158,7 @@ extensions: []
|
|
159
158
|
extra_rdoc_files: []
|
160
159
|
files:
|
161
160
|
- ".github/CODEOWNERS"
|
161
|
+
- ".github/dependabot.yml"
|
162
162
|
- ".github/workflows/check_changelog.yml"
|
163
163
|
- ".github/workflows/ci.yml"
|
164
164
|
- ".github/workflows/hatchet_app_cleaner.yml"
|
@@ -219,7 +219,6 @@ homepage: https://github.com/heroku/hatchet
|
|
219
219
|
licenses:
|
220
220
|
- MIT
|
221
221
|
metadata: {}
|
222
|
-
post_install_message:
|
223
222
|
rdoc_options: []
|
224
223
|
require_paths:
|
225
224
|
- lib
|
@@ -234,8 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
234
233
|
- !ruby/object:Gem::Version
|
235
234
|
version: '0'
|
236
235
|
requirements: []
|
237
|
-
rubygems_version: 3.
|
238
|
-
signing_key:
|
236
|
+
rubygems_version: 3.6.2
|
239
237
|
specification_version: 4
|
240
238
|
summary: Hatchet is a an integration testing library for developing Heroku buildpacks.
|
241
239
|
test_files:
|