Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | some copy edits [ci skip] | Vijay Dev | 2012-05-30 | 1 | -4/+4 | |
| | | ||||||
| * | fix example format and add markup in Module#mattr_accessor documentation [ci ↵ | Francesco Rodriguez | 2012-05-29 | 1 | -10/+10 | |
| | | | | | | | | skip] | |||||
| * | Updates Array conversions method documentations and clean ups | Alvaro Pereyra | 2012-05-28 | 1 | -4/+0 | |
| | | ||||||
| * | add ActiveSupport::JSON.decode documentation [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -0/+5 | |
| | | ||||||
| * | add example to ActiveSupport::JSON.encode [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -1/+4 | |
| | | ||||||
| * | fix empty lines [ci skip] | Francesco Rodriguez | 2012-05-28 | 2 | -2/+0 | |
| | | ||||||
| * | Merge branch 'master' of github.com:lifo/docrails | Alvaro Pereyra | 2012-05-28 | 45 | -70/+297 | |
| |\ | ||||||
| | * | remove :nodoc: from Class#subclasses [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -4/+10 | |
| | | | ||||||
| | * | add :locale option to Array#to_sentence documentation [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -0/+27 | |
| | | | ||||||
| | * | add examples to Array#to_sentence [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -4/+24 | |
| | | | ||||||
| | * | update documentation of array/access methods [ci skip] | Francesco Rodriguez | 2012-05-28 | 1 | -8/+16 | |
| | | | ||||||
| * | | Updates documentation with cleaner examples and texts [ci skip] | Alvaro Pereyra | 2012-05-28 | 2 | -1/+15 | |
| | | | ||||||
| * | | Remove blank trailing comments | Henrik Hodne | 2012-05-20 | 30 | -51/+0 | |
| | | | | | | | | | | | | | | | | | | | | | For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed. | |||||
* | | | True, False, and Nil should be represented in as_json as themselves. | Erich Menge | 2012-05-29 | 1 | -9/+9 | |
| | | | ||||||
* | | | Merge pull request #6525 from freerange/minitest-passthrough-exceptions | José Valim | 2012-05-29 | 1 | -0/+12 | |
|\ \ \ | | | | | | | | | Exceptions like Interrupt & NoMemoryError should not be rescued in tests. | |||||
| * | | | Avoid dependency on MiniTest::Unit::TestCase::PASSTHROUGH_EXCEPTIONS. | James Mead | 2012-05-29 | 1 | -2/+10 | |
| | | | | ||||||
| * | | | Exceptions like Interrupt should not be rescued. | James Mead | 2012-05-28 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neither Test::Unit nor MiniTest rescue exceptions like Interrupt or NoMemoryError, but ActiveSupport::Testing::SetupAndTeardown#run which overrides MiniTest::Unit::TestCase#run rescues them. Rescuing an Interrupt exception is annoying, because it means when you are running a lot of tests e.g. when running one of the rake test tasks, you cannot break out using ctrl-C. Rescuing exceptions like NoMemoryError is foolish, because the most sensible thing to happen is for the process to terminate as soon as possible. This solution probably needs some finessing e.g. I'm not clear whether the assumption is that only MiniTest is supported. Also early versions of MiniTest did not have this behaviour. However, hopefully it's a start. Integrating with Test::Unit & MiniTest has always been a pain. It would be great if both of them provided sensible extension points for the kind of things that both Rails and Mocha want to do. | |||||
* | | | | decoupling activesupport performance testing from actionview and adding tests | Andrew Mutz | 2012-05-28 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | Review requires from number helper | Carlos Antonio da Silva | 2012-05-28 | 2 | -11/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of these requires are now only necessary in ActiveSupport::NumberHelper. Add hash/keys require due to symbolize_keys usage in number helpers. Also remove some whitespaces. Closes #6414 | |||||
* | | | | make AS::Multibyte::Chars work w/o multibyte core ext | Sergey Nartimov | 2012-05-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Use ActiveSupport::Multibyte::Chars.new instead of String#mb_chars. It allows to use ActiveSupport::Multibyte::Chars without requiring String multibyte core extension. | |||||
* | | | | remove unnecessary require | Sergey Nartimov | 2012-05-28 | 2 | -4/+0 | |
|/ / / | | | | | | | | | | | | | AS::Multibyte are no longer required by access and filters string core extensions. | |||||
* | | | Fix handling of negative zero in number_to_currency | Jared Beck | 2012-05-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | Moving NumberHelpers from ActionView to ActiveSupport | Andrew Mutz | 2012-05-27 | 5 | -2/+774 | |
| |/ |/| | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-27 | 2 | -14/+32 | |
|\ \ | ||||||
| * | | update Module#mattr_accessor documentation [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -6/+6 | |
| | | | ||||||
| * | | update Hash documentation with 1.9 syntax [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -8/+16 | |
| | | | ||||||
| * | | add examples to Hash#deep_stringify_keys and Hash#deep_symbolize_keys [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -0/+10 | |
| | | | ||||||
* | | | Update the documentation and add CHANGELOG entry | Rafael Mendonça França | 2012-05-26 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-26 | 4 | -13/+16 | |
|\ \ | ||||||
| * | | Fix unbalanced braces in Hash#typecast_xml_value internal comment | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | Clean Date#beginning_of_month description | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Unnecessary peace of text was injected at 507da04a149b44e20c5a0ba72a218fe1762b6baf by mistake. | |||||
| * | | Update examples of Array #in_groups and #in_groups_of | Alexey Vakhov | 2012-05-25 | 1 | -10/+13 | |
| | | | | | | | | | | | | | | | Examples should be not square to visually underline a difference between Array#in_groups and Array#in_groups_of. | |||||
| * | | Fix ActiveSupport Cache decrement method description | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Reorder deep_symbolize_keys methods | Mark McSpadden | 2012-05-25 | 1 | -7/+7 | |
| | | | ||||||
* | | | Fix Range#sum optimized version | Alexey Vakhov | 2012-05-25 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At 1bd4d1c67459a91415ee73a8f55d2309c0d62a87 was added Range#sum optimized version for arithmetic progressions. This improvment injected a defect with not integer range boundaries. The defect was fixed by e0adfa82c05f9c975005f102b4bcaebfcd17d241. The second commit really disabled optimization at all because in Ruby integer-valued numbers are instances of Fixnum and Bignum classes. We should #use is_a? (#kind_of?) method instead #instance_of? to check if value is numerical: 1.class # => Fixnum 1.instance_of?(Integer) # => false 1.is_a?(Integer) # => true -100_000_000_000.class # => Bignum -100_000_000_000.instance_of?(Integer) # => false -100_000_000_000.is_a?(Integer) # => true Moreover original implementation of Range#sum has a defect with reverse range boundaries. If the first boundary is less than the second range is empty. Current commit fixes and tests this case too. | |||||
* | | | Add missing requires for deep_dup and hash ext test | Carlos Antonio da Silva | 2012-05-24 | 1 | -0/+2 | |
| | | | ||||||
* | | | Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ↵ | Mark McSpadden | 2012-05-23 | 1 | -17/+26 | |
|/ / | | | | | | | deep_*_keys to use deep_transform_keys. | |||||
* | | Adding deep versions of stringify_keys and symbolize_keys (plain and bang) ↵ | Lucas Húngaro | 2012-05-23 | 2 | -0/+48 | |
| | | | | | | | | for nested hashes | |||||
* | | Add Hash#transform_keys and Hash#transform_keys! and refactor *_keys methods ↵ | Mark McSpadden | 2012-05-23 | 1 | -18/+25 | |
| | | | | | | | | to use them. | |||||
* | | changed xml type datetime to dateTime, fixes #6328 | Angelo capilleri | 2012-05-23 | 2 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | XmlMini define the xml 'datatime', but according to http://www.w3.org/TR/xmlschema-2/#dateTime could be better change this to 'dateTime' with upper case letter 'T. So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime' add the changing to the changelog | |||||
* | | require active_support/lazy_load_hooks where is needed | Santiago Pastorino | 2012-05-22 | 1 | -0/+1 | |
| | | ||||||
* | | refactor lazy_load_hooks load position | Jan Xie | 2012-05-22 | 1 | -1/+0 | |
| | | ||||||
* | | remove useless require | Jan Xie | 2012-05-22 | 1 | -1/+0 | |
| | | ||||||
* | | Merge pull request #5125 from winston/log_exception_when_cache_read_fails | Michael Koziarski | 2012-05-21 | 1 | -1/+2 | |
|\ \ | | | | | | | #read_entry in ActiveSupport::Cache::FileStore should log details of the exception when an exception is thrown | |||||
| * | | #read_entry in ActiveSupport::Cache::FileStore should log details of the ↵ | Winston | 2012-02-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | exception when an exception is thrown. | |||||
* | | | Add instance_accessor option to class_attribute | Alexey Vakhov | 2012-05-22 | 1 | -2/+4 | |
| | | | ||||||
* | | | Improve docs for `try` by adding note on `BasicObject` | Piotr Sarnacki | 2012-05-20 | 1 | -0/+4 | |
| | | | | | | | | | | | | [ci skip] closes #5790 | |||||
* | | | Fix warning: shadowing outer local variable - constant. | kennyj | 2012-05-19 | 1 | -3/+3 | |
| | | | ||||||
* | | | Handle case where ancestor is not the end of the chain | Andrew White | 2012-05-19 | 1 | -7/+12 | |
| | | | ||||||
* | | | Fix constantize so top level constants are looked up properly. | Marc-Andre Lafortune | 2012-05-19 | 1 | -1/+1 | |
| | | |