Jeremy Kemper
|
95072a6846
|
Fix dangling tzinfo dependency
|
2008-11-23 16:12:41 -08:00 |
|
Jeremy Kemper
|
6c7463deab
|
Autoload ActiveSupport::Duration, Gzip, OptionMerger, OrderedHash, OrderedOptions, StringInquirer, TimeWithZone, and TimeZone also
|
2008-11-23 16:11:32 -08:00 |
|
Jeremy Kemper
|
e44076f2c3
|
Autoload cache stores
|
2008-11-23 16:10:41 -08:00 |
|
Jeremy Kemper
|
49752e6ca5
|
Duration requires BasicObject in case it's autoloaded early
|
2008-11-23 16:10:20 -08:00 |
|
Jeremy Kemper
|
1250faa858
|
Lazy-require tzinfo for TimeZone
|
2008-11-23 16:08:00 -08:00 |
|
Jeremy Kemper
|
0eca8111f2
|
Autoload ActiveSupport::SecureRandom and ::MessageVerifier
|
2008-11-23 15:39:28 -08:00 |
|
Jeremy Kemper
|
308876fca2
|
Lazy-require tempfile for File#atomic_write
|
2008-11-23 15:31:57 -08:00 |
|
Jeremy Kemper
|
283418a785
|
Lazy-require DRb for ActiveSupport::Cache::DRbStore
|
2008-11-23 15:30:21 -08:00 |
|
Jeremy Kemper
|
51d155e697
|
Lazy-require OpenSSL
|
2008-11-23 15:29:03 -08:00 |
|
Jeremy Kemper
|
c26cb08998
|
Lazy-require OpenSSL. Skip entirely if SecureRandom is available.
|
2008-11-23 15:27:09 -08:00 |
|
Jeremy Kemper
|
9f5ab945b7
|
Lazy-require XmlSimple. Move CGI require to object conversions where it's actually used.
|
2008-11-23 15:26:32 -08:00 |
|
Jeremy Kemper
|
e931012287
|
Require Mocha >= 0.9.3 which includes a MiniTest adapter
|
2008-11-23 15:05:59 -08:00 |
|
Jeremy Kemper
|
5d3712a81e
|
Hack builder to look for fast_xs instead of insisting on its own String#to_xs
|
2008-11-23 15:05:57 -08:00 |
|
Jeremy Kemper
|
6de241be81
|
Lazy-require builder lib
|
2008-11-23 15:05:57 -08:00 |
|
Joshua Peek
|
31ce92f7b5
|
Use autoload instead of explicit requires for ActionController
|
2008-11-23 16:35:47 -06:00 |
|
Jeremy Kemper
|
6de1060eb5
|
Changelog for #1448. Mention updating old translations with storage_units key.
|
2008-11-23 13:22:46 -08:00 |
|
Jeremy Kemper
|
6d91e7a7d6
|
Remove explicit tmail requires in favor of autoload
|
2008-11-23 13:16:39 -08:00 |
|
Joshua Peek
|
d75a234501
|
simplify console with helpers
|
2008-11-23 15:15:20 -06:00 |
|
Yaroslav Markin
|
d36158794b
|
Add i18n for number_to_human_size() helper storage units. Translation key is number.human.storage_units.
[#1448 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2008-11-23 13:11:59 -08:00 |
|
Jeremy Kemper
|
9d4ae40bb4
|
Move deprecation assertions so TestCase (and Mocha) needn't load on startup
|
2008-11-23 13:11:07 -08:00 |
|
Jeremy Kemper
|
2db8571edf
|
Don't hide deeper LoadErrors
|
2008-11-23 13:10:27 -08:00 |
|
Jeremy Kemper
|
e9aa975cc9
|
Eliminate thread-local circular reference stack by passing it as an argument instead
|
2008-11-23 12:36:03 -08:00 |
|
Jeremy Kemper
|
4454ff1bcb
|
Don't include .rb suffix in core_ext requires
|
2008-11-23 12:35:20 -08:00 |
|
Joshua Peek
|
bc4d05b244
|
A back support for legacy TemplateHandler#render API
|
2008-11-23 13:57:01 -06:00 |
|
Joshua Peek
|
2c01f2b4e9
|
use autoload instead of explicit requires for ActionView
|
2008-11-23 13:42:07 -06:00 |
|
Joshua Peek
|
e201fc750b
|
use autoload instead of explicit requires for ActionMailer
|
2008-11-23 12:27:25 -06:00 |
|
Michael Koziarski
|
04d2d043ca
|
Move the cookie store to use the MessageVerifier class.
This removes support for ancient cookie-store generated cookies which were double escaped.
|
2008-11-23 16:42:15 +01:00 |
|
Michael Koziarski
|
f9b1aa7f4c
|
Don't need _message as it's in the class name already
|
2008-11-23 16:33:56 +01:00 |
|
Michael Koziarski
|
d460c9a255
|
Add ActiveSupport::MessageVerifier to aid users who need to store tamper-proof messages in cookies etc.
This is particularly useful for things like remember-me tokens in web applications and auto-unsubscribe links in emails.
|
2008-11-23 15:33:59 +01:00 |
|
Michael Koziarski
|
c4a0143854
|
Update the generated controller to not include the deprecated :secret option to protect_from_forgery
|
2008-11-23 14:28:34 +01:00 |
|
Michael Koziarski
|
9fdb15e60f
|
Change the forgery token implementation to just be a simple random string.
This deprecates the use of :secret and :digest which were only needed when we were hashing session ids.
|
2008-11-23 14:28:34 +01:00 |
|
David Heinemeier Hansson
|
ed7549da28
|
Merge branch 'master' of git@github.com:rails/rails
|
2008-11-23 14:09:45 +01:00 |
|
David Heinemeier Hansson
|
db6b3a1f2c
|
Docfix [#1444 state:committed]
|
2008-11-23 13:43:59 +01:00 |
|
Sam Pohlenz
|
5ea9f2cac6
|
Allow helpers directory to be overridden via ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2008-11-23 13:42:53 +01:00 |
|
Sam Pohlenz
|
bdf995bc5d
|
Allow helpers directory to be overridden via ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2008-11-23 13:41:52 +01:00 |
|
David Heinemeier Hansson
|
9e08a3bb1d
|
Added rake rails:update:application_controller to renamed application.rb to application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it [#1439 state:committed] (kastner)
|
2008-11-23 13:39:30 +01:00 |
|
Jeremy Kemper
|
4d2ccbb364
|
Use a relative require for bundled rack lib
|
2008-11-22 22:40:32 -08:00 |
|
Tom Lea
|
6b06c9870a
|
Changed the fallback String#each_char to use valid 1.9 syntax.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
2008-11-22 22:01:01 -08:00 |
|
Jeremy Kemper
|
e7208d382a
|
Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit.
|
2008-11-22 19:22:45 -08:00 |
|
Jeremy Kemper
|
c79fb32e93
|
Ruby 1.9 compat: don't shadow local var with block arg
|
2008-11-22 19:19:13 -08:00 |
|
Jeremy Kemper
|
dc07c0e02b
|
Fix indentation mismatches
|
2008-11-22 19:19:13 -08:00 |
|
Jeremy Kemper
|
0e2d18e415
|
Extract state query method definition and quiet method redefinition warning.
|
2008-11-22 19:19:13 -08:00 |
|
Jeremy Kemper
|
0492759db3
|
MiniTest compat: don't shadow @name
|
2008-11-22 19:19:13 -08:00 |
|
Jeremy Kemper
|
51383c57a2
|
MiniTest compat: don't check for test/unit's assertion in particular
|
2008-11-22 19:19:12 -08:00 |
|
Jeremy Kemper
|
a75354fae1
|
Ruby 1.9 compat: don't use defined? on complex expressions
|
2008-11-22 19:19:12 -08:00 |
|
Jeremy Kemper
|
f927a60d0f
|
Require mocha >= 0.9.0 for AS tests
|
2008-11-22 19:19:12 -08:00 |
|
Joshua Peek
|
708f4c3ae6
|
Switch script/server to use rack processor
|
2008-11-22 14:48:32 -06:00 |
|
Joshua Peek
|
cc67272cba
|
Vendor rack 0.4.0
|
2008-11-22 14:33:00 -06:00 |
|
Joshua Peek
|
4b36f76e7a
|
missed lighttpd config
|
2008-11-22 14:13:23 -06:00 |
|
Joshua Peek
|
40c6a8b970
|
Drop lighttpd support from script/server
|
2008-11-22 14:10:50 -06:00 |
|