audiojs 0.1.0 → 0.1.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.
@@ -16,12 +16,10 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install audiojs
18
18
 
19
- Put on manifest file (usually, `application.js`):
19
+ Put on your `application.js`:
20
20
 
21
21
  //= require audiojs
22
22
 
23
- You can read more about audio.js on http://kolber.github.com/audiojs/.
24
-
25
23
  ## Contributing
26
24
 
27
25
  1. Fork it
@@ -32,4 +30,5 @@ You can read more about audio.js on http://kolber.github.com/audiojs/.
32
30
 
33
31
  ## Credits
34
32
 
35
- Thanks for [Anthony Kolber](https://github.com/kolber) for creating audio.js.
33
+ Thanks for [Anthony Kolber](https://github.com/kolber) for creating audio.js. You can read more about audio.js on http://kolber.github.com/audiojs/.
34
+
data/Vendorfile CHANGED
@@ -3,8 +3,8 @@ from 'git://github.com/kolber/audiojs.git' do
3
3
  file 'vendor/assets/javascripts/audiojs.swf', 'audiojs/audiojs.swf'
4
4
  file 'vendor/assets/javascripts/audiojs.js.erb', 'audiojs/audio.js' do |path|
5
5
  rewrite(path) do |content|
6
- content.gsub!("imageLocation: path + 'player-graphics.gif'", "imageLocation: <%= asset_path 'audiojs-player-graphics.gif' %>")
7
- content.gsub!("swfLocation: path + 'audiojs.swf'", "swfLocation: <%= asset_path 'audiojs.swf' %>")
6
+ content.gsub!("imageLocation: path + 'player-graphics.gif'", "imageLocation: '<%= asset_path 'audiojs-player-graphics.gif' %>'")
7
+ content.gsub!("swfLocation: path + 'audiojs.swf'", "swfLocation: '<%= asset_path 'audiojs.swf' %>'")
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Audiojs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -34,8 +34,8 @@
34
34
  autoplay: false,
35
35
  loop: false,
36
36
  preload: true,
37
- imageLocation: <%= asset_path 'audiojs-player-graphics.gif' %>,
38
- swfLocation: <%= asset_path 'audiojs.swf' %>,
37
+ imageLocation: '<%= asset_path 'audiojs-player-graphics.gif' %>',
38
+ swfLocation: '<%= asset_path 'audiojs.swf' %>',
39
39
  useFlash: (function() {
40
40
  var a = document.createElement('audio');
41
41
  return !(a.canPlayType && a.canPlayType('audio/mpeg;').replace(/no/, ''));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audiojs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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: 2012-11-17 00:00:00.000000000 Z
12
+ date: 2013-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vendorer
@@ -37,7 +37,7 @@ files:
37
37
  - .gitignore
38
38
  - Gemfile
39
39
  - LICENSE
40
- - README.md
40
+ - README.markdown
41
41
  - Rakefile
42
42
  - Vendorfile
43
43
  - audiojs.gemspec