swf_fu 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,10 +6,14 @@ With the +swf_fu+ plugin, rails treats your swf files like any other asset (imag
6
6
  SWFObject 2 is such a nice library that Adobe now uses it as the official way to embed swf!
7
7
  SWFObject's project can be found at http://code.google.com/p/swfobject
8
8
 
9
- Version 2 of +swf_fu+ is an engine for Rails 3.1+ and Ruby 1.8.7+. Use version 1.x for previous versions of Rails.
10
-
11
9
  Comments and pull requests welcome: http://github.com/marcandre/swf_fu
12
10
 
11
+ == Compatibility
12
+
13
+ Version 2 of +swf_fu+ is an engine for Rails 3.1+ and Ruby 1.8.7+.
14
+
15
+ Version 1.x was a plugin for previous versions of Rails and should not be used with Rails 3.1+. If you are upgrading to Rails 3.1, remove the plugin!
16
+
13
17
  == Install
14
18
 
15
19
  Add to your +Gemfile+:
@@ -104,8 +104,8 @@ module SwfFu
104
104
  @options[:html_options] = @options[:html_options].merge(:id => @options[:id])
105
105
  @options[:parameters] = @options[:parameters].dup # don't modify the original parameters
106
106
  args = convert_to_escaped_arguments(@source,
107
- *@options.values_at(:div_id,:width,:height,:flash_version).map(&:to_s),
108
- *@options.values_at(:auto_install,:flashvars,:parameters,:html_options)
107
+ *(@options.values_at(:div_id,:width,:height,:flash_version).map(&:to_s) +
108
+ @options.values_at(:auto_install,:flashvars,:parameters,:html_options))
109
109
  )
110
110
 
111
111
  preambule = @options[:switch_off_auto_hide_show] ? "swfobject.switchOffAutoHideShow();" : ""
@@ -1,3 +1,3 @@
1
1
  module SwfFu
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
3
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
4
 
5
5
  # Use the database for sessions instead of the cookie-based default,
6
6
  # which shouldn't be used to store highly confidential information
@@ -5,7 +5,7 @@
5
5
 
6
6
  # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
7
  ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
8
+ wrap_parameters :format => [:json]
9
9
  end
10
10
 
11
11
  # Disable root element in JSON by default.
@@ -1000,3 +1000,67 @@
1000
1000
   (0.0ms) rollback transaction
1001
1001
   (0.0ms) begin transaction
1002
1002
   (0.0ms) rollback transaction
1003
+  (0.1ms) begin transaction
1004
+  (0.1ms) rollback transaction
1005
+  (0.0ms) begin transaction
1006
+  (0.1ms) rollback transaction
1007
+  (0.0ms) begin transaction
1008
+  (0.0ms) rollback transaction
1009
+  (0.0ms) begin transaction
1010
+  (0.0ms) rollback transaction
1011
+  (0.0ms) begin transaction
1012
+  (0.0ms) rollback transaction
1013
+  (0.0ms) begin transaction
1014
+  (0.0ms) rollback transaction
1015
+  (0.0ms) begin transaction
1016
+  (0.0ms) rollback transaction
1017
+  (0.0ms) begin transaction
1018
+  (0.0ms) rollback transaction
1019
+  (0.0ms) begin transaction
1020
+  (0.0ms) rollback transaction
1021
+  (0.0ms) begin transaction
1022
+  (0.0ms) rollback transaction
1023
+  (0.0ms) begin transaction
1024
+  (0.0ms) rollback transaction
1025
+  (0.0ms) begin transaction
1026
+  (0.1ms) rollback transaction
1027
+  (0.0ms) begin transaction
1028
+  (0.0ms) rollback transaction
1029
+  (0.0ms) begin transaction
1030
+  (0.0ms) rollback transaction
1031
+  (0.0ms) begin transaction
1032
+  (0.0ms) rollback transaction
1033
+  (0.0ms) begin transaction
1034
+  (0.0ms) rollback transaction
1035
+  (0.3ms) begin transaction
1036
+  (0.1ms) rollback transaction
1037
+  (0.0ms) begin transaction
1038
+  (0.0ms) rollback transaction
1039
+  (0.0ms) begin transaction
1040
+  (0.0ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+  (0.0ms) rollback transaction
1043
+  (0.1ms) begin transaction
1044
+  (0.0ms) rollback transaction
1045
+  (0.0ms) begin transaction
1046
+  (0.0ms) rollback transaction
1047
+  (0.0ms) begin transaction
1048
+  (0.0ms) rollback transaction
1049
+  (0.0ms) begin transaction
1050
+  (0.0ms) rollback transaction
1051
+  (0.0ms) begin transaction
1052
+  (0.0ms) rollback transaction
1053
+  (0.0ms) begin transaction
1054
+  (0.0ms) rollback transaction
1055
+  (0.0ms) begin transaction
1056
+  (0.0ms) rollback transaction
1057
+  (0.0ms) begin transaction
1058
+  (0.0ms) rollback transaction
1059
+  (0.0ms) begin transaction
1060
+  (0.0ms) rollback transaction
1061
+  (0.0ms) begin transaction
1062
+  (0.0ms) rollback transaction
1063
+  (0.0ms) begin transaction
1064
+  (0.0ms) rollback transaction
1065
+  (0.0ms) begin transaction
1066
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swf_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.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-03-21 00:00:00.000000000 Z
12
+ date: 2012-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails