aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* Mute log info coming from the local_cache strategyPratik Naik2009-10-091-0/+19
|
* Ensure MessageVerifier raises appropriate exception on tampered dataPratik Naik2009-10-091-0/+1
|
* Switch to on-by-default XSS escaping for rails.Michael Koziarski2009-10-081-0/+86
| | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
* MessageVerifier#verify raises InvalidSignature if the signature is blankJeffrey Hardy2009-10-051-0/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Escaping symbol passed into Memoizable's flush_cache for query methods to ↵Jay Pignata2009-09-281-1/+10
| | | | | | | | allow them to be cleared Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3138 state:committed]
* Wrap isolated test runner in a test suiteJoshua Peek2009-09-251-0/+15
|
* Nah, test SHA1, but skip the test and whine if OpenSSL is borked upJeremy Kemper2009-09-241-4/+13
|
* Test with MD5 digest in an attempt to mollify CIJeremy Kemper2009-09-241-1/+1
|
* Restore split between require-time and runtime load path mungery. Simplifies ↵Jeremy Kemper2009-09-241-1/+1
| | | | vendor requires.
* Fixes Sam Ruby tests suite.José Valim2009-09-211-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Added Orchestra.José Valim2009-09-201-0/+161
|
* Allow Nokogiri XmlMini backend to process cdata elementsDeveloper2009-09-171-0/+11
| | | | | | [#3219 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Lookup ruby bin name tooJoshua Peek2009-09-141-1/+1
|
* Use rbconfig instead of rubygem detectionJoshua Peek2009-09-141-1/+2
|
* For testing, only load rubygems if mocha is missingJoshua Peek2009-09-141-1/+8
|
* Skip parent isolation tests tooJeremy Kemper2009-09-131-121/+123
|
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-132-34/+2
|
* Don't eager require mocha, AS unit needs to set stuff up firstJoshua Peek2009-09-131-1/+1
|
* Detect missing dependencies and automatically run bundlerJoshua Peek2009-09-132-2/+32
|
* Shush interpolation warningsJoshua Peek2009-09-131-2/+6
|
* Forget about old memoize immutable behaviorJoshua Peek2009-09-131-10/+0
|
* Avoid referencing rubygemsJoshua Peek2009-09-131-1/+1
|
* Move AS vendor support into bundler.Joshua Peek2009-09-132-5/+5
| | | Run `rake bundle` before running tests.
* Ignore isolation test tests for test-unit 2 alsoJeremy Kemper2009-09-131-2/+3
|
* Clean up spurious JSON decoding test failureJeremy Kemper2009-09-131-8/+2
|
* Ruby 1.9 compat: fix regexp slice testJeremy Kemper2009-09-131-1/+1
|
* Silence warning for Encoding.default_external=Jeremy Kemper2009-09-131-9/+5
|
* Use Encoding.default_external, not _internalJeremy Kemper2009-09-131-8/+8
|
* activesupport -> active_supportJeremy Kemper2009-09-131-3/+2
|
* Refactor new callbacks and AR implementation.José Valim2009-09-081-11/+45
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Changed ActiveRecord to use new callbacks and speed up observers by only ↵José Valim2009-09-081-0/+12
| | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Please 1.8.6 CIJoshua Peek2009-09-071-0/+3
|
* Fix failing AS isolated testsJoshua Peek2009-09-054-3/+14
|
* Add verify and clean methods to ActiveSupport::Multibyte.Michael Koziarski2009-09-041-0/+141
| | | | | | | | | | | | When accepting character input from outside of your application you can't blindly trust that all strings are properly encoded. With these methods you can check incoming strings and clean them up if necessary. Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: activesupport/lib/active_support/multibyte.rb
* Duplicating the options hash in Date#advance to prevent modification of the ↵Jay Pignata2009-08-311-0/+6
| | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Eliminate warnings from Regexp multiline extension testsJeffrey Hardy2009-08-261-3/+3
| | | | | | [#3103 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Correct Regexp#un/optionalize assertions and fix uncovered failuresJeffrey Hardy2009-08-261-6/+6
| | | | | | [#3102 state:incomplete] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Skip isolation test tests when using MiniTestJeremy Kemper2009-08-151-2/+4
|
* Allow delegating to nil, because the method might actually exist on itBryan Helmkamp2009-08-101-1/+12
|
* Correctly handle offsets in Multibyte::Chars#index and #rindex.Erik Ostrom2009-08-091-1/+6
| | | | | | | | The offset in codepoints was being passed directly to the wrapped string's index/rindex method. Now we translate the offset into bytes first. [#3028 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixing isolation testJay Pignata2009-08-091-1/+1
| | | | | | [#3022 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix that JSON parser fails to read escaped backslashes.Daniel Sheppard2009-08-091-3/+5
| | | | | | [#973 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix that irregular plural inflections should not be double-pluralized: ↵Prem Sichanugrist2009-08-091-0/+10
| | | | | | | | 'people'.pluralize should return 'people' not 'peoples'. [#1183 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* pare down core_ext dependencyJeremy Kemper2009-08-091-2/+1
|
* Add rindex to ActiveSupport::Multibyte::Chars.Erik Ostrom2009-08-091-0/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* make private_and_public_methods unmemoizable [#2372 state:resolved]jeem2009-08-091-0/+44
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Support deep-merging HashWithIndifferentAccess.Andrew Moreland2009-08-091-0/+12
| | | | | | [#2732 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Improving test coverage for Range#sum [#2489]José Valim2009-08-091-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵David Burger2009-08-092-0/+14
| | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix failing dependencies test relying on . being in LOAD_PATHJeremy Kemper2009-08-091-2/+4
|