actionpack 3.1.1 → 3.1.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.

@@ -213,7 +213,7 @@ module AbstractController
213
213
  # true:: raise an ArgumentError
214
214
  #
215
215
  # ==== Parameters
216
- # * <tt>String, Symbol, false</tt> - The layout to use.
216
+ # * <tt>layout</tt> - The layout to use.
217
217
  #
218
218
  # ==== Options (conditions)
219
219
  # * :only - A list of actions to apply this layout to.
@@ -310,14 +310,10 @@ module AbstractController
310
310
  # This will be overwritten by _write_layout_method
311
311
  def _layout; end
312
312
 
313
- # Determine the layout for a given name and details, taking into account
314
- # the name type.
313
+ # Determine the layout for a given name, taking into account the name type.
315
314
  #
316
315
  # ==== Parameters
317
316
  # * <tt>name</tt> - The name of the template
318
- # * <tt>details</tt> - A list of details to restrict
319
- # the lookup to. By default, layout lookup is limited to the
320
- # formats specified for the current request.
321
317
  def _layout_for_option(name)
322
318
  case name
323
319
  when String then name
@@ -330,15 +326,12 @@ module AbstractController
330
326
  end
331
327
  end
332
328
 
333
- # Returns the default layout for this controller and a given set of details.
329
+ # Returns the default layout for this controller.
334
330
  # Optionally raises an exception if the layout could not be found.
335
331
  #
336
332
  # ==== Parameters
337
- # * <tt>details</tt> - A list of details to restrict the search by. This
338
- # might include details like the format or locale of the template.
339
- # * <tt>require_layout</tt> - If this is true, raise an ArgumentError
340
- # with details about the fact that the exception could not be
341
- # found (defaults to false)
333
+ # * <tt>require_layout</tt> - If set to true and layout is not found,
334
+ # an ArgumentError exception is raised (defaults to false)
342
335
  #
343
336
  # ==== Returns
344
337
  # * <tt>template</tt> - The template object for the default layout (or nil)
@@ -50,7 +50,7 @@ module ActionController
50
50
  #
51
51
  # All request parameters, whether they come from a GET or POST request, or from the URL, are available through the params method
52
52
  # which returns a hash. For example, an action that was performed through <tt>/posts?category=All&limit=5</tt> will include
53
- # <tt>{ "category" => "All", "limit" => 5 }</tt> in params.
53
+ # <tt>{ "category" => "All", "limit" => "5" }</tt> in params.
54
54
  #
55
55
  # It's also possible to construct multi-dimensional parameter hashes by specifying keys using brackets, such as:
56
56
  #
@@ -175,7 +175,7 @@ module ActionController #:nodoc:
175
175
  private
176
176
  def normalize!(path)
177
177
  path << 'index' if path[-1] == ?/
178
- path << ".#{extension}" if extension and !path.ends_with?(extension)
178
+ path << ".#{extension}" if extension and !path.split('?').first.ends_with?(".#{extension}")
179
179
  URI.parser.unescape(path)
180
180
  end
181
181
  end
@@ -30,7 +30,7 @@ module ActionController #:nodoc:
30
30
  # either a string or a symbol for a registered type register with <tt>Mime::Type.register</tt>, for example :json
31
31
  # * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
32
32
  # Valid values are 'inline' and 'attachment' (default).
33
- # * <tt>:status</tt> - specifies the status code to send with the response. Defaults to '200 OK'.
33
+ # * <tt>:status</tt> - specifies the status code to send with the response. Defaults to 200.
34
34
  # * <tt>:url_based_filename</tt> - set to +true+ if you want the browser guess the filename from
35
35
  # the URL, which is necessary for i18n filenames on certain browsers
36
36
  # (setting <tt>:filename</tt> overrides this option).
@@ -86,7 +86,7 @@ module ActionController #:nodoc:
86
86
  # either a string or a symbol for a registered type register with <tt>Mime::Type.register</tt>, for example :json
87
87
  # * <tt>:disposition</tt> - specifies whether the file will be shown inline or downloaded.
88
88
  # Valid values are 'inline' and 'attachment' (default).
89
- # * <tt>:status</tt> - specifies the status code to send with the response. Defaults to '200 OK'.
89
+ # * <tt>:status</tt> - specifies the status code to send with the response. Defaults to 200.
90
90
  #
91
91
  # Generic data download:
92
92
  #
@@ -9,6 +9,8 @@ module ActionController
9
9
  #
10
10
  # head :created, :location => person_path(@person)
11
11
  #
12
+ # head :created, :location => @person
13
+ #
12
14
  # It can also be used to return exceptional conditions:
13
15
  #
14
16
  # return head(:method_not_allowed) unless request.post?
@@ -4,7 +4,7 @@ require 'html/selector'
4
4
  require 'html/sanitizer'
5
5
 
6
6
  module HTML #:nodoc:
7
- # A top-level HTMl document. You give it a body of text, and it will parse that
7
+ # A top-level HTML document. You give it a body of text, and it will parse that
8
8
  # text into a tree of nodes.
9
9
  class Document #:nodoc:
