-
Notifications
You must be signed in to change notification settings - Fork 10
/
easy_upnp.gemspec
34 lines (24 loc) · 944 Bytes
/
easy_upnp.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
$:.push File.expand_path('../lib', __FILE__)
require "easy_upnp/version"
Gem::Specification.new do |gem|
gem.name = 'easy_upnp'
gem.version = EasyUpnp::VERSION
gem.summary = "A super easy to use UPnP control point client"
gem.authors = ['Christopher Mullins']
gem.email = '[email protected]'
gem.homepage = 'http://github.com/sidoh/easy_upnp'
gem.add_dependency 'rake'
gem.add_dependency 'savon', '~> 2.11'
gem.add_dependency 'nokogiri', '~> 1.8'
gem.add_dependency 'nori', '~> 2.6'
gem.add_dependency 'rubyntlm', '~> 0.3'
gem.required_ruby_version = '>= 2.1.0'
ignores = File.readlines(".gitignore").grep(/\S+/).map(&:chomp)
dotfiles = %w[.gitignore]
all_files_without_ignores = Dir["**/*"].reject { |f|
File.directory?(f) || ignores.any? { |i| File.fnmatch(i, f) }
}
gem.files = (all_files_without_ignores + dotfiles).sort
gem.executables = ["upnp-list"]
gem.require_path = "lib"
end