2017-10-30 01:44:23 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
|
|
|
|
require 'rating/version'
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.author = 'Washington Botelho'
|
2017-11-02 18:55:46 +00:00
|
|
|
spec.description = 'A true Bayesian rating system with scope and cache enabled.'
|
2017-10-30 01:44:23 +00:00
|
|
|
spec.email = 'wbotelhos@gmail.com'
|
|
|
|
spec.files = Dir['lib/**/*'] + %w[CHANGELOG.md LICENSE README.md]
|
|
|
|
spec.homepage = 'https://github.com/wbotelhos/rating'
|
|
|
|
spec.license = 'MIT'
|
|
|
|
spec.name = 'rating'
|
|
|
|
spec.platform = Gem::Platform::RUBY
|
2017-11-02 18:55:46 +00:00
|
|
|
spec.summary = 'A true Bayesian rating system with scope and cache enabled.'
|
2017-10-30 01:44:23 +00:00
|
|
|
spec.test_files = Dir['spec/**/*']
|
|
|
|
spec.version = Rating::VERSION
|
|
|
|
|
2018-01-22 04:31:22 +00:00
|
|
|
spec.add_dependency 'activerecord', '>= 4.2', '< 6'
|
2017-10-30 01:44:23 +00:00
|
|
|
|
|
|
|
spec.add_development_dependency 'database_cleaner'
|
|
|
|
spec.add_development_dependency 'factory_bot_rails'
|
2018-02-06 19:56:23 +00:00
|
|
|
spec.add_development_dependency 'mysql2'
|
2017-10-30 01:44:23 +00:00
|
|
|
spec.add_development_dependency 'pry-byebug'
|
|
|
|
spec.add_development_dependency 'rspec-rails'
|
2019-10-03 22:06:28 +00:00
|
|
|
spec.add_development_dependency 'rubocop-performance'
|
2017-10-30 01:44:23 +00:00
|
|
|
spec.add_development_dependency 'rubocop-rspec'
|
|
|
|
spec.add_development_dependency 'shoulda-matchers'
|
|
|
|
end
|