card-mod-rules 0.11.2 → 0.11.3

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/rule/rules.rb +1 -1
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2b8315524faf1938694a93343e56cabd63826089e6c04992f15b29cd7d24668
4
- data.tar.gz: 3bd47066dcf360e2984382bd4ceb7278f5a7aea0a91844cc6f9cbfb6f96b54ef
3
+ metadata.gz: dcd5e7247ed87a4ec06b39b7bfcc1cd582dc1f365ff909eb7387ecc7a224db09
4
+ data.tar.gz: a132f7a2b252e340a8e14d67aada763aaa1c63b5edaacabebaf0a72398abb643
5
5
  SHA512:
6
- metadata.gz: bcbb569cecc57eeaf79413ec4b4cbcb69605751d7755c1c5c82dcdda254d1321e302ae182f3c8c7897192ca20452b965487fc285d74a8d68d409e6667604e39b
7
- data.tar.gz: 0a4697dae9fb43e30797f6de3807fc64fedde7547508a37c57c1a0801b3cb815595920a6aeea16c280916d886f3548dfdd2e23227669eb84a2952d6564619e26
6
+ metadata.gz: 5d2ec6677420ce7bbc8d2b5bfbbf57d2e9eab6545e54a9bce01d1d0303782edd295c0089a15a9ac87fba6b3dc533d4bb69c06be629fd7d788a21f103d9af0d93
7
+ data.tar.gz: 55a83355e8316bed159cd47b8c9cac45110b3b6847c2ae58ca6f4fd7fdf1f5465a227115d0fb3b148450597520400508ae4c92df4b90b82f6b0d5535c581386c
data/set/rule/rules.rb CHANGED
@@ -101,7 +101,7 @@ def state_of_existing_set
101
101
  end
102
102
 
103
103
  def state_of_nonexisting_set
104
- @sets_with_existing_rules == 1 ? :current : :overwritten
104
+ @sets_with_existing_rules.positive? ? :overwritten : :available
105
105
  end
106
106
 
107
107
  def rule_for_set? set_name
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.11.2
4
+ version: 0.11.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-03-15 00:00:00.000000000 Z
13
+ date: 2021-04-01 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.101.2
21
+ version: 1.101.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.101.2
28
+ version: 1.101.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.11.2
35
+ version: 0.11.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.11.2
42
+ version: 0.11.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.11.2
49
+ version: 0.11.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.11.2
56
+ version: 0.11.3
57
57
  description: ''
58
58
  email:
59
59
  - info@decko.org
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.0.3
119
+ rubygems_version: 3.1.4
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: rules