aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add cookie.encrypted which returns an EncryptedCookieJarSantiago Pastorino2012-11-031-1/+1
| | | | | | | | | | | | | | | | | | How to use it? cookies.encrypted[:discount] = 45 => Set-Cookie: discount=ZS9ZZ1R4cG1pcUJ1bm80anhQang3dz09LS1mbDZDSU5scGdOT3ltQ2dTdlhSdWpRPT0%3D--ab54663c9f4e3bc340c790d6d2b71e92f5b60315; path=/ cookies.encrypted[:discount] => 45
* | Merge pull request #8219 from nikitug/threadsafe_xmlmini_with_backendRafael Mendonça França2012-11-151-0/+62
|\ \ | | | | | | | | | | | | | | | | | | Make XmlMini.with_backend usable with threads Conflicts: activesupport/CHANGELOG.md
| * | Make XmlMini.with_backend usable with threadsNikita Afanasenko2012-11-151-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `XmlMini.with_backend` now may be safely used with threads: Thread.new do XmlMini.with_backend("REXML") { rexml_power } end Thread.new do XmlMini.with_backend("LibXML") { libxml_power } end Each thread will use it's own backend.
* | | let remove_constant still delete Kernel#autoload constants [rounds #8213]Xavier Noria2012-11-151-2/+2
|/ / | | | | | | | | The method #remove_const does not load the file, so we can still remove the constant.
* | dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213]Xavier Noria2012-11-152-0/+11
| |
* | backporting Struct#to_h from ruby 2.0Aaron Patterson2012-11-131-0/+10
| |
* | `#as_json` isolates options when encoding a hash. Closes #8182Yves Senn2012-11-121-0/+18
| | | | | | | | | | | | Setting options in a custom `#as_json` method had side effects. Modifications of the `options` hash leaked outside and influenced the conversion of other objects contained in the hash.
* | Test Hash#diff deprecation, also prevent deprecation message in AS testsNikita Afanasenko2012-11-111-1/+3
| |
* | Merge pull request #7763 from route/full-captureCarlos Antonio da Silva2012-11-081-0/+2
|\ \ | | | | | | Kernel#capture replaced by version which can catch output from subprocesses
| * | Kernel#capture replaced by version which can catch output from subprocessesDmitry Vorotilin2012-11-011-0/+2
| |/
* | cleaning up constantize testsAaron Patterson2012-11-071-44/+44
| |
* | Make the tests pass with minitest 4.2Rafael Mendonça França2012-11-051-0/+3
| |
* | Fix typo in test nameCarlos Antonio da Silva2012-11-042-3/+2
|/
* Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-301-1/+1
|
* Fix some assert_raise calls containing messages in Active SupportCarlos Antonio da Silva2012-10-282-7/+15
|
* Fix queueing tests that should be consuming the queue rather than draining itJeremy Kemper2012-10-261-3/+9
|
* Job worker thread logs failed jobs tooJeremy Kemper2012-10-261-1/+1
|
* Job worker thread logs to stderr if no logger is providedJeremy Kemper2012-10-261-0/+12
|
* Implement replace method so key? works correctly.David Graham2012-10-261-0/+12
|
* make the cache test more @tenderlove(ing) and not depend on internal ↵Noah Hendrix2012-10-231-2/+7
| | | | implentation
* pass the key to the block in cache.fetch on missesNoah Hendrix2012-10-231-2/+7
|
* fix assertionsAaron Patterson2012-10-181-2/+2
|
* Make DescendantsTracker thread safe and optimize the #descendants method.thedarkone2012-10-182-11/+17
|
* some ruby interpreters don't have ruby-prof so just skip the testsAaron Patterson2012-10-181-3/+12
| | | | rather than exiting the process.
* Revert "remove unnecessary object/conversions file"Xavier Noria2012-10-162-0/+2
| | | | | | | This file is used at least by Active Merchant, its existence is maybe not necessary but no big deal either. This reverts commit ae9b3d7cecd77b9ace38671b183e1a360bf632b6.
* Remove the queue container. Premature consolidation. Set up and maintain ↵Jeremy Kemper2012-10-121-28/+0
| | | | queues in the classes that use them instead.
* Merge pull request #7007 from Mik-die/hash_extractRafael Mendonça França2012-10-121-1/+25
|\ | | | | make Hash#extract! more symmetric with Hash#slice
| * add more testcases and doc about Hash#extract!Mikhail Dieterle2012-10-081-2/+9
| |
| * make Hash#extract! more symmetric with Hash#sliceMikhail Dieterle2012-10-081-0/+17
| |
* | Move the TestQueue tests to the proper fileRafael Mendonça França2012-10-121-0/+44
| |
* | Cleanup trailing whitespacesdfens2012-10-121-1/+1
| |
* | adding a test for b21f24d9807bd161af947cf0f0cc440c9adffb73Aaron Patterson2012-10-111-0/+14
| |
* | let (array|hash)/conversions.rb load the extensions in ↵Xavier Noria2012-10-091-2/+0
| | | | | | | | object/to_(param|query).rb
* | adds a missing requireXavier Noria2012-10-091-0/+1
| |
* | adds missing requireXavier Noria2012-10-091-0/+1
| |
* | Merge pull request #7817 from NARKOZ/object-conversionsXavier Noria2012-10-092-2/+0
|\ \ | |/ |/| remove unnecessary object/conversions file
| * remove unnecessary object/conversions fileNihad Abbasov2012-10-022-2/+0
| |
* | Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring them. ↵Jeremy Kemper2012-10-061-1/+0
| | | | | | | | No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add973ebcb3b4c1efbfaf07786550a3e219af
* | Merge pull request #6952 from NZKoz/key_generatorMichael Koziarski2012-10-021-0/+32
|\ \ | |/ |/| Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2
| * Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2Michael Koziarski2012-10-011-0/+32
| | | | | | | | | | | | This will be used to derive keys from the secret and a salt, in order to allow us to do things like encrypted cookie stores without using the secret for multiple purposes directly.
* | warning fixed: (...) interpreted as grouped expressionArun Agrawal2012-10-011-1/+1
| |
* | fix broken cache testsBrian Durand2012-09-301-1/+1
|/
* Fix other assertions that were backwards.Steve Klabnik2012-09-301-5/+5
| | | | This time I used ack.
* fix order of assertions.Steve Klabnik2012-09-301-2/+2
|
* Optimize ActiveSupport::Cache::Entry to reduce memory and processing overhead.Brian Durand2012-09-301-38/+53
|
* Changed test names to match proper contextWojciech Wnętrzak2012-09-281-2/+2
|
* ConstantLookup is not needed in every TestCase decendantAndy Lindeman2012-09-261-0/+1
|
* Tests tag the Rails log with the current test class and test caseJeremy Kemper2012-09-261-0/+15
|
* Allow wrapping a logger that hasn't set a formatter. Default to our ↵Jeremy Kemper2012-09-261-0/+8
| | | | SimpleFormatter. Otherwise we try extending nil with the tagging API.
* Add logger.push_tags and .pop_tags to complement logger.taggedJeremy Kemper2012-09-261-0/+17
|