Sha256: 80b40ca25f0052e236a7315bc9a758bfa12439ee56b341768411de24a13044f9

Contents?: true

Size: 848 Bytes

Versions: 15

Compression:

Stored size: 848 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 = ::Avm::Instances::Base::AutoValues::Database::LOCAL_ADDRESS
          DEFAULT_POSTGRESQL_VERSION = ''

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

          def database_internal
            ::Avm::Instances::Base::AutoValues::Database::LOCAL_ADDRESSES
              .include?(entry(::Avm::Instances::EntryKeys::DATABASE_HOSTNAME).value)
          end

          def postgresql_version_default_value
            DEFAULT_POSTGRESQL_VERSION
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
avm-eac_redmine_base0-0.22.3 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.91.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.22.2 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.87.1 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.22.1 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.86.11 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.83.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.82.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.81.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.22.0 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.80.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.21.2 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.79.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb
avm-eac_redmine_base0-0.21.1 lib/avm/eac_redmine_base0/instances/base/database.rb
eac_tools-0.78.0 sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/base/database.rb