Sha256: 34edb9b44e5832718d94e667950d8298925dcb60e8b94de78332e141f86a6ad8

Contents?: true

Size: 456 Bytes

Versions: 276

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

276 entries across 276 versions & 1 rubygems

Version Path
avo-3.0.1.beta3 lib/generators/avo/version_generator.rb
avo-3.0.0.beta1 lib/generators/avo/version_generator.rb
avo-3.0.1.beta1 lib/generators/avo/version_generator.rb
avo-3.0.0.pre17 lib/generators/avo/version_generator.rb
avo-3.0.0.pre18 lib/generators/avo/version_generator.rb
avo-3.0.0.pre14 lib/generators/avo/version_generator.rb
avo-3.0.0.pre16 lib/generators/avo/version_generator.rb
avo-3.0.0.pre15 lib/generators/avo/version_generator.rb
avo-3.0.0.pre13 lib/generators/avo/version_generator.rb
avo-3.0.0.pre12 lib/generators/avo/version_generator.rb
avo-3.0.0.pre10 lib/generators/avo/version_generator.rb
avo-3.0.0.pre11 lib/generators/avo/version_generator.rb
avo-3.0.0.pre8 lib/generators/avo/version_generator.rb
avo-3.0.0.pre9 lib/generators/avo/version_generator.rb
avo-3.0.0.pre7 lib/generators/avo/version_generator.rb
avo-3.0.0.pre5 lib/generators/avo/version_generator.rb
avo-3.0.0.pre6 lib/generators/avo/version_generator.rb
avo-3.0.0.pre4 lib/generators/avo/version_generator.rb
avo-3.0.0.pre3 lib/generators/avo/version_generator.rb
avo-3.0.0.pre2 lib/generators/avo/version_generator.rb