numeric_with_unit 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6c3724d871029ad4d5d0ff5372e0d26bdcacc742
4
- data.tar.gz: f074c81b267dc22d4c67c6eff47effa15622e69b
2
+ SHA256:
3
+ metadata.gz: 41bee40143594bbc1dc8e090b6f5dc353db7012d56d71ca8db54f1ddca068935
4
+ data.tar.gz: acb97dd0052976267aa940697335cf017556a1d2fad3f465609339b53e629817
5
5
  SHA512:
6
- metadata.gz: d0cacaf3263609abe26adc0acbcc6c48a7ee6ee951f655a5da79f0b5b1b6e37967c0ff31527fe3166b122da85616e5996943268ef8b949536a9701e361f10b95
7
- data.tar.gz: '068641c0886fef82749be9458ad385a37932d617e485740984d1d33d20c477f61bf7dcf95cff78b0691ef9650ae650873e017bb0be29414b032b7513b3a22e59'
6
+ metadata.gz: 4d438cd76e30911579b4701dd2262b433a7e00c0e6001660ddccf16c3723b87601a98208900215bd07c2c7a05226307b5be87ece44163e0a22de473c9ef0eb8e
7
+ data.tar.gz: 948ed97e8717e9645409c61783628ad9537474530361f18ed106665800e98fe65d5900b1d916f5ae0a43beb326829bc6b9d3700b8d4144e1c75eed035654f220
@@ -17,3 +17,4 @@ Unit['poise'] = 'g/(cm.s)'
17
17
 
18
18
  Unit['St'] = 'cm2/s'
19
19
 
20
+ Unit['dyn'] = "1/100000".to_r, 'N'
@@ -54,6 +54,7 @@ class NumericWithUnit
54
54
  # Force
55
55
  Unit['kgf'] = "9.80665".to_r, 'N'
56
56
  Unit['lbf'] = "4.4482216152605".to_r, 'N'
57
+ Unit['dyn'] = "1/100000".to_r, 'N'
57
58
 
58
59
  # Power
59
60
  Unit['PS'] = 75, 'kgf.m/s' # 仏馬力。小文字[ps]だとpico secondと区別がつかないため大文字で定義
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numeric_with_unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - diaphragm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-12 00:00:00.000000000 Z
11
+ date: 2018-05-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This gem provide NumericWithUnit class to calculate numeric with unit
14
14
  of measurement.
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  requirements: []
52
52
  rubyforge_project:
53
- rubygems_version: 2.6.11
53
+ rubygems_version: 2.7.3
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Numerical calculation with unit of measurement