Method: Puppet::ModuleTool::Metadata#release_name

Defined in:
lib/puppet/module_tool/metadata.rb

#release_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a string that uniquely represents this version of this module.



41
42
43
44
45
# File 'lib/puppet/module_tool/metadata.rb', line 41

def release_name
  return nil unless @data['name'] && @data['version']

  [dashed_name, @data['version']].join('-')
end