Sha256: 251e5e0be44eb8e0933f0a2df1c63e0f09103717931c1ada5e07b03335905cb0
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
module Attractor # from https://github.com/prontolabs/pronto/blob/master/lib/pronto/gem_names.rb class GemNames def to_a gems.map { |gem| gem.name.sub(/^attractor-/, '') }.uniq.sort end private def gems Gem::Specification.find_all.select do |gem| gem.name =~ /^attractor-/ end.reject do |gem| gem.name =~ /attractor-rails/ end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
attractor-2.0.5 | lib/attractor/gem_names.rb |
attractor-2.0.4 | lib/attractor/gem_names.rb |