jw_player_rails 0.1.1 → 0.1.2
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5492fcfa06813d7ed6670972a341ef740622cbd0
|
|
4
|
+
data.tar.gz: 2f93093a7461225f8482f095deaca71d0f0c4d1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dae2da323829f388b530fd973427ff7c598723466bacefb4c2315e5bc5111343718577b1b969f1b1fbe2372778d1fdf73db62aa392800822d1fa5948732c9eb1
|
|
7
|
+
data.tar.gz: 0a8a4c7157ed6e77404febbd6f32fcf17f151aaef2d288dfa36bc2b227fbc4db18168819686483ccd73801b92b0eeb4da7faa8996e6e1f2f39af181ce9c77086
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# require 'railties'
|
|
2
1
|
require 'rails'
|
|
3
2
|
|
|
4
3
|
module JwPlayerRails
|
|
5
4
|
class Engine < ::Rails::Engine
|
|
6
5
|
initializer "precompile", :group => :all do |app|
|
|
7
|
-
app.config.assets.precompile << "
|
|
6
|
+
app.config.assets.precompile << "jwplayer_7.3.4.js"
|
|
7
|
+
app.config.assets.precompile << "flash_7.3.4.swf"
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
initializer "helper" do |app|
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
module JwPlayerRails
|
|
2
2
|
module Helper
|
|
3
3
|
DEFAULT_OPTIONS = {
|
|
4
|
-
id:
|
|
5
|
-
flashplayer:
|
|
6
|
-
width: '400',
|
|
7
|
-
height: '300'
|
|
4
|
+
id: "jwplayer6",
|
|
5
|
+
flashplayer: "/assets/flash_7.3.4.swf"
|
|
8
6
|
}
|
|
9
7
|
|
|
10
8
|
# Includes JWPlayer javascript library
|
|
11
9
|
def jwplayer_assets
|
|
12
|
-
javascript_include_tag "
|
|
10
|
+
javascript_include_tag "jwplayer_7.3.4"
|
|
13
11
|
end
|
|
14
12
|
|
|
15
13
|
def jwplayer(options = {})
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jw_player_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Atinder Singh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-03-
|
|
11
|
+
date: 2016-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -68,8 +68,8 @@ files:
|
|
|
68
68
|
- LICENSE.txt
|
|
69
69
|
- README.md
|
|
70
70
|
- Rakefile
|
|
71
|
-
- app/assets/javascript/
|
|
72
|
-
- app/assets/swf/
|
|
71
|
+
- app/assets/javascript/jwplayer_7.3.4.js
|
|
72
|
+
- app/assets/swf/flash_7.3.4.swf
|
|
73
73
|
- bin/console
|
|
74
74
|
- bin/setup
|
|
75
75
|
- jw_player_rails.gemspec
|