actionpack 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- data/CHANGELOG +38 -0
- data/README +1 -1
- data/lib/action_controller/auto_complete.rb +2 -2
- data/lib/action_controller/base.rb +21 -13
- data/lib/action_controller/cgi_process.rb +16 -23
- data/lib/action_controller/routing.rb +17 -9
- data/lib/action_controller/session/active_record_store.rb +4 -4
- data/lib/action_controller/test_process.rb +37 -1
- data/lib/action_view.rb +2 -8
- data/lib/action_view/helpers/javascript_helper.rb +20 -12
- data/lib/action_view/helpers/javascripts/controls.js +254 -69
- data/lib/action_view/helpers/javascripts/dragdrop.js +131 -70
- data/lib/action_view/helpers/javascripts/effects.js +140 -98
- data/lib/action_view/helpers/javascripts/prototype.js +50 -39
- data/lib/action_view/helpers/tag_helper.rb +3 -2
- data/lib/action_view/helpers/text_helper.rb +1 -1
- data/lib/action_view/helpers/url_helper.rb +1 -1
- data/rakefile +2 -2
- data/test/controller/active_record_store_test.rb +9 -3
- data/test/controller/filters_test.rb +21 -0
- data/test/controller/new_render_test.rb +27 -0
- data/test/controller/routing_test.rb +70 -1
- data/test/controller/test_test.rb +37 -3
- data/test/template/form_helper_test.rb +3 -3
- data/test/template/form_tag_helper_test.rb +2 -2
- data/test/template/{javascript_helper.rb → javascript_helper_test.rb} +24 -20
- data/test/template/tag_helper_test.rb +8 -0
- metadata +4 -4
@@ -16,6 +16,14 @@ class TagHelperTest < Test::Unit::TestCase
|
|
16
16
|
assert_equal "<p class=\"elsewhere\" />", tag("p", "class" => "show", :class => "elsewhere")
|
17
17
|
end
|
18
18
|
|
19
|
+
def test_tag_options_rejects_nil_option
|
20
|
+
assert_equal "<p />", tag("p", :ignored => nil)
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_tag_options_accepts_blank_option
|
24
|
+
assert_equal "<p included=\"\" />", tag("p", :included => '')
|
25
|
+
end
|
26
|
+
|
19
27
|
def test_content_tag
|
20
28
|
assert_equal "<a href=\"create\">Create</a>", content_tag("a", "Create", "href" => "create")
|
21
29
|
assert_equal content_tag("a", "Create", "href" => "create"),
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
|
|
3
3
|
specification_version: 1
|
4
4
|
name: actionpack
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.9.
|
7
|
-
date: 2005-07-
|
6
|
+
version: 1.9.1
|
7
|
+
date: 2005-07-11
|
8
8
|
summary: Web-flow and rendering framework putting the VC in MVC.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -196,7 +196,7 @@ files:
|
|
196
196
|
- test/template/form_helper_test.rb
|
197
197
|
- test/template/form_options_helper_test.rb
|
198
198
|
- test/template/form_tag_helper_test.rb
|
199
|
-
- test/template/
|
199
|
+
- test/template/javascript_helper_test.rb
|
200
200
|
- test/template/number_helper_test.rb
|
201
201
|
- test/template/tag_helper_test.rb
|
202
202
|
- test/template/text_helper_test.rb
|
@@ -233,5 +233,5 @@ dependencies:
|
|
233
233
|
-
|
234
234
|
- "="
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: 1.1.
|
236
|
+
version: 1.1.1
|
237
237
|
version:
|