actionpack 2.3.3 → 2.3.4
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 +12 -1
- data/Rakefile +9 -8
- data/lib/action_controller/assertions/response_assertions.rb +3 -1
- data/lib/action_controller/base.rb +6 -2
- data/lib/action_controller/cookies.rb +1 -1
- data/lib/action_controller/dispatcher.rb +21 -6
- data/lib/action_controller/http_authentication.rb +3 -2
- data/lib/action_controller/params_parser.rb +6 -0
- data/lib/action_controller/reloader.rb +30 -21
- data/lib/action_controller/request_forgery_protection.rb +2 -1
- data/lib/action_controller/resources.rb +17 -13
- data/lib/action_controller/response.rb +6 -0
- data/lib/action_controller/routing.rb +3 -0
- data/lib/action_controller/routing/route_set.rb +18 -5
- data/lib/action_controller/streaming.rb +3 -1
- data/lib/action_controller/url_rewriter.rb +1 -1
- data/lib/action_pack/version.rb +1 -1
- data/lib/action_view/helpers/atom_feed_helper.rb +1 -1
- data/lib/action_view/helpers/form_helper.rb +3 -2
- data/lib/action_view/helpers/form_options_helper.rb +69 -1
- data/lib/action_view/helpers/tag_helper.rb +1 -1
- data/lib/action_view/helpers/text_helper.rb +20 -11
- data/lib/action_view/helpers/url_helper.rb +1 -1
- data/lib/action_view/locale/en.yml +4 -0
- data/test/abstract_unit.rb +16 -0
- data/test/controller/caching_test.rb +1 -1
- data/test/controller/cookie_test.rb +6 -0
- data/test/controller/dispatcher_test.rb +50 -11
- data/test/controller/filter_params_test.rb +2 -1
- data/test/controller/http_basic_authentication_test.rb +25 -0
- data/test/controller/http_digest_authentication_test.rb +29 -6
- data/test/controller/rack_test.rb +18 -1
- data/test/controller/redirect_test.rb +1 -1
- data/test/controller/reloader_test.rb +47 -20
- data/test/controller/request/json_params_parsing_test.rb +24 -4
- data/test/controller/request/xml_params_parsing_test.rb +15 -0
- data/test/controller/request_forgery_protection_test.rb +6 -5
- data/test/controller/resources_test.rb +44 -0
- data/test/controller/routing_test.rb +7 -2
- data/test/controller/send_file_test.rb +11 -1
- data/test/controller/url_rewriter_test.rb +29 -3
- data/test/fixtures/public/absolute/test.css +23 -0
- data/test/fixtures/public/absolute/test.js +63 -0
- data/test/template/atom_feed_helper_test.rb +29 -0
- data/test/template/form_helper_test.rb +26 -0
- data/test/template/form_options_helper_i18n_test.rb +27 -0
- data/test/template/form_options_helper_test.rb +34 -0
- data/test/template/text_helper_test.rb +23 -0
- data/test/template/url_helper_test.rb +8 -0
- metadata +10 -94
@@ -0,0 +1,63 @@
|
|
1
|
+
// prototype js
|
2
|
+
|
3
|
+
// effects js
|
4
|
+
|
5
|
+
// dragdrop js
|
6
|
+
|
7
|
+
// controls js
|
8
|
+
|
9
|
+
// prototype js
|
10
|
+
|
11
|
+
// effects js
|
12
|
+
|
13
|
+
// dragdrop js
|
14
|
+
|
15
|
+
// controls js
|
16
|
+
|
17
|
+
// application js
|
18
|
+
|
19
|
+
// bank js
|
20
|
+
|
21
|
+
// robber js
|
22
|
+
|
23
|
+
// version.1.0 js
|
24
|
+
|
25
|
+
// application js
|
26
|
+
|
27
|
+
// bank js
|
28
|
+
|
29
|
+
// prototype js
|
30
|
+
|
31
|
+
// effects js
|
32
|
+
|
33
|
+
// dragdrop js
|
34
|
+
|
35
|
+
// controls js
|
36
|
+
|
37
|
+
// prototype js
|
38
|
+
|
39
|
+
// effects js
|
40
|
+
|
41
|
+
// dragdrop js
|
42
|
+
|
43
|
+
// controls js
|
44
|
+
|
45
|
+
// application js
|
46
|
+
|
47
|
+
// bank js
|
48
|
+
|
49
|
+
// robber js
|
50
|
+
|
51
|
+
// version.1.0 js
|
52
|
+
|
53
|
+
// application js
|
54
|
+
|
55
|
+
// bank js
|
56
|
+
|
57
|
+
// robber js
|
58
|
+
|
59
|
+
// version.1.0 js
|
60
|
+
|
61
|
+
// robber js
|
62
|
+
|
63
|
+
// version.1.0 js
|
@@ -150,6 +150,26 @@ class ScrollsController < ActionController::Base
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
EOT
|
153
|
+
FEEDS["provide_builder"] = <<-'EOT'
|
154
|
+
# we pass in the new_xml to the helper so it doesn't
|
155
|
+
# call anything on the original builder
|
156
|
+
new_xml = Builder::XmlMarkup.new(:target=>'')
|
157
|
+
atom_feed(:xml => new_xml) do |feed|
|
158
|
+
feed.title("My great blog!")
|
159
|
+
feed.updated((@scrolls.first.created_at))
|
160
|
+
|
161
|
+
for scroll in @scrolls
|
162
|
+
feed.entry(scroll) do |entry|
|
163
|
+
entry.title(scroll.title)
|
164
|
+
entry.content(scroll.body, :type => 'html')
|
165
|
+
|
166
|
+
entry.author do |author|
|
167
|
+
author.name("DHH")
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
EOT
|
153
173
|
def index
|
154
174
|
@scrolls = [
|
155
175
|
Scroll.new(1, "1", "Hello One", "Something <i>COOL!</i>", Time.utc(2007, 12, 12, 15), Time.utc(2007, 12, 12, 15)),
|
@@ -194,6 +214,15 @@ class AtomFeedTest < ActionController::TestCase
|
|
194
214
|
end
|
195
215
|
end
|
196
216
|
|
217
|
+
def test_providing_builder_to_atom_feed
|
218
|
+
with_restful_routing(:scrolls) do
|
219
|
+
get :index, :id=>"provide_builder"
|
220
|
+
# because we pass in the non-default builder, the content generated by the
|
221
|
+
# helper should go 'nowhere'. Leaving the response body blank.
|
222
|
+
assert @response.body.blank?
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
197
226
|
def test_entry_with_prefilled_options_should_use_those_instead_of_querying_the_record
|
198
227
|
with_restful_routing(:scrolls) do
|
199
228
|
get :index, :id => "entry_options"
|
@@ -145,6 +145,22 @@ class FormHelperTest < ActionView::TestCase
|
|
145
145
|
assert_dom_equal('<label for="my_for">Title</label>', label(:post, :title, nil, "for" => "my_for"))
|
146
146
|
end
|
147
147
|
|
148
|
+
def test_label_with_id_attribute_as_symbol
|
149
|
+
assert_dom_equal('<label for="post_title" id="my_id">Title</label>', label(:post, :title, nil, :id => "my_id"))
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_label_with_id_attribute_as_string
|
153
|
+
assert_dom_equal('<label for="post_title" id="my_id">Title</label>', label(:post, :title, nil, "id" => "my_id"))
|
154
|
+
end
|
155
|
+
|
156
|
+
def test_label_with_for_and_id_attributes_as_symbol
|
157
|
+
assert_dom_equal('<label for="my_for" id="my_id">Title</label>', label(:post, :title, nil, :for => "my_for", :id => "my_id"))
|
158
|
+
end
|
159
|
+
|
160
|
+
def test_label_with_for_and_id_attributes_as_string
|
161
|
+
assert_dom_equal('<label for="my_for" id="my_id">Title</label>', label(:post, :title, nil, "for" => "my_for", "id" => "my_id"))
|
162
|
+
end
|
163
|
+
|
148
164
|
def test_label_for_radio_buttons_with_value
|
149
165
|
assert_dom_equal('<label for="post_title_great_title">The title goes here</label>', label("post", "title", "The title goes here", :value => "great_title"))
|
150
166
|
assert_dom_equal('<label for="post_title_great_title">The title goes here</label>', label("post", "title", "The title goes here", :value => "great title"))
|
@@ -295,6 +311,16 @@ class FormHelperTest < ActionView::TestCase
|
|
295
311
|
)
|
296
312
|
end
|
297
313
|
|
314
|
+
def test_radio_button_with_booleans
|
315
|
+
assert_dom_equal('<input id="post_secret_true" name="post[secret]" type="radio" value="true" />',
|
316
|
+
radio_button("post", "secret", true)
|
317
|
+
)
|
318
|
+
|
319
|
+
assert_dom_equal('<input id="post_secret_false" name="post[secret]" type="radio" value="false" />',
|
320
|
+
radio_button("post", "secret", false)
|
321
|
+
)
|
322
|
+
end
|
323
|
+
|
298
324
|
def test_text_area
|
299
325
|
assert_dom_equal(
|
300
326
|
'<textarea cols="40" id="post_body" name="post[body]" rows="20">Back to the hill and over it again!</textarea>',
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'abstract_unit'
|
2
|
+
|
3
|
+
class FormOptionsHelperI18nTests < ActionView::TestCase
|
4
|
+
tests ActionView::Helpers::FormOptionsHelper
|
5
|
+
|
6
|
+
def setup
|
7
|
+
@prompt_message = 'Select!'
|
8
|
+
I18n.backend.send(:init_translations)
|
9
|
+
I18n.backend.store_translations :en, :support => { :select => { :prompt => @prompt_message } }
|
10
|
+
end
|
11
|
+
|
12
|
+
def teardown
|
13
|
+
I18n.backend = I18n::Backend::Simple.new
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_select_with_prompt_true_translates_prompt_message
|
17
|
+
I18n.expects(:translate).with('support.select.prompt', { :default => 'Please select' })
|
18
|
+
select('post', 'category', [], :prompt => true)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_select_with_translated_prompt
|
22
|
+
assert_dom_equal(
|
23
|
+
%Q(<select id="post_category" name="post[category]"><option value="">#{@prompt_message}</option>\n</select>),
|
24
|
+
select('post', 'category', [], :prompt => true)
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
@@ -763,6 +763,40 @@ class FormOptionsHelperTest < ActionView::TestCase
|
|
763
763
|
html
|
764
764
|
end
|
765
765
|
|
766
|
+
def test_grouped_collection_select
|
767
|
+
@continents = [
|
768
|
+
Continent.new("<Africa>", [Country.new("<sa>", "<South Africa>"), Country.new("so", "Somalia")] ),
|
769
|
+
Continent.new("Europe", [Country.new("dk", "Denmark"), Country.new("ie", "Ireland")] )
|
770
|
+
]
|
771
|
+
|
772
|
+
@post = Post.new
|
773
|
+
@post.origin = 'dk'
|
774
|
+
|
775
|
+
assert_dom_equal(
|
776
|
+
%Q{<select id="post_origin" name="post[origin]"><optgroup label="<Africa>"><option value="<sa>"><South Africa></option>\n<option value="so">Somalia</option></optgroup><optgroup label="Europe"><option value="dk" selected="selected">Denmark</option>\n<option value="ie">Ireland</option></optgroup></select>},
|
777
|
+
grouped_collection_select("post", "origin", @continents, :countries, :continent_name, :country_id, :country_name)
|
778
|
+
)
|
779
|
+
end
|
780
|
+
|
781
|
+
def test_grouped_collection_select_under_fields_for
|
782
|
+
@continents = [
|
783
|
+
Continent.new("<Africa>", [Country.new("<sa>", "<South Africa>"), Country.new("so", "Somalia")] ),
|
784
|
+
Continent.new("Europe", [Country.new("dk", "Denmark"), Country.new("ie", "Ireland")] )
|
785
|
+
]
|
786
|
+
|
787
|
+
@post = Post.new
|
788
|
+
@post.origin = 'dk'
|
789
|
+
|
790
|
+
fields_for :post, @post do |f|
|
791
|
+
concat f.grouped_collection_select("origin", @continents, :countries, :continent_name, :country_id, :country_name)
|
792
|
+
end
|
793
|
+
|
794
|
+
assert_dom_equal(
|
795
|
+
%Q{<select id="post_origin" name="post[origin]"><optgroup label="<Africa>"><option value="<sa>"><South Africa></option>\n<option value="so">Somalia</option></optgroup><optgroup label="Europe"><option value="dk" selected="selected">Denmark</option>\n<option value="ie">Ireland</option></optgroup></select>},
|
796
|
+
output_buffer
|
797
|
+
)
|
798
|
+
end
|
799
|
+
|
766
800
|
private
|
767
801
|
|
768
802
|
def dummy_posts
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require 'abstract_unit'
|
2
2
|
require 'testing_sandbox'
|
3
|
+
begin
|
4
|
+
require 'redcloth'
|
5
|
+
rescue LoadError
|
6
|
+
$stderr.puts "Skipping textilize tests. `gem install RedCloth` to enable."
|
7
|
+
end
|
3
8
|
|
4
9
|
class TextHelperTest < ActionView::TestCase
|
5
10
|
tests ActionView::Helpers::TextHelper
|
@@ -517,4 +522,22 @@ class TextHelperTest < ActionView::TestCase
|
|
517
522
|
assert_equal("red", cycle("red", "blue"))
|
518
523
|
assert_equal(%w{Specialized Fuji Giant}, @cycles)
|
519
524
|
end
|
525
|
+
|
526
|
+
if defined? RedCloth
|
527
|
+
def test_textilize
|
528
|
+
assert_equal("<p><strong>This is Textile!</strong> Rejoice!</p>", textilize("*This is Textile!* Rejoice!"))
|
529
|
+
end
|
530
|
+
|
531
|
+
def test_textilize_with_blank
|
532
|
+
assert_equal("", textilize(""))
|
533
|
+
end
|
534
|
+
|
535
|
+
def test_textilize_with_options
|
536
|
+
assert_equal("<p>This is worded <strong>strongly</strong></p>", textilize("This is worded <strong>strongly</strong>", :filter_html))
|
537
|
+
end
|
538
|
+
|
539
|
+
def test_textilize_with_hard_breaks
|
540
|
+
assert_equal("<p>This is one scary world.<br />\n True.</p>", textilize("This is one scary world.\n True."))
|
541
|
+
end
|
542
|
+
end
|
520
543
|
end
|
@@ -219,6 +219,14 @@ class UrlHelperTest < ActionView::TestCase
|
|
219
219
|
)
|
220
220
|
end
|
221
221
|
|
222
|
+
def test_link_tag_using_delete_javascript_and_href_and_confirm
|
223
|
+
assert_dom_equal(
|
224
|
+
"<a href='\#' onclick=\"if (confirm('Are you serious?')) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = 'http://www.example.com';var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', '_method'); m.setAttribute('value', 'delete'); f.appendChild(m);f.submit(); };return false;\">Destroy</a>",
|
225
|
+
link_to("Destroy", "http://www.example.com", :method => :delete, :href => '#', :confirm => "Are you serious?"),
|
226
|
+
"When specifying url, form should be generated with it, but not this.href"
|
227
|
+
)
|
228
|
+
end
|
229
|
+
|
222
230
|
def test_link_tag_using_post_javascript_and_popup
|
223
231
|
assert_raise(ActionView::ActionViewError) { link_to("Hello", "http://www.example.com", :popup => true, :method => :post, :confirm => "Are you serious?") }
|
224
232
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,7 +9,7 @@ autorequire: action_controller
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-04 00:00:00 +12:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.3.
|
23
|
+
version: 2.3.4
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rack
|
@@ -47,8 +47,6 @@ files:
|
|
47
47
|
- RUNNING_UNIT_TESTS
|
48
48
|
- CHANGELOG
|
49
49
|
- MIT-LICENSE
|
50
|
-
- lib/action_controller
|
51
|
-
- lib/action_controller/assertions
|
52
50
|
- lib/action_controller/assertions/dom_assertions.rb
|
53
51
|
- lib/action_controller/assertions/model_assertions.rb
|
54
52
|
- lib/action_controller/assertions/response_assertions.rb
|
@@ -57,14 +55,12 @@ files:
|
|
57
55
|
- lib/action_controller/assertions/tag_assertions.rb
|
58
56
|
- lib/action_controller/base.rb
|
59
57
|
- lib/action_controller/benchmarking.rb
|
60
|
-
- lib/action_controller/caching
|
61
58
|
- lib/action_controller/caching/actions.rb
|
62
59
|
- lib/action_controller/caching/fragments.rb
|
63
60
|
- lib/action_controller/caching/pages.rb
|
64
61
|
- lib/action_controller/caching/sweeper.rb
|
65
62
|
- lib/action_controller/caching/sweeping.rb
|
66
63
|
- lib/action_controller/caching.rb
|
67
|
-
- lib/action_controller/cgi_ext
|
68
64
|
- lib/action_controller/cgi_ext/cookie.rb
|
69
65
|
- lib/action_controller/cgi_ext/query_extension.rb
|
70
66
|
- lib/action_controller/cgi_ext/stdinput.rb
|
@@ -95,7 +91,6 @@ files:
|
|
95
91
|
- lib/action_controller/rescue.rb
|
96
92
|
- lib/action_controller/resources.rb
|
97
93
|
- lib/action_controller/response.rb
|
98
|
-
- lib/action_controller/routing
|
99
94
|
- lib/action_controller/routing/builder.rb
|
100
95
|
- lib/action_controller/routing/optimisations.rb
|
101
96
|
- lib/action_controller/routing/recognition_optimisation.rb
|
@@ -104,15 +99,12 @@ files:
|
|
104
99
|
- lib/action_controller/routing/routing_ext.rb
|
105
100
|
- lib/action_controller/routing/segments.rb
|
106
101
|
- lib/action_controller/routing.rb
|
107
|
-
- lib/action_controller/session
|
108
102
|
- lib/action_controller/session/abstract_store.rb
|
109
103
|
- lib/action_controller/session/cookie_store.rb
|
110
104
|
- lib/action_controller/session/mem_cache_store.rb
|
111
105
|
- lib/action_controller/session_management.rb
|
112
106
|
- lib/action_controller/status_codes.rb
|
113
107
|
- lib/action_controller/streaming.rb
|
114
|
-
- lib/action_controller/templates
|
115
|
-
- lib/action_controller/templates/rescues
|
116
108
|
- lib/action_controller/templates/rescues/_request_and_response.erb
|
117
109
|
- lib/action_controller/templates/rescues/_trace.erb
|
118
110
|
- lib/action_controller/templates/rescues/diagnostics.erb
|
@@ -126,9 +118,6 @@ files:
|
|
126
118
|
- lib/action_controller/translation.rb
|
127
119
|
- lib/action_controller/uploaded_file.rb
|
128
120
|
- lib/action_controller/url_rewriter.rb
|
129
|
-
- lib/action_controller/vendor
|
130
|
-
- lib/action_controller/vendor/html-scanner
|
131
|
-
- lib/action_controller/vendor/html-scanner/html
|
132
121
|
- lib/action_controller/vendor/html-scanner/html/document.rb
|
133
122
|
- lib/action_controller/vendor/html-scanner/html/node.rb
|
134
123
|
- lib/action_controller/vendor/html-scanner/html/sanitizer.rb
|
@@ -138,14 +127,10 @@ files:
|
|
138
127
|
- lib/action_controller/vendor/html-scanner.rb
|
139
128
|
- lib/action_controller/verification.rb
|
140
129
|
- lib/action_controller.rb
|
141
|
-
- lib/action_pack
|
142
130
|
- lib/action_pack/version.rb
|
143
131
|
- lib/action_pack.rb
|
144
|
-
- lib/action_view
|
145
132
|
- lib/action_view/base.rb
|
146
|
-
- lib/action_view/erb
|
147
133
|
- lib/action_view/erb/util.rb
|
148
|
-
- lib/action_view/helpers
|
149
134
|
- lib/action_view/helpers/active_record_helper.rb
|
150
135
|
- lib/action_view/helpers/asset_tag_helper.rb
|
151
136
|
- lib/action_view/helpers/atom_feed_helper.rb
|
@@ -170,7 +155,6 @@ files:
|
|
170
155
|
- lib/action_view/helpers/url_helper.rb
|
171
156
|
- lib/action_view/helpers.rb
|
172
157
|
- lib/action_view/inline_template.rb
|
173
|
-
- lib/action_view/locale
|
174
158
|
- lib/action_view/locale/en.yml
|
175
159
|
- lib/action_view/partials.rb
|
176
160
|
- lib/action_view/paths.rb
|
@@ -180,7 +164,6 @@ files:
|
|
180
164
|
- lib/action_view/template.rb
|
181
165
|
- lib/action_view/template_error.rb
|
182
166
|
- lib/action_view/template_handler.rb
|
183
|
-
- lib/action_view/template_handlers
|
184
167
|
- lib/action_view/template_handlers/builder.rb
|
185
168
|
- lib/action_view/template_handlers/erb.rb
|
186
169
|
- lib/action_view/template_handlers/rjs.rb
|
@@ -190,11 +173,9 @@ files:
|
|
190
173
|
- lib/actionpack.rb
|
191
174
|
- test/abstract_unit.rb
|
192
175
|
- test/active_record_unit.rb
|
193
|
-
- test/activerecord
|
194
176
|
- test/activerecord/active_record_store_test.rb
|
195
177
|
- test/activerecord/render_partial_with_record_identification_test.rb
|
196
178
|
- test/adv_attr_test.rb
|
197
|
-
- test/controller
|
198
179
|
- test/controller/action_pack_assertions_test.rb
|
199
180
|
- test/controller/addresses_render_test.rb
|
200
181
|
- test/controller/assert_select_test.rb
|
@@ -203,19 +184,10 @@ files:
|
|
203
184
|
- test/controller/caching_test.rb
|
204
185
|
- test/controller/capture_test.rb
|
205
186
|
- test/controller/content_type_test.rb
|
206
|
-
- test/controller/controller_fixtures
|
207
|
-
- test/controller/controller_fixtures/app
|
208
|
-
- test/controller/controller_fixtures/app/controllers
|
209
|
-
- test/controller/controller_fixtures/app/controllers/admin
|
210
187
|
- test/controller/controller_fixtures/app/controllers/admin/user_controller.rb
|
211
188
|
- test/controller/controller_fixtures/app/controllers/user_controller.rb
|
212
|
-
- test/controller/controller_fixtures/vendor
|
213
|
-
- test/controller/controller_fixtures/vendor/plugins
|
214
|
-
- test/controller/controller_fixtures/vendor/plugins/bad_plugin
|
215
|
-
- test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib
|
216
189
|
- test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb
|
217
190
|
- test/controller/cookie_test.rb
|
218
|
-
- test/controller/deprecation
|
219
191
|
- test/controller/deprecation/deprecated_base_methods_test.rb
|
220
192
|
- test/controller/dispatcher_test.rb
|
221
193
|
- test/controller/failsafe_test.rb
|
@@ -226,7 +198,6 @@ files:
|
|
226
198
|
- test/controller/flash_test.rb
|
227
199
|
- test/controller/header_test.rb
|
228
200
|
- test/controller/helper_test.rb
|
229
|
-
- test/controller/html-scanner
|
230
201
|
- test/controller/html-scanner/cdata_node_test.rb
|
231
202
|
- test/controller/html-scanner/document_test.rb
|
232
203
|
- test/controller/html-scanner/node_test.rb
|
@@ -248,7 +219,6 @@ files:
|
|
248
219
|
- test/controller/redirect_test.rb
|
249
220
|
- test/controller/reloader_test.rb
|
250
221
|
- test/controller/render_test.rb
|
251
|
-
- test/controller/request
|
252
222
|
- test/controller/request/json_params_parsing_test.rb
|
253
223
|
- test/controller/request/multipart_params_parsing_test.rb
|
254
224
|
- test/controller/request/query_string_parsing_test.rb
|
@@ -262,7 +232,6 @@ files:
|
|
262
232
|
- test/controller/routing_test.rb
|
263
233
|
- test/controller/selector_test.rb
|
264
234
|
- test/controller/send_file_test.rb
|
265
|
-
- test/controller/session
|
266
235
|
- test/controller/session/cookie_store_test.rb
|
267
236
|
- test/controller/session/mem_cache_store_test.rb
|
268
237
|
- test/controller/session/test_session_test.rb
|
@@ -272,41 +241,27 @@ files:
|
|
272
241
|
- test/controller/verification_test.rb
|
273
242
|
- test/controller/view_paths_test.rb
|
274
243
|
- test/controller/webservice_test.rb
|
275
|
-
- test/fixtures
|
276
244
|
- test/fixtures/_top_level_partial.html.erb
|
277
245
|
- test/fixtures/_top_level_partial_only.erb
|
278
|
-
- test/fixtures/addresses
|
279
246
|
- test/fixtures/addresses/list.erb
|
280
|
-
- test/fixtures/alternate_helpers
|
281
247
|
- test/fixtures/alternate_helpers/foo_helper.rb
|
282
|
-
- test/fixtures/bad_customers
|
283
248
|
- test/fixtures/bad_customers/_bad_customer.html.erb
|
284
249
|
- test/fixtures/companies.yml
|
285
250
|
- test/fixtures/company.rb
|
286
|
-
- test/fixtures/content_type
|
287
251
|
- test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml
|
288
252
|
- test/fixtures/content_type/render_default_for_rhtml.rhtml
|
289
253
|
- test/fixtures/content_type/render_default_for_rjs.rjs
|
290
254
|
- test/fixtures/content_type/render_default_for_rxml.rxml
|
291
|
-
- test/fixtures/customers
|
292
255
|
- test/fixtures/customers/_customer.html.erb
|
293
|
-
- test/fixtures/db_definitions
|
294
256
|
- test/fixtures/db_definitions/sqlite.sql
|
295
257
|
- test/fixtures/developer.rb
|
296
|
-
- test/fixtures/developers
|
297
258
|
- test/fixtures/developers/_developer.erb
|
298
259
|
- test/fixtures/developers.yml
|
299
260
|
- test/fixtures/developers_projects.yml
|
300
|
-
- test/fixtures/failsafe
|
301
261
|
- test/fixtures/failsafe/500.html
|
302
|
-
- test/fixtures/fun
|
303
|
-
- test/fixtures/fun/games
|
304
262
|
- test/fixtures/fun/games/_game.erb
|
305
263
|
- test/fixtures/fun/games/hello_world.erb
|
306
|
-
- test/fixtures/fun/serious
|
307
|
-
- test/fixtures/fun/serious/games
|
308
264
|
- test/fixtures/fun/serious/games/_game.erb
|
309
|
-
- test/fixtures/functional_caching
|
310
265
|
- test/fixtures/functional_caching/_partial.erb
|
311
266
|
- test/fixtures/functional_caching/formatted_fragment_cached.html.erb
|
312
267
|
- test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
|
@@ -315,29 +270,18 @@ files:
|
|
315
270
|
- test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb
|
316
271
|
- test/fixtures/functional_caching/inline_fragment_cached.html.erb
|
317
272
|
- test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs
|
318
|
-
- test/fixtures/good_customers
|
319
273
|
- test/fixtures/good_customers/_good_customer.html.erb
|
320
|
-
- test/fixtures/helpers
|
321
274
|
- test/fixtures/helpers/abc_helper.rb
|
322
|
-
- test/fixtures/helpers/fun
|
323
275
|
- test/fixtures/helpers/fun/games_helper.rb
|
324
276
|
- test/fixtures/helpers/fun/pdf_helper.rb
|
325
|
-
- test/fixtures/layout_tests
|
326
|
-
- test/fixtures/layout_tests/alt
|
327
277
|
- test/fixtures/layout_tests/alt/hello.rhtml
|
328
|
-
- test/fixtures/layout_tests/alt/layouts
|
329
278
|
- test/fixtures/layout_tests/alt/layouts/alt.rhtml
|
330
|
-
- test/fixtures/layout_tests/layouts
|
331
|
-
- test/fixtures/layout_tests/layouts/controller_name_space
|
332
279
|
- test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml
|
333
280
|
- test/fixtures/layout_tests/layouts/item.rhtml
|
334
281
|
- test/fixtures/layout_tests/layouts/layout_test.rhtml
|
335
282
|
- test/fixtures/layout_tests/layouts/multiple_extensions.html.erb
|
336
|
-
- test/fixtures/layout_tests/layouts/symlinked
|
337
283
|
- test/fixtures/layout_tests/layouts/third_party_template_library.mab
|
338
|
-
- test/fixtures/layout_tests/views
|
339
284
|
- test/fixtures/layout_tests/views/hello.rhtml
|
340
|
-
- test/fixtures/layouts
|
341
285
|
- test/fixtures/layouts/_column.html.erb
|
342
286
|
- test/fixtures/layouts/block_with_layout.erb
|
343
287
|
- test/fixtures/layouts/builder.builder
|
@@ -348,10 +292,8 @@ files:
|
|
348
292
|
- test/fixtures/layouts/xhr.html.erb
|
349
293
|
- test/fixtures/layouts/yield.erb
|
350
294
|
- test/fixtures/mascot.rb
|
351
|
-
- test/fixtures/mascots
|
352
295
|
- test/fixtures/mascots/_mascot.html.erb
|
353
296
|
- test/fixtures/mascots.yml
|
354
|
-
- test/fixtures/multipart
|
355
297
|
- test/fixtures/multipart/binary_file
|
356
298
|
- test/fixtures/multipart/boundary_problem_file
|
357
299
|
- test/fixtures/multipart/bracketed_param
|
@@ -363,65 +305,45 @@ files:
|
|
363
305
|
- test/fixtures/multipart/none
|
364
306
|
- test/fixtures/multipart/single_parameter
|
365
307
|
- test/fixtures/multipart/text_file
|
366
|
-
- test/fixtures/override
|
367
|
-
- test/fixtures/override/test
|
368
308
|
- test/fixtures/override/test/hello_world.erb
|
369
|
-
- test/fixtures/override2
|
370
|
-
- test/fixtures/override2/layouts
|
371
|
-
- test/fixtures/override2/layouts/test
|
372
309
|
- test/fixtures/override2/layouts/test/sub.erb
|
373
|
-
- test/fixtures/post_test
|
374
|
-
- test/fixtures/post_test/layouts
|
375
310
|
- test/fixtures/post_test/layouts/post.html.erb
|
376
311
|
- test/fixtures/post_test/layouts/super_post.iphone.erb
|
377
|
-
- test/fixtures/post_test/post
|
378
312
|
- test/fixtures/post_test/post/index.html.erb
|
379
313
|
- test/fixtures/post_test/post/index.iphone.erb
|
380
|
-
- test/fixtures/post_test/super_post
|
381
314
|
- test/fixtures/post_test/super_post/index.html.erb
|
382
315
|
- test/fixtures/post_test/super_post/index.iphone.erb
|
383
316
|
- test/fixtures/project.rb
|
384
|
-
- test/fixtures/projects
|
385
317
|
- test/fixtures/projects/_project.erb
|
386
318
|
- test/fixtures/projects.yml
|
387
|
-
- test/fixtures/public
|
388
319
|
- test/fixtures/public/404.html
|
389
320
|
- test/fixtures/public/500.da.html
|
390
321
|
- test/fixtures/public/500.html
|
391
|
-
- test/fixtures/public/
|
322
|
+
- test/fixtures/public/absolute/test.css
|
323
|
+
- test/fixtures/public/absolute/test.js
|
392
324
|
- test/fixtures/public/images/rails.png
|
393
|
-
- test/fixtures/public/javascripts
|
394
325
|
- test/fixtures/public/javascripts/application.js
|
395
326
|
- test/fixtures/public/javascripts/bank.js
|
396
|
-
- test/fixtures/public/javascripts/cache
|
397
327
|
- test/fixtures/public/javascripts/controls.js
|
398
328
|
- test/fixtures/public/javascripts/dragdrop.js
|
399
329
|
- test/fixtures/public/javascripts/effects.js
|
400
330
|
- test/fixtures/public/javascripts/prototype.js
|
401
331
|
- test/fixtures/public/javascripts/robber.js
|
402
|
-
- test/fixtures/public/javascripts/subdir
|
403
332
|
- test/fixtures/public/javascripts/subdir/subdir.js
|
404
333
|
- test/fixtures/public/javascripts/version.1.0.js
|
405
|
-
- test/fixtures/public/stylesheets
|
406
334
|
- test/fixtures/public/stylesheets/bank.css
|
407
335
|
- test/fixtures/public/stylesheets/robber.css
|
408
|
-
- test/fixtures/public/stylesheets/subdir
|
409
336
|
- test/fixtures/public/stylesheets/subdir/subdir.css
|
410
337
|
- test/fixtures/public/stylesheets/version.1.0.css
|
411
|
-
- test/fixtures/quiz
|
412
|
-
- test/fixtures/quiz/questions
|
413
338
|
- test/fixtures/quiz/questions/_question.html.erb
|
414
|
-
- test/fixtures/replies
|
415
339
|
- test/fixtures/replies/_reply.erb
|
416
340
|
- test/fixtures/replies.yml
|
417
341
|
- test/fixtures/reply.rb
|
418
|
-
- test/fixtures/respond_to
|
419
342
|
- test/fixtures/respond_to/all_types_with_layout.html.erb
|
420
343
|
- test/fixtures/respond_to/all_types_with_layout.js.rjs
|
421
344
|
- test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb
|
422
345
|
- test/fixtures/respond_to/iphone_with_html_response_type.html.erb
|
423
346
|
- test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb
|
424
|
-
- test/fixtures/respond_to/layouts
|
425
347
|
- test/fixtures/respond_to/layouts/missing.html.erb
|
426
348
|
- test/fixtures/respond_to/layouts/standard.html.erb
|
427
349
|
- test/fixtures/respond_to/layouts/standard.iphone.erb
|
@@ -431,13 +353,9 @@ files:
|
|
431
353
|
- test/fixtures/respond_to/using_defaults_with_type_list.html.erb
|
432
354
|
- test/fixtures/respond_to/using_defaults_with_type_list.js.rjs
|
433
355
|
- test/fixtures/respond_to/using_defaults_with_type_list.xml.builder
|
434
|
-
- test/fixtures/scope
|
435
|
-
- test/fixtures/scope/test
|
436
356
|
- test/fixtures/scope/test/modgreet.erb
|
437
357
|
- test/fixtures/shared.html.erb
|
438
|
-
- test/fixtures/symlink_parent
|
439
358
|
- test/fixtures/symlink_parent/symlinked_layout.erb
|
440
|
-
- test/fixtures/test
|
441
359
|
- test/fixtures/test/_counter.html.erb
|
442
360
|
- test/fixtures/test/_customer.erb
|
443
361
|
- test/fixtures/test/_customer_counter.erb
|
@@ -469,7 +387,6 @@ files:
|
|
469
387
|
- test/fixtures/test/content_for_with_parameter.erb
|
470
388
|
- test/fixtures/test/delete_with_js.rjs
|
471
389
|
- test/fixtures/test/dont_pick_me
|
472
|
-
- test/fixtures/test/dot.directory
|
473
390
|
- test/fixtures/test/dot.directory/render_file_with_ivar.erb
|
474
391
|
- test/fixtures/test/enum_rjs_test.rjs
|
475
392
|
- test/fixtures/test/formatted_html_erb.html.erb
|
@@ -490,7 +407,6 @@ files:
|
|
490
407
|
- test/fixtures/test/hyphen-ated.erb
|
491
408
|
- test/fixtures/test/implicit_content_type.atom.builder
|
492
409
|
- test/fixtures/test/list.erb
|
493
|
-
- test/fixtures/test/malformed
|
494
410
|
- test/fixtures/test/malformed/malformed.en.html.erb~
|
495
411
|
- test/fixtures/test/malformed/malformed.erb~
|
496
412
|
- test/fixtures/test/malformed/malformed.html.erb~
|
@@ -513,10 +429,8 @@ files:
|
|
513
429
|
- test/fixtures/test/using_layout_around_block_with_args.html.erb
|
514
430
|
- test/fixtures/test/utf8.html.erb
|
515
431
|
- test/fixtures/topic.rb
|
516
|
-
- test/fixtures/topics
|
517
432
|
- test/fixtures/topics/_topic.html.erb
|
518
433
|
- test/fixtures/topics.yml
|
519
|
-
- test/template
|
520
434
|
- test/template/active_record_helper_i18n_test.rb
|
521
435
|
- test/template/active_record_helper_test.rb
|
522
436
|
- test/template/asset_tag_helper_test.rb
|
@@ -527,6 +441,7 @@ files:
|
|
527
441
|
- test/template/date_helper_test.rb
|
528
442
|
- test/template/erb_util_test.rb
|
529
443
|
- test/template/form_helper_test.rb
|
444
|
+
- test/template/form_options_helper_i18n_test.rb
|
530
445
|
- test/template/form_options_helper_test.rb
|
531
446
|
- test/template/form_tag_helper_test.rb
|
532
447
|
- test/template/javascript_helper_test.rb
|
@@ -544,10 +459,11 @@ files:
|
|
544
459
|
- test/template/translation_helper_test.rb
|
545
460
|
- test/template/url_helper_test.rb
|
546
461
|
- test/testing_sandbox.rb
|
547
|
-
- test/view
|
548
462
|
- test/view/test_case_test.rb
|
549
463
|
has_rdoc: true
|
550
464
|
homepage: http://www.rubyonrails.org
|
465
|
+
licenses: []
|
466
|
+
|
551
467
|
post_install_message:
|
552
468
|
rdoc_options: []
|
553
469
|
|
@@ -568,9 +484,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
568
484
|
requirements:
|
569
485
|
- none
|
570
486
|
rubyforge_project: actionpack
|
571
|
-
rubygems_version: 1.3.
|
487
|
+
rubygems_version: 1.3.2
|
572
488
|
signing_key:
|
573
|
-
specification_version:
|
489
|
+
specification_version: 3
|
574
490
|
summary: Web-flow and rendering framework putting the VC in MVC.
|
575
491
|
test_files: []
|
576
492
|
|