Skip to content

Commit

Permalink
0.6.2: Fix compatibility with yabeda-puma-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed Aug 4, 2020
1 parent d65b3f9 commit dcfb480
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 0.6.2 - 2020-08-04

### Fixed

- Compatibility with plugins (like [yabeda-puma-plugin](https://github.com/yabeda-rb/yabeda-puma-plugin)) that for some reason configures itself after Yabeda configuration was already applied by `Yabeda.configure!` (was broken in 0.6.0). [@Envek]

## 0.6.1 - 2020-07-16

### Fixed
Expand Down
1 change: 1 addition & 0 deletions lib/yabeda/dsl/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def register_metric(metric)
::Yabeda.define_singleton_method(name) { metric }
::Yabeda.metrics[name] = metric
register_group_for(metric) if metric.group
::Yabeda.adapters.each_value { |adapter| adapter.register!(metric) } if ::Yabeda.configured?
metric
end

Expand Down
2 changes: 1 addition & 1 deletion lib/yabeda/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Yabeda
VERSION = "0.6.1"
VERSION = "0.6.2"
end

0 comments on commit dcfb480

Please sign in to comment.