aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5177 from cap10morgan/fix-gh-issue-4374José Valim2012-04-301-1/+3
|\ | | | | fix inflector bug where -ice gets singularized into -ouse
| * fix inflector bug where -ice gets pluralized into -ouseWes Morgan2012-02-251-1/+3
| | | | | | | | This should happen for mouse or louse, but not slice or pumice.
* | Merge pull request #6044 from gazay/tests_for_string_truncate_w_regexp_separatorJosé Valim2012-04-291-0/+6
|\ \ | | | | | | Tests for regexp separator in String#truncate
| * | Tests for regexp separator in String#truncateAlexey Gaziev2012-04-291-0/+6
| | | | | | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* | | Add test for default silence and stderr deprecation behaviorsCarlos Antonio da Silva2012-04-281-0/+20
|/ /
* | Optimize the performance of #delegateDaniel Schierbeck2012-04-121-0/+19
| | | | | | | | | | | | Remove the use of #__send__ in order to boost performance. This also means that you can no longer delegate to private methods on the target object.
* | adds a new test case for titleizeXavier Noria2012-04-081-0/+1
| |
* | revises the regexp used in titleizeXavier Noria2012-04-071-12/+15
| | | | | | | | | | | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match.
* | the file update checker now also detects removed filesXavier Noria2012-04-031-2/+2
| |
* | no more deprecation required.Arun Agrawal2012-03-311-2/+0
| |
* | No more BufferedLogger so it can be LoggerTestArun Agrawal2012-03-311-1/+1
| |
* | warning removed: (...) interpreted as grouped expressionArun Agrawal2012-03-311-1/+1
| |
* | Merge pull request #4911 from Floppy/masterAaron Patterson2012-03-301-0/+10
|\ \ | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore
| * | Change FILENAME_MAX_SIZE in FileStore to 228.James Smith2012-02-061-0/+10
| | | | | | | | | | | | In order that temp filenames generated from it will fit in 255 chars. See https://github.com/rails/rails/issues/4907
* | | 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
| | |