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
|
-
|
108
|
-
|
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();" : ""
|
data/lib/swf_fu/version.rb
CHANGED
@@ -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
|
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
|
8
|
+
wrap_parameters :format => [:json]
|
9
9
|
end
|
10
10
|
|
11
11
|
# Disable root element in JSON by default.
|
data/test/dummy/log/test.log
CHANGED
@@ -1000,3 +1000,67 @@
|
|
1000
1000
|
[1m[35m (0.0ms)[0m rollback transaction
|
1001
1001
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1002
1002
|
[1m[35m (0.0ms)[0m rollback transaction
|
1003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1004
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1006
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1010
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1014
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1016
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1018
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1020
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1022
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1023
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1024
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1028
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1030
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1034
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1035
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1036
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1041
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1042
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1044
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1046
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1050
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1052
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1054
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1058
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1060
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1066
|
+
[1m[35m (0.0ms)[0m 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.
|
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-
|
12
|
+
date: 2012-03-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|