jukebox-rails 1.0.0 → 1.0.1
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.
- data/{README.md → README.markdown} +9 -2
- data/Vendorfile +7 -0
- data/jukebox-rails.gemspec +5 -2
- data/lib/jukebox-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jukebox.js +2 -2
- data/vendor/assets/javascripts/{FlashMediaElement.swf → jukebox/FlashMediaElement.swf} +0 -0
- data/vendor/assets/javascripts/{Manager.js → jukebox/Manager.js} +0 -0
- data/vendor/assets/javascripts/{Player.js.erb → jukebox/Player.js.erb} +1 -1
- metadata +28 -10
@@ -1,6 +1,7 @@
|
|
1
1
|
# Jukebox::Rails
|
2
2
|
|
3
|
-
|
3
|
+
Zynga Jukebox is a component to handle the playback of music and sound effects across multiple web browsers and operating systems.
|
4
|
+
It is designed for ultra-low performance environments, such as mobiles - and is even able to deliver Android 1.6+ via Flash fallback.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
@@ -18,7 +19,9 @@ Or install it yourself as:
|
|
18
19
|
|
19
20
|
## Usage
|
20
21
|
|
21
|
-
|
22
|
+
Add to your `application.js` file:
|
23
|
+
|
24
|
+
//= require jukebox
|
22
25
|
|
23
26
|
## Contributing
|
24
27
|
|
@@ -27,3 +30,7 @@ TODO: Write usage instructions here
|
|
27
30
|
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
31
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
32
|
5. Create new Pull Request
|
33
|
+
|
34
|
+
## Credits
|
35
|
+
|
36
|
+
Read more about Zynga Jukebox on http://zynga.github.com/jukebox/
|
data/Vendorfile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
file 'vendor/assets/javascripts/jukebox/FlashMediaElement.swf', 'https://github.com/zynga/jukebox/raw/master/demo/swf/FlashMediaElement.swf'
|
2
|
+
file 'vendor/assets/javascripts/jukebox/Manager.js', 'https://github.com/zynga/jukebox/raw/master/src/Manager.js'
|
3
|
+
file 'vendor/assets/javascripts/jukebox/Player.js.erb', 'https://github.com/zynga/jukebox/raw/master/src/Player.js' do |path|
|
4
|
+
rewrite(path) do |content|
|
5
|
+
content.gsub!("'./swf/FlashMediaElement.swf'", "'<%= asset_path 'jukebox/FlashMediaElement.swf' %>'")
|
6
|
+
end
|
7
|
+
end
|
data/jukebox-rails.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/jukebox-rails/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Alif Rachmawadi"]
|
6
6
|
gem.email = ["subosito@gmail.com"]
|
7
|
-
gem.description = %q{
|
8
|
-
gem.summary = %q{
|
7
|
+
gem.description = %q{Jukebox is a component to handle the playback of music and sound effects across multiple web browsers and operating systems.}
|
8
|
+
gem.summary = %q{Jukebox is designed for ultra-low performance environments, such as mobiles - and is even able to deliver Android 1.6+ via Flash fallback.}
|
9
9
|
gem.homepage = "https://github.com/subosito/jukebox-rails"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
@@ -14,4 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.name = "jukebox-rails"
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Jukebox::Rails::VERSION
|
17
|
+
|
18
|
+
# dependencies
|
19
|
+
gem.add_development_dependency('vendorer')
|
17
20
|
end
|
@@ -1,2 +1,2 @@
|
|
1
|
-
// = require Player
|
2
|
-
// = require Manager
|
1
|
+
// = require jukebox/Player
|
2
|
+
// = require jukebox/Manager
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jukebox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,9 +9,26 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
dependencies:
|
14
|
-
|
12
|
+
date: 2013-01-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: vendorer
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
description: Jukebox is a component to handle the playback of music and sound effects
|
31
|
+
across multiple web browsers and operating systems.
|
15
32
|
email:
|
16
33
|
- subosito@gmail.com
|
17
34
|
executables: []
|
@@ -21,15 +38,16 @@ files:
|
|
21
38
|
- .gitignore
|
22
39
|
- Gemfile
|
23
40
|
- LICENSE
|
24
|
-
- README.
|
41
|
+
- README.markdown
|
25
42
|
- Rakefile
|
43
|
+
- Vendorfile
|
26
44
|
- jukebox-rails.gemspec
|
27
45
|
- lib/jukebox-rails.rb
|
28
46
|
- lib/jukebox-rails/version.rb
|
29
|
-
- vendor/assets/javascripts/FlashMediaElement.swf
|
30
|
-
- vendor/assets/javascripts/Manager.js
|
31
|
-
- vendor/assets/javascripts/Player.js.erb
|
32
47
|
- vendor/assets/javascripts/jukebox.js
|
48
|
+
- vendor/assets/javascripts/jukebox/FlashMediaElement.swf
|
49
|
+
- vendor/assets/javascripts/jukebox/Manager.js
|
50
|
+
- vendor/assets/javascripts/jukebox/Player.js.erb
|
33
51
|
homepage: https://github.com/subosito/jukebox-rails
|
34
52
|
licenses: []
|
35
53
|
post_install_message:
|
@@ -53,7 +71,7 @@ rubyforge_project:
|
|
53
71
|
rubygems_version: 1.8.23
|
54
72
|
signing_key:
|
55
73
|
specification_version: 3
|
56
|
-
summary:
|
57
|
-
|
74
|
+
summary: Jukebox is designed for ultra-low performance environments, such as mobiles
|
75
|
+
- and is even able to deliver Android 1.6+ via Flash fallback.
|
58
76
|
test_files: []
|
59
77
|
has_rdoc:
|