Sha256: 0028a4d597273b68a04f359cba65d17f67d41537ae18051e929adb1901ff89f5

Contents?: true

Size: 1.35 KB

Versions: 6

Compression:

Stored size: 1.35 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "frequency"
    gem.summary = %Q{Interpret and compare frequencies (such as hourly)}
    gem.description = %Q{Interpret strings that represent frequencies (once a day, hourly, biennially, etc.)}
    gem.email = "djames@sunlightfoundation.com"
    gem.homepage = "http://github.com/djsun/frequency"
    gem.authors = ["David James"]
    gem.add_development_dependency "rspec"
    # 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: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
frequency-0.1.5 Rakefile
frequency-0.1.4 Rakefile
frequency-0.1.3 Rakefile
frequency-0.1.2 Rakefile
frequency-0.1.1 Rakefile
frequency-0.1.0 Rakefile