l10n 1.2.1 → 1.3.0

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
- SHA1:
3
- metadata.gz: 4131f6df7e1ff12bbbd5d86e4584b9cc0fec5d8c
4
- data.tar.gz: 2e7def258acc2add39251868ba45c002976d17f2
2
+ SHA256:
3
+ metadata.gz: a44720d047dd98be2e79dee2714ae874590381eb5d5bfbe5fe5ad4aa86ab5a48
4
+ data.tar.gz: 1c2e44f58f74771b7598244608734776057c8d18f4c4b1d86388c470407f3062
5
5
  SHA512:
6
- metadata.gz: 8b9252c4e0a79bca6147c27f89bd2a3516dc9b14a6922ee803a8a7ac10af420991f6f70773fb87494ec7c81906ffe6d6f511a804dc957c3ff5360a1e9ffd7ced
7
- data.tar.gz: 99dd2ab347d0f1faac4fafb68e9797f9aa5356fc6a175f1679e146cc117fbda919a41859c2e77b297326dad2380cdd4df555b70b11b5a449ff2706a39a2d4b35
6
+ metadata.gz: e7fccf4cdfa24601ee81af316f1f18b0fbb5e87e005e782147874e6f222499032aafbdfa42bf9eb7b839dc0b5e560641e1f9a7725aba793de226fd560ce66cf5
7
+ data.tar.gz: ef18e5baf0eeb1f1dab9cf153bb932a6e34194868b1265044b6bb8b1f47d74d0a442ca21d67f543742fa0c9bb11853e781c0132ccf1e29482ff0415b6e253b8d
@@ -3,9 +3,7 @@ require 'active_record'
3
3
  module L10n
4
4
  module NumericColumnConversions
5
5
 
6
- private
7
-
8
- def write_attribute(attr_name, value)
6
+ def _write_attribute(attr_name, value)
9
7
  column = column_for_attribute(attr_name.to_s)
10
8
  if column && [:integer, :float, :decimal].include?(column.type) && value.is_a?(String)
11
9
  value = Numeric.delocalize(value)
@@ -1,3 +1,3 @@
1
1
  module L10n
2
- VERSION = '1.2.1'
2
+ VERSION = '1.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: l10n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -30,56 +30,80 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.1.1
33
+ version: '5.2'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 5.2.0
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: 5.1.1
43
+ version: '5.2'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 5.2.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: activesupport
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 5.1.1
53
+ version: '5.2'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 5.2.0
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
61
  - - "~>"
53
62
  - !ruby/object:Gem::Version
54
- version: 5.1.1
63
+ version: '5.2'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 5.2.0
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: actionpack
57
69
  requirement: !ruby/object:Gem::Requirement
58
70
  requirements:
59
71
  - - "~>"
60
72
  - !ruby/object:Gem::Version
61
- version: 5.1.1
73
+ version: '5.2'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 5.2.0
62
77
  type: :runtime
63
78
  prerelease: false
64
79
  version_requirements: !ruby/object:Gem::Requirement
65
80
  requirements:
66
81
  - - "~>"
67
82
  - !ruby/object:Gem::Version
68
- version: 5.1.1
83
+ version: '5.2'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 5.2.0
69
87
  - !ruby/object:Gem::Dependency
70
88
  name: railties
71
89
  requirement: !ruby/object:Gem::Requirement
72
90
  requirements:
73
91
  - - "~>"
74
92
  - !ruby/object:Gem::Version
75
- version: 5.1.1
93
+ version: '5.2'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 5.2.0
76
97
  type: :runtime
77
98
  prerelease: false
78
99
  version_requirements: !ruby/object:Gem::Requirement
79
100
  requirements:
80
101
  - - "~>"
81
102
  - !ruby/object:Gem::Version
82
- version: 5.1.1
103
+ version: '5.2'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 5.2.0
83
107
  - !ruby/object:Gem::Dependency
84
108
  name: sqlite3
85
109
  requirement: !ruby/object:Gem::Requirement
@@ -187,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
211
  version: '0'
188
212
  requirements: []
189
213
  rubyforge_project:
190
- rubygems_version: 2.4.5
214
+ rubygems_version: 2.7.6
191
215
  signing_key:
192
216
  specification_version: 4
193
217
  summary: Make I18n roar again