link_preview 0.3.4 → 0.3.5

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: 4f2687ffa5882e0a852c846c99681a3748614626
4
- data.tar.gz: c8a511ad8a941ddc64acdd0b339e53c95ec61374
3
+ metadata.gz: e6c28d348ae8516ccd132b51a38db737606a356a
4
+ data.tar.gz: 5c0c590cfbb76660f1f352f74ad49d7b97987897
5
5
  SHA512:
6
- metadata.gz: a3f9428ee4152e056b1cf4d6891405dc8440d74136515e0fe59c6338096dc6e005bd596f7b898ff88b0c70825dff59fd9741d0b04618d12e1c72e2cc22bc5c08
7
- data.tar.gz: aaa108680389135e4ff5e64c9f4b4fb5f7aaf6c81a12c9cf087220f85c63a7017939a45ad71fa7ce446124a5b207a7dd65bd256670ada20040a32bde218e07fe
6
+ metadata.gz: 9226557197434b54b882f625e0fdebf8bfbcfe8a53a35dce7b4bb05c89cfe6e2197aeeb3ababe08152453aac1cf33e895383e7a652310a05a31693d5d794f503
7
+ data.tar.gz: 29ff9568b137fcf149fa8fd945b311bb40fd4c929760e603f1a91ee67e688792c6cc6013f89b5b33feb3a2c794df36e0d168bfd63e34c480e4439fe7a60b87ce
@@ -348,7 +348,7 @@ module LinkPreview
348
348
  width_attribute = %(width="#{content_width_scaled}") if content_width_scaled > 0
349
349
  height_attribute = %(height="#{content_height_scaled}") if content_height_scaled > 0
350
350
  <<-EOF.strip.gsub(/\s+/, ' ').gsub(/>\s+</, '><')
351
- <iframe src="#{content_url}" #{width_attribute} #{height_attribute} allowfullscreen />
351
+ <iframe src="#{content_url}" #{width_attribute} #{height_attribute} allowfullscreen="true" />
352
352
  EOF
353
353
  end
354
354
 
@@ -19,5 +19,5 @@
19
19
  # SOFTWARE.
20
20
 
21
21
  module LinkPreview
22
- VERSION = '0.3.4'.freeze
22
+ VERSION = '0.3.5'.freeze
23
23
  end
@@ -577,7 +577,7 @@ describe LinkPreview do
577
577
  description: %(In a happy suburban neighborhood surrounded by white picket fences with flowering rose bushes, sits a black house with a dead lawn. Unbeknownst to the neighbors, hidden beneath this home is a vast secret hideout. Surrounded by a small army of minions, we discover Gru planning the biggest heist in the history of the world. He is going to steal the moon, yes, the moon. Gru delights in all things wicked. Armed with his arsenal of shrink rays, freeze rays, and battle-ready vehicles for land and air, he vanquishes all who stand in his way. Until the day he encounters the immense will of three little orphaned girls who look at him and see something that no one else has ever seen: a potential Dad. The world's greatest villain has just met his greatest challenge: three little girls named Margo, Edith and Agnes.),
578
578
  type: 'video',
579
579
  thumbnail_url: 'https://cdnbakmi.kaltura.com/p/1059491/sp/105949100/thumbnail/entry_id/0_w2zsofdj/version/100021/width/400',
580
- html: %(<iframe src="https://cdnapisec.kaltura.com/p/1059491/sp/105949100/embedIframeJs/uiconf_id/16199142/partner_id/1059491?iframeembed=true&playerId=kaltura_player&entry_id=0_w2zsofdj" width="400" height="333" allowfullscreen />),
580
+ html: %(<iframe src="https://cdnapisec.kaltura.com/p/1059491/sp/105949100/embedIframeJs/uiconf_id/16199142/partner_id/1059491?iframeembed=true&playerId=kaltura_player&entry_id=0_w2zsofdj" width="400" height="333" allowfullscreen="true" />),
581
581
  width: 400,
582
582
  height: 333
583
583
  }
@@ -754,7 +754,7 @@ describe LinkPreview do
754
754
  description: %(Kaltura Player: Share plugin demonstrates the ease of which social share can be configured with the kaltura player toolkit.),
755
755
  type: 'video',
756
756
  thumbnail_url: 'http://cdnbakmi.kaltura.com/p/243342/sp/24334200/thumbnail/entry_id/1_sf5ovm7u/version/100003/width/400',
757
- html: %(<iframe src="https://cdnapisec.kaltura.com/p/243342/sp/24334200/embedIframeJs/uiconf_id/28685261/partner_id/243342?iframeembed=true&playerId=kaltura_player&entry_id=1_sf5ovm7u" width="560" height="395" allowfullscreen />),
757
+ html: %(<iframe src="https://cdnapisec.kaltura.com/p/243342/sp/24334200/embedIframeJs/uiconf_id/28685261/partner_id/243342?iframeembed=true&playerId=kaltura_player&entry_id=1_sf5ovm7u" width="560" height="395" allowfullscreen="true" />),
758
758
  width: 560,
759
759
  height: 395
760
760
  }
@@ -986,7 +986,7 @@ describe LinkPreview do
986
986
  description: 'TOUCH this image to discover its story. Image tagging powered by ThingLink',
987
987
  type: 'video',
988
988
  thumbnail_url: 'https://cdn.thinglink.me/api/image/771673473431896065/1024/10/scaletowidth/0/0/1/1/false/true?wait=true',
989
- html: %(<iframe src="https://www.thinglink.com/card/771673473431896065?on=fb" width="1024" height="677" allowfullscreen />),
989
+ html: %(<iframe src="https://www.thinglink.com/card/771673473431896065?on=fb" width="1024" height="677" allowfullscreen="true" />),
990
990
  width: 1024,
991
991
  height: 677
992
992
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: link_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Andrews