Sha256: 489f726396ce14de33877c196e089912100cce7c1b1fc659fbf8706107e19d25

Contents?: true

Size: 759 Bytes

Versions: 43

Compression:

Stored size: 759 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_rails_base1/instances/base'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacRedmineBase0
    module Instances
      class Base < ::Avm::EacRailsBase1::Instances::Base
        module Database
          DATABASE_INTERNAL_HOSTNAME = 'localhost'
          DEFAULT_POSTGRESQL_VERSION = '12'

          common_concern do
            uri_components_entries_values 'postgresql', %w[version]
          end

          def database_internal
            entry(::Avm::Instances::EntryKeys::DATABASE_HOSTNAME).value ==
              DATABASE_INTERNAL_HOSTNAME
          end

          def postgresql_version_default_value
            DEFAULT_POSTGRESQL_VERSION
          end
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
eac_tools-0.55.6 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.18.1 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.5 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.4 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.3 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.2 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.55.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.54.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.53.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.52.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.51.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.50.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.49.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.48.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.18.0 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.48.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.47.2 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.47.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.47.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb