Sha256: 5736f4fb6ab5df9d67e52256d45426ce0267e3201faa5492c576430215d4f8ef

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    # @api private
    class DB
      # @api private
      class Version < Command
        requires 'model.configuration'

        # @api private
        def start
          require 'hanami/model/migrator'
          puts Hanami::Model::Migrator.version
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-1.0.0 lib/hanami/commands/db/version.rb
hanami-1.0.0.rc1 lib/hanami/commands/db/version.rb
hanami-1.0.0.beta3 lib/hanami/commands/db/version.rb