Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | |||||
* | modernizes hash syntax in activesupport | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -4/+4 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Add support for Petabyte and Exabyte in number to human size | Akshay Vishnoi | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | Deprecate the :prefix option of `number_to_human_size` | Jean Boussier | 2015-08-10 | 1 | -0/+4 |
| | |||||
* | Freeze static arguments for gsub | brainopia | 2015-04-02 | 1 | -1/+1 |
| | |||||
* | Prefer string patterns for gsub | brainopia | 2015-04-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | https://github.com/ruby/ruby/pull/579 - there is a new optimization since ruby 2.2 Previously regexp patterns were faster (since a string was converted to regexp underneath anyway). But now string patterns are faster and better reflect the purpose. Benchmark.ips do |bm| bm.report('regexp') { 'this is ::a random string'.gsub(/::/, '/') } bm.report('string') { 'this is ::a random string'.gsub('::', '/') } bm.compare! end # string: 753724.4 i/s # regexp: 501443.1 i/s - 1.50x slower | ||||
* | Nodoc missing number helper classes in AS [ci skip] | Carlos Antonio da Silva | 2013-12-11 | 1 | -1/+1 |
| | | | | These classes are not meant to be public. | ||||
* | Stop using local variables everywhere, make use of the reader | Carlos Antonio da Silva | 2013-12-03 | 1 | -6/+6 |
| | |||||
* | Rename variable that holds whether or not the class should validate a float ↵ | Carlos Antonio da Silva | 2013-12-03 | 1 | -2/+2 |
| | | | | number | ||||
* | :sicssors: | Rafael Mendonça França | 2013-12-02 | 1 | -2/+0 |
| | |||||
* | Make execute priave API | Rafael Mendonça França | 2013-12-02 | 1 | -1/+1 |
| | |||||
* | Make load of NumberHelper thread safe | Rafael Mendonça França | 2013-12-02 | 1 | -0/+60 |