up: gemspec
parent
267bd1948b
commit
5e23b3b06b
|
@ -1,23 +1,19 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
lib = File.expand_path('lib', __dir__)
|
require_relative 'lib/rating/version'
|
||||||
|
|
||||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
||||||
|
|
||||||
require 'rating/version'
|
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.author = 'Washington Botelho'
|
spec.author = 'Washington Botelho'
|
||||||
spec.description = 'A true Bayesian rating system with scope and cache enabled.'
|
spec.description = 'A true Bayesian rating system with scope and cache enabled.'
|
||||||
spec.email = 'wbotelhos@gmail.com'
|
spec.email = 'wbotelhos@gmail.com'
|
||||||
spec.files = Dir['lib/**/*'] + %w[CHANGELOG.md LICENSE README.md]
|
spec.extra_rdoc_files = Dir['CHANGELOG.md', 'LICENSE', 'README.md']
|
||||||
spec.homepage = 'https://github.com/wbotelhos/rating'
|
spec.files = `git ls-files lib`.split("\n")
|
||||||
spec.license = 'MIT'
|
spec.homepage = 'https://github.com/wbotelhos/rating'
|
||||||
spec.name = 'rating'
|
spec.license = 'MIT'
|
||||||
spec.platform = Gem::Platform::RUBY
|
spec.name = 'rating'
|
||||||
spec.summary = 'A true Bayesian rating system with scope and cache enabled.'
|
spec.summary = 'A true Bayesian rating system with scope and cache enabled.'
|
||||||
spec.test_files = Dir['spec/**/*']
|
spec.test_files = Dir['spec/**/*']
|
||||||
spec.version = Rating::VERSION
|
spec.version = Rating::VERSION
|
||||||
|
|
||||||
spec.add_dependency 'activerecord'
|
spec.add_dependency 'activerecord'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue