deck-of-cards 0.0.6 → 0.0.7

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.
data/README.md CHANGED
@@ -25,25 +25,29 @@ deck.shuffle
25
25
  # #<9 of Spades>,
26
26
  # #<10 of Spades>,
27
27
  # #<Queen of Clubs>,
28
+ # #...,
28
29
 
29
30
  deck.split
30
- # => => [#<7 of Hearts>,
31
+ # => [#<7 of Hearts>,
31
32
  # #<4 of Diamonds>,
32
33
  # #<King of Diamonds>,
33
34
  # #<4 of Clubs>,
34
- # #<6 of Clubs>,
35
+ # #...,
35
36
 
36
37
  my_card = deck.draw
37
38
  # => #<7 of Hearts>
38
39
 
39
40
  your_card = deck.draw
40
- # => #<#<King of Diamonds>
41
+ # => #<King of Diamonds>
41
42
 
42
43
  my_card > your_card
43
44
  # => false
44
45
 
45
46
  my_card <= your_card
46
47
  # => true
48
+
49
+ my_card == your_card
50
+ # => false
47
51
  ```
48
52
 
49
53
  ## MIT License
@@ -6,7 +6,7 @@ require 'version'
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'deck-of-cards'
8
8
  s.version = DeckOfCards::VERSION
9
- s.authors = ['shannon skipper']
9
+ s.authors = ['Shannon Skipper']
10
10
  s.email = ['shannonskipper@gmail.com']
11
11
  s.homepage = 'https://github.com/Havenwood/deck-of-cards'
12
12
  s.summary = %q{a minimalist 'deck of cards' gem}
@@ -31,6 +31,6 @@ class Card
31
31
  end
32
32
 
33
33
  def inspect
34
- "<#{@rank} of #{@suit}>"
34
+ "#<#{@rank} of #{@suit}>"
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  class DeckOfCards
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deck-of-cards
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - shannon skipper
8
+ - Shannon Skipper
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-23 00:00:00.000000000 Z
12
+ date: 2012-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake