karafka.gemspec in karafka-1.4.15 vs karafka.gemspec in karafka-2.0.0.alpha1

- old
+ new

@@ -3,50 +3,40 @@ lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'karafka/version' -# rubocop:disable Metrics/BlockLength Gem::Specification.new do |spec| spec.name = 'karafka' spec.version = ::Karafka::VERSION spec.platform = Gem::Platform::RUBY - spec.authors = ['Maciej Mensfeld', 'Pavlo Vavruk', 'Adam Gwozdowski'] - spec.email = %w[maciej@mensfeld.pl pavlo.vavruk@gmail.com adam99g@gmail.com] + spec.authors = ['Maciej Mensfeld'] + spec.email = %w[maciej@mensfeld.pl] spec.homepage = 'https://karafka.io' spec.summary = 'Ruby based framework for working with Apache Kafka' spec.description = 'Framework used to simplify Apache Kafka based Ruby applications development' - spec.license = 'MIT' + spec.license = 'LGPL-3.0' - spec.add_dependency 'concurrent-ruby' - spec.add_dependency 'dry-configurable', '~> 0.16' - spec.add_dependency 'dry-inflector', '~> 0.2' + spec.add_dependency 'dry-configurable', '~> 0.13' spec.add_dependency 'dry-monitor', '~> 0.5' spec.add_dependency 'dry-validation', '~> 1.7' - spec.add_dependency 'envlogic', '~> 1.1' - spec.add_dependency 'ruby-kafka', '>= 1.3.0' - spec.add_dependency 'thor', '>= 1.1' - spec.add_dependency 'waterdrop', '~> 1.4' - spec.add_dependency 'zeitwerk', '~> 2.6' + spec.add_dependency 'rdkafka', '>= 0.10' + spec.add_dependency 'thor', '>= 0.20' + spec.add_dependency 'waterdrop', '>= 2.1.0', '< 3.0.0' + spec.add_dependency 'zeitwerk', '~> 2.3' - spec.required_ruby_version = '>= 2.7' + spec.required_ruby_version = '>= 2.6.0' if $PROGRAM_NAME.end_with?('gem') spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') end spec.cert_chain = %w[certs/mensfeld.pem] spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) } - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.executables = %w[karafka] spec.require_paths = %w[lib] - spec.post_install_message = <<~MSG - WARN: Karafka 1.4 will reach the end of life soon. - We highly recommend updating to Karafka 2.0. - Visit this page for more details: https://karafka.io/docs/Versions-Lifecycle-and-EOL - MSG spec.metadata = { 'source_code_uri' => 'https://github.com/karafka/karafka', 'rubygems_mfa_required' => 'true' } end -# rubocop:enable Metrics/BlockLength