Sha256: 629c03444496c1b0655fa8fb7acdefc8cce4fb96e3d17c29b90d16976022ca1f

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 KB

Contents

$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "advanced_connection/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
  spec.name        = "advanced_connection"
  spec.version     = AdvancedConnection::VERSION
  spec.authors     = ["Carl P. Corliss"]
  spec.email       = ["carl.corliss@finalsite.com"]
  spec.homepage    = "https://github.com/finalsite/advanced_connection"
  spec.summary     = "Provides advanced connection options for rails connection pools"
  spec.description = "Adds idle connection management, statement pooling, and other advanced connection features"
  spec.license     = "LGPL"

  spec.files = `git ls-files`.split($/)
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  # eventually support this:
  # spec.required_engine_version = {
  #   :ruby     => '~> 2.0',
  #   :jruby    => '~> 1.7',
  # }

  spec.add_runtime_dependency "rails",         ">= 4.1.0", "< 5.0"
  spec.add_runtime_dependency "activerecord",  ">= 4.1.0", "< 5.0"
  spec.add_runtime_dependency "activesupport", ">= 4.1.0", "< 5.0"

  spec.add_development_dependency "rake",      '~> 10.5'
  spec.add_development_dependency "rack",      '~> 1.6'
  spec.add_development_dependency "rspec",     '~> 3.4'
  spec.add_development_dependency "rspec-its", '~> 1.2'
  spec.add_development_dependency "rspec-collection_matchers", '~> 1.1'

  # optional dependencies
  if RUBY_ENGINE == 'jruby'
    spec.add_development_dependency "activerecord-jdbcpostgresql-adapter", "~> 1.3"
  else
    spec.add_development_dependency "pg",      "~> 0.18"
    spec.add_development_dependency "pry",     '~> 0.10'
    spec.add_development_dependency "pry-nav", '~> 0.2'
  end

  spec.add_development_dependency "guard-rspec", '~> 4.6'
  spec.add_development_dependency "coveralls",   '~> 0.8'
  spec.add_development_dependency 'copyright-header', '= 1.0.15'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
advanced_connection-0.5.1 advanced_connection.gemspec