unitsdb 2.2.7 → 2.2.8
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 +0 -13
- data/data/schemas/currencies-schema.yaml +2 -2
- data/lib/unitsdb/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94b9120c65578a597fc7699d763d7a374cfef8bac9ab3eb3c0b7e2220601c8f6
|
|
4
|
+
data.tar.gz: accf6d8f8dfc53ce8816aede9d46e093b7c71cf86533bc76bbcc79a9654eb790
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f43fc6cac30b00ac30c5e0f46fd2247499d66f5165632d4d66ea7b0200653ace03fda0f83f2bc9214e9e6248063e9c0f87d0cfea4d188ba77b2598ef7996048
|
|
7
|
+
data.tar.gz: 34a1ea5b15a5fe6e76c8730c7eea78448a2e8bc3317575ab24de2f35f0714f0bed47b8f5313e8867bc550454e54d98026c5233743c2f4e33b278611e4940ad31
|
data/data/currencies.yaml
CHANGED
|
@@ -2947,7 +2947,6 @@ currencies:
|
|
|
2947
2947
|
names:
|
|
2948
2948
|
- value: "Silver (one troy ounce)"
|
|
2949
2949
|
lang: en
|
|
2950
|
-
minor_unit_exponent: 0
|
|
2951
2950
|
status: active
|
|
2952
2951
|
unit_system_reference:
|
|
2953
2952
|
- type: unitsml
|
|
@@ -2966,7 +2965,6 @@ currencies:
|
|
|
2966
2965
|
names:
|
|
2967
2966
|
- value: "Gold (one troy ounce)"
|
|
2968
2967
|
lang: en
|
|
2969
|
-
minor_unit_exponent: 0
|
|
2970
2968
|
status: active
|
|
2971
2969
|
unit_system_reference:
|
|
2972
2970
|
- type: unitsml
|
|
@@ -2985,7 +2983,6 @@ currencies:
|
|
|
2985
2983
|
names:
|
|
2986
2984
|
- value: "European Composite Unit (EURCO) (bond market unit)"
|
|
2987
2985
|
lang: en
|
|
2988
|
-
minor_unit_exponent: 0
|
|
2989
2986
|
status: active
|
|
2990
2987
|
unit_system_reference:
|
|
2991
2988
|
- type: unitsml
|
|
@@ -3004,7 +3001,6 @@ currencies:
|
|
|
3004
3001
|
names:
|
|
3005
3002
|
- value: "European Monetary Unit (E.M.U.-6) (bond market unit)"
|
|
3006
3003
|
lang: en
|
|
3007
|
-
minor_unit_exponent: 0
|
|
3008
3004
|
status: active
|
|
3009
3005
|
unit_system_reference:
|
|
3010
3006
|
- type: unitsml
|
|
@@ -3023,7 +3019,6 @@ currencies:
|
|
|
3023
3019
|
names:
|
|
3024
3020
|
- value: "European Unit of Account 9 (E.U.A.-9) (bond market unit)"
|
|
3025
3021
|
lang: en
|
|
3026
|
-
minor_unit_exponent: 0
|
|
3027
3022
|
status: active
|
|
3028
3023
|
unit_system_reference:
|
|
3029
3024
|
- type: unitsml
|
|
@@ -3042,7 +3037,6 @@ currencies:
|
|
|
3042
3037
|
names:
|
|
3043
3038
|
- value: "European Unit of Account 17 (E.U.A.-17) (bond market unit)"
|
|
3044
3039
|
lang: en
|
|
3045
|
-
minor_unit_exponent: 0
|
|
3046
3040
|
status: active
|
|
3047
3041
|
unit_system_reference:
|
|
3048
3042
|
- type: unitsml
|
|
@@ -3097,7 +3091,6 @@ currencies:
|
|
|
3097
3091
|
names:
|
|
3098
3092
|
- value: "Special drawing rights"
|
|
3099
3093
|
lang: en
|
|
3100
|
-
minor_unit_exponent: 0
|
|
3101
3094
|
status: active
|
|
3102
3095
|
unit_system_reference:
|
|
3103
3096
|
- type: unitsml
|
|
@@ -3134,7 +3127,6 @@ currencies:
|
|
|
3134
3127
|
names:
|
|
3135
3128
|
- value: "Palladium (one troy ounce)"
|
|
3136
3129
|
lang: en
|
|
3137
|
-
minor_unit_exponent: 0
|
|
3138
3130
|
status: active
|
|
3139
3131
|
unit_system_reference:
|
|
3140
3132
|
- type: unitsml
|
|
@@ -3171,7 +3163,6 @@ currencies:
|
|
|
3171
3163
|
names:
|
|
3172
3164
|
- value: "Platinum (one troy ounce)"
|
|
3173
3165
|
lang: en
|
|
3174
|
-
minor_unit_exponent: 0
|
|
3175
3166
|
status: active
|
|
3176
3167
|
unit_system_reference:
|
|
3177
3168
|
- type: unitsml
|
|
@@ -3190,7 +3181,6 @@ currencies:
|
|
|
3190
3181
|
names:
|
|
3191
3182
|
- value: "SUCRE"
|
|
3192
3183
|
lang: en
|
|
3193
|
-
minor_unit_exponent: 0
|
|
3194
3184
|
status: active
|
|
3195
3185
|
unit_system_reference:
|
|
3196
3186
|
- type: unitsml
|
|
@@ -3209,7 +3199,6 @@ currencies:
|
|
|
3209
3199
|
names:
|
|
3210
3200
|
- value: "Code reserved for testing"
|
|
3211
3201
|
lang: en
|
|
3212
|
-
minor_unit_exponent: 0
|
|
3213
3202
|
status: active
|
|
3214
3203
|
unit_system_reference:
|
|
3215
3204
|
- type: unitsml
|
|
@@ -3228,7 +3217,6 @@ currencies:
|
|
|
3228
3217
|
names:
|
|
3229
3218
|
- value: "ADB Unit of Account"
|
|
3230
3219
|
lang: en
|
|
3231
|
-
minor_unit_exponent: 0
|
|
3232
3220
|
status: active
|
|
3233
3221
|
unit_system_reference:
|
|
3234
3222
|
- type: unitsml
|
|
@@ -3247,7 +3235,6 @@ currencies:
|
|
|
3247
3235
|
names:
|
|
3248
3236
|
- value: "No currency"
|
|
3249
3237
|
lang: en
|
|
3250
|
-
minor_unit_exponent: 0
|
|
3251
3238
|
status: active
|
|
3252
3239
|
unit_system_reference:
|
|
3253
3240
|
- type: unitsml
|
|
@@ -21,7 +21,7 @@ properties:
|
|
|
21
21
|
definitions:
|
|
22
22
|
Currency:
|
|
23
23
|
type: object
|
|
24
|
-
required: ["identifiers", "names", "
|
|
24
|
+
required: ["identifiers", "names", "status", "unit_system_reference", "quantity_references"]
|
|
25
25
|
properties:
|
|
26
26
|
identifiers:
|
|
27
27
|
type: array
|
|
@@ -42,7 +42,7 @@ definitions:
|
|
|
42
42
|
type: integer
|
|
43
43
|
minimum: 0
|
|
44
44
|
maximum: 4
|
|
45
|
-
description: "Decimal exponent of the minor unit (2 = cents, 0 = JPY/KRW class, 3 = BHD/KWD class, 4 = CLF class)"
|
|
45
|
+
description: "Decimal exponent of the minor unit (2 = cents, 0 = JPY/KRW class, 3 = BHD/KWD class, 4 = CLF class). Absent = ISO 4217 publishes N.A.: the entry defines no minor unit at all (precious metals XAU/XAG/XPT/XPD, bond-market and unit-of-account codes, XDR/XSU/XUA, test codes) — distinct from 0, which means the minor unit exists and equals the unit itself. Historic (list three) codes carry no exponent either."
|
|
46
46
|
status:
|
|
47
47
|
type: string
|
|
48
48
|
enum: ["active", "historic"]
|
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.8"
|
|
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.0.
|
|
8
|
+
UNITS_DATA_VERSION = "2.0.2"
|
|
9
9
|
end
|