Sha256: 04679f44cdc2a8188d0cbb96a77c013b085903b494497b48755758b9d829087a

Contents?: true

Size: 485 Bytes

Versions: 22

Compression:

Stored size: 485 Bytes

Contents

module Sufia
  module GenericFile
    module Versions
      def record_version_committer(user)
        version = content.latest_version
        # content datastream not (yet?) present
        return if version.nil?
        VersionCommitter.create(obj_id: version.pid,
                                datastream_id: version.dsid,
                                version_id: version.versionID,
                                committer_login: user.user_key)
      end

    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
sufia-5.0.0 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-5.0.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-5.0.0.rc1 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-5.0.0.rc1 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.3.1 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.3.1 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.2.0 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.2.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.1.0 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.1.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.0.1 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.0.1 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.0.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.0.0 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-4.0.0.rc2 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.0.0.rc2 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.0.0.rc1 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.0.0.rc1 app/models/concerns/sufia/generic_file/versions.rb
sufia-4.0.0.beta4 sufia-models/app/models/concerns/sufia/generic_file/versions.rb
sufia-models-4.0.0.beta4 app/models/concerns/sufia/generic_file/versions.rb