card-mod-content 0.11.7 → 0.12.0

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/set/all/chunk.rb +4 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c5b59d44e5359225aac12ccca09f94dbe49fd75291c2f1bec6a5b6a11c70bfc
4
- data.tar.gz: c9d478cb00a455041aad300326be370e91e728b074b6e0effbbdf77fd022a1a3
3
+ metadata.gz: c70d983eed31e1e69a646f97bfd617e414f4fc58f4e12b2e78779f4518911869
4
+ data.tar.gz: 66fe32d82cd73cb8fbae02ef8e2bf568dad409d79f7430eddbce3d9be9836871
5
5
  SHA512:
6
- metadata.gz: b937c64aa171fa9ebadcb5ed5c1d1ac084a531bb6473c2aea83dab2515f6de388812eb1d1e25ccba0f742a449b46e0916fed72e947653e9fd551fa6f8dca86e1
7
- data.tar.gz: 9d0080936d1292f436a6d726268091ab263fd8fc1527009deef9040386e9ce1ecaa00c2e47e11165e2ddaca4d2a91ad398921e0e19f3347dc622960a801ef35c
6
+ metadata.gz: 58e6df74fa73efe4804c8a178da5aa1aca3e53d426b858d1a234510956061d93e3f6eee5194ba8c355006bcc8583447d70ab258d0c354443aa480acc61f4e168
7
+ data.tar.gz: f912d472dcc0a6e6721f89045c94516510e1ceb47ffa65aacc74a25eb70b1bbef447f9999f19ac91d39cedfdc7044d29e0664c51ff3fca9d3026c178e2d3c96b
data/set/all/chunk.rb CHANGED
@@ -110,13 +110,15 @@ format do
110
110
 
111
111
  def process_nested_chunk chunk, virtual, &block
112
112
  if chunk.referee_card&.virtual?
113
- process_nested_virtual_chunk chunk, &block unless virtual
113
+ process_virtual_chunk chunk, virtual, &block
114
114
  else
115
115
  yield chunk
116
116
  end
117
117
  end
118
118
 
119
- def process_virtual_chunk chunk, &block
119
+ def process_virtual_chunk chunk, virtual, &block
120
+ return if virtual
121
+
120
122
  subformat(chunk.referee_card).each_nested_field_chunk(&block)
121
123
  end
122
124
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.7
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-08-01 00:00:00.000000000 Z
13
+ date: 2021-07-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.101.7
21
+ version: 1.102.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.101.7
28
+ version: 1.102.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  requirements: []
81
- rubygems_version: 3.1.6
81
+ rubygems_version: 3.2.15
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: card content handling