aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* String #to_time and #to_datetime: handle fractional seconds [#864 ↵Jason Frey (Fryguy)2009-06-071-0/+3
| | | | state:resolved]
* Pull in time extensions alsoJeremy Kemper2009-06-051-1/+1
|
* Further cleaning up new callbacksYehuda Katz2009-06-022-44/+44
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-022-40/+40
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-291-3/+3
|
* AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-291-4/+13
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-10/+10
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Ensure Memcache local cache returns duplicated values [#2302 state:resolved]Joshua Peek2009-05-271-0/+9
|
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-206-6/+6
|
* Allow Module#depends_on to accept multiple modulesPratik Naik2009-05-211-0/+11
|
* Corrected new callbacks semantics with regards to using objects for around ↵Yehuda Katz + Carl Lerche2009-05-191-0/+62
| | | | filters.
* Use duck typing to also allow MemCache-like object when initializing a ↵Bryan Helmkamp2009-05-191-0/+6
| | | | | | MemCacheStore Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow MemCacheStore to be initialized with a MemCache object instead of ↵Bryan Helmkamp2009-05-191-4/+10
| | | | addresses and options
* Add ability to get multiple memcached keys at the same time (via ↵Joe Van Dyk2009-05-181-0/+9
| | | | | | MemCacheStore#read_multi). Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* load the JSON Backend lazily. If the JSON gem is already loaded, use the ↵rick2009-05-171-0/+3
| | | | JSONGem backend by default.
* Add support for parsing XML and JSON from an IO as well as a string [#2659 ↵Brian Lopez2009-05-172-0/+27
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge branch 'master' into wip_abstract_controllerYehuda Katz + Carl Lerche2009-05-113-0/+103
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb
| * ActiveSupport::OrderedHash[1,2,3,4] creates an OrderedHash instead of a Hash.Douglas F Shearer2009-05-111-0/+6
| | | | | | | | | | | | [#2615 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * ActiveSupport::OrderedHash#to_a method returns an ordered set of arrays. ↵Ken Collins2009-05-101-0/+4
| | | | | | | | | | | | | | Matches ruby1.9's Hash#to_a. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2629 state:committed]
| * Prefer "included" language over "setup"Joshua Peek2009-05-071-8/+8
| |
| * Make module dependency DSL opt inJoshua Peek2009-05-071-12/+15
| |
| * Add test coverage to module setup extensionsJoshua Peek2009-05-071-0/+74
| |
| * Fixed Hash#from_xml with keys that are all caps.codebrulee2009-05-041-0/+16
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | Don't run the action if callbacks are halted.Yehuda Katz + Carl Lerche2009-05-111-3/+11
| | | | | | In AbstractController, this means that response_body is not empty
* | Makes new callbacks support keys with special charactersYehuda Katz + Carl Lerche2009-05-011-0/+28
|/
* Work around Float faux precisionJeremy Kemper2009-04-303-15/+15
|
* add JRuby-JDOM backend for XmlMiniStephen Bannasch2009-04-261-0/+153
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Privatize rails_to_jsonJeremy Kemper2009-04-261-1/+1
|
* * Add pluggable JSON backends with support for the JSON gem. [rick]rick2009-04-233-46/+72
| | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-2228-11/+48
|
* new_callbacks core extensionsJeremy Kemper2009-04-221-5/+5
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-221-0/+1
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * Opt in to JSONJeremy Kemper2009-04-221-0/+1
| |
* | Opt in to DependenciesJeremy Kemper2009-04-222-0/+2
|/
* stdlib autoloads were hanging on 1.9.1Jeremy Kemper2009-04-221-2/+2
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-207-19/+582
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb
| * Clearer String#first and #last edge cases. Fix that foo.first(0) == instead ↵Jeremy Kemper2009-04-171-0/+2
| | | | | | | | of foo.
| * Resurrecting 1.9 compatibility.Carl Lerche & Yehuda Katz2009-04-131-1/+1
| |
| * Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-1329-415/+712
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion.
| | * Test cleanupGeoff Buesing2009-04-051-3/+3
| | |
| | * TimeWithZone.name returns 'Time', to further thwart type checkingGeoff Buesing2009-04-051-0/+4
| | |
| | * Enhance Time #since and #ago DST tests.Geoff Buesing2009-03-291-16/+57
| | |
| | * Time.local instances: Adding 24.hours across the DST boundary adds 24 hours ↵Michael Curtis2009-03-292-16/+28
| | | | | | | | | | | | instead of one day [#2066 state:resolved]
| * | Revert rspec-runner change. TODO: Add back support for the rspec T::U runner.Carl Lerche & Yehuda Katz2009-04-091-299/+301
| | |
| * | Add support for callbacksYehuda Katz2009-02-272-0/+497
| | |
| * | Make tests passYehuda Katz2009-02-021-121/+0
| | |
| * | Some merge cleanupYehuda Katz2009-02-021-0/+121
| | |
* | | Remove rarely-used DRb cache storeJeremy Kemper2009-04-171-6/+0
| | |
* | | Eliminate Pathname extensionsJeremy Kemper2009-04-171-10/+0
| | |
* | | Explicit test dependenciesJeremy Kemper2009-03-291-0/+1
| | |