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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 688c4f3a753643db48809917ef35d7c2d5a62f32d7fe77e29bbe3b1e3ca6832a
4
- data.tar.gz: 2228781a2b6bf3218e45f7a687e0216298d9fb67414db9fd48a6bec6de24d6ba
3
+ metadata.gz: f8da2ce61468a298f561ac34ad705930465faf5f207a228a79c97a4e2a81dfab
4
+ data.tar.gz: 69d0c330a1c83e6b0744dfe3eb6020fb582fad4ab915d921813d7ae9e09da15b
5
5
  SHA512:
6
- metadata.gz: 659cb0f005822338eb2973bae5136bb41bc23388c925c79e6facf292021816cd5e27a8b39363f6ebf55e570416d766c65deceffb313a9f32d5959178751f229c
7
- data.tar.gz: 2bdf24c8da1ab8fa4a86cc93b3237e7ddc375f3735f03db6cd837efb1618e43b6bde2851391700226dfe8790ac263451a8331c0f3eb172eee5fa2a3ae82d8253
6
+ metadata.gz: 3054abd8a1b93e36b75a96585a21d97d01a44d502f273123fd37df9aee8f4e7edb6300e853e51de8fc655b3777ace767c284e060899d06f961b9272c4e357e02
7
+ data.tar.gz: 3b4ae9002b2e8a92ffbfc8eb5b8928cd4cd09f11b67fdc135d20f2a03d94daa61a615e1148d3eb20c98c8ff8060cdb5e4a106545700a52f9feb2d25c11a096e9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # [v0.8.3.2] - 26-11-2024
2
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.3.1...v0.8.3.2
1
3
  # [v0.8.3.1] - 26-11-2024
2
4
  **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.3...v0.8.3.1
3
5
  # [v0.8.3] - 26-11-2024
@@ -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
- %x(#{include_sudo?}op item list --vault #{vault} --tags #{tag} --format json | #{include_sudo?}op item get - --reveal --format=json).tap do
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
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.8.3.1"
5
+ VERSION = "0.8.3.2"
6
6
  RAILS_VERSION = ">= 8.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hephaestus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3.1
4
+ version: 0.8.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian