Sha256: b65cb1ae0e843c9d08a994168dfc3c0268febb5e14e0df284ecad34c43cc2391
Contents?: true
Size: 412 Bytes
Versions: 66
Compression:
Stored size: 412 Bytes
Contents
module DatastreamSpecSolrizer extend ActiveSupport::Concern include SolrDocHelper def datastream_spec_string s = begin controlGroup == 'E' ? content.to_s.length : size rescue 0 end v = versionID.nil? ? '0' : versionID.to_s.split(/\./).last [dsid, controlGroup, mimeType, v, s, label].join('|') end end class ActiveFedora::Datastream include DatastreamSpecSolrizer end
Version data entries
66 entries across 66 versions & 1 rubygems