mirego/partisan

View on GitHub
partisan.gemspec

Summary

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

Gem::Specification.new do |spec|
  spec.name          = 'partisan'
  spec.version       = Partisan::VERSION
  spec.authors       = ['Simon Prévost', 'Rémi Prévost']
  spec.email         = ['sprevost@mirego.com', 'rprevost@mirego.com']
  spec.description   = 'Partisan is a Ruby library that allows ActiveRecord records to be follower and followable, just like on popular social networks. It’s heavily inspired by acts_as_follower which is no longer maintained.'
  spec.summary       = 'Partisan is a Ruby library that allows ActiveRecord records to be follower and followable'
  spec.homepage      = 'https://github.com/mirego/partisan'
  spec.license       = 'BSD 3-Clause'

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

  spec.add_dependency 'activerecord', '>= 5.0.0'

  spec.add_development_dependency 'bundler', '~> 1.3'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec', '~> 3.1'
  spec.add_development_dependency 'sqlite3'
end