card-mod-virtual 0.17.0 → 0.18.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/lib/card/virtual.rb +4 -4
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5798b0f7bb76bf269312462f5f7dc554882297ce2281dc8796455a312bec9d2a
4
- data.tar.gz: 25b4205dd87972efe410ec4e6b66ae45a7c8f08fdd51cde09318196804eefc32
3
+ metadata.gz: 9160408444f73851d3a81cd5cc001ae26f256829354462c04bf96655c1b4524d
4
+ data.tar.gz: 72e08e4a56c4e0119c50c0e6c12e53e3219aa11906190191b954bf9b12adefbd
5
5
  SHA512:
6
- metadata.gz: 1b041a0c0e6d3721d508354c1aaef46260617a96d9f1622574b796360efa5f43e39b5918d51596d4e8da4662df66056d6e987c92c2b7d9f8810c2fc0ac28c336
7
- data.tar.gz: e037e092aeaf89aa972b9f29707da7a9288f800e0a5cffe902d3aaba665f5d252c5cd59431271e0e5198e8ab1cd841d3ba75a17ff1a97992337830f34847b341
6
+ metadata.gz: 5b930525e5251d72cb4bf884bbd052b416e148ee7f4469a0c543555dcf9e52fdc45f16627e7b3be04ee6a461907e4530b09b3b2f53fd07e77eb67dfee4f81684
7
+ data.tar.gz: d0feedd887a0221a0db868afad57bd6cec84a422ea74ae333f8072cf27f9a7b99c121f36e7da69227d867975796ba32478d083d6f3adebdcb35795e84aa37acf
data/lib/card/virtual.rb CHANGED
@@ -26,6 +26,10 @@ class Card
26
26
  find_by_card(card)&.delete
27
27
  end
28
28
 
29
+ def cache
30
+ Card::Cache[Virtual]
31
+ end
32
+
29
33
  private
30
34
 
31
35
  def create_or_update card
@@ -37,10 +41,6 @@ class Card
37
41
  end
38
42
  end
39
43
 
40
- def cache
41
- Card::Cache[Virtual]
42
- end
43
-
44
44
  def create card
45
45
  validate_card card
46
46
  create! left_id: left_id(card),
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.17.0
4
+ version: 0.18.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: 2024-06-12 00:00:00.000000000 Z
13
+ date: 2024-10-31 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.107.0
21
+ version: 1.108.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.107.0
28
+ version: 1.108.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -39,7 +39,7 @@ files:
39
39
  - set/abstract/virtual_cache.rb
40
40
  homepage: https://decko.org
41
41
  licenses:
42
- - GPL-3.0
42
+ - GPL-3.0-or-later
43
43
  metadata:
44
44
  source_code_uri: https://github.com/decko-commons/decko
45
45
  homepage_uri: https://decko.org
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.5.10
66
+ rubygems_version: 3.5.7
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: virtual