middleman-pagegroups.gemspec in middleman-pagegroups-1.0.2 vs middleman-pagegroups.gemspec in middleman-pagegroups-1.0.3

- old
+ new

@@ -1,9 +1,11 @@ # -*- encoding: utf-8 -*- $:.push File.expand_path('../lib', __FILE__) require 'middleman-pagegroups/version' +mm_needed = ['~> 4.1', '>= 4.1.7'] + Gem::Specification.new do |s| s.name = 'middleman-pagegroups' s.version = Middleman::MiddlemanPageGroups::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Jim Derry'] @@ -17,10 +19,16 @@ 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', ['~> 4.1', '>= 4.1.6']) + s.add_runtime_dependency('middleman-core', mm_needed) # Additional dependencies - s.add_runtime_dependency('middleman-cli', ['~> 4.1', '>= 4.1.6']) + 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' end