From ea4b0b88082a2083dd74e2e31e5854ebe5c57548 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 16 Oct 2020 00:52:12 +0800 Subject: [PATCH] version 2.3.2 --- CHANGELOG.md | 12 ++++++++++++ Gemfile.lock | 2 +- lib/rails-settings/version.rb | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0338b9d..484fb15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 2.3.2 + +- Fix hash type with indifferent access. + +```rb +Setting.smtp_settings = { foo: 1, bar: 2 } +Setting.smtp_settings[:foo] +=> 1 +Setting.smtp_settings["foo"] +=> 1 +``` + ## 2.3.1 - Add `get_field` method to get field option. diff --git a/Gemfile.lock b/Gemfile.lock index 5fba9a2..8d5a404 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rails-settings-cached (2.3.1) + rails-settings-cached (2.3.2) rails (>= 4.2.0) request_store diff --git a/lib/rails-settings/version.rb b/lib/rails-settings/version.rb index db60916..dc5dd33 100644 --- a/lib/rails-settings/version.rb +++ b/lib/rails-settings/version.rb @@ -3,7 +3,7 @@ module RailsSettings class << self def version - "2.3.1" + "2.3.2" end end end