Class: AtlassianAppVersions::PluginVersion

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

Instance Attribute Summary

Attributes inherited from AbstractVersion

#version

Instance Method Summary collapse

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::AbstractVersion

Instance Method Details

#relNotesObject

Some plugin release don’t have release notes, in which case return nil



340
341
342
343
344
# File 'lib/atlassian_app_versions.rb', line 340

def relNotes
    if versionJSON["releaseNotes"] then
	versionJSON["releaseNotes"].scan(/(?<=href=")[^"]+elease\+[nN]otes/)&.first&.strip
    end
end