99_game 3.0.1.pre.102 → 3.0.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWRhN2I5YTZkNWQ1NmJmN2YxNGU4Mzc1N2VmMWI0NDEzNjhiM2I4Yw==
4
+ NmI1MWIzNGEzMzM5YzlmOTYwYzJkNWY0NTQzNWJiMDhiMTllNmM4Yw==
5
5
  data.tar.gz: !binary |-
6
- MGVjZTU2NWY1Yjc1NzE0NDdjNDYzMmE0OTQ2NzU3N2UzYmQzYzU3MQ==
6
+ NjlhMDAwMTc2YzJlMzFiZTY5ZmFhMDRiZDA5ZmQzNWY1NWVkOTkwMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2IxNTg1ZTM4MDZlZWYzOTQwZTkzY2FiOTg1NjE3YzA3YzI2YTkyYjdmMDli
10
- ZWM5YmJiYWQyNjcwYmVmOGM3ZGQyOGE4ZjJiYjYzYjE4NmVmYTdhYjUxNGJh
11
- MzNmYTY4Njk0NmE2NzA1ZjM0YjYyMDM0NmQ1YWEyMjA0NjE1Mzg=
9
+ YWI2ZDljZjNkY2EzNDg3N2ZkOTI5MjUyNDM0ZWY2NGZmN2Y4ZGE3ODYzYWZj
10
+ MDZkMmZiYWIwOTRkOTIwOTkzMzNhODJhZGYwOTI3ZDQwY2FlNDUzZTlhYjNk
11
+ NjExOGRmMDcyYTZiMzI2ODM1MWVjODBlZjM1ZWMxZGFmNmFkMjI=
12
12
  data.tar.gz: !binary |-
13
- MDAwYWQwMDE1MWNkOTU1ZTYzMGU4ZDZhYjc3YzRiNzBkY2RmODY5NTE3Y2Rj
14
- ZTliOTM4NjE2OGEwYjI4NWJmZTc0Njc5OWZkMGJkZGY5OTA2NGI3Njk0YTgw
15
- MDFhZGRkYTgyOWVhNjhhNWYxMzdhMmY2NjA5ZjE4MDkxZjNiNDc=
13
+ OWU5MWYwYzY0NzM2NTBlZWY4YWRiNDQ3NmRiMThmZTE1YWQ1MWM0ZjlhNjVi
14
+ YmQ1YjNiMjBmYWRiMTg0YjkzZjFkNGUxNjlkZDkxZTU5MWZmMTg4YzNjZWQz
15
+ MzU4M2RhZDEwMGVkZThjNTEzZThlYzc4ZmUyODkwZThjZWMyOGQ=
@@ -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
- # Backup method for Card#value
40
+ # Value of the card
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 true}
1
+ create_deck = proc {Deck.new jokers: 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.1.pre.102
4
+ version: 3.0.1
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-02 00:00:00.000000000 Z
11
+ date: 2014-11-03 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: '0'
19
+ version: '1.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: '0'
26
+ version: '1.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: 1.3.1
64
+ version: '0'
65
65
  requirements: []
66
66
  rubyforge_project:
67
67
  rubygems_version: 2.4.2