Sha256: ba2a1da00d70f7736968f9d018d3cea0fbd41c3122c73308836ed6bf1d6f70b9
Contents?: true
Size: 667 Bytes
Versions: 3
Compression:
Stored size: 667 Bytes
Contents
# Polisher Bodhi Operations # # Licensed under the MIT license # Copyright (C) 2013-2014 Red Hat, Inc. # XXX issue w/ retreiving packages from pkgwat causing sporadic issues: # https://github.com/fedora-infra/fedora-packages/issues/55 # fedora pkgwat provides a frontend to bodhi require 'pkgwat' module Polisher class Bodhi def self.versions_for(name, &bl) versions = Pkgwat.get_updates("rubygem-#{name}", 'all', 'all'). select { |update| update['stable_version'] != 'None' }. collect { |update| update['stable_version'] } bl.call(:bodhi, name, versions) unless(bl.nil?) versions end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polisher-0.9.1 | lib/polisher/bodhi.rb |
polisher-0.8.1 | lib/polisher/bodhi.rb |
polisher-0.7.1 | lib/polisher/bodhi.rb |