Sha256: 793a4d2b1908bd85d79de90f8e547db4ef00bc4e48de98a4f324aed75f86a74e
Contents?: true
Size: 536 Bytes
Versions: 38
Compression:
Stored size: 536 Bytes
Contents
require 'logger' require 'json' module BigKeeper def self.spec_list(path, user, options) BigkeeperParser.parse("#{path}/Bigkeeper") module_dic = BigkeeperParser.parse_modules module_list = Array.new module_dic.keys.each do | key | dic = Hash["module_name" => key, "git" => module_dic[key][:git], "pulls" => module_dic[key][:pulls]] module_list << dic end json = JSON.pretty_generate(module_list) puts json end end
Version data entries
38 entries across 38 versions & 3 rubygems