ruby-poker 0.3.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +14 -9
- data/README.rdoc +11 -7
- data/Rakefile +6 -67
- data/examples/deck.rb +3 -3
- data/lib/ruby-poker.rb +0 -1
- data/lib/ruby-poker/card.rb +56 -56
- data/lib/ruby-poker/poker_hand.rb +191 -90
- data/ruby-poker.gemspec +20 -22
- data/test/test_card.rb +53 -20
- data/test/test_helper.rb +3 -4
- data/test/test_poker_hand.rb +344 -34
- metadata +44 -44
metadata
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-poker
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Rob Olson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
date: 2013-12-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: shoulda-context
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.1'
|
17
20
|
type: :development
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
24
|
-
version:
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.1'
|
25
27
|
description: Ruby library for comparing poker hands and determining the winner.
|
26
28
|
email: rob@thinkingdigitally.com
|
27
29
|
executables: []
|
28
|
-
|
29
30
|
extensions: []
|
30
|
-
|
31
|
-
extra_rdoc_files:
|
31
|
+
extra_rdoc_files:
|
32
32
|
- README.rdoc
|
33
33
|
- CHANGELOG
|
34
34
|
- LICENSE
|
35
|
-
files:
|
35
|
+
files:
|
36
36
|
- CHANGELOG
|
37
37
|
- examples/deck.rb
|
38
38
|
- examples/quick_example.rb
|
@@ -43,41 +43,41 @@ files:
|
|
43
43
|
- Rakefile
|
44
44
|
- README.rdoc
|
45
45
|
- ruby-poker.gemspec
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
46
|
+
- test/test_helper.rb
|
47
|
+
- test/test_card.rb
|
48
|
+
- test/test_poker_hand.rb
|
49
|
+
homepage: https://github.com/robolson/ruby-poker
|
50
|
+
licenses:
|
51
|
+
- BSD
|
52
|
+
metadata: {}
|
50
53
|
post_install_message:
|
51
|
-
rdoc_options:
|
54
|
+
rdoc_options:
|
52
55
|
- --title
|
53
56
|
- Ruby Poker Documentation
|
54
57
|
- --main
|
55
58
|
- README.rdoc
|
56
59
|
- --inline-source
|
57
60
|
- -q
|
58
|
-
require_paths:
|
61
|
+
require_paths:
|
59
62
|
- lib
|
60
63
|
- lib
|
61
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version:
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
version: "0"
|
72
|
-
version:
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
73
74
|
requirements: []
|
74
|
-
|
75
|
-
|
76
|
-
rubygems_version: 1.3.2
|
75
|
+
rubyforge_project:
|
76
|
+
rubygems_version: 2.0.3
|
77
77
|
signing_key:
|
78
|
-
specification_version:
|
78
|
+
specification_version: 4
|
79
79
|
summary: Poker library in Ruby
|
80
|
-
test_files:
|
80
|
+
test_files:
|
81
81
|
- test/test_helper.rb
|
82
82
|
- test/test_card.rb
|
83
83
|
- test/test_poker_hand.rb
|