aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/numeric/conversions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated method Numeric#to_formatted_sAndrew White2016-11-141-5/+0
|
* Fixnum and Bignum are deprecated in Ruby trunkMatthew Draper2016-10-081-1/+1
| | | | https://bugs.ruby-lang.org/issues/12739
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
|
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-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 Daer2016-05-181-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 Goet2016-02-201-49/+49
|
* Fix - to_s(:db) on Numeric rangeAkshay Vishnoi2015-12-291-1/+5
|
* Merge pull request #22822 from maclover7/fix-22805Richard Schneeman2015-12-281-0/+1
|\ | | | | Add a missing require to ActiveSupport::NumericWithFormat
| * Add a missing require to ActiveSupport::NumericWithFormatJon Moss2015-12-281-0/+1
| |
* | Add support for Petabyte and Exabyte in number to human sizeAkshay Vishnoi2015-12-221-0/+2
|/
* Merge pull request #20038 from imanel/numeric_prependSean Griffin2015-10-201-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 Potocki2015-05-281-25/+12
| | | | | | | | alias_method
* | Corrected numeric conversions output [ci skip]amitkumarsuroliya2015-09-191-2/+2
|/
* Prevent Numeric#to_s from allocating an arrayJean Boussier2014-11-281-9/+19
|
* update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-121-64/+64
|
* Review requires from number helperCarlos Antonio da Silva2012-05-281-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 ActiveSupportAndrew Mutz2012-05-271-0/+135
|
* Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offsetJeremy Kemper2009-03-231-15/+0
|
* Convert Numeric extension module to a class reopenJeremy Kemper2009-03-211-17/+13
|
* Refactor number-to-HH:MM-string conversion logic from ↵Geoff Buesing2008-01-121-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