Skip to content

Commit

Permalink
Merge pull request #1081 from tildeio/unset-locale-bugfix
Browse files Browse the repository at this point in the history
use `local:false` to avoid errors when I18n is unconfigured
  • Loading branch information
zvkemp committed Sep 19, 2023
2 parents c963306 + 9593d69 commit 10dddce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 6.0.1 (September 12, 2023)
- [BUGFIX] Fix a logger message that could raise an error when I18n is misconfigured or unconfigured.

## 6.0.0 (September 11, 2023)
- [BREAKING] End support for Ruby 2.6
- The following libraries are no longer tested and are not guaranteed to work with Skylight 6:
Expand Down
2 changes: 1 addition & 1 deletion lib/skylight/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def show_worker_activation_warning(sk_config)

return if reasons.empty?

sk_config.logger.warn("Activating Skylight for Background Jobs because #{reasons.to_sentence}")
sk_config.logger.warn("Activating Skylight for Background Jobs because #{reasons.to_sentence(locale: false)}")
end

def log_prefix
Expand Down
2 changes: 1 addition & 1 deletion lib/skylight/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module Skylight
# for compatibility with semver when it is parsed by the rust agent.
# This string will be transformed in the gemspec to "5.0.0.alpha"
# to conform with rubygems.
VERSION = "6.0.0".freeze
VERSION = "6.0.1".freeze
end

0 comments on commit 10dddce

Please sign in to comment.