Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | File encoding is defaulted to utf-8 in Ruby >= 2.1 | Akira Matsuda | 2015-09-18 | 1 | -2/+0 |
| | |||||
* | Use block variable instead of global | Roque Pinel | 2015-06-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | ```ruby Benchmark.ips do |x| x.report("$&") { "foo".gsub(/f/) { $&.hex } } x.report("block var") { "foo".gsub(/f/) { |match| match.hex } } end ``` ``` Calculating ------------------------------------- $& 23.271k i/100ms block var 24.804k i/100ms ------------------------------------------------- $& 321.981k (± 7.4%) i/s - 1.606M block var 324.949k (± 9.2%) i/s - 1.612M ``` | ||||
* | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | Initial pass at removing dead 1.8.x code from Active Support. | José Valim | 2011-12-20 | 1 | -16/+12 |
| | | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome. | ||||
* | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 1 | -0/+8 |
| | |||||
* | Small optimization of 1.9 unescape. We should make sure that inbound ASCII ↵ | wycats | 2010-06-04 | 1 | -2/+6 |
| | | | | always means UTF-8. It seems so based on a quick survey of common browsers, but let's be sure | ||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -1/+2 |
| | |||||
* | Broaden URI.unescape fix to all affected 1.9.x by checking for broken ↵ | Jeremy Kemper | 2009-02-20 | 1 | -6/+12 |
| | | | | behavior instead of specific patchlevel | ||||
* | URI.unescape fix removes the old unescape method | Jeremy Kemper | 2009-02-20 | 1 | -10/+7 |
| | |||||
* | Ruby 1.9.1p0's URI.decode() bug fix | moro | 2009-02-20 | 1 | -0/+13 |
backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005]. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |