jirametrics 2.30 → 2.30.1pre1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1f64f63f13e8cb59d3b18fb1e1ad90f77ca06d0e2f59a75ff7b7bae4db1870f
4
- data.tar.gz: 9b7d6b8759102d7590e86c114d2ac8b1b2e7c4cc9f45a168002752196a6bf797
3
+ metadata.gz: c1b70c2648c844b678a4b20ae4f9ed570e2a471ff306b4b682d1d0566ba9c334
4
+ data.tar.gz: ce6972d092d1f5b1bd7425f9d19a8dbbb1d2a7f584e0fe48b9f140faaca96e57
5
5
  SHA512:
6
- metadata.gz: 8ec0bee468f8c34c001ea9151b0d78b1018d246cc86f9c2588a70ee55e3940b6263f69032884ec5c2dc596d3182909829f6ee63fe51b6c65444ce667bf70a6ca
7
- data.tar.gz: 9b9f5337d0fc671639f9f651977cb2ecc60b2d27105cdce1b75a2a4188c093c111ba29ed880adccb515d548b8bd9209b4cf703482a0ede4ccea6b182212a3a57
6
+ metadata.gz: 98e35757d64618ff0ee87854a88b98196ccf87cb47761c4a065ead4aae84cb6653cbb37c6746f06a61418fee4c75f31089172028b485b276939f3c07d99b045d
7
+ data.tar.gz: 1c509febc055eec7ca7d8d9a89a9136e6b6ded8ff8b0585c9b1432b0e2aeb8a8d7301808070eb52b8919e6340928b9aecf137e98a2acd79e6c271fd36a1bc83a
@@ -969,7 +969,10 @@ class Issue
969
969
  else
970
970
  # Otherwise, we look at what the first one had changed away from.
971
971
  first_status = first_change.old_value
972
- first_status_id = first_change.old_value_id
972
+ # old_value_id should never be nil — a status change must have a 'from' id — but Jira has
973
+ # been seen in production omitting the 'from' field entirely. Fall back to 0 so the
974
+ # downstream fabricate/warn path handles it rather than crashing.
975
+ first_status_id = first_change.old_value_id || 0
973
976
  end
974
977
 
975
978
  creator = raw['fields']['creator']
@@ -2,6 +2,10 @@
2
2
 
3
3
  require 'mcp'
4
4
  require 'mcp/server/transports/stdio_transport'
5
+ require 'json-schema'
6
+ # Suppress the MultiJSON deprecation warning. json-schema enables MultiJSON by default if the
7
+ # gem is present anywhere in the environment, but we don't use it.
8
+ JSON::Validator.use_multi_json = false
5
9
 
6
10
  class McpServer
7
11
  def initialize projects:, aggregates: {}, timezone_offset: '+00:00'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jirametrics
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.30'
4
+ version: 2.30.1pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bowler