Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bigdecimal can be duped on Ruby 2.0 | Aaron Patterson | 2012-03-20 | 1 | -2/+10 |
| | |||||
* | Add missing require | kennyj | 2012-03-20 | 1 | -0/+1 |
| | |||||
* | Provide access to logger instance within TaggedLogging blocks | FND | 2012-03-19 | 1 | -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 stubs | Aaron Patterson | 2012-03-16 | 1 | -6/+11 |
| | |||||
* | Remove deprecation from AS::Deprecation behavior, some minor cleanups | Carlos Antonio da Silva | 2012-03-16 | 1 | -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 - checker | Sandeep | 2012-03-16 | 1 | -1/+1 |
| | |||||
* | escape commas in paths before globbing to avoid infinite hang in Dir[] | Jon Rowe | 2012-03-15 | 1 | -0/+15 |
| | |||||
* | Allow retrieve_cache_key to work on collections such as ActiveRecord::Relation. | Erich Menge | 2012-03-12 | 1 | -0/+4 |
| | |||||
* | Remove warning of unused variable | Rafael Mendonça França | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #5287 from nashby/hash-slice-extract | Aaron Patterson | 2012-03-08 | 1 | -0/+7 |
|\ | | | | | refactor Hash#slice and Hash#extract! | ||||
| * | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 1 | -0/+7 |
| | | |||||
* | | Ensure load hooks can be called more than once with different contexts. | José Valim | 2012-03-06 | 1 | -0/+29 |
|/ | |||||
* | remove usages of AS::OrderedHash | Vishnu Atrai | 2012-03-03 | 2 | -3/+3 |
| | |||||
* | Merge branch 'master-security' | Aaron Patterson | 2012-03-01 | 1 | -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é Valim | 2012-02-29 | 1 | -4/+23 |
| | | |||||
| * | delete vulnerable AS::SafeBuffer#[] | Akira Matsuda | 2012-02-20 | 1 | -6/+0 |
| | | |||||
| * | add AS::SafeBuffer#clone_empty | Akira Matsuda | 2012-02-20 | 1 | -0/+9 |
| | | |||||
* | | Merge pull request #4284 from mattdbridges/time_calculation_aliases | Xavier Noria | 2012-02-28 | 3 | -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 Date | Matt Bridges | 2012-02-21 | 3 | -0/+58 |
| | | | | | | | | | | | | core extensions | ||||
* | | | decouples the implementation of the inflector from its test suite | Xavier Noria | 2012-02-24 | 1 | -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 option | Bogdan Gusiev | 2012-02-22 | 1 | -8/+1 |
| |/ |/| | |||||
* | | fixes a regression introduced by 532cd4, and a bogus test in AP the ↵ | Xavier Noria | 2012-02-10 | 1 | -0/+1 |
| | | | | | | | | regression uncovered | ||||
* | | Merge pull request #4719 from markmcspadden/singularize_words_that_end_in_ss | Xavier Noria | 2012-02-10 | 1 | -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 McSpadden | 2012-01-27 | 1 | -0/+8 |
| | | | | | | | | | | | | give you the correct singular in more cases | ||||
* | | | make Range#overlaps? accept Range of Time | Shigeya Suzuki | 2012-02-09 | 1 | -0/+12 |
| | | | |||||
* | | | Merge pull request #4878 from vijaydev/ordinal-2072 | Xavier Noria | 2012-02-07 | 2 | -0/+11 |
|\ \ \ | | | | | | | | | PR #2072 with docs | ||||
| * | | | Document Integer#ordinal available in PR #2072. | Vijay Dev | 2012-02-04 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | Also remove an unasserted line in the tests. | ||||
| * | | | Add ActiveSupport::Inflector.ordinal and Integer#ordinal | Tim Gildea | 2012-02-04 | 2 | -0/+12 |
| | | | | |||||
* | | | | Optional start_day argument for Time#all_week. | kennyj | 2012-02-06 | 1 | -0/+1 |
|/ / / | | | | | | | | | | Closes #4883 | ||||
* | | | remove unasserted line in test | Vijay Dev | 2012-02-04 | 1 | -1/+0 |
| | | | |||||
* | | | AS::Callbacks: rip out per_key option. | Bogdan Gusiev | 2012-02-04 | 2 | -15/+31 |
| | | | |||||
* | | | Added as_json method for multibyte strings | Dmitriy Vorotilin | 2012-02-01 | 1 | -0/+3 |
| | | | |||||
* | | | Revert "Fix expanding cache key for single element arrays" | David Heinemeier Hansson | 2012-01-27 | 1 | -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 #4710 | Alex Tambellini | 2012-01-26 | 1 | -2/+3 |
| | | |||||
* | | global variables may not be set depending on the match. fixes #4703 | Aaron Patterson | 2012-01-26 | 1 | -0/+4 |
| | | |||||
* | | Deprecate DateTime.local_offset | brainopia | 2012-01-25 | 2 | -15/+6 |
| | | |||||
* | | Fix GH #4344. A defined callback in extended module is called too. | kennyj | 2012-01-24 | 1 | -0/+56 |
| | | |||||
* | | pushed broadcasting down to a module | Aaron Patterson | 2012-01-20 | 1 | -1/+6 |
| | | |||||
* | | fixed test for more informative message | Aaron Patterson | 2012-01-20 | 1 | -2/+2 |
| | | |||||
* | | made the broadcast logger quack more like a logger | Aaron Patterson | 2012-01-20 | 1 | -15/+35 |
| | | |||||
* | | add a broadcasting logger so we can split logs | Aaron Patterson | 2012-01-20 | 1 | -0/+57 |
| | | |||||
* | | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 1 | -6/+2 |
| | | |||||
* | | deprecates Module#local_constant_names | Xavier Noria | 2012-01-12 | 1 | -0/+6 |
|/ | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 2 | -3/+3 |
| | |||||
* | make sure the test case name is nil | Aaron Patterson | 2012-01-06 | 1 | -0/+8 |
| | |||||
* | removing unnecessary requires | Aaron Patterson | 2012-01-06 | 5 | -8/+3 |
| | |||||
* | rescue the assertion exception | Aaron Patterson | 2012-01-06 | 1 | -13/+8 |
| | |||||
* | add the class name to the assertion message | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Remove more references to Test::Unit | Rafael Mendonça França | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | No need to check if MiniTest::Assertions is defined | Rafael Mendonça França | 2012-01-06 | 1 | -32/+30 |
| |