rs_232.gemspec in rs_232-2.0.7 vs rs_232.gemspec in rs_232-2.2.0
- old
+ new
@@ -2,39 +2,37 @@
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 = ['roman@lishtaba.com']
- spec.description = %q{This is a rs-232 posix implementation as a Ruby extension in C.}
- spec.summary = %q{This is a rs-232 implementation as a Ruby extension in C.}
- spec.homepage = 'http://www.lishtaba.com'
- spec.license = 'MIT'
-
- spec.files = Dir['**/*']
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.name = 'rs_232'
+ spec.version = Rs232::VERSION
+ spec.authors = ['Roman Lishtaba']
+ spec.email = ['roman@lishtaba.com']
+ spec.description = 'This is an RS-232 posix implementation as a Ruby C Native Extension.'
+ spec.summary = 'This is a RS-232 implementation as a Ruby C Native Extension.'
+ 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 = %w(ext/rs_232/extconf.rb)
-
- spec.add_development_dependency 'bundler','~> 1.5', '>= 1.5.3'
- spec.add_development_dependency 'rake', '~> 10.1', '>= 10.1.1'
- spec.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
- spec.add_development_dependency 'cucumber', '~> 1.3', '>= 1.3.11'
- spec.add_development_dependency 'rake-compiler', '~> 0.9', '>= 0.9.2'
- spec.add_development_dependency 'simplecov', '~> 0.8', '>= 0.8.2'
- spec.add_development_dependency 'pry', '~> 0.9', '>= 0.9.12.6'
-
-
- spec.post_install_message = <<-MSG
- ****************************************************************
- *** INFO: ***
- *** You've installed binary version of the Rs-232 gem! ***
- *** Gem version: #{Rs232::VERSION} ***
- *** Bug reports/questions are welcome: [roman@lishtaba.com] ***
- ****************************************************************
+ spec.extensions = Dir.glob('ext/**/extconf.rb')
+ spec.add_development_dependency 'bundler', '~> 1.10'
+ 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.post_install_message = <<-MSG
+ (::) You've installed binary version of the Rs-232 gem! (::)
MSG
end