fire_watch 0.2.4 → 0.2.5
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 +4 -4
- data/lib/fire_watch/runner.rb +4 -4
- 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: c10958730b0604bf19eb118057f0fcbb76c4ce57
|
|
4
|
+
data.tar.gz: 7cd1aa358e9a603618ba9fe8da6bdd0edda4112b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49cef67e5a8fee87166be6f19ad0dae5d73750472b00b6f70cf8d7d4ab862fafca56b66f64d1c4d5cc2e440998a851a3387ce04aaaf928dc6414d370cecfb912
|
|
7
|
+
data.tar.gz: 88e854b61aa0af82e67a29e2d617be79281b2df4e8659aa73e44b845353fae2904458868a486864f50a4f0f26e846e1dc3130b986625c66c651fdc2774e584c5
|
data/lib/fire_watch/runner.rb
CHANGED
|
@@ -134,7 +134,7 @@ module FireWatch
|
|
|
134
134
|
issue.title,
|
|
135
135
|
"",
|
|
136
136
|
"",
|
|
137
|
-
issue.labels.nil?
|
|
137
|
+
!issue.labels.nil? && !issue.labels.find{|l| l.name.include?"size:"}.nil? ? issue.labels.find{|l| l.name.include?"size:"}.name : "",
|
|
138
138
|
"",
|
|
139
139
|
issue.state,
|
|
140
140
|
"",
|
|
@@ -150,7 +150,7 @@ module FireWatch
|
|
|
150
150
|
issue.title,
|
|
151
151
|
projects.select{|p| user_time_entries.map(&:project_id).uniq.include? p.id}.map(&:name).join(', '),
|
|
152
152
|
"#{user.first_name} #{user.last_name}", # Who
|
|
153
|
-
issue.labels.nil? ?
|
|
153
|
+
!issue.labels.nil? && !issue.labels.find{|l| l.name.include?"size:"}.nil? ? issue.labels.find{|l| l.name.include?"size:"}.name : "",
|
|
154
154
|
user_time_entries.inject(0){|sum, e| sum + e.hours },
|
|
155
155
|
issue.state,
|
|
156
156
|
"",
|
|
@@ -177,7 +177,7 @@ module FireWatch
|
|
|
177
177
|
pr.title,
|
|
178
178
|
"",
|
|
179
179
|
"",
|
|
180
|
-
pr.labels.nil? ?
|
|
180
|
+
!pr.labels.nil? && !pr.labels.find{|l| l.name.include?"size:"}.nil? ? pr.labels.find{|l| l.name.include?"size:"}.name : "",
|
|
181
181
|
"",
|
|
182
182
|
pr.state,
|
|
183
183
|
pr.merged ? "Y" : "N",
|
|
@@ -193,7 +193,7 @@ module FireWatch
|
|
|
193
193
|
pr.title,
|
|
194
194
|
projects.select{|p| user_time_entries.map(&:project_id).uniq.include? p.id}.map(&:name).join(', '),
|
|
195
195
|
"#{user.first_name} #{user.last_name}", # Who
|
|
196
|
-
pr.labels.nil? ?
|
|
196
|
+
!pr.labels.nil? && !pr.labels.find{|l| l.name.include?"size:"}.nil? ? pr.labels.find{|l| l.name.include?"size:"}.name : "",
|
|
197
197
|
user_time_entries.inject(0){|sum, e| sum + e.hours },
|
|
198
198
|
pr.state,
|
|
199
199
|
pr.merged ? "Y" : "N",
|
data/lib/fire_watch/version.rb
CHANGED