yake 0.5.1 → 0.5.2
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/README.md +6 -3
- data/lib/yake/support.rb +1 -0
- data/lib/yake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05423d5da13bfc7484b2cf3f8a0a5c71534480b9925183b813bb8bdbaf564b1d
|
|
4
|
+
data.tar.gz: 2ff53556d45a9dec3b909c4e711da615652127c9ce48f60516910944d44c3542
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b467a4358d9d73b603e16470b737a0a3c9bed0f9a14246ec035fe6cf99dba694d621d72d517e6959b8a5788fbc7a6fad72e6630fcf817fd1ca1f606e5558d78
|
|
7
|
+
data.tar.gz: c9648172bae6dde99fad24d063670766d9722f428c51cc5e6e3aac034fb86050a1f5db17aae1d41243a6d6e368ff322076120a14da7926489eccc684ea907df7
|
data/README.md
CHANGED
|
@@ -181,7 +181,7 @@ Finally, `yake` does not depend on any other gems, using the Ruby stdlib only. T
|
|
|
181
181
|
|
|
182
182
|
## Support Helpers
|
|
183
183
|
|
|
184
|
-
As of
|
|
184
|
+
As of `~> 0.5`, `yake` comes with a support module for common transformations.
|
|
185
185
|
|
|
186
186
|
Enable the helpers by requiring the `support` submodule:
|
|
187
187
|
|
|
@@ -208,11 +208,14 @@ require 'yake/support'
|
|
|
208
208
|
`Integer` transformations:
|
|
209
209
|
|
|
210
210
|
```ruby
|
|
211
|
+
7.weeks
|
|
212
|
+
# => 4_233_600
|
|
213
|
+
|
|
211
214
|
7.days
|
|
212
|
-
# =>
|
|
215
|
+
# => 604_800
|
|
213
216
|
|
|
214
217
|
7.hours
|
|
215
|
-
# =>
|
|
218
|
+
# => 25_200
|
|
216
219
|
|
|
217
220
|
7.minutes
|
|
218
221
|
# => 420
|
data/lib/yake/support.rb
CHANGED
data/lib/yake/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Mancevice
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|