Sha256: 29a8d882445e73d28d73c3cf2e48b2a1b16adc9642b46bf9b7711566994a2a5a

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

require_relative 'lib/pgb_connection_reaper_rb/version'

Gem::Specification.new do |spec|
  spec.name          = 'pgb_connection_reaper_rb'
  spec.version       = PgbConnectionReaperRb::VERSION
  spec.authors       = ['Anton Borisov']
  spec.email         = ['anton.borisov@fresha.com']

  spec.summary       = 'Gem for forcing cycling disconnections for Rails connections to PGBouncer'
  spec.homepage      = 'https://github.com/surgeventures/pgb_connection_reaper_rb'
  spec.license       = 'MIT'
  spec.required_ruby_version = '>= 2.5.0'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = 'https://github.com/surgeventures/pgb_connection_reaper_rb'

  # 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.
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end

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

  spec.add_dependency 'activerecord', '>= 4.2'
  spec.add_dependency 'activesupport', '>= 4.2'
  spec.add_development_dependency 'rspec', '~> 3.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pgb_connection_reaper_rb-0.1.1 pgb_connection_reaper_rb.gemspec
pgb_connection_reaper_rb-0.1.0 pgb_connection_reaper_rb.gemspec