Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rails 6 requires Ruby 2.4.1+ | Jeremy Daer | 2018-02-17 | 1 | -7/+1 |
| | | | | | | Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028 | ||||
* | Enable `Style/RedundantReturn` rubocop rule, and fixed a couple more | Ryuta Kamizono | 2017-11-01 | 1 | -7/+7 |
| | | | | Follow up of #31004. | ||||
* | [Active Support] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -3/+3 |
| | | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | [Active Support] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -3/+3 |
| | |||||
* | Allocation free Integer#to_s | Jean Boussier | 2017-01-19 | 1 | -16/+15 |
| | |||||
* | Remove deprecated method Numeric#to_formatted_s | Andrew White | 2016-11-14 | 1 | -5/+0 |
| | |||||
* | Fixnum and Bignum are deprecated in Ruby trunk | Matthew Draper | 2016-10-08 | 1 | -1/+1 |
| | | | | https://bugs.ruby-lang.org/issues/12739 | ||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Support for unified Integer class in Ruby 2.4+ | Jeremy Daer | 2016-05-18 | 1 | -2/+8 |
| | | | | | | | | Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005 * Forward compat with new unified Integer class in Ruby 2.4+. * Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3. * Drops needless Fixnum distinction in docs, preferring Integer. | ||||
* | Show correct return types for examples [ci skip] | Gert Goet | 2016-02-20 | 1 | -49/+49 |
| | |||||
* | Fix - to_s(:db) on Numeric range | Akshay Vishnoi | 2015-12-29 | 1 | -1/+5 |
| | |||||
* | Merge pull request #22822 from maclover7/fix-22805 | Richard Schneeman | 2015-12-28 | 1 | -0/+1 |
|\ | | | | | Add a missing require to ActiveSupport::NumericWithFormat | ||||
| * | Add a missing require to ActiveSupport::NumericWithFormat | Jon Moss | 2015-12-28 | 1 | -0/+1 |
| | | |||||
* | | Add support for Petabyte and Exabyte in number to human size | Akshay Vishnoi | 2015-12-22 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #20038 from imanel/numeric_prepend | Sean Griffin | 2015-10-20 | 1 | -25/+12 |
|\ | | | | | Use Module.prepend instead of alias_method and unify behavior of all Numeric extensions | ||||
| * | Unify behavior of all Numeric extensions and use Module.prepend instead of ↵ | Bernard Potocki | 2015-05-28 | 1 | -25/+12 |
| | | | | | | | | alias_method | ||||
* | | Corrected numeric conversions output [ci skip] | amitkumarsuroliya | 2015-09-19 | 1 | -2/+2 |
|/ | |||||
* | Prevent Numeric#to_s from allocating an array | Jean Boussier | 2014-11-28 | 1 | -9/+19 |
| | |||||
* | update some AS code examples to 1.9 hash syntax [ci skip] | Francesco Rodriguez | 2012-09-12 | 1 | -64/+64 |
| | |||||
* | Review requires from number helper | Carlos Antonio da Silva | 2012-05-28 | 1 | -6/+6 |
| | | | | | | | | 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 | ||||
* | Moving NumberHelpers from ActionView to ActiveSupport | Andrew Mutz | 2012-05-27 | 1 | -0/+135 |
| | |||||
* | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset | Jeremy Kemper | 2009-03-23 | 1 | -15/+0 |
| | |||||
* | Convert Numeric extension module to a class reopen | Jeremy Kemper | 2009-03-21 | 1 | -17/+13 |
| | |||||
* | Refactor number-to-HH:MM-string conversion logic from ↵ | Geoff Buesing | 2008-01-12 | 1 | -0/+19 |
TimeZone#formatted_offset to reusable Numeric#to_utc_offset_s method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |