card-mod-assets 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/type/mod.rb +4 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a7637e1c42d2ccd1955ed2268c9dde820dc4ede35133153fa8a9ef1c2ac229c
|
4
|
+
data.tar.gz: 762c5ce3ac7bd4c3ad78a081f1e6d76c0a1f05ef13b6dabb13694767ac094d16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c8573eef94d2ada40343a3a1d9c27ca09e014f7c47638efe61f85f05601d05159746a4495e420ec76c9d4d1f97e0390a62c3ee8e0f8acebd212dcf83a5afa7
|
7
|
+
data.tar.gz: 45ec6291c4b7cbb5eda4a272bec5468bf023b5f846ab7f6691b917baa74c5e841569ca321dcd5853815e44c9efafb6f972709e0c0d9880db74ad5ece0cde2554
|
data/set/type/mod.rb
CHANGED
@@ -13,6 +13,9 @@ def ensure_mod_asset_card asset_type, type_id
|
|
13
13
|
return if asset_card.no_action?
|
14
14
|
asset_card.save! if asset_card.new?
|
15
15
|
|
16
|
+
# TODO: optimize!
|
17
|
+
# this needs to be smarter so that it doesn't do a lot of "re" installing
|
18
|
+
# when things are already set up.
|
16
19
|
asset_card.update_items
|
17
20
|
if asset_card.item_cards.present?
|
18
21
|
add_asset asset_type
|
@@ -27,7 +30,7 @@ end
|
|
27
30
|
|
28
31
|
def drop_asset asset_type, asset_card
|
29
32
|
asset_card.update codename: nil
|
30
|
-
asset_card.delete
|
33
|
+
asset_card.delete
|
31
34
|
all_rule(asset_type).drop_item! asset_card
|
32
35
|
end
|
33
36
|
|
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.13.
|
4
|
+
version: 0.13.3
|
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-
|
13
|
+
date: 2021-09-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,42 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.103.
|
21
|
+
version: 1.103.3
|
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.103.
|
28
|
+
version: 1.103.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-machines
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.13.
|
35
|
+
version: 0.13.3
|
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.13.
|
42
|
+
version: 0.13.3
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: card-mod-content
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.13.
|
49
|
+
version: 0.13.3
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.13.
|
56
|
+
version: 0.13.3
|
57
57
|
description: ''
|
58
58
|
email:
|
59
59
|
- info@decko.org
|