Sha256: 0521cb28c742987f1f7d15f34bf299de945221c896be035bd51e371e1293a7cc

Contents?: true

Size: 1.66 KB

Versions: 4

Compression:

Stored size: 1.66 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "characterizable"
    gem.summary = %Q{Characterize instances of a class}
    gem.description = %Q{Characterize the relationship between "attributes" (getters/setters) of instances of a class}
    gem.email = "seamus@abshere.net"
    gem.homepage = "http://github.com/seamusabshere/characterizable"
    gem.authors = ["Andy Rossmeissl", "Seamus Abshere"]
    gem.add_dependency 'blockenspiel', '>=0.3.2'
    gem.add_dependency 'activesupport', '>=2.3.5'
    gem.add_development_dependency 'to_json_fix', '>=0.0.1'
    gem.add_development_dependency "shoulda", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: 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 :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
characterizable-0.0.15 Rakefile
characterizable-0.0.14 Rakefile
characterizable-0.0.13 Rakefile
characterizable-0.0.12 Rakefile