Sha256: a83f0b901f6400749599370f0cda9c2e8bf009310f4984d53af988015be89e46

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 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       = %(activerecord-explainer puts SQL EXPLAIN of every queries to development log)
  s.description   = s.summary
  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.2'
  s.add_dependency 'activesupport', '>= 5.2'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-explainer-0.2.0 activerecord-explainer.gemspec
activerecord-explainer-0.1.0 activerecord-explainer.gemspec