showcase 0.2.0.rc.2 → 0.2.0.rc.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
  SHA1:
3
- metadata.gz: d045d35912671d61f329fbbc99a33c8719be1d67
4
- data.tar.gz: 3e87e1350896a6c47497eeb5464dcc615fa4bef2
3
+ metadata.gz: 07623d8209466223ba0fe77ed697c570d44297b6
4
+ data.tar.gz: fe4e0c8596aa7224abbd3263ebee03b403b60bbd
5
5
  SHA512:
6
- metadata.gz: 79322eac5976fc488d3fe17b8486718803ec76f82dd8d50c01082edb0511f226348570bb19fd05af5ff082a926e07905b78bf75c5c08de3f5d40be7029db8722
7
- data.tar.gz: 92d0d51ae4a32fe4dd7516de9106df2a65a82799097ea877aaafb340d64eb508ae232fbd9b39a1e9935086afa797ff40489b780cad571056cd5a183539ea1ece
6
+ metadata.gz: b9306cd9390ec58281aba58230281d898f2cbdda548a1b17272cdb3d0de904b07c2ab13e3533bcae904eabd850b8776597b8c04970e9521c83e9921a2ffa708d
7
+ data.tar.gz: 9c2859b89fa7f649d7957ef8394d23b0171a53c0383f2b8404eea83c72117b76e9f58a26acfb7f5783074779d1cb815cde9ffb41f7ead0ee42a3af6606fa75f0
@@ -41,7 +41,9 @@ module Showcase
41
41
 
42
42
  def video_size(size, options = {})
43
43
  seo_meta_tags('twitter:player:width', size.first) <<
44
- seo_meta_tags('twitter:player:height', size.last)
44
+ seo_meta_tags('twitter:player:height', size.last) <<
45
+ seo_meta_tags('og:video:width', size.first) <<
46
+ seo_meta_tags('og:video:height', size.last)
45
47
  end
46
48
 
47
49
  def site_name(name, options = {})
@@ -1,4 +1,4 @@
1
1
  module Showcase
2
- VERSION = "0.2.0.rc.2"
2
+ VERSION = "0.2.0.rc.3"
3
3
  end
4
4
 
@@ -140,6 +140,12 @@ module Showcase::Helpers
140
140
  expect(result).to have_tag(:meta, with: { name: 'twitter:player:width', content: '10' })
141
141
  expect(result).to have_tag(:meta, with: { name: 'twitter:player:height', content: '20' })
142
142
  end
143
+
144
+ it 'produces og:video meta tags' do
145
+ result = subject.video_size([10, 20])
146
+ expect(result).to have_tag(:meta, with: { property: 'og:video:width', content: '10' })
147
+ expect(result).to have_tag(:meta, with: { property: 'og:video:height', content: '20' })
148
+ end
143
149
  end
144
150
  end
145
151
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.rc.2
4
+ version: 0.2.0.rc.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-28 00:00:00.000000000 Z
11
+ date: 2013-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport