a1412tk_bmi 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -2
- data/a1412tk_bmi.gemspec +1 -1
- data/lib/a1412tk_bmi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c07ffc590bf6a91a516e5e40a5d1a19eb96a5aac
|
4
|
+
data.tar.gz: 9ba600e0a6d72ac634d4e6366d729e21e67deaec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81c854d7993d945e822b61b7afb6e3900bc2f5b48c425946cda8572a76c7df549083734956909f31dd9a3d8b53762ba8d116fa8e97397c75482281308ed6ead9
|
7
|
+
data.tar.gz: e21ab48b4d1d4f7af2486efe41f91c93c3965a019ba08694d38ef8a08e2c0d5a0c351942f40177b9f4ba98006b60dbc667a551e21a3581b6788b018950bdc1b6
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# A1412tkBmi
|
2
2
|
|
3
|
-
|
3
|
+
A simple BMI calculation
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -20,7 +20,19 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
Simply run `a1412tk_bmi` command with `height` and `weight`:
|
24
|
+
|
25
|
+
$ a1412tk_bmi [height(cm)] [weight(kg)]
|
26
|
+
|
27
|
+
Example:
|
28
|
+
|
29
|
+
$ a1412tk_bmi 180 70
|
30
|
+
21.6
|
31
|
+
|
32
|
+
Or you can put them as float:
|
33
|
+
|
34
|
+
$ a1412tk_bmi 180.5 70.8
|
35
|
+
21.7
|
24
36
|
|
25
37
|
## Contributing
|
26
38
|
|
data/a1412tk_bmi.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = A1412tkBmi::VERSION
|
9
9
|
spec.authors = ["rivayama"]
|
10
10
|
spec.email = ["tomozo16@gmail.com"]
|
11
|
-
spec.summary = %q{Simple BMI
|
11
|
+
spec.summary = %q{Simple BMI calculation}
|
12
12
|
spec.description = %q{Usage: a1412tk_bmi [height(cm)] [weight(kg)]}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
data/lib/a1412tk_bmi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: a1412tk_bmi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rivayama
|
@@ -79,6 +79,6 @@ rubyforge_project:
|
|
79
79
|
rubygems_version: 2.2.2
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
|
-
summary: Simple BMI
|
82
|
+
summary: Simple BMI calculation
|
83
83
|
test_files:
|
84
84
|
- test/test_a1412tk_bmi.rb
|