lottery 0.0.1 → 0.0.2
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 +4 -4
- data/lib/lottery/command.rb +7 -7
- data/lib/lottery/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c542e590a73f088fb04d059692e4f1cb42d0a4eb
|
4
|
+
data.tar.gz: 74aed97abb29c9f8ee88a9be466b7117a6698745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdbf5453a042c40b400bf5ebe5b563c67be2fbd6f77a0134f44fe7b0cf042676bd8961c26c1415c17d23d7d76e25086e5d867e0f537be638ff61f1d3aa09ccb5
|
7
|
+
data.tar.gz: 8982de46e12b466d28491f68828943ca1a0b3e0faa490e1602d334a139088eddeecc31efc96eba33ffbef753879b4b361b0ef841a14322c7ddbb3196b67f4b84
|
data/lib/lottery/command.rb
CHANGED
@@ -20,12 +20,12 @@ module Lottery
|
|
20
20
|
def eu(which = 0)
|
21
21
|
case which.to_i
|
22
22
|
when 1 then puts 'Lotto:'; Lottery::Europe.lotto.pprint
|
23
|
-
when 2 then puts 'Thunderball'; Lottery::Europe.thunderball.pprint second_name: 'Thunderball number'
|
24
|
-
else puts 'Euro Millions'; Lottery::Europe.euro_millions.pprint second_name: 'Lucky Stars'
|
23
|
+
when 2 then puts 'Thunderball:'; Lottery::Europe.thunderball.pprint second_name: 'Thunderball number'
|
24
|
+
else puts 'Euro Millions:'; Lottery::Europe.euro_millions.pprint second_name: 'Lucky Stars'
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
desc 'tw [
|
28
|
+
desc 'tw [type]', 'Lotteries in Taiwan. Including Lotto649, SuperLotto638, and Daily Cash.'
|
29
29
|
long_desc <<-LONGDESC
|
30
30
|
$ lottery tw
|
31
31
|
|
@@ -39,7 +39,7 @@ module Lottery
|
|
39
39
|
LONGDESC
|
40
40
|
def tw(which = 0)
|
41
41
|
case which.to_i
|
42
|
-
when 1 then puts '6/49 Lotto'; Lottery::Taiwan.lotto_649.pprint
|
42
|
+
when 1 then puts '6/49 Lotto:'; Lottery::Taiwan.lotto_649.pprint
|
43
43
|
when 2 then puts 'Daily Cash 539:'; Lottery::Taiwan.daily_cash.pprint
|
44
44
|
else puts 'Super Lotto 638:'; Lottery::Taiwan.super_lotto_638.pprint first_name: '1st zone', second_name: '2nd zone'
|
45
45
|
end
|
@@ -57,9 +57,9 @@ module Lottery
|
|
57
57
|
ES_LONGDESC
|
58
58
|
def es(which = 0)
|
59
59
|
case which.to_i
|
60
|
-
when 1 then puts 'Sunday 5/54+1'; Lottery::Spain.sunday_5_54_plus1.pprint second_name: 'de matrix'
|
61
|
-
when 2 then puts 'Spanish 6/49'; Lottery::Spain.spanish_6_49.pprint
|
62
|
-
else puts 'Daily 6/49'; Lottery::Spain.daily_6_49.pprint
|
60
|
+
when 1 then puts 'Sunday 5/54+1:'; Lottery::Spain.sunday_5_54_plus1.pprint second_name: 'de matrix'
|
61
|
+
when 2 then puts 'Spanish 6/49:'; Lottery::Spain.spanish_6_49.pprint
|
62
|
+
else puts 'Daily 6/49:'; Lottery::Spain.daily_6_49.pprint
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
data/lib/lottery/version.rb
CHANGED