Sha256: 84dd2166cee894d65655e5376865e83b690864c8c50f980e666b48c9d45e4e15

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 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[
    .gitignore
    .travis.yml
    Appraisals
    Gemfile
    Gemfile.lock
    Rakefile
    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", ">= 4.2"

  spec.add_development_dependency "bundler", "~>2.0"
  spec.add_development_dependency "rspec", ["~> 3.0"]
  spec.add_development_dependency "sqlite3"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_record_query_counter-1.1.1 active_record_query_counter.gemspec
active_record_query_counter-1.1.0 active_record_query_counter.gemspec