Sha256: 4205a70b9cbd4053aac4e9a0cc7806540cd70818b2997bfbce366687dd8b7336

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

require 'rake'
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc 'Run the specs'
RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = ['--colour --format progress --loadby mtime --reverse']
  t.pattern = FileList['spec/**/*_spec.rb']
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "sinatra-simple-navigation"
    gemspec.summary = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino."
    gemspec.email = "andreas.schacke@gmail.com"
    gemspec.homepage = "http://github.com/andi/sinatra-simple-navigation"
    gemspec.description = "A Sinatra extension to enable creating navigations with the simple-navigation gem. Also works for Padrino. See http://github.com/andi/simple-navigation for more information on simple-navigation."
    #gemspec.add_development_dependency('rspec', '>= 1.2.8')
    gemspec.add_dependency('simple-navigation', '>= 3.5.0')
    gemspec.authors = ["Andi Schacke", "Mark J. Titorenko"]
    gemspec.rdoc_options = ["--inline-source", "--charset=UTF-8"]
    gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*"] - FileList["**/*.log"]
    gemspec.rubyforge_project = 'andi'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError => e
  puts "Jeweler not available (#{e}). 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
sinatra-simple-navigation-3.5.1 Rakefile
sinatra-simple-navigation-3.5.0 Rakefile