spicy-proton 2.1.9 → 2.1.10

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
  SHA256:
3
- metadata.gz: 1fa2cc52584940620d964bbbbd4496c68d11746b1f63b24f38f8ef5f2e387f65
4
- data.tar.gz: 1de82283bedcc0c3f41214f9de9244936afd35b7b40ce596012f9aa176f6ba33
3
+ metadata.gz: 33f382fbd8fb89c323545a3c8042aa811b560718ec8ca366be9755fc3f31d629
4
+ data.tar.gz: 1f0b7bbefb7f75e403987a3d8a569e77fe782c1423140bbca0f8bfa5a0c04b2e
5
5
  SHA512:
6
- metadata.gz: 5088c00e36ae4410ef4626de86b6d36723f52264960b5572d70c2664aace610e714b5baeb9e98a898a12dd4d8a9241e4daca593ef9e2a4824ca51d53b7456b46
7
- data.tar.gz: b4b23395f0d3716085820a2ac7d1f936f96a4c6ee100b8aeae094292b78d178e3de2b684bacc140807639f2c1653763712824ba205f85069303cecf19d33d42c
6
+ metadata.gz: e488ba845089aa1ef132c19a1f8c1bfe43e488e5b4c4f1c0129286d13457753ba920211c73be6f2dff74997c90d2abc75284bd43fe34a10051b0686e96fbbda7
7
+ data.tar.gz: 59c0259e6dbc86b427a1c4683407e8322f0802b3de4c840e573101f66048791f5f971b71fb9cc19d0b61a37735433abf3318d2a19dfe0aa12069d03173aef7e1
data/README.md CHANGED
@@ -18,6 +18,8 @@ puts Spicy::Proton.pair
18
18
 
19
19
  ## Usage
20
20
 
21
+ **Option 1: Class methods**
22
+
21
23
  When generating single or infrequent specimens, class methods are faster and use less memory.
22
24
 
23
25
  ```ruby
@@ -41,6 +43,8 @@ Spicy::Proton.adverb(min: 0) # => "prophetically"
41
43
  Spicy::Proton.verb(max: 100) # => "sparkles"
42
44
  ```
43
45
 
46
+ **Option 2: Instance methods**
47
+
44
48
  When generating multiple specimens, instance methods are faster. The instance keeps the word corpus in memory. The instance methods are the same as their class method counterparts.
45
49
 
46
50
  ```ruby
Binary file
Binary file
Binary file
data/lib/corpus/nouns.bin CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicy-proton
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.9
4
+ version: 2.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schmich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2021-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata