hanami-model.gemspec in hanami-model-1.3.2 vs hanami-model.gemspec in hanami-model-1.3.3

- old
+ new

@@ -1,32 +1,36 @@ -lib = File.expand_path('../lib', __FILE__) +# frozen_string_literal: true + +lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'hanami/model/version' +require "hanami/model/version" Gem::Specification.new do |spec| - spec.name = 'hanami-model' + spec.name = "hanami-model" spec.version = Hanami::Model::VERSION - spec.authors = ['Luca Guidi'] - spec.email = ['me@lucaguidi.com'] - spec.summary = 'A persistence layer for Hanami' - spec.description = 'A persistence framework with entities and repositories' - spec.homepage = 'http://hanamirb.org' - spec.license = 'MIT' + spec.authors = ["Luca Guidi"] + spec.email = ["me@lucaguidi.com"] + spec.summary = "A persistence layer for Hanami" + spec.description = "A persistence framework with entities and repositories" + spec.homepage = "http://hanamirb.org" + spec.license = "MIT" spec.files = `git ls-files -z -- lib/* CHANGELOG.md EXAMPLE.md LICENSE.md README.md hanami-model.gemspec`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) - spec.require_paths = ['lib'] - spec.required_ruby_version = '>= 2.3.0' + spec.require_paths = ["lib"] + spec.required_ruby_version = ">= 2.3.0", "< 3" - spec.add_runtime_dependency 'hanami-utils', '~> 1.3' - spec.add_runtime_dependency 'rom', '~> 3.3', '>= 3.3.3' - spec.add_runtime_dependency 'rom-sql', '~> 1.3', '>= 1.3.5' - spec.add_runtime_dependency 'rom-repository', '~> 1.4' - spec.add_runtime_dependency 'dry-types', '~> 0.11.0' - spec.add_runtime_dependency 'dry-logic', '~> 0.4.2', '< 0.5' - spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0' + spec.add_runtime_dependency "hanami-utils", "~> 1.3" + spec.add_runtime_dependency "rom", "~> 3.3", ">= 3.3.3" + spec.add_runtime_dependency "rom-sql", "~> 1.3", ">= 1.3.5" + spec.add_runtime_dependency "rom-repository", "~> 1.4" + spec.add_runtime_dependency "dry-types", "~> 0.11.0" + spec.add_runtime_dependency "dry-logic", "~> 0.4.2", "< 0.5" + spec.add_runtime_dependency "concurrent-ruby", "~> 1.0" + spec.add_runtime_dependency "bigdecimal", "~> 1.4" - spec.add_development_dependency 'bundler', '>= 1.6', '< 3' - spec.add_development_dependency 'rake', '~> 12' - spec.add_development_dependency 'rspec', '~> 3.7' + spec.add_development_dependency "bundler", ">= 1.6", "< 3" + spec.add_development_dependency "rake", "~> 12" + spec.add_development_dependency "rspec", "~> 3.7" + spec.add_development_dependency "rubocop", "0.81" # rubocop 0.81+ removed support for Ruby 2.3 end