README.md in i18n-tasks-0.7.7 vs README.md in i18n-tasks-0.7.8

- old
+ new

@@ -20,11 +20,11 @@ i18n-tasks can be used with any project using [i18n][i18n-gem] (default in Rails), or similar, even if it isn't ruby. Add it to the Gemfile: ```ruby -gem 'i18n-tasks', '~> 0.7.7' +gem 'i18n-tasks', '~> 0.7.8' ``` Copy default [configuration file](#configuration) (optional): ```console @@ -112,11 +112,11 @@ ```console $ i18n-tasks normalize ``` -Sort the keys, and move them to the respective files as defined by (`config.write`)[#multiple-locale-files]: +Sort the keys, and move them to the respective files as defined by [`config.write`](#multiple-locale-files): ```console $ i18n-tasks normalize -p ``` @@ -406,21 +406,21 @@ Add a custom task like the ones defined by the gem: ```ruby # my_commands.rb -class MyCommands +module MyCommands include ::I18n::Tasks::Command::Collection cmd :my_task, desc: 'my custom task' def my_task(opts = {}) end end ``` ```yaml # config/i18n-tasks.yml <% - require 'my_commands' + require './my_commands' I18n::Tasks::Commands.send :include, MyCommands %> ``` Run with: