Skip to content

Commit

Permalink
Modernize gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 5, 2024
1 parent 6104c79 commit a660440
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bake.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2020-2024, by Samuel Williams.
# Copyright, 2024, by Samuel Williams.

# Update the project documentation with the new version number.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/metrics/backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Released under the MIT License.
# Copyright, 2021-2024, by Samuel Williams.

require_relative 'config'
require_relative "config"

module Metrics
module Backend
Expand Down
2 changes: 1 addition & 1 deletion lib/metrics/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def prepare

# Require a specific metrics backend implementation.
def require_backend(env = ENV)
if backend = env['METRICS_BACKEND']
if backend = env["METRICS_BACKEND"]
begin
if require(backend)
Metrics.extend(Backend::Interface)
Expand Down

0 comments on commit a660440

Please sign in to comment.