bih/spotify-ruby

View on GitHub
spotify-ruby.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "spotify/version"

Gem::Specification.new do |spec|
  spec.name          = "spotify-ruby"
  spec.version       = Spotify::VERSION
  spec.authors       = ["Bilawal Hameed"]
  spec.email         = ["bil@spotify.com"]

  spec.summary       = "The developer-friendly, opinionated Ruby SDK for Spotify."
  spec.description   = [
    "Build integrations with the different Spotify APIs",
    "inside of your application.",
    "For more information, visit https://developer.spotify.com"
  ].join(" ")
  spec.homepage      = "https://bih.github.io/spotify-ruby"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(assets|bin|coverage|doc|docs|html|examples|test|spec|features)/})
  end

  spec.metadata["yard.run"] = "yri"

  # We don't support executables just yet. Comment this out if you're building one.
  # spec.bindir        = "exe"
  # spec.executables   = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
  # spec.require_paths = ["lib"]

  # Tooling
  spec.add_development_dependency "bundler", "~> 2.1.4", ">= 2.1.4"
  spec.add_development_dependency "rake", "~> 12.1"

  # Testing
  spec.add_development_dependency "climate_control", "~> 0.2"
  spec.add_development_dependency "factory_bot", "~> 5.0.0"
  spec.add_development_dependency "rspec", "~> 3.8"
  spec.add_development_dependency "rspec-collection_matchers", "~> 1.1", ">= 1.1.2"
  spec.add_development_dependency "rubocop", "~> 0.71.0"
  spec.add_development_dependency "simplecov"
  spec.add_development_dependency "webmock", "~> 3.6"

  # Developer Productivity
  spec.add_development_dependency "pry", "~> 0.12"

  # Documentation
  spec.add_development_dependency "yard"
  spec.add_development_dependency "yard-api"

  # Runtime Dependencies
  spec.add_runtime_dependency "activesupport", "~> 5.2.3"
  spec.add_runtime_dependency "httparty", ">= 0.15.6", "< 0.18"
end