10
10
 
@@ -64,7 +64,7 @@ module ActionDispatch
64
64
  end
65
65
 
66
66
  def host_or_subdomain_and_domain(options)
67
- return options[:host] unless options[:subdomain] || options[:domain]
67
+ return options[:host] unless (options[:subdomain] || options[:domain]) && named_host?(options[:host])
68
68
 
69
69
  tld_length = options[:tld_length] || @@tld_length
70
70
 
@@ -70,6 +70,10 @@ module ActionDispatch
70
70
  end
71
71
  end
72
72
 
73
+ # Implementation detail: please do not change the signature of the
74
+ # FlashHash class. Doing that will likely affect all Rails apps in
75
+ # production as the FlashHash currently stored in their sessions will
76
+ # become invalid.
73
77
  class FlashHash
74
78
  include Enumerable
75
79
 
@@ -62,6 +62,9 @@ module ActionDispatch
62
62
  raise ActionDispatch::Session::SessionRestoreError, "Session contains objects whose class definition isn't available.\nRemember to require the classes for all objects kept in the session.\n(Original exception: #{const_error.message} [#{const_error.class}])\n"
63
63
  end
64
64
  retry
65
+ elsif argument_error.message =~ %r{dump format error \(user class\)}
66
+ # Error unmarshalling object from session.
67
+ {}
65
68
  else
66
69
  raise
67
70
  end
@@ -702,7 +702,7 @@ module ActionDispatch
702
702
  # Allows you to constrain the nested routes based on a set of rules.
703
703
  # For instance, in order to change the routes to allow for a dot character in the +id+ parameter:
704
704
  #
705
- # constraints(:id => /\d+\.\d+) do
705
+ # constraints(:id => /\d+\.\d+/) do
706
706
  # resources :posts
707
707
  # end
708
708
  #
@@ -712,7 +712,7 @@ module ActionDispatch
712
712
  # You may use this to also restrict other parameters:
713
713
  #
714
714
  # resources :posts do
715
- # constraints(:post_id => /\d+\.\d+) do
715
+ # constraints(:post_id => /\d+\.\d+/) do
716
716
  # resources :comments
717
717
  # end
718
718
  # end
@@ -741,7 +741,7 @@ module ActionDispatch
741
741
  # if the user should be given access to that route, or +false+ if the user should not.
742
742
  #
743
743
  # class Iphone
744
- # def self.matches(request)
744
+ # def self.matches?(request)
745
745
  # request.env["HTTP_USER_AGENT"] =~ /iPhone/
746
746
  # end
747
747
  # end
@@ -2,8 +2,8 @@ module ActionPack
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- TINY = 1
6
- PRE = nil
5
+ TINY = 2
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
@@ -119,10 +119,10 @@ module ActionView
119
119
  # # <script type="text/javascript" src="/elsewhere/cools.js?1423139606"></script>
120
120
  #
121
121
  # javascript_include_tag "http://www.example.com/xmlhr"
122
- # # => <script type="text/javascript" src="http://www.example.com/xmlhr.js?1284139606"></script>
122
+ # # => <script type="text/javascript" src="http://www.example.com/xmlhr"></script>
123
123
  #
124
124
  # javascript_include_tag "http://www.example.com/xmlhr.js"
125
- # # => <script type="text/javascript" src="http://www.example.com/xmlhr.js?1284139606"></script>
125
+ # # => <script type="text/javascript" src="http://www.example.com/xmlhr.js"></script>
126
126
  #
127
127
  # javascript_include_tag :defaults
128
128
  # # => <script type="text/javascript" src="/javascripts/jquery.js?1284139606"></script>
@@ -637,7 +637,7 @@ module ActionView
637
637
  # # => <label for="post_privacy_public">Public Post</label>
638
638
  #
639
639
  # label(:post, :terms) do
640
- # 'Accept <a href="/terms">Terms</a>.'
640
+ # 'Accept <a href="/terms">Terms</a>.'.html_safe
641
641
  # end
642
642
  def label(object_name, method, content_or_options = nil, options = nil, &block)
643
643
  content_is_options = content_or_options.is_a?(Hash)
@@ -726,7 +726,7 @@ module ActionView
726
726
  # # => <input type="file" id="user_avatar" name="user[avatar]" />
727
727
  #
728
728
  # file_field(:post, :attached, :accept => 'text/html')
729
- # # => <input type="file" id="post_attached" name="post[attached]" />
729
+ # # => <input accept="text/html" type="file" id="post_attached" name="post[attached]" />
730
730
  #
731
731
  # file_field(:attachment, :file, :class => 'file_input')
732
732
  # # => <input type="file" id="attachment_file" name="attachment[file]" class="file_input" />
@@ -85,7 +85,7 @@ module ActionView
85
85
  # If +html_options+ has an <tt>:onclick</tt>, that one is put before +function+. Once all
86
86
  # the JavaScript is set, the helper appends "; return false;".
87
87
  #
88
- # The +href+ attribute of the tag is set to "#" unles +html_options+ has one.
88
+ # The +href+ attribute of the tag is set to "#" unless +html_options+ has one.
89
89
  #
