forking_test_runner 1.3.0 → 1.4.0

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: 35c1dd9e2075a744fbfbe951b2b44aec7e51b4430940d83f8c60d7f59d8be850
4
- data.tar.gz: beb9db29204e45334f6afcfdf1670bb2a3f72b8bf11d4a4c9560c9d6bb65ceef
3
+ metadata.gz: 24a22080e7feec720e83c73e48241d6984b0c7d769cce74f7687f563f1b1e75d
4
+ data.tar.gz: 2a0b5a4bb46cad79e4f7de3cb9b37bdd1307d7b9754b27397686349278be9ae6
5
5
  SHA512:
6
- metadata.gz: 2363db14074a420e0bea88030f609206143d94c961c89a25536a4962d1231266a2afae1841b53602a0bd36c3d4b686616b48eb54b464fe6a317cbccde63fe0f4
7
- data.tar.gz: b953fe2dc415c51c72d5126467bb90bcec0236aaa9edb3ce573601942be4524ac74c8050b24c72d74c0b4e57ffd9050935737029fd2a354d422f344f9156ae4e
6
+ metadata.gz: ca2e09cb43119ea4c62260fa8487d7c93e1b3a935a2dbbc1c5a219166c7891cdec55f8b95cf30610f83319334efb17739e505f9132b4dbdc6e7b78e59346e3fb
7
+ data.tar.gz: 3385e2157a115e09810ff55cb50d5bb24e07be53effc1bf4b7362b434215ed6c4111ce26a379955dfbb540bf27a7e2ab954fff97080e8c6d9cc782e0ea8a222e
@@ -176,8 +176,13 @@ module ForkingTestRunner
176
176
  when 'simple'
177
177
  File.write(log, data)
178
178
  when 'amend'
179
- slug = ENV.fetch("TRAVIS_REPO_SLUG").sub("/", "-")
180
- id = ENV.fetch("TRAVIS_BUILD_NUMBER")
179
+ if id = ENV["BUILDKITE_JOB_ID"]
180
+ slug = ENV.fetch("BUILDKITE_ORG_SLUG") + "-" + ENV.fetch("BUILDKITE_PIPELINE_SLUG")
181
+ else
182
+ slug = ENV.fetch("TRAVIS_REPO_SLUG").sub("/", "-")
183
+ id = ENV.fetch("TRAVIS_BUILD_NUMBER")
184
+ end
185
+
181
186
  url = "https://amend.herokuapp.com/amend/#{slug}-#{id}"
182
187
 
183
188
  require 'tempfile'
@@ -1,3 +1,3 @@
1
1
  module ForkingTestRunner
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forking_test_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-20 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests