Sha256: 2763256c34a84a0e6c3ec746d1fbe30bbcfb26140cb69bb782223637f6fcb996

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

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

Gem::Specification.new do |gem|
  gem.name          = "dase"
  gem.version       = Dase::VERSION
  gem.authors       = ["Vladimir Yartsev"]
  gem.licenses      = ["MIT"]
  gem.email         = ["vovayartsev@gmail.com"]
  gem.description   = %q{includes_count_of method on ActiveRecord::Relation to solve N+1 query problem when counting associated records }
  gem.summary       = %q{Provides includes_count_of method on ActiveRecord::Relation to count associated records efficiently}
  gem.homepage      = "https://github.com/vovayartsev/dase"

  gem.add_runtime_dependency "activesupport", "~> 5.0", '<5.1.4'

  if defined? JRUBY_VERSION
    gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
  else
    gem.add_runtime_dependency 'activerecord', "~> 5.0", '<5.1.4'
    gem.add_development_dependency 'sqlite3', '~> 1.3'
  end

  # gem.add_development_dependency 'pry'
  gem.add_development_dependency 'rake', '~> 10.3'
  gem.add_development_dependency 'rspec-core', '~> 3.1'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dase-5.0.0 dase.gemspec