jekyll-antex 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: c18fa604bcdf75a51a38c13dc72142f07e5e248d
4
- data.tar.gz: 5c2a7c85140c19873b0b8c0771ae60ed85a8d09b
3
+ metadata.gz: 553f4c0d44882189f00df7ae6fb95e0827704911
4
+ data.tar.gz: 8d0cffbad462c99b0a4ad4f7584fab40447d3c8a
5
5
  SHA512:
6
- metadata.gz: 70363f3c0e06400853833bbfdaadef1c7d1bdce476a7680bb526c3d36db85e0983eaeb941d4207373af6c4e151f89c0d138cc078111dfa1866d6327aa1cc5cde
7
- data.tar.gz: '018cbc3925d704086a9852600f60b8cce0a6ba375065d133aefb51c0a41ae0a6d8e6fa8a5c582a0853fa74c3d2e91f862d46922b42a07bef518770b17d2accb8'
6
+ metadata.gz: 69f518f1a6cfc6fefc5116c78bd648bd7ae2c225f758a7907723f94814e23a616464e220c68610eed5fbe985641b1c25b6dcf854bd5c1f3548df3581e3026f14
7
+ data.tar.gz: 14522ee88531da366891a6a3386f6eb0435f5415ed5ecbe5ada60496b4cb4c8a9a234ac8371553b044340b46158eb54c9edfd4e5f00e8ccba58074088900a446
@@ -27,7 +27,7 @@ module Jekyll
27
27
 
28
28
  def render_html(job)
29
29
  _, dir, name = static_file_paths job
30
- img_tag = render_img_tag src: File.join(dir, name),
30
+ img_tag = render_img_tag src: File.join('', dir, name),
31
31
  set_box: job.set_box
32
32
  classes = job.options['classes'].join(' ')
33
33
  "<span class='#{classes}'>#{img_tag}</span>"
@@ -14,7 +14,8 @@ module Jekyll
14
14
  dealias_resource_content! site: site, resource: page
15
15
  end
16
16
 
17
- site.posts.each do |post|
17
+ # NOTE: jekyll deprecated direct access to site.posts.each
18
+ site.posts.docs.each do |post|
18
19
  dealias_resource_content! site: site, resource: post
19
20
  end
20
21
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Antex
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-antex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Brasolin