Sha256: afdf996d01bad5084526f92afd655bc9a16c76797ea2c04a084bb81572acbc34

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "jquery-ui-form"
  gem.homepage = "http://github.com/aivarsak/jquery-ui-form"
  gem.license = "MIT"
  gem.summary = %Q{jQuery-UI-formbuilder is a Ruby on Rails FormBuilder DSL powered by jQuery-UI}
  gem.description = %Q{jQuery-UI-formbuilder is a Ruby on Rails FormBuilder DSL powered by jQuery-UI}
  gem.email = "aivars.akots@gmail.com"
  gem.authors = ["Aivars Akots"]
  # Include your dependencies below. Runtime dependencies are required when using your gem,
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
  gem.add_runtime_dependency 'rails', '>= 3.1.0'
  gem.add_development_dependency 'rspec-rails', '> 2.8.0'
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:spec) do |test|
  test.libs << 'lib' << 'spec'
  test.pattern = 'spec/**/*_spec.rb'
  test.verbose = true
end

# require 'rcov/rcovtask'
# Rcov::RcovTask.new do |test|
#   test.libs << 'spec'
#   test.pattern = 'spec/**/*_spec.rb'
#   test.verbose = true
# end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "jquery-ui-form #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jquery-ui-form-0.2.8 Rakefile