hephaestus 0.2.2 → 0.2.3
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/hephaestus/version.rb +2 -2
- data/templates/config/initializers/environment.rb +15 -6
- data/templates/config/sidekiq.yml +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e11d509b300de21f971ec50755ae313659411e0f63f035e3e6d0e36f46e6a469
|
|
4
|
+
data.tar.gz: c0e2483e2c5201fe3079bcc47e9931265d11103f69dfbb8edd8ce8fa14553fa1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ec2bfea8d3d45d917b4391e6401383e9aed002cf4ee21c673ff7eeb96ab40a386ea725e4978d1f4bfe228121f9fdfef7b3f8a3fae1c5f0717ca8b56d1bc0eeb
|
|
7
|
+
data.tar.gz: dbd61a9f148fdf577668112e12a58cb0ec28d2a1bea246d427983c757e31d23db87704e6d4daeb496df3d5209c67824199e19d5bf3c428357185646c1df3f784
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [v0.2.2] - 21-08-2023
|
|
2
|
+
## What's Changed
|
|
3
|
+
* 404/500 error handling by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/5
|
|
4
|
+
* Parse OpenAPI schema *once* by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/6
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.2.1...v0.2.2
|
|
1
8
|
## [v0.2.1] - 11-07-2023
|
|
2
9
|
null
|
|
3
10
|
## [v0.2.0] - 11-07-2023
|
data/lib/hephaestus/version.rb
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
# typed: false
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
PLUG_APP_URL = ENV.fetch("PLUG_APP_URL", "")
|
|
5
|
-
|
|
6
4
|
YETTO_URL = if Rails.env.production?
|
|
7
|
-
"yetto.app"
|
|
5
|
+
"web.yetto.app"
|
|
8
6
|
elsif Rails.env.staging?
|
|
9
|
-
"yetto
|
|
7
|
+
"web.yetto.dev"
|
|
10
8
|
elsif Rails.env.development?
|
|
11
9
|
"localhost:3000"
|
|
12
10
|
elsif Rails.env.test?
|
|
13
|
-
"
|
|
11
|
+
"web.yetto.test"
|
|
14
12
|
end
|
|
15
13
|
|
|
16
14
|
YETTO_API_TLD = ENV.fetch("YETTO_API_TLD", "#{YETTO_URL}/api")
|
|
@@ -18,8 +16,19 @@ YETTO_API_VERSION = ENV.fetch("YETTO_API_VERSION", "2023-03-06")
|
|
|
18
16
|
|
|
19
17
|
SLACK_LOG_URL = Rails.application.credentials.fetch(:SLACK_LOG_URL, ENV.fetch("SLACK_LOG_URL", "https://slack.com/the_log_room"))
|
|
20
18
|
|
|
19
|
+
PROTOCOL = Rails.env.development? ? "http://" : "https://"
|
|
20
|
+
PLUG_APP_URL = if Rails.env.production?
|
|
21
|
+
"app.plugs.yetto.app"
|
|
22
|
+
elsif Rails.env.staging?
|
|
23
|
+
"app.plugs.yetto.dev"
|
|
24
|
+
elsif Rails.env.development?
|
|
25
|
+
"plug-app.ngrok.io"
|
|
26
|
+
elsif Rails.env.test?
|
|
27
|
+
"app.plugs.yetto.test"
|
|
28
|
+
end
|
|
29
|
+
|
|
21
30
|
YETTO_PLUG_PEM = Rails.application.credentials.fetch(:YETTO_PLUG_PEM, ENV.fetch("YETTO_PLUG_PEM", Rails.root.join("test/fixtures/files/fake_pem_file/fake.pem").read))
|
|
22
|
-
SIGNING_SECRET = Rails.application.credentials.fetch(:
|
|
31
|
+
SIGNING_SECRET = Rails.application.credentials.fetch(:SIGNING_SECRET, ENV.fetch("SIGNING_SECRET", "super-secret"))
|
|
23
32
|
YETTO_PLUG_ID = Rails.application.credentials.fetch(:YETTO_PLUG_ID, ENV.fetch("YETTO_PLUG_ID", "super-secret"))
|
|
24
33
|
|
|
25
34
|
def productionish?
|
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.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 7.0
|
|
48
|
+
version: '7.0'
|
|
49
49
|
type: :runtime
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 7.0
|
|
55
|
+
version: '7.0'
|
|
56
56
|
force_ruby_platform: false
|
|
57
57
|
- !ruby/object:Gem::Dependency
|
|
58
58
|
name: rainbow
|