Sha256: 4e71b04f9fa2b1a134415b30039d4e21d374b204ac4de54c4907ff8076c593bb

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the simple_time_select plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the simple_time_select plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Simple Time Select'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "simple_time_select"
    gemspec.summary = "This simple plugin gives you that component and allows you to set minute intervals"
    gemspec.description = "A time select component using only ONE select field"
    gemspec.email = "tonyamoyal@gmail.com"
    gemspec.homepage = "http://github.com/rsturim/simple_time_select"
    gemspec.authors = ["Anthony Amoyal"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rsturim-simple_time_select-0.0.0 Rakefile
rsturim-simple_time_select-0.1.0 Rakefile