We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2331637 + ff2ce5a commit 5c33195Copy full SHA for 5c33195
lib/pdk/util/puppet_version.rb
@@ -182,7 +182,7 @@ def rubygems_puppet_versions
182
@rubygems_puppet_versions ||= begin
183
fetcher = Gem::SpecFetcher.fetcher
184
puppet_tuples = fetcher.detect(:released) do |spec_tuple|
185
- spec_tuple.name == 'puppet' && Gem::Platform.match(spec_tuple.platform)
+ spec_tuple.name == 'puppet' && Gem::Platform.match_spec?(spec_tuple)
186
end
187
puppet_versions = puppet_tuples.map { |name, _| name.version }.uniq
188
puppet_versions.sort.reverse
0 commit comments