Sha256: 84b333a74c48ca716673ab5ba6f5061c511982fd2277b1ca98a30505c8acc859
Contents?: true
Size: 1.76 KB
Versions: 4
Compression:
Stored size: 1.76 KB
Contents
# encoding: utf-8 require 'rubygems' #################################### BUNDLER ################################### require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' #################################### JEWELER ################################### require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = 'configoro' gem.homepage = 'http://github.com/RISCfuture/configoro' gem.license = 'MIT' gem.summary = %Q{Configuration object and YAML-based storage for Rails apps} gem.description = %Q{Creates a YourApp::Configuration object whose methods are generated from environment-specific YAML files.} gem.email = 'git@timothymorgan.info' gem.authors = ['Tim Morgan'] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new ##################################### RSPEC #################################### require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end task :default => :spec ##################################### YARD ##################################### require 'yard' YARD::Rake::YardocTask.new do |doc| doc.options << '-m' << 'markdown' doc.options << '-M' << 'redcarpet' doc.options << '--protected' doc.options << '--no-private' doc.options << '-r' << 'README.md' doc.options << '-o' << 'doc' doc.options << '--title' << 'Configoro Documentation' doc.files = %w(lib/**/* README.md) end desc "Generate API documentation" task :doc => :yard
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
configoro-1.4.1 | Rakefile |
configoro-1.4.0 | Rakefile |
configoro-1.3.0 | Rakefile |
configoro-1.2.4 | Rakefile |