hanami-assets.gemspec in hanami-assets-1.3.5 vs hanami-assets.gemspec in hanami-assets-2.1.0.beta2

- old
+ new

@@ -1,40 +1,33 @@ -# coding: utf-8 +# frozen_string_literal: true -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'hanami/assets/version' +require "hanami/assets/version" Gem::Specification.new do |spec| - spec.name = 'hanami-assets' + spec.name = "hanami-assets" spec.version = Hanami::Assets::VERSION - spec.authors = ['Luca Guidi'] - spec.email = ['me@lucaguidi.com'] - spec.summary = 'Assets management' - spec.description = 'Assets management for Ruby web applications' - spec.homepage = 'http://hanamirb.org' - spec.license = 'MIT' + spec.authors = ["Luca Guidi"] + spec.email = ["me@lucaguidi.com"] + spec.summary = "Assets management" + spec.description = "Assets management for Ruby web applications" + spec.homepage = "http://hanamirb.org" + spec.license = "MIT" - spec.files = `git ls-files -- lib/* bin/* CHANGELOG.md LICENSE.md README.md hanami-assets.gemspec`.split($/) # rubocop:disable Style/SpecialGlobalVars + spec.files = `git ls-files -- lib/* bin/* CHANGELOG.md LICENSE.md README.md hanami-assets.gemspec`.split($/) 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.metadata["rubygems_mfa_required"] = "true" + spec.required_ruby_version = ">= 3.0" - spec.add_runtime_dependency 'hanami-utils', '~> 1.3' - spec.add_runtime_dependency 'hanami-helpers', '~> 1.3' - spec.add_runtime_dependency 'tilt', '~> 2.0', '>= 2.0.2' + spec.add_runtime_dependency "zeitwerk", "~> 2.6" - spec.add_development_dependency 'bundler', '>= 1.6', '< 3' - spec.add_development_dependency 'rake', '~> 12.0' - spec.add_development_dependency 'rspec', '~> 3.7' - - spec.add_development_dependency 'yui-compressor', '~> 0.12' - spec.add_development_dependency 'uglifier', '~> 2.7' - spec.add_development_dependency 'closure-compiler', '~> 1.1' - spec.add_development_dependency 'sassc', '~> 2.0' - - spec.add_development_dependency 'coffee-script', '~> 2.3' - spec.add_development_dependency 'babel-transpiler', '~> 0.7' - - spec.add_development_dependency 'rubocop', '0.81' + spec.add_development_dependency "bundler", ">= 1.6", "< 3" + spec.add_development_dependency "rake", "~> 13" + spec.add_development_dependency "rspec", "~> 3.9" + spec.add_development_dependency "rubocop", "~> 1.0" + spec.add_development_dependency "rack", "~> 2.2" + spec.add_development_dependency "rack-test", "~> 1.1" + spec.add_development_dependency "dry-configurable", "~> 1.1" + spec.add_development_dependency "dry-inflector", "~> 1.0" end