Module: Ore::Specification
- Defined in:
- lib/ore/specification.rb
Overview
Acts as a drop-in replacement for calling Gem::Specification.new
in a projects gemspec file.
Class Method Summary collapse
-
.new {|gemspec| ... } ⇒ Gem::Specification
Creates a new Gem Specification, and automatically populates it using the metadata file.
Class Method Details
.new {|gemspec| ... } ⇒ Gem::Specification
Creates a new Gem Specification, and automatically populates it using the metadata file.
25 26 27 |
# File 'lib/ore/specification.rb', line 25 def Specification.new(&block) Project.find.to_gemspec(&block) end |