i18n-tasks 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa70f1185066cd61c8e5caf67517f50a157e8edd
4
- data.tar.gz: bf73f9deb48f10a6c7731fe74cb7f4fcd0da1e7c
3
+ metadata.gz: 8450eafca8f0cbffefa8b34ff0a3418b96798310
4
+ data.tar.gz: f68636e26f49cc27d285ee7d23c0eb94f407ea22
5
5
  SHA512:
6
- metadata.gz: 452232becc66b4aabbb8e17af2fabe95b2ceb0004e7a461fb73a58bb2b24d323d2222c8b45d44da7d8090ab14ac62bce8cb76de88e46ee811860cab0c3668f89
7
- data.tar.gz: b4c51a6b8a07fb81ceea48dcbd6ddbf0396d3f7027fd6e5ef5a53ed17cf81ed2b74dbb333bb760594db933a8604c0c9c2e6b49abe55584cad026537998e92e4f
6
+ metadata.gz: 419092e4764354330ed956e7d400d250316be9cb3bba46a023affc67b9e1e01fe4dd266ffabb390e5506e31a7b35bd0225e659b551eab79848997566f640dbdb
7
+ data.tar.gz: ef5ff0ee61e3bf68f282eea0afd4b21a3605d82dc58f8a423f824694b5d547d2dc3718b1dadf5e19f1e12d9a5baa6b1cdb86f360ea8b085abc7e9e3ff1e63640
data/CHANGES.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## v0.3.0
2
2
 
3
- * i18n-tasks provides a binary instead of rake tasks now (though the tasks are still there for now).
3
+ * i18n-tasks is a binary now (instead of rake tasks). All tasks / commands now accept various options, and there is no need for as many of them as before.
4
4
 
5
5
  ## v0.2.21..v0.2.22
6
6
 
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
- # i18n-tasks [![Build Status](https://travis-ci.org/glebm/i18n-tasks.png?branch=master)](https://travis-ci.org/glebm/i18n-tasks) [![Coverage Status](https://coveralls.io/repos/glebm/i18n-tasks/badge.png?branch=master)](https://coveralls.io/r/glebm/i18n-tasks?branch=master) [![Code Climate](https://codeclimate.com/github/glebm/i18n-tasks.png)](https://codeclimate.com/github/glebm/i18n-tasks)
2
-
1
+ # i18n-tasks [![Build Status](https://travis-ci.org/glebm/i18n-tasks.png?branch=master)](https://travis-ci.org/glebm/i18n-tasks) [![Coverage Status](https://coveralls.io/repos/glebm/i18n-tasks/badge.png?branch=master)](https://coveralls.io/r/glebm/i18n-tasks?branch=master) [![Code Climate](https://codeclimate.com/github/glebm/i18n-tasks.png)](https://codeclimate.com/github/glebm/i18n-tasks) [![Flattr this](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=glebm&url=https%3A%2F%2Fgithub.com%2Fglebm%2Fi18n-tasks)
3
2
 
4
3
  Tasks to manage translations in ruby applications using I18n.
5
4
 
6
- ![i18n-screenshot](https://raw.github.com/glebm/i18n-tasks/master/doc/img/i18n-tasks.png "i18n-tasks output screenshot")
5
+ <img width="534" height="288" src="https://raw.github.com/glebm/i18n-tasks/master/doc/img/i18n-tasks.png">
7
6
 
8
7
  ## Installation
9
8
 
@@ -17,13 +17,13 @@ module I18n::Tasks::TranslationData
17
17
  end
18
18
 
19
19
  def non_base_locales(from = nil)
20
- from = self.locales unless from.present?
20
+ from = self.locales unless from
21
21
  Array(from) - [base_locale]
22
22
  end
23
23
 
24
24
  # write to store, normalizing all data
25
25
  def normalize_store!(from = nil)
26
- from = self.locales unless from.present?
26
+ from = self.locales unless from
27
27
  Array(from).each do |target_locale|
28
28
  # the store itself handles normalization
29
29
  data[target_locale] = data[target_locale]
@@ -1,5 +1,5 @@
1
1
  module I18n
2
2
  module Tasks
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebm