card-mod-collection 0.13.0 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/abstract/items.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32041fabaee9f9938a11f98238aedbd9aadf50999d72759d4dbcb30c1ba1cc3f
|
4
|
+
data.tar.gz: 30058d82c17bc5e096de3db930d2195d973864dfcc17c8d890f59014ab12769d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5349352cc0d00e7b3f6109600d94d67c6a0ff70771aef59ccb0a75459472d5f324cde1feade9c1efcbb0d738ff5a05efc6d175408f661f16d4d596c6785c496
|
7
|
+
data.tar.gz: 55fb1603dd956f1aed3d6dde909c8fd4057e108fe8f1ea22a8a30c6818c60161190b77283650587db6920484027bba2edbdabae343574d29ab4b564c91add267
|
data/set/abstract/items.rb
CHANGED
@@ -43,12 +43,16 @@ def item_ids args={}
|
|
43
43
|
item_names(args).map(&:card_id).compact
|
44
44
|
end
|
45
45
|
|
46
|
+
def item_cards args={}
|
47
|
+
standard_item_cards args
|
48
|
+
end
|
49
|
+
|
46
50
|
# @return [Array] list of Card objects
|
47
51
|
# @param args [Hash] see #item_names for additional options
|
48
52
|
# @option args [String] :complete keyword to use in searching among items
|
49
53
|
# @option args [True/False] :known_only if true, return only known cards
|
50
54
|
# @option args [String] :type name of type to be used for unknown cards
|
51
|
-
def
|
55
|
+
def standard_item_cards args={}
|
52
56
|
return item_cards_search(args) if args[:complete]
|
53
57
|
return known_item_cards(args) if args[:known_only]
|
54
58
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-collection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.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: 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,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.103.
|
21
|
+
version: 1.103.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.103.
|
28
|
+
version: 1.103.4
|
29
29
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|