index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
lib
/
active_support
/
number_helper
Commit message (
Expand
)
Author
Age
Files
Lines
*
Suppress `warning: BigDecimal.new is deprecated`
Yasuo Honda
2017-12-15
1
-1
/
+1
*
Remove unused `calculate_rounded_number` and `digit_count`
yuuji.yaginuma
2017-11-04
1
-8
/
+0
*
[Active Support] require_relative => require
Akira Matsuda
2017-10-21
2
-6
/
+6
*
Remove unused `NumberToRoundedConverter#digits_and_rounded_number`
yuuji.yaginuma
2017-09-19
1
-12
/
+0
*
[Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
Koichi ITO
2017-07-11
9
-0
/
+9
*
Use frozen-string-literal in ActiveSupport
Kir Shatrov
2017-07-09
9
-0
/
+9
*
Merge branch 'master' into require_relative_2017
Xavier Noria
2017-07-02
1
-1
/
+1
|
\
|
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
9
-9
/
+0
|
*
Merge pull request #29540 from kirs/rubocop-frozen-string
Matthew Draper
2017-07-02
9
-0
/
+9
|
|
\
|
|
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
9
-0
/
+9
|
*
|
Make ActiveSupport frozen string literal friendly.
Pat Allan
2017-06-20
1
-1
/
+1
|
|
/
*
/
[Active Support] require => require_relative
Akira Matsuda
2017-07-01
2
-6
/
+6
|
/
*
Don't create extra assignment, just return
Vipul A M
2017-06-04
1
-3
/
+3
*
number_to_human_converter: round before calculating exponent
Michael Hoy
2017-03-16
1
-4
/
+2
*
number_to_rounded_converter: extract rounding logic
Michael Hoy
2017-03-16
2
-26
/
+70
*
No need to nodoc private methods
Akira Matsuda
2016-12-24
1
-5
/
+5
*
Remove deprecated :prefix option
Andrew White
2016-11-13
1
-5
/
+1
*
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
4
-4
/
+4
*
applies remaining conventions across the project
Xavier Noria
2016-08-06
2
-2
/
+0
*
normalizes indentation and whitespace across the project
Xavier Noria
2016-08-06
2
-2
/
+0
*
modernizes hash syntax in activesupport
Xavier Noria
2016-08-06
2
-4
/
+4
*
applies new string literal convention in activesupport/lib
Xavier Noria
2016-08-06
7
-23
/
+23
*
Freezing couple of more string '0' & '.' and using the string appending to do...
Ankit Gupta
2016-04-11
1
-2
/
+4
*
Freezing the dots as they are causing extra string initialization on every it...
Ankit Gupta
2016-04-10
2
-2
/
+2
*
`number_to_phone` formats number with regexp
Pan GaoYong
2016-04-02
1
-2
/
+11
*
Fix broken number_to_currency tests
Prathamesh Sonpatki
2016-01-29
1
-0
/
+2
*
Change number_to_currency behavior for checking negativity
Prathamesh Sonpatki
2016-01-29
1
-5
/
+1
*
Add support for Petabyte and Exabyte in number to human size
Akshay Vishnoi
2015-12-22
1
-1
/
+1
*
Merge pull request #20872 from maxjacobson/more-humane-rounding
Sean Griffin
2015-10-20
1
-2
/
+4
|
\
|
*
Round some numbers more humanely
Max Jacobson
2015-07-26
1
-2
/
+4
*
|
- Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of us...
Vipul A M
2015-08-28
1
-2
/
+7
*
|
Deprecate the :prefix option of `number_to_human_size`
Jean Boussier
2015-08-10
1
-0
/
+4
|
/
*
Give respond_to? a Symbol
Akira Matsuda
2015-05-20
1
-1
/
+1
*
Freeze static arguments for gsub
brainopia
2015-04-02
4
-4
/
+4
*
Prefer string patterns for gsub
brainopia
2015-04-02
4
-4
/
+4
*
`number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`.
Yves Senn
2015-03-06
1
-1
/
+1
*
Doc fix [ci skip]
Sushruth Sivaramakrishnan
2015-03-05
1
-2
/
+2
*
Merge pull request #12067 from jackxxu/keep_precision
Rafael Mendonça França
2015-02-06
1
-25
/
+28
*
Pass symbol as an argument instead of a block
Erik Michaels-Ober
2014-11-29
1
-1
/
+1
*
Do gsub with a regexp instead of a string
Pablo Herrero
2014-10-29
2
-2
/
+2
*
Use zero-padding for number_to_rounded_converter
Zachary Scott
2014-08-22
1
-1
/
+1
*
Fixes the digits counter of AS's NumberToRoundedConverter
Xavier Noria
2014-08-20
1
-1
/
+1
*
Fix AS::NumberHelper results with rationals
Juanjo Bazán
2014-05-31
1
-5
/
+1
*
Use block parameter rather than `$1` during `gsub!` so `ActiveSupport::SafeBu...
Mark J. Titorenko
2014-05-12
1
-1
/
+3
*
fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.
Yves Senn
2014-03-17
1
-2
/
+1
*
Fix AS::NumberHelper results with large precisions
Kenta Murata & Akira Matsuda
2013-12-20
1
-7
/
+37
*
Nodoc missing number helper classes in AS [ci skip]
Carlos Antonio da Silva
2013-12-11
2
-2
/
+2
*
Remove earlier return in favor of conditional
Carlos Antonio da Silva
2013-12-03
1
-6
/
+9
*
Change delimiter check order: first check if it is present
Carlos Antonio da Silva
2013-12-03
1
-3
/
+3
*
Make both conversion methods work similarly
Carlos Antonio da Silva
2013-12-03
1
-1
/
+2
[next]