actionpack 3.2.1 → 3.2.2.rc1
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.md +12 -0
- data/README.rdoc +1 -1
- data/lib/action_controller/caching/actions.rb +4 -2
- data/lib/action_controller/metal/force_ssl.rb +1 -0
- data/lib/action_controller/metal/mime_responds.rb +29 -15
- data/lib/action_controller/metal/rendering.rb +1 -1
- data/lib/action_controller/metal/responder.rb +2 -3
- data/lib/action_dispatch/http/mime_type.rb +3 -1
- data/lib/action_dispatch/middleware/stack.rb +3 -2
- data/lib/action_dispatch/middleware/static.rb +10 -2
- data/lib/action_dispatch/routing/route_set.rb +7 -1
- data/lib/action_pack/version.rb +2 -2
- data/lib/action_view/helpers/form_helper.rb +1 -1
- data/lib/action_view/lookup_context.rb +3 -11
- data/lib/action_view/renderer/abstract_renderer.rb +1 -1
- data/lib/action_view/renderer/template_renderer.rb +2 -1
- data/lib/action_view/template/handlers.rb +1 -0
- data/lib/action_view/template/handlers/erb.rb +0 -4
- data/lib/sprockets/assets.rake +5 -1
- metadata +178 -172
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Rails 3.2.2 (unreleased) ##
|
2
|
+
|
3
|
+
* Format lookup for partials is derived from the format in which the template is being rendered. Closes #5025 part 2 *Santiago Pastorino*
|
4
|
+
|
5
|
+
* Use the right format when a partial is missing. Closes #5025. *Santiago Pastorino*
|
6
|
+
|
7
|
+
* Default responder will now always use your overridden block in `respond_with` to render your response. *Prem Sichanugrist*
|
8
|
+
|
9
|
+
* check_box helper with :disabled => true will generate a disabled hidden field to conform with the HTML convention where disabled fields are not submitted with the form.
|
10
|
+
This is a behavior change, previously the hidden tag had a value of the disabled checkbox.
|
11
|
+
*Tadas Tamosauskas*
|
12
|
+
|
1
13
|
## Rails 3.2.1 (January 26, 2012) ##
|
2
14
|
|
3
15
|
* Documentation improvements.
|
data/README.rdoc
CHANGED
@@ -218,7 +218,7 @@ A short rundown of some of the major features:
|
|
218
218
|
|
219
219
|
def show
|
220
220
|
# the output of the method will be cached as
|
221
|
-
# ActionController::Base.page_cache_directory + "/weblog/show
|
221
|
+
# ActionController::Base.page_cache_directory + "/weblog/show.html"
|
222
222
|
# and the web server will pick it up without even hitting Rails
|
223
223
|
end
|
224
224
|
|
@@ -102,8 +102,10 @@ module ActionController #:nodoc:
|
|
102
102
|
end
|
103
103
|
|
104
104
|
def _save_fragment(name, options)
|
105
|
-
content =
|
106
|
-
|
105
|
+
content = ""
|
106
|
+
response_body.each do |parts|
|
107
|
+
content << parts
|
108
|
+
end
|
107
109
|
|
108
110
|
if caching_allowed?
|
109
111
|
write_fragment(name, content, options)
|
@@ -29,6 +29,7 @@ module ActionController
|
|
29
29
|
if !request.ssl? && !Rails.env.development?
|
30
30
|
redirect_options = {:protocol => 'https://', :status => :moved_permanently}
|
31
31
|
redirect_options.merge!(:host => host) if host
|
32
|
+
redirect_options.merge!(:params => request.query_parameters)
|
32
33
|
redirect_to redirect_options
|
33
34
|
end
|
34
35
|
end
|
@@ -191,8 +191,9 @@ module ActionController #:nodoc:
|
|
191
191
|
def respond_to(*mimes, &block)
|
192
192
|
raise ArgumentError, "respond_to takes either types or a block, never both" if mimes.any? && block_given?
|
193
193
|
|
194
|
-
if
|
195
|
-
response.
|
194
|
+
if collector = retrieve_collector_from_mimes(mimes, &block)
|
195
|
+
response = collector.response
|
196
|
+
response ? response.call : default_render({})
|
196
197
|
end
|
197
198
|
end
|
198
199
|
|
@@ -232,10 +233,18 @@ module ActionController #:nodoc:
|
|
232
233
|
raise "In order to use respond_with, first you need to declare the formats your " <<
|
233
234
|
"controller responds to in the class level" if self.class.mimes_for_respond_to.empty?
|
234
235
|
|
235
|
-
if
|
236
|
+
if collector = retrieve_collector_from_mimes(&block)
|
236
237
|
options = resources.size == 1 ? {} : resources.extract_options!
|
237
|
-
|
238
|
-
|
238
|
+
|
239
|
+
if defined_response = collector.response
|
240
|
+
if action = options.delete(:action)
|
241
|
+
render :action => action
|
242
|
+
else
|
243
|
+
defined_response.call
|
244
|
+
end
|
245
|
+
else
|
246
|
+
(options.delete(:responder) || self.class.responder).call(self, resources, options)
|
247
|
+
end
|
239
248
|
end
|
240
249
|
end
|
241
250
|
|
@@ -263,15 +272,16 @@ module ActionController #:nodoc:
|
|
263
272
|
# Collects mimes and return the response for the negotiated format. Returns
|
264
273
|
# nil if :not_acceptable was sent to the client.
|
265
274
|
#
|
266
|
-
def
|
275
|
+
def retrieve_collector_from_mimes(mimes=nil, &block) #:nodoc:
|
267
276
|
mimes ||= collect_mimes_from_class_level
|
268
|
-
collector = Collector.new(mimes)
|
277
|
+
collector = Collector.new(mimes)
|
269
278
|
block.call(collector) if block_given?
|
279
|
+
format = collector.negotiate_format(request)
|
270
280
|
|
271
|
-
if format
|
281
|
+
if format
|
272
282
|
self.content_type ||= format.to_s
|
273
|
-
lookup_context.
|
274
|
-
collector
|
283
|
+
lookup_context.formats = [format.to_sym]
|
284
|
+
collector
|
275
285
|
else
|
276
286
|
head :not_acceptable
|
277
287
|
nil
|
@@ -280,10 +290,10 @@ module ActionController #:nodoc:
|
|
280
290
|
|
281
291
|
class Collector #:nodoc:
|
282
292
|
include AbstractController::Collector
|
283
|
-
attr_accessor :order
|
293
|
+
attr_accessor :order, :format
|
284
294
|
|
285
|
-
def initialize(mimes
|
286
|
-
@order, @responses
|
295
|
+
def initialize(mimes)
|
296
|
+
@order, @responses = [], {}
|
287
297
|
mimes.each { |mime| send(mime) }
|
288
298
|
end
|
289
299
|
|
@@ -302,8 +312,12 @@ module ActionController #:nodoc:
|
|
302
312
|
@responses[mime_type] ||= block
|
303
313
|
end
|
304
314
|
|
305
|
-
def
|
306
|
-
@responses[
|
315
|
+
def response
|
316
|
+
@responses[format] || @responses[Mime::ALL]
|
317
|
+
end
|
318
|
+
|
319
|
+
def negotiate_format(request)
|
320
|
+
@format = request.negotiate_mime(order)
|
307
321
|
end
|
308
322
|
end
|
309
323
|
end
|
@@ -14,7 +14,7 @@ module ActionController
|
|
14
14
|
def render(*args) #:nodoc:
|
15
15
|
raise ::AbstractController::DoubleRenderError if response_body
|
16
16
|
super
|
17
|
-
self.content_type ||= Mime[
|
17
|
+
self.content_type ||= Mime[lookup_context.rendered_format].to_s
|
18
18
|
response_body
|
19
19
|
end
|
20
20
|
|
@@ -129,7 +129,6 @@ module ActionController #:nodoc:
|
|
129
129
|
@resources = resources
|
130
130
|
@options = options
|
131
131
|
@action = options.delete(:action)
|
132
|
-
@default_response = options.delete(:default_response)
|
133
132
|
end
|
134
133
|
|
135
134
|
delegate :head, :render, :redirect_to, :to => :controller
|
@@ -226,7 +225,7 @@ module ActionController #:nodoc:
|
|
226
225
|
# controller.
|
227
226
|
#
|
228
227
|
def default_render
|
229
|
-
|
228
|
+
controller.default_render(options)
|
230
229
|
end
|
231
230
|
|
232
231
|
# Display is just a shortcut to render a resource with the current format.
|
@@ -268,7 +267,7 @@ module ActionController #:nodoc:
|
|
268
267
|
end
|
269
268
|
|
270
269
|
def resource_errors
|
271
|
-
respond_to?("#{format}_resource_errors") ? send("#{format}_resource_errors") : resource.errors
|
270
|
+
respond_to?("#{format}_resource_errors", true) ? send("#{format}_resource_errors") : resource.errors
|
272
271
|
end
|
273
272
|
|
274
273
|
def json_resource_errors
|
@@ -82,6 +82,7 @@ module Mime
|
|
82
82
|
class << self
|
83
83
|
|
84
84
|
TRAILING_STAR_REGEXP = /(text|application)\/\*/
|
85
|
+
Q_SEPARATOR_REGEXP = /;\s*q=/
|
85
86
|
|
86
87
|
def lookup(string)
|
87
88
|
LOOKUP[string]
|
@@ -108,6 +109,7 @@ module Mime
|
|
108
109
|
|
109
110
|
def parse(accept_header)
|
110
111
|
if accept_header !~ /,/
|
112
|
+
accept_header = accept_header.split(Q_SEPARATOR_REGEXP).first
|
111
113
|
if accept_header =~ TRAILING_STAR_REGEXP
|
112
114
|
parse_data_with_trailing_star($1)
|
113
115
|
else
|
@@ -117,7 +119,7 @@ module Mime
|
|
117
119
|
# keep track of creation order to keep the subsequent sort stable
|
118
120
|
list, index = [], 0
|
119
121
|
accept_header.split(/,/).each do |header|
|
120
|
-
params, q = header.split(
|
122
|
+
params, q = header.split(Q_SEPARATOR_REGEXP)
|
121
123
|
if params.present?
|
122
124
|
params.strip!
|
123
125
|
|
@@ -93,8 +93,9 @@ module ActionDispatch
|
|
93
93
|
end
|
94
94
|
|
95
95
|
def swap(target, *args, &block)
|
96
|
-
|
97
|
-
|
96
|
+
index = assert_index(target, :before)
|
97
|
+
insert(index, *args, &block)
|
98
|
+
middlewares.delete_at(index + 1)
|
98
99
|
end
|
99
100
|
|
100
101
|
def delete(target)
|
@@ -11,14 +11,14 @@ module ActionDispatch
|
|
11
11
|
def match?(path)
|
12
12
|
path = path.dup
|
13
13
|
|
14
|
-
full_path = path.empty? ? @root : File.join(@root,
|
14
|
+
full_path = path.empty? ? @root : File.join(@root, escape_glob_chars(unescape_path(path)))
|
15
15
|
paths = "#{full_path}#{ext}"
|
16
16
|
|
17
17
|
matches = Dir[paths]
|
18
18
|
match = matches.detect { |m| File.file?(m) }
|
19
19
|
if match
|
20
20
|
match.sub!(@compiled_root, '')
|
21
|
-
match
|
21
|
+
::Rack::Utils.escape(match)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -32,6 +32,14 @@ module ActionDispatch
|
|
32
32
|
"{,#{ext},/index#{ext}}"
|
33
33
|
end
|
34
34
|
end
|
35
|
+
|
36
|
+
def unescape_path(path)
|
37
|
+
URI.parser.unescape(path)
|
38
|
+
end
|
39
|
+
|
40
|
+
def escape_glob_chars(path)
|
41
|
+
path.gsub(/[*?{}\[\]]/, "\\\\\\&")
|
42
|
+
end
|
35
43
|
end
|
36
44
|
|
37
45
|
class Static
|
@@ -31,6 +31,7 @@ module ActionDispatch
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def prepare_params!(params)
|
34
|
+
normalize_controller!(params)
|
34
35
|
merge_default_action!(params)
|
35
36
|
split_glob_param!(params) if @glob_param
|
36
37
|
end
|
@@ -66,6 +67,10 @@ module ActionDispatch
|
|
66
67
|
controller.action(action).call(env)
|
67
68
|
end
|
68
69
|
|
70
|
+
def normalize_controller!(params)
|
71
|
+
params[:controller] = params[:controller].underscore if params.key?(:controller)
|
72
|
+
end
|
73
|
+
|
69
74
|
def merge_default_action!(params)
|
70
75
|
params[:action] ||= 'index'
|
71
76
|
end
|
@@ -489,7 +494,7 @@ module ActionDispatch
|
|
489
494
|
# if the current controller is "foo/bar/baz" and :controller => "baz/bat"
|
490
495
|
# is specified, the controller becomes "foo/baz/bat"
|
491
496
|
def use_relative_controller!
|
492
|
-
if !named_route && different_controller?
|
497
|
+
if !named_route && different_controller? && !controller.start_with?("/")
|
493
498
|
old_parts = current_controller.split('/')
|
494
499
|
size = controller.count("/") + 1
|
495
500
|
parts = old_parts[0...-size] << controller
|
@@ -575,6 +580,7 @@ module ActionDispatch
|
|
575
580
|
|
576
581
|
path_addition, params = generate(path_options, path_segments || {})
|
577
582
|
path << path_addition
|
583
|
+
params.merge!(options[:params] || {})
|
578
584
|
|
579
585
|
ActionDispatch::Http::URL.url_for(options.merge!({
|
580
586
|
:path => path,
|
data/lib/action_pack/version.rb
CHANGED
@@ -1092,7 +1092,7 @@ module ActionView
|
|
1092
1092
|
else
|
1093
1093
|
add_default_name_and_id(options)
|
1094
1094
|
end
|
1095
|
-
hidden = tag("input", "name" => options["name"], "type" => "hidden", "value" => options[
|
1095
|
+
hidden = unchecked_value ? tag("input", "name" => options["name"], "type" => "hidden", "value" => unchecked_value, "disabled" => options["disabled"]) : ""
|
1096
1096
|
checkbox = tag("input", options)
|
1097
1097
|
(hidden + checkbox).html_safe
|
1098
1098
|
end
|
@@ -10,7 +10,7 @@ module ActionView
|
|
10
10
|
# generate a key, given to view paths, used in the resolver cache lookup. Since
|
11
11
|
# this key is generated just once during the request, it speeds up all cache accesses.
|
12
12
|
class LookupContext #:nodoc:
|
13
|
-
attr_accessor :prefixes
|
13
|
+
attr_accessor :prefixes, :rendered_format
|
14
14
|
|
15
15
|
mattr_accessor :fallbacks
|
16
16
|
@@fallbacks = FallbackFileSystemResolver.instances
|
@@ -180,23 +180,15 @@ module ActionView
|
|
180
180
|
|
181
181
|
def initialize(view_paths, details = {}, prefixes = [])
|
182
182
|
@details, @details_key = {}, nil
|
183
|
-
@
|
183
|
+
@skip_default_locale = false
|
184
184
|
@cache = true
|
185
185
|
@prefixes = prefixes
|
186
|
+
@rendered_format = nil
|
186
187
|
|
187
188
|
self.view_paths = view_paths
|
188
189
|
initialize_details(details)
|
189
190
|
end
|
190
191
|
|
191
|
-
# Freeze the current formats in the lookup context. By freezing them, you
|
192
|
-
# that next template lookups are not going to modify the formats. The con
|
193
|
-
# use this, to ensure that formats won't be further modified (as it does
|
194
|
-
def freeze_formats(formats, unless_frozen=false) #:nodoc:
|
195
|
-
return if unless_frozen && @frozen_formats
|
196
|
-
self.formats = formats
|
197
|
-
@frozen_formats = true
|
198
|
-
end
|
199
|
-
|
200
192
|
# Override formats= to expand ["*/*"] values and automatically
|
201
193
|
# add :html as fallback to :js.
|
202
194
|
def formats=(values)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ActionView
|
2
2
|
class AbstractRenderer #:nodoc:
|
3
3
|
delegate :find_template, :template_exists?, :with_fallbacks, :update_details,
|
4
|
-
:with_layout_format, :formats, :
|
4
|
+
:with_layout_format, :formats, :to => :@lookup_context
|
5
5
|
|
6
6
|
def initialize(lookup_context)
|
7
7
|
@lookup_context = lookup_context
|
@@ -8,7 +8,8 @@ module ActionView
|
|
8
8
|
@details = extract_details(options)
|
9
9
|
extract_format(options[:file] || options[:template], @details)
|
10
10
|
template = determine_template(options)
|
11
|
-
|
11
|
+
@lookup_context.rendered_format ||= template.formats.first
|
12
|
+
@lookup_context.formats = template.formats
|
12
13
|
render_template(template, options[:layout], options[:locals])
|
13
14
|
end
|
14
15
|
|
@@ -44,10 +44,6 @@ module ActionView
|
|
44
44
|
class_attribute :erb_trim_mode
|
45
45
|
self.erb_trim_mode = '-'
|
46
46
|
|
47
|
-
# Default format used by ERB.
|
48
|
-
class_attribute :default_format
|
49
|
-
self.default_format = Mime::HTML
|
50
|
-
|
51
47
|
# Default implementation used.
|
52
48
|
class_attribute :erb_implementation
|
53
49
|
self.erb_implementation = Erubis
|
data/lib/sprockets/assets.rake
CHANGED
@@ -6,7 +6,11 @@ namespace :assets do
|
|
6
6
|
groups = ENV['RAILS_GROUPS'] || 'assets'
|
7
7
|
args = [$0, task,"RAILS_ENV=#{env}","RAILS_GROUPS=#{groups}"]
|
8
8
|
args << "--trace" if Rake.application.options.trace
|
9
|
-
|
9
|
+
if $0 =~ /rake\.bat\Z/i
|
10
|
+
Kernel.exec $0, *args
|
11
|
+
else
|
12
|
+
fork ? ruby(*args) : Kernel.exec(FileUtils::RUBY, *args)
|
13
|
+
end
|
10
14
|
end
|
11
15
|
|
12
16
|
# We are currently running with no explicit bundler group
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 15424071
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
+
- 2
|
10
|
+
- rc
|
9
11
|
- 1
|
10
|
-
version: 3.2.
|
12
|
+
version: 3.2.2.rc1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- David Heinemeier Hansson
|
@@ -15,8 +17,7 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2012-
|
19
|
-
default_executable:
|
20
|
+
date: 2012-02-22 00:00:00 Z
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: activesupport
|
@@ -26,12 +27,14 @@ dependencies:
|
|
26
27
|
requirements:
|
27
28
|
- - "="
|
28
29
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
30
|
+
hash: 15424071
|
30
31
|
segments:
|
31
32
|
- 3
|
32
33
|
- 2
|
34
|
+
- 2
|
35
|
+
- rc
|
33
36
|
- 1
|
34
|
-
version: 3.2.
|
37
|
+
version: 3.2.2.rc1
|
35
38
|
type: :runtime
|
36
39
|
version_requirements: *id001
|
37
40
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +45,14 @@ dependencies:
|
|
42
45
|
requirements:
|
43
46
|
- - "="
|
44
47
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
48
|
+
hash: 15424071
|
46
49
|
segments:
|
47
50
|
- 3
|
48
51
|
- 2
|
52
|
+
- 2
|
53
|
+
- rc
|
49
54
|
- 1
|
50
|
-
version: 3.2.
|
55
|
+
version: 3.2.2.rc1
|
51
56
|
type: :runtime
|
52
57
|
version_requirements: *id002
|
53
58
|
- !ruby/object:Gem::Dependency
|
@@ -189,195 +194,194 @@ files:
|
|
189
194
|
- CHANGELOG.md
|
190
195
|
- README.rdoc
|
191
196
|
- MIT-LICENSE
|
192
|
-
- lib/
|
193
|
-
- lib/
|
194
|
-
- lib/
|
195
|
-
- lib/
|
196
|
-
- lib/
|
197
|
-
- lib/
|
198
|
-
- lib/
|
199
|
-
- lib/
|
200
|
-
- lib/
|
201
|
-
- lib/
|
202
|
-
- lib/
|
203
|
-
- lib/
|
204
|
-
- lib/
|
205
|
-
- lib/
|
206
|
-
- lib/
|
207
|
-
- lib/
|
208
|
-
- lib/
|
209
|
-
- lib/
|
210
|
-
- lib/
|
211
|
-
- lib/
|
212
|
-
- lib/
|
213
|
-
- lib/
|
214
|
-
- lib/
|
215
|
-
- lib/action_view/context.rb
|
216
|
-
- lib/action_view/flows.rb
|
217
|
-
- lib/action_view/base.rb
|
218
|
-
- lib/action_view/template.rb
|
219
|
-
- lib/action_view/lookup_context.rb
|
220
|
-
- lib/action_view/helpers.rb
|
221
|
-
- lib/action_view/asset_paths.rb
|
222
|
-
- lib/action_view/helpers/sanitize_helper.rb
|
223
|
-
- lib/action_view/helpers/controller_helper.rb
|
224
|
-
- lib/action_view/helpers/capture_helper.rb
|
225
|
-
- lib/action_view/helpers/javascript_helper.rb
|
226
|
-
- lib/action_view/helpers/tag_helper.rb
|
227
|
-
- lib/action_view/helpers/form_helper.rb
|
228
|
-
- lib/action_view/helpers/active_model_helper.rb
|
229
|
-
- lib/action_view/helpers/debug_helper.rb
|
230
|
-
- lib/action_view/helpers/form_options_helper.rb
|
231
|
-
- lib/action_view/helpers/form_tag_helper.rb
|
232
|
-
- lib/action_view/helpers/csrf_helper.rb
|
233
|
-
- lib/action_view/helpers/cache_helper.rb
|
234
|
-
- lib/action_view/helpers/date_helper.rb
|
235
|
-
- lib/action_view/helpers/translation_helper.rb
|
236
|
-
- lib/action_view/helpers/rendering_helper.rb
|
237
|
-
- lib/action_view/helpers/record_tag_helper.rb
|
238
|
-
- lib/action_view/helpers/asset_paths.rb
|
239
|
-
- lib/action_view/helpers/asset_tag_helper.rb
|
240
|
-
- lib/action_view/helpers/url_helper.rb
|
241
|
-
- lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
|
242
|
-
- lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
|
243
|
-
- lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb
|
244
|
-
- lib/action_view/helpers/asset_tag_helpers/asset_paths.rb
|
245
|
-
- lib/action_view/helpers/text_helper.rb
|
246
|
-
- lib/action_view/helpers/output_safety_helper.rb
|
247
|
-
- lib/action_view/helpers/number_helper.rb
|
248
|
-
- lib/action_view/helpers/atom_feed_helper.rb
|
249
|
-
- lib/action_view/log_subscriber.rb
|
250
|
-
- lib/action_view/path_set.rb
|
251
|
-
- lib/action_view/buffers.rb
|
252
|
-
- lib/action_view.rb
|
253
|
-
- lib/action_pack.rb
|
254
|
-
- lib/action_controller.rb
|
255
|
-
- lib/action_dispatch.rb
|
256
|
-
- lib/action_controller/railtie.rb
|
257
|
-
- lib/action_controller/metal/instrumentation.rb
|
258
|
-
- lib/action_controller/metal/head.rb
|
259
|
-
- lib/action_controller/metal/request_forgery_protection.rb
|
197
|
+
- lib/abstract_controller/asset_paths.rb
|
198
|
+
- lib/abstract_controller/base.rb
|
199
|
+
- lib/abstract_controller/callbacks.rb
|
200
|
+
- lib/abstract_controller/collector.rb
|
201
|
+
- lib/abstract_controller/helpers.rb
|
202
|
+
- lib/abstract_controller/layouts.rb
|
203
|
+
- lib/abstract_controller/logger.rb
|
204
|
+
- lib/abstract_controller/railties/routes_helpers.rb
|
205
|
+
- lib/abstract_controller/rendering.rb
|
206
|
+
- lib/abstract_controller/translation.rb
|
207
|
+
- lib/abstract_controller/url_for.rb
|
208
|
+
- lib/abstract_controller/view_paths.rb
|
209
|
+
- lib/abstract_controller.rb
|
210
|
+
- lib/action_controller/base.rb
|
211
|
+
- lib/action_controller/caching/actions.rb
|
212
|
+
- lib/action_controller/caching/fragments.rb
|
213
|
+
- lib/action_controller/caching/pages.rb
|
214
|
+
- lib/action_controller/caching/sweeping.rb
|
215
|
+
- lib/action_controller/caching.rb
|
216
|
+
- lib/action_controller/deprecated/integration_test.rb
|
217
|
+
- lib/action_controller/deprecated/performance_test.rb
|
218
|
+
- lib/action_controller/deprecated.rb
|
219
|
+
- lib/action_controller/log_subscriber.rb
|
260
220
|
- lib/action_controller/metal/compatibility.rb
|
221
|
+
- lib/action_controller/metal/conditional_get.rb
|
222
|
+
- lib/action_controller/metal/cookies.rb
|
223
|
+
- lib/action_controller/metal/data_streaming.rb
|
261
224
|
- lib/action_controller/metal/exceptions.rb
|
225
|
+
- lib/action_controller/metal/flash.rb
|
226
|
+
- lib/action_controller/metal/force_ssl.rb
|
227
|
+
- lib/action_controller/metal/head.rb
|
228
|
+
- lib/action_controller/metal/helpers.rb
|
262
229
|
- lib/action_controller/metal/hide_actions.rb
|
263
|
-
- lib/action_controller/metal/
|
230
|
+
- lib/action_controller/metal/http_authentication.rb
|
231
|
+
- lib/action_controller/metal/implicit_render.rb
|
232
|
+
- lib/action_controller/metal/instrumentation.rb
|
233
|
+
- lib/action_controller/metal/mime_responds.rb
|
234
|
+
- lib/action_controller/metal/params_wrapper.rb
|
235
|
+
- lib/action_controller/metal/rack_delegation.rb
|
236
|
+
- lib/action_controller/metal/redirecting.rb
|
264
237
|
- lib/action_controller/metal/renderers.rb
|
265
|
-
- lib/action_controller/metal/conditional_get.rb
|
266
238
|
- lib/action_controller/metal/rendering.rb
|
239
|
+
- lib/action_controller/metal/request_forgery_protection.rb
|
240
|
+
- lib/action_controller/metal/rescue.rb
|
267
241
|
- lib/action_controller/metal/responder.rb
|
268
|
-
- lib/action_controller/metal/
|
269
|
-
- lib/action_controller/metal/data_streaming.rb
|
270
|
-
- lib/action_controller/metal/force_ssl.rb
|
242
|
+
- lib/action_controller/metal/session_management.rb
|
271
243
|
- lib/action_controller/metal/streaming.rb
|
272
244
|
- lib/action_controller/metal/testing.rb
|
273
|
-
- lib/action_controller/metal/mime_responds.rb
|
274
|
-
- lib/action_controller/metal/rescue.rb
|
275
|
-
- lib/action_controller/metal/implicit_render.rb
|
276
|
-
- lib/action_controller/metal/redirecting.rb
|
277
|
-
- lib/action_controller/metal/session_management.rb
|
278
|
-
- lib/action_controller/metal/rack_delegation.rb
|
279
|
-
- lib/action_controller/metal/flash.rb
|
280
|
-
- lib/action_controller/metal/http_authentication.rb
|
281
|
-
- lib/action_controller/metal/params_wrapper.rb
|
282
245
|
- lib/action_controller/metal/url_for.rb
|
246
|
+
- lib/action_controller/metal.rb
|
247
|
+
- lib/action_controller/middleware.rb
|
248
|
+
- lib/action_controller/railtie.rb
|
283
249
|
- lib/action_controller/railties/paths.rb
|
250
|
+
- lib/action_controller/record_identifier.rb
|
284
251
|
- lib/action_controller/test_case.rb
|
285
|
-
- lib/action_controller/middleware.rb
|
286
|
-
- lib/action_controller/base.rb
|
287
|
-
- lib/action_controller/deprecated/integration_test.rb
|
288
|
-
- lib/action_controller/deprecated/performance_test.rb
|
289
|
-
- lib/action_controller/metal.rb
|
290
252
|
- lib/action_controller/vendor/html-scanner/html/document.rb
|
291
|
-
- lib/action_controller/vendor/html-scanner/html/tokenizer.rb
|
292
|
-
- lib/action_controller/vendor/html-scanner/html/selector.rb
|
293
|
-
- lib/action_controller/vendor/html-scanner/html/sanitizer.rb
|
294
253
|
- lib/action_controller/vendor/html-scanner/html/node.rb
|
254
|
+
- lib/action_controller/vendor/html-scanner/html/sanitizer.rb
|
255
|
+
- lib/action_controller/vendor/html-scanner/html/selector.rb
|
256
|
+
- lib/action_controller/vendor/html-scanner/html/tokenizer.rb
|
295
257
|
- lib/action_controller/vendor/html-scanner/html/version.rb
|
296
258
|
- lib/action_controller/vendor/html-scanner.rb
|
297
|
-
- lib/action_controller
|
298
|
-
- lib/
|
299
|
-
- lib/
|
300
|
-
- lib/
|
301
|
-
- lib/
|
302
|
-
- lib/
|
303
|
-
- lib/
|
304
|
-
- lib/
|
305
|
-
- lib/
|
306
|
-
- lib/
|
307
|
-
- lib/action_dispatch/
|
308
|
-
- lib/action_dispatch/
|
309
|
-
- lib/action_dispatch/
|
310
|
-
- lib/action_dispatch/
|
311
|
-
- lib/action_dispatch/middleware/
|
312
|
-
- lib/action_dispatch/middleware/reloader.rb
|
313
|
-
- lib/action_dispatch/middleware/static.rb
|
314
|
-
- lib/action_dispatch/middleware/head.rb
|
259
|
+
- lib/action_controller.rb
|
260
|
+
- lib/action_dispatch/http/cache.rb
|
261
|
+
- lib/action_dispatch/http/filter_parameters.rb
|
262
|
+
- lib/action_dispatch/http/headers.rb
|
263
|
+
- lib/action_dispatch/http/mime_negotiation.rb
|
264
|
+
- lib/action_dispatch/http/mime_type.rb
|
265
|
+
- lib/action_dispatch/http/mime_types.rb
|
266
|
+
- lib/action_dispatch/http/parameter_filter.rb
|
267
|
+
- lib/action_dispatch/http/parameters.rb
|
268
|
+
- lib/action_dispatch/http/rack_cache.rb
|
269
|
+
- lib/action_dispatch/http/request.rb
|
270
|
+
- lib/action_dispatch/http/response.rb
|
271
|
+
- lib/action_dispatch/http/upload.rb
|
272
|
+
- lib/action_dispatch/http/url.rb
|
273
|
+
- lib/action_dispatch/middleware/best_standards_support.rb
|
315
274
|
- lib/action_dispatch/middleware/body_proxy.rb
|
275
|
+
- lib/action_dispatch/middleware/callbacks.rb
|
316
276
|
- lib/action_dispatch/middleware/cookies.rb
|
317
|
-
- lib/action_dispatch/middleware/
|
277
|
+
- lib/action_dispatch/middleware/debug_exceptions.rb
|
318
278
|
- lib/action_dispatch/middleware/exception_wrapper.rb
|
319
|
-
- lib/action_dispatch/middleware/params_parser.rb
|
320
|
-
- lib/action_dispatch/middleware/callbacks.rb
|
321
|
-
- lib/action_dispatch/middleware/show_exceptions.rb
|
322
|
-
- lib/action_dispatch/middleware/rescue.rb
|
323
|
-
- lib/action_dispatch/middleware/remote_ip.rb
|
324
|
-
- lib/action_dispatch/middleware/best_standards_support.rb
|
325
279
|
- lib/action_dispatch/middleware/flash.rb
|
280
|
+
- lib/action_dispatch/middleware/head.rb
|
281
|
+
- lib/action_dispatch/middleware/params_parser.rb
|
326
282
|
- lib/action_dispatch/middleware/public_exceptions.rb
|
327
|
-
- lib/action_dispatch/middleware/
|
283
|
+
- lib/action_dispatch/middleware/reloader.rb
|
284
|
+
- lib/action_dispatch/middleware/remote_ip.rb
|
328
285
|
- lib/action_dispatch/middleware/request_id.rb
|
329
|
-
- lib/action_dispatch/middleware/
|
330
|
-
- lib/action_dispatch/middleware/
|
286
|
+
- lib/action_dispatch/middleware/rescue.rb
|
287
|
+
- lib/action_dispatch/middleware/session/abstract_store.rb
|
288
|
+
- lib/action_dispatch/middleware/session/cache_store.rb
|
289
|
+
- lib/action_dispatch/middleware/session/cookie_store.rb
|
290
|
+
- lib/action_dispatch/middleware/session/mem_cache_store.rb
|
291
|
+
- lib/action_dispatch/middleware/show_exceptions.rb
|
292
|
+
- lib/action_dispatch/middleware/stack.rb
|
293
|
+
- lib/action_dispatch/middleware/static.rb
|
294
|
+
- lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
|
331
295
|
- lib/action_dispatch/middleware/templates/rescues/_trace.erb
|
296
|
+
- lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
|
332
297
|
- lib/action_dispatch/middleware/templates/rescues/layout.erb
|
333
298
|
- lib/action_dispatch/middleware/templates/rescues/missing_template.erb
|
334
|
-
- lib/action_dispatch/middleware/templates/rescues/
|
335
|
-
- lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
|
299
|
+
- lib/action_dispatch/middleware/templates/rescues/routing_error.erb
|
336
300
|
- lib/action_dispatch/middleware/templates/rescues/template_error.erb
|
337
|
-
- lib/action_dispatch/
|
338
|
-
- lib/action_dispatch/
|
301
|
+
- lib/action_dispatch/middleware/templates/rescues/unknown_action.erb
|
302
|
+
- lib/action_dispatch/railtie.rb
|
303
|
+
- lib/action_dispatch/routing/mapper.rb
|
339
304
|
- lib/action_dispatch/routing/polymorphic_routes.rb
|
305
|
+
- lib/action_dispatch/routing/redirection.rb
|
340
306
|
- lib/action_dispatch/routing/route_set.rb
|
341
|
-
- lib/action_dispatch/routing/
|
307
|
+
- lib/action_dispatch/routing/routes_proxy.rb
|
342
308
|
- lib/action_dispatch/routing/url_for.rb
|
343
|
-
- lib/action_dispatch/
|
344
|
-
- lib/action_dispatch/testing/performance_test.rb
|
345
|
-
- lib/action_dispatch/testing/assertions.rb
|
346
|
-
- lib/action_dispatch/testing/test_response.rb
|
347
|
-
- lib/action_dispatch/testing/assertions/tag.rb
|
348
|
-
- lib/action_dispatch/testing/assertions/response.rb
|
309
|
+
- lib/action_dispatch/routing.rb
|
349
310
|
- lib/action_dispatch/testing/assertions/dom.rb
|
350
|
-
- lib/action_dispatch/testing/assertions/
|
311
|
+
- lib/action_dispatch/testing/assertions/response.rb
|
351
312
|
- lib/action_dispatch/testing/assertions/routing.rb
|
352
|
-
- lib/action_dispatch/testing/
|
313
|
+
- lib/action_dispatch/testing/assertions/selector.rb
|
314
|
+
- lib/action_dispatch/testing/assertions/tag.rb
|
315
|
+
- lib/action_dispatch/testing/assertions.rb
|
353
316
|
- lib/action_dispatch/testing/integration.rb
|
354
|
-
- lib/action_dispatch/
|
355
|
-
- lib/action_dispatch/
|
356
|
-
- lib/action_dispatch/
|
357
|
-
- lib/action_dispatch/
|
358
|
-
- lib/action_dispatch
|
359
|
-
- lib/
|
360
|
-
- lib/
|
361
|
-
- lib/
|
362
|
-
- lib/
|
363
|
-
- lib/
|
364
|
-
- lib/
|
365
|
-
- lib/
|
366
|
-
- lib/
|
367
|
-
- lib/
|
368
|
-
- lib/
|
369
|
-
- lib/
|
370
|
-
- lib/
|
371
|
-
- lib/
|
372
|
-
- lib/
|
373
|
-
- lib/
|
374
|
-
- lib/
|
375
|
-
- lib/
|
376
|
-
- lib/
|
377
|
-
- lib/
|
378
|
-
- lib/
|
379
|
-
- lib/
|
380
|
-
|
317
|
+
- lib/action_dispatch/testing/performance_test.rb
|
318
|
+
- lib/action_dispatch/testing/test_process.rb
|
319
|
+
- lib/action_dispatch/testing/test_request.rb
|
320
|
+
- lib/action_dispatch/testing/test_response.rb
|
321
|
+
- lib/action_dispatch.rb
|
322
|
+
- lib/action_pack/version.rb
|
323
|
+
- lib/action_pack.rb
|
324
|
+
- lib/action_view/asset_paths.rb
|
325
|
+
- lib/action_view/base.rb
|
326
|
+
- lib/action_view/buffers.rb
|
327
|
+
- lib/action_view/context.rb
|
328
|
+
- lib/action_view/flows.rb
|
329
|
+
- lib/action_view/helpers/active_model_helper.rb
|
330
|
+
- lib/action_view/helpers/asset_paths.rb
|
331
|
+
- lib/action_view/helpers/asset_tag_helper.rb
|
332
|
+
- lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
|
333
|
+
- lib/action_view/helpers/asset_tag_helpers/asset_paths.rb
|
334
|
+
- lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb
|
335
|
+
- lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
|
336
|
+
- lib/action_view/helpers/atom_feed_helper.rb
|
337
|
+
- lib/action_view/helpers/cache_helper.rb
|
338
|
+
- lib/action_view/helpers/capture_helper.rb
|
339
|
+
- lib/action_view/helpers/controller_helper.rb
|
340
|
+
- lib/action_view/helpers/csrf_helper.rb
|
341
|
+
- lib/action_view/helpers/date_helper.rb
|
342
|
+
- lib/action_view/helpers/debug_helper.rb
|
343
|
+
- lib/action_view/helpers/form_helper.rb
|
344
|
+
- lib/action_view/helpers/form_options_helper.rb
|
345
|
+
- lib/action_view/helpers/form_tag_helper.rb
|
346
|
+
- lib/action_view/helpers/javascript_helper.rb
|
347
|
+
- lib/action_view/helpers/number_helper.rb
|
348
|
+
- lib/action_view/helpers/output_safety_helper.rb
|
349
|
+
- lib/action_view/helpers/record_tag_helper.rb
|
350
|
+
- lib/action_view/helpers/rendering_helper.rb
|
351
|
+
- lib/action_view/helpers/sanitize_helper.rb
|
352
|
+
- lib/action_view/helpers/tag_helper.rb
|
353
|
+
- lib/action_view/helpers/text_helper.rb
|
354
|
+
- lib/action_view/helpers/translation_helper.rb
|
355
|
+
- lib/action_view/helpers/url_helper.rb
|
356
|
+
- lib/action_view/helpers.rb
|
357
|
+
- lib/action_view/locale/en.yml
|
358
|
+
- lib/action_view/log_subscriber.rb
|
359
|
+
- lib/action_view/lookup_context.rb
|
360
|
+
- lib/action_view/path_set.rb
|
361
|
+
- lib/action_view/railtie.rb
|
362
|
+
- lib/action_view/renderer/abstract_renderer.rb
|
363
|
+
- lib/action_view/renderer/partial_renderer.rb
|
364
|
+
- lib/action_view/renderer/renderer.rb
|
365
|
+
- lib/action_view/renderer/streaming_template_renderer.rb
|
366
|
+
- lib/action_view/renderer/template_renderer.rb
|
367
|
+
- lib/action_view/template/error.rb
|
368
|
+
- lib/action_view/template/handlers/builder.rb
|
369
|
+
- lib/action_view/template/handlers/erb.rb
|
370
|
+
- lib/action_view/template/handlers.rb
|
371
|
+
- lib/action_view/template/resolver.rb
|
372
|
+
- lib/action_view/template/text.rb
|
373
|
+
- lib/action_view/template.rb
|
374
|
+
- lib/action_view/test_case.rb
|
375
|
+
- lib/action_view/testing/resolvers.rb
|
376
|
+
- lib/action_view.rb
|
377
|
+
- lib/sprockets/assets.rake
|
378
|
+
- lib/sprockets/bootstrap.rb
|
379
|
+
- lib/sprockets/compressors.rb
|
380
|
+
- lib/sprockets/helpers/isolated_helper.rb
|
381
|
+
- lib/sprockets/helpers/rails_helper.rb
|
382
|
+
- lib/sprockets/helpers.rb
|
383
|
+
- lib/sprockets/railtie.rb
|
384
|
+
- lib/sprockets/static_compiler.rb
|
381
385
|
homepage: http://www.rubyonrails.org
|
382
386
|
licenses: []
|
383
387
|
|
@@ -400,16 +404,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
404
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
401
405
|
none: false
|
402
406
|
requirements:
|
403
|
-
- - "
|
407
|
+
- - ">"
|
404
408
|
- !ruby/object:Gem::Version
|
405
|
-
hash:
|
409
|
+
hash: 25
|
406
410
|
segments:
|
407
|
-
-
|
408
|
-
|
411
|
+
- 1
|
412
|
+
- 3
|
413
|
+
- 1
|
414
|
+
version: 1.3.1
|
409
415
|
requirements:
|
410
416
|
- none
|
411
417
|
rubyforge_project:
|
412
|
-
rubygems_version: 1.
|
418
|
+
rubygems_version: 1.8.16
|
413
419
|
signing_key:
|
414
420
|
specification_version: 3
|
415
421
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|