jekyll-embed-urls 0.5.12 → 0.5.13

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/embed.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2a73f6c1244a844aca4001906bb6f246f7561c6c322f4305a0cdf58b714a54d
4
- data.tar.gz: 9a5644e4762cdb878f061ff96e0974cfdf76eceb40d73d010599154c5b19a527
3
+ metadata.gz: f9d655501c8c248453c0a86f56c3f57f5c116c443759acb8fd65c36491b80cfb
4
+ data.tar.gz: a76403395f3f25de91b2313ae50f5e63f752811591c1ed57494209cde1759f67
5
5
  SHA512:
6
- metadata.gz: ffae3ac265602187cbe8162c42a6c230939aaa51b9ffdf5d78f95cf7825ab1c2a97186dfdd4b1a39312060de81a82a1a632decf9dca5e946fbc255467c175221
7
- data.tar.gz: 49d90cd9b14a7d0e526c99ab6e42083e52295a5a4b385eb990dd873d9f8269f093ce877f47e75e9662d060a29ede68fff7cbef67b8ba86a47f7315fbd749d178
6
+ metadata.gz: 400c69c71f1c7ea2f728a57455db734d713fe84d84808971305c7821c584ff8c4d92231f0de9f4d64372863fd8cf3850d97dbb9a70edb3e3005c51bd9d51f5dd
7
+ data.tar.gz: dd2c8923bcc5a6a5410c1c4587fac15c6bb29acab5df3a2e583acdfa1ec675257eef9b0dfbd22621ff5748e3fefeff46e95d5217ba9b453ab41f395234ec6bc2
data/lib/jekyll/embed.rb CHANGED
@@ -212,7 +212,7 @@ module Jekyll
212
212
 
213
213
  %w[image video audio].each do |attr|
214
214
  page[attr] = ogp.public_send(:"#{attr}s").find do |a|
215
- http? a.url
215
+ a && a.url && http?(a.url)
216
216
  end&.url
217
217
  end
218
218
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-embed-urls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.12
4
+ version: 0.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - f