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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e37f735632a138d8d3c5cbe20665afff8326d4e5
4
- data.tar.gz: 1c21cf5be5a473cbd8797ec45a013efb58783873
3
+ metadata.gz: 557bf30dbd27c7b1fd704edcead0d957cd5b3aab
4
+ data.tar.gz: 471314fbe09c0b0d201a90efc97e0362dd3af946
5
5
  SHA512:
6
- metadata.gz: ddc3cff216be8448b40bbbb4934d7ae58f442fe1770650efab4f20e4657b9d160f7e62777daf9b5aaa7eaa8215adb8bba45212aab6f188a833747e8c815cea55
7
- data.tar.gz: 0f9edad8923a6bdeb616822dbd964761d8559451f0485fbdf9920d91411fdfad40caafcd128510e37b12bd6078b68994609a053d521592b90b3cc728cd10d362
6
+ metadata.gz: 8bea540db0988363c90c4a547f64db3f0c2988c51b1e9f040e26635c3770196386b3b8c167b24b2496663cae3ddce96d0de376b2b17596036c69836cd18c96d7
7
+ data.tar.gz: 68a372405ecb7b07e928c486d447a49a32fdc02faebadb660d4b8799c0ee2544351f57df60af7260caa16fa8c304d60a702cfcf928a72639f81e7a4f5029ad92
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Etcd
2
2
  module Etcvault
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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.0.0
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-24 00:00:00.000000000 Z
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: