Sha256: 172c1f0653489c586634ad52d9a474c51e03de469ea89fd7bf874a5f13df2806

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

class Gem::Commands::GemspecCommand < Gem::Command
  include GemRelease
  include Helpers, CommandOptions

  OPTIONS = { :strategy => 'git' }

  attr_reader :arguments, :usage

  def initialize
    super 'bootstrap', 'Bootstrap a new gem source repository', OPTIONS

    option :strategy, '-f', 'Strategy for collecting files [glob|git] in .gemspec'
  end

  def execute
    gemspec = Gemspec.new(options)
    say "Creating #{gemspec.filename}"
    gemspec.write
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem-release-0.0.13 lib/rubygems/commands/gemspec_command.rb