lib/librarian/puppet/source/forge/repo_v1.rb
# convert organization/modulename to organization-modulename
convert organization/modulename to organization-modulename
convert organization / modulename to organization - modulename
def normalize_dependencies(data)
            return nil if data.nil?
            data.keys.each do |m|
              if m =~ %r{.*/.*}
                data[normalize_name(m)] = data[m]
                data.delete(m)
              end
            end
            data
          end
def normalize_dependencies ( data ) return nil if data . nil? data . keys . each do | m | if m =~ %r{ .*/.* } data [ normalize_name ( m ) ] = data [ m ] data . delete ( m ) end end data end
convert organization/modulename to organization-modulename
convert organization / modulename to organization - modulename
# convert organization/modulename to organization-modulename
data