Sha256: c47c0532a1e038ab5110b49ad363b2acf608d4756daf61b00f4a2f3185dbedc5

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 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             = "HTML + CSS + Javascript = awesome presos"
    gem.description         = "HTML + CSS + Javascript = awesome presos"
    gem.email               = "julio.ody@gmail.com"
    gem.homepage            = "http://shining.heroku.com"
    gem.authors             = "Julio Cesar Ody"
    gem.add_dependency      'json_pure',      '>= 1.1.9'
    gem.add_dependency      'heroku',         '>= 1.9.9'
    gem.add_dependency      'rack',           '>= 0.9'
    gem.add_dependency      'stringex',       '>= 1.1.0'
    gem.add_dependency      'jeweler',        '>= 1.4.0'
    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

3 entries across 3 versions & 1 rubygems

Version Path
shining-2.0.0 Rakefile
shining-1.3.7 Rakefile
shining-1.3.6 Rakefile