Sha256: b78c49af817cc18e1bbbcca27df6c60810df164b8e1e9d0dfd58cca9c8fabda3

Contents?: true

Size: 1.55 KB

Versions: 12

Compression:

Stored size: 1.55 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "rbbt-rest"
    gem.summary = %Q{Rbbt Web and REST interfaces}
    gem.description = %Q{Basic web app controllers and templates}
    gem.email = "miguel.vazquez@cnio.es"
    gem.homepage = "http://github.com/mikisvaz/rbbt-rest"
    gem.authors = ["Miguel Vazquez"]
    gem.files = Dir['lib/**/*.rb', 'share/R/*', 'share/views/**/*', 'config.ru', "Rakefile", 'LICENCE']

    gem.add_dependency('rake')
    gem.add_dependency('sinatra')
    gem.add_dependency('zurb-foundation')
    gem.add_dependency('compass')
    gem.add_dependency('json')
    gem.add_dependency('haml')
    gem.add_dependency('rest-client')
    gem.add_dependency('sinatra-authorization')
    gem.add_dependency('sinatra-cross_origin')


    # 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 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rbbt-rest-1.2.6 Rakefile
rbbt-rest-1.2.5 Rakefile
rbbt-rest-1.2.4 Rakefile
rbbt-rest-1.2.3 Rakefile
rbbt-rest-1.2.2 Rakefile
rbbt-rest-1.2.1 Rakefile
rbbt-rest-1.2.0 Rakefile
rbbt-rest-1.1.5 Rakefile
rbbt-rest-1.1.4 Rakefile
rbbt-rest-1.1.3 Rakefile
rbbt-rest-1.1.2 Rakefile
rbbt-rest-1.1.0 Rakefile