| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-10-18 | Move `String#undent` to `compat`. | Markus Reiter | |
| 2017-10-18 | Use “squiggly” heredocs. | Markus Reiter | |
| 2017-09-10 | spelling: definitions | Josh Soref | |
| 2017-06-03 | String: backport #match? from 2.4.0 | Misty De Meo | |
| 2017-05-29 | Use parallel RuboCop | Mike McQuaid | |
| This requires updating to Rubocop 0.49.0 which will require some fixes to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this for now so I remember. | |||
| 2016-09-24 | Fix Style/GuardClause. | Markus Reiter | |
| 2016-09-23 | Style/Alias: Prefer `alias`. | Markus Reiter | |
| 2015-12-03 | add String#strip_prefix | Xu Cheng | |
| 2015-08-28 | tweak String#undent so that only leading whitespace up to the first ↵ | William Woodruff | |
| indentation level is gsubbed, change test_undent to reflect change and add test_undent_nested to test new behavior | |||
| 2015-08-03 | Core files style updates. | BrewTestBot | |
| Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> | |||
| 2015-06-19 | Remove backports for Ruby 1.8.6 | Jack Nagel | |
| refs. Homebrew/linuxbrew#438, mistydemeo/tigerbrew#327, mistydemeo/tigerbrew#334 | |||
| 2014-09-28 | Make inreplace errors fatal | Jack Nagel | |
| Closes Homebrew/homebrew#32649. Closes Homebrew/homebrew#32703. | |||
| 2014-09-27 | Intercept calls to sub! in inreplace blocks | Jack Nagel | |
| 2014-09-26 | Clean up inreplace regexps | Jack Nagel | |
| - use literal syntax - escape interpolated variables - remove intermediate variables - remove unnecessary capture | |||
| 2014-05-02 | Fix for String#undent | Baptiste Fontaine | |
| Without it, String#undent would fail on unindented strings, e.g.: "foo".undent NoMethodError: undefined method `length' for nil:NilClass` Closes Homebrew/homebrew#28873. Signed-off-by: Adam Vandenberg <flangy@gmail.com> | |||
| 2014-03-27 | extend/string: backport #rpartition | Misty De Meo | |
| 2013-07-19 | Add String#end_with? | Jack Nagel | |
| I'm tired of not remembering if start_with?/end_with? are portable, so just add them both if they're not defined. | |||
| 2013-07-19 | Fix String#start_with? implementation | Jack Nagel | |
| It is supposed to accept a variable number of prefixes, and also to check if they are convertible to strings. This matches behavior documented in RubySpec. | |||
| 2013-02-15 | Remove redundant return | Jack Nagel | |
| 2013-02-15 | Make this more idiomatic | Jack Nagel | |
| 2012-08-29 | Record HEAD SHA and date of installs in receipt | Max Howell | |
| 2012-08-14 | Improve libiconv diagnostic and suggestion | Max Howell | |
| This is coming up a lot at the moment, so here is an attempt to be more helpful. | |||
| 2012-02-25 | inreplace: also warn on plain gsub! usage | Adam Vandenberg | |
| 2012-02-25 | inreplace: warn if no substitutions were made | Jack Nagel | |
| Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2011-07-27 | Coerce flags to an array in `remove_make_var!` | Trevor Wennblom | |
| This is needed for Ruby 1.9.x compatibility, but we still don't support running Homebrew with anything other than a system provided 1.8.[67]. Fixes Homebrew/homebrew#6546 Signed-off-by: Adam Vandenberg <flangy@gmail.com> | |||
| 2011-06-19 | back-port start_with? from 1.8.7 | Adam Vandenberg | |
| This allows its use in Leopard, which has Ruby 1.8.6. | |||
| 2011-03-12 | Move string extensions | Adam Vandenberg | |
| 2010-10-30 | fix warnings: ambiguous first arg | Jamie Macey | |
| Signed-off-by: Adam Vandenberg <flangy@gmail.com> | |||
| 2010-10-17 | extract undent test to test case | Michael Morgan | |
| Signed-off-by: Adam Vandenberg <flangy@gmail.com> | |||
| 2010-03-07 | String.undent for prettier HEREDOCs | Max Howell | |
