rake_vault 0.1.0.pre.12 → 0.1.0.pre.13
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/rake_vault/tasks/login.rb +2 -1
- data/lib/rake_vault/version.rb +1 -1
- 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: 58a90695d974a37db1b2eccc00a629ed24bf72eef080026ca1f101072794eddd
|
4
|
+
data.tar.gz: 3af2d1a333edbbd40055ecb944a2ebc51ea6b7347f07e73c1ce6ac389c5f2ee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434086dd4aa8da5550271a84d38eabb6ff2a8bd5de0107e4cb8ba7e52c0e20be1f56b7184c08dc36f5d608f16ecd76cf442df386174c51be7b311c1e96b806da
|
7
|
+
data.tar.gz: dfe962207b1d202c3f69b503d8a544cec397d4ce949625183ef58998e95a76693ee33b42258fe6fc233db9362df438f4ac93e86846cccb2e18639898530fa472
|
data/Gemfile.lock
CHANGED
@@ -20,6 +20,7 @@ module RakeVault
|
|
20
20
|
parameter :ensure_task_name, default: :'vault:ensure'
|
21
21
|
|
22
22
|
action do |task|
|
23
|
+
puts 'Logging into vault...'
|
23
24
|
if valid_token?(task.address)
|
24
25
|
puts 'Valid token found.'
|
25
26
|
else
|
@@ -44,7 +45,7 @@ module RakeVault
|
|
44
45
|
puts 'Checking for valid token...'
|
45
46
|
vault_client = Vault::Client.new(address: address)
|
46
47
|
vault_client.auth_token.lookup_self
|
47
|
-
rescue Vault::HTTPClientError
|
48
|
+
rescue Vault::HTTPClientError, Vault::HTTPServerError
|
48
49
|
false
|
49
50
|
else
|
50
51
|
true
|
data/lib/rake_vault/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|