card-mod-rules 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45de3e5dfddbe914148952048a41746cf883d36e3db3f01dc6b419cea4467d32
4
- data.tar.gz: ac9586cf83d563f29b00d25590e12da316abf40f144e2e6782d70e4ecb34ba62
3
+ metadata.gz: 7a5a437286a033088c0fe8af7e07472cf402cc9460011473a7a8c1ef5532729f
4
+ data.tar.gz: 60c6a059cf1e672fa1d85685a77394a8c74b9496dfdbd00d5aa2f1c19a2f0977
5
5
  SHA512:
6
- metadata.gz: ea3270d15bf4700984e2ceb67c57f49daf20304779b142bb38bdca12669bf0b5f9b82750f6f9630202fec506c372f860272f8817e1a9080d1c4460f5de5996b8
7
- data.tar.gz: c3df40dad30ce4192da473e1674f408a4d7ad8c29ccb44e6ee0458cf62fbdab6452f15696344feecba2912b71cce0bc30eb6b2197f204816693ab937082dd09d
6
+ metadata.gz: efa16e419585e4d8564af0564226a0e39766daf4abf03126b4df83b2a28f39fa75b047a700ffa81bb6d59e74dd5636fb0585b4a749100ef2c5bc219d7f20c2a2
7
+ data.tar.gz: 350bb8e337a4c52e69db4e287479976550699f422d73a2d182533a542678216388d5dd4cc5a03b6d4025bab31e0404ef61680c5308d5e2d7acfbaba24294c968
data/set/type/set.rb CHANGED
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  def subclass_for_set
28
28
  current_set_pattern_code = pattern.codename
29
- Card.set_patterns.find { |set| set.pattern_code == current_set_pattern_code }
29
+ Pattern.concrete.find { |set| set.pattern_code == current_set_pattern_code }
30
30
  end
31
31
 
32
32
  def junction_only?
data/set/type/setting.rb CHANGED
@@ -23,7 +23,7 @@ def count
23
23
  end
24
24
 
25
25
  def set_classes_with_rules
26
- Card.set_patterns.reverse.map do |set_class|
26
+ Pattern.concrete.reverse.map do |set_class|
27
27
  rules = rules_for_set_class set_class
28
28
  [set_class, rules] unless rules.empty?
29
29
  end.compact
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
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-08-06 00:00:00.000000000 Z
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.2
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.2
28
+ version: 1.103.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: card-mod-format
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.13.2
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.2
42
+ version: 0.13.3
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: card-mod-search
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.13.2
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.2
56
+ version: 0.13.3
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org