card-mod-format 0.15.3 → 0.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/all/html/views.rb +0 -21
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf6e6fdd2421f016543b0e057ff65b0acca25bd77a5c07ff25db37b5b3b28cac
|
4
|
+
data.tar.gz: b09036f4382db0b2ec88f84e2218669e2124c4ce849eeef054e5ef8ca32c713f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9199e60a3870c643b9cd1eb03444eb17dd13568ec0a840dfc1254b46f802d8926df287aa2a16a08bcbbd1c3972ba51b5d99c544e130f49f8684c1c128d94602c
|
7
|
+
data.tar.gz: 28979b59719fb64fb96ac357ef0663357742e1044f673164e21b4aad767470de2153dc8bafb35b0541fd8bfde77dd582ea5e4359bd971130621be558ee5d170c
|
data/set/all/html/views.rb
CHANGED
@@ -81,27 +81,6 @@ format :html do
|
|
81
81
|
items: (opts[:items] || {}).merge(view: item_view))
|
82
82
|
end
|
83
83
|
|
84
|
-
view :open do
|
85
|
-
toggle_logic
|
86
|
-
@toggle_mode = :open
|
87
|
-
@content_body = true
|
88
|
-
frame { _render_open_content }
|
89
|
-
end
|
90
|
-
|
91
|
-
view :closed do
|
92
|
-
with_nest_mode :compact do
|
93
|
-
toggle_logic
|
94
|
-
class_up "d0-card-body", "closed-content"
|
95
|
-
@content_body = false
|
96
|
-
@toggle_mode = :close
|
97
|
-
frame
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
def toggle_logic
|
102
|
-
show_view?(:title_link, :hide) ? voo.show(:icon_toggle) : voo.show(:title_toggle)
|
103
|
-
end
|
104
|
-
|
105
84
|
def current_set_card
|
106
85
|
set_name = params[:current_set]
|
107
86
|
set_name ||= "#{card.name}+*type" if card.known? && card.type_id == Card::CardtypeID
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.4
|
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: 2023-03
|
13
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.105.
|
21
|
+
version: 1.105.4
|
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.105.
|
28
|
+
version: 1.105.4
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-content
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.15.
|
35
|
+
version: 0.15.4
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.15.
|
42
|
+
version: 0.15.4
|
43
43
|
description: ''
|
44
44
|
email:
|
45
45
|
- info@decko.org
|