90
90
  # link_to_function "Greeting", "alert('Hello world!')", :class => "nav_link"
91
91
  # # => <a class="nav_link" href="#" onclick="alert('Hello world!'); return false;">Greeting</a>
@@ -100,10 +100,10 @@ module ActionView
100
100
  # number_to_currency(1234567890.50) # => $1,234,567,890.50
101
101
  # number_to_currency(1234567890.506) # => $1,234,567,890.51
102
102
  # number_to_currency(1234567890.506, :precision => 3) # => $1,234,567,890.506
103
- # number_to_currency(1234567890.506, :locale => :fr) # => 1 234 567 890,506
103
+ # number_to_currency(1234567890.506, :locale => :fr) # => 1 234 567 890,51
104
104
  #
105
105
  # number_to_currency(-1234567890.50, :negative_format => "(%u%n)")
106
- # # => ($1,234,567,890.51)
106
+ # # => ($1,234,567,890.50)
107
107
  # number_to_currency(1234567890.50, :unit => "&pound;", :separator => ",", :delimiter => "")
108
108
  # # => &pound;1234567890,50
109
109
  # number_to_currency(1234567890.50, :unit => "&pound;", :separator => ",", :delimiter => "", :format => "%n %u")
@@ -629,7 +629,9 @@ module ActionView
629
629
  end
630
630
 
631
631
  def add_method_to_attributes!(html_options, method)
632
- html_options["rel"] = "nofollow" if method.to_s.downcase != "get"
632
+ if method && method.to_s.downcase != "get"
633
+ html_options["rel"] = "#{html_options["rel"].to_s} nofollow".split(" ").uniq.join(" ")
634
+ end
633
635
  html_options["data-method"] = method
634
636
  end
635
637
 
@@ -3,6 +3,32 @@ require 'active_support/core_ext/object/blank'
3
3
  require 'active_support/core_ext/object/try'
4
4
  require 'active_support/core_ext/kernel/singleton_class'
5
5
 
6
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.9.3' && RUBY_PATCHLEVEL == 0
7
+ # This is a hack to work around a bug in Ruby 1.9.3p0:
8
+ # http://redmine.ruby-lang.org/issues/5564
9
+ #
10
+ # Basically, at runtime we may need to perform some encoding conversions on the templates,
11
+ # but if the converter hasn't been loaded by Ruby beforehand (i.e. now), then it won't be
12
+ # able to find it (due to a bug).
13
+ #
14
+ # However, we don't know what conversions we may need to do a runtime. So we load up a
15
+ # marshal-dumped structure which contains a pre-generated list of all the possible conversions,
16
+ # and we load all of them.
17
+ #
18
+ # In my testing this increased the process size by about 3.9 MB (after the conversions array
19
+ # is GC'd) and took around 170ms to run, which seems acceptable for a workaround.
20
+ #
21
+ # The script to dump the conversions is: https://gist.github.com/1342729
22
+
23
+ filename = File.join(File.dirname(__FILE__), 'data', 'encoding_conversions.dump')
24
+ conversions = Marshal.load(File.read(filename))
25
+ conversions.each do |from, to_array|
26
+ to_array.each do |to|
27
+ Encoding::Converter.new(from, to)
28
+ end
29
+ end
30
+ end
31
+
6
32
  module ActionView
7
33
  # = Action View Template
8
34
  class Template
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: 1
5
- prerelease: false
4
+ hash: 15424119
5
+ prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
+ - 2
10
+ - rc
9
11
  - 1
10
- version: 3.1.1
12
+ version: 3.1.2.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - David Heinemeier Hansson
@@ -15,45 +17,49 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2011-10-07 00:00:00 -02:00
19
- default_executable:
20
+ date: 2011-11-14 00:00:00 Z
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: activesupport
24
+ type: :runtime
23
25
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
27
  none: false
26
28
  requirements:
27
29
  - - "="
28
30
  - !ruby/object:Gem::Version
29
- hash: 1
31
+ hash: 15424119
30
32
  segments:
31
33
  - 3
32
34
  - 1
35
+ - 2
36
+ - rc
33
37
  - 1
34
- version: 3.1.1
35
- type: :runtime
36
- version_requirements: *id001
38
+ version: 3.1.2.rc1
39
+ requirement: *id001
37
40
  - !ruby/object:Gem::Dependency
38
41
  name: activemodel
42
+ type: :runtime
39
43
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
44
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
45
  none: false
42
46
  requirements:
43
47
  - - "="
44
48
  - !ruby/object:Gem::Version
45
- hash: 1
49
+ hash: 15424119
46
50
  segments:
47
51
  - 3
48
52
  - 1
53
+ - 2
54
+ - rc
49
55
  - 1
50
- version: 3.1.1
51
- type: :runtime
52
- version_requirements: *id002
56
+ version: 3.1.2.rc1
57
+ requirement: *id002
53
58
  - !ruby/object:Gem::Dependency
54
59
  name: rack-cache
60
+ type: :runtime
55
61
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
62
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
63
  none: false
58
64
  requirements:
