Sha256: ae052f063ffc096e798f9075247892ae3b1573447838e7644d31d57b3ac71459

Contents?: true

Size: 1.7 KB

Versions: 13

Compression:

Stored size: 1.7 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "wc"
    gem.summary = "your ruby word counter experience"
    gem.description = "your ruby word counter experience"
    gem.email = "thesp0nge@gmail.com"
    gem.homepage = "http://github.com/thesp0nge/wc"
    gem.authors = ["Paolo Perego"]
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    # gem.add_development_dependency "getoptlong", ">=0"
    gem.add_development_dependency "builder", ">=2.1.2"
    gem.add_development_dependency "json", ">=1.4.3"
    
    # gem.add_dependency "getoptlong", ">=0"
    gem.add_dependency "builder", ">=2.1.2"
    gem.add_dependency "json", ">=1.4.3"
    
    # 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 = "wc #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wc-0.94.2 Rakefile
wc-0.94.1 Rakefile
wc-0.94.0 Rakefile
wc-0.93.0 Rakefile
wc-0.92.0 Rakefile
wc-0.91.0 Rakefile
wc-0.90.0 Rakefile
wc-0.50.0 Rakefile
wc-0.40.0 Rakefile
wc-0.30.0 Rakefile
wc-0.22.0 Rakefile
wc-0.21.0 Rakefile
wc-0.20.0 Rakefile