key_vortex-contract 0.2.1.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/key_vortex/contract/version.rb +1 -1
- data/lib/key_vortex/contract.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95334ae02aa19de56dbbc6ff95bd3f3ac67d0ec485233e8c095a8ffdef9f8e66
|
4
|
+
data.tar.gz: f66f64cf6c98f39188760cc991bfbb6d3980e47b3dda547a2074921ce778a625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47a50a6faf16acc302d0906ef7a98e43d349ac9bc7d31e3e9b553d0de18c5724777b4a4201af5f4ea4200d4ee9c75da79a957843d354ce3d13af2e6cebb22f17
|
7
|
+
data.tar.gz: bf8a492b1a487ada9f53661b475c680b631e119dff158374ac387fce79351677df5b9bca8121fdcc1bd64512c43db3dd80e99683d87d23995448b420c3b37ee7
|
data/Gemfile.lock
CHANGED
data/lib/key_vortex/contract.rb
CHANGED
@@ -42,6 +42,11 @@ RSpec.shared_context "an adapter" do
|
|
42
42
|
)
|
43
43
|
end
|
44
44
|
|
45
|
+
it "registers a symbol on KeyVortex" do
|
46
|
+
vortex = KeyVortex.vortex(described_class.symbol, SampleRecord)
|
47
|
+
expect(vortex.adapter).to be_a(described_class)
|
48
|
+
end
|
49
|
+
|
45
50
|
it "stores and removes a key" do
|
46
51
|
store.save(record1)
|
47
52
|
expect(store.find(record1.key)).to eq(record1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: key_vortex-contract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lambda Null
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rantly
|