59
65
  - - ~>
@@ -63,12 +69,12 @@ dependencies:
63
69
  - 1
64
70
  - 1
65
71
  version: "1.1"
66
- type: :runtime
67
- version_requirements: *id003
72
+ requirement: *id003
68
73
  - !ruby/object:Gem::Dependency
69
74
  name: builder
75
+ type: :runtime
70
76
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
77
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
78
  none: false
73
79
  requirements:
74
80
  - - ~>
@@ -79,12 +85,12 @@ dependencies:
79
85
  - 0
80
86
  - 0
81
87
  version: 3.0.0
82
- type: :runtime
83
- version_requirements: *id004
88
+ requirement: *id004
84
89
  - !ruby/object:Gem::Dependency
85
90
  name: i18n
91
+ type: :runtime
86
92
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
93
+ version_requirements: &id005 !ruby/object:Gem::Requirement
88
94
  none: false
89
95
  requirements:
90
96
  - - ~>
@@ -94,28 +100,28 @@ dependencies:
94
100
  - 0
95
101
  - 6
96
102
  version: "0.6"
97
- type: :runtime
98
- version_requirements: *id005
103
+ requirement: *id005
99
104
  - !ruby/object:Gem::Dependency
100
105
  name: rack
106
+ type: :runtime
101
107
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
108
+ version_requirements: &id006 !ruby/object:Gem::Requirement
103
109
  none: false
104
110
  requirements:
105
111
  - - ~>
106
112
  - !ruby/object:Gem::Version
107
- hash: 31
113
+ hash: 17
108
114
  segments:
109
115
  - 1
110
116
  - 3
111
- - 2
112
- version: 1.3.2
113
- type: :runtime
114
- version_requirements: *id006
117
+ - 5
118
+ version: 1.3.5
119
+ requirement: *id006
115
120
  - !ruby/object:Gem::Dependency
116
121
  name: rack-test
122
+ type: :runtime
117
123
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
124
+ version_requirements: &id007 !ruby/object:Gem::Requirement
119
125
  none: false
120
126
  requirements:
121
127
  - - ~>
@@ -126,12 +132,12 @@ dependencies:
126
132
  - 6
127
133
  - 1
128
134
  version: 0.6.1
129
- type: :runtime
130
- version_requirements: *id007
135
+ requirement: *id007
131
136
  - !ruby/object:Gem::Dependency
132
137
  name: rack-mount
138
+ type: :runtime
133
139
  prerelease: false
134
- requirement: &id008 !ruby/object:Gem::Requirement
140
+ version_requirements: &id008 !ruby/object:Gem::Requirement
135
141
  none: false
136
142
  requirements:
137
143
  - - ~>
@@ -142,12 +148,12 @@ dependencies:
142
148
  - 8
143
149
  - 2
144
150
  version: 0.8.2
145
- type: :runtime
146
- version_requirements: *id008
151
+ requirement: *id008
147
152
  - !ruby/object:Gem::Dependency
148
153
  name: sprockets
154
+ type: :runtime
149
155
  prerelease: false
150
- requirement: &id009 !ruby/object:Gem::Requirement
156
+ version_requirements: &id009 !ruby/object:Gem::Requirement
151
157
  none: false
152
158
  requirements:
153
159
  - - ~>
@@ -155,15 +161,15 @@ dependencies:
155
161
  hash: 11
156
162
  segments:
157
163
  - 2
164
+ - 1
158
165
  - 0
159
- - 2
160
- version: 2.0.2
161
- type: :runtime
162
- version_requirements: *id009
166
+ version: 2.1.0
167
+ requirement: *id009
163
168
  - !ruby/object:Gem::Dependency
164
169
  name: erubis
170
+ type: :runtime
165
171
  prerelease: false
166
- requirement: &id010 !ruby/object:Gem::Requirement
172
+ version_requirements: &id010 !ruby/object:Gem::Requirement
167
173
  none: false
168
174
  requirements:
169
175
  - - ~>
@@ -174,12 +180,12 @@ dependencies:
174
180
  - 7
175
181
  - 0
176
182
  version: 2.7.0
177
- type: :runtime
178
- version_requirements: *id010
183
+ requirement: *id010
179
184
  - !ruby/object:Gem::Dependency
180
185
  name: tzinfo
186
+ type: :development
181
187
  prerelease: false
182
- requirement: &id011 !ruby/object:Gem::Requirement
188
+ version_requirements: &id011 !ruby/object:Gem::Requirement
183
189
  none: false
184
190
  requirements:
185
191
  - - ~>
@@ -190,8 +196,7 @@ dependencies:
190
196
  - 3
191
197
  - 29
192
198
  version: 0.3.29
193
- type: :development
194
- version_requirements: *id011
199
+ requirement: *id011
195
200
  description: Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.
196
201
  email: david@loudthinking.com
197
202
  executables: []
@@ -201,195 +206,195 @@ extensions: []
201
206
  extra_rdoc_files: []
202
207
 
203
208
  files:
204
- - CHANGELOG
209
+ - CHANGELOG.md
205
210
  - README.rdoc
