Sha256: 740310c403bebb1962211b36b420f62d30cb88913d41ed4f132137b4d6cf1962

Contents?: true

Size: 250 Bytes

Versions: 26

Compression:

Stored size: 250 Bytes

Contents

module FogExtensions
  module Fogdocker
    module Image
      extend ActiveSupport::Concern

      include ActionView::Helpers::NumberHelper

      def name
        repo_tags.empty? ? (repository || id) : repo_tags.first
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
foreman_docker-5.0.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-4.1.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-4.1.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-4.0.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-3.2.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-3.2.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-3.1.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-3.0.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-2.1.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-2.1.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-2.0.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-2.0.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.4.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.4.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.3.1 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.3.0 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.2.4 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.2.3 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.2.2 app/models/concerns/fog_extensions/fogdocker/image.rb
foreman_docker-1.2.1 app/models/concerns/fog_extensions/fogdocker/image.rb