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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0d0a282e371c82c7a78ec06daf099ab43248b2164f4eeb2f3ccb99936e266dd
4
- data.tar.gz: c0b57570ebd40598b83b62e9cb46cae40b7922923382bc03bc11359680ff7964
3
+ metadata.gz: 84bbf40e7803700c452e0e95b94e27da6b6a1daf593e55731dd07543c685ba34
4
+ data.tar.gz: 6c7a293bfdd42805dc5355712e9216e6cdf7937c5e1f6766d955ddf40f71ae0b
5
5
  SHA512:
6
- metadata.gz: dcfd9bc02249b9ae0309130506b4cd13b05b13a1cf3777fa4059c3610d6121c4fa62043a4efd2dbabbe51f2c3796973006846853a2a65fc6aa56e78d0eecba95
7
- data.tar.gz: 9e7ab93694539ab08bd0df48289c784ae08d41726589af4a5e9d9f72df7a325a950eb07aed2c228af613a8f45b05c369fa765e2fade737c8d55ba8c8dd0ffba0
6
+ metadata.gz: 8f7b75d809b958b158c7e05814042c82c6889b7554964511628b7b4d4feaccc6101b5b63bda444d0410c18cbd94894b006519f874c32ff9d636beb2f5a9fb9e2
7
+ data.tar.gz: b87fc4153048cb91f295eb49893102b2784851e767a76e9bafd21a8626109b61dcb4b8e87e0ba25f5aed324183efdaa9efa445c6d17f3460097fe75c91fb3460
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Timeago
3
- VERSION = "0.13.0"
3
+ VERSION = "0.13.1"
4
4
  end
5
5
  end
@@ -2,8 +2,8 @@ plugins:
2
2
  - jekyll-timeago
3
3
 
4
4
  jekyll_timeago:
5
- depth: 1
6
- threshold: 0.01
5
+ depth: 2
6
+ threshold: 0.05
7
7
  translations_path: "/_locales/*.yaml"
8
8
  default_locale: 'en'
9
9
  available_locales:
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.0
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-30 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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.