i18n-tasks 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a975e29e67305ae1340693c7ccf7d200e605b8c
4
- data.tar.gz: 3f5eef5b3d41692f1e76acb59afd91da74222397
3
+ metadata.gz: 0198838a2cf17a2fc7a9913b57834523ace51815
4
+ data.tar.gz: 7be76e4bc18d61ad4083dae29effdd766fe3c2d1
5
5
  SHA512:
6
- metadata.gz: 77b01dffd57846ebb998c278e6201e8b5c571a6fa906e42e3be042d21ffb60df6375cde83138dc66cf2c9c7687c0355f13cbe6cc3e211697489bdd3298d084a7
7
- data.tar.gz: 518755d6b8a5c465a0e0848e4d5a817f253dc8e1c3b17aa2dec24311f340a3d886350dc47593cd3124d6819033fa994d019ab5b66dc0257c5f72cef7e79fb187
6
+ metadata.gz: bc3e3b650239a541435b7ee77b375e04e4d18c2a64ee2a1c82a9016d813d2c9145e479453502c332999d6f1e8b87facc8a955f6f2197cc29a1927a87ffd03da6
7
+ data.tar.gz: a161e61578a2ba3b63e23add1724d67e5b4f05cfb4a795c5cf33542bddb1d210019150a75e7976ef3b11aa31a2f0002c5bc0167442ee65b2790da3482cbab5ab
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.8.3
2
+
3
+ * Fix regression: ActiveSupport < 4 support [#143](https://github.com/glebm/i18n-tasks/issues/143).
4
+
1
5
  ## 0.8.2
2
6
 
3
7
  * Fix failure on nil values in the data config [#142](https://github.com/glebm/i18n-tasks/issues/142).
data/README.md CHANGED
@@ -22,7 +22,7 @@ i18n-tasks can be used with any project using the ruby [i18n gem][i18n-gem] (def
22
22
  Add i18n-tasks to the Gemfile:
23
23
 
24
24
  ```ruby
25
- gem 'i18n-tasks', '~> 0.8.2'
25
+ gem 'i18n-tasks', '~> 0.8.3'
26
26
  ```
27
27
 
28
28
  Copy the default [configuration file](#configuration):
@@ -44,7 +44,10 @@ class I18n::Tasks::CLI
44
44
  end
45
45
 
46
46
  def commands
47
- @commands ||= ::I18n::Tasks::Commands.cmds.transform_keys { |k| k.to_s.tr('_', '-') }
47
+ @commands ||= ::I18n::Tasks::Commands.cmds.dup.tap do |cmds|
48
+ # Hash#transform_keys is only available since activesupport v4.0.0
49
+ cmds.keys.each { |k| cmds[k.to_s.tr('_', '-')] = cmds.delete(k) }
50
+ end
48
51
  end
49
52
 
50
53
  private
@@ -1,6 +1,6 @@
1
1
  # coding: utf-8
2
2
  module I18n
3
3
  module Tasks
4
- VERSION = '0.8.2'
4
+ VERSION = '0.8.3'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  version: '0'
317
317
  requirements: []
318
318
  rubyforge_project:
319
- rubygems_version: 2.4.6
319
+ rubygems_version: 2.4.5
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: Manage localization and translation with the awesome power of static analysis