mgomes/api_auth — pull request #34 by Umofomia (2014-03-19 19:43:23+00:00)
Title: Fall back to stripping out newlines on Ruby 1.8.

#22 introduced the use of `Base64::strict_encode64` so that generated keys and signatures don't end up having newlines; however, `Base64::strict_encode64` was introduced in Ruby 1.9. This adds the fallback handling for Ruby 1.8.