Module: ProspectusPkgforge::DepItems
- Defined in:
- lib/prospectus_pkgforge.rb
Overview
Helper for automatically adding pkgforge deps
Class Method Summary collapse
-
.extended(other) ⇒ Object
rubocop:disable Metrics/MethodLength.
Class Method Details
.extended(other) ⇒ Object
rubocop:disable Metrics/MethodLength
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/prospectus_pkgforge.rb', line 8 def self.extended(other) # rubocop:disable Metrics/MethodLength other.deps do PkgForge.load_from_file.deps.each do |dep_name, current_hash| current_version = current_hash[:version] item do name dep_name.to_s expected do github_release repo "amylum/#{dep_name}" end actual do static set current_version end end end end end |