ci_toolkit 1.5.6 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ci_toolkit/build_status.rb +1 -1
- data/lib/ci_toolkit/dvcs_pr.rb +1 -1
- 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: b0eebcc016a93756c6eb7c87242c7f8acb84c5b5368a4263431779e6546a36ba
|
4
|
+
data.tar.gz: ad3d0ee8e23a388ef198980dd703eb751fb7dbdc6076edcf3f26d8106786c5ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29708a410ca02b109df6e15c3fccd72972c68189c52823b0d446bb09df2f810c7ef3cb073fa50b260430eb90faa490b0f7907289c0b8f999a13886c9d9a5060e
|
7
|
+
data.tar.gz: 2fddf0508c6cd943f3ac7d879c22971c3a9990c92aab46718a56d207714e70baf7ddc267aeea7b6086c40458b2ea13a3d2c514d18251974b994775d08153250e
|
data/Gemfile.lock
CHANGED
@@ -40,7 +40,7 @@ module CiToolkit
|
|
40
40
|
@github.create_status(state, @context, @env.app_url, "Finished building #{num_finished}/#{num_total}")
|
41
41
|
end
|
42
42
|
|
43
|
-
def error(state = CiToolkit::DvcsPrUtil.
|
43
|
+
def error(state = CiToolkit::DvcsPrUtil.status_state_error)
|
44
44
|
@github.create_status(state, @context, @env.app_url, "Building failed")
|
45
45
|
end
|
46
46
|
|
data/lib/ci_toolkit/dvcs_pr.rb
CHANGED
@@ -107,7 +107,7 @@ module CiToolkit
|
|
107
107
|
# values for the two services are different
|
108
108
|
# It uses the ENV["DVCS_SERVICE"] to decide which DVCS to use.
|
109
109
|
class DvcsPrUtil
|
110
|
-
def self.
|
110
|
+
def self.status_state_error(service = ENV["DVCS_SERVICE"])
|
111
111
|
status = "error"
|
112
112
|
status = "failed" if service == "gitlab"
|
113
113
|
status
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gero Keller
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|