Sha256: ff437fc05dc6b75cb143d3d875fe2e575bcfb4087dad738feddc2d9785ed96f3
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
0.5.0: - Added two services: fyad.org and ln-s.net (thanks to Daniel Dipaolo) - Added an property to the Service class: args. This allows to give additional arguments to services using the GET method (this was needed by ln-s.net) - Added a method to Hash to convert to an HTML arguments style - Added a script called "shorturl" (duh) in the bin directory for usage from the command line. 0.4.0: - Added minilink.org - More tests for the Service class - Changed the ArgumentError exception for an InvalidService exception in ShortURL.shorten - Created examples/shorten.rb - Added a stats task to the Rakefile. Requires code_statistics, provided by Rails. 0.3.0: - Added linktrim.com and shorterlink.com - Replaced get_short_url and all the private class methods in favor of a Service class, which makes things clearer 0.2.1: - Added makeashorterlink.com and skinnylink.com - Refactored get_short_url 0.2.0: - Added shorl.com, snipurl.com and metamark.net 0.1.0: - Refactored the tinyurl and rubyurl methods - URI.extract to get URLs instead of regular expressions - Added exception handling to get_short_url to return nil in case of a network error - More thorough unit tests - Made tinyurl, rubyurl and get_short_url private class methods 0.0.1: - Initial release
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shorturl-0.5.0 | ChangeLog |