jekyll-og-image 1.0.2 → 1.0.3

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: 4abcfee52f43ab5b0a56cbfb1386797c89f183ce031f610ae80c15d9fdb4152a
4
- data.tar.gz: 862a6a8209e19993e5f13c9da57a7d2896a695823b8007628a28741f212796cb
3
+ metadata.gz: e885b900b05e7a8b46a221a0850e682815081837e102044dfa02141d5c86b41c
4
+ data.tar.gz: 7665d1a4ce49f9a422d1823513f1c6a5cc4a0bbb7e532904288ad3777e95129d
5
5
  SHA512:
6
- metadata.gz: 9867e3036591d613972c9fd86aa078aa29b79f938c63d089b017c44cce8e8c0d881852e6456bc93c19e770170eec6b535ac807f5957e55bf57c0512dbebb7554
7
- data.tar.gz: 691710ca4af48c7a032f37adc1a743fff47d943c1131ffd574832d7ffc48e1c46058bd2149cbadb16735a52cb3575f2d2b42af643fa60e7ab7f8cbc84f1c6546
6
+ metadata.gz: abf1c34206e4f72af335710c9c2d3178039057208b8a123d640e2a270bb48e19c1a205c8ce41e18a0bc2b5d58b2c8bc33a37a5052d706d44d9b6035548a0e62e
7
+ data.tar.gz: e08fb4973bacb416395934631f63b8d4e293fa73d6e7a360b1126d4403851e73084aa6443ab979b1070a090faebb4919a27d2d61c0461fd156f3e82a28a5179f
@@ -15,9 +15,10 @@ class JekyllOgImage::Generator < Jekyll::Generator
15
15
  path = File.join(site.config["source"], base_path, "#{post.data['slug']}.png")
16
16
 
17
17
  if !File.exist?(path) || JekyllOgImage.config.force?
18
+ Jekyll.logger.info "Jekyll Og Image:", "Generating image #{path}"
18
19
  generate_image_for_post(site, post, path)
19
20
  else
20
- Jekyll.logger.info "Jekyll Og Image:", "Skipping image generation for #{post.data['title']} as it already exists."
21
+ Jekyll.logger.info "Jekyll Og Image:", "Skipping image generation #{path} as it already exists."
21
22
  end
22
23
 
23
24
  post.data["image"] ||= {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllOgImage
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
@@ -25,6 +25,4 @@ end
25
25
 
26
26
  Jekyll::Hooks.register(:site, :after_init) do |site|
27
27
  JekyllOgImage.config = JekyllOgImage::Config.new(site.config["og_image"])
28
-
29
- site.config["exclude"] << JekyllOgImage.config.output_dir
30
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-og-image
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Alexandrov