Sha256: 4573e32459233875ba02e2cb97d8e065174f0843c8fb418a9a429fca185d1bbf

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "usb-detection-sensor"
    gem.summary = %Q{usb device connect/disconnect detection as GOM sensor}
    gem.description = %Q{
      Detect USB devices when being connected and update a GOM sensor node
      accordingly. This allows to automagically avtivate the device mirror
      overlay on the horizon in home for example.
    }
    gem.email = "dirk.luesebrink@gmail.com"
    gem.homepage = "http://github.com/crux/usb-detection-sensor"
    gem.authors = ["art+com/dirk luesebrink"]

    gem.add_development_dependency "rspec"
    gem.add_development_dependency "fakeweb"

    gem.add_runtime_dependency "json_pure"
    gem.add_runtime_dependency "applix"
    gem.add_runtime_dependency "gom-script"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:rcov) do |t|
  t.rcov_opts =  %q[--exclude "spec"]
end

task :spec => :check_dependencies

task :default => :spec

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
usb-detection-sensor-0.2.2 Rakefile