age_group 0.0.1 → 0.0.2
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
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6439fe751022ba40d3030956ff542bd40af75b40
|
|
4
|
+
data.tar.gz: 266287e7f92df6de7459594b05e995717adf2d24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 649c75ff1567e8d14bdb8874d513ef7dd46506310164bd5c136f1bb3d03807a11085c95752bd6e1fedd3e14719f67a3cbd3a0ade1e179ecb88326ed8b390b594
|
|
7
|
+
data.tar.gz: 472b1d6a1379c053668460f0ff30f07c3c2b46fe8633bc0e97cae15ca51f27329b652562b872d21e27feff0eadcbe50ba57bb6ebf4f1869e2bc045f6c1593a6f
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: age_group
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evan Masterson
|
|
@@ -11,14 +11,14 @@ cert_chain: []
|
|
|
11
11
|
date: 2018-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |-
|
|
14
|
-
A simple gem to set the age category of a user given a date of birth.
|
|
15
|
-
Given a string representation of date of birth in the format yyyy-mm-dd
|
|
16
|
-
e.g; AgeGroup.setAgeCategory(1990-01-01) will return "Young Adult" as their age category
|
|
17
|
-
Age Ranges
|
|
18
|
-
0-2 > Infant
|
|
19
|
-
3-5 > Young Child
|
|
20
|
-
7-12 > Child
|
|
21
|
-
13-17 > Teen
|
|
14
|
+
A simple gem to set the age category of a user given a date of birth."\n"
|
|
15
|
+
Given a string representation of date of birth in the format yyyy-mm-dd\n
|
|
16
|
+
e.g; AgeGroup.setAgeCategory(1990-01-01) will return "Young Adult" as their age category\n
|
|
17
|
+
Age Ranges:\n
|
|
18
|
+
0-2 > Infant\n
|
|
19
|
+
3-5 > Young Child\n
|
|
20
|
+
7-12 > Child\n
|
|
21
|
+
13-17 > Teen\n
|
|
22
22
|
18-30 > Young Adult
|
|
23
23
|
31-45 > Middle Aged
|
|
24
24
|
46-64 > Mature Adult
|