Sha256: bd917d1d754773667193ab8904edb24257260e0760e094fa79e501ae37397cae

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name        = "engine-assets"
    gem.summary     = "Rails Engines with assets."
    gem.description = "A Rails Engine, which enables Rails Engines to provide assets (javascript, css and images)"
    gem.email       = "support@coolerator.net"
    gem.homepage    = "http://github.com/coreyti/engine-assets"
    gem.authors     = ["Corey Innis"]
    gem.add_development_dependency "rspec", ">= 1.2.8"
    gem.files      += Dir['app/**/*.rb']
    gem.files      += Dir['lib/**/*.rb']
    gem.files.uniq!  # TODO (CTI): figure out why I'm having to do this manipulation.

    # 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: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
engine-assets-0.4.2 Rakefile
engine-assets-0.4.1 Rakefile
engine-assets-0.4.0 Rakefile
engine-assets-0.3.3 Rakefile
engine-assets-0.3.2 Rakefile
engine-assets-0.3.1 Rakefile