Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix assertions | Aaron Patterson | 2012-10-18 | 1 | -2/+2 |
| | |||||
* | Make DescendantsTracker thread safe and optimize the #descendants method. | thedarkone | 2012-10-18 | 2 | -11/+17 |
| | |||||
* | some ruby interpreters don't have ruby-prof so just skip the tests | Aaron Patterson | 2012-10-18 | 1 | -3/+12 |
| | | | | rather than exiting the process. | ||||
* | Revert "remove unnecessary object/conversions file" | Xavier Noria | 2012-10-16 | 2 | -0/+2 |
| | | | | | | | This file is used at least by Active Merchant, its existence is maybe not necessary but no big deal either. This reverts commit ae9b3d7cecd77b9ace38671b183e1a360bf632b6. | ||||
* | Remove the queue container. Premature consolidation. Set up and maintain ↵ | Jeremy Kemper | 2012-10-12 | 1 | -28/+0 |
| | | | | queues in the classes that use them instead. | ||||
* | Merge pull request #7007 from Mik-die/hash_extract | Rafael Mendonça França | 2012-10-12 | 1 | -1/+25 |
|\ | | | | | make Hash#extract! more symmetric with Hash#slice | ||||
| * | add more testcases and doc about Hash#extract! | Mikhail Dieterle | 2012-10-08 | 1 | -2/+9 |
| | | |||||
| * | make Hash#extract! more symmetric with Hash#slice | Mikhail Dieterle | 2012-10-08 | 1 | -0/+17 |
| | | |||||
* | | Move the TestQueue tests to the proper file | Rafael Mendonça França | 2012-10-12 | 1 | -0/+44 |
| | | |||||
* | | Cleanup trailing whitespaces | dfens | 2012-10-12 | 1 | -1/+1 |
| | | |||||
* | | adding a test for b21f24d9807bd161af947cf0f0cc440c9adffb73 | Aaron Patterson | 2012-10-11 | 1 | -0/+14 |
| | | |||||
* | | let (array|hash)/conversions.rb load the extensions in ↵ | Xavier Noria | 2012-10-09 | 1 | -2/+0 |
| | | | | | | | | object/to_(param|query).rb | ||||
* | | adds a missing require | Xavier Noria | 2012-10-09 | 1 | -0/+1 |
| | | |||||
* | | adds missing require | Xavier Noria | 2012-10-09 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #7817 from NARKOZ/object-conversions | Xavier Noria | 2012-10-09 | 2 | -2/+0 |
|\ \ | |/ |/| | remove unnecessary object/conversions file | ||||
| * | remove unnecessary object/conversions file | Nihad Abbasov | 2012-10-02 | 2 | -2/+0 |
| | | |||||
* | | Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring them. ↵ | Jeremy Kemper | 2012-10-06 | 1 | -1/+0 |
| | | | | | | | | No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add973ebcb3b4c1efbfaf07786550a3e219af | ||||
* | | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 1 | -0/+32 |
|\ \ | |/ |/| | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | ||||
| * | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | Michael Koziarski | 2012-10-01 | 1 | -0/+32 |
| | | | | | | | | | | | | This will be used to derive keys from the secret and a salt, in order to allow us to do things like encrypted cookie stores without using the secret for multiple purposes directly. | ||||
* | | warning fixed: (...) interpreted as grouped expression | Arun Agrawal | 2012-10-01 | 1 | -1/+1 |
| | | |||||
* | | fix broken cache tests | Brian Durand | 2012-09-30 | 1 | -1/+1 |
|/ | |||||
* | Fix other assertions that were backwards. | Steve Klabnik | 2012-09-30 | 1 | -5/+5 |
| | | | | This time I used ack. | ||||
* | fix order of assertions. | Steve Klabnik | 2012-09-30 | 1 | -2/+2 |
| | |||||
* | Optimize ActiveSupport::Cache::Entry to reduce memory and processing overhead. | Brian Durand | 2012-09-30 | 1 | -38/+53 |
| | |||||
* | Changed test names to match proper context | Wojciech Wnętrzak | 2012-09-28 | 1 | -2/+2 |
| | |||||
* | ConstantLookup is not needed in every TestCase decendant | Andy Lindeman | 2012-09-26 | 1 | -0/+1 |
| | |||||
* | Tests tag the Rails log with the current test class and test case | Jeremy Kemper | 2012-09-26 | 1 | -0/+15 |
| | |||||
* | Allow wrapping a logger that hasn't set a formatter. Default to our ↵ | Jeremy Kemper | 2012-09-26 | 1 | -0/+8 |
| | | | | SimpleFormatter. Otherwise we try extending nil with the tagging API. | ||||
* | Add logger.push_tags and .pop_tags to complement logger.tagged | Jeremy Kemper | 2012-09-26 | 1 | -0/+17 |
| | |||||
* | Add missing inflector dependency | Mike Moore | 2012-09-25 | 1 | -1/+1 |
| | |||||
* | Add register_spec_type test coverage | Mike Moore | 2012-09-24 | 1 | -0/+23 |
| | |||||
* | Create ActiveSupport::Testing::ConstantLookup | Mike Moore | 2012-09-24 | 1 | -0/+58 |
| | | | | | AS::TC::ConstantLookup walks the test's name to find the constant it is describing. This additional lookup logic is needed to better support minitest's spec DSL. | ||||
* | Remove .rb from require sentences | José Corcuera Z | 2012-09-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #7613 from marcandre/delegate_to_class | Jeremy Kemper | 2012-09-20 | 1 | -0/+11 |
|\ | | | | | Nice and easy delegation to the class | ||||
| * | Nice and easy delegation to the class | Marc-Andre Lafortune | 2012-09-11 | 1 | -0/+11 |
| | | |||||
* | | Fix #6962. AS::TimeWithZone#strftime responds incorrectly to %:z and %::z ↵ | kennyj | 2012-09-20 | 1 | -0/+8 |
| | | | | | | | | format strings. | ||||
* | | No need to defensively work jobs in another thread | Jeremy Kemper | 2012-09-18 | 1 | -1/+1 |
| | | |||||
* | | Date.beginning_of_week thread local and beginning_of_week application config ↵ | gregolsen | 2012-09-18 | 1 | -0/+50 |
| | | | | | | | | option added (default is Monday) | ||||
* | | Remove unncessary code. | kennyj | 2012-09-17 | 1 | -1/+0 |
| | | |||||
* | | Always run jobs using a consumer, even in synchronous & test queues, to ↵ | Jeremy Kemper | 2012-09-16 | 3 | -37/+59 |
| | | | | | | | | ensure shared behavior. | ||||
* | | set up config_accessor with a default value by block | Larry Lv | 2012-09-17 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ActiveSupport::Configurable should allow config_accessor to take default value by block, just like cattr_accessor. class User include ActiveSupport::Configurable config_accessor :hair_colors do [:brown, :black, :blonde, :red] end end User.hair_colors # => [:brown, :black, :blonde, :red] * remove trailing whitespaces in configurable.rb and its test file. * Update ActiveSupport CHANGELOG. | ||||
* | | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 3 | -0/+228 |
| | | |||||
* | | Allow passing block to deep_merge and deep_merge! | Pranas Kiziela | 2012-09-13 | 1 | -0/+10 |
| | | | | | | | | | | Hash#merge accepts block that you can use to customize how hash values are merged. This change makes merge and deep_merge compatible. | ||||
* | | Change ActiveSupport::Deprecation to class. | Piotr Niełacny | 2012-09-13 | 1 | -56/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActiveSupport::Deprecation is now a class rather than a module. You can get instance of ActiveSupport::Deprecation calling #instance method. ActiveSupport::Deprecation.instance But when you need to get new object od ActiveSupport::Deprecation you need to just call #new. @instance = ActiveSupport::Deprecation.new Since you can create a new object, you can change the version and the name of the library where the deprecator concerned. ActiveSupport::Deprecation.new('2.0', 'MyGem') If you need use another deprecator instance you can select it in the options of deprecate method. deprecate :method, :deprecator => deprecator_instance Documentation has been updated. | ||||
* | | extend ActiveSupport::Deprecation with self, allow other objects to ↵ | Robert Pankowecki | 2012-09-13 | 1 | -0/+127 |
|/ | | | | | | | | | | extend/include it also. test local deprecation deprecator object Test ActiveSupport::Deprecation when included | ||||
* | ' dates back to SGML when ' was introduced in HTML 4.0 | Kalys Osmonov | 2012-09-09 | 1 | -1/+1 |
| | |||||
* | Fix AS tests due to builder change with nil values / empty strings | Carlos Antonio da Silva | 2012-09-07 | 1 | -2/+2 |
| | | | | | Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about that. | ||||
* | Extend HashWithIndifferentAccess#update to take an optional block | Leo Cassarani | 2012-09-05 | 1 | -0/+23 |
| | | | | | | | | | | | | | When a block is passed into the method, it will be invoked for each duplicated key, with the key in question and the two values as arguments. The value for the duplicated key in the receiver will be set to the return value of the block. This behaviour matches Ruby's long-standing implementation of Hash#update and is intended to provide a more consistent interface. HashWithIndifferentAccess#merge is also affected by the change, as it uses #update internally. | ||||
* | detect circular constant autoloading | Xavier Noria | 2012-08-28 | 3 | -0/+16 |
| | | | | | | | Nowadays circular autoloads do not work, but the user gets a NameError that says some constant is undefined. That's puzzling, because he is normally trying to autoload a constant he knows can be autoloaded. With this check we can give a better error message. | ||||
* | Merge pull request #7029 from panthomakos/date-and-time | Rafael Mendonça França | 2012-08-25 | 4 | -469/+215 |
|\ | | | | | Refactored common date and time calculations. |