aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts. ↵Jeremy Kemper2009-12-061-1/+1
| | | | Calling super gives us NameErrors.
* Should fix a few Sam Ruby fails.Yehuda Katz2009-12-032-32/+32
|
* Reorganize autoloads:Carlhuda2009-12-026-363/+491
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Quick fix for not escaping []s (not ideal)Joshua Peek2009-12-021-1/+1
|
* Failing tests for to_param/to_query not escaping "[]"Joshua Peek2009-12-023-6/+6
|
* Remove concat before overriding itJoshua Peek2009-12-011-6/+7
|
* Notifications: synchronous fanout queue pushes events to subscribers rather ↵Jeremy Kemper2009-11-292-22/+49
| | | | than having them concurrently pull
* Notifications: extract central Notifier, cordon off the internal Fanout ↵Jeremy Kemper2009-11-284-290/+259
| | | | implementation, and segregate instrumentation concerns
* Remark that Listener is an implementation detailJeremy Kemper2009-11-281-1/+2
|
* Expose a simple Queue#wait to block until all notifications are drainedJeremy Kemper2009-11-282-3/+8
|
* Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵Jeremy Kemper2009-11-282-74/+35
| | | | | | | | used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c3225453d13307c3c2733c2a8f99e491a.
* Revert "macruby: no format_datetime or msg2str"Jeremy Kemper2009-11-241-2/+2
| | | | | | Obviated by fix in macruby trunk. This reverts commit 6d91e7dca163ef55dde319452b21b767e8a0df33.
* Fixes remote errors in isolation testsYehuda Katz2009-11-231-0/+15
|
* Create SyncListener. Since they do not rely on Thread, they can be used on ↵José Valim2009-11-232-35/+74
| | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* macruby: no format_datetime or msg2strJeremy Kemper2009-11-211-2/+2
|
* Check whether another lib has implemented ruby 1.9 string interp syntaxJeremy Kemper2009-11-181-1/+1
|
* Add TimeZone dependencyYehuda Katz2009-11-141-0/+2
|
* Repair time dependenciesJeremy Kemper2009-11-148-13/+9
|
* Loosen optional gem deps from ~> to >=Jeremy Kemper2009-11-141-1/+1
|
* No need for test stubJeremy Kemper2009-11-141-2/+2
|
* Consolidate date & time landscape: require 'active_support/time'Jeremy Kemper2009-11-148-31/+23
|
* Notifications: queue.drained? for testability in place of brittle sleepsJeremy Kemper2009-11-132-19/+21
|
* Fix duration check for longer sleepJeremy Kemper2009-11-131-1/+1
|
* CI: slow down brittle notifications testsJeremy Kemper2009-11-131-9/+10
|
* Ruby 1.9.2: fix broken to_ary expectationJeremy Kemper2009-11-131-1/+3
|
* Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵Jeremy Kemper2009-11-134-19/+35
| | | | friendly nil errors for Array and Active Record methods.
* Rescue handlers should never need array wrapping. Bug if so.Jeremy Kemper2009-11-131-2/+1
|
* Prefer Array.wrap to Array()Jeremy Kemper2009-11-131-1/+2
|
* Ruby 1.9.2: work around Array allowing method_missing for to_aryJeremy Kemper2009-11-131-4/+3
|
* Test that Array.wrap works with proxy objects and structsJeremy Kemper2009-11-131-0/+20
|
* Rdoc for changes introduced in e2ed1a1ca, 36058f450.David Vrensk2009-11-121-0/+5
| | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+2
|
* Always add AS lib/ to path when running its test suiteJoshua Peek2009-11-091-4/+4
|
* Remove automatic rubygems loading from AS test runnerJoshua Peek2009-11-091-9/+1
|
* Revert "the REXML security fix is not needed for Ruby >= 1.8.7"Jeremy Kemper2009-11-092-0/+45
| | | | | | Still required on older 1.8.7 patchlevels. This reverts commit a48f49e56bf53e0a2386da898576ef12d5258358.
* DittoJeremy Kemper2009-11-091-0/+1
|
* Fix missing dependencyJeremy Kemper2009-11-091-0/+1
|
* the REXML security fix is not needed for Ruby >= 1.8.7Xavier Noria2009-11-092-45/+0
|
* Enumerable#none? is not needed for Ruby >= 1.8.7Xavier Noria2009-11-092-20/+0
|
* Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7Xavier Noria2009-11-095-35/+7
|
* String#each_char is not needed for Ruby >= 1.8.7Xavier Noria2009-11-093-25/+0
|
* String#start_with? and String#end_with? are not needed for Ruby >= 1.8.7, ↵Xavier Noria2009-11-092-22/+0
| | | | leaves their plural aliases though
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-094-15/+0
|
* Object#tap is not needed for Ruby >= 1.8.7Xavier Noria2009-11-094-28/+0
|
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-096-28/+0
|
* Object#instance_variable_defined? is not needed for Ruby >= 1.8.7Xavier Noria2009-11-092-14/+0
|
* Merge branch 'master' of github.com:rails/railsJeremy Kemper2009-11-0915-2/+1345
|\
| * Revert "Bundle I18n 0.2.0."Yehuda Katz2009-11-0915-2/+1345
| | | | | | | | This reverts commit 83f329f5f30567a10bc96410da230bf986db8ad4.
* | Merge commit 'brynary/fix-master-warnings'Jeremy Kemper2009-11-091-0/+1
|\ \ | |/ |/|
| * Fix Ruby warning: method redefined; discarding old breakpointBryan Helmkamp2009-11-091-0/+1
| |