def find_right_script_lineage_by_name(name)
      lineage = @right_api_client.right_scripts(:filter => ["name==#{name}"]).index
      if lineage.length == 0
        raise Exception::RightScriptNotFound.new("No RightScripts with the name (#{name}) were found.")
      end
      lineage
    end
def find_right_script_lineage_by_name(name)
      lineage = @right_api_client.right_scripts(:filter => ["name==#{name}"]).index
      if lineage.length == 0
        raise Exception::RightScriptNotFound.new("No RightScripts with the name (#{name}) were found.")
      end
      lineage
    end
Fetches the entire lineage (all revisions) of a RightScript when provided
 with it's name

 @param [String] name The name (or partial name) of the RightScript
 @return [Array<RightApi::Resource>] An array of RightApi::Resource objects
   of media type RightScript[http://reference.rightscale.com/api1.5/media_types/MediaTypeRightScript.html]
 @raise [RightScriptNotFound] If a lineage of RightScripts with the specified
   name is not found.