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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb163ed079209739994cb9a963533c6afaddc6ca987bf9c428aeee94945ecf40
4
- data.tar.gz: 571d3d09cde660cd7038d7d996e0c5e44cb7dfe21fdf892a931ef51db84fb9cf
3
+ metadata.gz: 26b8d8955807f88acf9f1cce8443d183a9fb72fce98424aba3c7c29e876a6a38
4
+ data.tar.gz: '039eb9fd005ed0a036f20c72e8f9a8c4cb4bad19f030ed3cf0445bdb6afb0902'
5
5
  SHA512:
6
- metadata.gz: 3212ef8b2d1a2d8eb2be8e614534aa4b614e8f8003f94d0b8cd0239839fbca90c30f8ce062effede748567f53c01c4235ec179d53fd04f01f9f0bd7a288ddb9b
7
- data.tar.gz: f25bc331a72956f24dac94205630db7cff9d98a933ccd76f2ddff1132702dfd284c9ad526518c6e91169fb3cc41e604695d1c792f2b2496b870e93a6ff165684
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"
@@ -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'].each do |item|
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: '2.0'
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-22 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: random-word