etcd-etcvault 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/etcd/etcvault.rb +7 -0
- data/lib/etcd/etcvault/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 557bf30dbd27c7b1fd704edcead0d957cd5b3aab
|
4
|
+
data.tar.gz: 471314fbe09c0b0d201a90efc97e0362dd3af946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bea540db0988363c90c4a547f64db3f0c2988c51b1e9f040e26635c3770196386b3b8c167b24b2496663cae3ddce96d0de376b2b17596036c69836cd18c96d7
|
7
|
+
data.tar.gz: 68a372405ecb7b07e928c486d447a49a32fdc02faebadb660d4b8799c0ee2544351f57df60af7260caa16fa8c304d60a702cfcf928a72639f81e7a4f5029ad92
|
data/lib/etcd/etcvault.rb
CHANGED
@@ -12,7 +12,14 @@ module Etcd
|
|
12
12
|
@etcvault_error = opts['_etcvault_error']
|
13
13
|
end
|
14
14
|
end
|
15
|
+
|
16
|
+
module ClientExtension
|
17
|
+
def etcvault_keys
|
18
|
+
api_execute('/_etcvault/keys', :get).body.each_line.map(&:chomp)
|
19
|
+
end
|
20
|
+
end
|
15
21
|
end
|
16
22
|
end
|
17
23
|
|
18
24
|
Etcd::Node.__send__(:prepend, Etcd::Etcvault::NodeExtension)
|
25
|
+
Etcd::Client.__send__(:prepend, Etcd::Etcvault::ClientExtension)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etcd-etcvault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,3 +93,4 @@ signing_key:
|
|
93
93
|
specification_version: 4
|
94
94
|
summary: etcd-ruby extension for etcvault https://github.com/sorah/etcvault
|
95
95
|
test_files: []
|
96
|
+
has_rdoc:
|