Class: AtlassianAppVersions::LatestAppVersion

Inherits:
AppVersion show all
Defined in:
lib/atlassian_app_versions.rb

Instance Attribute Summary

Attributes inherited from AbstractVersion

#version

Instance Method Summary collapse

Methods inherited from AppVersion

#keys, #method_missing, #relNotes, #respond_to_missing?

Methods inherited from AbstractVersion

#<=>, #initialize, #inspect, #keys, #method_missing, #releaseDate, #respond_to_missing?, #to_s, #versionJSON

Constructor Details

This class inherits a constructor from AtlassianAppVersions::AbstractVersion

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AtlassianAppVersions::AppVersion

Instance Method Details

#releaseJSONObject



378
379
380
381
382
383
384
# File 'lib/atlassian_app_versions.rb', line 378

def releaseJSON
    @parent.latestReleaseJSON.select {|e|
	url=e["zipUrl"]
	@parent.key=="fisheye" ||
	    url =~ /.tar.gz$/ && url !~ /(war|cluster).tar.gz$/
    }[0]
end