cryptozoologist 1.3.0 → 1.3.1

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
2
  SHA1:
3
- metadata.gz: c406e07cbe2ea34ecca7b367824fe233ecc8e254
4
- data.tar.gz: 37e5cd8d6e43a75e82fa39a924174ac11f397b2f
3
+ metadata.gz: dd5e660c2e2933d44cc36660e28cbf7b020e22a7
4
+ data.tar.gz: a14810a76aa03107faacd3d8b4802efacb6bd1a7
5
5
  SHA512:
6
- metadata.gz: d4c198fa9aac99594ee691175c2192ae2393897af73539da99db96429c55aa97e6571cc660bb57bf326cdf17d6952e5a7482810e884b097873bbfb029d371182
7
- data.tar.gz: ea651edaf5f0b906ffe16fbc6ac4367bebd78c37dfb5e343a2c017ca2eb53060808da836b2b3f369f5770dbed34dc6a60d69e375b4db7696e97622e8ce86da87
6
+ metadata.gz: 00d2393f1aa24946ccbe019305e6d2b477252cb7c31b1df764caf708e825a568adc9f3788c1b574b9e78a9a19fbe004b9cc211080d5df95f987534430ef70333
7
+ data.tar.gz: fff4b36b58fd513a2db9f8e8089ec7f1d401db9fc293f1275ff718047383ca65e187577633e1281d3ac0cfad9008693f4190f92468fd8bc1ecad0c1d481d2620
@@ -16,5 +16,13 @@ module Cryptozoologist
16
16
  @colors = Dictionaries.colors
17
17
  @colors
18
18
  end
19
+
20
+ def clothing
21
+ Dictionaries.clothing
22
+ end
23
+
24
+ def quantity
25
+ Dictionaries.quantity
26
+ end
19
27
  end
20
28
  end
@@ -1,3 +1,3 @@
1
1
  module Cryptozoologist
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
@@ -5,35 +5,13 @@ describe Cryptozoologist::Dictionary do
5
5
  @dictionary = Cryptozoologist::Dictionary.new
6
6
  end
7
7
 
8
- context '#animals' do
9
- it 'has an animal list' do
10
- expect(@dictionary.animals.length).to be > 1
11
- end
12
-
13
- it 'contains Common animals' do
14
- common = Cryptozoologist::Dictionaries::Animals::Common.list
15
- expect(@dictionary.animals.include?(common.sample)).to be true
16
- end
17
-
18
- it 'contains Mythical creatures' do
19
- mythical = Cryptozoologist::Dictionaries::Animals::Mythical.list
20
- expect(@dictionary.animals.include?(mythical.sample)).to be true
21
- end
22
- end
23
-
24
- context '#colors' do
25
- it 'has a color list' do
26
- expect(@dictionary.colors.length).to be > 1
27
- end
28
-
29
- it 'contains paint colors' do
30
- paint = Cryptozoologist::Dictionaries::Colors::Paint.list
31
- expect(@dictionary.colors.include?(paint.sample)).to be true
32
- end
8
+ lists = [:animals, :colors, :clothing, :quantity]
33
9
 
34
- it 'contains web colors' do
35
- web = Cryptozoologist::Dictionaries::Colors::WebSafe.list
36
- expect(@dictionary.colors.include?(web.sample)).to be true
10
+ context 'word lists' do
11
+ lists.each do |list|
12
+ it "has #{list}" do
13
+ expect(@dictionary.send(list).length).to be > 1
14
+ end
37
15
  end
38
16
  end
39
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptozoologist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liz Abinante