Sha256: 8bac1cd24c9d8e2cd21666d9ed3f3ddeff5d4ed42de91a48e7d89326a88c70a9

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "textmagic"
    gem.summary = %Q{Ruby interface to the TextMagic's SMS gateway}
    gem.email = "vladimir.tuzinsky@gmail.com"
    gem.homepage = "http://github.com/bobes/textmagic"
    gem.authors = ["Vladimir Bobes Tuzinsky"]
    gem.rubyforge_project = "textmagic"
  end

  Jeweler::RubyforgeTasks.new
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 = "textmagic #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
bobes-textmagic-0.1.0 Rakefile
bobes-textmagic-0.2.0 Rakefile
bobes-textmagic-0.2.1 Rakefile
textmagic-0.2.0 Rakefile
textmagic-0.2.1 Rakefile