Sha256: 34edb9b44e5832718d94e667950d8298925dcb60e8b94de78332e141f86a6ad8

Contents?: true

Size: 456 Bytes

Versions: 275

Compression:

Stored size: 456 Bytes

Contents

require "rails/generators"

module Generators
  module Avo
    class VersionGenerator < ::Rails::Generators::Base
      namespace "avo:version"

      def handle
        if defined? ::Avo::Engine
          output "Avo #{::Avo.configuration.license} #{::Avo::VERSION}"
        else
          output "Avo not installed."
        end
      end

      private

      def output(message)
        puts message unless options["quiet"]
      end
    end
  end
end

Version data entries

275 entries across 275 versions & 1 rubygems

Version Path
avo-2.30.2 lib/generators/avo/version_generator.rb
avo-2.30.1 lib/generators/avo/version_generator.rb
avo-2.30.1.pre4.pr1683 lib/generators/avo/version_generator.rb
avo-2.30.1.pre3.pr1683 lib/generators/avo/version_generator.rb
avo-2.30.1.pre2.pr1683 lib/generators/avo/version_generator.rb
avo-2.30.1.pre1.pr1683 lib/generators/avo/version_generator.rb
avo-2.30.0 lib/generators/avo/version_generator.rb
avo-2.29.1 lib/generators/avo/version_generator.rb
avo-2.29.1.pre.pr1652 lib/generators/avo/version_generator.rb
avo-2.29.0 lib/generators/avo/version_generator.rb
avo-2.28.3.pre.pr1646 lib/generators/avo/version_generator.rb
avo-2.28.2.pre.pr1642 lib/generators/avo/version_generator.rb
avo-2.28.1.pre.pr1642 lib/generators/avo/version_generator.rb
avo-2.28.0 lib/generators/avo/version_generator.rb
avo-2.27.2.pre.pr1606 lib/generators/avo/version_generator.rb
avo-2.27.1 lib/generators/avo/version_generator.rb
avo-2.27.0 lib/generators/avo/version_generator.rb
avo-2.26.3.pre.pr1601 lib/generators/avo/version_generator.rb
avo-2.26.2.pre.pr1579 lib/generators/avo/version_generator.rb
avo-2.26.1.pr1584.pre.1 lib/generators/avo/version_generator.rb