Skip to content

Commit

Permalink
Omit versions with a deleted_at date
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua B. Bussdieker committed Jun 27, 2015
1 parent 6b2e17d commit 88efacf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/librarian/puppet/source/forge/repo_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ def initialize(source, name)
end

def get_versions
get_module.releases.map{|r| r.version}
get_module.releases.map do |r|
r.version unless r.deleted_at != nil
end.compact
end

def dependencies(version)
Expand Down

0 comments on commit 88efacf

Please sign in to comment.