Class: JewelerStyleVersioning::Tasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- JewelerStyleVersioning::Tasks
- Defined in:
- lib/jeweler_style_versioning/tasks.rb
Overview
Rake tasks for managing your gem.
Here’s a basic usage example:
Jeweler::Tasks.new do |gem|
gem.name = "jeweler"
gem.summary = "Simple and opinionated helper for creating RubyGem projects on GitHub"
gem.email = "[email protected]"
gem.homepage = "http://github.com/technicalpickles/jeweler"
gem.description = "Simple and opinionated helper for creating RubyGem projects on GitHub"
gem. = ["Josh Nichols"]
end
The block variable gem is actually a Gem::Specification, so you can do anything you would normally do with a Gem::Specification. For more details, see the official gemspec reference: docs.rubygems.org/read/chapter/20
In addition, it provides reasonable defaults for several values. See Jeweler::Specification for more details.
Instance Attribute Summary collapse
-
#jeweler_style_versioning ⇒ Object
Returns the value of attribute jeweler_style_versioning.
Instance Method Summary collapse
-
#initialize ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize ⇒ Tasks
Returns a new instance of Tasks.
42 43 44 45 |
# File 'lib/jeweler_style_versioning/tasks.rb', line 42 def initialize Rake.application.jeweler_style_versioning_tasks = self define end |
Instance Attribute Details
#jeweler_style_versioning ⇒ Object
Returns the value of attribute jeweler_style_versioning.
40 41 42 |
# File 'lib/jeweler_style_versioning/tasks.rb', line 40 def jeweler_style_versioning @jeweler_style_versioning end |