aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/numeric_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Deprecate "active_support/core_ext/numeric/inquiry"bogdanvlviv2018-03-021-80/+3
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-6/+6
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Allocation free Integer#to_sJean Boussier2017-01-191-0/+4
* Fix inconsistent results when parsing large durations and constructing durati...Andrey Novikov2017-01-091-5/+5
* Merge pull request #27035 from rails/remove-active-support-deprecationsAndrew White2016-11-141-21/+0
|\
| * Remove deprecated method Numeric#to_formatted_sAndrew White2016-11-141-6/+0
| * Remove deprecated :prefix optionAndrew White2016-11-131-15/+0
* | Remove warning from access to Bignum class, 2**64 is already a known bignum v...Vipul A M2016-11-131-1/+0
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-32/+32
* Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-2/+0
* modernizes hash syntax in activesupportXavier Noria2016-08-061-147/+147
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-117/+117
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-7/+0
* Fix - to_s(:db) on Numeric rangeAkshay Vishnoi2015-12-291-0/+20
* Merge pull request #22824 from maclover7/add-numericwithformat-testsYves Senn2015-12-291-0/+6
|\
| * Add test coverage for ActiveSupport::NumericWithFormat#to_formatted_sJon Moss2015-12-281-0/+6
* | Add support for Petabyte and Exabyte in number to human sizeAkshay Vishnoi2015-12-221-1/+13
|/
* Assert that the `:prefix` option of `number_to_human_size` is deprecatedRoque Pinel2015-08-121-8/+10
* Only define #positive? and #negative? on Ruby 2.2Rafael Mendonça França2015-05-191-6/+78
* Merge pull request #20143 from vngrs/move_integer_positive_negative_to_numericRafael Mendonça França2015-05-191-0/+12
|\
| * Move Integer#positive? and Integer#negative? query methods to Numeric classMehmet Emin İNAÇ2015-05-131-0/+12
|/
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-8/+0
* :scissors: removed deprecated `Numeric#ago` and friendsGodfrey Chan2014-05-301-43/+1
* Deprecated Numeric#{ago,until,since,from_now}Godfrey Chan2013-11-261-27/+22
* Added Numeric#in_milliseconds, like 1.hour.in_milliseconds, so we can feed th...David Heinemeier Hansson2013-11-021-0/+4
* Fix some typo in method names, variablesVipul A M2013-05-261-1/+1
* Squashed commit of the following:Aaron Patterson2013-05-031-54/+0
* refactor test to drop unnecessary hash creation, test directly insteadVipul A M2013-03-171-16/+10
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-50/+40
* Added ability to compare date/time with infinitybUg2013-01-041-0/+64
* Moving NumberHelpers from ActionView to ActiveSupportAndrew Mutz2012-05-271-0/+261
* use AS::TestCase as the base classAaron Patterson2012-01-051-3/+3
* updated Time, Date and DateTime current methods in AS to use Time.zone and no...Josh Kalderimis2011-02-281-5/+5
* Use `Time.current` to maintain consistency with AS::DurationPrem Sichanugrist2010-09-191-0/+38
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-12/+12
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-1/+1
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-2/+3
* Explicit test dependenciesJeremy Kemper2009-03-281-0/+2
* Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offsetJeremy Kemper2009-03-231-15/+0
* Fix Numeric time tests broken by DST change by anchoring them to fixed times ...Geoff Buesing2008-03-111-2/+2
* Refactor number-to-HH:MM-string conversion logic from TimeZone#formatted_offs...Geoff Buesing2008-01-121-0/+15
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-1/+1
* Ruby 1.9 compat: define Duration#== [chuyeow]Jeremy Kemper2007-12-151-1/+0
* Mark another Duration test failing with Ruby 1.9Jeremy Kemper2007-09-271-0/+1
* More tests (closes #7066) [sethladd]David Heinemeier Hansson2007-09-221-0/+15