hephaestus 0.8.3.1 → 0.8.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/config/initializers/environment.rb +2 -1
- data/lib/hephaestus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8da2ce61468a298f561ac34ad705930465faf5f207a228a79c97a4e2a81dfab
|
4
|
+
data.tar.gz: 69d0c330a1c83e6b0744dfe3eb6020fb582fad4ab915d921813d7ae9e09da15b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3054abd8a1b93e36b75a96585a21d97d01a44d502f273123fd37df9aee8f4e7edb6300e853e51de8fc655b3777ace767c284e060899d06f961b9272c4e357e02
|
7
|
+
data.tar.gz: 3b4ae9002b2e8a92ffbfc8eb5b8928cd4cd09f11b67fdc135d20f2a03d94daa61a615e1148d3eb20c98c8ff8060cdb5e4a106545700a52f9feb2d25c11a096e9
|
data/CHANGELOG.md
CHANGED
@@ -12,7 +12,8 @@ def fetch_vault_secret(label:, default:)
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def op_load_vault_into_env(vault:, tag:)
|
15
|
-
|
15
|
+
include_sudo = !Rails.env.local? ? "sudo -E " : ""
|
16
|
+
%x(#{include_sudo}op item list --vault #{vault} --tags #{tag} --format json | #{include_sudo}op item get - --reveal --format=json).tap do
|
16
17
|
raise "Failed to fetch value `#{vault}` for `#{tag}` from 1Password" unless $CHILD_STATUS.success?
|
17
18
|
end
|
18
19
|
end
|
data/lib/hephaestus/version.rb
CHANGED