hephaestus 0.8.15.4 → 0.8.15.5

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: c3b5cd0cf6fc559d74c9caa5f801a99be5f2c2615788389c180a6258c2894a0f
4
- data.tar.gz: 984ba33d4aeded9f438f67e3ab94e25bfff3f34b4a3cb591732641e9b9e2774e
3
+ metadata.gz: 507c05485b78ef114764457b17768d84c9d94e57f1171a7ad8823b0aeaa4ea9c
4
+ data.tar.gz: 2688ee1d57371e64c8b6677ac249c4c43c5609d7c34067186ad23025ba94915e
5
5
  SHA512:
6
- metadata.gz: 81f0d1e36d1bcf846d43f1620c21cb03a2c2d676179b3f731ab4ebc9e75e547aa785a8f30745cf7bc02d9f7a543838edc40f6e39bfe504cae52ef652d15bd4ca
7
- data.tar.gz: 898187ff9d79d17d23e5415c063721bf943f1cd92e79cec3508ce13ce65ca47c9e4a54cd7c80cba248e9135d1b99f25b4873a857ba5af26381ed7d2534b8641f
6
+ metadata.gz: 38957f8ca0fddea05fd4a337dbc2632770398d6034fa5635f729ac0b55d2f243bc13283e6076ff245f3e9dc1ee9ff35423a3af809b118798454d5cc00a351ffb
7
+ data.tar.gz: f90f995a3c9dc816f20d85b3efcf867f8b78a1de92cec1387d7bd30f2c7585b29713dedc7bea07581456afdd72dbf8b6eb4c1da3cd155ebcf80b39eef29e3c71
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # [v0.8.15.5] - 16-01-2025
2
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.15.4...v0.8.15.5
1
3
  # [v0.8.15.4] - 16-01-2025
2
4
  **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.15.3...v0.8.15.4
3
5
  # [v0.8.15.3] - 16-01-2025
@@ -6,7 +6,7 @@ OP_INFRA_SECRETS = {}
6
6
 
7
7
  def fetch_vault_secret(label:, default: "")
8
8
  if productionish?
9
- OP_VAULT_SECRETS.delete(label) || raise("Secret `#{label}` not found in 1Password")
9
+ OP_VAULT_SECRETS.delete(label) || Rails.logger.error("Secret `#{label}` not found in 1Password")
10
10
  else
11
11
  ENV.fetch(label, default.is_a?(Pathname) ? default.read : default)
12
12
  end
@@ -14,7 +14,7 @@ end
14
14
 
15
15
  def fetch_infra_secret(label:, default: "")
16
16
  if productionish?
17
- OP_INFRA_SECRETS.delete(label) || raise("Secret `#{label}` not found in 1Password")
17
+ OP_INFRA_SECRETS.delete(label) || Rails.logger.error("Secret `#{label}` not found in 1Password")
18
18
  else
19
19
  ENV.fetch(label, default.is_a?(Pathname) ? default.read : default)
20
20
  end
@@ -24,7 +24,7 @@ def op_load_vault_into_env(vault:, tag: nil)
24
24
  include_sudo = !Rails.env.local? ? "sudo -E " : ""
25
25
  include_tag = tag ? " --tags #{tag} " : ""
26
26
  %x(#{include_sudo}op item list --vault #{vault}#{include_tag}--format json | #{include_sudo}op item get - --reveal --format=json).tap do
27
- raise "Failed to fetch value `#{vault}` for `#{tag}` from 1Password" unless $CHILD_STATUS.success?
27
+ Rails.logger.error("Failed to fetch value `#{vault}` for `#{tag}` from 1Password") unless $CHILD_STATUS.success?
28
28
  end
29
29
  end
30
30
 
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.8.15.4"
5
+ VERSION = "0.8.15.5"
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.15.4
4
+ version: 0.8.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian