ci_toolkit 1.2.8 → 1.2.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/bitrise_client.rb +0 -6
- data/lib/ci_toolkit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4bfe956c92fad69ac062c30ab70aa5577d63cbdcab7f8e4ffb1d36bae851f2d
|
4
|
+
data.tar.gz: '087c4b667f9c79307132d6c26c34d4e08a3960b4ff9c2c3ab7c5b62477e5fee0'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163a4bd2abb17fd25a69de5dbc78e32ce032817d5e2d6cca898a7a7c24f60048c49598f5558e06bff0bcfd455cd55813e6cd733a0735584d1f11a9a9cbe3e03e
|
7
|
+
data.tar.gz: 82decc260cc2080262bb2c67ab372fca9a2b79e8be03267039c743beeda9e4070bc5f88a8a37b24be0e09601ac4f41da92d16ccde53f00e97c2d668c8ed74463
|
data/Gemfile.lock
CHANGED
@@ -21,7 +21,6 @@ module CiToolkit
|
|
21
21
|
@app_slug = options[:app_slug]
|
22
22
|
@connection = faraday
|
23
23
|
configure_connection
|
24
|
-
@connection&.use Faraday::Response::Logger, nil, { headers: true, bodies: true }
|
25
24
|
end
|
26
25
|
|
27
26
|
def configure_connection
|
@@ -65,16 +64,11 @@ module CiToolkit
|
|
65
64
|
pull_request_id: pull_request.to_i,
|
66
65
|
status: 0 # status: 0 == not finished
|
67
66
|
})
|
68
|
-
puts "Response:\n"
|
69
|
-
puts response.inspect
|
70
|
-
|
71
67
|
builds = response.body["data"]
|
72
68
|
filter_builds_by_commit(builds, commit)
|
73
69
|
end
|
74
70
|
|
75
71
|
def filter_builds_by_commit(builds, commit)
|
76
|
-
puts "Builds:\n"
|
77
|
-
puts builds.inspect
|
78
72
|
builds&.select! { |build| build["commit_hash"] == commit && build["build_number"] != @build_number }
|
79
73
|
builds || []
|
80
74
|
end
|
data/lib/ci_toolkit/version.rb
CHANGED