Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | no need to to_s here. Both String and Symbol can be interpolated into String | Akira Matsuda | 2012-06-06 | 1 | -3/+0 | |
| | | | ||||||
| * | | Symbol responds_to :upcase & :downcase in Ruby >= 1.9 | Akira Matsuda | 2012-06-06 | 2 | -2/+2 | |
| | | | ||||||
| * | | stop `to_s`ing method names | Akira Matsuda | 2012-06-06 | 2 | -2/+2 | |
| | | | | | | | | | | | | Module#methods are Symbols in Ruby >= 1.9 | |||||
* | | | MiniTest::Spec shipped with Ruby >= 1.9.3 always responds_to __name__ | Akira Matsuda | 2012-06-06 | 1 | -2/+1 | |
|/ / | ||||||
* | | Eliminate dependency on Rails::VERSION::STRING | Andrew White | 2012-06-05 | 3 | -21/+44 | |
| | | | | | | | | | | | | To facilitate the use of ActiveSupport::Testing::Performance outside of a Rails application conditionally check for the presence of Rails::VERSION::STRING before including it in the environment string. | |||||
* | | add instance_accessor option to ActiveSupport::Configurable#config_accessor | Francesco Rodriguez | 2012-06-05 | 3 | -9/+82 | |
|/ | | | | | | | | | | Changes: * Add `instance_accessor` option to opt out of the instance writer and instance reader methods. * Raises a NameError if the name of the attribute is not valid. * Update documentation and tests. * Add CHANGELOG entry in activesupport. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-06-02 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix typo [ci skip] | Erich Menge | 2012-05-30 | 1 | -1/+1 | |
| | | ||||||
* | | Revert some ActiveSupport::Callbacks changes. | Rafael Mendonça França | 2012-06-01 | 1 | -3/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commits 911a0859ac065aa8e8834ac985353d659c7c7b65 and 30b31f51af6f7094c4a27b086755fc66c368d6fa. Reason: these changes make the Active Model tests fail randomly. Some examples: http://travis-ci.org/#!/rails/rails/jobs/1498992 http://travis-ci.org/#!/rails/rails/jobs/1496948 http://travis-ci.org/#!/rails/rails/jobs/1489985 This script was used to reproduce these breaks: https://gist.github.com/f6828a03ee4d40bffbc3 200 times, 0 failures | |||||
* | | Sync CHANGLOG with the 3-2-stable branch | Rafael Mendonça França | 2012-06-01 | 1 | -4/+7 | |
| | | ||||||
* | | Reduce warning messages when running Active Support tests | Andrew White | 2012-05-31 | 2 | -2/+8 | |
| | | | | | | | | Eliminate the warnings generated by redefining methods and constants. | |||||
* | | Merge pull request #6554 from erichmenge/remove-json-variable | Piotr Sarnacki | 2012-05-30 | 4 | -14/+7 | |
|\ \ | | | | | | | Remove deprecated ActiveSupport::JSON::Variable. | |||||
| * | | Remove deprecated ActiveSupport::JSON::Variable. | Erich Menge | 2012-05-30 | 4 | -14/+7 | |
| | | | ||||||
* | | | Merge pull request #6541 from ↵ | Rafael Mendonça França | 2012-05-30 | 1 | -3/+3 | |
|\ \ \ | |_|/ |/| | | | | | | | | tjouan/tj/activesupport-fix-tests-requiring-unsafe-umask Make tests pass with umask | |||||
| * | | Make File#atomic_write tests pass with umask | Thibault Jouan | 2012-05-29 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | Assertions on file permissions only pass with some combinations of file create mode and the process file mode creation mask. This mask should be applied on the file create mode before related assertions. | |||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-30 | 6 | -28/+105 | |
|\ \ \ | |_|/ |/| | | ||||||
| * | | 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 | 55 | -73/+577 | |
| |\ \ | ||||||
| | * | | 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 | 2 | -9/+15 | |
| |_|/ |/| | | ||||||
* | | | JRuby return different Array for module contents. | Arun Agrawal | 2012-05-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Test was failing against JRuby. It loads like [Constant3 Constant1] | |||||
* | | | Merge pull request #6525 from freerange/minitest-passthrough-exceptions | José Valim | 2012-05-29 | 2 | -8/+62 | |
|\ \ \ | | | | | | | | | 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 | 2 | -8/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -4/+44 | |
| | | | | ||||||
* | | | | 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 | 2 | -1/+3 | |
| | | | ||||||
* | | | Moving NumberHelpers from ActionView to ActiveSupport | Andrew Mutz | 2012-05-27 | 9 | -2/+1417 | |
| |/ |/| | ||||||
* | | 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 | |
| | | | ||||||
* | | | Truncate now has the ability to receive a html option that allows it to call ↵ | Li Ellis Gallardo | 2012-05-26 | 1 | -0/+4 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | rails helpers. This way if my text is long I don't have to do something like this: .text = truncate(@text, :length => 27) if @text.size >= 27 = link_to "continue", notes_path, ....."") | |||||
* | | 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. |