/
pihole-api.gemspec
38 lines (33 loc) · 1.73 KB
/
pihole-api.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pihole-api/version'
Gem::Specification.new do |spec|
spec.name = 'pihole-api'
spec.version = PiholeApi::VERSION
spec.authors = ['trex22']
spec.email = ['contact@jasonchalom.com']
spec.summary = 'A client for using the PiholeApi API in Ruby.'
spec.description = 'A client for using the PiholeApi API in Ruby. Built form their api documentation. https://discourse.pi-hole.net/t/using-the-api/976/6. This is an unofficial project.'
spec.homepage = 'https://github.com/TRex22/pihole-api'
spec.license = 'MIT'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency "httparty", "~> 0.21.0"
spec.add_dependency "active_attr", "~> 0.16.0"
spec.add_dependency "nokogiri", "~> 1.16.0"
# Development dependancies
spec.add_development_dependency "rake", "~> 13.1.0"
spec.add_development_dependency "minitest", "~> 5.21.2"
spec.add_development_dependency "minitest-focus", "~> 1.4.0"
spec.add_development_dependency "minitest-reporters", "~> 1.6.1"
spec.add_development_dependency "timecop", "~> 0.9.8"
spec.add_development_dependency "mocha", "~> 2.1.0"
spec.add_development_dependency "pry", "~> 0.14.2"
spec.add_development_dependency "webmock", "~> 3.19.1"
end