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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8d54466a86a51ed1f418e8786e18aa62c97439dbdc1836f74e3455ea1e0542f
4
- data.tar.gz: 938be3cf7fe5b3c985c430350cca348c3390b80d3eb19544f2249b7c9b2cdc9a
3
+ metadata.gz: 1111f6181923a91cdc3c3ffb9bd2e382bf0f82c87bfdd9b34bed0ebf79302fb0
4
+ data.tar.gz: 13ce28ed8cb11e7412cb1e33a445d56be8f23e16b7a157ff3a4003da94e16c55
5
5
  SHA512:
6
- metadata.gz: 5117cc22b180827b704ddb83dfb16a160706a8f27132ab85660066785574c0bb20d1fcffbffc83acbad1ee01f646bb200832b547d29fa8b0c7aa148be15809e9
7
- data.tar.gz: c25a47e3778c54ab8f17a79b97e6567ae577e0ec1e09a1eabef72606047bd2e1e14a11354987401a9d270e74609437a6e01b26c9be7625bf521c471c0c75b294
6
+ metadata.gz: 3b5be93bf87810d13612c5456c5c44cc93a2575344e4c5da6e431027dc31d7edfa86f0bb017eb26e9d5b16c70eba4177a220eab0edee5407b216c7e35796823d
7
+ data.tar.gz: 70b55d68229e1c7c2231d368da2e9d24190241826dc4667f191eeabf5bad98cdc249d78bb95e504ca119833ab1089d1b47ca4268edb5d151e064a960a0357280
data/.github/CODEOWNERS CHANGED
@@ -1 +1,3 @@
1
+ #ECCN:Open Source
2
+ #GUSINFO:Languages,Buildpacks Shared Tooling
1
3
  * @heroku/languages
@@ -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@v3
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 && \
@@ -26,7 +26,7 @@ jobs:
26
26
  PARALLEL_SPLIT_TEST_PROCESSES: 25
27
27
  steps:
28
28
  - name: Checkout
29
- uses: actions/checkout@v3
29
+ uses: actions/checkout@v4
30
30
  - name: Set up Ruby ${{ matrix.ruby-version }} and dependencies
31
31
  uses: ruby/setup-ruby@v1
32
32
  with:
@@ -19,7 +19,7 @@ jobs:
19
19
  HEROKU_DISABLE_AUTOUPDATE: 1
20
20
  steps:
21
21
  - name: Checkout
22
- uses: actions/checkout@v3
22
+ uses: actions/checkout@v4
23
23
  - name: Install Ruby and dependencies
24
24
  uses: ruby/setup-ruby@v1
25
25
  with:
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-20"`). Will take effect on the next build.
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", "~> 0"
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
- out = `#{script}`
5
- raise "Command #{script.inspect} failed\n#{out}" unless $?.success?
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
@@ -1,3 +1,3 @@
1
1
  module Hatchet
2
- VERSION = "8.0.4"
2
+ VERSION = "8.0.6"
3
3
  end
@@ -23,7 +23,7 @@ describe "AppTest" do
23
23
  end
24
24
 
25
25
  it "create app with stack" do
26
- stack = "heroku-20"
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)
@@ -13,7 +13,6 @@ describe "CI" do
13
13
  test_run.run_again
14
14
 
15
15
  expect(test_run.output).to match(string)
16
- expect(test_run.output).to match("Using rake")
17
16
  expect(test_run.output).to_not match("Installing rake")
18
17
  end
19
18
  end
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
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: 2024-06-21 00:00:00.000000000 Z
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: '0'
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: '0'
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.5.9
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: