avromatic.gemspec in avromatic-1.0.0 vs avromatic.gemspec in avromatic-2.0.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'avromatic/version' Gem::Specification.new do |spec| @@ -16,15 +18,17 @@ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_runtime_dependency 'activemodel', '>= 4.1', '< 5.3' - spec.add_runtime_dependency 'activesupport', '>= 4.1', '< 5.3' + spec.required_ruby_version = '>= 2.3' + + spec.add_runtime_dependency 'activemodel', '>= 5.0', '< 5.3' + spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 5.3' spec.add_runtime_dependency 'avro', '>= 1.7.7' spec.add_runtime_dependency 'avro_schema_registry-client', '>= 0.3.0' spec.add_runtime_dependency 'avro_turf' - spec.add_runtime_dependency 'virtus' + spec.add_runtime_dependency 'ice_nine' spec.add_development_dependency 'avro-builder', '>= 0.12.0' spec.add_development_dependency 'bundler', '~> 1.11' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0'