99_game 3.0.2 → 3.1.0.pre.103

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjcyODcwMzZiZjZjMDM4NzhjOTRkMDczYmRiMWMzMzIxMTlkMmE5Mw==
4
+ YjcxYWFmNmQ1N2FmYTE4YzQwMjlmOWY3ZWZkMjEyNjBjN2JmNGYzZA==
5
5
  data.tar.gz: !binary |-
6
- MzM3NjcyN2ZjNTY5M2NjZDliNjM4ZjgzMWUzNjkzMmVjYjYxNmQ4MQ==
6
+ MzJjNGNjMjJmOTMzZGMxNGY4MzJmYzU1NTk5Mzc3ZTQxZTgwNzdjMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTA3NWI0NDdlNjgyNDcxNTYyM2I3MjgzMGU2NWQwNmU0NDZkN2FlOWViY2Y4
10
- YjcxYWFkODRhNmIwN2U5NzEyMzhhYTdlYjE3M2QzNzZkZDAyYWUzNjBmZGI0
11
- OWM1OTdiYmNlMjI5ZTA1YzUzNjI2YjcwYzk0ZDBmZTA4MWM4OTM=
9
+ NjJmYmY0YTZlYzAzMzIyZWE1NjVhMTg2ZjRhYzRjMDIzYjM2NjdiYzlkNGM2
10
+ NDUwNDY5OTVhMTg0NDY3OWMzYjIyNDEzODhmY2Y2Yjk3MDkyNGM4ZDQ2YTI5
11
+ MTljM2RhNGI2ZDUyNDFiNDlmMDNlNTllMmJhMGI2YzE5MzU5N2U=
12
12
  data.tar.gz: !binary |-
13
- MWYzZTRlZDBmMmJiNjIyYWFjODBmMjQ3MTAxZTczMjNiMDRiMmQ4NzE0Zjg2
14
- MTM2OWFkOTk3YmNmNDY3ZDYxY2EzYWJlZWUzMGJkY2E1MTQxMTlmNmU2ZWZh
15
- NTU3OTJlNGFmN2FlMWU2NmRjYmFmYTMzZWFmMDZjNTZhZWY0MWE=
13
+ YjZkNzYyNTg2MGQ0ZmUzMzQ0MDRjZGI5MTVlZjE3NDZiMGZmODA4ZWM0MTQ3
14
+ NzgxN2ZjYjljOGRlMTc0NjVhMzE3NGU0YWY3ZDZhOGQ5NzNkYTQ3NGVkNGE2
15
+ NjBjYzkwM2VhMzUwNzM1YWYzOGE1MjA1NjViODI1MTFiMmUwODg=
data/lib/99_game.rb CHANGED
@@ -37,7 +37,7 @@ require "card_deck"
37
37
  # Expected errors
38
38
  class CardError < Exception; end
39
39
  class CardDeck::Card # Represents a card in the deck
40
- # Value of the card
40
+ # Backup method for Card#value
41
41
  def value
42
42
  return case @num
43
43
  when "Ace" then 1
@@ -80,7 +80,7 @@ class Hand # Creates an object that holds and can play cards. Interacts with Dec
80
80
  end
81
81
  # Allows you to see your cards.
82
82
  def view
83
- print "\tThese are your cards: "
83
+ print "\tThese are your cards: "
84
84
  @hand.each {|card| print "\t#{card.num}"}
85
85
  end
86
86
  alias inspect hand
@@ -1,4 +1,4 @@
1
- create_deck = proc {Deck.new jokers: true}
1
+ create_deck = proc {Deck.new true}
2
2
  deck = create_deck.call
3
3
  describe Deck do
4
4
  describe create_deck.call.cards.length do
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 99_game
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.1.0.pre.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Perlmutter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-03 00:00:00.000000000 Z
11
+ date: 2014-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: card_deck
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '0'
27
27
  description: ! 'This is a text-based interpretation of the card game 99. Comes with
28
28
  the gem in the form of an executable. Make sure to read the rules in `99_game -h`
29
29
  before playing.
@@ -59,9 +59,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  version: 1.8.7
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ! '>='
62
+ - - ! '>'
63
63
  - !ruby/object:Gem::Version
64
- version: '0'
64
+ version: 1.3.1
65
65
  requirements: []
66
66
  rubyforge_project:
67
67
  rubygems_version: 2.4.2