require File.expand_path('../lib/hutch/version', __FILE__)

Gem::Specification.new do |gem|
  if defined?(JRUBY_VERSION)
    gem.platform = 'java'
    gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
  else
    gem.platform = Gem::Platform::RUBY
    gem.add_runtime_dependency 'bunny', '>= 2.9', '< 2.12'
  end
  gem.add_runtime_dependency 'carrot-top', '~> 0.0.7'
  gem.add_runtime_dependency 'multi_json', '~> 1.12'
  gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 6'

  gem.name = 'hutch'
  gem.summary = 'Easy inter-service communication using RabbitMQ.'
  gem.description = 'Hutch is a Ruby library for enabling asynchronous ' \
                    'inter-service communication using RabbitMQ.'
  gem.version = Hutch::VERSION.dup
  gem.required_ruby_version = '>= 2.2'
  gem.authors = ['Harry Marr']
  gem.email = ['developers@gocardless.com']
  gem.homepage = 'https://github.com/gocardless/hutch'
  gem.require_paths = ['lib']
  gem.license = 'MIT'
  gem.executables = ['hutch']
  gem.files = `git ls-files`.split("\n")
  gem.test_files = `git ls-files -- spec/*`.split("\n")
end

require File.expand_path('../lib/hutch/version', __FILE__)

Gem::Specification.new do |gem|
  if defined?(JRUBY_VERSION)
    gem.platform = 'java'
    gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
  else
    gem.platform = Gem::Platform::RUBY
    gem.add_runtime_dependency 'bunny', '>= 2.9', '< 2.13'
  end
  gem.add_runtime_dependency 'carrot-top', '~> 0.0.7'
  gem.add_runtime_dependency 'multi_json', '~> 1.12'
  gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 6'

  gem.name = 'hutch'
  gem.summary = 'Easy inter-service communication using RabbitMQ.'
  gem.description = 'Hutch is a Ruby library for enabling asynchronous ' \
                    'inter-service communication using RabbitMQ.'
  gem.version = Hutch::VERSION.dup
  gem.required_ruby_version = '>= 2.2'
  gem.authors = ['Harry Marr']
  gem.email = ['developers@gocardless.com']
  gem.homepage = 'https://github.com/gocardless/hutch'
  gem.require_paths = ['lib']
  gem.license = 'MIT'
  gem.executables = ['hutch']
  gem.files = `git ls-files`.split("\n")
  gem.test_files = `git ls-files -- spec/*`.split("\n")
end

Update bunny requirement from < 2.12, >= 2.9 to >= 2.9, < 2.13
Update bunny requirement from < 2.12, >= 2.9 to >= 2.9, < 2.13

Updates the requirements on [bunny](https://github.com/ruby-amqp/bunny) to permit the latest version.
- [Release notes](https://github.com/ruby-amqp/bunny/releases)
- [Changelog](https://github.com/ruby-amqp/bunny/blob/master/ChangeLog.md)
- [Commits](https://github.com/ruby-amqp/bunny/commits/2.12.0)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>