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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 904411911a1b9af989c78b9500da6c757d31f570d14c109da0428d93781f2524
4
- data.tar.gz: fe4c1cb11f8a165fbbb73d2d7b027e338a9fbf8a0b949f9ba375ef4914292c91
3
+ metadata.gz: d7011e0fb65732e3b327aca0f8840c8157da2f2d92b94601ce518463adf992f0
4
+ data.tar.gz: 306ca2e819c749926e723a8cbd26fb6b760bcb7a1e5b30a4bbb433dc789ede12
5
5
  SHA512:
6
- metadata.gz: 7a2f4d31c3d472373a574da0267839d256e6c91c4670a196f2a08ba698aae1aa455e0bbff8d160dc350886829cb15007313a7186ab26e53970b45ee875402f9f
7
- data.tar.gz: '04973f4029d4477a06efe267e5cf6faf12ade1c95e6cfa6c47e9a7515c796d37b5873244db0595f69e9f74af65d3d58f6c7a01c279d500c1459712e54c7a0d18'
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
- SlackWebhookLogger.setup do |config|
7
- # Webhook URL
8
- #
9
- # The URL where messages will be sent.
10
- config.webhook_url = Hephaestus::SLACK_LOG_URL
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
- # The minimum error level to see in Slack.
13
- #
14
- # All log levels are supported, but don't do anything less then :warn since Slack only allows one message
15
- # per minute.
16
- config.level = :WARN
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
- config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/]
20
+ config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/]
21
+ end
22
+ end
19
23
  end
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.7.4"
5
+ VERSION = "0.7.4.2"
6
6
  RAILS_VERSION = ">= 8.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
@@ -1,6 +1,12 @@
1
1
  # typed: false
2
2
  # frozen_string_literal: true
3
3
 
4
- require "rubocop/rake_task"
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-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootsnap