Sha256: 75316bc69c2760454c0bb20fdf4ea26b8da05cf3e079e501482a9b2c2ee1c2ca

Contents?: true

Size: 1.23 KB

Versions: 11

Compression:

Stored size: 1.23 KB

Contents

# encoding: UTF-8
require 'rubygems'
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rake'
require 'rdoc/task'

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

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Cocoon'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "cocoon"
    gem.summary = %Q{gem that enables easier nested forms with standard forms, formtastic and simple-form}
    gem.description = %Q{Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven.}
    gem.email = "nathan@dixis.com"
    gem.homepage = "http://github.com/nathanvda/cocoon"
    gem.authors = ["Nathan Van der Auwera"]
    gem.licenses = ["MIT"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
cocoon-1.2.14 Rakefile
cocoon-1.2.13 Rakefile
cocoon-1.2.12 Rakefile
cocoon-1.2.11 Rakefile
cocoon-1.2.10 Rakefile
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/cocoon-1.2.9/Rakefile
cocoon-1.2.9 Rakefile
cocoon-1.2.8 Rakefile
cocoon-1.2.7 Rakefile
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/cocoon-1.2.6/Rakefile
cocoon-1.2.6 Rakefile