Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Merge pull request #413 from sevein/master
Browse files Browse the repository at this point in the history
Replace references to bit.ly with git.io
  • Loading branch information
atmos committed Oct 1, 2012
2 parents 4ea8c48 + ab30efd commit b122069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/irc
Expand Up @@ -3,7 +3,7 @@
3. `room` - Supports single or multiple rooms (comma separated). Also supports room passwords (room_name::password). Prefixing '#' to the room is optional.
4. `password` - Server password (optional)
5. `nick` - Nickame (optional)
6. `long_url` - If enabled, displays full compare/commit url's. If disabled uses bit.ly.
6. `long_url` - If enabled, displays full compare/commit url's. If disabled uses git.io.
7. `message_without_join` - If enabled prevents joining and immediately leaving the channel.
8. `no_colors` - Disables color support for messages
9. `notice` - Enables notice support. Make sure you configure channel to support notices ("/mode #yourchannelname -n" or "/msg chanserv set mlock -n")
Expand Down
4 changes: 2 additions & 2 deletions lib/service.rb
Expand Up @@ -428,11 +428,11 @@ def initialize(event = :push, data = {}, payload = nil)
@http = @secrets = @email_config = nil
end

# Public: Shortens the given URL with bit.ly.
# Public: Shortens the given URL with git.io.
#
# url - String URL to be shortened.
#
# Returns the String URL response from bit.ly.
# Returns the String URL response from git.io.
def shorten_url(url)
res = http_post("http://git.io", :url => url)
if res.status == 201
Expand Down

0 comments on commit b122069

Please sign in to comment.