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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0468f9e8b1f7e53949c9949ec71ba14ce467c3947ad2dd6e95e6ea5328e19c43'
4
- data.tar.gz: d5cb1267de2e8f40495a7de422c6b73cb3d39b246ffd15ed4975543e7d0360fc
3
+ metadata.gz: 58a90695d974a37db1b2eccc00a629ed24bf72eef080026ca1f101072794eddd
4
+ data.tar.gz: 3af2d1a333edbbd40055ecb944a2ebc51ea6b7347f07e73c1ce6ac389c5f2ee5
5
5
  SHA512:
6
- metadata.gz: 40d5399ce62b0e6a935ec789c00cf2aac969ebab2a41c31f7e7c7557776f101b60ad9ad4438711ebd9384c77d0670644fbc746c9e5d3b1dfdce0dd6a89542701
7
- data.tar.gz: 5402b2867c9e5f80deffe500ec640dc46f4a106875092fe2a8b42577a47c5ed74938201a6099c2bd80a862b4d716a04e1b0d662d8a4b33225e8aa61a733e99ef
6
+ metadata.gz: 434086dd4aa8da5550271a84d38eabb6ff2a8bd5de0107e4cb8ba7e52c0e20be1f56b7184c08dc36f5d608f16ecd76cf442df386174c51be7b311c1e96b806da
7
+ data.tar.gz: dfe962207b1d202c3f69b503d8a544cec397d4ce949625183ef58998e95a76693ee33b42258fe6fc233db9362df438f4ac93e86846cccb2e18639898530fa472
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_vault (0.1.0.pre.12)
4
+ rake_vault (0.1.0.pre.13)
5
5
  colored2 (~> 3.1)
6
6
  rake_dependencies (~> 3.1)
7
7
  rake_factory (~> 0.23)
@@ -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 || Vault::HTTPServerError
48
+ rescue Vault::HTTPClientError, Vault::HTTPServerError
48
49
  false
49
50
  else
50
51
  true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeVault
4
- VERSION = '0.1.0.pre.12'
4
+ VERSION = '0.1.0.pre.13'
5
5
  end
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.12
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-21 00:00:00.000000000 Z
11
+ date: 2022-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2