Sha256: 34edb9b44e5832718d94e667950d8298925dcb60e8b94de78332e141f86a6ad8

Contents?: true

Size: 456 Bytes

Versions: 273

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

273 entries across 273 versions & 1 rubygems

Version Path
avo-3.14.3 lib/generators/avo/version_generator.rb
avo-3.14.2 lib/generators/avo/version_generator.rb
avo-3.14.1 lib/generators/avo/version_generator.rb
avo-3.14.0 lib/generators/avo/version_generator.rb
avo-3.13.7 lib/generators/avo/version_generator.rb
avo-3.13.6 lib/generators/avo/version_generator.rb
avo-3.13.5 lib/generators/avo/version_generator.rb
avo-3.13.4 lib/generators/avo/version_generator.rb
avo-3.13.3 lib/generators/avo/version_generator.rb
avo-3.13.2 lib/generators/avo/version_generator.rb
avo-3.13.1 lib/generators/avo/version_generator.rb
avo-3.13.0 lib/generators/avo/version_generator.rb
avo-2.53.0 lib/generators/avo/version_generator.rb
avo-3.12.0 lib/generators/avo/version_generator.rb
avo-3.11.10 lib/generators/avo/version_generator.rb
avo-3.11.9 lib/generators/avo/version_generator.rb
avo-3.11.8 lib/generators/avo/version_generator.rb
avo-3.11.7 lib/generators/avo/version_generator.rb
avo-3.11.6 lib/generators/avo/version_generator.rb
avo-3.11.5 lib/generators/avo/version_generator.rb