aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5287 from nashby/hash-slice-extractAaron Patterson2012-03-081-0/+7
|\ | | | | refactor Hash#slice and Hash#extract!
| * refactor Hash#slice and Hash#extract!Vasiliy Ermolovich2012-03-061-0/+7
| |
* | Ensure load hooks can be called more than once with different contexts.José Valim2012-03-061-0/+29
|/
* remove usages of AS::OrderedHashVishnu Atrai2012-03-032-3/+3
|
* Merge branch 'master-security'Aaron Patterson2012-03-011-8/+30
|\ | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * Ensure [] respects the status of the buffer.José Valim2012-02-291-4/+23
| |
| * delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-201-6/+0
| |
| * add AS::SafeBuffer#clone_emptyAkira Matsuda2012-02-201-0/+9
| |
* | Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-283-0/+58
|\ \ | | | | | | Added aliases for prev_year, prev_month, and prev_week in Time and Date calculations
| * | Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-213-0/+58
| | | | | | | | | | | | core extensions
* | | decouples the implementation of the inflector from its test suiteXavier Noria2012-02-241-73/+66
| | | | | | | | | | | | | | | | | | | | | | | | Trying alternative implementations of the inflections is hard because the suite is coupled with the current one, setting ivars by hand etc. This commit relies on initialize_dup, as long as you maintain that one you can tweak the implementation.
* | | AS::Callbacks: deprecate rescuable optionBogdan Gusiev2012-02-221-8/+1
| |/ |/|
* | fixes a regression introduced by 532cd4, and a bogus test in AP the ↵Xavier Noria2012-02-101-0/+1
| | | | | | | | regression uncovered
* | Merge pull request #4719 from markmcspadden/singularize_words_that_end_in_ssXavier Noria2012-02-101-0/+8
|\ \ | | | | | | Add Inflection test (and fixes) to ensure singularizing a singular actually give you the correct singular in more cases
| * | Add Inflection test (and fixes) to ensure singularizing a singular actually ↵Mark McSpadden2012-01-271-0/+8
| | | | | | | | | | | | give you the correct singular in more cases
* | | make Range#overlaps? accept Range of TimeShigeya Suzuki2012-02-091-0/+12
| | |
* | | Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-072-0/+11
|\ \ \ | | | | | | | | PR #2072 with docs
| * | | Document Integer#ordinal available in PR #2072.Vijay Dev2012-02-041-1/+0
| | | | | | | | | | | | | | | | Also remove an unasserted line in the tests.
| * | | Add ActiveSupport::Inflector.ordinal and Integer#ordinalTim Gildea2012-02-042-0/+12
| | | |
* | | | Optional start_day argument for Time#all_week.kennyj2012-02-061-0/+1
|/ / / | | | | | | | | | Closes #4883
* | | remove unasserted line in testVijay Dev2012-02-041-1/+0
| | |
* | | AS::Callbacks: rip out per_key option.Bogdan Gusiev2012-02-042-15/+31
| | |
* | | Added as_json method for multibyte stringsDmitriy Vorotilin2012-02-011-0/+3
| | |
* | | Revert "Fix expanding cache key for single element arrays"David Heinemeier Hansson2012-01-271-15/+7
|/ / | | | | | | | | | | This reverts commit abe915f23777efe10f17d611bf5718ca855a0704. This broke all existing keys and it's wrong anyway. The array is just there as a convenience option for building the string. It's intentional that [ "stuff"] and "stuff" generates the same key.
* | safe_constantize should handle wrong constant name NameErrors Fixes #4710Alex Tambellini2012-01-261-2/+3
| |
* | global variables may not be set depending on the match. fixes #4703Aaron Patterson2012-01-261-0/+4
| |
* | Deprecate DateTime.local_offsetbrainopia2012-01-252-15/+6
| |
* | Fix GH #4344. A defined callback in extended module is called too.kennyj2012-01-241-0/+56
| |
* | pushed broadcasting down to a moduleAaron Patterson2012-01-201-1/+6
| |
* | fixed test for more informative messageAaron Patterson2012-01-201-2/+2
| |
* | made the broadcast logger quack more like a loggerAaron Patterson2012-01-201-15/+35
| |
* | add a broadcasting logger so we can split logsAaron Patterson2012-01-201-0/+57
| |
* | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.kennyj2012-01-191-6/+2
| |
* | deprecates Module#local_constant_namesXavier Noria2012-01-121-0/+6
|/
* require minitest rather than test/unitAaron Patterson2012-01-062-3/+3
|
* make sure the test case name is nilAaron Patterson2012-01-061-0/+8
|
* removing unnecessary requiresAaron Patterson2012-01-065-8/+3
|
* rescue the assertion exceptionAaron Patterson2012-01-061-13/+8
|
* add the class name to the assertion messageAaron Patterson2012-01-061-1/+1
|
* Remove more references to Test::UnitRafael Mendonça França2012-01-061-1/+1
|
* No need to check if MiniTest::Assertions is definedRafael Mendonça França2012-01-061-32/+30
|
* Remove unneeded testsRafael Mendonça França2012-01-062-180/+0
|
* Implement Chars#swapcase.Norman Clarke2012-01-061-2/+13
|
* Require ActiveSupport::TestCase form ActiveSupport isolation testsRafael Mendonça França2012-01-061-0/+1
|
* use AS::TestCase as the base classAaron Patterson2012-01-0565-103/+103
|
* Merge pull request #4332 from norman/multibyteJosé Valim2012-01-052-116/+13
|\ | | | | Putting AS::Multibyte on a Ruby 1.9 diet
| * Use friendlier method nameNorman Clarke2012-01-051-1/+1
| |
| * Replace Unicode.u_unpack with String#codepointsNorman Clarke2012-01-051-11/+0
| |
| * Remove multibyte utilsNorman Clarke2012-01-051-93/+0
| | | | | | | | This is neither a public API, nor used internally, so let's remove it.
| * Just use Ruby's String#[]=Norman Clarke2012-01-051-5/+0
| |