rake_vault 0.1.0.pre.3 → 0.1.0.pre.4

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: 3ac607890353fe63a0312ad23acf18bc0a828104cb0f9de6f42b7df1cad5441b
4
- data.tar.gz: 1c72695bd456968a393965f343f2ed1f61bb750475bc5061bd8cf3bc789709be
3
+ metadata.gz: 97d2c1a3d63cf0d1d69602fa47ad352eb5303349a112625d2d54f430d330bf72
4
+ data.tar.gz: 93ff7c7367592b14b12248bcb03f12ac0077b8983862d4fa0144f4522f615404
5
5
  SHA512:
6
- metadata.gz: 353dc3a4920021244a630773a481a0e6dbe702f8b61e2d3d56f214da6e607e039a48dccb2865e50a3d57f8cb8eec2edffe04be8b59afb56ba50857413c3b83de
7
- data.tar.gz: 8a7b94ac31a5dd4a6d2ebe93282b025117216db3731d31c53ad706f62f7081fe17cbdaccd450335e7f72e8e37f0134ef3582b1d00ac8cbd579a81bb93b379b59
6
+ metadata.gz: b3f81913d9a0804e1d57a765214a0881a26d91c0efcd30c695015a2b948ad153419d6ffedc581120df2bdeb7eb5734dea571b8f510c00059cee681441cc1294d
7
+ data.tar.gz: 250581646708fbb6a322b7b5528984eb4049a1f6ef6a335357210ed2f2b5d22df3923f7868e5077984b91f00576280f1eca318967c9197bed6c909906cce3eab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_vault (0.1.0.pre.3)
4
+ rake_vault (0.1.0.pre.4)
5
5
  colored2 (~> 3.1)
6
6
  rake_dependencies (~> 3.1)
7
7
  rake_factory (~> 0.23)
@@ -7,11 +7,15 @@ module RakeVault
7
7
  class OidcAuth < RakeFactory::Task
8
8
  default_name :login
9
9
  parameter :role
10
+ parameter :address
10
11
 
11
12
  action do |task|
13
+ auth = task.role ? ["role=#{task.role}"] : []
14
+
12
15
  RubyVault.login(
13
16
  method: 'oidc',
14
- role: task.role
17
+ auth: auth,
18
+ address: task.address
15
19
  )
16
20
  end
17
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeVault
4
- VERSION = '0.1.0.pre.3'
4
+ VERSION = '0.1.0.pre.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.3
4
+ version: 0.1.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers