-
Notifications
You must be signed in to change notification settings - Fork 1
/
em-mqtt-sn.gemspec
executable file
·46 lines (41 loc) · 1.95 KB
/
em-mqtt-sn.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
#!/usr/bin/env ruby -rubygems
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "em/mqtt-sn/version"
Gem::Specification.new do |gem|
gem.name = 'em-mqtt-sn'
gem.version = EventMachine::MQTTSN::VERSION
gem.author = 'Nicholas J Humfrey'
gem.email = 'njh@aelius.com'
gem.homepage = 'http://github.com/njh/ruby-em-mqtt-sn'
gem.summary = 'MQTT-SN for EventMachine'
gem.description = 'This gem adds MQTT-SN protocol and gateway support to EventMachine.'
gem.license = 'Ruby' if gem.respond_to?(:license=)
gem.files = %w(README.md LICENSE.md NEWS.md) + Dir.glob('lib/**/*.rb')
gem.test_files = Dir.glob('spec/*_spec.rb')
gem.executables = %w(em-mqtt-sn-gateway)
gem.require_paths = %w(lib)
gem.add_runtime_dependency 'eventmachine'
gem.add_runtime_dependency 'mqtt', '>= 0.4.0'
gem.add_runtime_dependency 'em-mqtt', '>= 0.0.3'
if Gem.ruby_version > Gem::Version.new('2.0')
gem.add_development_dependency 'bundler', '>= 1.11.2'
gem.add_development_dependency 'rake', '>= 10.2.2'
gem.add_development_dependency 'yard', '>= 0.8.7'
gem.add_development_dependency 'rspec', '>= 3.0.0'
gem.add_development_dependency 'simplecov','>= 0.9.2'
elsif Gem.ruby_version > Gem::Version.new('1.9')
gem.add_development_dependency 'bundler', '>= 1.11.2'
gem.add_development_dependency 'rake', '~> 0.9.6'
gem.add_development_dependency 'yard', '~> 0.8.0'
gem.add_development_dependency 'rspec', '~> 3.0.0'
gem.add_development_dependency 'simplecov','~> 0.9.2'
elsif Gem.ruby_version > Gem::Version.new('1.8')
gem.add_development_dependency 'bundler', '>= 1.1.0'
gem.add_development_dependency 'rake', '~> 0.9.0'
gem.add_development_dependency 'yard', '~> 0.8.0'
gem.add_development_dependency 'rspec', '~> 3.0.0'
else
raise "#{Gem.ruby_version} is an unsupported version of ruby"
end
end