# -*- encoding: utf-8 -*- $:.push File.expand_path('../lib', __FILE__) require 'middleman-pagegroups/version' # We should work with any 4.3.x version of Middleman, but due to #2319, # automatic image alt attributes have been removed from Middleman, so # I'm adjusting the minimum requirement to the first release incorporating # that change. mm_needed = ['~> 4.3.0', '>= 4.3.7'] # We should work with any 2.0 version of Ruby, but I'm no longer testing them # for regressions. Version 2.6.0 goes back to December 2018, and is a suitable # minimum version. # # Currently no released version of Middleman works with Ruby 3, so until that is # resolved, We will only support 2.6 up to and not including Ruby 3.0. rb_needed = ['~> 2.0', '>= 2.6'] Gem::Specification.new do |s| s.name = 'middleman-pagegroups' s.version = Middleman::MiddlemanPageGroups::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Jim Derry'] s.email = ['balthisar@gmail.com'] s.homepage = 'https://github.com/middlemac/middleman-pagegroups' s.summary = 'Provides logical page groups and easy navigation for Middleman projects.' s.description = 'Provides logical page groups and easy navigation for Middleman projects.' s.license = 'MIT' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ['lib'] # The version of middleman-core your extension depends on s.add_runtime_dependency('middleman-core', mm_needed) # Additional dependencies s.add_runtime_dependency('middleman-cli', mm_needed) # Development dependencies s.add_development_dependency 'middleman', mm_needed s.add_development_dependency 'bundler', '>= 1.6' s.add_development_dependency 'rake', '>= 10.3' s.add_development_dependency 'git' s.add_development_dependency 'capybara', ['~> 2.5.0'] end