concerto_remote_video 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ConcertoRemoteVideo
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require 'rails/generators'
2
2
 
3
3
  module ConcertoRemoteVideo
4
- class InstallGenerator < Rails::Generators::NamedBase
4
+ class InstallGenerator < Rails::Generators::Base
5
5
  source_root File.expand_path('../../../../', __FILE__)
6
6
 
7
7
  desc 'Copy the RemoteVideo JavaScript to the frontend and register it.'
@@ -69,6 +69,7 @@ concerto.frontend.Content.RemoteVideo.prototype.load_ = function() {
69
69
  this.iframe.src = this.video_url;
70
70
  this.iframe.frameborder = 0;
71
71
  goog.style.setSize(this.iframe, '100%', '100%');
72
+ goog.style.setSize(this.div_, '100%', '100%');
72
73
  goog.style.setStyle(this.iframe, 'border', 0);
73
74
  goog.dom.appendChild(this.div_, this.iframe);
74
75
  this.finishLoad();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_remote_video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-01 00:00:00.000000000 -08:00
12
+ date: 2013-04-08 00:00:00.000000000 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70273927858100 !ruby/object:Gem::Requirement
17
+ requirement: &70122145172500 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '3.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70273927858100
25
+ version_requirements: *70122145172500
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sqlite3
28
- requirement: &70273927857520 !ruby/object:Gem::Requirement
28
+ requirement: &70122145170660 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70273927857520
36
+ version_requirements: *70122145170660
37
37
  description: Adds support for remotely hosted videos, like YouTube, in Concerto 2
38
38
  email:
39
39
  - bmichalski@gmail.com