206
211
  - MIT-LICENSE
207
- - lib/abstract_controller/asset_paths.rb
208
- - lib/abstract_controller/base.rb
209
- - lib/abstract_controller/callbacks.rb
210
- - lib/abstract_controller/collector.rb
211
- - lib/abstract_controller/helpers.rb
212
- - lib/abstract_controller/layouts.rb
213
- - lib/abstract_controller/logger.rb
214
- - lib/abstract_controller/railties/routes_helpers.rb
215
- - lib/abstract_controller/rendering.rb
216
- - lib/abstract_controller/translation.rb
217
- - lib/abstract_controller/url_for.rb
218
- - lib/abstract_controller/view_paths.rb
219
- - lib/abstract_controller.rb
220
- - lib/action_controller/base.rb
221
- - lib/action_controller/caching/actions.rb
222
- - lib/action_controller/caching/fragments.rb
223
- - lib/action_controller/caching/pages.rb
224
- - lib/action_controller/caching/sweeping.rb
212
+ - lib/action_view/locale/en.yml
213
+ - lib/action_view/template.rb
214
+ - lib/action_view/buffers.rb
215
+ - lib/action_view/asset_paths.rb
216
+ - lib/action_view/test_case.rb
217
+ - lib/action_view/lookup_context.rb
218
+ - lib/action_view/log_subscriber.rb
219
+ - lib/action_view/context.rb
220
+ - lib/action_view/renderer/abstract_renderer.rb
221
+ - lib/action_view/renderer/renderer.rb
222
+ - lib/action_view/renderer/streaming_template_renderer.rb
223
+ - lib/action_view/renderer/template_renderer.rb
224
+ - lib/action_view/renderer/partial_renderer.rb
225
+ - lib/action_view/flows.rb
226
+ - lib/action_view/helpers/text_helper.rb
227
+ - lib/action_view/helpers/date_helper.rb
228
+ - lib/action_view/helpers/controller_helper.rb
229
+ - lib/action_view/helpers/asset_paths.rb
230
+ - lib/action_view/helpers/sanitize_helper.rb
231
+ - lib/action_view/helpers/translation_helper.rb
232
+ - lib/action_view/helpers/rendering_helper.rb
233
+ - lib/action_view/helpers/number_helper.rb
234
+ - lib/action_view/helpers/atom_feed_helper.rb
235
+ - lib/action_view/helpers/form_helper.rb
236
+ - lib/action_view/helpers/tag_helper.rb
237
+ - lib/action_view/helpers/capture_helper.rb
238
+ - lib/action_view/helpers/debug_helper.rb
239
+ - lib/action_view/helpers/record_tag_helper.rb
240
+ - lib/action_view/helpers/form_tag_helper.rb
241
+ - lib/action_view/helpers/output_safety_helper.rb
242
+ - lib/action_view/helpers/javascript_helper.rb
243
+ - lib/action_view/helpers/csrf_helper.rb
244
+ - lib/action_view/helpers/active_model_helper.rb
245
+ - lib/action_view/helpers/cache_helper.rb
246
+ - lib/action_view/helpers/url_helper.rb
247
+ - lib/action_view/helpers/asset_tag_helpers/asset_paths.rb
248
+ - lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb
249
+ - lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
250
+ - lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
251
+ - lib/action_view/helpers/form_options_helper.rb
252
+ - lib/action_view/helpers/asset_tag_helper.rb
253
+ - lib/action_view/data/encoding_conversions.dump
254
+ - lib/action_view/railtie.rb
255
+ - lib/action_view/template/handlers.rb
256
+ - lib/action_view/template/handlers/builder.rb
257
+ - lib/action_view/template/handlers/erb.rb
258
+ - lib/action_view/template/handler.rb
259
+ - lib/action_view/template/error.rb
260
+ - lib/action_view/template/text.rb
261
+ - lib/action_view/template/resolver.rb
262
+ - lib/action_view/path_set.rb
263
+ - lib/action_view/base.rb
264
+ - lib/action_view/testing/resolvers.rb
265
+ - lib/action_view/helpers.rb
266
+ - lib/action_dispatch.rb
267
+ - lib/action_pack.rb
268
+ - lib/action_controller/railties/paths.rb
225
269
  - lib/action_controller/caching.rb
226
- - lib/action_controller/deprecated/integration_test.rb
227
270
  - lib/action_controller/deprecated/performance_test.rb
228
- - lib/action_controller/deprecated.rb
229
- - lib/action_controller/log_subscriber.rb
230
- - lib/action_controller/metal/compatibility.rb
271
+ - lib/action_controller/deprecated/integration_test.rb
272
+ - lib/action_controller/metal.rb
273
+ - lib/action_controller/metal/url_for.rb
274
+ - lib/action_controller/metal/streaming.rb
275
+ - lib/action_controller/metal/head.rb
231
276
  - lib/action_controller/metal/conditional_get.rb
232
- - lib/action_controller/metal/cookies.rb
233
- - lib/action_controller/metal/data_streaming.rb
234
- - lib/action_controller/metal/exceptions.rb
235
277
  - lib/action_controller/metal/flash.rb
