card 1.101.6 → 1.101.7

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: eb3158879815350926305895501a13189dfab7e72a3be6f420b27664725b11c4
4
- data.tar.gz: c042aafc55866bbcdaf214787ec93c003f3ff116e3a28567de3d15f872e90116
3
+ metadata.gz: 8f0844f4af5ef091c549f9a29fbd7dbdda34e706e3c0f0231449c6d8c94894b9
4
+ data.tar.gz: 0ed1355066158ff5984c3c5c2b16a3db00a0353e20175952d291a5ef7114f64f
5
5
  SHA512:
6
- metadata.gz: 024fa39457a17479cf8c20da3821bbf456edfa9d488ddfd317971e9ea45cdf3cb85753314eaf3a06f1807df821c77a01077041c545db20477e6874ba15cd01da
7
- data.tar.gz: 014d90189f0fb281fff7c78fd7c3a245f8b83c06524a78b7adc8cabeec2c4f054e8dce6914597cfdce9eec9d958bb6e8fab01e25afa1c23422e7417037ba4edd
6
+ metadata.gz: 75d792eac0b987eb0a1f6f34e8e40b90c5c9c3dbb6e379c58bf6efcf5a261bb2d50b46b9dffd6b3902f6bc27aeadf2de1953b7eb6202483003976f62cd999061
7
+ data.tar.gz: dc6b18bf0908ac555eea248d5fcf6d86cf508c5e28b94125a09d31155faa8cfb31441eb8d7232b9a5804e3461a4ee749bd7dfeb0e4802a8f8b040bf1da51bbb2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.6
1
+ 0.11.7
@@ -86,7 +86,9 @@ class Card
86
86
  end
87
87
 
88
88
  def standard_changing_arg card, key, value
89
- card.send(key) != value unless value.is_a? ::File
89
+ return true if value.is_a? ::File
90
+
91
+ card.send(key) != value
90
92
  end
91
93
  end
92
94
  end
data/lib/card/set/type.rb CHANGED
@@ -33,7 +33,7 @@ class Card
33
33
  end
34
34
 
35
35
  def default_type_code card
36
- card.rule_card(:default)&.type_code
36
+ card.rule_card(:default, skip_modules: true)&.type_code
37
37
  end
38
38
 
39
39
  def mods_exist_for_key? mod_key
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.101.6
4
+ version: 1.101.7
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-05-21 00:00:00.000000000 Z
13
+ date: 2021-08-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cardname
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.11.6
21
+ version: 0.11.7
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: 0.11.6
28
+ version: 0.11.7
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rake
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -1230,7 +1230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1230
1230
  - !ruby/object:Gem::Version
1231
1231
  version: '0'
1232
1232
  requirements: []
1233
- rubygems_version: 3.1.4
1233
+ rubygems_version: 3.1.6
1234
1234
  signing_key:
1235
1235
  specification_version: 4
1236
1236
  summary: a simple engine for emergent data structures