Skip to content

Commit

Permalink
0.6.1: Fix compatibility with Ruby prior to 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed Jul 16, 2020
1 parent cbf4022 commit d65b3f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
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.1 - 2020-07-16

### Fixed

- Compatibility with Ruby < 2.6 due to usage of [new `Hash#merge(*others)` with multiple arguments](https://rubyreferences.github.io/rubychanges/2.6.html#hashmerge-with-multiple-arguments) in 0.6.0. [@Envek]

## 0.6.0 - 2020-07-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/yabeda/tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Yabeda
# Class to merge tags
class Tags
def self.build(tags)
::Yabeda.default_tags.merge(Yabeda.temporary_tags, tags)
::Yabeda.default_tags.merge(Yabeda.temporary_tags).merge(tags)
end
end
end
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.0"
VERSION = "0.6.1"
end

0 comments on commit d65b3f9

Please sign in to comment.