rake_vault 0.1.0.pre.2 → 0.1.0.pre.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +7 -2
- data/lib/rake_vault/tasks/{login.rb → app_role_auth.rb} +1 -1
- data/lib/rake_vault/tasks/oidc_auth.rb +19 -0
- data/lib/rake_vault/tasks.rb +2 -1
- data/lib/rake_vault/version.rb +1 -1
- data/lib/rake_vault.rb +4 -0
- data/rake_vault.gemspec +1 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ac607890353fe63a0312ad23acf18bc0a828104cb0f9de6f42b7df1cad5441b
|
4
|
+
data.tar.gz: 1c72695bd456968a393965f343f2ed1f61bb750475bc5061bd8cf3bc789709be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 353dc3a4920021244a630773a481a0e6dbe702f8b61e2d3d56f214da6e607e039a48dccb2865e50a3d57f8cb8eec2edffe04be8b59afb56ba50857413c3b83de
|
7
|
+
data.tar.gz: 8a7b94ac31a5dd4a6d2ebe93282b025117216db3731d31c53ad706f62f7081fe17cbdaccd450335e7f72e8e37f0134ef3582b1d00ac8cbd579a81bb93b379b59
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rake_vault (0.1.0.pre.
|
4
|
+
rake_vault (0.1.0.pre.3)
|
5
5
|
colored2 (~> 3.1)
|
6
6
|
rake_dependencies (~> 3.1)
|
7
7
|
rake_factory (~> 0.23)
|
8
|
+
ruby_vault (~> 0.1.0.pre.15)
|
8
9
|
|
9
10
|
GEM
|
10
11
|
remote: https://rubygems.org/
|
@@ -31,6 +32,7 @@ GEM
|
|
31
32
|
concurrent-ruby (~> 1.0)
|
32
33
|
i18n (1.11.0)
|
33
34
|
concurrent-ruby (~> 1.0)
|
35
|
+
immutable-struct (2.4.1)
|
34
36
|
json (2.6.2)
|
35
37
|
lino (3.0.0)
|
36
38
|
hamster (~> 3.0)
|
@@ -88,7 +90,7 @@ GEM
|
|
88
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
89
91
|
rspec-support (~> 3.11.0)
|
90
92
|
rspec-support (3.11.0)
|
91
|
-
rubocop (1.
|
93
|
+
rubocop (1.33.0)
|
92
94
|
json (~> 2.3)
|
93
95
|
parallel (~> 1.10)
|
94
96
|
parser (>= 3.1.0.0)
|
@@ -108,6 +110,9 @@ GEM
|
|
108
110
|
ruby2_keywords (0.0.5)
|
109
111
|
ruby_gpg2 (0.8.0)
|
110
112
|
lino (>= 1.5)
|
113
|
+
ruby_vault (0.1.0.pre.15)
|
114
|
+
immutable-struct (~> 2.4)
|
115
|
+
lino (~> 3.0)
|
111
116
|
rubyzip (2.3.2)
|
112
117
|
sawyer (0.9.2)
|
113
118
|
addressable (>= 2.3.5)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rake_factory'
|
4
|
+
|
5
|
+
module RakeVault
|
6
|
+
module Tasks
|
7
|
+
class OidcAuth < RakeFactory::Task
|
8
|
+
default_name :login
|
9
|
+
parameter :role
|
10
|
+
|
11
|
+
action do |task|
|
12
|
+
RubyVault.login(
|
13
|
+
method: 'oidc',
|
14
|
+
role: task.role
|
15
|
+
)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/rake_vault/tasks.rb
CHANGED
data/lib/rake_vault/version.rb
CHANGED
data/lib/rake_vault.rb
CHANGED
data/rake_vault.gemspec
CHANGED
@@ -39,6 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_dependency 'colored2', '~> 3.1'
|
40
40
|
spec.add_dependency 'rake_dependencies', '~> 3.1'
|
41
41
|
spec.add_dependency 'rake_factory', '~> 0.23'
|
42
|
+
spec.add_dependency 'ruby_vault', '~> 0.1.0.pre.15'
|
42
43
|
|
43
44
|
spec.add_development_dependency 'activesupport'
|
44
45
|
spec.add_development_dependency 'bundler'
|
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.3
|
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-08-
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.23'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ruby_vault
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.1.0.pre.15
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.1.0.pre.15
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: activesupport
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,7 +281,8 @@ files:
|
|
267
281
|
- lib/rake_vault/task_sets.rb
|
268
282
|
- lib/rake_vault/task_sets/vault.rb
|
269
283
|
- lib/rake_vault/tasks.rb
|
270
|
-
- lib/rake_vault/tasks/
|
284
|
+
- lib/rake_vault/tasks/app_role_auth.rb
|
285
|
+
- lib/rake_vault/tasks/oidc_auth.rb
|
271
286
|
- lib/rake_vault/version.rb
|
272
287
|
- rake_vault.gemspec
|
273
288
|
homepage: https://github.com/infrablocks/rake_vault
|