dotiw 5.5.0 → 5.6.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 +37 -13
- data/.gitignore +1 -0
- data/Appraisals +13 -0
- data/CHANGELOG.md +26 -3
- data/README.markdown +53 -5
- data/RELEASING.md +71 -0
- data/benchmarks/distance_of_time_in_words_bench.rb +38 -0
- data/dotiw.gemspec +1 -1
- data/gemfiles/rails_8.0.gemfile +11 -0
- data/gemfiles/rails_8.1.gemfile +11 -0
- data/gemfiles/rails_8.1_i18n.gemfile +11 -0
- data/lib/dotiw/core.rb +45 -0
- data/lib/dotiw/methods.rb +53 -17
- data/lib/dotiw/time_hash.rb +119 -14
- data/lib/dotiw/version.rb +1 -1
- data/lib/dotiw.rb +1 -40
- data/spec/lib/dotiw_module_spec.rb +52 -0
- data/spec/lib/dotiw_spec.rb +273 -7
- data/spec/spec_helper.rb +19 -0
- metadata +22 -11
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dotiw
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Bigg
|
|
8
8
|
- Lauran Jansen
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-09-09 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: activesupport
|
|
@@ -109,21 +110,21 @@ dependencies:
|
|
|
109
110
|
- !ruby/object:Gem::Version
|
|
110
111
|
version: '3.0'
|
|
111
112
|
- !ruby/object:Gem::Dependency
|
|
112
|
-
name:
|
|
113
|
+
name: mutex_m
|
|
113
114
|
requirement: !ruby/object:Gem::Requirement
|
|
114
115
|
requirements:
|
|
115
|
-
- - "
|
|
116
|
+
- - ">="
|
|
116
117
|
- !ruby/object:Gem::Version
|
|
117
|
-
version:
|
|
118
|
+
version: '0'
|
|
118
119
|
type: :development
|
|
119
120
|
prerelease: false
|
|
120
121
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
122
|
requirements:
|
|
122
|
-
- - "
|
|
123
|
+
- - ">="
|
|
123
124
|
- !ruby/object:Gem::Version
|
|
124
|
-
version:
|
|
125
|
+
version: '0'
|
|
125
126
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
127
|
+
name: base64
|
|
127
128
|
requirement: !ruby/object:Gem::Requirement
|
|
128
129
|
requirements:
|
|
129
130
|
- - ">="
|
|
@@ -137,7 +138,7 @@ dependencies:
|
|
|
137
138
|
- !ruby/object:Gem::Version
|
|
138
139
|
version: '0'
|
|
139
140
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
141
|
+
name: bigdecimal
|
|
141
142
|
requirement: !ruby/object:Gem::Requirement
|
|
142
143
|
requirements:
|
|
143
144
|
- - ">="
|
|
@@ -151,7 +152,7 @@ dependencies:
|
|
|
151
152
|
- !ruby/object:Gem::Version
|
|
152
153
|
version: '0'
|
|
153
154
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
155
|
+
name: simplecov
|
|
155
156
|
requirement: !ruby/object:Gem::Requirement
|
|
156
157
|
requirements:
|
|
157
158
|
- - ">="
|
|
@@ -187,7 +188,9 @@ files:
|
|
|
187
188
|
- Gemfile
|
|
188
189
|
- MIT-LICENSE
|
|
189
190
|
- README.markdown
|
|
191
|
+
- RELEASING.md
|
|
190
192
|
- Rakefile
|
|
193
|
+
- benchmarks/distance_of_time_in_words_bench.rb
|
|
191
194
|
- benchmarks/time_hash_bench.rb
|
|
192
195
|
- dotiw.gemspec
|
|
193
196
|
- gemfiles/.bundle/config
|
|
@@ -198,8 +201,12 @@ files:
|
|
|
198
201
|
- gemfiles/rails_7.0.gemfile
|
|
199
202
|
- gemfiles/rails_7.1.gemfile
|
|
200
203
|
- gemfiles/rails_7.2.gemfile
|
|
204
|
+
- gemfiles/rails_8.0.gemfile
|
|
205
|
+
- gemfiles/rails_8.1.gemfile
|
|
206
|
+
- gemfiles/rails_8.1_i18n.gemfile
|
|
201
207
|
- lib/dotiw.rb
|
|
202
208
|
- lib/dotiw/action_view/helpers/date_helper.rb
|
|
209
|
+
- lib/dotiw/core.rb
|
|
203
210
|
- lib/dotiw/locale/ar.yml
|
|
204
211
|
- lib/dotiw/locale/da.yml
|
|
205
212
|
- lib/dotiw/locale/de.yml
|
|
@@ -223,6 +230,7 @@ files:
|
|
|
223
230
|
- lib/dotiw/methods.rb
|
|
224
231
|
- lib/dotiw/time_hash.rb
|
|
225
232
|
- lib/dotiw/version.rb
|
|
233
|
+
- spec/lib/dotiw_module_spec.rb
|
|
226
234
|
- spec/lib/dotiw_spec.rb
|
|
227
235
|
- spec/lib/i18n/ar.yml
|
|
228
236
|
- spec/lib/i18n/da.yml
|
|
@@ -249,6 +257,7 @@ homepage: https://github.com/radar/distance_of_time_in_words
|
|
|
249
257
|
licenses:
|
|
250
258
|
- MIT
|
|
251
259
|
metadata: {}
|
|
260
|
+
post_install_message:
|
|
252
261
|
rdoc_options: []
|
|
253
262
|
require_paths:
|
|
254
263
|
- lib
|
|
@@ -263,10 +272,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
263
272
|
- !ruby/object:Gem::Version
|
|
264
273
|
version: '0'
|
|
265
274
|
requirements: []
|
|
266
|
-
rubygems_version: 3.
|
|
275
|
+
rubygems_version: 3.5.16
|
|
276
|
+
signing_key:
|
|
267
277
|
specification_version: 4
|
|
268
278
|
summary: Better distance_of_time_in_words for Rails
|
|
269
279
|
test_files:
|
|
280
|
+
- spec/lib/dotiw_module_spec.rb
|
|
270
281
|
- spec/lib/dotiw_spec.rb
|
|
271
282
|
- spec/lib/i18n/ar.yml
|
|
272
283
|
- spec/lib/i18n/da.yml
|