unitsdb 2.2.12 → 2.2.13

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)
@@ -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.13"
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.0"
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.