Sha256: c9edaa41bbb0704fec51318a69009a4c7c0b4156202647ea4c1ab4c8853fed8b

Contents?: true

Size: 1.71 KB

Versions: 6

Compression:

Stored size: 1.71 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" << "textile"
  doc.options << "--protected"
  doc.options << "--no-private"
  doc.options << "-r" << "README.textile"
  doc.options << "-o" << "doc"
  doc.options << "--title" << "Configoro Documentation"

  doc.files = [ 'lib/**/*', 'README.textile' ]
end

desc "Generate API documentation"
task :doc => :yard

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
configoro-1.2.3 Rakefile
configoro-1.2.2 Rakefile
configoro-1.2.1 Rakefile
configoro-1.2.0 Rakefile
configoro-1.1.0 Rakefile
configoro-1.0.0 Rakefile