| 1 |
# frozen_string_literal: true |
| 2 |
|
| 3 |
# -*- ruby -*- |
| 4 |
|
| 5 |
GEMSPEC = Gem::Specification.new do |s| |
| 6 |
s.name = "ruby-dbus" |
| 7 |
# s.rubyforge_project = nil |
| 8 |
s.summary = "Ruby module for interaction with D-Bus" |
| 9 |
s.description = "Pure Ruby module for interaction with D-Bus IPC system" |
| 10 |
s.version = File.read("VERSION").strip |
| 11 |
s.license = "LGPL-2.1-or-later" |
| 12 |
s.author = "Ruby DBus Team" |
| 13 |
s.email = "[email protected]" |
| 14 |
s.homepage = "https://github.com/mvidner/ruby-dbus" |
| 15 |
s.files = Dir[ |
| 16 |
"{doc,examples,lib,spec}/**/*", |
| 17 |
"COPYING", "NEWS.md", "Rakefile", "README.md", |
| 18 |
"ruby-dbus.gemspec", "VERSION", ".rspec" |
| 19 |
] |
| 20 |
s.require_path = "lib" |
| 21 |
|
| 22 |
s.required_ruby_version = ">= 2.4.0" |
| 23 |
|
| 24 |
s.add_runtime_dependency "logger" |
| 25 |
# Either of rexml and nokogiri is required |
| 26 |
# but AFAIK gemspec cannot express that. |
| 27 |
# Nokogiri is recommended as rexml is dead slow. |
| 28 |
s.add_runtime_dependency "rexml" |
| 29 |
# s.add_runtime_dependency "nokogiri" |
| 30 |
|
| 31 |
# workaround: rubocop-1.0 needs base64 which is no longer in stdlib in newer rubies |
| 32 |
s.add_development_dependency "base64" |
| 33 |
s.add_development_dependency "ostruct" |
| 34 |
s.add_development_dependency "packaging_rake_tasks" |
| 35 |
s.add_development_dependency "rake" |
| 36 |
s.add_development_dependency "rspec", "~> 3" |
| 37 |
s.add_development_dependency "simplecov" |
| 38 |
s.add_development_dependency "simplecov-lcov" |
| 39 |
end |