aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* validate attribute names in class and module attribute accessorsDmitry Plashchynski2012-03-302-0/+28
|
* String#titleize works properly with smart quotes, closes #5584Vasiliy Ermolovich2012-03-261-1/+3
|
* fix HashWithIndifferentAccess.[] methodSergey Nartimov2012-03-231-0/+9
|
* oops, forgot to commit the tests! :bomb:Aaron Patterson2012-03-231-0/+67
|
* deprecate Proc#bind that can cause symbol memory leakSergey Nartimov2012-03-221-5/+7
|
* bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-2/+10
|
* Add missing requirekennyj2012-03-201-0/+1
|
* Provide access to logger instance within TaggedLogging blocksFND2012-03-191-1/+6
| | | | | | | | | | this improves encapsulation, simplifying occurrences like the following: Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) } ... by removing the need to rely on (i.e. repeat) outer variables: Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) }
* remove some mocha stubsAaron Patterson2012-03-161-6/+11
|
* Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-161-2/+2
| | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block
* fixed - warning: assigned but unused variable - checkerSandeep2012-03-161-1/+1
|
* escape commas in paths before globbing to avoid infinite hang in Dir[]Jon Rowe2012-03-151-0/+15
|
* Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation.Erich Menge2012-03-121-0/+4
|
* Remove warning of unused variableRafael Mendonça França2012-03-081-1/+1
|
* 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
|