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

Version Path
shkeeper-1.0.0 lib/big_keeper/command/spec/list.rb
kookeeper-3.1.2 lib/big_keeper/command/spec/list.rb
kookeeper-3.1.0 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.9 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.8 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.7 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.6 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.5 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.4 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.3 lib/big_keeper/command/spec/list.rb
kookeeper-3.0.0 lib/big_keeper/command/spec/list.rb
kookeeper-2.0.0 lib/big_keeper/command/spec/list.rb
kookeeper-1.0.0 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.21 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.20 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.19 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.18 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.17 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.16 lib/big_keeper/command/spec/list.rb
bigkeeper-0.9.15 lib/big_keeper/command/spec/list.rb