heroku_hatchet 7.1.1 → 7.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dda03e482a8634af97061a88f4b4ed424697928742d1e0b1c654b2837fbe4e0
4
- data.tar.gz: c5958a54971f4470faee1007a94ee4902622d21ebca28ae8c5fbc5dbfff181f9
3
+ metadata.gz: 1896d0a09cfae27ff55b130431dcab677ab7ee5a11851c52d23f32abb1d773db
4
+ data.tar.gz: 50827926cffb6d14894c4fac985bdaf9ac88645a4640e8d3e203cad6ba405e90
5
5
  SHA512:
6
- metadata.gz: a4c7794985aa05f0206de153a9f1dc3e01d5eac6b870e35990bd53a8c8ae0ed7c5ba67c9db9fb2b76fe8c4cc6f8a934ad173ba0140135356738f91a3bac54b6b
7
- data.tar.gz: 542c31aa8fea0633175f2654a8ac21ffa53525a03c6127f19ce930a71883f5eaed8749915c9e971d574e5feace1eaab82765473b6d04430ac2161b2410603fb9
6
+ metadata.gz: '07895d1b500d6f1d40cd50786440aa4156703ebae3c9eb92af96e1662400f66d493ce413d104e882d338e6b8990136f8a2b967130298c7d154e4b2abd77c6227'
7
+ data.tar.gz: 82766796bfabe96afed53caec7aa1e78d4a788583a544c2a07130eb66265f598f7c1d15b693bd6b95f79dea15c3c8336bb6bd4d0260c8fd802c067e5fd531331
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 7.1.2
4
+
5
+ - Fix support for Hatchet deploying the 'main' branch (https://github.com/heroku/hatchet/pull/122)
6
+
3
7
  ## 7.1.1
4
8
 
5
9
  - Fix destroy_all functionality (https://github.com/heroku/hatchet/pull/121)
@@ -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} master 2>&1`
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)
@@ -1,3 +1,3 @@
1
1
  module Hatchet
2
- VERSION = "7.1.1"
2
+ VERSION = "7.1.2"
3
3
  end
@@ -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("rails5_ruby_schema_format").deploy do |app|
6
- expect(app.run("ruby -v")).to match("2.6.6")
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.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-02 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: platform-api