jekyll-bits 0.7 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jekyll-bits.gemspec +1 -1
- data/lib/jekyll-bits/picture.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36015cbd391f9c48e69895f3b1a90ca7da5d0b7e
|
4
|
+
data.tar.gz: f778786cac4e8a8db6dd75c0431f4656c93adaca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0a99a31e2ddc46b5dae9f807d5894b48dc4f09679fe7d5354acb0a67f1e7c38a349213b07ffd19fe35646fffa1addefdeb42e4aaa29cd9bf341e0983605b309
|
7
|
+
data.tar.gz: 89bf7a6b8f0a965a6dc4f4e9f932743c62523f0ddd46067c73bd930d21f4a99083b88456cc1332a5fdb0a8c0f2c8fb59d22e3c4c64e1a59373cd42dcbaa8b9de
|
data/jekyll-bits.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.rubygems_version = '2.2.2'
|
9
9
|
s.required_ruby_version = '>= 1.9.3'
|
10
10
|
s.name = 'jekyll-bits'
|
11
|
-
s.version = '0.
|
11
|
+
s.version = '0.8'
|
12
12
|
s.license = 'MIT'
|
13
13
|
s.summary = 'Jekyll Bits'
|
14
14
|
s.description = 'Useful and very simple Jekyll plugins'
|
data/lib/jekyll-bits/picture.rb
CHANGED
@@ -32,7 +32,8 @@ module Jekyll
|
|
32
32
|
def jb_picture_head(page)
|
33
33
|
uri = uri(page)
|
34
34
|
return '' if uri.empty?
|
35
|
-
"<meta
|
35
|
+
"<meta name='og:image' content='#{CGI.escapeElement(uri)}'/>\
|
36
|
+
<meta name='twitter:image' content='#{CGI.escapeElement(uri)}'/>"
|
36
37
|
end
|
37
38
|
|
38
39
|
def jb_picture_body(page)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|