jekyll-bits 0.12 → 0.13
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 +1 -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: '080d052dc01a1779061444c19bf76e9cf898e0d6'
|
4
|
+
data.tar.gz: c87d46d7082537d79df4c10fb0e27f18f2541fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8251889a392d2e9053cdd9e8878a0d6ce3e9e467b687199cfe2ee7a0edc023df2f8c954f09f26603ed6f92c999beaec79a503e7c5523663278c215bd2d24f64
|
7
|
+
data.tar.gz: 24cdd0c677b6261b61e3f265b081f534658bf8d67f2b5744ce76fb9cbefa84887aabb7e757acf991fd91925fe21f1f9840d15ca2a0fa73fdcf36058508ac8020
|
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.13'
|
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
@@ -48,7 +48,7 @@ module Jekyll
|
|
48
48
|
html += "<meta name='og:image:height' content='#{height}'/>
|
49
49
|
<meta name='twitter:image:height' content='#{height}'/>"
|
50
50
|
end
|
51
|
-
if width && width >=
|
51
|
+
if width && width >= 640 && height && height >= 480
|
52
52
|
html += "<meta name='twitter:card' content='summary_large_image'/>"
|
53
53
|
else
|
54
54
|
html += "<meta name='twitter:card' content='summary'/>"
|
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.13'
|
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-03-
|
11
|
+
date: 2017-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|