X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a2a69d5803d05ce9ccd2d911389b8aa28239dfba..05e06e154332cf107d30092dddb94b6b35967ce5:/utils/generate-command-help.rb diff --git a/utils/generate-command-help.rb b/utils/generate-command-help.rb index f730eaf1..f6ca8874 100755 --- a/utils/generate-command-help.rb +++ b/utils/generate-command-help.rb @@ -10,7 +10,8 @@ GROUPS = [ "pubsub", "transactions", "connection", - "server" + "server", + "scripting" ].freeze GROUPS_BY_NAME = Hash[* @@ -42,12 +43,13 @@ end def commands return @commands if @commands + require "rubygems" require "net/http" require "net/https" require "json" require "uri" - url = URI.parse "https://github.com/antirez/redis-doc/raw/master/commands.json" + url = URI.parse "https://raw.github.com/antirez/redis-doc/master/commands.json" client = Net::HTTP.new url.host, url.port client.use_ssl = true response = client.get url.path