Sha256: b878669498c685446748271edcf12ffc5f44134e3ac6f0720d49840e7cf710b0

Contents?: true

Size: 1.35 KB

Versions: 9

Compression:

Stored size: 1.35 KB

Contents

require File.join(File.dirname(__FILE__), 'spec', 'spec_helper')
require 'spec/rake/spectask'

Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/*_spec.rb']
  t.spec_opts = ['--colour', '--format nested']
end

namespace :spec do
  desc 'runs Javascript specs'
  task :javascripts do
    Dir.chdir File.join(File.dirname(__FILE__), 'spec', 'javascripts')
    system "jspec run dom.html"
  end
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name                = "shining"
    gem.summary             = "Webkit + CSS + Javascript = awesome presos"
    gem.description         = "Webkit + CSS + Javascript = awesome presos"
    gem.email               = "julio.ody@gmail.com"
    gem.homepage            = "http://github.com/juliocesar/shining"
    gem.authors             = "Julio Cesar Ody"
    gem.add_dependency      'haml',           '>= 2.2.17'
    gem.add_dependency      'json_pure',      '>= 1.1.9'
    gem.add_dependency      'tilt',           '>= 0.6'
    gem.add_dependency      'rdiscount',      '>= 1.6.3'
    gem.add_dependency      'term-ansicolor', '>= 1.0.4'
    gem.add_development_dependency 'rspec', '1.3.0'
    gem.add_development_dependency 'jspec', '4.2.0'    
    gem.add_development_dependency 'rake',  '0.8.7'
  end
rescue LoadError
  puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shining-1.3.1 Rakefile
shining-1.3.0 Rakefile
shining-1.2.0 Rakefile
shining-1.1.8 Rakefile
shining-1.1.7 Rakefile
shining-1.1.5 Rakefile
shining-1.1.4 Rakefile
shining-1.1.3 Rakefile
shining-1.1.2 Rakefile