236
- - lib/action_controller/metal/force_ssl.rb
237
- - lib/action_controller/metal/head.rb
238
- - lib/action_controller/metal/helpers.rb
239
- - lib/action_controller/metal/hide_actions.rb
240
278
  - lib/action_controller/metal/http_authentication.rb
241
- - lib/action_controller/metal/implicit_render.rb
242
- - lib/action_controller/metal/instrumentation.rb
243
- - lib/action_controller/metal/mime_responds.rb
244
279
  - lib/action_controller/metal/params_wrapper.rb
245
- - lib/action_controller/metal/rack_delegation.rb
246
- - lib/action_controller/metal/redirecting.rb
247
280
  - lib/action_controller/metal/renderers.rb
248
- - lib/action_controller/metal/rendering.rb
249
281
  - lib/action_controller/metal/request_forgery_protection.rb
250
- - lib/action_controller/metal/rescue.rb
282
+ - lib/action_controller/metal/exceptions.rb
283
+ - lib/action_controller/metal/hide_actions.rb
284
+ - lib/action_controller/metal/compatibility.rb
285
+ - lib/action_controller/metal/mime_responds.rb
286
+ - lib/action_controller/metal/testing.rb
287
+ - lib/action_controller/metal/implicit_render.rb
288
+ - lib/action_controller/metal/cookies.rb
289
+ - lib/action_controller/metal/data_streaming.rb
290
+ - lib/action_controller/metal/instrumentation.rb
291
+ - lib/action_controller/metal/rendering.rb
292
+ - lib/action_controller/metal/force_ssl.rb
251
293
  - lib/action_controller/metal/responder.rb
294
+ - lib/action_controller/metal/rescue.rb
252
295
  - lib/action_controller/metal/session_management.rb
253
- - lib/action_controller/metal/streaming.rb
254
- - lib/action_controller/metal/testing.rb
255
- - lib/action_controller/metal/url_for.rb
256
- - lib/action_controller/metal.rb
257
- - lib/action_controller/middleware.rb
258
- - lib/action_controller/railtie.rb
259
- - lib/action_controller/railties/paths.rb
260
- - lib/action_controller/record_identifier.rb
296
+ - lib/action_controller/metal/helpers.rb
297
+ - lib/action_controller/metal/redirecting.rb
298
+ - lib/action_controller/metal/rack_delegation.rb
299
+ - lib/action_controller/deprecated.rb
261
300
  - lib/action_controller/test_case.rb
262
- - lib/action_controller/vendor/html-scanner/html/document.rb
263
- - lib/action_controller/vendor/html-scanner/html/node.rb
264
- - lib/action_controller/vendor/html-scanner/html/sanitizer.rb
265
- - lib/action_controller/vendor/html-scanner/html/selector.rb
301
+ - lib/action_controller/log_subscriber.rb
302
+ - lib/action_controller/record_identifier.rb
303
+ - lib/action_controller/railtie.rb
304
+ - lib/action_controller/middleware.rb
305
+ - lib/action_controller/base.rb
306
+ - lib/action_controller/vendor/html-scanner.rb
266
307
  - lib/action_controller/vendor/html-scanner/html/tokenizer.rb
267
308
  - lib/action_controller/vendor/html-scanner/html/version.rb
268
- - lib/action_controller/vendor/html-scanner.rb
269
- - lib/action_controller.rb
309
+ - lib/action_controller/vendor/html-scanner/html/sanitizer.rb
310
+ - lib/action_controller/vendor/html-scanner/html/selector.rb
311
+ - lib/action_controller/vendor/html-scanner/html/document.rb
312
+ - lib/action_controller/vendor/html-scanner/html/node.rb
313
+ - lib/action_controller/caching/sweeping.rb
314
+ - lib/action_controller/caching/fragments.rb
315
+ - lib/action_controller/caching/actions.rb
316
+ - lib/action_controller/caching/pages.rb
317
+ - lib/abstract_controller.rb
318
+ - lib/action_dispatch/routing.rb
319
+ - lib/action_dispatch/http/mime_negotiation.rb
320
+ - lib/action_dispatch/http/parameter_filter.rb
270
321
  - lib/action_dispatch/http/cache.rb
322
+ - lib/action_dispatch/http/mime_types.rb
323
+ - lib/action_dispatch/http/upload.rb
324
+ - lib/action_dispatch/http/request.rb
271
325
  - lib/action_dispatch/http/filter_parameters.rb
272
- - lib/action_dispatch/http/headers.rb
273
- - lib/action_dispatch/http/mime_negotiation.rb
326
+ - lib/action_dispatch/http/rack_cache.rb
274
327
  - lib/action_dispatch/http/mime_type.rb
275
- - lib/action_dispatch/http/mime_types.rb
276
- - lib/action_dispatch/http/parameter_filter.rb
277
328
  - lib/action_dispatch/http/parameters.rb
278
- - lib/action_dispatch/http/rack_cache.rb
279
- - lib/action_dispatch/http/request.rb
280
329
  - lib/action_dispatch/http/response.rb
