i18n_alchemy 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/i18n_alchemy/proxy.rb +2 -2
- data/lib/i18n_alchemy/version.rb +1 -1
- data/test/i18n_alchemy/proxy_test.rb +1 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e55292ed6091e314c01c6765364dd79dfa4645
|
4
|
+
data.tar.gz: cda55e90e60416dc55c214dd303a7287be84ed5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7813e0aa776d7b89b2a78aaed3a7d39f90291ce6ae72cc0890500e708606c1b6bfaf16293d4544dcbbec585df9e78014836298dc854566ee8dfb50e7edd3af6c
|
7
|
+
data.tar.gz: 75e6f5699ef1bc957e4a3a9526fca242c2474df2bae36acac0e8e72fef2dff679bcb1f9613c5c3b9b63a8c3772e8e56f965eec21809d6b9a2e7a4c60e48f8b43
|
data/CHANGELOG.md
CHANGED
data/lib/i18n_alchemy/proxy.rb
CHANGED
@@ -128,12 +128,12 @@ module I18n
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def detect_parser_from_column(column)
|
131
|
-
detect_parser(column.
|
131
|
+
detect_parser(column.type)
|
132
132
|
end
|
133
133
|
|
134
134
|
def detect_parser(type_or_parser)
|
135
135
|
case type_or_parser
|
136
|
-
when :number
|
136
|
+
when :float, :decimal, :number
|
137
137
|
NumericParser
|
138
138
|
when :date
|
139
139
|
DateParser
|
data/lib/i18n_alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_alchemy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Antonio da Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 3.2.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 5.
|
22
|
+
version: 5.1.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 3.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 5.
|
32
|
+
version: 5.1.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: i18n
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: 3.2.0
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 5.
|
56
|
+
version: 5.1.0
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
version: 3.2.0
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 5.
|
66
|
+
version: 5.1.0
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: activerecord
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
version: 3.2.0
|
74
74
|
- - "<"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 5.
|
76
|
+
version: 5.1.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
version: 3.2.0
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 5.
|
86
|
+
version: 5.1.0
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: minitest
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project: i18n_alchemy
|
171
|
-
rubygems_version: 2.
|
171
|
+
rubygems_version: 2.5.2
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: I18n date/number parsing/localization
|