class
Gem::Specification
v1_9_3_392 -
Show latest stable
- Superclass: Object
The Specification class contains the metadata for a Gem. Typically defined in a .gemspec file or a Rakefile, and looks like this:
spec = Gem::Specification.new do |s| s.name = 'example' s.version = '1.0' s.summary = 'Example gem specification' ... end
For a great way to package gems, use Hoe.
Constants
CURRENT_SPECIFICATION_VERSION = 3
NONEXISTENT_SPECIFICATION_VERSION = -1
Attributes
| [RW] | activated |
| [RW] | activated? |
| [RW] | autorequire |
| [RW] | bindir |
| [RW] | cert_chain |
| [W] | default_executable |
| [R] | description |
| [RW] | |
| [RW] | homepage |
| [RW] | loaded |
| [RW] | loaded? |
| [R] | loaded_from |
| [RW] | name |
| [W] | original_platform |
| [RW] | post_install_message |
| [RW] | require_paths |
| [R] | required_ruby_version |
| [R] | required_rubygems_version |
| [RW] | rubyforge_project |
| [RW] | rubygems_version |
| [RW] | signing_key |
| [RW] | specification_version |
| [R] | summary |
| [R] | version |
Files
- lib/rubygems/specification.rb