covid_19_updates 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: d351ae4b9bfeceb4552e10787e2e3f585611eb03d6e034b09046fce8b182a857
4
- data.tar.gz: 5fec063284a1aae85936745af17ad51a9e215f122070796e2aa1091f02ae1958
3
+ metadata.gz: 0a4af1462e6b9a597b9c92c536648c125ec844c2f85506015222de04917e3b4c
4
+ data.tar.gz: be4d90d05b8d0e719ba1f86fd339ba4e32343448879fbe33a424472c0d56c3c3
5
5
  SHA512:
6
- metadata.gz: 82bebd0c502c8c9c2c5125a025cdf423f7e9ebffe7664042b09cb11afafbbd75c6366833cd7d320311dc377a59ce0751a07edf642ff00b83cf0cebca5462d9e8
7
- data.tar.gz: b90e11372b796534f99fef588e799baa568c645c3fde8f6dad5a35b820473cafaa4a1870fe70f3184e3aee77afed4724fe99a50b2902bc1e88f3c43310f7ed63
6
+ metadata.gz: 1fcb305c39eb41962f0d467e1e39da3a986ddd5f64b91b8821fb60266b8883deef8b9823e3f15968ab3e0bc3b301c72b1d0883104bdb40adf44290ff3fb4e657
7
+ data.tar.gz: 5e185957083a8b2a7fd85112a969c11d641ebf318dbc4c29cce0685463afd16219d0d227ffd805bb9898b2a294bb7c211c57fb8e1aee91e0fe4ce78d13b1be64
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- covid_19_updates (0.1.3)
4
+ covid_19_updates (0.1.4)
5
5
  colorize
6
6
  nokogiri
7
7
  thor (>= 1.0.1)
@@ -33,7 +33,7 @@ module Covid19Updates
33
33
 
34
34
  pick
35
35
 
36
- if @pick.to_i > array.count-1 || @pick.to_i < array.count-1
36
+ if @pick.to_i > array.size
37
37
  puts
38
38
  puts "Sorry, there is no story associated with this number.".light_green
39
39
  puts
@@ -60,7 +60,7 @@ module Covid19Updates
60
60
 
61
61
  pick
62
62
 
63
- if @pick.to_i > array.count-1 || @pick.to_i < array.count-1
63
+ if @pick.to_i > final.size
64
64
  puts
65
65
  puts "Sorry, there is no story associated with this number.".light_green
66
66
  puts
@@ -83,7 +83,7 @@ module Covid19Updates
83
83
 
84
84
  pick
85
85
 
86
- if @pick.to_i > array.count-1 || @pick.to_i < array.count-1
86
+ if @pick.to_i > array.size
87
87
  puts
88
88
  puts "Sorry, there is no story associated with this number.".light_green
89
89
  puts
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Covid19Updates
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covid_19_updates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Madden