humanize 2.4.0 → 2.5.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 +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/.rubocop.yml +2 -2
- data/README.markdown +1 -0
- data/humanize.gemspec +2 -3
- data/lib/humanize.rb +11 -10
- data/lib/humanize/locales.rb +1 -1
- data/lib/humanize/locales/constants/es.rb +1 -1
- data/lib/humanize/locales/constants/ru.rb +1 -1
- data/lib/humanize/locales/constants/vi.rb +11 -0
- data/lib/humanize/locales/es.rb +0 -1
- data/lib/humanize/locales/fr.rb +11 -3
- data/lib/humanize/locales/jp.rb +2 -2
- data/lib/humanize/locales/vi.rb +35 -0
- data/spec/locales/fr_spec.rb +7 -1
- data/spec/locales/jp_spec.rb +35 -33
- data/spec/locales/vi_spec.rb +234 -0
- metadata +12 -8
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: humanize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Chen
|
8
8
|
- Ryan Bigg
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mutant
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
|
-
description:
|
84
|
+
description:
|
85
85
|
email: me@ryanbigg.com
|
86
86
|
executables: []
|
87
87
|
extensions: []
|
@@ -113,6 +113,7 @@ files:
|
|
113
113
|
- lib/humanize/locales/constants/ru.rb
|
114
114
|
- lib/humanize/locales/constants/th.rb
|
115
115
|
- lib/humanize/locales/constants/tr.rb
|
116
|
+
- lib/humanize/locales/constants/vi.rb
|
116
117
|
- lib/humanize/locales/de.rb
|
117
118
|
- lib/humanize/locales/en.rb
|
118
119
|
- lib/humanize/locales/es.rb
|
@@ -124,6 +125,7 @@ files:
|
|
124
125
|
- lib/humanize/locales/ru.rb
|
125
126
|
- lib/humanize/locales/th.rb
|
126
127
|
- lib/humanize/locales/tr.rb
|
128
|
+
- lib/humanize/locales/vi.rb
|
127
129
|
- spec/configuration_spec.rb
|
128
130
|
- spec/humanize_spec.rb
|
129
131
|
- spec/locales/az_spec.rb
|
@@ -138,11 +140,12 @@ files:
|
|
138
140
|
- spec/locales/ru_spec.rb
|
139
141
|
- spec/locales/th_spec.rb
|
140
142
|
- spec/locales/tr_spec.rb
|
143
|
+
- spec/locales/vi_spec.rb
|
141
144
|
- spec/spec_helper.rb
|
142
145
|
homepage: https://github.com/radar/humanize
|
143
146
|
licenses: []
|
144
147
|
metadata: {}
|
145
|
-
post_install_message:
|
148
|
+
post_install_message:
|
146
149
|
rdoc_options: []
|
147
150
|
require_paths:
|
148
151
|
- lib
|
@@ -150,15 +153,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
153
|
requirements:
|
151
154
|
- - ">="
|
152
155
|
- !ruby/object:Gem::Version
|
153
|
-
version: '2.
|
156
|
+
version: '2.4'
|
154
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
158
|
requirements:
|
156
159
|
- - ">="
|
157
160
|
- !ruby/object:Gem::Version
|
158
161
|
version: '0'
|
159
162
|
requirements: []
|
160
|
-
rubygems_version: 3.
|
161
|
-
signing_key:
|
163
|
+
rubygems_version: 3.1.2
|
164
|
+
signing_key:
|
162
165
|
specification_version: 4
|
163
166
|
summary: Extension to Numeric to humanize numbers
|
164
167
|
test_files:
|
@@ -176,4 +179,5 @@ test_files:
|
|
176
179
|
- spec/locales/ru_spec.rb
|
177
180
|
- spec/locales/th_spec.rb
|
178
181
|
- spec/locales/tr_spec.rb
|
182
|
+
- spec/locales/vi_spec.rb
|
179
183
|
- spec/spec_helper.rb
|