etcdv3 0.9.0 → 0.11.4
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 +5 -5
- data/.gitignore +6 -5
- data/.travis.yml +4 -5
- data/README.md +45 -2
- data/Rakefile +3 -2
- data/lib/etcdv3/connection.rb +26 -5
- data/lib/etcdv3/connection_wrapper.rb +22 -7
- data/lib/etcdv3/namespace/kv/requests.rb +54 -0
- data/lib/etcdv3/namespace/kv/transaction.rb +91 -0
- data/lib/etcdv3/namespace/kv.rb +62 -0
- data/lib/etcdv3/namespace/lock.rb +32 -0
- data/lib/etcdv3/namespace/utilities.rb +44 -0
- data/lib/etcdv3/namespace/watch.rb +38 -0
- data/lib/etcdv3/version.rb +1 -1
- data/lib/etcdv3/watch.rb +12 -4
- data/lib/etcdv3.rb +18 -4
- data/spec/etcdv3/connection_spec.rb +3 -3
- data/spec/etcdv3/connection_wrapper_spec.rb +39 -8
- data/spec/etcdv3/namespace/kv_spec.rb +82 -0
- data/spec/etcdv3/namespace/lock_spec.rb +23 -0
- data/spec/etcdv3/namespace/watch_spec.rb +36 -0
- data/spec/etcdv3/watch_spec.rb +24 -0
- data/spec/etcdv3_spec.rb +271 -1
- data/spec/helpers/connections.rb +10 -2
- data/spec/helpers/shared_examples_for_timeout.rb +4 -4
- data/spec/spec_helper.rb +6 -4
- metadata +17 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etcdv3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -97,6 +97,12 @@ files:
|
|
97
97
|
- lib/etcdv3/lease.rb
|
98
98
|
- lib/etcdv3/lock.rb
|
99
99
|
- lib/etcdv3/maintenance.rb
|
100
|
+
- lib/etcdv3/namespace/kv.rb
|
101
|
+
- lib/etcdv3/namespace/kv/requests.rb
|
102
|
+
- lib/etcdv3/namespace/kv/transaction.rb
|
103
|
+
- lib/etcdv3/namespace/lock.rb
|
104
|
+
- lib/etcdv3/namespace/utilities.rb
|
105
|
+
- lib/etcdv3/namespace/watch.rb
|
100
106
|
- lib/etcdv3/protos/annotations.proto
|
101
107
|
- lib/etcdv3/protos/auth.proto
|
102
108
|
- lib/etcdv3/protos/descriptor.proto
|
@@ -114,6 +120,10 @@ files:
|
|
114
120
|
- spec/etcdv3/lease_spec.rb
|
115
121
|
- spec/etcdv3/lock_spec.rb
|
116
122
|
- spec/etcdv3/maintenance_spec.rb
|
123
|
+
- spec/etcdv3/namespace/kv_spec.rb
|
124
|
+
- spec/etcdv3/namespace/lock_spec.rb
|
125
|
+
- spec/etcdv3/namespace/watch_spec.rb
|
126
|
+
- spec/etcdv3/watch_spec.rb
|
117
127
|
- spec/etcdv3_spec.rb
|
118
128
|
- spec/helpers/connections.rb
|
119
129
|
- spec/helpers/shared_examples_for_timeout.rb
|
@@ -138,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
148
|
- !ruby/object:Gem::Version
|
139
149
|
version: '0'
|
140
150
|
requirements: []
|
141
|
-
|
142
|
-
rubygems_version: 2.4.5.1
|
151
|
+
rubygems_version: 3.2.20
|
143
152
|
signing_key:
|
144
153
|
specification_version: 4
|
145
154
|
summary: A Etcd client library for Version 3
|
@@ -151,6 +160,10 @@ test_files:
|
|
151
160
|
- spec/etcdv3/lease_spec.rb
|
152
161
|
- spec/etcdv3/lock_spec.rb
|
153
162
|
- spec/etcdv3/maintenance_spec.rb
|
163
|
+
- spec/etcdv3/namespace/kv_spec.rb
|
164
|
+
- spec/etcdv3/namespace/lock_spec.rb
|
165
|
+
- spec/etcdv3/namespace/watch_spec.rb
|
166
|
+
- spec/etcdv3/watch_spec.rb
|
154
167
|
- spec/etcdv3_spec.rb
|
155
168
|
- spec/helpers/connections.rb
|
156
169
|
- spec/helpers/shared_examples_for_timeout.rb
|