unit_measurements 5.7.0 → 5.9.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a41d5ba2f7b2763f91970361a551dcf0ff816f63db844c9f7be7a41313737543
4
- data.tar.gz: 7810b39944c35e4d34c94f2eb9c81db84ccc36da7794bffabe995fc0e11fb4bb
3
+ metadata.gz: '08305aaf9558055931b73b625212941d80d625e042933de660624d1786af7bc9'
4
+ data.tar.gz: 28b9f54eeb207abef81d9d908b040e1e1da4e7426c1f69d0be2332f3611c0d16
5
5
  SHA512:
6
- metadata.gz: 851677d0ce182b65fcef33caba5207064921ccc4b706391d6c1a21bcbe18049ed54945162d9573b0d5884ebf82a4698cac82093a9457043a210181c7620f204a
7
- data.tar.gz: c04c7d726fbfc23c5aee06b081f75fcefdf31ff7b7ba668079e70306be275f8b9fabe5e3974212a6d92ff5826f6ea2652d93fd934be209249d0a86bade9213ca
6
+ metadata.gz: b2e8e679fff2e9590c5c8a3f4a72da21ad58c216d0556154529b5e5ad9cab92f78f4dc2ec7c8f7297653755c5cadbd8e246546b7092b983b14c824ccd5acf3ff
7
+ data.tar.gz: 006037a17c4b9616550757994f7e384b2344a3fc6651a05243cf19e4e326101bfdb90cb9075e070c54759c9a113d853a43157c1333994b0e4b088db3e2cfb504
data/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [5.9.0](https://github.com/shivam091/unit_measurements/compare/v5.8.0...v5.9.0) - 2023-11-08
2
+
3
+ ### What's new
4
+
5
+ - Added new units of `force`.
6
+ - Added new units of `torque`.
7
+ - Added new units of `energy`.
8
+
9
+ ----------
10
+
11
+ ## [5.8.0](https://github.com/shivam091/unit_measurements/compare/v5.7.0...v5.8.0) - 2023-11-06
12
+
13
+ ### What's new
14
+
15
+ - Added new units of `pressure`.
16
+ - Added new units of `power`.
17
+
18
+ ----------
19
+
1
20
  ## [5.7.0](https://github.com/shivam091/unit_measurements/compare/v5.6.1...v5.7.0) - 2023-11-04
2
21
 
3
22
  ### What's new
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unit_measurements (5.7.0)
4
+ unit_measurements (5.9.0)
5
5
  activesupport (~> 7.0)
6
6
 
7
7
  GEM
@@ -10,6 +10,10 @@ UnitMeasurements::Energy = UnitMeasurements.build do
10
10
  si_unit "cal", value: "4.1868 J", aliases: ["calorie", "calories"]
11
11
 
12
12
  unit "eV", value: "1.602176634e-19 J", aliases: ["electronvolt", "electron volt", "electron-volt"]
13
+
14
+ unit "W⋅s", value: "1 J", aliases: ["W*s", "watt-second"]
15
+ unit "W⋅h", value: "3600 J", aliases: ["W*h", "watt-hour"]
16
+ unit "kW⋅h", value: "3.6e+6 J", aliases: ["kW*h", "kilowatt-hour"]
13
17
  end
14
18
 
15
19
  system :centimetre_gram_second do
@@ -17,11 +21,37 @@ UnitMeasurements::Energy = UnitMeasurements.build do
17
21
  end
18
22
 
19
23
  system :us_customary do
20
- si_unit "Btu", value: "1055.05585262 J", aliases: ["btu", "btus", "british thermal unit", "british thermal units"]
24
+ si_unit "BTU", value: "1055.05585262 J", aliases: ["Btu", "british thermal unit", "british thermal units"]
21
25
 
22
- unit "thm", value: "100 kBtu", aliases: ["therm", "therms"]
26
+ unit "thm", value: "100 kBTU", aliases: ["therm", "therms"]
23
27
  unit "quad", value: "1.05505585262e+18 J", aliases: ["quads"]
28
+
29
+ unit "ft⋅lbf", value: "1.3558179483314004 J", aliases: ["ft*lbf", "ft⋅lb", "ft*lb", "foot-pound force"]
30
+ unit "in⋅lbf", value: "0.1129848290276167 J", aliases: ["in*lbf", "in⋅lb", "in*lb", "inch-pound force"]
31
+ end
32
+
33
+ system :foot_pound_second do
34
+ unit "ft⋅pdl", value: "4.21401100938048e-2 J", aliases: ["ft*pdl", "foot-poundal"]
35
+ end
36
+
37
+ system :metre_tonne_second do
38
+ unit "th", value: "4.1868e+6 J", aliases: ["thermie", "thermies"]
39
+ end
40
+
41
+ system :gravitational_metric do
42
+ unit "kp⋅m", value: "9.80665 J", aliases: ["kpm", "kp*m", "kilopond-metre", "kilopond-meter"]
43
+ end
44
+
45
+ system :imperial do
46
+ unit "hp⋅h", value: "2.685e+13 erg", aliases: ["hp*h", "horsepower-hour"]
24
47
  end
25
48
 
49
+ unit "Ry", value: "2.179872e-18 J", aliases: ["rydberg"]
50
+ unit "Ha", value: "4.359744e-18 J", aliases: ["hartree", "atomic unit of energy"]
51
+ unit "boe", value: "5.86152 GJ", aliases: ["barrel of oil equivalent", "barrels of oil equivalent"]
52
+ unit "tce", value: "29.3076 GJ", aliases: ["TCE", "tonne of coal equivalent", "tonnes of coal equivalent"]
53
+ unit "toe", value: "41.868 GJ", aliases: ["tonne of oil equivalent", "tonnes of oil equivalent"]
26
54
  unit "foe", value: "1e+51 erg", aliases: ["bethe"]
55
+ unit "l⋅atm", value: "101.325 J", aliases: ["l*atm", "litre-atmosphere", "liter-atmosphere"]
56
+ unit "gal⋅atm", value: "460.63256925 J", aliases: ["gal*atm", "gallon-atmosphere"]
27
57
  end
@@ -8,7 +8,10 @@ UnitMeasurements::Force = UnitMeasurements.build do
8
8
  system :metric do
9
9
  si_unit "N", aliases: ["newton", "newtons"]
10
10
 
11
- unit "kgf", value: "9.80665 N", aliases: ["kilogram-force", "kilogramme-force"]
11
+ unit "p", value: "0.00980665 N", aliases: ["pond", "ponds"]
12
+ unit "gf", value: "0.00980665 N", aliases: ["gram-force", "gramme-force"]
13
+ unit "kgf", value: "9.80665 N", aliases: ["kp", "gvf", "kilogram-force", "kilogramme-force"]
14
+ unit "mgvf", value: "9.80665 mN", aliases: ["gvtf", "gravet-force", "milligrave-force"]
12
15
  end
13
16
 
14
17
  system :centimetre_gram_second do
@@ -16,7 +19,8 @@ UnitMeasurements::Force = UnitMeasurements.build do
16
19
  end
17
20
 
18
21
  system :metre_tonne_second do
19
- unit "tf", value: "8896.443230521 N", aliases: ["tonne-force"]
22
+ unit "sn", value: "1e+3 N", aliases: ["sthene", "sthenes", "sthène"]
23
+ unit "tf", value: "8896.443230521 N", aliases: ["metric ton-force", "tonne-force"]
20
24
  end
21
25
 
22
26
  system :english_engineering do
@@ -27,4 +31,16 @@ UnitMeasurements::Force = UnitMeasurements.build do
27
31
  unit "pdl", value: "0.138254954376 N", aliases: ["poundal", "poundals"]
28
32
  unit "ozf", value: "0.27801385095378125 N", aliases: ["ounce-force"]
29
33
  end
34
+
35
+ system :us_customary do
36
+ unit "tnf", value: "2000 lbf", aliases: ["ton-force", "short ton-force"]
37
+ unit "kipf", value: "4.4482216152605e+3 N", aliases: ["kip", "klbf", "kip-force"]
38
+ end
39
+
40
+ system :imperial do
41
+ unit "LTf", value: "2240 lbf", aliases: ["long ton-force"]
42
+ unit "(lb⋅m)/s²", value: "0.45359237 N", aliases: ["(lb*m)/s^2", "pound meter per second squared", "pound metre per second squared"]
43
+ unit "(lb⋅ft)/s²", value: "0.138254954376 N", aliases: ["(lb*ft)/s^2", "pound foot per second squared"]
44
+ unit "(lb⋅in)/s²", value: "0.011521246198 N", aliases: ["(lb*in)/s^2", "pound inch per second squared"]
45
+ end
30
46
  end
@@ -8,16 +8,46 @@ UnitMeasurements::Power = UnitMeasurements.build do
8
8
  system :metric do
9
9
  si_unit "W", aliases: ["watt", "watts"]
10
10
 
11
+ unit "p", value: "980.665 W", aliases: ["poncelet", "poncelets"]
12
+
11
13
  unit "hp (M)", value: "735.49875 W", aliases: ["PS", "metric horsepower"]
14
+
15
+ unit "kgf⋅m", value: "9.80665 W", aliases: ["kgf*m", "kilogramme-force meter", "kilogram-force meter"]
16
+
17
+ unit "cal/s", value: "4.1868 W", aliases: ["calorie per second", "calories per second"]
18
+ unit "cal/min", value: "0.06978 W", aliases: ["calorie per minute", "calories per minute"]
19
+ unit "cal/h", value: "0.001163 W", aliases: ["calorie per hour", "calories per hour"]
20
+
21
+ unit "l·atm/s", value: "101.325 W", aliases: ["l*atm/s", "litre-atmosphere per second", "liter-atmosphere per second"]
22
+ unit "l·atm/min", value: "1.68875 W", aliases: ["l*atm/min", "litre-atmosphere per minute", "liter-atmosphere per minute"]
23
+ unit "l·atm/h", value: "0.028145833333333335 W", aliases: ["l*atm/h", "litre-atmosphere per hour", "liter-atmosphere per hour"]
24
+
25
+ unit "atm⋅cm³/s", value: "0.101325 W", aliases: ["atm*cm^3/s", "atmosphere-cubic centimetre per second", "atmosphere-cubic centimeter per second"]
26
+ unit "atm⋅cm³/min", value: "1.68875e-3 W", aliases: ["atm*cm^3/min", "atmosphere-cubic centimetre per minute", "atmosphere-cubic centimeter per minute"]
27
+ unit "atm⋅cm³/h", value: "2.814583333333333e-5 W", aliases: ["atm*cm^3/h", "atmosphere-cubic centimetre per hour", "atmosphere-cubic centimeter per hour"]
12
28
  end
13
29
 
14
30
  system :imperial do
15
31
  unit "hp", value: "745.69987158227022 W", aliases: ["hp (I)", "horsepower"]
32
+
33
+ unit "ft⋅lbf/s", value: "1.3558179483314004 W", aliases: ["ft*lbf/s", "foot pound-force per second"]
34
+ unit "ft⋅lbf/min", value: "0.02259696580552334 W", aliases: ["ft*lbf/min", "foot pound-force per minute"]
35
+ unit "ft⋅lbf/h", value: "0.00037661609675872 W", aliases: ["ft*lbf/h", "foot pound-force per hour"]
36
+
37
+ unit "atm⋅ft³/s", value: "2.8692044809344e+3 W", aliases: ["atm*ft^3/s", "atmosphere-cubic foot per second"]
38
+ unit "atm⋅ft³/min", value: "47.82007468224 W", aliases: ["atm*ft^3/min", "atmosphere-cubic foot per minute"]
39
+ unit "atm⋅ft³/h", value: "0.79700124704 W", aliases: ["atm*ft^3/h", "atmosphere-cubic foot per hour"]
40
+ end
41
+
42
+ system :us_customary do
43
+ unit "BTU/s", value: "1055.05585262 W", aliases: ["british thermal unit per second", "british thermal units per second"]
44
+ unit "BTU/min", value: "17.584264210333 W", aliases: ["british thermal unit per minute", "british thermal units per minute"]
45
+ unit "BTU/h", value: "0.29307107017222 W", aliases: ["british thermal unit per hour", "british thermal units per hour"]
16
46
  end
17
47
 
18
48
  system :centimetre_gram_second do
19
49
  unit "erg/s", value: "1e-7 W", aliases: ["erg per second", "ergs per second"]
20
50
  end
21
51
 
22
- unit "cal/s", value: "4.1868 W", aliases: ["calorie per second", "calories per second"]
52
+ unit "lusec", value: "133.3224 μW", aliases: ["lusecs"]
23
53
  end
@@ -9,6 +9,40 @@ UnitMeasurements::Pressure = UnitMeasurements.build do
9
9
  si_unit "Pa", aliases: ["pascal", "pascals"]
10
10
 
11
11
  unit "bar", value: "100 kPa", aliases: ["bars"]
12
+ unit "atm", value: "101325 Pa", aliases: ["atmosphere", "atmospheres"]
13
+ unit "Torr", value: "1/760 atm", aliases: ["torr"]
14
+
15
+ unit "μmHg", value: "0.133322387415 Pa", aliases: ["micrometer of mercury", "micrometers of mercury", "micrometre of mercury", "micrometres of mercury"]
16
+ unit "mmHg", value: "133.322387415 Pa", aliases: ["millimeter of mercury", "millimeters of mercury", "millimetre of mercury", "millimetres of mercury"]
17
+ unit "cmHg", value: "1333.22387415 Pa", aliases: ["centimeter of mercury", "centimeters of mercury", "centimetre of mercury", "centimetres of mercury"]
18
+
19
+ unit "mH₂O", value: "9.80665 kPa", aliases: ["mH2O", "meter of water", "meters of water", "metre of water", "metres of water"]
20
+ unit "dmH₂O", value: "980.665 Pa", aliases: ["dmH2O", "decimeter of water", "decimeters of water", "decimetre of water", "decimetres of water"]
21
+ unit "cmH₂O", value: "98.0665 Pa", aliases: ["cmH2O", "centimeter of water", "centimeters of water", "centimetre of water", "centimetres of water"]
22
+ unit "mmH₂O", value: "9.80665 Pa", aliases: ["mmH2O", "millimeter of water", "millimeters of water", "millimetre of water", "millimetres of water"]
23
+
24
+ unit "kgf/m²", value: "9.80665 Pa", aliases: ["kgf/m^2", "kilogram-force per square metre", "kilogramme-force per square metre"]
25
+ unit "kgf/mm²", value: "9.80665 MPa", aliases: ["kgf/mm^2", "kilogram-force per square millimetre", "kilogramme-force per square millimetre"]
26
+ unit "kgf/dm²", value: "980.665 Pa", aliases: ["kgf/dm^2", "kilogram-force per square decimetre", "kilogramme-force per square decimetre"]
27
+ end
28
+
29
+ system :imperial do
30
+ unit "psf", value: "47.880259 Pa", aliases: ["lb/ft²", "lb/ft^2", "pound per square foot", "pounds per square foot"]
31
+ unit "psi", value: "6.894757 kPa", aliases: ["lb/in²", "lb/in^2", "pound per square inch", "pounds per square inch"]
32
+ unit "ksi", value: "1000 psi", aliases: ["kip per square inch", "kilopound per square inch", "kilopounds per square inch"]
33
+
34
+ unit "LT/ft²", value: "1.0725178011595e+5 Pa", aliases: ["LT/ft^2", "long ton per square foot", "long tons per square foot"]
35
+ unit "pdl/ft²", value: "1.488164 Pa", aliases: ["pdl/ft^2", "poundal per square foot", "poundals per square foot"]
36
+ end
37
+
38
+ system :us_customary do
39
+ unit "inHg", value: "3.386388640341 kPa", aliases: ["″Hg", "inch of mercury", "inches of mercury"]
40
+ unit "ftHg", value: "40.636663684092 kPa", aliases: ["′Hg", "foot of mercury", "feet of mercury"]
41
+
42
+ unit "ftH₂O", value: "2.98898 kPa", aliases: ["ftH2O", "foot of water", "feet of water"]
43
+ unit "inH₂O", value: "249.0889 Pa", aliases: ["inH2O", "Aq", "inAq", "inch of water", "inches of water", "inch of water gauge", "inches of water gauge", "inch of water column", "inches of water column"]
44
+
45
+ unit "tn/ft²", value: "9.5760518e+4 Pa", aliases: ["tn/ft^2", "ton per square foot", "tons per square foot", "short ton per square foot", "short tons per square foot"]
12
46
  end
13
47
 
14
48
  system :centimetre_gram_second do
@@ -22,7 +56,4 @@ UnitMeasurements::Pressure = UnitMeasurements.build do
22
56
  system :gravitational_metric do
23
57
  unit "at", value: "98066.5 Pa", aliases: ["technical atmosphere", "technical atmospheres"]
24
58
  end
25
-
26
- unit "atm", value: "101325 Pa", aliases: ["atmosphere", "atmospheres"]
27
- unit "Torr", value: [Rational(1, 760), "atm"], aliases: ["torr"]
28
59
  end
@@ -8,11 +8,22 @@ UnitMeasurements::Torque = UnitMeasurements.build do
8
8
  system :metric do
9
9
  si_unit "N·m", aliases: ["N*m", "newton meter", "newton metre"]
10
10
 
11
+ unit "N·cm", value: "0.01 N·m", aliases: ["N*cm", "newton centimeter", "newton centimetre"]
12
+ unit "N·mm", value: "0.001 N·m", aliases: ["N*mm", "newton millimeter", "newton millimetre"]
13
+
14
+ unit "gf·m", value: "9.80665e-3 N·m", aliases: ["gf*m", "gram-force meter", "gramme-force metre"]
15
+ unit "gf·cm", value: "9.80665e-5 N·m", aliases: ["gf*cm", "gram-force centimeter", "gramme-force centimetre"]
16
+ unit "gf·mm", value: "9.80665e-6 N·m", aliases: ["gf*mm", "gram-force millimeter", "gramme-force millimetre"]
17
+
11
18
  unit "kgf·m", value: "9.80665 N·m", aliases: ["kgf*m", "Kilogram-force meter", "kilogramme-force metre"]
19
+ unit "kgf·cm", value: "0.0980665 N·m", aliases: ["kgf*cm", "Kilogram-force centimeter", "kilogramme-force centimetre"]
20
+ unit "kgf·mm", value: "0.00980665 N·m", aliases: ["kgf*mm", "Kilogram-force millimeter", "kilogramme-force millimetre"]
12
21
  end
13
22
 
14
23
  system :centimetre_gram_second do
24
+ unit "dyn·m", value: "1e-5 N·m", aliases: ["dyn*m", "dyne meter", "dyne metre"]
15
25
  unit "dyn·cm", value: "1e-7 N·m", aliases: ["dyn*cm", "dyne centimeter", "dyne centimetre"]
26
+ unit "dyn·mm", value: "1e-8 N·m", aliases: ["dyn*mm", "dyne millimeter", "dyne millimetre"]
16
27
  end
17
28
 
18
29
  system :foot_pound_second do
@@ -4,5 +4,5 @@
4
4
 
5
5
  module UnitMeasurements
6
6
  # Current stable version.
7
- VERSION = "5.7.0"
7
+ VERSION = "5.9.0"
8
8
  end
data/units.md CHANGED
@@ -287,12 +287,22 @@ These units are defined in `UnitMeasurements::Force`.
287
287
  | # | Name | Aliases |
288
288
  |:--|:--|:--|
289
289
  | _1_ | _N*_ | _newton, newtons_ |
290
- | 2 | tf | tonne-force |
291
- | 3 | dyn | dyne, dynes |
292
- | 4 | kgf | kilogram-force, kilogramme-force |
293
- | 5 | ozf | ounce-force |
294
- | 6 | lbf | pound-force |
295
- | 7 | pdl | poundal, poundals |
290
+ | 2 | p | pond, ponds |
291
+ | 3 | gf | gram-force, gramme-force |
292
+ | 4 | tf | metric ton-force, tonne-force |
293
+ | 5 | sn | sthene, sthenes, sthène |
294
+ | 6 | dyn | dyne, dynes |
295
+ | 7 | kgf | kp, gvf, kilogram-force, kilogramme-force |
296
+ | 8 | ozf | ounce-force |
297
+ | 9 | lbf | pound-force |
298
+ | 10 | pdl | poundal, poundals |
299
+ | 11 | tnf | ton-force, short ton-force |
300
+ | 12 | LTf | long ton-force |
301
+ | 13 | mgvf | gvtf, gravet-force, milligrave-force |
302
+ | 14 | kipf | kip, klbf, kip-force |
303
+ | 15 | (lb⋅m)/s² | (lb*m)/s^2, pound meter per second squared, pound metre per second squared |
304
+ | 16 | (lb⋅ft)/s² | (lb*ft)/s^2, pound foot per second squared |
305
+ | 17 | (lb⋅in)/s² | (lb*in)/s^2, pound inch per second squared |
296
306
 
297
307
  ## 16. Velocity or speed
298
308
 
@@ -505,12 +515,32 @@ These units are defined in `UnitMeasurements::Pressure`.
505
515
  | # | Name | Aliases |
506
516
  |:--|:--|:--|
507
517
  | _1_ | _Pa*_ | _pascal, pascals_ |
508
- | 2 | bar | bars |
509
- | 3 | Ba | barye, baryes |
510
- | 4 | pz | pieze, pièze |
511
- | 5 | at | technical atmosphere, technical atmospheres |
512
- | 6 | atm | atmosphere, atmospheres |
513
- | 7 | Torr | torr |
518
+ | 2 | Ba | barye, baryes |
519
+ | 3 | pz | pieze, pièze |
520
+ | 4 | at | technical atmosphere, technical atmospheres |
521
+ | 5 | atm | atmosphere, atmospheres |
522
+ | 6 | bar | bars |
523
+ | 7 | psf | lb/ft², lb/ft^2, pound per square foot, pounds per square foot |
524
+ | 8 | psi | lb/in², lb/in^2, pound per square inch, pounds per square inch |
525
+ | 9 | ksi | kip per square inch, kilopound per square inch, kilopounds per square inch |
526
+ | 10 | Torr | torr |
527
+ | 11 | μmHg | micrometer of mercury, micrometers of mercury, micrometre of mercury, micrometres of mercury |
528
+ | 12 | mmHg | millimeter of mercury, millimeters of mercury, millimetre of mercury, millimetres of mercury |
529
+ | 13 | cmHg | centimeter of mercury, centimeters of mercury, centimetre of mercury, centimetres of mercury |
530
+ | 14 | inHg | ″Hg, inch of mercury, inches of mercury |
531
+ | 15 | ftHg | ′Hg, foot of mercury, feet of mercury |
532
+ | 16 | mH₂O | mH2O, meter of water, meters of water, metre of water, metres of water |
533
+ | 17 | dmH₂O | dmH2O, decimeter of water, decimeters of water, decimetre of water, decimetres of water |
534
+ | 18 | cmH₂O | cmH2O, centimeter of water, centimeters of water, centimetre of water, centimetres of water |
535
+ | 19 | mmH₂O | mmH2O, millimeter of water, millimeters of water, millimetre of water, millimetres of water |
536
+ | 20 | ftH₂O | ftH2O, foot of water, feet of water |
537
+ | 21 | inH₂O | inH2O, Aq, inAq, inch of water, inches of water, inch of water gauge, inches of water gauge, inch of water column, inches of water column |
538
+ | 22 | LT/ft² | LT/ft^2, long ton per square foot, long tons per square foot |
539
+ | 23 | tn/ft² | tn/ft^2, ton per square foot, tons per square foot, short ton per square foot, short tons per square foot |
540
+ | 24 | pdl/ft² | pdl/ft^2, poundal per square foot, poundals per square foot |
541
+ | 25 | kgf/m² | kgf/m^2, kilogram-force per square metre, kilogramme-force per square metre |
542
+ | 26 | kgf/mm² | kgf/mm^2, kilogram-force per square millimetre, kilogramme-force per square millimetre |
543
+ | 27 | kgf/dm² | kgf/dm^2, kilogram-force per square decimetre, kilogramme-force per square decimetre |
514
544
 
515
545
  ## 34. Torque or moment of force
516
546
 
@@ -519,13 +549,22 @@ These units are defined in `UnitMeasurements::Torque`.
519
549
  | # | Name | Aliases |
520
550
  |:--|:--|:--|
521
551
  | _1_ | _N·m*_ | _N*m, newton meter, newton metre_ |
522
- | 2 | kgf·m | kgf*m, Kilogram-force meter, kilogramme-force metre |
523
- | 3 | dyn·cm | dyn*cm, dyne centimeter, dyne centimetre |
524
- | 4 | pdl⋅ft | pdl*ft, poundal foot, foot-poundal |
525
- | 5 | ozf·in | oz⋅in, ozf\*in, oz\*in, ounce-force inch, ounce-inch |
526
- | 6 | ozf·ft | oz⋅ft, ozf\*ft, oz\*ft, ounce-force foot, ounce-foot |
527
- | 7 | lbf⋅in | lb⋅in, lbf\*in, lb\*in, pound-force inch, pound-inch |
528
- | 8 | lbf⋅ft | lb⋅ft, lbf\*ft, lb\*ft, pound-force foot, pound-foot |
552
+ | 2 | N·cm | N*cm, newton centimeter, newton centimetre |
553
+ | 3 | N·mm | N*mm, newton millimeter, newton millimetre |
554
+ | 4 | gf·m | gf*m, gram-force meter, gramme-force metre |
555
+ | 5 | gf·cm | gf*cm, gram-force centimeter, gramme-force centimetre |
556
+ | 6 | gf·mm | gf*mm, gram-force millimeter, gramme-force millimetre |
557
+ | 7 | kgf·m | kgf*m, Kilogram-force meter, kilogramme-force metre |
558
+ | 8 | kgf·cm | kgf*cm, Kilogram-force centimeter, kilogramme-force centimetre |
559
+ | 9 | kgf·mm | kgf*mm, Kilogram-force millimeter, kilogramme-force millimetre |
560
+ | 10 | dyn·m | dyn*m, dyne meter, dyne metre |
561
+ | 11 | dyn·cm | dyn*cm, dyne centimeter, dyne centimetre |
562
+ | 12 | dyn·mm | dyn*mm, dyne millimeter, dyne millimetre |
563
+ | 13 | pdl⋅ft | pdl*ft, poundal foot, foot-poundal |
564
+ | 14 | ozf·in | oz⋅in, ozf\*in, oz\*in, ounce-force inch, ounce-inch |
565
+ | 15 | ozf·ft | oz⋅ft, ozf\*ft, oz\*ft, ounce-force foot, ounce-foot |
566
+ | 16 | lbf⋅in | lb⋅in, lbf\*in, lb\*in, pound-force inch, pound-inch |
567
+ | 17 | lbf⋅ft | lb⋅ft, lbf\*ft, lb\*ft, pound-force foot, pound-foot |
529
568
 
530
569
  ## 35. Luminous flux
531
570
 
@@ -577,10 +616,30 @@ These units are defined in `UnitMeasurements::Power`.
577
616
  | # | Name | Aliases |
578
617
  |:--|:--|:--|
579
618
  | _1_ | _W*_ | _watt, watts_ |
580
- | 2 | hp (M) | PS, metric horsepower |
581
- | 3 | hp | hp (I), horsepower |
582
- | 4 | erg/s | erg per second, ergs per second |
619
+ | 2 | p | poncelet, poncelets |
620
+ | 3 | hp (M) | PS, metric horsepower |
621
+ | 4 | kgf⋅m | kgf*m, kilogramme-force meter, kilogram-force meter |
583
622
  | 5 | cal/s | calorie per second, calories per second |
623
+ | 6 | cal/min | calorie per minute, calories per minute |
624
+ | 7 | cal/h | calorie per hour, calories per hour |
625
+ | 8 | l·atm/s | l*atm/s, litre-atmosphere per second, liter-atmosphere per second |
626
+ | 9 | l·atm/min | l*atm/min, litre-atmosphere per minute, liter-atmosphere per minute |
627
+ | 10 | l·atm/h | l*atm/h, litre-atmosphere per hour, liter-atmosphere per hour |
628
+ | 11 | atm⋅cm³/s | atm*cm^3/s, atmosphere-cubic centimetre per second, atmosphere-cubic centimeter per second |
629
+ | 12 | atm⋅cm³/min | atm*cm^3/min, atmosphere-cubic centimetre per minute, atmosphere-cubic centimeter per minute |
630
+ | 13 | atm⋅cm³/h | atm*cm^3/h, atmosphere-cubic centimetre per hour, atmosphere-cubic centimeter per hour |
631
+ | 14 | hp | hp (I), horsepower |
632
+ | 15 | ft⋅lbf/s | ft*lbf/s, foot pound-force per second |
633
+ | 16 | ft⋅lbf/min | ft*lbf/min, foot pound-force per minute |
634
+ | 17 | ft⋅lbf/h | ft*lbf/h, foot pound-force per hour |
635
+ | 18 | BTU/s | british thermal unit per second, british thermal units per second |
636
+ | 19 | BTU/min | british thermal unit per minute, british thermal units per minute |
637
+ | 20 | BTU/h | british thermal unit per hour, british thermal units per hour |
638
+ | 21 | erg/s | erg per second, ergs per second |
639
+ | 22 | lusec | lusecs |
640
+ | 23 | atm⋅ft³/s | atm*ft^3/s, atmosphere-cubic foot per second |
641
+ | 24 | atm⋅ft³/min | atm*ft^3/min, atmosphere-cubic foot per minute |
642
+ | 25 | atm⋅ft³/h | atm*ft^3/h, atmosphere-cubic foot per hour |
584
643
 
585
644
  ## 40. Energy
586
645
 
@@ -589,13 +648,29 @@ These units are defined in `UnitMeasurements::Energy`.
589
648
  | # | Name | Aliases |
590
649
  |:--|:--|:--|
591
650
  | _1_ | _J*_ | _joule, joules_ |
592
- | 2 | cal | calorie, calories |
593
- | 3 | eV | electronvolt, electron volt, electron-volt |
594
- | 4 | erg | ergs |
595
- | 5 | Btu | btu, btus, british thermal unit, british thermal units |
596
- | 6 | thm | therm, therms |
597
- | 7 | quad | quads |
598
- | 8 | foe | bethe |
651
+ | 2 | eV | electronvolt, electron volt, electron-volt |
652
+ | 3 | th | thermie, thermies |
653
+ | 4 | Ry | rydberg |
654
+ | 5 | Ha | hartree, atomic unit of energy |
655
+ | 6 | boe | barrel of oil equivalent, barrels of oil equivalent |
656
+ | 7 | toe | tonne of oil equivalent, tonnes of oil equivalent |
657
+ | 8 | tce | TCE, tonne of coal equivalent, tonnes of coal equivalent |
658
+ | 9 | cal | calorie, calories |
659
+ | 10 | erg | ergs |
660
+ | 11 | BTU | Btu, british thermal unit, british thermal units |
661
+ | 12 | thm | therm, therms |
662
+ | 13 | W⋅s | W*s, watt-second |
663
+ | 14 | W⋅h | W*h, watt-hour |
664
+ | 15 | kp⋅m | kpm, kp*m, kilopond-metre, kilopond-meter |
665
+ | 16 | hp⋅h | hp*h, horsepower-hour |
666
+ | 17 | kW⋅h | kW*h, kilowatt-hour |
667
+ | 18 | foe | bethe |
668
+ | 19 | quad | quads |
669
+ | 20 | l⋅atm | l*atm, litre-atmosphere, liter-atmosphere |
670
+ | 21 | ft⋅lbf | ft\*lbf, ft⋅lb, ft\*lb, foot-pound force |
671
+ | 22 | in⋅lbf | in\*lbf, in⋅lb, in\*lb, inch-pound force |
672
+ | 23 | ft⋅pdl | ft*pdl, foot-poundal |
673
+ | 24 | gal⋅atm | gal*atm, gallon-atmosphere |
599
674
 
600
675
  ## 41. Dynamic viscosity
601
676
 
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: 5.7.0
4
+ version: 5.9.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-11-04 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport