lottery 0.0.3 → 0.0.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
  SHA1:
3
- metadata.gz: a8f604e3656998c29ee8d3a3216e683d06f7ceaf
4
- data.tar.gz: 83493ee91e5286e0ca523aa8bc6469a7bbe3196e
3
+ metadata.gz: ede8ddac005011ce912b5b447b8805b70bebdf60
4
+ data.tar.gz: 2e1eda9f065252b74c428b44c9496aca0ed8b674
5
5
  SHA512:
6
- metadata.gz: fb3ea022339f8b290e2a937fe8118b8375be646a7ac924bb1de0a405f10c53005add01abd23e43882dddf3f5814921ae871d4ce996e29d9a5e42baf60324856b
7
- data.tar.gz: 618a675972e6f19a0e43148a2f3df46da49604cf33eebabe097916fb966f4717fd96fda3722956935ca9ab6b2c36141bd631eec5b21193e767774291b142059d
6
+ metadata.gz: 2191c7083743b4cd02d263a6ae8e73a2eaea6d0701119ee83a109ae1ea4d78c30b5a5f000399b4b23324ef0ec825d3c37e1a88abceec1bcce1f833212fd61e53
7
+ data.tar.gz: e1e359d55aaf88c1a1ab9a59c536400874c219c6623c2dd877984b9f265855b0ae2a219b0527297fe4eb187a6be8577cb79360af2255c2072949a12c1b4c4782
@@ -15,11 +15,10 @@ module Lottery
15
15
  $ lottery eu 1 will generate Lotto numbers.
16
16
 
17
17
  $ lottery eu 2 will generate Thunderball numbers.
18
- ...
19
18
  EU_LONGDESC
20
19
  def eu(which = 0)
21
20
  case which.to_i
22
- when 1 then puts 'Lotto:'; Lottery::Europe.lotto.pprint
21
+ when 1 then puts 'Lotto:'; Lottery::Europe.lotto.pprint
23
22
  when 2 then puts 'Thunderball:'; Lottery::Europe.thunderball.pprint second_name: 'Thunderball number'
24
23
  else puts 'Euro Millions:'; Lottery::Europe.euro_millions.pprint second_name: 'Lucky Stars'
25
24
  end
@@ -39,7 +38,7 @@ module Lottery
39
38
  LONGDESC
40
39
  def tw(which = 0)
41
40
  case which.to_i
42
- when 1 then puts '6/49 Lotto:'; Lottery::Taiwan.lotto_649.pprint
41
+ when 1 then puts '6/49 Lotto:'; Lottery::Taiwan.lotto_649.pprint
43
42
  when 2 then puts 'Daily Cash 539:'; Lottery::Taiwan.daily_cash.pprint
44
43
  else puts 'Super Lotto 638:'; Lottery::Taiwan.super_lotto_638.pprint first_name: '1st zone', second_name: '2nd zone'
45
44
  end
@@ -1,3 +1,3 @@
1
1
  module Lottery
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lottery.gemspec CHANGED
@@ -23,9 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_development_dependency "thor", "~> 0.18"
27
26
 
28
27
  spec.add_development_dependency "bundler", "~> 1.3"
29
28
  spec.add_development_dependency "rake"
30
29
 
30
+ spec.add_dependency "thor", "~> 0.18"
31
+
31
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lottery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanito Fatas
@@ -10,20 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2013-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: thor
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '0.18'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '0.18'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +38,20 @@ dependencies:
52
38
  - - '>='
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '0.18'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '0.18'
55
55
  description: Lottery Generator in Ruby
56
56
  email:
57
57
  - katehuang0320@gmail.com