aweplug 1.0.0.a20 → 1.0.0.a21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,20 +16,20 @@ module Aweplug
16
16
  #
17
17
  def vimeo(url)
18
18
  video = Video.new(url, access_token, site)
19
- out = %Q[<div class="embedded-media">] +
20
- %Q[<h4>#{video.title}</h4>] +
21
- %Q[<iframe src="//player.vimeo.com/video/#{video.id}\?title=0&byline=0&portrait=0&badge=0&color=2664A2" width="500" height="313" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen}></iframe>]
22
- video.cast.each do |c|
23
- out += %Q[<div class="follow-links">] +
24
- %Q[<span class="title">Follow #{first_name(c.realname)}</span>] +
25
- # TODO add in follow links
26
- %Q[<a><i class="icon-rss"></i></a>] +
27
- %Q[<a><i class="icon-facebook"></i></a>] +
28
- %Q[<a><i class="icon-twitter"></i></a>] +
29
- %Q[<a><i class="icon-linkedin"></i></a>] +
30
- %Q[</div>]
31
- end
32
- out + %Q[</div>]
19
+ #out = %Q[<div class="embedded-media">] +
20
+ %Q[<h4>#{video.title}</h4><div class="flex-video widescreen vimeo">] +
21
+ %Q[<iframe src="//player.vimeo.com/video/#{video.id}\?title=0&byline=0&portrait=0&badge=0&color=2664A2" width="500" height="313" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen}></iframe>] +
22
+ %Q[</div>]
23
+ #video.cast.each do |c|
24
+ #out += %Q[<div class="follow-links">] +
25
+ #%Q[<span class="title">Follow #{first_name(c.realname)}</span>] +
26
+ ## TODO add in follow links
27
+ #%Q[<a><i class="icon-rss"></i></a>] +
28
+ #%Q[<a><i class="icon-facebook"></i></a>] +
29
+ #%Q[<a><i class="icon-twitter"></i></a>] +
30
+ #%Q[<a><i class="icon-linkedin"></i></a>] +
31
+ #%Q[</div>]
32
+ #end
33
33
  end
34
34
 
35
35
  # Public: Embeds a vimeo video thumbnail into a web page. Retrieves the title
@@ -1,4 +1,4 @@
1
1
  module Aweplug
2
- VERSION='1.0.0.a20'
2
+ VERSION='1.0.0.a21'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aweplug
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.a20
4
+ version: 1.0.0.a21
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-11 00:00:00.000000000 Z
12
+ date: 2014-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: octokit
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  segments:
193
193
  - 0
194
- hash: -510162813179367465
194
+ hash: 2565258213881195966
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  none: false
197
197
  requirements: