-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrs_232.gemspec
50 lines (42 loc) · 1.67 KB
/
rs_232.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rs_232/version'
Gem::Specification.new do |spec|
spec.name = 'rs_232'
spec.version = Rs232::VERSION
spec.authors = ['Roman Lishtaba']
spec.email = ['[email protected]']
spec.description = 'RS-232 cross-platform implementation as Ruby C native extension.'
spec.summary = <<-SUMMARY
RS-232 cross-platform implementation as Ruby C native extension.
Rubygem offering simple API in order to start using Serial Port communication in your project running on Linux, Mac OS X and Windows.
SUMMARY
spec.homepage = 'http://www.lishtaba.com'
spec.license = 'MIT'
spec.files = [
Dir.glob('ext/**/*'),
Dir.glob('lib/**/*.rb'),
'Rakefile',
'rs_232.gemspec',
'Gemfile',
'LICENSE.txt'
].flatten
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.extensions = 'ext/rs_232/extconf.rb'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rubocop', '~> 0'
spec.add_development_dependency 'simplecov', '~> 0.9'
spec.add_development_dependency 'rspec', '~> 3.1'
spec.add_development_dependency 'cucumber', '~> 1.3'
spec.add_development_dependency 'rspec_junit_formatter', '~> 0'
spec.add_development_dependency 'yard', '~> 0.8'
spec.add_development_dependency 'rake-compiler', '~> 0'
spec.add_development_dependency 'pry'
spec.post_install_message = <<-MSG
(::) You've installed binary version of the Rs-232 gem! (::)
MSG
end