jirametrics 2.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jirametrics/downloader.rb +0 -1
- data/lib/jirametrics/issue.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26b8d8955807f88acf9f1cce8443d183a9fb72fce98424aba3c7c29e876a6a38
|
4
|
+
data.tar.gz: '039eb9fd005ed0a036f20c72e8f9a8c4cb4bad19f030ed3cf0445bdb6afb0902'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecf2036e99a4bed4275da79e58740bac58c00d8a61120872abb0d51459631d7b7f5c80898bf4bb1212a87042c54cdb83ace95c1f86d2f2df43b8611626bbf1a0
|
7
|
+
data.tar.gz: 5f01cabf487497389977fab8d341d5173e3c5835c8e42422d232aa3ba5b8aaa40af0cb975235374bf953cecf45b2615c5f6b6391560fcdcf6c0f1d77d6ae9e3f
|
@@ -171,7 +171,6 @@ class Downloader
|
|
171
171
|
exit_if_call_failed json
|
172
172
|
|
173
173
|
@board_id_to_filter_id[board_id] = json['filter']['id'].to_i
|
174
|
-
# @board_configuration = json if @download_config.board_ids.size == 1
|
175
174
|
|
176
175
|
file_prefix = @download_config.project_config.file_prefix
|
177
176
|
@file_system.save_json json: json, filename: "#{@target_path}#{file_prefix}_board_#{board_id}_configuration.json"
|
data/lib/jirametrics/issue.rb
CHANGED
@@ -30,6 +30,8 @@ class Issue
|
|
30
30
|
fabricate_change(field_name: 'status'),
|
31
31
|
fabricate_change(field_name: 'priority')
|
32
32
|
].compact + @changes
|
33
|
+
rescue => e
|
34
|
+
raise "Unable to initialize #{raw['key']}"
|
33
35
|
end
|
34
36
|
|
35
37
|
def sort_changes!
|
@@ -486,7 +488,7 @@ class Issue
|
|
486
488
|
|
487
489
|
# It should be impossible to not have an author but we've seen it in production
|
488
490
|
author = assemble_author history
|
489
|
-
history['items']
|
491
|
+
history['items']&.each do |item|
|
490
492
|
@changes << ChangeItem.new(raw: item, time: created, author: author)
|
491
493
|
end
|
492
494
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jirametrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Bowler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: random-word
|