haphazardly_gem 0.1.2 → 0.1.3

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: f8a60f53123d89eff0ce1e3edb2f91fb64eec8ed23ea6ba314bce726a2722d6b
4
- data.tar.gz: 11b7f4f48a1614e721231364c25897e0cd669330f5eec543514764251a5e5d98
3
+ metadata.gz: 1149411e606cfcaa20b3447bdf616d4d9060ae874016f58f7362d26ffa0127fd
4
+ data.tar.gz: 03bbb77df620b3e4501dadb33765a50a3540fed112d24d16c7d4890be8e99cc7
5
5
  SHA512:
6
- metadata.gz: 5ca4e10dbf8f3c92da93350a463e07df1fba85ce9a4bc76d02d30a5c6caa92f337868dde477cf00cc3f56283351388a4da9abd95893a2d7352442f26a643d7ab
7
- data.tar.gz: eaf0166bea8c71724b02b3cb7fc90a767a065afd15016024cff9f633827b7dbbbb51eb6f63e07e15c64434f79bcc5c7d9df72887c193fac2664dfd4ccee19f3d
6
+ metadata.gz: 9740dcfadbaa78a864009671f2bee31fe4f4f84bd30cc36d7bd61eeb5ed065f22ccb1ec3328c9a48ac325c0dbcd855c6200394d78b74bb89f7f9f5d6fae6edc6
7
+ data.tar.gz: a8a043e0ce67e91cc90b66bf272d606db9efe448dbbd0bf382922fa3ea7a8be7f060d032c7d7407d5d34b5d46f4dab071b87480251143f6342a41712c363dae2
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
- ## [0.1.1] & [0.1.2] - 2022-07-12
1
+ ## [0.1.1] & [0.1.2] & [0.1.3] - 2022-07-12
2
2
 
3
3
  - removed extend feature which caused a crash.
4
4
  - bug fixes due to namespacing
5
+ - Fixed logic error in lotto.draw
5
6
 
6
7
  ## [0.1.0] - 2022-07-11
7
8
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- haphazardly_gem (0.1.2)
4
+ haphazardly_gem (0.1.3)
5
5
  minitest (~> 5.0)
6
6
  rake (~> 13.0)
7
7
  rubocop (~> 1.21)
@@ -4,7 +4,7 @@ module HaphazardlyGem
4
4
  class Lotto
5
5
  def self.pick
6
6
  output = Array.new
7
- while output.size >= 6
7
+ while output.size <= 6
8
8
  number = rand(1..69)
9
9
  output.push(number) unless output.include? (number)
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HaphazardlyGem
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haphazardly_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Rogers