lib/tw/client/request.rb in tw-1.3.0 vs lib/tw/client/request.rb in tw-1.3.1

- old
+ new

@@ -74,18 +74,18 @@ end def tweet(message, opts={}) res = @rest_client.update message, opts puts res.text - puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}" + puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}" puts res.created_at end def tweet_with_file(message, file, opts={}) res = @rest_client.update_with_media message, file, opts puts res.text - puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}" + puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}" puts res.created_at end def direct_message_create(to, message) res = @rest_client.create_direct_message to, message @@ -97,10 +97,10 @@ res = @rest_client.status(status_id) line = CGI.unescapeHTML res.text line += " #{res.favorite_count}Fav" if res.favorite_count.to_i > 0 line += " #{res.retweet_count}RT" if res.retweet_count.to_i > 0 puts line.colorize(/@[a-zA-Z0-9_]+|\d+RT|\d+Fav/) - puts "http://twitter.com/#{res.user.screen_name}/status/#{res.id}" + puts "https://twitter.com/#{res.user.screen_name}/status/#{res.id}" puts res.created_at end def favorite(status_id) @rest_client.favorite status_id