card-mod-collection 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/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: d25d5cc2046eb52c82cc76da483084c60d4049ccb4e57d93ad23c6418e4ccf5f
|
4
|
+
data.tar.gz: f242af51ce605508d5448e104e12b4abb34f8a599f8e47454c8842b04d368a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0466f45f83d16fd0aab344a2a7402c98c2a54a24194a72cd4ca166090cfd522a4405a5f1090863cea05226d59c0191e89e0f38327b0e2bf2ec86b3d4d867226c
|
7
|
+
data.tar.gz: 07a5efb540ef038c4bae665796993eb8be7a5fa42f2b1dcf7c491e4794d486c62dca9b92ab7dafaae0c86ba1edd497418249eb93b91b4e7335a175a62b6c5aab
|
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.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,14 +18,14 @@ 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
|
description: ''
|
30
30
|
email:
|
31
31
|
- info@decko.org
|