jekyll-age 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll-age.rb +2 -2
  3. metadata +9 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56e93635dc148b571143f8908fc738df4f68cf481a83b58c4d34928017d0c9e4
4
- data.tar.gz: 051702bf5ca545f64b136fd8fc7b5e4838d0bdd81cfb5dfcae4090bea8eacc46
3
+ metadata.gz: 32fb834ce17a2fa2b56b3292b8c423aeb99d388c9cffbb0dcba1ad9539dc8a2e
4
+ data.tar.gz: 9e3392e94a7f7479d9830fdf2f960f75eadf7d992a1ea7e150132961692209dd
5
5
  SHA512:
6
- metadata.gz: 2d1f4fe8e97cfa57131ffdd0d3a12782f0efe5951b5fb0e1bb5599fa1bc925daaa5245ac865d8072ab60e2d91a795bc213944de156984bf5f58a98c5cf9d9288
7
- data.tar.gz: 3cda7860c82b1f441599efe6d8b040bada522fcb02f4ae8753dfacee04698b0c5dc4e9a3fad98ac52dff48eb28ca507a4097105c215c62c08a6befb91ce84186
6
+ metadata.gz: bfae8f513cabcb80d38861092ce3254bc5c2c14319ac74e02660236ec8dae95875e56886bb3c4e22ddab8e736da16a72c7ce01f80cad34c2e5b56acf44d9bd38
7
+ data.tar.gz: de3333a7e70879dbcf0f688c1786eaafdb1293c71c6f00f871eb1536a2ee71f3cc9c17cdfacea2d67be8388de7647d2d7887876cdeae232e2ac086f8302e7d25
data/lib/jekyll-age.rb CHANGED
@@ -3,11 +3,11 @@ module Jekyll
3
3
 
4
4
  def initialize(tag_name, date, tokens)
5
5
  super
6
- @date = validate_date(date)
6
+ @date = RenderAgeTag.validate_date(date)
7
7
  end
8
8
 
9
9
  def render(context)
10
- age = get_age(@date)
10
+ age = RenderAgeTag.get_age(@date)
11
11
  "#{age}"
12
12
  end
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-age
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Kühnel
@@ -14,16 +14,22 @@ dependencies:
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: minitest
29
35
  requirement: !ruby/object:Gem::Requirement