hephaestus 0.8.15.5 → 0.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f141bfecf20df190360c8c07e940e02c2a9e3a9273e2b9c3a3acb3bf0cb35cd5
|
|
4
|
+
data.tar.gz: 44feab3fcbf8e863111293651bb1e87c75ae24af25f1563b61256b8e154141de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccb5ea73b4707487c46242394367680a8488dbf77180597f016771e3d4d89990b123ace277cf8414a10729d849dbe1939538310d179cd4037db190adda3d9963
|
|
7
|
+
data.tar.gz: dcc54b5a9195f4e4955b2450c7e1c08c930dc38ffaa7b47fa27792589a354f4a67bfcc82ddd8b2bd5b8c3d71923269a5eb857140f7e3ca37b87b964bd2292c9b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [v0.8.16] - 26-01-2025
|
|
2
|
+
## What's Changed
|
|
3
|
+
* Point to new API url by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/105
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.15.5...v0.8.16
|
|
1
7
|
# [v0.8.15.5] - 16-01-2025
|
|
2
8
|
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.15.4...v0.8.15.5
|
|
3
9
|
# [v0.8.15.4] - 16-01-2025
|
|
@@ -17,7 +17,7 @@ module Hephaestus
|
|
|
17
17
|
return bad_request unless yetto_signature.start_with?("sha256=")
|
|
18
18
|
|
|
19
19
|
hmac_header = yetto_signature.split("sha256=").last
|
|
20
|
-
body = request.
|
|
20
|
+
body = request.raw_post
|
|
21
21
|
|
|
22
22
|
calculated_hmac = OpenSSL::HMAC.hexdigest(SHA256_DIGEST, Hephaestus::YETTO_SIGNING_SECRET, body)
|
|
23
23
|
|
|
@@ -80,16 +80,28 @@ module Hephaestus
|
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
PROTOCOL = Rails.env.development? ? "http://" : "https://"
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
|
|
84
|
+
YETTO_DOMAIN = if Rails.env.production?
|
|
85
|
+
"yetto.app"
|
|
85
86
|
elsif Rails.env.staging?
|
|
86
|
-
"
|
|
87
|
-
elsif Rails.env.development?
|
|
88
|
-
"localhost:3000"
|
|
87
|
+
"yetto.dev"
|
|
89
88
|
elsif Rails.env.test?
|
|
90
|
-
"
|
|
89
|
+
"yetto.test"
|
|
90
|
+
end
|
|
91
|
+
YETTO_URL = if Rails.env.development?
|
|
92
|
+
"localhost:3000"
|
|
93
|
+
else
|
|
94
|
+
"web.#{YETTO_DOMAIN}"
|
|
91
95
|
end
|
|
92
96
|
|
|
97
|
+
YETTO_API_URL = if Rails.env.local?
|
|
98
|
+
"localhost:3000/api"
|
|
99
|
+
else
|
|
100
|
+
"api.#{YETTO_DOMAIN}"
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
YETTO_REDIRECT_URL = productionish? ? "#{PROTOCOL}#{YETTO_URL}" : "#{PROTOCOL}127.0.0.1:3000"
|
|
104
|
+
|
|
93
105
|
# Every plug has secrets; to reduce the amount of API calls to 1Password,
|
|
94
106
|
# we can grab one document that contains all the secrets we need
|
|
95
107
|
if productionish?
|
|
@@ -114,9 +126,6 @@ module Hephaestus
|
|
|
114
126
|
end
|
|
115
127
|
end
|
|
116
128
|
|
|
117
|
-
YETTO_API_URL = "#{YETTO_URL}/api"
|
|
118
|
-
YETTO_REDIRECT_URL = productionish? ? "#{PROTOCOL}#{YETTO_URL}" : "#{PROTOCOL}127.0.0.1:3000"
|
|
119
|
-
|
|
120
129
|
YETTO_PLUG_PEM = fetch_vault_secret(
|
|
121
130
|
label: "YETTO_PLUG_PEM",
|
|
122
131
|
default: Rails.root.join("test/fixtures/files/fake_pem_file/fake.pem"),
|
data/lib/hephaestus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hephaestus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-01-
|
|
11
|
+
date: 2025-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bootsnap
|