hephaestus 0.2.2 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/hephaestus/version.rb +2 -2
- data/templates/.github/workflows/test.yml +11 -11
- data/templates/Gemfile.erb +1 -2
- data/templates/config/initializers/environment.rb +15 -6
- data/templates/config/sidekiq.yml +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b95d21bfd57de5966b0e84d88b1405b86858be61eba98db2540cd4321169fe3c
|
4
|
+
data.tar.gz: a1a812f73c093ec210675c9f5f736893c0170aece8f06ce92cb43ff9df39467c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d967799d74078769fe825e5b03cfae506da34b023ff2e07edbe97ec91283592a50e664d280a1c2394ceefdd2047952ca36628e602789d224758d9bc91b45952b
|
7
|
+
data.tar.gz: '08804720c39e023bfd1abc2ac87de38fc9badf9509fc8b3f161f0528862653bfb18727da01aab24ce56012e4346ef6abb2f6f78746c1e681a533787b49df2bd0'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## [v0.3.0] - 12-09-2023
|
2
|
+
## What's Changed
|
3
|
+
* Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/yettoapp/hephaestus/pull/8
|
4
|
+
* Use centralized workflows for testing by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/9
|
5
|
+
|
6
|
+
## New Contributors
|
7
|
+
* @dependabot made their first contribution in https://github.com/yettoapp/hephaestus/pull/8
|
8
|
+
|
9
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.2.3...v0.3.0
|
10
|
+
## [v0.2.3] - 21-08-2023
|
11
|
+
## What's Changed
|
12
|
+
* Updates from staging by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/7
|
13
|
+
|
14
|
+
|
15
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.2.2...v0.2.3
|
16
|
+
## [v0.2.2] - 21-08-2023
|
17
|
+
## What's Changed
|
18
|
+
* 404/500 error handling by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/5
|
19
|
+
* Parse OpenAPI schema *once* by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/6
|
20
|
+
|
21
|
+
|
22
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.2.1...v0.2.2
|
1
23
|
## [v0.2.1] - 11-07-2023
|
2
24
|
null
|
3
25
|
## [v0.2.0] - 11-07-2023
|
data/lib/hephaestus/version.rb
CHANGED
@@ -5,15 +5,15 @@ on:
|
|
5
5
|
pull_request_target:
|
6
6
|
|
7
7
|
jobs:
|
8
|
-
|
9
|
-
|
8
|
+
ruby:
|
9
|
+
uses: yettoapp/actions/.github/workflows/ruby_test_suite.yml@main
|
10
|
+
secrets:
|
11
|
+
gh_token: ${{ secrets.GH_SISYPHUS_YETTO_REPO_TOKEN }}
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
with:
|
19
|
-
github_token: ${{ secrets.GH_SISYPHUS_YETTO_REPO_TOKEN }}
|
13
|
+
docker:
|
14
|
+
uses: yettoapp/actions/.github/workflows/test_dockerbuild.yml@main
|
15
|
+
secrets:
|
16
|
+
gh_token: ${{ secrets.GH_SISYPHUS_YETTO_REPO_TOKEN }}
|
17
|
+
fly_token: ${{ secrets.FLY_PRODUCTION_API_TOKEN }}
|
18
|
+
with:
|
19
|
+
app_name: "plug-app-production"
|
data/templates/Gemfile.erb
CHANGED
@@ -71,8 +71,6 @@ group :development, :test do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
group :development do
|
74
|
-
gem "dockerfile-rails", "~> 1.5"
|
75
|
-
|
76
74
|
gem "dotenv-rails"
|
77
75
|
|
78
76
|
gem "foreman", "~> 0.87"
|
@@ -84,6 +82,7 @@ group :development do
|
|
84
82
|
gem "spoom"
|
85
83
|
gem "sorbet"
|
86
84
|
gem "tapioca", require: false
|
85
|
+
gem "webrick"
|
87
86
|
end
|
88
87
|
gem "sorbet-runtime"
|
89
88
|
|
@@ -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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hephaestus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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
|