281
- - lib/action_dispatch/http/upload.rb
282
330
  - lib/action_dispatch/http/url.rb
283
- - lib/action_dispatch/middleware/best_standards_support.rb
284
- - lib/action_dispatch/middleware/callbacks.rb
285
- - lib/action_dispatch/middleware/closed_error.rb
286
- - lib/action_dispatch/middleware/cookies.rb
287
- - lib/action_dispatch/middleware/flash.rb
288
- - lib/action_dispatch/middleware/head.rb
289
- - lib/action_dispatch/middleware/params_parser.rb
290
- - lib/action_dispatch/middleware/reloader.rb
331
+ - lib/action_dispatch/http/headers.rb
332
+ - lib/action_dispatch/middleware/static.rb
291
333
  - lib/action_dispatch/middleware/remote_ip.rb
292
- - lib/action_dispatch/middleware/rescue.rb
334
+ - lib/action_dispatch/middleware/reloader.rb
335
+ - lib/action_dispatch/middleware/show_exceptions.rb
293
336
  - lib/action_dispatch/middleware/session/abstract_store.rb
294
337
  - lib/action_dispatch/middleware/session/cookie_store.rb
295
338
  - lib/action_dispatch/middleware/session/mem_cache_store.rb
296
- - lib/action_dispatch/middleware/show_exceptions.rb
297
- - lib/action_dispatch/middleware/stack.rb
298
- - lib/action_dispatch/middleware/static.rb
299
- - lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
300
- - lib/action_dispatch/middleware/templates/rescues/_trace.erb
339
+ - lib/action_dispatch/middleware/head.rb
340
+ - lib/action_dispatch/middleware/flash.rb
341
+ - lib/action_dispatch/middleware/closed_error.rb
342
+ - lib/action_dispatch/middleware/cookies.rb
343
+ - lib/action_dispatch/middleware/templates/rescues/unknown_action.erb
301
344
  - lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
345
+ - lib/action_dispatch/middleware/templates/rescues/template_error.erb
346
+ - lib/action_dispatch/middleware/templates/rescues/_trace.erb
347
+ - lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
302
348
  - lib/action_dispatch/middleware/templates/rescues/layout.erb
303
- - lib/action_dispatch/middleware/templates/rescues/missing_template.erb
304
349
  - lib/action_dispatch/middleware/templates/rescues/routing_error.erb
305
- - lib/action_dispatch/middleware/templates/rescues/template_error.erb
306
- - lib/action_dispatch/middleware/templates/rescues/unknown_action.erb
307
- - lib/action_dispatch/railtie.rb
308
- - lib/action_dispatch/routing/mapper.rb
350
+ - lib/action_dispatch/middleware/templates/rescues/missing_template.erb
351
+ - lib/action_dispatch/middleware/stack.rb
352
+ - lib/action_dispatch/middleware/rescue.rb
353
+ - lib/action_dispatch/middleware/best_standards_support.rb
354
+ - lib/action_dispatch/middleware/callbacks.rb
355
+ - lib/action_dispatch/middleware/params_parser.rb
356
+ - lib/action_dispatch/routing/url_for.rb
357
+ - lib/action_dispatch/routing/route.rb
309
358
  - lib/action_dispatch/routing/polymorphic_routes.rb
359
+ - lib/action_dispatch/routing/routes_proxy.rb
310
360
  - lib/action_dispatch/routing/redirection.rb
311
- - lib/action_dispatch/routing/route.rb
312
361
  - lib/action_dispatch/routing/route_set.rb
313
- - lib/action_dispatch/routing/routes_proxy.rb
314
- - lib/action_dispatch/routing/url_for.rb
315
- - lib/action_dispatch/routing.rb
316
- - lib/action_dispatch/testing/assertions/dom.rb
317
- - lib/action_dispatch/testing/assertions/response.rb
318
- - lib/action_dispatch/testing/assertions/routing.rb
319
- - lib/action_dispatch/testing/assertions/selector.rb
320
- - lib/action_dispatch/testing/assertions/tag.rb
362
+ - lib/action_dispatch/routing/mapper.rb
363
+ - lib/action_dispatch/railtie.rb
364
+ - lib/action_dispatch/testing/test_request.rb
365
+ - lib/action_dispatch/testing/test_process.rb
321
366
  - lib/action_dispatch/testing/assertions.rb
322
367
  - lib/action_dispatch/testing/integration.rb
323
368
  - lib/action_dispatch/testing/performance_test.rb
324
- - lib/action_dispatch/testing/test_process.rb
325
- - lib/action_dispatch/testing/test_request.rb
326
369
  - lib/action_dispatch/testing/test_response.rb
327
- - lib/action_dispatch.rb
370
+ - lib/action_dispatch/testing/assertions/routing.rb
371
+ - lib/action_dispatch/testing/assertions/tag.rb
372
+ - lib/action_dispatch/testing/assertions/selector.rb
373
+ - lib/action_dispatch/testing/assertions/dom.rb
374
+ - lib/action_dispatch/testing/assertions/response.rb
328
375
  - lib/action_pack/version.rb
