forked from rmodbus/rmodbus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrmodbus.gemspec
30 lines (26 loc) · 1020 Bytes
/
rmodbus.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'rmodbus/version'
Gem::Specification.new do |gem|
gem.name = "rmodbus"
gem.version = ModBus::VERSION
gem.author = 'A.Timin, J. Sanders, K. Reynolds'
gem.email = "[email protected]"
gem.homepage = "http://rmodbus.heroku.com"
gem.summary = "RModBus - free implementation of protocol ModBus"
gem.files = Dir['lib/**/*.rb','examples/*.rb','spec/*.rb', 'Rakefile']
gem.rdoc_options = ["--title", "RModBus", "--inline-source", "--main", "README.md"]
gem.extra_rdoc_files = ["README.md", "NEWS.md"]
if RUBY_PLATFORM == 'java'
gem.platform = Gem::Platform.new("java")
else
gem.platform = Gem::Platform::RUBY
gem.add_dependency 'serialport'
end
gem.add_development_dependency 'rake'
gem.add_development_dependency 'bundler'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'rcov'
gem.add_development_dependency 'yard'
gem.add_development_dependency 'rdiscount'
end