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.
@@ -1,6 +1,7 @@
1
1
  # Jukebox::Rails
2
2
 
3
- TODO: Write a gem description
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
- TODO: Write usage instructions here
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
@@ -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{Zynga's Jukebox: Sophisticated audio playback for the web.}
8
- gem.summary = %q{The Jukebox is a component for playing sounds and music with the usage of sprites with a special focus on performance and cross-device deployment.}
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,5 +1,5 @@
1
1
  module Jukebox
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -1,2 +1,2 @@
1
- // = require Player
2
- // = require Manager
1
+ // = require jukebox/Player
2
+ // = require jukebox/Manager
@@ -95,7 +95,7 @@ jukebox.Player.prototype = {
95
95
  resources: [],
96
96
  autoplay: false,
97
97
  spritemap: {},
98
- flashMediaElement: '<%= asset_path 'FlashMediaElement.swf' %>',
98
+ flashMediaElement: '<%= asset_path 'jukebox/FlashMediaElement.swf' %>',
99
99
  timeout: 1000
100
100
  },
101
101
 
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.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: 2012-09-19 00:00:00.000000000 Z
13
- dependencies: []
14
- description: ! 'Zynga''s Jukebox: Sophisticated audio playback for the web.'
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.md
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: The Jukebox is a component for playing sounds and music with the usage of
57
- sprites with a special focus on performance and cross-device deployment.
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: