Sha256: 0fcb88c4e98e1dfae6af357b85e3a48a6b9fe14275ef81bf8e4998513b095607
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
require 'gem_release/helpers' 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
4 entries across 4 versions & 1 rubygems