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
|
|
|
|
|
|
|
|
spec.add_dependency 'rails', '>= 4.2', '< 6'
|
|
|
|
|
|
|
|
spec.add_development_dependency 'database_cleaner'
|
|
|
|
spec.add_development_dependency 'factory_bot_rails'
|
|
|
|
spec.add_development_dependency 'pry-byebug'
|
|
|
|
spec.add_development_dependency 'rspec-rails'
|
|
|
|
spec.add_development_dependency 'rubocop-rspec'
|
|
|
|
spec.add_development_dependency 'shoulda-matchers'
|
|
|
|
spec.add_development_dependency 'sqlite3'
|
|
|
|
end
|