card-mod-collection 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/set/all/item_assignment.rb +4 -0
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc79d43c7389a72887a30d7b32f8e9e729bcfe4752923bf369d6f3bcff5a3252
4
- data.tar.gz: 961d83c4d39ce4e9b39548fc218cb03218f565fcb8492422c00561193624e2b5
3
+ metadata.gz: 1cef8e5c341ae3b8bd6fc6724e8ff0572fed9471f7b31d6abe97cf946aebd728
4
+ data.tar.gz: 36e2ed5135a0b5db3049aba80c65c96af1e54d31ff57f15c55474d30604c960c
5
5
  SHA512:
6
- metadata.gz: 7f021e5e86b9bc1730f61a404460e6bda5b34c1bd7a4a42c9614d54618367fea793b37dadcaabfb50b1eeb2bf31c525772d871822ba8ffd6e8cd05d9434080d0
7
- data.tar.gz: 0534a82380ef103c5e7bd711167f8d7bd4baeff4f2fdcbae83019d29a8ddc1328e03b4d658eea0e08aff8c76714da1642929360313ed1740f29e646c97c5add1
6
+ metadata.gz: dc55f9d1d362436e77ef53054cdc1e262e09282c43a7e4cdd36c406a86b14def8170d981080a5643fdea0fdf6041b50ece364294b89caed37d09227ff311e227
7
+ data.tar.gz: '086d5ba2abab250c74637bb1a53841561ea6f989dcf56858cd273a1b9a5ae939c1c99ca81a4f124aeef90c5abeeaf84617d95033ff1546c1cd072be6e3928ed3'
@@ -78,3 +78,7 @@ def standardize_item item
78
78
  rescue Card::Error::NotFound
79
79
  item
80
80
  end
81
+
82
+ def duplicate_item_names
83
+ item_names.group_by { |e| e }.select { |_k, v| v.size > 1 }.keys
84
+ end
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.16.0
4
+ version: 0.17.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: 2023-11-18 00:00:00.000000000 Z
13
+ date: 2024-06-12 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.106.0
21
+ version: 1.107.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.106.0
28
+ version: 1.107.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.5'
65
+ version: '3.0'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.4.10
72
+ rubygems_version: 3.5.10
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: collection (list and search)