heroku_hatchet 7.1.1 → 7.1.2
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/CHANGELOG.md +4 -0
- data/lib/hatchet/git_app.rb +1 -1
- data/lib/hatchet/version.rb +1 -1
- data/spec/hatchet/git_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1896d0a09cfae27ff55b130431dcab677ab7ee5a11851c52d23f32abb1d773db
|
|
4
|
+
data.tar.gz: 50827926cffb6d14894c4fac985bdaf9ac88645a4640e8d3e203cad6ba405e90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '07895d1b500d6f1d40cd50786440aa4156703ebae3c9eb92af96e1662400f66d493ce413d104e882d338e6b8990136f8a2b967130298c7d154e4b2abd77c6227'
|
|
7
|
+
data.tar.gz: 82766796bfabe96afed53caec7aa1e78d4a788583a544c2a07130eb66265f598f7c1d15b693bd6b95f79dea15c3c8336bb6bd4d0260c8fd802c067e5fd531331
|
data/CHANGELOG.md
CHANGED
data/lib/hatchet/git_app.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Hatchet
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
private def git_push_heroku_yall
|
|
28
|
-
output = `git push #{git_repo}
|
|
28
|
+
output = `git push #{git_repo} HEAD:main 2>&1`
|
|
29
29
|
|
|
30
30
|
if !$?.success?
|
|
31
31
|
raise FailedDeployError.new(self, "Buildpack: #{@buildpack.inspect}\nRepo: #{git_repo}", output: output)
|
data/lib/hatchet/version.rb
CHANGED
data/spec/hatchet/git_spec.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require "spec_helper"
|
|
2
2
|
|
|
3
3
|
describe "GitAppTest" do
|
|
4
|
-
it "can deploy git app" do
|
|
5
|
-
Hatchet::GitApp.new("
|
|
6
|
-
expect(app.
|
|
4
|
+
it "can deploy git app to the main branch" do
|
|
5
|
+
Hatchet::GitApp.new("lock_fail_main", allow_failure: true).deploy do |app|
|
|
6
|
+
expect(app.output).to match("INTENTIONAL ERROR")
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
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: 7.1.
|
|
4
|
+
version: 7.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Schneeman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-09-
|
|
11
|
+
date: 2020-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: platform-api
|