media-element-logo-plugin 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Media::Element::Logo::Plugin
1
+ MediaElement Logo Plugin
2
2
 
3
- This gem displays a logo on the scrubber bar. Some of the code here is deriveid from [MediaElement.js Plugins](https://github.com/hark/mediaelement-plugins).
3
+ This gem displays a logo on the scrubber bar. Some of the code here is derived from [MediaElement.js Plugins](https://github.com/hark/mediaelement-plugins).
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,8 +18,20 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Add javascript plugin and styling to the page:
22
22
 
23
+ ```
24
+ <%= javascript_include_tag 'me-logo' %>
25
+ <%= stylesheet_link_tag 'me-logo' %>
26
+ ```
27
+
28
+ Add these options to MediaElement:
29
+
30
+ ```
31
+ logoAction: 'popup',
32
+ logoURL: 'http://www.something.com',
33
+ logoTitle: 'View on Something.com'
34
+ ```
23
35
  ## Contributing
24
36
 
25
37
  1. Fork it ( https://github.com/[my-github-username]/media-element-logo-plugin/fork )
@@ -1,3 +1,3 @@
1
1
  module MediaElementLogoPlugin
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'rake'
23
23
  spec.add_development_dependency 'guard-coffeescript'
24
24
 
25
- spec.add_dependency 'rails', '~> 3.2.3'
25
+ spec.add_dependency 'rails', '>= 3.2.3'
26
26
 
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: media-element-logo-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
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-07-18 00:00:00.000000000 Z
12
+ date: 2014-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -64,7 +64,7 @@ dependencies:
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ~>
67
+ - - ! '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: 3.2.3
70
70
  type: :runtime
@@ -72,7 +72,7 @@ dependencies:
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ~>
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: 3.2.3
78
78
  description: The logo on the scrubber bar opens a window or links back to the original