jekyll-timeago 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-timeago/core.rb +1 -1
- data/lib/jekyll-timeago/version.rb +1 -1
- data/spec/source/_config.yml +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84bbf40e7803700c452e0e95b94e27da6b6a1daf593e55731dd07543c685ba34
|
4
|
+
data.tar.gz: 6c7a293bfdd42805dc5355712e9216e6cdf7937c5e1f6766d955ddf40f71ae0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7b75d809b958b158c7e05814042c82c6889b7554964511628b7b4d4feaccc6101b5b63bda444d0410c18cbd94894b006519f874c32ff9d636beb2f5a9fb9e2
|
7
|
+
data.tar.gz: b87fc4153048cb91f295eb49893102b2784851e767a76e9bafd21a8626109b61dcb4b8e87e0ba25f5aed324183efdaa9efa445c6d17f3460097fe75c91fb3460
|
data/lib/jekyll-timeago/core.rb
CHANGED
@@ -25,7 +25,7 @@ module Jekyll
|
|
25
25
|
from = validate_date(from)
|
26
26
|
to = validate_date(to)
|
27
27
|
depth = validate_depth(@options[:depth] || @options["depth"])
|
28
|
-
threshold = validate_threshold(@options[:threshold])
|
28
|
+
threshold = validate_threshold(@options[:threshold] || @options["threshold"])
|
29
29
|
|
30
30
|
time_ago_to_now(from, to, depth, threshold)
|
31
31
|
end
|
data/spec/source/_config.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-timeago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mini_i18n
|
@@ -151,7 +151,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.7.6
|
155
156
|
signing_key:
|
156
157
|
specification_version: 4
|
157
158
|
summary: A date helper to compute distance of dates in words.
|