From 802ce99c6ad8b3de0e4277b18f497ab8040b548a Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 20 Aug 2018 20:54:32 +0100 Subject: [PATCH] Bump to v0.9.24 --- CHANGES.md | 8 ++++++++ README.md | 2 +- lib/i18n/tasks/translators/deepl_translator.rb | 2 +- lib/i18n/tasks/translators/google_translator.rb | 2 +- lib/i18n/tasks/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7d6a2e70..a4419ab5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,11 @@ +## v0.9.24 + +* Makes `deepl-rb` and `easy_translate` dependencies optional. + [https://github.com/glebm/i18n-tasks/issues/296] +* Adds DeepL support to `tree-translate`. +* Removes the deprecated `tree-rename-key` command. +* Removes obsolete XSLX report functionality. + ## v0.9.23 Fixes DeepL locale handling. diff --git a/README.md b/README.md index e3c80a06..b17f1bca 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,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', '~> 0.9.23' +gem 'i18n-tasks', '~> 0.9.24' ``` Copy the default [configuration file](#configuration): diff --git a/lib/i18n/tasks/translators/deepl_translator.rb b/lib/i18n/tasks/translators/deepl_translator.rb index 66ff6b98..87b470d0 100644 --- a/lib/i18n/tasks/translators/deepl_translator.rb +++ b/lib/i18n/tasks/translators/deepl_translator.rb @@ -8,7 +8,7 @@ def initialize(*) begin require 'deepl' rescue LoadError - fail ::I18n::Tasks::CommandError, "Add gem 'deepl-rb' to your Gemfile to use this command" + raise ::I18n::Tasks::CommandError, "Add gem 'deepl-rb' to your Gemfile to use this command" end super configure_api_key! diff --git a/lib/i18n/tasks/translators/google_translator.rb b/lib/i18n/tasks/translators/google_translator.rb index cd9c2131..eef1e5ff 100644 --- a/lib/i18n/tasks/translators/google_translator.rb +++ b/lib/i18n/tasks/translators/google_translator.rb @@ -8,7 +8,7 @@ def initialize(*) begin require 'easy_translate' rescue LoadError - fail ::I18n::Tasks::CommandError, "Add gem 'easy_translate' to your Gemfile to use this command" + raise ::I18n::Tasks::CommandError, "Add gem 'easy_translate' to your Gemfile to use this command" end super end diff --git a/lib/i18n/tasks/version.rb b/lib/i18n/tasks/version.rb index 24b8f30c..f3f40db3 100644 --- a/lib/i18n/tasks/version.rb +++ b/lib/i18n/tasks/version.rb @@ -2,6 +2,6 @@ module I18n module Tasks - VERSION = '0.9.23' + VERSION = '0.9.24' end end