RubyGems.org

base62

1.0.0

Base62 monkeypatches Integer to add an Integer#base62_encode instance method to encode an integer in the character set of 0-9 + A-Z + a-z. It also monkeypatches String to add String#base62_decode to take the string and turn it back into a valid integer.

installgem install base62
Authors

JT Zemp, Lasse Bunk, Saadiq Rodgers-King, Derrick Camerino

46,572 total downloads 1,516 for this version
Owners

7d86567daedea6d9dca16e7b40d48e1b70e0cfc997a1805744f61f1a5198189f

Licenses

MIT

Gemfile
gem 'base62', '~> 1.0.0'
Versions
  1. 1.0.0 January 16, 2014 (7.5 KB)
  2. 0.1.4 November 24, 2010 (5.5 KB)
  3. 0.1.1 November 24, 2010 (5.5 KB)
  4. 0.1.0 October 6, 2008 (27 KB)
Development Dependencies
  1. bundler ~> 1.3
  2. rake >= 0