card-mod-virtual 0.16.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 +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0ca7dbf7bafd627206b3d05c3cda230c0635474d9aa1404e9a18c3682148eac
4
- data.tar.gz: a856d3f5d08f305ade8082a08468243752d8596dfd778a64ae64690c1fd8b30d
3
+ metadata.gz: 9160408444f73851d3a81cd5cc001ae26f256829354462c04bf96655c1b4524d
4
+ data.tar.gz: 72e08e4a56c4e0119c50c0e6c12e53e3219aa11906190191b954bf9b12adefbd
5
5
  SHA512:
6
- metadata.gz: c37db038e509f35437c43087cb1480deb391d435f81441568f460d271b48b241cd01da872158c94f0b4e3487c51f1e431a03bb5f383d27de2e7c3435477afa45
7
- data.tar.gz: 3c29e2bd39dc44ab0910b4642997c20740750050617b80a167bc69ec0acd371fd6f368c45eafcf06334b28974636b5b9aa80a1fb0831ef1df0bcefad65f81ffa
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.16.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: 2023-11-18 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.106.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.106.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
@@ -56,14 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '2.5'
59
+ version: '3.0'
60
60
  required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.4.10
66
+ rubygems_version: 3.5.7
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: virtual