# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'similar_models/version'

Gem::Specification.new do |spec|
  spec.name          = "similar_models"
  spec.version       = SimilarModels::VERSION
  spec.authors       = ["Jolyon Pawlyn"]
  spec.email         = ["jpawlyn@gmail.com"]
  spec.description   = %q{Adds an instance method to an active record model that returns the most similar models based on associated models in common}
  spec.summary       = %q{Returns models that have the most associated models in common}
  spec.homepage      = "https://github.com/jpawlyn/similar_models"
  spec.license       = "MIT"

  spec.files         = `git ls-files`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.required_ruby_version     = '>= 2.1'
  spec.add_runtime_dependency     'activerecord', '>= 4.2'
  spec.add_development_dependency 'bundler', '~> 1.16'
  spec.add_development_dependency 'rspec', '~> 3.5'
  spec.add_development_dependency 'database_cleaner', '~>1.5'
  spec.add_development_dependency 'sqlite3', '~>1.3'
  spec.add_development_dependency 'mysql2', '~>0.5'
  spec.add_development_dependency 'pg', '~>1.0'
  spec.add_development_dependency 'byebug', '~>9.0'
end
