maikis_mega_lotto 0.5 → 0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 440603349e80049b505adfc996c877a153440059
4
- data.tar.gz: c835e188c050d7dbda09a171828ca7630ce7aeef
3
+ metadata.gz: 3e75d785eccd1504b49d4f59f998d075c8666ac2
4
+ data.tar.gz: a50e032b747f021cb8ea505a8dcb08ac9d63951e
5
5
  SHA512:
6
- metadata.gz: cabf3b405b455a1ce3ade1770a33a55665a159980f1febce98dcaffb17a5f9e624830e0455e999a06427eb114881ffdf78620e2cfeb8e7d2b4a9d46c87c21c7a
7
- data.tar.gz: 17daf76cae4ed25559b378682be64a79909aaf2a1491e078fb9505cbd292c7b113992c312c7afe3ecef5a028fcfcc4f0a2dda0f06a68bfd5b8587e85c527aac1
6
+ metadata.gz: dde4564714b233db1df447b6ec6ccf0043a1f43a244285ac6116f1d803ddffbf16a3298730d4eb2c4276af3b29e5cd5172d93c2cef0479b446d5f38c082b200d
7
+ data.tar.gz: eb7f2d83780fac11306234475d15130c0329909857523069eadca6cc2aaddc6367d12d2521f16f7b99d32d4cfbaaa9978bb02c07eb7aeec1b92acdf3497ae961
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  ``ruby
24
- MegaLotto::Drawing.new.draw # => [23, 5, 7, 12, 25]
24
+ MegaLotto::Drawing.new.draw # => [23, 5, 7, 12, 25, 52]
25
25
  ```
26
26
 
27
27
  ## Development
@@ -1,14 +1,14 @@
1
1
  module MegaLotto
2
2
  class Drawing
3
3
  def draw
4
- 5.times.map { single_draw }
4
+ 6.times.map { single_draw }
5
5
  end
6
6
 
7
7
 
8
8
  private
9
9
 
10
10
  def single_draw
11
- rand(0..60)
11
+ rand(0...60)
12
12
  end
13
13
  end
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module MegaLotto
2
- VERSION = "0.5"
2
+ VERSION = "0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maikis_mega_lotto
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mykolas