Sha256: 8da4a5fa000597f3c02ab7022b8838932167cb0808947b4fbcc67a759989e1de

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 KB

Contents

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.15.4"
  spec.add_dependency "nokogiri", "~> 1.14.0"

  # Development dependancies
  spec.add_development_dependency "rake", "~> 13.0.6"
  spec.add_development_dependency "minitest", "~> 5.17.0"
  spec.add_development_dependency "minitest-focus", "~> 1.3.1"
  spec.add_development_dependency "minitest-reporters", "~> 1.5.0"
  spec.add_development_dependency "timecop", "~> 0.9.6"
  spec.add_development_dependency "mocha", "~> 2.0.2"
  spec.add_development_dependency "pry", "~> 0.14.2"
  spec.add_development_dependency "webmock", "~> 3.18.1"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pihole-api-0.0.2 pihole-api.gemspec
pihole-api-0.0.1 pihole-api.gemspec