hephaestus 0.7.4 → 0.7.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/config/database.yml +9 -0
- data/config/initializers/slack_webhook_logger.rb +15 -11
- data/lib/hephaestus/version.rb +1 -1
- data/lib/tasks/rubocop.rake +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7011e0fb65732e3b327aca0f8840c8157da2f2d92b94601ce518463adf992f0
|
4
|
+
data.tar.gz: 306ca2e819c749926e723a8cbd26fb6b760bcb7a1e5b30a4bbb433dc789ede12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ead706a0b2aaaada597bfc9f5df9379787020b90b755192b89160263ac2f8ba3b761f4068d67dbce6e7e1891d150b52e9a58d658332d2173b3beb7c0e9d44a
|
7
|
+
data.tar.gz: 8cb5d37cca694b4fcae4b1fae68b65587c9ae8ac9764e7594ef7fd66c69560cdec84a0f9abea091c6e7693cc91c648b4acea05a6a16c8ac6d2f7be70ce7ed47d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [v0.7.4.2] - 20-11-2024
|
2
|
+
## What's Changed
|
3
|
+
* tuck rubocop task in a check by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/47
|
4
|
+
|
5
|
+
|
6
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.7.4.1...v0.7.4.2
|
7
|
+
# [v0.7.4.1] - 19-11-2024
|
8
|
+
**Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.7.4...v0.7.4.1
|
1
9
|
# [v0.7.4] - 19-11-2024
|
2
10
|
## What's Changed
|
3
11
|
* Pooooma by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/44
|
data/config/database.yml
CHANGED
@@ -39,6 +39,15 @@ test:
|
|
39
39
|
#
|
40
40
|
# Similarly, if you deploy your application as a Docker container, you must
|
41
41
|
# ensure the database is located in a persisted volume.
|
42
|
+
staging:
|
43
|
+
primary:
|
44
|
+
<<: *default
|
45
|
+
database: /data/staging.sqlite3
|
46
|
+
queue:
|
47
|
+
<<: *default
|
48
|
+
database: /data/staging_queue.sqlite3
|
49
|
+
migrations_paths: db/queue_migrate
|
50
|
+
|
42
51
|
production:
|
43
52
|
primary:
|
44
53
|
<<: *default
|
@@ -3,17 +3,21 @@
|
|
3
3
|
|
4
4
|
require "slack_webhook_logger"
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
Rails.application.configure do
|
7
|
+
config.after_initialize do
|
8
|
+
SlackWebhookLogger.setup do |config|
|
9
|
+
# Webhook URL
|
10
|
+
#
|
11
|
+
# The URL where messages will be sent.
|
12
|
+
config.webhook_url = Hephaestus::SLACK_LOG_URL
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
# The minimum error level to see in Slack.
|
15
|
+
#
|
16
|
+
# All log levels are supported, but don't do anything less then :warn since Slack only allows one message
|
17
|
+
# per minute.
|
18
|
+
config.level = :WARN
|
17
19
|
|
18
|
-
|
20
|
+
config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/]
|
21
|
+
end
|
22
|
+
end
|
19
23
|
end
|
data/lib/hephaestus/version.rb
CHANGED
data/lib/tasks/rubocop.rake
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
# typed: false
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
|
4
|
+
if Rails.env.local?
|
5
|
+
begin
|
6
|
+
require "rubocop/rake_task"
|
5
7
|
|
6
|
-
RuboCop::RakeTask.new
|
8
|
+
RuboCop::RakeTask.new(:rubocop)
|
9
|
+
rescue LoadError => e
|
10
|
+
warn("WARNING: rubocop is not available in this environment: #{e}")
|
11
|
+
end
|
12
|
+
end
|
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.7.4
|
4
|
+
version: 0.7.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootsnap
|