unitsdb 2.2.12 → 2.2.14

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.
@@ -6,6 +6,7 @@ module Unitsdb
6
6
  attribute :quantity_type, :string
7
7
  attribute :names, LocalizedString, collection: true
8
8
  attribute :short, :string
9
+ attribute :equivalence_class, :string
9
10
  attribute :unit_references, UnitReference, collection: true
10
11
  attribute :dimension_reference, DimensionReference
11
12
  attribute :references, ExternalReference, collection: true
@@ -4,6 +4,7 @@ module Unitsdb
4
4
  class QuantityReference < Identifier
5
5
  attribute :id, :string
6
6
  attribute :type, :string
7
+ attribute :primary, :boolean
7
8
  end
8
9
 
9
10
  Config.register_model(QuantityReference, id: :quantity_reference)
@@ -8,6 +8,7 @@ module Unitsdb
8
8
  attribute :latex, :string
9
9
  attribute :mathml, :string
10
10
  attribute :unicode, :string
11
+ attribute :ambiguous, :boolean
11
12
  end
12
13
 
13
14
  Config.register_model(SymbolPresentations, id: :symbol_presentations)
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Unitsdb
4
- VERSION = "2.2.12"
4
+ VERSION = "2.2.14"
5
5
 
6
6
  # The version of the bundled UnitsDB data (from the data/ submodule).
7
7
  # This version corresponds to a tag/commit in https://github.com/unitsml/unitsdb.
8
- UNITS_DATA_VERSION = "2.1.1"
8
+ UNITS_DATA_VERSION = "2.2.1"
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unitsdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.12
4
+ version: 2.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-30 00:00:00.000000000 Z
11
+ date: 2026-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fuzzy_match