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.
- checksums.yaml +4 -4
- data/data/currencies.yaml +1 -1
- data/data/dimensions.yaml +1 -1
- data/data/prefixes.yaml +1 -1
- data/data/quantities.yaml +7 -1
- data/data/scales.yaml +1 -1
- data/data/schemas/quantities-schema.yaml +3 -0
- data/data/schemas/units-schema.yaml +3 -0
- data/data/unit_systems.yaml +1 -1
- data/data/units.yaml +1372 -3
- data/lib/unitsdb/quantity.rb +1 -0
- data/lib/unitsdb/quantity_reference.rb +1 -0
- data/lib/unitsdb/version.rb +2 -2
- metadata +1 -1
data/lib/unitsdb/quantity.rb
CHANGED
|
@@ -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
|
data/lib/unitsdb/version.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Unitsdb
|
|
4
|
-
VERSION = "2.2.
|
|
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.
|
|
8
|
+
UNITS_DATA_VERSION = "2.2.0"
|
|
9
9
|
end
|