329
- - lib/action_pack.rb
330
- - lib/action_view/asset_paths.rb
331
- - lib/action_view/base.rb
332
- - lib/action_view/buffers.rb
333
- - lib/action_view/context.rb
334
- - lib/action_view/flows.rb
335
- - lib/action_view/helpers/active_model_helper.rb
336
- - lib/action_view/helpers/asset_paths.rb
337
- - lib/action_view/helpers/asset_tag_helper.rb
338
- - lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb
339
- - lib/action_view/helpers/asset_tag_helpers/asset_paths.rb
340
- - lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb
341
- - lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb
342
- - lib/action_view/helpers/atom_feed_helper.rb
343
- - lib/action_view/helpers/cache_helper.rb
344
- - lib/action_view/helpers/capture_helper.rb
345
- - lib/action_view/helpers/controller_helper.rb
346
- - lib/action_view/helpers/csrf_helper.rb
347
- - lib/action_view/helpers/date_helper.rb
348
- - lib/action_view/helpers/debug_helper.rb
349
- - lib/action_view/helpers/form_helper.rb
350
- - lib/action_view/helpers/form_options_helper.rb
351
- - lib/action_view/helpers/form_tag_helper.rb
352
- - lib/action_view/helpers/javascript_helper.rb
353
- - lib/action_view/helpers/number_helper.rb
354
- - lib/action_view/helpers/output_safety_helper.rb
355
- - lib/action_view/helpers/record_tag_helper.rb
356
- - lib/action_view/helpers/rendering_helper.rb
357
- - lib/action_view/helpers/sanitize_helper.rb
358
- - lib/action_view/helpers/tag_helper.rb
359
- - lib/action_view/helpers/text_helper.rb
360
- - lib/action_view/helpers/translation_helper.rb
361
- - lib/action_view/helpers/url_helper.rb
362
- - lib/action_view/helpers.rb
363
- - lib/action_view/locale/en.yml
364
- - lib/action_view/log_subscriber.rb
365
- - lib/action_view/lookup_context.rb
366
- - lib/action_view/path_set.rb
367
- - lib/action_view/railtie.rb
368
- - lib/action_view/renderer/abstract_renderer.rb
369
- - lib/action_view/renderer/partial_renderer.rb
370
- - lib/action_view/renderer/renderer.rb
371
- - lib/action_view/renderer/streaming_template_renderer.rb
372
- - lib/action_view/renderer/template_renderer.rb
373
- - lib/action_view/template/error.rb
374
- - lib/action_view/template/handler.rb
375
- - lib/action_view/template/handlers/builder.rb
376
- - lib/action_view/template/handlers/erb.rb
377
- - lib/action_view/template/handlers.rb
378
- - lib/action_view/template/resolver.rb
379
- - lib/action_view/template/text.rb
380
- - lib/action_view/template.rb
381
- - lib/action_view/test_case.rb
382
- - lib/action_view/testing/resolvers.rb
376
+ - lib/abstract_controller/url_for.rb
377
+ - lib/abstract_controller/railties/routes_helpers.rb
378
+ - lib/abstract_controller/asset_paths.rb
379
+ - lib/abstract_controller/logger.rb
380
+ - lib/abstract_controller/rendering.rb
381
+ - lib/abstract_controller/translation.rb
382
+ - lib/abstract_controller/collector.rb
383
+ - lib/abstract_controller/callbacks.rb
384
+ - lib/abstract_controller/base.rb
385
+ - lib/abstract_controller/layouts.rb
386
+ - lib/abstract_controller/view_paths.rb
387
+ - lib/abstract_controller/helpers.rb
388
+ - lib/action_controller.rb
383
389
  - lib/action_view.rb
384
- - lib/sprockets/assets.rake
385
390
  - lib/sprockets/bootstrap.rb
386
391
  - lib/sprockets/compressors.rb
392
+ - lib/sprockets/static_compiler.rb
387
393
  - lib/sprockets/helpers/isolated_helper.rb
388
394
  - lib/sprockets/helpers/rails_helper.rb
389
- - lib/sprockets/helpers.rb
390
395
  - lib/sprockets/railtie.rb
391
- - lib/sprockets/static_compiler.rb
392
- has_rdoc: true
396
+ - lib/sprockets/assets.rake
397
+ - lib/sprockets/helpers.rb
393
398
  homepage: http://www.rubyonrails.org
394
399
  licenses: []
395
400
 
@@ -412,16 +417,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
412
417
  required_rubygems_version: !ruby/object:Gem::Requirement
413
418
  none: false
414
419
  requirements:
415
- - - ">="
420
+ - - ">"
416
421
  - !ruby/object:Gem::Version
417
- hash: 3
422
+ hash: 25
418
423
  segments:
419
- - 0
420
- version: "0"
424
+ - 1
425
+ - 3
426
+ - 1
427
+ version: 1.3.1
421
428
  requirements:
422
429
  - none
423
430
  rubyforge_project:
424
- rubygems_version: 1.3.7
431
+ rubygems_version: 1.8.6
425
432
  signing_key:
426
433
  specification_version: 3
427
434
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).