card-mod-assets 0.17.0 → 0.18.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36b747cdc8c6e24f3159cad23498035e19d7a03b66e3eed42844b05297ebd2d3
|
4
|
+
data.tar.gz: 658ea0885e49b4b0fec1db08008d0170993838107a13ef3eddf13cd8e5a64624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a5e9df860c62bf62fc9528f777f88bcc4a369a7d68877a0fc3eedb33551f1ce508610b615ed3dd428123e807ada78ba69dcb5925f012d9f3192e7b2e22b1564
|
7
|
+
data.tar.gz: 4328b060cc592ed1699dc5a8d2cb076c76008fc8a53521a3090499f059199406090d0bb8b5bc1e60f96ef83d42ef3c78cb98c5cec4ccce93b78c3c7e00ae5e03
|
@@ -52,7 +52,7 @@ class DeathToMachines < Cardio::Migration::Transform
|
|
52
52
|
private
|
53
53
|
|
54
54
|
def update_mod_asset_type_id
|
55
|
-
return unless Card::Codename.
|
55
|
+
return unless Card::Codename.exist? "mod_script_assets"
|
56
56
|
|
57
57
|
Card.search type_id: ["in", Card::ModScriptAssetsID, Card::ModStyleAssetsID] do |card|
|
58
58
|
card.update! type_id: Card::ListID,
|
data/lib/card/assets.rb
CHANGED
@@ -20,6 +20,8 @@ class Card
|
|
20
20
|
# (standard_inputters, by contrast, are in code, so this refreshing is
|
21
21
|
# needed eg in development mode to detect changes)
|
22
22
|
inputters += nonstandard_inputters if force
|
23
|
+
Cache.populate_fields inputters, :asset_input, :asset_output
|
24
|
+
Virtual.cache.read_multi(inputters.map { |i| [i, :asset_input].to_name.key })
|
23
25
|
inputters.each(&:refresh_asset)
|
24
26
|
|
25
27
|
generate_asset_output_files if force
|
@@ -66,9 +68,10 @@ class Card
|
|
66
68
|
# MOD+:style and MOD+:script cards, which represent the assets in MOD/assets/style
|
67
69
|
# and MOD/assets/script directories respectively
|
68
70
|
def standard_inputters
|
69
|
-
@
|
70
|
-
Card.search left: { type: :mod }, right_id: [StyleID, ScriptID], return: :
|
71
|
-
@
|
71
|
+
@standard_inputter_names ||=
|
72
|
+
Card.search left: { type: :mod }, right_id: [StyleID, ScriptID], return: :name
|
73
|
+
Cache.populate_names @standard_inputter_names
|
74
|
+
@standard_inputter_names.map(&:card)
|
72
75
|
end
|
73
76
|
|
74
77
|
# standalone cards, NOT in mod assets directories
|
@@ -89,7 +92,7 @@ class Card
|
|
89
92
|
|
90
93
|
# only refresh when cache was cleared
|
91
94
|
def cautious_refresh?
|
92
|
-
return false unless Cache.
|
95
|
+
return false unless Cache.shared_cache
|
93
96
|
return false if Card.cache.read REFRESHED
|
94
97
|
|
95
98
|
Card.cache.write REFRESHED, true
|
data/set/abstract/asset_file.rb
CHANGED
@@ -31,7 +31,7 @@ def update_referers_after_input_changed
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def update_asset_input
|
34
|
-
return unless Codename.
|
34
|
+
return unless Codename.exist? :asset_input
|
35
35
|
# otherwise the migration that adds the asset_input card fails
|
36
36
|
|
37
37
|
Card::Auth.as_bot do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2024-
|
13
|
+
date: 2024-10-31 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.
|
21
|
+
version: 1.108.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.
|
28
|
+
version: 1.108.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: execjs
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,70 +52,70 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.18.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.18.0
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: card-mod-format
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.18.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.18.0
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: card-mod-list
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.18.0
|
84
84
|
type: :runtime
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
90
|
+
version: 0.18.0
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: card-mod-carrierwave
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: 0.18.0
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: 0.18.0
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: card-mod-content
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - '='
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
111
|
+
version: 0.18.0
|
112
112
|
type: :runtime
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.
|
118
|
+
version: 0.18.0
|
119
119
|
description: ''
|
120
120
|
email:
|
121
121
|
- info@decko.org
|
@@ -147,7 +147,7 @@ files:
|
|
147
147
|
- set/type/remote_manifest_group.rb
|
148
148
|
homepage: https://decko.org
|
149
149
|
licenses:
|
150
|
-
- GPL-3.0
|
150
|
+
- GPL-3.0-or-later
|
151
151
|
metadata:
|
152
152
|
source_code_uri: https://github.com/decko-commons/decko
|
153
153
|
homepage_uri: https://decko.org
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
|
-
rubygems_version: 3.5.
|
174
|
+
rubygems_version: 3.5.7
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: decko asset pipeline
|