card_deck 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/card_deck.rb +3 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 165bddc72fe986cd53606675edb609a31730fd0a
4
- data.tar.gz: 156717251856aaa038ea09e372802975f0b56e89
3
+ metadata.gz: 4e2923955364a6b2d7baad32f49294f475488c8e
4
+ data.tar.gz: aad2f79a7bf43bc4e84569169c1638d03785c3a2
5
5
  SHA512:
6
- metadata.gz: e1b85d1e15c1c590967e0f4c77394dc3c6e7403cf7c319038a9723d03209c9c3a87c5ad359900052c7568eccba4f0ffd2eea837100c5a533afd98704cc9e6d85
7
- data.tar.gz: 697d246360fba34c8e0eb064ab2e439ca82b5ad1fec23773a506eabec99ece90c356e064a0d7ea5f632bffa77c1d36aeaf06645ce0b5e6231e57535894e36f02
6
+ metadata.gz: 3cf8291cc0cc66f7442707eceffc8bd387a724ee627956b4f2f95fc05d6d50f206a698a1051257e743bac7569aee2b93719a6882f6afc07cb6f4fbb147ce372c
7
+ data.tar.gz: ce7cc2f7c1979d4cff1ac2b7246f7a7ac113c5e9966b789384ef438ea36dd6eacf5643ab32ed423ca396cebeebd8d0426ec6d7f21954cf9d96fc721b83464d94
data/lib/card_deck.rb CHANGED
@@ -29,12 +29,10 @@
29
29
  @cards = Array.new
30
30
  for suit in Card::SUIT
31
31
  stock 'Ace', suit
32
- stock 'King', suit
33
- stock 'Queen', suit
32
+ for num in (2..10).to_a; stock num, suit; end
34
33
  stock 'Jack', suit
35
- for num in (2..10).to_a
36
- stock num, suit
37
- end
34
+ stock 'Queen', suit
35
+ stock 'King', suit
38
36
  end
39
37
  2.times {stock 'Joker'} if jokers
40
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card_deck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Perlmutter