heroku_hatchet 8.0.4 → 8.0.6
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/CODEOWNERS +2 -0
- 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/README.md +1 -1
- data/hatchet.gemspec +1 -1
- data/lib/hatchet/tasks.rb +6 -2
- data/lib/hatchet/version.rb +1 -1
- data/spec/hatchet/app_spec.rb +1 -1
- data/spec/hatchet/ci_spec.rb +0 -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: 1111f6181923a91cdc3c3ffb9bd2e382bf0f82c87bfdd9b34bed0ebf79302fb0
|
4
|
+
data.tar.gz: 13ce28ed8cb11e7412cb1e33a445d56be8f23e16b7a157ff3a4003da94e16c55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5be93bf87810d13612c5456c5c44cc93a2575344e4c5da6e431027dc31d7edfa86f0bb017eb26e9d5b16c70eba4177a220eab0edee5407b216c7e35796823d
|
7
|
+
data.tar.gz: 70b55d68229e1c7c2231d368da2e9d24190241826dc4667f191eeabf5bad98cdc249d78bb95e504ca119833ab1089d1b47ca4268edb5d151e064a960a0357280
|
data/.github/CODEOWNERS
CHANGED
@@ -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.6
|
4
|
+
|
5
|
+
- Fix `hatchet:setup_ci` not printing output (https://github.com/heroku/hatchet/pull/220)
|
6
|
+
|
7
|
+
## 8.0.5
|
8
|
+
|
9
|
+
- Updated excon version requirements (https://github.com/heroku/hatchet/pull/215)
|
10
|
+
|
3
11
|
## 8.0.4
|
4
12
|
|
5
13
|
- Any 404 when trying to delete an application will be considered duplicate (https://github.com/heroku/hatchet/pull/210)
|
data/README.md
CHANGED
@@ -587,7 +587,7 @@ app.get_config("DEPLOY_TASKS") # => "run:bloop"
|
|
587
587
|
|
588
588
|
- `app.set_lab()`: Enables the specified lab/feature on the app
|
589
589
|
- `app.add_database()`: adds a database to the app, defaults to the "dev" database
|
590
|
-
- `app.update_stack()`: Change the app's stack to that specified (for example `"heroku-
|
590
|
+
- `app.update_stack()`: Change the app's stack to that specified (for example `"heroku-24"`). Will take effect on the next build.
|
591
591
|
- `app.run()`: Runs a `heroku run bash` session with the arguments, covered above.
|
592
592
|
- `app.run_multi()`: Runs a `heroku run bash` session in the background and yields the results. This requires the `run_multi` flag of the app to be set to `true`, which will charge your application (the `HATCHET_EXPENSIVE_MODE` env var must also be set to use this feature). Example above.
|
593
593
|
- `app.create_app`: Can be used to manually create the app without deploying it (You probably want `setup!` though)
|
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/tasks.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
namespace :hatchet do
|
2
2
|
task :setup_ci do
|
3
3
|
script = File.expand_path(File.join(__dir__, "../../etc/ci_setup.rb"))
|
4
|
-
|
5
|
-
|
4
|
+
puts "Running script `#{script}`"
|
5
|
+
out = `#{script} 2>&1`
|
6
|
+
puts "Done"
|
7
|
+
puts "Output:\n"
|
8
|
+
puts out
|
9
|
+
raise "Command #{script.inspect} failed" unless $?.success?
|
6
10
|
end
|
7
11
|
|
8
12
|
task :setup_travis do
|
data/lib/hatchet/version.rb
CHANGED
data/spec/hatchet/app_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe "AppTest" do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
it "create app with stack" do
|
26
|
-
stack = "heroku-
|
26
|
+
stack = "heroku-24"
|
27
27
|
app = Hatchet::App.new("default_ruby", stack: stack)
|
28
28
|
app.create_app
|
29
29
|
expect(app.platform_api.app.info(app.name)["build_stack"]["name"]).to eq(stack)
|
data/spec/hatchet/ci_spec.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.6
|
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: 1980-01-02 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.9
|
239
237
|
specification_version: 4
|
240
238
|
summary: Hatchet is a an integration testing library for developing Heroku buildpacks.
|
241
239
|
test_files:
|