class Shanty::RubygemDiscoverer

Public: Discoverer for Shantyfiles will create a a project for every Shantyfile it finds in a directory

Public Instance Methods

discover() click to toggle source
# File lib/shanty/discoverers/rubygem.rb, line 9
def discover
  Dir[File.join(env.root, '**', '*.gemspec')].map do |path|
    create_project_template(File.absolute_path(File.dirname(path))) do |project_template|
      project_template.type = RubygemProject
    end
  end
end