Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Replace flow-control exception with explicit test. | Patrick Mahoney | 2012-10-27 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was noticed while profiling 'assets:precompile' in JRuby that exception creation was consuming a large portion of time, and some of that was due to File.atomic_write. Testing first with File.exists? eliminates the need for an exception which should be a perfomrance improvement on both JRuby and MRI. In this case, the stat() isn't even extra overhead, since it is always called. | |||||
* | | | Fix some assert_raise calls containing messages in Active Support | Carlos Antonio da Silva | 2012-10-28 | 2 | -7/+15 | |
|/ / | ||||||
* | | Fix queueing tests that should be consuming the queue rather than draining it | Jeremy Kemper | 2012-10-26 | 2 | -4/+10 | |
| | | ||||||
* | | Job consumer logs to Rails.logger by default | Jeremy Kemper | 2012-10-26 | 1 | -2/+5 | |
| | | ||||||
* | | Job worker thread logs failed jobs too | Jeremy Kemper | 2012-10-26 | 2 | -2/+2 | |
| | | ||||||
* | | Job worker thread logs to stderr if no logger is provided | Jeremy Kemper | 2012-10-26 | 2 | -2/+13 | |
| | | ||||||
* | | Implement replace method so key? works correctly. | David Graham | 2012-10-26 | 3 | -0/+22 | |
| | | ||||||
* | | Remove ActiveRecord::Model consant from AS::TestCase | Carlos Antonio da Silva | 2012-10-26 | 1 | -1/+1 | |
| | | | | | | | | Fixing the build. | |||||
* | | make the cache test more @tenderlove(ing) and not depend on internal ↵ | Noah Hendrix | 2012-10-23 | 1 | -2/+7 | |
| | | | | | | | | implentation | |||||
* | | pass the key to the block in cache.fetch on misses | Noah Hendrix | 2012-10-23 | 2 | -7/+12 | |
|/ | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-10-21 | 5 | -8/+8 | |
|\ | | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/slice.rb guides/source/active_support_core_extensions.md | |||||
| * | Hash Syntax changes to 1.9 format | AvnerCohen | 2012-10-20 | 5 | -9/+9 | |
| | | ||||||
* | | fix assertions | Aaron Patterson | 2012-10-18 | 1 | -2/+2 | |
| | | ||||||
* | | Make DescendantsTracker thread safe and optimize the #descendants method. | thedarkone | 2012-10-18 | 3 | -30/+51 | |
| | | ||||||
* | | some ruby interpreters don't have ruby-prof so just skip the tests | Aaron Patterson | 2012-10-18 | 2 | -4/+13 | |
| | | | | | | | | rather than exiting the process. | |||||
* | | Revert "remove unnecessary object/conversions file" | Xavier Noria | 2012-10-16 | 4 | -2/+11 | |
| | | | | | | | | | | | | | | This file is used at least by Active Merchant, its existence is maybe not necessary but no big deal either. This reverts commit ae9b3d7cecd77b9ace38671b183e1a360bf632b6. | |||||
* | | Backpedal from class-oriented config.queue. Set an actual queue instance. | Jeremy Kemper | 2012-10-12 | 1 | -4/+0 | |
| | | ||||||
* | | Remove the queue container. Premature consolidation. Set up and maintain ↵ | Jeremy Kemper | 2012-10-12 | 2 | -54/+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 | 3 | -4/+39 | |
|\ \ | | | | | | | make Hash#extract! more symmetric with Hash#slice | |||||
| * | | add more testcases and doc about Hash#extract! | Mikhail Dieterle | 2012-10-08 | 2 | -4/+11 | |
| | | | ||||||
| * | | make Hash#extract! more symmetric with Hash#slice | Mikhail Dieterle | 2012-10-08 | 3 | -3/+31 | |
| | | | ||||||
* | | | Move the TestQueue tests to the proper file | Rafael Mendonça França | 2012-10-12 | 1 | -0/+44 | |
| | | | ||||||
* | | | Merge pull request #7913 from mje113/master | Xavier Noria | 2012-10-12 | 1 | -0/+4 | |
|\ \ \ | | | | | | | | | MemCacheStore's move to dalli as a backend broke :race_condition_ttl support | |||||
| * | | | Padding expires_in by 5 minutes on dalli key write to facilitate ↵ | Mike Evans | 2012-10-11 | 1 | -0/+4 | |
| | |/ | |/| | | | | | | | :race_condition_ttl working correctly. | |||||
* | | | Cleanup trailing whitespaces | dfens | 2012-10-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | adding a test for b21f24d9807bd161af947cf0f0cc440c9adffb73 | Aaron Patterson | 2012-10-11 | 1 | -0/+14 | |
|/ / | ||||||
* | | Ensure expires_in and created_at timestamps aren't nil when attempting to ↵ | Joshua Peek | 2012-10-10 | 1 | -1/+1 | |
| | | | | | | | | upgrade cache | |||||
* | | let (array|hash)/conversions.rb load the extensions in ↵ | Xavier Noria | 2012-10-09 | 3 | -3/+5 | |
| | | | | | | | | 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 | |
| | | ||||||
* | | keys.include? -> key? | Xavier Noria | 2012-10-09 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #7817 from NARKOZ/object-conversions | Xavier Noria | 2012-10-09 | 4 | -11/+2 | |
|\ \ | |/ |/| | remove unnecessary object/conversions file | |||||
| * | remove unnecessary object/conversions file | Nihad Abbasov | 2012-10-02 | 4 | -11/+2 | |
| | | ||||||
* | | explains why these requires are in an unusual place | Xavier Noria | 2012-10-07 | 1 | -0/+8 | |
| | | ||||||
* | | Merge pull request #7650 from kennyj/fix_warning_20120915 | Xavier Noria | 2012-10-07 | 1 | -6/+7 | |
|\ \ | | | | | | | Fix warning: circular require considered harmful. | |||||
| * | | Fix warning: circular require considered harmful. | kennyj | 2012-10-03 | 1 | -6/+7 | |
| |/ | ||||||
* | | 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 | |||||
* | | rename private method to avoid overriding | Francesco Rodriguez | 2012-10-06 | 1 | -2/+2 | |
| | | ||||||
* | | use Rails backtrace in tests | Francesco Rodriguez | 2012-10-05 | 1 | -0/+1 | |
| | | ||||||
* | | bump minitest version ~> 4.1.0 | Francesco Rodriguez | 2012-10-05 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | |||||
* | | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 3 | -0/+56 | |
|\ \ | |/ |/| | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | |||||
| * | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | Michael Koziarski | 2012-10-01 | 3 | -0/+56 | |
| | | | | | | | | | | | | 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. | |||||
* | | Merge pull request #7708 from bdurand/optimize_log_subscribers | Rafael Mendonça França | 2012-10-01 | 1 | -0/+2 | |
|\ \ | | | | | | | Optimize log subscribers to check if the log level is sufficient | |||||
| * | | Optimize log subscribers to check if the log level is sufficient before ↵ | Brian Durand | 2012-09-30 | 1 | -0/+2 | |
| | | | | | | | | | | | | performing an operations. | |||||
* | | | New CHANGELOG entries always in the top | Rafael Mendonça França | 2012-10-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | warning fixed: (...) interpreted as grouped expression | Arun Agrawal | 2012-10-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | fix broken cache tests | Brian Durand | 2012-09-30 | 2 | -3/+3 | |
| |/ |/| | ||||||
* | | Fix other assertions that were backwards. | Steve Klabnik | 2012-09-30 | 1 | -5/+5 | |
| | | | | | | | | This time I used ack. |