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.18.1.pre.1.eagerloaddirs lib/generators/avo/version_generator.rb
avo-2.18.0 lib/generators/avo/version_generator.rb
avo-2.17.1.pre.5.stackedlayout lib/generators/avo/version_generator.rb
avo-2.17.1.pre.4.issue.1342 lib/generators/avo/version_generator.rb
avo-2.17.1.pre.3 lib/generators/avo/version_generator.rb
avo-2.17.1.pre.2.customauthorizationclients lib/generators/avo/version_generator.rb
avo-2.17.1.pre.1.zeitwerk.eager.load.dir lib/generators/avo/version_generator.rb
avo-2.17.0 lib/generators/avo/version_generator.rb
avo-2.16.1.pre.1.nativefields lib/generators/avo/version_generator.rb
avo-2.16.0 lib/generators/avo/version_generator.rb
avo-2.15.3 lib/generators/avo/version_generator.rb
avo-2.15.3.pre.1.data.attrs.to.sidebar.items lib/generators/avo/version_generator.rb
avo-2.15.2 lib/generators/avo/version_generator.rb
avo-2.15.2.pre.1 lib/generators/avo/version_generator.rb
avo-2.15.1 lib/generators/avo/version_generator.rb
avo-2.15.0 lib/generators/avo/version_generator.rb
avo-2.14.3.pre.7.polytranslations1 lib/generators/avo/version_generator.rb
avo-2.14.3.pre.6.nosprockets lib/generators/avo/version_generator.rb
avo-2.14.3.pre.5.nosprockets lib/generators/avo/version_generator.rb
avo-2.14.3.pre.4.tosqlfix lib/generators/avo/version_generator.rb