Sha256: 89565a24b528599ee6f833f7cd267ca0c954aa62a79e50c7314ce3d32f12f21c

Contents?: true

Size: 692 Bytes

Versions: 9

Compression:

Stored size: 692 Bytes

Contents

module Runcible
  module Models
    class DebImporter < Importer
      ID = 'deb_importer'.freeze
      REPO_TYPE = 'deb-repo'.freeze
      DOWNLOAD_IMMEDIATE = 'immediate'.freeze
      DOWNLOAD_ON_DEMAND = 'on_demand'.freeze
      DOWNLOAD_BACKGROUND = 'background'.freeze
      DOWNLOAD_POLICIES = [DOWNLOAD_IMMEDIATE, DOWNLOAD_ON_DEMAND, DOWNLOAD_BACKGROUND].freeze

      attr_accessor 'download_policy', 'releases', 'components', 'architectures', 'allowed_keys',
                    'require_signature', 'gpg_keys'

      def id
        DebImporter::ID
      end

      def repo_type
        DebImporter::REPO_TYPE
      end

      def config
        as_json
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
runcible-2.13.1 lib/runcible/models/deb_importer.rb
runcible-2.13.0 lib/runcible/models/deb_importer.rb
runcible-2.12.1 lib/runcible/models/deb_importer.rb
runcible-2.12.0 lib/runcible/models/deb_importer.rb
runcible-2.11.1 lib/runcible/models/deb_importer.rb
runcible-2.11.0 lib/runcible/models/deb_importer.rb
runcible-2.10.1 lib/runcible/models/deb_importer.rb
runcible-2.10.0 lib/runcible/models/deb_importer.rb
runcible-2.9.0 lib/runcible/models/deb_importer.rb