Sha256: f3b2861b7662ff23b6163c15d984d4824a107fe1f8bdfd0f23d3f550264f6051

Contents?: true

Size: 331 Bytes

Versions: 18

Compression:

Stored size: 331 Bytes

Contents

module Terraspace::CLI::New::Helpers
  module PluginGem
  private
    def plugin_gem_name
      if @options[:plugin_gem]
        @options[:plugin_gem]
      else
        plugin = @options[:plugin] || Terraspace::Autodetect.new.plugin
        "terraspace_plugin_#{plugin}" if plugin and plugin != "none"
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
terraspace-1.1.7 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.6 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.5 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.4 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.3 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.2 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.1 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.1.0 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.6 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.5 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.4 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.3 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.2 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.1 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-1.0.0 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-0.7.2 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-0.7.1 lib/terraspace/cli/new/helpers/plugin_gem.rb
terraspace-0.7.0 lib/terraspace/cli/new/helpers/plugin_gem.rb