heroku_hatchet 8.0.5 → 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/CHANGELOG.md +4 -0
- data/README.md +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 +3 -3
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
data/CHANGELOG.md
CHANGED
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/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,13 +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
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: platform-api
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
|
-
rubygems_version: 3.6.
|
236
|
+
rubygems_version: 3.6.9
|
237
237
|
specification_version: 4
|
238
238
|
summary: Hatchet is a an integration testing library for developing Heroku buildpacks.
|
239
239
|
test_files:
|