# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'rails/rfc6570/version' Gem::Specification.new do |spec| spec.name = 'rails-rfc6570' spec.version = Rails::RFC6570::VERSION spec.authors = ['Jan Graichen'] spec.email = ['jgraichen@altimos.de'] spec.summary = 'Pragmatical access to your Rails routes as ' \ 'RFC6570 URI templates.' spec.homepage = 'https://github.com/jgraichen/rails-rfc6570' spec.license = 'MIT' spec.metadata = { 'rubygems_mfa_required' => 'true', } spec.files = Dir['**/*'].grep(%r{^( (bin|lib|test|spec|features)/| (.*\.gemspec|.*LICENSE.*|.*README.*|.*CHANGELOG.*) )}x) spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) } spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.7' spec.add_dependency 'actionpack', '>= 4.2', '< 8.1' spec.add_dependency 'addressable', '~> 2.3' end