Sha256: 69c4c5ce7aaf166175f088aa74cc3cbce832f330ff26a25e83d3381d8dca5412
Contents?: true
Size: 468 Bytes
Versions: 16
Compression:
Stored size: 468 Bytes
Contents
module Pronto class GemNames def to_a gems.map { |gem| gem.name.sub(/^pronto-/, '') }.uniq.sort end private def gems Gem::Specification.find_all.select do |gem| if gem.name =~ /^pronto-/ true elsif gem.name != 'pronto' runner_path = File.join(gem.full_gem_path, "lib/pronto/#{gem.name}.rb") File.exist?(runner_path) end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems