fire_watch 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fire_watch/runner.rb +2 -2
- data/lib/fire_watch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 139b2d10ded9d5ed4a6ef64300ae9dba7033430d
|
4
|
+
data.tar.gz: c0fc8157c0b6ee26c3942d6dc3a43b5945817c72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54a33361ff1aaf97fdb756dccc8ec8800ebc64c55cf0c00681c3c9ecb9236e3b374d02e2046dd30bceb4ea19234630eb17847d6ee9da93dd0486ce1be4e665f0
|
7
|
+
data.tar.gz: 18e4f1c878c52ba2c10bda47c94a1db75f8a148a0cbc938daec4fe476e4fb9f2819711f221e61abf373a6337778b75d718e6f2df0cdf70669d3a624128791052
|
data/lib/fire_watch/runner.rb
CHANGED
@@ -138,7 +138,7 @@ module FireWatch
|
|
138
138
|
|
139
139
|
issues.each do |issue|
|
140
140
|
relevant_time_entries, time_entries = time_entries.partition do |entry|
|
141
|
-
entry.notes.scan(ISSUE_REGEX).flatten.any?{|m| m.eql? issue.number.to_s }
|
141
|
+
entry.notes.nil? ? false : entry.notes.scan(ISSUE_REGEX).flatten.any?{|m| m.eql? issue.number.to_s }
|
142
142
|
end
|
143
143
|
|
144
144
|
if relevant_time_entries.empty?
|
@@ -178,7 +178,7 @@ module FireWatch
|
|
178
178
|
|
179
179
|
pull_requests.each do |pr|
|
180
180
|
relevant_time_entries, time_entries = time_entries.partition do |entry|
|
181
|
-
entry.notes.scan(ISSUE_REGEX).flatten.any?{|m| m.eql? issue.number.to_s }
|
181
|
+
entry.notes.nil? ? false : entry.notes.scan(ISSUE_REGEX).flatten.any?{|m| m.eql? issue.number.to_s }
|
182
182
|
end
|
183
183
|
if relevant_time_entries.empty?
|
184
184
|
csv << [
|
data/lib/fire_watch/version.rb
CHANGED