random_title 2.0.0 → 2.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/random_title.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2acc922039cd910851ae144858fdd065b7182eaa
4
- data.tar.gz: 8cd2e619a9edb927da063a7fe31ea499c92b2bd3
3
+ metadata.gz: 35f9695cb3e6daec2b1ed06b05cabf2bb2c159f4
4
+ data.tar.gz: 54d9702a48981fbb6261ce5f1ea2b877b420f28d
5
5
  SHA512:
6
- metadata.gz: c765262ba87852f061cf490cef563ba3577282650830985093e60cb121f07edd7539e870e55d2b626a16b200725ba4a4760455507329c5350b50710d156c7ca0
7
- data.tar.gz: 3604b4e6c17df0ca51b35a8cfdd003d57d8f4dc7f85798d8f8d6f5f2ad21393cbea703a237f75fd097ac8efd266dca2ea2f598d6b4426d1f051ce97d3974ec69
6
+ metadata.gz: d837ead350ef12801fddd3d8f6ed0c679d967fcb587b2f815f719cfd63eb7bec3bec41f232b25e0f43d47a26c1377134f0cc093d18ec8534c300bcbb3e14d83e
7
+ data.tar.gz: 437820889886d80a7fa4147a5813cec09eca3cd014eabeca5ff8b14e24262382e40a7b9741d149cb7c12fdd04d875bb2a14199b5e8bf78af106c2e3ed48a8cda
data/lib/random_title.rb CHANGED
@@ -135,10 +135,10 @@ def random_title
135
135
  when 2 then @nouns.sample + " of " + @nouns.sample
136
136
  when 3 then "The " + @nouns.sample + "'s " + @nouns.sample
137
137
  when 4 then "The " + @nouns.sample + " of the " + @nouns.sample
138
- when 5 then "The " + @adjectives.sample + @nouns.sample + "ed " + @nouns.sample
138
+ when 5 then "The " + @adjectives.sample + "-" + @nouns.sample + "ed " + @nouns.sample
139
139
  when 6 then "The " + @nouns.sample + " with the " + @adjectives.sample + " " + @nouns.sample
140
140
  when 7 then "The " + @adjectives.sample + " " + @adjectives.sample + " " + @nouns.sample
141
141
  when 8 then @adjectives.sample + " " + @nouns.sample + " of " + @nouns.sample
142
- when 9 then "The " + @noun.sample + "-" + @adjectives.sample + " " + @nouns.sample
142
+ when 9 then "The " + @nouns.sample + "-" + @adjectives.sample + " " + @nouns.sample
143
143
  end
144
144
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_title
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonah Broh