Sha256: afddea3c43921c5382c82a046d40abcc2eff89f01f11e7101a03ee9278be8edd

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

task :default => :spec
task :test    => :spec

desc "Build a gem"
task :gem => [ :gemspec, :build ]

desc "Run specs"
task :spec do
  exec "spec -fn -b -c spec/"
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "fixed_width-multibyte"
    gemspec.summary = "A gem that provides a DSL for parsing and writing files of fixed-width records."
    gemspec.description = <<END
A gem that provides a DSL for parsing and writing files of fixed-width records.

Multibyte support added while Timon is on vacation.

Shamelessly forked from ryanwood/slither [http://github.com/ryanwood/slither].

Renamed the gem to be a little clearer as to its purpose. Hate that 'nokogiri' nonsense.
END
    gemspec.email = "timon.karnezos@gmail.com"
    gemspec.homepage = "http://github.com/timonk/fixed_width"
    gemspec.authors = ["Timon Karnezos"]
    gemspec.add_dependency 'activesupport'
  end
rescue LoadError
  warn "Jeweler not available. Install it with:"
  warn "gem install jeweler"
end

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 = "rprince #{version}"
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fixed_width-multibyte-0.2.3 Rakefile
fixed_width-multibyte-0.2.2 Rakefile