actionpack 3.2.0.rc2 → 3.2.0
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 +25 -2
- data/lib/action_controller/base.rb +1 -1
- data/lib/action_controller/metal.rb +4 -0
- data/lib/action_controller/metal/compatibility.rb +19 -13
- data/lib/action_controller/metal/http_authentication.rb +8 -5
- data/lib/action_controller/railtie.rb +4 -1
- data/lib/action_dispatch/http/request.rb +8 -0
- data/lib/action_dispatch/middleware/body_proxy.rb +30 -0
- data/lib/action_dispatch/middleware/reloader.rb +3 -14
- data/lib/action_dispatch/railtie.rb +2 -1
- data/lib/action_pack/version.rb +1 -1
- data/lib/action_view/helpers/number_helper.rb +1 -0
- data/lib/action_view/helpers/url_helper.rb +1 -1
- data/lib/sprockets/assets.rake +3 -3
- data/lib/sprockets/railtie.rb +4 -1
- metadata +89 -164
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,27 @@
|
|
1
|
-
## Rails 3.2.0 (
|
1
|
+
## Rails 3.2.0 (January 20, 2012) ##
|
2
|
+
|
3
|
+
* Setting config.assets.logger to false turn off Sprockets logger *Guillermo Iguaran*
|
4
|
+
|
5
|
+
* Add `config.action_dispatch.default_charset` to configure default charset for ActionDispatch::Response. *Carlos Antonio da Silva*
|
6
|
+
|
7
|
+
* Deprecate setting default charset at controller level, use the new `config.action_dispatch.default_charset` instead. *Carlos Antonio da Silva*
|
8
|
+
|
9
|
+
* Deprecate ActionController::UnknownAction in favour of AbstractController::ActionNotFound. *Carlos Antonio da Silva*
|
10
|
+
|
11
|
+
* Deprecate ActionController::DoubleRenderError in favour of AbstractController::DoubleRenderError. *Carlos Antonio da Silva*
|
12
|
+
|
13
|
+
* Deprecate method_missing handling for not found actions, use action_missing instead. *Carlos Antonio da Silva*
|
14
|
+
|
15
|
+
* Deprecate ActionController#rescue_action, ActionController#initialize_template_class, and ActionController#assign_shortcuts.
|
16
|
+
These methods were not being used internally anymore and are going to be removed in Rails 4. *Carlos Antonio da Silva*
|
17
|
+
|
18
|
+
* Add config.assets.logger to configure Sprockets logger *Rafael França*
|
19
|
+
|
20
|
+
* Use a BodyProxy instead of including a Module that responds to
|
21
|
+
close. Closes #4441 if Active Record is disabled assets are delivered
|
22
|
+
correctly *Santiago Pastorino*
|
23
|
+
|
24
|
+
* Rails initialization with initialize_on_precompile = false should set assets_dir *Santiago Pastorino*
|
2
25
|
|
3
26
|
* Add font_path helper method *Santiago Pastorino*
|
4
27
|
|
@@ -18,7 +41,7 @@
|
|
18
41
|
<%= f.button %>
|
19
42
|
<% end %>
|
20
43
|
|
21
|
-
* Date helpers accept a new option, `:use_two_digit_numbers = true`, that renders select boxes for months and days with a leading zero without changing the respective values.
|
44
|
+
* Date helpers accept a new option, `:use_two_digit_numbers = true`, that renders select boxes for months and days with a leading zero without changing the respective values.
|
22
45
|
For example, this is useful for displaying ISO8601-style dates such as '2011-08-01'. *Lennart Fridén and Kim Persson*
|
23
46
|
|
24
47
|
* Make ActiveSupport::Benchmarkable a default module for ActionController::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*
|
@@ -121,7 +121,7 @@ module ActionController
|
|
121
121
|
#
|
122
122
|
# def search
|
123
123
|
# @results = Search.find(params[:query])
|
124
|
-
# case @results
|
124
|
+
# case @results.count
|
125
125
|
# when 0 then render :action => "no_results"
|
126
126
|
# when 1 then render :action => "show"
|
127
127
|
# when 2..10 then render :action => "show_many"
|
@@ -1,21 +1,22 @@
|
|
1
|
+
require 'active_support/deprecation'
|
2
|
+
|
1
3
|
module ActionController
|
2
4
|
module Compatibility
|
3
5
|
extend ActiveSupport::Concern
|
4
6
|
|
5
|
-
class ::ActionController::ActionControllerError < StandardError #:nodoc:
|
6
|
-
end
|
7
|
-
|
8
7
|
# Temporary hax
|
9
8
|
included do
|
10
|
-
::ActionController::UnknownAction = ::AbstractController::ActionNotFound
|
11
|
-
::ActionController::DoubleRenderError = ::AbstractController::DoubleRenderError
|
9
|
+
::ActionController::UnknownAction = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActionController::UnknownAction', '::AbstractController::ActionNotFound')
|
10
|
+
::ActionController::DoubleRenderError = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActionController::DoubleRenderError', '::AbstractController::DoubleRenderError')
|
12
11
|
|
13
12
|
# ROUTES TODO: This should be handled by a middleware and route generation
|
14
13
|
# should be able to handle SCRIPT_NAME
|
15
14
|
self.config.relative_url_root = ENV['RAILS_RELATIVE_URL_ROOT']
|
16
15
|
|
17
|
-
|
18
|
-
|
16
|
+
def self.default_charset=(new_charset)
|
17
|
+
ActiveSupport::Deprecation.warn "Setting default charset at controller level" \
|
18
|
+
" is deprecated, please use `config.action_dispatch.default_charset` instead", caller
|
19
|
+
ActionDispatch::Response.default_charset = new_charset
|
19
20
|
end
|
20
21
|
|
21
22
|
self.protected_instance_variables = %w(
|
@@ -24,13 +25,19 @@ module ActionController
|
|
24
25
|
)
|
25
26
|
|
26
27
|
def rescue_action(env)
|
28
|
+
ActiveSupport::Deprecation.warn "Calling `rescue_action` is deprecated and will be removed in Rails 4.0.", caller
|
27
29
|
raise env["action_dispatch.rescue.exception"]
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
31
33
|
# For old tests
|
32
|
-
def initialize_template_class(*)
|
33
|
-
|
34
|
+
def initialize_template_class(*)
|
35
|
+
ActiveSupport::Deprecation.warn "Calling `initialize_template_class` is deprecated and has no effect anymore.", caller
|
36
|
+
end
|
37
|
+
|
38
|
+
def assign_shortcuts(*)
|
39
|
+
ActiveSupport::Deprecation.warn "Calling `assign_shortcuts` is deprecated and has no effect anymore.", caller
|
40
|
+
end
|
34
41
|
|
35
42
|
def _normalize_options(options)
|
36
43
|
options[:text] = nil if options.delete(:nothing) == true
|
@@ -44,15 +51,14 @@ module ActionController
|
|
44
51
|
end
|
45
52
|
|
46
53
|
def _handle_method_missing
|
54
|
+
ActiveSupport::Deprecation.warn "Using `method_missing` to handle non" \
|
55
|
+
" existing actions is deprecated and will be removed in Rails 4.0, " \
|
56
|
+
" please use `action_missing` instead.", caller
|
47
57
|
method_missing(@_action_name.to_sym)
|
48
58
|
end
|
49
59
|
|
50
60
|
def method_for_action(action_name)
|
51
61
|
super || (respond_to?(:method_missing) && "_handle_method_missing")
|
52
62
|
end
|
53
|
-
|
54
|
-
def performed?
|
55
|
-
response_body
|
56
|
-
end
|
57
63
|
end
|
58
64
|
end
|
@@ -192,12 +192,15 @@ module ActionController
|
|
192
192
|
return false unless password
|
193
193
|
|
194
194
|
method = request.env['rack.methodoverride.original_method'] || request.env['REQUEST_METHOD']
|
195
|
-
uri = credentials[:uri][0,1] == '/' ? request.
|
195
|
+
uri = credentials[:uri][0,1] == '/' ? request.original_fullpath : request.original_url
|
196
196
|
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
197
|
+
[true, false].any? do |trailing_question_mark|
|
198
|
+
[true, false].any? do |password_is_ha1|
|
199
|
+
_uri = trailing_question_mark ? uri + "?" : uri
|
200
|
+
expected = expected_response(method, _uri, credentials, password, password_is_ha1)
|
201
|
+
expected == credentials[:response]
|
202
|
+
end
|
203
|
+
end
|
201
204
|
end
|
202
205
|
end
|
203
206
|
|
@@ -17,11 +17,14 @@ module ActionController
|
|
17
17
|
ActiveSupport.on_load(:action_controller) { self.cache_store ||= RAILS_CACHE }
|
18
18
|
end
|
19
19
|
|
20
|
+
initializer "action_controller.assets_config", :group => :all do |app|
|
21
|
+
app.config.action_controller.assets_dir ||= app.config.paths["public"].first
|
22
|
+
end
|
23
|
+
|
20
24
|
initializer "action_controller.set_configs" do |app|
|
21
25
|
paths = app.config.paths
|
22
26
|
options = app.config.action_controller
|
23
27
|
|
24
|
-
options.assets_dir ||= paths["public"].first
|
25
28
|
options.javascripts_dir ||= paths["public/javascripts"].first
|
26
29
|
options.stylesheets_dir ||= paths["public/stylesheets"].first
|
27
30
|
options.page_cache_directory ||= paths["public"].first
|
@@ -122,10 +122,18 @@ module ActionDispatch
|
|
122
122
|
Http::Headers.new(@env)
|
123
123
|
end
|
124
124
|
|
125
|
+
def original_fullpath
|
126
|
+
@original_fullpath ||= (env["ORIGINAL_FULLPATH"] || fullpath)
|
127
|
+
end
|
128
|
+
|
125
129
|
def fullpath
|
126
130
|
@fullpath ||= super
|
127
131
|
end
|
128
132
|
|
133
|
+
def original_url
|
134
|
+
base_url + original_fullpath
|
135
|
+
end
|
136
|
+
|
129
137
|
def media_type
|
130
138
|
content_mime_type.to_s
|
131
139
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Keep this file meanwhile https://github.com/rack/rack/pull/313 is not released
|
2
|
+
module ActionDispatch
|
3
|
+
class BodyProxy
|
4
|
+
def initialize(body, &block)
|
5
|
+
@body, @block, @closed = body, block, false
|
6
|
+
end
|
7
|
+
|
8
|
+
def respond_to?(*args)
|
9
|
+
super or @body.respond_to?(*args)
|
10
|
+
end
|
11
|
+
|
12
|
+
def close
|
13
|
+
return if @closed
|
14
|
+
@closed = true
|
15
|
+
begin
|
16
|
+
@body.close if @body.respond_to? :close
|
17
|
+
ensure
|
18
|
+
@block.call
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def closed?
|
23
|
+
@closed
|
24
|
+
end
|
25
|
+
|
26
|
+
def method_missing(*args, &block)
|
27
|
+
@body.__send__(*args, &block)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'action_dispatch/middleware/body_proxy'
|
2
|
+
|
1
3
|
module ActionDispatch
|
2
4
|
# ActionDispatch::Reloader provides prepare and cleanup callbacks,
|
3
5
|
# intended to assist with code reloading during development.
|
@@ -61,7 +63,7 @@ module ActionDispatch
|
|
61
63
|
@validated = @condition.call
|
62
64
|
prepare!
|
63
65
|
response = @app.call(env)
|
64
|
-
response[2].
|
66
|
+
response[2] = ActionDispatch::BodyProxy.new(response[2]) { cleanup! }
|
65
67
|
response
|
66
68
|
rescue Exception
|
67
69
|
cleanup!
|
@@ -83,18 +85,5 @@ module ActionDispatch
|
|
83
85
|
def validated? #:nodoc:
|
84
86
|
@validated
|
85
87
|
end
|
86
|
-
|
87
|
-
def module_hook #:nodoc:
|
88
|
-
middleware = self
|
89
|
-
Module.new do
|
90
|
-
define_method :close do
|
91
|
-
begin
|
92
|
-
super() if defined?(super)
|
93
|
-
ensure
|
94
|
-
middleware.cleanup!
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
88
|
end
|
100
89
|
end
|
@@ -11,6 +11,7 @@ module ActionDispatch
|
|
11
11
|
config.action_dispatch.ignore_accept_header = false
|
12
12
|
config.action_dispatch.rescue_templates = { }
|
13
13
|
config.action_dispatch.rescue_responses = { }
|
14
|
+
config.action_dispatch.default_charset = nil
|
14
15
|
|
15
16
|
config.action_dispatch.rack_cache = {
|
16
17
|
:metastore => "rails:/",
|
@@ -21,7 +22,7 @@ module ActionDispatch
|
|
21
22
|
initializer "action_dispatch.configure" do |app|
|
22
23
|
ActionDispatch::Http::URL.tld_length = app.config.action_dispatch.tld_length
|
23
24
|
ActionDispatch::Request.ignore_accept_header = app.config.action_dispatch.ignore_accept_header
|
24
|
-
ActionDispatch::Response.default_charset = app.config.encoding
|
25
|
+
ActionDispatch::Response.default_charset = app.config.action_dispatch.default_charset || app.config.encoding
|
25
26
|
|
26
27
|
ActionDispatch::ExceptionWrapper.rescue_responses.merge!(config.action_dispatch.rescue_responses)
|
27
28
|
ActionDispatch::ExceptionWrapper.rescue_templates.merge!(config.action_dispatch.rescue_templates)
|
data/lib/action_pack/version.rb
CHANGED
@@ -128,6 +128,7 @@ module ActionView
|
|
128
128
|
|
129
129
|
defaults = I18n.translate(:'number.format', :locale => options[:locale], :default => {})
|
130
130
|
currency = I18n.translate(:'number.currency.format', :locale => options[:locale], :default => {})
|
131
|
+
currency[:negative_format] ||= "-" + currency[:format] if currency[:format]
|
131
132
|
|
132
133
|
defaults = DEFAULT_CURRENCY_VALUES.merge(defaults).merge!(currency)
|
133
134
|
defaults[:negative_format] = "-" + options[:format] if options[:format]
|
@@ -476,7 +476,7 @@ module ActionView
|
|
476
476
|
# string given as the value.
|
477
477
|
# * <tt>:subject</tt> - Preset the subject line of the email.
|
478
478
|
# * <tt>:body</tt> - Preset the body of the email.
|
479
|
-
# * <tt>:cc</tt> - Carbon Copy
|
479
|
+
# * <tt>:cc</tt> - Carbon Copy additional recipients on the email.
|
480
480
|
# * <tt>:bcc</tt> - Blind Carbon Copy additional recipients on the email.
|
481
481
|
#
|
482
482
|
# ==== Examples
|
data/lib/sprockets/assets.rake
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require "fileutils"
|
2
2
|
|
3
3
|
namespace :assets do
|
4
|
-
def ruby_rake_task(task)
|
4
|
+
def ruby_rake_task(task, fork = true)
|
5
5
|
env = ENV['RAILS_ENV'] || 'production'
|
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
|
-
ruby(*args)
|
9
|
+
fork ? ruby(*args) : Kernel.exec(FileUtils::RUBY, *args)
|
10
10
|
end
|
11
11
|
|
12
12
|
# We are currently running with no explicit bundler group
|
@@ -59,7 +59,7 @@ namespace :assets do
|
|
59
59
|
# required in order to compile digestless assets as the
|
60
60
|
# environment has already cached the assets on the primary
|
61
61
|
# run.
|
62
|
-
ruby_rake_task
|
62
|
+
ruby_rake_task("assets:precompile:nondigest", false) if Rails.application.config.assets.digest
|
63
63
|
end
|
64
64
|
|
65
65
|
task :primary => ["assets:environment", "tmp:cache:clear"] do
|
data/lib/sprockets/railtie.rb
CHANGED
@@ -21,9 +21,12 @@ module Sprockets
|
|
21
21
|
require 'sprockets'
|
22
22
|
|
23
23
|
app.assets = Sprockets::Environment.new(app.root.to_s) do |env|
|
24
|
-
env.logger = ::Rails.logger
|
25
24
|
env.version = ::Rails.env + "-#{config.assets.version}"
|
26
25
|
|
26
|
+
if config.assets.logger != false
|
27
|
+
env.logger = config.assets.logger || ::Rails.logger
|
28
|
+
end
|
29
|
+
|
27
30
|
if config.assets.cache_store != false
|
28
31
|
env.cache = ActiveSupport::Cache.lookup_store(config.assets.cache_store) || ::Rails.cache
|
29
32
|
end
|
metadata
CHANGED
@@ -1,195 +1,133 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 3
|
8
|
-
- 2
|
9
|
-
- 0
|
10
|
-
- rc2
|
11
|
-
version: 3.2.0.rc2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.2.0
|
5
|
+
prerelease:
|
12
6
|
platform: ruby
|
13
|
-
authors:
|
7
|
+
authors:
|
14
8
|
- David Heinemeier Hansson
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
23
15
|
name: activesupport
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70360650869680 !ruby/object:Gem::Requirement
|
26
17
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 3
|
33
|
-
- 2
|
34
|
-
- 0
|
35
|
-
- rc2
|
36
|
-
version: 3.2.0.rc2
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.0
|
37
22
|
type: :runtime
|
38
|
-
version_requirements: *id001
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: activemodel
|
41
23
|
prerelease: false
|
42
|
-
|
24
|
+
version_requirements: *70360650869680
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activemodel
|
27
|
+
requirement: &70360650892000 !ruby/object:Gem::Requirement
|
43
28
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
48
|
-
segments:
|
49
|
-
- 3
|
50
|
-
- 2
|
51
|
-
- 0
|
52
|
-
- rc2
|
53
|
-
version: 3.2.0.rc2
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.2.0
|
54
33
|
type: :runtime
|
55
|
-
version_requirements: *id002
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: rack-cache
|
58
34
|
prerelease: false
|
59
|
-
|
35
|
+
version_requirements: *70360650892000
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rack-cache
|
38
|
+
requirement: &70360650891460 !ruby/object:Gem::Requirement
|
60
39
|
none: false
|
61
|
-
requirements:
|
40
|
+
requirements:
|
62
41
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
segments:
|
66
|
-
- 1
|
67
|
-
- 1
|
68
|
-
version: "1.1"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.1'
|
69
44
|
type: :runtime
|
70
|
-
version_requirements: *id003
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: builder
|
73
45
|
prerelease: false
|
74
|
-
|
46
|
+
version_requirements: *70360650891460
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: builder
|
49
|
+
requirement: &70360650890780 !ruby/object:Gem::Requirement
|
75
50
|
none: false
|
76
|
-
requirements:
|
51
|
+
requirements:
|
77
52
|
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
hash: 7
|
80
|
-
segments:
|
81
|
-
- 3
|
82
|
-
- 0
|
83
|
-
- 0
|
53
|
+
- !ruby/object:Gem::Version
|
84
54
|
version: 3.0.0
|
85
55
|
type: :runtime
|
86
|
-
version_requirements: *id004
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: rack
|
89
56
|
prerelease: false
|
90
|
-
|
57
|
+
version_requirements: *70360650890780
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rack
|
60
|
+
requirement: &70360650889880 !ruby/object:Gem::Requirement
|
91
61
|
none: false
|
92
|
-
requirements:
|
62
|
+
requirements:
|
93
63
|
- - ~>
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
hash: 7
|
96
|
-
segments:
|
97
|
-
- 1
|
98
|
-
- 4
|
99
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
100
65
|
version: 1.4.0
|
101
66
|
type: :runtime
|
102
|
-
version_requirements: *id005
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rack-test
|
105
67
|
prerelease: false
|
106
|
-
|
68
|
+
version_requirements: *70360650889880
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rack-test
|
71
|
+
requirement: &70360650888600 !ruby/object:Gem::Requirement
|
107
72
|
none: false
|
108
|
-
requirements:
|
73
|
+
requirements:
|
109
74
|
- - ~>
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
hash: 5
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
- 6
|
115
|
-
- 1
|
75
|
+
- !ruby/object:Gem::Version
|
116
76
|
version: 0.6.1
|
117
77
|
type: :runtime
|
118
|
-
version_requirements: *id006
|
119
|
-
- !ruby/object:Gem::Dependency
|
120
|
-
name: journey
|
121
78
|
prerelease: false
|
122
|
-
|
79
|
+
version_requirements: *70360650888600
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: journey
|
82
|
+
requirement: &70360650888080 !ruby/object:Gem::Requirement
|
123
83
|
none: false
|
124
|
-
requirements:
|
84
|
+
requirements:
|
125
85
|
- - ~>
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
segments:
|
129
|
-
- 1
|
130
|
-
- 0
|
131
|
-
- 0
|
132
|
-
- rc1
|
133
|
-
version: 1.0.0.rc1
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 1.0.0
|
134
88
|
type: :runtime
|
135
|
-
version_requirements: *id007
|
136
|
-
- !ruby/object:Gem::Dependency
|
137
|
-
name: sprockets
|
138
89
|
prerelease: false
|
139
|
-
|
90
|
+
version_requirements: *70360650888080
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: sprockets
|
93
|
+
requirement: &70360650885700 !ruby/object:Gem::Requirement
|
140
94
|
none: false
|
141
|
-
requirements:
|
95
|
+
requirements:
|
142
96
|
- - ~>
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
hash: 15
|
145
|
-
segments:
|
146
|
-
- 2
|
147
|
-
- 1
|
148
|
-
- 2
|
97
|
+
- !ruby/object:Gem::Version
|
149
98
|
version: 2.1.2
|
150
99
|
type: :runtime
|
151
|
-
version_requirements: *id008
|
152
|
-
- !ruby/object:Gem::Dependency
|
153
|
-
name: erubis
|
154
100
|
prerelease: false
|
155
|
-
|
101
|
+
version_requirements: *70360650885700
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: erubis
|
104
|
+
requirement: &70360650905700 !ruby/object:Gem::Requirement
|
156
105
|
none: false
|
157
|
-
requirements:
|
106
|
+
requirements:
|
158
107
|
- - ~>
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
hash: 19
|
161
|
-
segments:
|
162
|
-
- 2
|
163
|
-
- 7
|
164
|
-
- 0
|
108
|
+
- !ruby/object:Gem::Version
|
165
109
|
version: 2.7.0
|
166
110
|
type: :runtime
|
167
|
-
version_requirements: *id009
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: tzinfo
|
170
111
|
prerelease: false
|
171
|
-
|
112
|
+
version_requirements: *70360650905700
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: tzinfo
|
115
|
+
requirement: &70360650904820 !ruby/object:Gem::Requirement
|
172
116
|
none: false
|
173
|
-
requirements:
|
117
|
+
requirements:
|
174
118
|
- - ~>
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
hash: 41
|
177
|
-
segments:
|
178
|
-
- 0
|
179
|
-
- 3
|
180
|
-
- 29
|
119
|
+
- !ruby/object:Gem::Version
|
181
120
|
version: 0.3.29
|
182
121
|
type: :development
|
183
|
-
|
184
|
-
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70360650904820
|
124
|
+
description: Web apps on Rails. Simple, battle-tested conventions for building and
|
125
|
+
testing MVC web applications. Works with any Rack-compatible server.
|
185
126
|
email: david@loudthinking.com
|
186
127
|
executables: []
|
187
|
-
|
188
128
|
extensions: []
|
189
|
-
|
190
129
|
extra_rdoc_files: []
|
191
|
-
|
192
|
-
files:
|
130
|
+
files:
|
193
131
|
- CHANGELOG.md
|
194
132
|
- README.rdoc
|
195
133
|
- MIT-LICENSE
|
@@ -270,6 +208,7 @@ files:
|
|
270
208
|
- lib/action_dispatch/http/upload.rb
|
271
209
|
- lib/action_dispatch/http/url.rb
|
272
210
|
- lib/action_dispatch/middleware/best_standards_support.rb
|
211
|
+
- lib/action_dispatch/middleware/body_proxy.rb
|
273
212
|
- lib/action_dispatch/middleware/callbacks.rb
|
274
213
|
- lib/action_dispatch/middleware/cookies.rb
|
275
214
|
- lib/action_dispatch/middleware/debug_exceptions.rb
|
@@ -380,43 +319,29 @@ files:
|
|
380
319
|
- lib/sprockets/helpers.rb
|
381
320
|
- lib/sprockets/railtie.rb
|
382
321
|
- lib/sprockets/static_compiler.rb
|
383
|
-
has_rdoc: true
|
384
322
|
homepage: http://www.rubyonrails.org
|
385
323
|
licenses: []
|
386
|
-
|
387
324
|
post_install_message:
|
388
325
|
rdoc_options: []
|
389
|
-
|
390
|
-
require_paths:
|
326
|
+
require_paths:
|
391
327
|
- lib
|
392
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
328
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
393
329
|
none: false
|
394
|
-
requirements:
|
395
|
-
- -
|
396
|
-
- !ruby/object:Gem::Version
|
397
|
-
hash: 57
|
398
|
-
segments:
|
399
|
-
- 1
|
400
|
-
- 8
|
401
|
-
- 7
|
330
|
+
requirements:
|
331
|
+
- - ! '>='
|
332
|
+
- !ruby/object:Gem::Version
|
402
333
|
version: 1.8.7
|
403
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
404
335
|
none: false
|
405
|
-
requirements:
|
406
|
-
- -
|
407
|
-
- !ruby/object:Gem::Version
|
408
|
-
|
409
|
-
|
410
|
-
- 1
|
411
|
-
- 3
|
412
|
-
- 1
|
413
|
-
version: 1.3.1
|
414
|
-
requirements:
|
336
|
+
requirements:
|
337
|
+
- - ! '>='
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '0'
|
340
|
+
requirements:
|
415
341
|
- none
|
416
342
|
rubyforge_project:
|
417
|
-
rubygems_version: 1.
|
343
|
+
rubygems_version: 1.8.10
|
418
344
|
signing_key:
|
419
345
|
specification_version: 3
|
420
346
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|
421
347
|
test_files: []
|
422
|
-
|