]> git.openstreetmap.org Git - rails.git/blobdiff - lib/short_link.rb
Change OpenID fields to be text fields
[rails.git] / lib / short_link.rb
index 44b9d719df39fd77477a5243a3d3f5f8bb885ea0..69634cea54efb4c4a6c82fc7b8cca575c6183cf7 100644 (file)
@@ -8,7 +8,7 @@ module ShortLink
   # array of 64 chars to encode 6 bits. this is almost like base64 encoding, but
   # the symbolic chars are different, as base64's + and / aren't very
   # URL-friendly.
-  ARRAY = ('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a + ['_', '~']
+  ARRAY = ("A".."Z").to_a + ("a".."z").to_a + ("0".."9").to_a + ["_", "~"]
 
   ##
   # Given a string encoding a location, returns the [lon, lat, z] tuple of that