card-mod-virtual 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/card/virtual.rb +6 -3
- 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: e0a567d9204674e05559e07dc9d081cfe4793ee27d551a2190029ed0131d0023
|
|
4
|
+
data.tar.gz: 3cff566b422c016a77851733b427d4eeee1b223a62a5f1000bf8238d324621b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9964e8f6e0433d09b3e987891680e0d0bc90108b2f7774b2b9d4dad86507f0cefc739ff769938152d73aae6f2aebb95e51001c7ff113dd714b5a7f55fde939f0
|
|
7
|
+
data.tar.gz: 6b45cb689dc24312777ae229f0a2dbe97ad79b36535dc4193efe230ff3d2f58fde4c7c62ec4da613c11c06f589e8261f3e52756c124d40f6c10f2baa2b4fd038
|
data/lib/card/virtual.rb
CHANGED
|
@@ -88,10 +88,13 @@ class Card
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
def validate_card card
|
|
91
|
-
reason
|
|
91
|
+
reason =
|
|
92
92
|
if card.compound?
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
if !left_id(card)
|
|
94
|
+
"needs left_id"
|
|
95
|
+
elsif !right_id(card)
|
|
96
|
+
"needs right_id"
|
|
97
|
+
end
|
|
95
98
|
elsif !card.id
|
|
96
99
|
"needs id"
|
|
97
100
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: card-mod-virtual
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ethan McCutchen
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - '='
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 1.
|
|
20
|
+
version: 1.110.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - '='
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 1.
|
|
27
|
+
version: 1.110.0
|
|
28
28
|
description: ''
|
|
29
29
|
email:
|
|
30
30
|
- info@decko.org
|
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
|
-
rubygems_version: 3.
|
|
64
|
+
rubygems_version: 3.7.2
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: virtual
|
|
67
67
|
test_files: []
|