From d9824a5ffd82d645bdebee3fc3542fd4d3d2944e Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 10 Apr 2022 12:03:45 +0100 Subject: [PATCH] Bump to v1.0.9 --- CHANGES.md | 12 ++++++++++++ README.md | 2 +- lib/i18n/tasks/version.rb | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 97f95219..6580e0b0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,15 @@ +## v1.0.9 + +* Adds an optional AST matcher for Rails model translations, such as `human_attribute_name`. + + Can be enabled by adding the following to the config: + + ```erb + <% I18n::Tasks.add_ast_matcher('I18n::Tasks::Scanners::AstMatchers::RailsModelMatcher') %> + ``` + + [#433](https://github.com/glebm/i18n-tasks/pull/433) + ## v1.0.8 * Fixes a crash in `strict: false` mode. diff --git a/README.md b/README.md index ee1ea78f..b01e1b4c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ i18n-tasks can be used with any project using the ruby [i18n gem][i18n-gem] (def Add i18n-tasks to the Gemfile: ```ruby -gem 'i18n-tasks', '~> 1.0.8' +gem 'i18n-tasks', '~> 1.0.9' ``` Copy the default [configuration file](#configuration): diff --git a/lib/i18n/tasks/version.rb b/lib/i18n/tasks/version.rb index 048d2a5c..7f785aba 100644 --- a/lib/i18n/tasks/version.rb +++ b/lib/i18n/tasks/version.rb @@ -2,6 +2,6 @@ module I18n module Tasks - VERSION = '1.0.8' + VERSION = '1.0.9' end end