cards_lib 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20bebeb9aaab1323d73b92bb9315c639d8aa97fd
4
- data.tar.gz: 95bd1fec2c0ad1f5c381fab7ea097ff755796357
3
+ metadata.gz: 0a9f64c4e90d833a7807063ed4ee9ad10c8d8644
4
+ data.tar.gz: d71b061a83c4830acecbf2bbf0bdf7d098c12d3f
5
5
  SHA512:
6
- metadata.gz: 0f1bced5837fda262d4b1b566b2f0a3636f01a3eddebc09c506ff6877b9dde7dc640f11e0004e05fbb9f1aacb9f790b483c58f2fdcf230fe74a0b432ecba22b5
7
- data.tar.gz: bdeb8a6e74ec116dc98d3ebcac4055bf4fc238612a21d52248b5247834b054e76b2a982da7ff956deb74c27118cf7e7737294b7db6d1ae4797cd685b548e20be
6
+ metadata.gz: 3553c0e48e45866fa0b51cdb9e2be3e415bf4c7bee6b5945af116b05c04555f8927ccd2d4e687293c410ee034651a99a0fc63a7aef287996578adeb06a4ac8eb
7
+ data.tar.gz: 35dbeb695e0c60ddbe86cedce03f74abfd91bef606edd791277af7c8032f1faf96a7a18518ce0b52ce722f809264f1922d4e86bd68918fe284680c64f7e7d5e9
@@ -1,3 +1,3 @@
1
1
  module CardsLib
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
data/lib/cards_lib.rb CHANGED
@@ -12,5 +12,5 @@ module CardsLib
12
12
  # Cards[]
13
13
  # generate Card instances from string
14
14
  # representations of their faces
15
- Cards = ->*c{ c.map {|*opts| Card.new(*opts)} }
15
+ Cards = ->*c{ c.map {|*opts| Card.new(*opts.flatten)} }
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cards_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark