unit_measurements 4.9.0 → 4.11.0

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.
data/units.md CHANGED
@@ -17,7 +17,15 @@ These units are defined in `UnitMeasurements::Length`.
17
17
  | 2 | in | ", inch, inches |
18
18
  | 3 | ft | ', foot, feet |
19
19
  | 4 | yd | yard, yards |
20
- | 5 | mi | mile, miles |
20
+ | 5 | mi | mile, miles, statute mile, international mile |
21
+ | 6 | ch | chain, chains |
22
+ | 7 | th | thou, thousandth of an inch |
23
+ | 8 | au | astronomical unit, astronomical units |
24
+ | 9 | pc | parsec, parsecs |
25
+ | 10 | ftm | fathom, fathoms |
26
+ | 11 | fur | furlong, furlongs |
27
+ | 12 | nmi | NMI, M, NM, nautical mile, nautical miles |
28
+ | 13 | rod | rods, perch, pole, lug |
21
29
 
22
30
  ## 2. Weight/Mass
23
31
 
@@ -28,6 +36,16 @@ These units are defined in `UnitMeasurements::Weight`.
28
36
  | _1_ | _g*_ | _gram, grams, gramme, grammes_ |
29
37
  | 2 | q | quintal, quintals |
30
38
  | 3 | t | tonne, tonnes, metric tonne, metric tonnes |
39
+ | 4 | ct | carat, carats |
40
+ | 5 | Da | dalton, daltons |
41
+ | 6 | st | stone, stones |
42
+ | 7 | dr | dram, drams |
43
+ | 8 | dwt | pennyweight, pennyweights |
44
+ | 9 | ozt | troy ounce, troy ounces |
45
+ | 10 | slug | slugs |
46
+ | 11 | lb | lbs, lbm, pound-mass, pound, pounds, \# |
47
+ | 12 | oz | ounce, ounces |
48
+ | 13 | gr | grain, grains |
31
49
 
32
50
  ## 3. Time
33
51
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unit_measurements
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.0
4
+ version: 4.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harshal LADHE
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-13 00:00:00.000000000 Z
11
+ date: 2023-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,6 +94,7 @@ extensions: []
94
94
  extra_rdoc_files: []
95
95
  files:
96
96
  - ".github/workflows/main.yml"
97
+ - ".github/workflows/pages.yml"
97
98
  - ".gitignore"
98
99
  - ".rspec"
99
100
  - CHANGELOG.md
@@ -177,6 +178,7 @@ licenses:
177
178
  metadata:
178
179
  allowed_push_host: https://rubygems.org
179
180
  homepage_uri: https://github.com/shivam091/unit_measurements
181
+ documentation_uri: https://shivam091.github.io/unit_measurements
180
182
  source_code_uri: https://github.com/shivam091/unit_measurements
181
183
  changelog_uri: https://github.com/shivam091/unit_measurements/blob/main/CHANGELOG.md
182
184
  bug_tracker_uri: https://github.com/shivam091/unit_measurements/issues