Module: ProspectusPuppet::Deps
- Defined in:
- lib/prospectus_puppet.rb
Overview
Helper for automatically adding Puppet deps
Instance Method Summary collapse
-
#extended(other) ⇒ Object
rubocop:disable Metrics/MethodLength,Metrics/AbcSize.
Instance Method Details
#extended(other) ⇒ Object
rubocop:disable Metrics/MethodLength,Metrics/AbcSize
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/prospectus_puppet.rb', line 10 def extended(other) # rubocop:disable Metrics/MethodLength,Metrics/AbcSize dep_list = parse_deps other.deps do dep_list.each do |x| item do name x[:name] expected do github_tag repo x[:slug] regex(DEP_REGEX) filter(DEP_FILTER) end actual do static set x[:version] end end end end end |