Sha256: 7455c6ecb8f51d7d64d878384c5b05dfcfeb3c31efe323dc9c288d16d759296c

Contents?: true

Size: 497 Bytes

Versions: 24

Compression:

Stored size: 497 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

24 entries across 24 versions & 2 rubygems

Version Path
sufia-4.0.0.beta2 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-4.0.0.beta2 lib/sufia/models/generic_file/versions.rb
sufia-4.0.0.beta1 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-4.0.0.beta1 lib/sufia/models/generic_file/versions.rb
sufia-models-3.7.2 lib/sufia/models/generic_file/versions.rb
sufia-3.7.2 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.7.1 lib/sufia/models/generic_file/versions.rb
sufia-3.7.1 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.7.0 lib/sufia/models/generic_file/versions.rb
sufia-3.7.0 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-3.6.1 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.6.1 lib/sufia/models/generic_file/versions.rb
sufia-3.6.0 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.6.0 lib/sufia/models/generic_file/versions.rb
sufia-3.5.0 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.5.0 lib/sufia/models/generic_file/versions.rb
sufia-3.4.0 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.4.0 lib/sufia/models/generic_file/versions.rb
sufia-3.4.0.rc4 sufia-models/lib/sufia/models/generic_file/versions.rb
sufia-models-3.4.0.rc4 lib/sufia/models/generic_file/versions.rb