i18n-tasks 0.3.8 → 0.3.9

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: b251c2d3a1ff43a022a0e2ef3d98517071f2bcd3
4
- data.tar.gz: 0d7b6dd38ceb7136c64038d5c299df475aae7712
3
+ metadata.gz: aeddb130b04e94eb44c9a80da3746896933e2272
4
+ data.tar.gz: 17f53cf4fe0015cfd6edf18613d7253ea2d61952
5
5
  SHA512:
6
- metadata.gz: 19108f53812ed81ec2fac74c99d877a2b19ddff2320cc9e929055e00015d260e0e695fcf7cebdfa6ecdddc4e5e6380351ac8091c113a54af17375ac810e03097
7
- data.tar.gz: 990b2e75cd6f492f93647e37a5aad0f8550d422157f593910e3d09662d60a708701c35ddf0282fb4a2bfcb5187b38ceb6837482dad858c78cd3610f5029d916a
6
+ metadata.gz: 690d937228ea48e53dbc4bb690b04af94e39b1c9d843e163f00f3a96b2377d86727f4e0e2bb277fb9d49677371fe5f17fb1feeb2a88f569d9a20f1acb3534901
7
+ data.tar.gz: ce79dd5249253f465be6fd14f7a0af74b5d44fbea2e61027a4b4e290fc90ee2838830cebdfe2106d55e1ce9fb646aaae6c3ba5cc5bcbe69d2c206d914830074d
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.9
2
+
3
+ * Fix regression: Remove ActiveSupport::HashWithIndifferentAccess from locale data output
4
+
1
5
  ## 0.3.8
2
6
 
3
7
  * Fix activesupport ~3.x compatibility issue (#45).
@@ -38,11 +38,11 @@ module I18n::Tasks
38
38
  Dir.glob path % {locale: locale}
39
39
  end.reduce(:+).map do |locale_file|
40
40
  load_file locale_file
41
- end.inject({}.with_indifferent_access) do |hash, locale_data|
41
+ end.inject({}) do |hash, locale_data|
42
42
  hash.deep_merge! locale_data || {}
43
43
  hash
44
44
  end[locale.to_s] || {}
45
- LocaleTree.new locale, hash.with_indifferent_access
45
+ LocaleTree.new locale, hash.to_hash
46
46
  end
47
47
  end
48
48
 
@@ -6,8 +6,7 @@ module I18n::Tasks
6
6
 
7
7
  def initialize(locale, data = {})
8
8
  @locale = locale.to_s
9
- data = to_tree_data(data)
10
- @data = data.with_indifferent_access
9
+ @data = to_tree_data(data)
11
10
  end
12
11
 
13
12
  def merge(other)
@@ -1,5 +1,5 @@
1
1
  module I18n
2
2
  module Tasks
3
- VERSION = '0.3.8'
3
+ VERSION = '0.3.9'
4
4
  end
5
5
  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.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis