File: equatable.gemspec

package info (click to toggle)
ruby-equatable 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: ruby: 398; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 1,371 bytes parent folder | download
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
# frozen_string_literal: true

require_relative "lib/equatable/version"

Gem::Specification.new do |spec|
  spec.name          = "equatable"
  spec.version       = Equatable::VERSION
  spec.authors       = ["Piotr Murach"]
  spec.email         = ["piotr@piotrmurach.com"]
  spec.summary       = %q{Provide equality comparison methods for objects based on their attributes.}
  spec.description   = %q{Provide equality comparison methods for objects based on their attributes by generating implementations for the ==, eql?, hash and inspect methods.}
  spec.homepage      = "https://github.com/piotrmurach/equatable"
  spec.license       = "MIT"
  if spec.respond_to?(:metadata=)
    spec.metadata = {
      "allowed_push_host" => "https://rubygems.org",
      "bug_tracker_uri"   => "#{spec.homepage}/issues",
      "changelog_uri"     => "#{spec.homepage}/blob/master/CHANGELOG.md",
      "documentation_uri" => "https://www.rubydoc.info/github/piotrmurach/equatable",
      "homepage_uri"      => spec.homepage,
      "source_code_uri"   => spec.homepage
    }
  end
  spec.files         = Dir["lib/**/*"]
  spec.extra_rdoc_files = ["README.md", "CHANGELOG.md", "LICENSE.txt"]
  spec.require_paths = ["lib"]
  spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0")

  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec", ">= 3.0"
end