Sha256: 572c0e11d202595c15ebea70872680cf0c6bb454ee38ebd00012b9ac90336b9e

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

Gem::Specification.new do |spec|
  spec.name = "active_record_query_counter"
  spec.version = File.read(File.expand_path("../VERSION", __FILE__)).strip
  spec.authors = ["Brian Durand"]
  spec.email = ["bbdurand@gmail.com"]

  spec.summary = "Count total number of ActiveRecord queries and row counts inside a block"
  spec.homepage = "https://github.com/bdurand/active_record_query_counter"
  spec.license = "MIT"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  ignore_files = %w[
    .
    Appraisals
    Gemfile
    Gemfile.lock
    Rakefile
    config.ru
    assets/
    bin/
    gemfiles/
    spec/
  ]
  spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
  end

  spec.require_paths = ["lib"]

  spec.add_dependency "activerecord", ">= 5.0"

  spec.add_development_dependency "bundler"

  spec.required_ruby_version = ">= 2.5"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record_query_counter-2.0.0 active_record_query_counter.gemspec