Sha256: 62cc5a484829c52baf2643b20b0e05702afb07eea2695544347edb43cc8152aa
Contents?: true
Size: 693 Bytes
Versions: 13
Compression:
Stored size: 693 Bytes
Contents
require 'ore/project' module Ore # # Acts as a drop-in replacement for calling `Gem::Specification.new` # in a projects gemspec file. # module Specification # # Creates a new Gem Specification, and automatically populates it # using the metadata file. # # @yield [gemspec] # The given block will be passed the populated Gem Specification # object. # # @yieldparam [Gem::Specification] gemspec # The newly created Gem Specification. # # @return [Gem::Specification] # The Gem Specification. # # @see Project#to_gemspec # def Specification.new(&block) Project.find.to_gemspec(&block) end end end
Version data entries
13 entries across 13 versions & 2 rubygems