class Guard::PluginUtil

def _gem_valid?(gem)

def _gem_valid?(gem)
  return false if gem.name == "guard-compat"
  return true if gem.name =~ /^guard-/
  full_path = gem.full_gem_path
  file = File.join(full_path, "lib", "guard", "#{gem.name}.rb")
  File.exist?(file)
end