heroku_hatchet 4.0.1 → 4.0.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: c8c96b7abf1268588dab46ad3ac1047df8420dd0835adb7414f05805526e1fb3
4
- data.tar.gz: 0d68e35be7b4bbd23e2d48ee6dc0a178e90a90230bebf88354672011788988bf
3
+ metadata.gz: fa556ab6fdabb69a56ba6ce5569cee34f4cc63edeb7fc457b6e688b13327c195
4
+ data.tar.gz: e5c85e1b3e78e20c048878807e1263813cceb175a3e824471163c112adcb3b04
5
5
  SHA512:
6
- metadata.gz: c4eaf334f446527a1d16904f5e6e61649bfeca7999b0b6e20f099795527f8db0c473700a0e5df393a016ca2e98cb1ab1514e01c58860241cedbb9625f1c31e20
7
- data.tar.gz: 5edd405fe8bb11ab24dc0384655f05140033f5367d6e57836ac35f29f52d10b6dda3f90a0cd1a8123ce112f346b776e7026fae70d0c557d6190a0610df62e64d
6
+ metadata.gz: 3a64cc18c16afc07f97de99b76d5a8a5b2232a4fce4e0c287b0326a5536722fb210a5a0fd3153606900f6a9784356741c80794844e51b774351cd664d4fa0d86
7
+ data.tar.gz: 1f1dbec3966889e0504f02fb6d66ec8059970868dedffa92b72dfa5a69710c692a3210941e8fe10d52260767b7cd65718f29346e62191fd70772538fef594bbf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 4.0.2
4
+
5
+ - Support for running Hatchet tests on Heroku CI by defaulting to `ENV['HEROKU_TEST_RUN_BRANCH']` (#48)
6
+
3
7
  ## 4.0.1
4
8
 
5
9
  - Rate limit Heroku CI
data/lib/hatchet/app.rb CHANGED
@@ -6,7 +6,7 @@ require 'tmpdir'
6
6
  module Hatchet
7
7
  class App
8
8
  HATCHET_BUILDPACK_BASE = (ENV['HATCHET_BUILDPACK_BASE'] || "https://github.com/heroku/heroku-buildpack-ruby.git")
9
- HATCHET_BUILDPACK_BRANCH = -> { ENV['HATCHET_BUILDPACK_BRANCH'] || Hatchet.git_branch }
9
+ HATCHET_BUILDPACK_BRANCH = -> { ENV['HATCHET_BUILDPACK_BRANCH'] || ENV['HEROKU_TEST_RUN_BRANCH'] || Hatchet.git_branch }
10
10
  BUILDPACK_URL = "https://github.com/heroku/heroku-buildpack-ruby.git"
11
11
 
12
12
  attr_reader :name, :stack, :directory, :repo_name
@@ -1,3 +1,3 @@
1
1
  module Hatchet
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  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: 4.0.1
4
+ version: 4.0.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: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: platform-api