Sha256: 1061465bb91f51b712c8436b8e1f93ddb5cc36194b34adafa48c52da83ed23c3

Contents?: true

Size: 1.35 KB

Versions: 13

Compression:

Stored size: 1.35 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "role_on"
    gem.summary = %Q{Really simple roles}
    gem.email = "darkhelmet@darkhelmetlive.com"
    gem.homepage = "http://github.com/darkhelmet/role_on"
    gem.authors = ["Daniel Huckstep"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end


task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "role_on #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
darkhelmet-role_on-0.1.1 Rakefile
darkhelmet-role_on-0.1.2 Rakefile
darkhelmet-role_on-0.1.3 Rakefile
darkhelmet-role_on-0.1.4 Rakefile
darkhelmet-role_on-0.2.0 Rakefile
darkhelmet-role_on-0.2.1 Rakefile
darkhelmet-role_on-0.2.2 Rakefile
darkhelmet-role_on-0.2.3 Rakefile
darkhelmet-role_on-0.2.4 Rakefile
darkhelmet-role_on-0.2.5 Rakefile
darkhelmet-role_on-0.2.6 Rakefile
darkhelmet-role_on-0.2.7 Rakefile
role_on-0.2.7 Rakefile