Sha256: 1a8cd54804a1ef9b0527345ccf6c17ce74dd251870bcd304213d6eb18ccaed40

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('./lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'activerecord/explainer/version'

Gem::Specification.new do |s|
  s.name          = 'activerecord-explainer'
  s.version       = ActiveRecord::Explainer::VERSION
  s.authors       = ['Yoshiyuki Hirano']
  s.email         = ['yhirano@me.com']
  s.homepage      = 'https://github.com/yhirano55/activerecord-explainer'
  s.summary       = %(This gem automatically logs SQL EXPLAIN of every queries)
  s.description   = %(This gem automatically logs SQL EXPLAIN of every queries. You can check naturally every SQL EXPLAIN from development log, without manually executions.)
  s.license       = 'MIT'
  s.files         = Dir.chdir(File.expand_path('.', __dir__)) do
    `git ls-files -z`.split("\x0").reject do |f|
      f.match(%r{^(test|spec|features|images)/})
    end
  end

  s.bindir        = 'exe'
  s.executables   = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
  s.require_paths = ['lib']

  s.required_ruby_version = '>= 2.2.2'
  s.required_rubygems_version = '>= 1.8.11'

  s.add_dependency 'activerecord', '>= 5.1'
  s.add_dependency 'activesupport', '>= 5.1'

  s.add_development_dependency 'bundler', '~> 2.0'
  s.add_development_dependency 'rake', '~> 13.0'
  s.add_development_dependency 'rspec', '~> 3.0'
  s.add_development_dependency 'sqlite3'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-explainer-0.2.4 activerecord-explainer.gemspec