soundmanager-rails 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,6 +6,10 @@ This is the original [SoundManager2](http://www.schillmania.com/projects/soundma
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
+ gem 'soundmanager-rails'
10
+
11
+ Or use bleeding edge code from Github:
12
+
9
13
  gem 'soundmanager-rails', :git => 'git://github.com/glaszig/soundmanager-rails.git'
10
14
 
11
15
  And then execute:
@@ -18,7 +22,7 @@ Add this to your Sprockets manifest:
18
22
 
19
23
  //= require soundmanager
20
24
 
21
- > This asset will load `soundmanager2.js`, `soundmanager2-nodebug.js` or `soundmanager2-nodebug-jsmin.js` in case of your `Rails.env` being set to `development`, `test` or `<anything>`, respectively.
25
+ > This asset will load `soundmanager2.js` or `soundmanager2-nodebug.js` in case of your `Rails.env` being set to `development` or `<anything>`, respectively.
22
26
  > Additionally, `window.soundManager.url` will be set to the proper asset url to load fallback swf files.
23
27
 
24
28
  and you're good to go.
@@ -1,10 +1,8 @@
1
1
  <%= case Soundmanager.env
2
2
  when 'development'
3
3
  File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2.js', __FILE__)).read
4
- when 'test'
5
- File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2-nodebug.js', __FILE__)).read
6
4
  else
7
- File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2-nodebug-jsmin.js', __FILE__)).read
5
+ File.open(File.expand_path('../../../../vendor/assets/javascripts/soundmanager2-nodebug.js', __FILE__)).read
8
6
  end %>
9
7
 
10
8
  //
@@ -1,5 +1,5 @@
1
1
  module Soundmanager
2
2
  module Rails
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soundmanager-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
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-05-04 00:00:00.000000000 Z
12
+ date: 2012-06-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: SoundManager2 JavaScript Library for Rails >= 3.1
15
15
  email:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 1.8.21
59
+ rubygems_version: 1.8.24
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Wraps SoundManager2 by Scott Schiller in a gem for use with Ruby on Rails