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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfa0004ed0a9acacb699033f67db6c67c3c90894
4
- data.tar.gz: 3ffd8276d86496c01f156a9a71e89326b5ba852a
3
+ metadata.gz: 139b2d10ded9d5ed4a6ef64300ae9dba7033430d
4
+ data.tar.gz: c0fc8157c0b6ee26c3942d6dc3a43b5945817c72
5
5
  SHA512:
6
- metadata.gz: a37be9fdecddb4dc47b2395d76cb6c16a57d38292183fb0e71aff1189a26161381049637027f7c173fda6220e109e3967d5cdbc5748f69b0366e3eb98ac29f82
7
- data.tar.gz: b053ce65811870ba2c33546ca53df7eea4ab09e16fb28bb704db7349456cea08b0641d212535c0b75eff19f265ff9eeb7ab1b46ec81bf304869b71b2bc227dda
6
+ metadata.gz: 54a33361ff1aaf97fdb756dccc8ec8800ebc64c55cf0c00681c3c9ecb9236e3b374d02e2046dd30bceb4ea19234630eb17847d6ee9da93dd0486ce1be4e665f0
7
+ data.tar.gz: 18e4f1c878c52ba2c10bda47c94a1db75f8a148a0cbc938daec4fe476e4fb9f2819711f221e61abf373a6337778b75d718e6f2df0cdf70669d3a624128791052
@@ -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 << [
@@ -1,3 +1,3 @@
1
1
  module FireWatch
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fire_watch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Weakley