Sha256: b854eeec6e3e2eca8b18662f1045f9fd0a07ac6d4c2b8e40292ba52ff1c0b82e
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
desc "Generate and validates gemspec" task :gemspec => ['gemspec:generate', 'gemspec:validate'] namespace :gemspec do desc "Validates the gemspec" task :validate do Jeweler.instance.validate_gemspec end desc "Generates the gemspec" task :generate do Jeweler.instance.write_gemspec end end desc "Displays the current version" task :version do puts Jeweler.instance.version end namespace :version do namespace :bump do desc "Bump the gemspec by a major version." task :major do jeweler = Jeweler.instance jeweler.bump_major_version jeweler.bump_version(major, 0, 0) jeweler.write_gemspec puts "Version bumped to #{jeweler.version}" end desc "Bump the gemspec by a minor version." task :minor do jeweler = Jeweler.instance jeweler.bump_minor_version puts "Version bumped to #{jeweler.version}" end desc "Bump the gemspec by a patch version." task :patch do jeweler = Jeweler.instance jeweler.bump_patch_version puts "Version bumped to #{jeweler.version}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
technicalpickles-jeweler-0.0.7 | lib/jeweler/tasks.rb |