tamiyo 0.1.0 → 0.1.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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 527fdba4dbb9759b8be539f14206394b69aab164
4
- data.tar.gz: ba0f4e61cbeab758110ee0e520c5f9f31308b6aa
3
+ metadata.gz: d40afbabddd6523d855bbb46fe7507b8d00c2ed5
4
+ data.tar.gz: 50d0591f9baf5a54009c412e8b10009c06f2a384
5
5
  SHA512:
6
- metadata.gz: 6bee9adaeeca82b32368e8568b098b7dead21b02750c37a7a25833b2d358c45060146e6efd9682fb2ae6c195975b67666ca190eff97c59d9ba65588d4fe206e2
7
- data.tar.gz: 864902830e5d896d3f630ed1601f4d6876f1c0b439f729b1e6b868c1f5daf8a915b24e8d20aa84e8dc3b06561089284eb049332ef023fac532e70f2187560bd5
6
+ metadata.gz: b5dd940d7bcb64976c382b81ca5d1c79dc6dce4111c965937ad1ea0cfdb15e07dac8cc06070839bc9d46ca3faef4540def0787d255cc7e610d2b0a0595e2fcee
7
+ data.tar.gz: 0b37ac3fcb9ed05277ac065f9403007cea23abd7afb2188e4d948d8d58bdd0def6f0501becd371c1c772c99272718d2ac53759294ebb875943b130e0c5c6179f
@@ -1,3 +1,3 @@
1
1
  module Tamiyo
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -13,8 +13,7 @@ module Tamiyo
13
13
  @chain.pull.each do |card|
14
14
  emit_block_mapping do
15
15
  emit_pair 'name', card.name
16
- emit_pair 'identity', card.colors.first if card.colors.one?
17
- emit_pair_with_sequence_value 'identity', card.colors unless card.colors.length > 1
16
+ emit_pair_with_sequence_value 'identity', card.colors unless card.colors.empty?
18
17
  emit_pair 'mana cost', card.cost
19
18
  emit_pair 'type', card.type
20
19
  emit_pair_with_literal_value 'text', card.text
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tamiyo
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
  - Roger Norling