Sha256: b30e2747032f0c46f830619920707f4f8a4be4e794143953f4c43d6cdeb91d3e

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

require "rubygems"
require "bundler"
Bundler.setup
require 'rake/rdoctask'
require "rspec/core/rake_task"

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

desc 'Test the jelly plugin with Rspec.'
RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = 'spec/**/*_spec.rb'
  t.verbose = true
end

desc 'Generate documentation for the jelly plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Jelly.'
  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 = ENV["GEM_PREFIX"] ? "#{ENV["GEM_PREFIX"]}-jelly" : "jelly"
    gemspec.summary = "a sweet unobtrusive javascript framework for jQuery and Rails"
    gemspec.description = "Jelly provides a set of tools and conventions for creating rich ajax/javascript web applications with jQuery and Ruby on Rails."
    gemspec.email = "opensource@pivotallabs.com"
    gemspec.homepage = "http://github.com/pivotal/jelly"
    gemspec.authors = ["Pivotal Labs, Inc"]
    gemspec.files.exclude 'spec/**/*'
    gemspec.add_dependency('rails', '>= 2.3.0')
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
honkster-jelly-0.9.1 Rakefile
honkster-jelly-0.9.0 Rakefile