-
Notifications
You must be signed in to change notification settings - Fork 136
/
mqtt.gemspec
executable file
·40 lines (36 loc) · 1.66 KB
/
mqtt.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
#!/usr/bin/env ruby -rubygems
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "mqtt/version"
Gem::Specification.new do |gem|
gem.name = 'mqtt'
gem.version = MQTT::VERSION
gem.author = 'Nicholas J Humfrey'
gem.email = 'njh@aelius.com'
gem.homepage = 'https://github.com/njh/ruby-mqtt'
gem.summary = 'Implementation of the MQTT protocol'
gem.description = 'Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.'
gem.license = 'MIT' if gem.respond_to?(:license=)
gem.rubyforge_project = 'mqtt'
gem.files = %w(README.md LICENSE.md NEWS.md) + Dir.glob('lib/**/*.rb')
gem.test_files = Dir.glob('spec/*_spec.rb')
gem.executables = %w()
gem.require_paths = %w(lib)
if Gem.ruby_version > Gem::Version.new('3.0')
gem.add_development_dependency 'bundler', '>= 1.11.2'
gem.add_development_dependency 'rake', '>= 10.2.2'
gem.add_development_dependency 'yard', '>= 0.9.11'
gem.add_development_dependency 'rspec', '>= 3.5.0'
gem.add_development_dependency 'simplecov','>= 0.9.2'
gem.add_development_dependency 'rubocop', '~> 1.45'
elsif Gem.ruby_version > Gem::Version.new('2.0')
gem.add_development_dependency 'bundler', '>= 1.11.2'
gem.add_development_dependency 'rake', '>= 12.3.3'
gem.add_development_dependency 'yard', '>= 0.9.20'
gem.add_development_dependency 'rspec', '>= 3.5.0'
gem.add_development_dependency 'simplecov','>= 0.9.2'
gem.add_development_dependency 'rubocop', '~> 0.48.0'
else
raise "#{Gem.ruby_version} is an unsupported version of ruby"
end
end