LoremKnight 0.6.9 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiger.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce0e811c5eee3e7dcfd69524f0a9fb85735e2ba
4
- data.tar.gz: 3cf02a4aa2d692359d1d9e61fa16f34075ba62be
3
+ metadata.gz: cbf0ff8dc3efa175a7df33e8e42b3430f9f6044a
4
+ data.tar.gz: b968745282ac2cf41ca2a94ffd4ce95f67452524
5
5
  SHA512:
6
- metadata.gz: e29721c82503185201a392a55620e976c73a7cc2cedb0f8fe263adbd8054a46175e6954b9bfc429ce9848e5377e52713b08d26830b464705c9296406fb0ff248
7
- data.tar.gz: 00bbd3c8b7222b20d2957446766ea9df14ebf40e7ca29b189118033fe5e1f5df6420799c6bda23e3592fe35e44f10b5792c4c90cc7d57bf749656fb0c7653c65
6
+ metadata.gz: 410ba1ff1da6ea5a4ee2954e8f324ef8f4791ed97f1e061ea52890637213552eb9394e2bfc611a37c4bf03062880149cb0b81e362e08372a4eb4ec682edb62e5
7
+ data.tar.gz: 850774ce56828d97435a61a1689548db38887ab51ab14fef838c49184915b4c981a1548d129b8e2182a37e89e6d118f96284b94b96ded115f9c85196f3a27ff6
data/lib/tiger.rb CHANGED
@@ -19,7 +19,7 @@ class Tiger
19
19
 
20
20
  sentenceTimes.times do
21
21
  wordTimes.times do
22
- @sentence += @words[rand(@words.size)]+" "
22
+ @sentence += @words[rand(@words.size-1)]+" "
23
23
  end
24
24
  @sentence += " , "
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: LoremKnight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 1.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guga katsiashvili