lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.2427.0 vs lib/bosh/stemcell/archive_filename.rb in bosh-stemcell-1.2446.0

- old
+ new

@@ -13,29 +13,19 @@ def to_s stemcell_filename_parts = [ name, version, - infrastructure.name, - infrastructure.hypervisor, - operating_system.name, + @definition.stemcell_name ] - stemcell_filename_parts << "#{agent.name}_agent" unless agent.name == 'ruby' "#{stemcell_filename_parts.join('-')}.tgz" end private def name light ? "light-#{base_name}" : base_name end - - def_delegators( - :@definition, - :infrastructure, - :operating_system, - :agent, - ) attr_reader( :base_name, :version, :light,