ci_toolkit 1.3.12 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b4ada3d3cab678797ffc499c25617305c04a41e5423496b6f1645882b1d5d15
4
- data.tar.gz: d406a380eb7e804a8b78e0ae761c5fdc88403ab9740fa0e22e998a90bc412d65
3
+ metadata.gz: e409eaa7ab86b7af7a1e20cd9808ad0eeb2dcee9ac912296ec0dfe77605760a1
4
+ data.tar.gz: d79386299cd1910016581a0569896b8b62ac48ce0106493e39524ecb726d80d7
5
5
  SHA512:
6
- metadata.gz: '0388f5795048ef03688856ab6b96f74570403476f04dd3a26889ebc3cb54eddad8921f5af396155a36646dab2febd84a8fa14557c2bf79f9d7c81630ce06958a'
7
- data.tar.gz: c41cdb238c1d9f0e841f106eb47cfcea002507771e577c585836d20f556c421aeaaae00c5533b49b7b63546cf101972b126eb563f4140d91265956e0ac5f7ee9
6
+ metadata.gz: 4f377bf2e70d5cb2b73c39aeb2c4960a9be499c0b730727d316e526283659dc2ff0f0583053495d3bce97e9f5f9766a5f0890a643f409076296999481269c0ac
7
+ data.tar.gz: 1806fb69f7a1e003118e89498fb09c81d5fe8748d548ab54517ee70ffc564f258caf21f1913453d5a06467566364bb518a78d9b07b9bd93b64684f296d3e1595
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ci_toolkit (1.3.12)
4
+ ci_toolkit (1.3.13)
5
5
  faraday
6
6
  faraday_middleware
7
7
  jwt
@@ -42,7 +42,7 @@ module CiToolkit
42
42
 
43
43
  def delete_comments_including_text(text)
44
44
  comments = find_comments_including_text(text)
45
- comments.each { |comment| delete_comment(comment[:id]) unless comment.nil? }
45
+ comments.each { |comment| delete_comment(comment[:id]) }
46
46
  end
47
47
 
48
48
  def delete_comment(comment_id)
@@ -78,6 +78,7 @@ module CiToolkit
78
78
  client.statuses(@repo_slug, @commit_sha).each do |status|
79
79
  return status if status[:context] == context
80
80
  end
81
+ nil
81
82
  end
82
83
 
83
84
  def build_types
@@ -101,7 +102,8 @@ module CiToolkit
101
102
  end
102
103
 
103
104
  def realm_module_modified?
104
- files&.select { |file| file[:filename]&.start_with? "cache/" }&.length&.positive?
105
+ modified_files = files.select { |file| file[:filename]&.start_with? "cache/" }
106
+ modified_files.length.positive?
105
107
  end
106
108
 
107
109
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CiToolkit
4
- VERSION = "1.3.12"
4
+ VERSION = "1.3.13"
5
5
  end
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.3.12
4
+ version: 1.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gero Keller
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-28 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday