hephaestus 0.7.1 → 0.7.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: 0ddb2acb833029f86546e1ba193985470e19f06b8b1914876372ce16c0b08a4e
4
- data.tar.gz: 413397588e5473881666644b45bfcf090bc63adab199a77e51e0a3cec1226ef1
3
+ metadata.gz: 37b0e62f3dc4c629a495222466581d493eb8b918bf0b359f3c71512921405c9f
4
+ data.tar.gz: 0f73a528625033524258f6d679cffbb209c4190baf465268c924efd7c83bcd52
5
5
  SHA512:
6
- metadata.gz: 13ca6d123fde10d85b3a9f90d64f12c75d395667df8a35fbd27b37e07fd952cd8497049f4ce753afe2a27b217cfc49e2fb3e57964cf2e27688f24dfb3d1beaf2
7
- data.tar.gz: 981ff3a8586e4445bc8ad96cd90554887b0c90e476a223f68c70bf78f57c9233ad972d3d44a78248c8352287f1be0e84ca0ce8c0d7ff202282f38d49a70d79a9
6
+ metadata.gz: 1222c3ba07b47953f5a472e0bcdc32fdd48db56c34bed9aa9d9a9f5c7f6552a6b5604009845cfbd758ee2d776db6a3c8f63a46478e90c0338c99335f1dfa033f
7
+ data.tar.gz: 6cb716b8f868316d5a186881f094133725302b164b06ddeddcc4f0fbe90a3534a2f58e97a0974a1f04cd22071c300bcf97dfecbe8c4f67d961a57e47a3364d32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [v0.7.2] - 16-11-2024
2
+ ## What's Changed
3
+ * [skip test] Release v0.7.1 by @github-actions in https://github.com/yettoapp/hephaestus/pull/28
4
+ * Move secrets into Hephaestus by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/29
5
+
6
+
7
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.7.1...v0.7.2
8
+ # [v0.7.1] - 16-11-2024
9
+ ## What's Changed
10
+ * Run as an engine by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/27
11
+
12
+
13
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.7.0...v0.7.1
1
14
  # [v0.7.0] - 15-11-2024
2
15
  ## What's Changed
3
16
  * Run as an engine by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/25
@@ -4,7 +4,7 @@
4
4
  module Hephaestus
5
5
  module Webmocks
6
6
  module YettoWebmock
7
- def yetto_auth_header(payload, signing_secret = SIGNING_SECRET)
7
+ def yetto_auth_header(payload, signing_secret = Hephaestus::YETTO_SIGNING_SECRET)
8
8
  "sha256=#{OpenSSL::HMAC.hexdigest(Hephaestus::ValidatesFromYetto::SHA256_DIGEST, signing_secret, payload.to_json)}"
9
9
  end
10
10
 
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.7.1"
5
+ VERSION = "0.7.2"
6
6
  RAILS_VERSION = ">= 8.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
@@ -14,7 +14,7 @@ class YettoService
14
14
 
15
15
  class << self
16
16
  def perform_token_exchange(plug_installation_id)
17
- encoded_jwt = Httpsensible::JWT.encode_jwt(YETTO_PLUG_PEM, YETTO_PLUG_ID)
17
+ encoded_jwt = Httpsensible::JWT.encode_jwt(Hephaestus::YETTO_PLUG_PEM, Hephaestus::YETTO_PLUG_ID)
18
18
  response = yetto_client.with_headers({ "Authorization" => "Bearer #{encoded_jwt}" }).post("#{YETTO_API_VERSION_TLD}/plug/installations/#{plug_installation_id}/access_tokens")
19
19
  body = response.parsed_json_body
20
20
  body["token"]
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian