Sha256: d3aa52e0d38c868c2d441b0d934b1bca559dcad41a484e11ce1213030304956c

Contents?: true

Size: 1.69 KB

Versions: 1

Compression:

Stored size: 1.69 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "rfid-usb-gom-sensor"
    gem.summary = %Q{USB RFID to GOM sensor node gateway}
    gem.description = %Q{
      As an alternative to the gesture driven content selection on the wall
      guests may use an tablet-PC version of the content load application.
      After content selection the android handset must by adssociated with
      the selection for which the tablet PC has an USB RFID sensor installed.
      This gem now implements the RFID GOM sensor node mapping code which runs
      on the tablet PC.
    }.gsub /\n\n/, ''
    gem.email = "dirk.luesebrink@gmail.com"
    gem.homepage = "http://github.com/crux/rfid-usb-gom-sensor"
    gem.authors = ["art+com/dirk luesebrink"]

    gem.add_runtime_dependency "ruby-serialport"
    gem.add_runtime_dependency "gom-script"

    gem.add_development_dependency "rspec"
  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|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "rfid-usb-gom-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
rfid-usb-gom-sensor-0.1.0 Rakefile