plugin/yo_update.rb in tdiary-contrib-5.1.0 vs plugin/yo_update.rb in tdiary-contrib-5.1.1

- old
+ new

@@ -98,10 +98,10 @@ api_key = yo_update_api_key unless api_key raise YoUpdateError, "Yo API Key is not set" end req = Net::HTTP::Get.new( - URI("http://api.justyo.co/subscribers_count/?api_token=#{URI.escape(api_key)}") + URI("http://api.justyo.co/subscribers_count/?api_token=#{CGI.escape(api_key)}") ) res = yo_update_access_api(req) data = res.body begin r = JSON::parse(data)