# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'airports/version' Gem::Specification.new do |spec| spec.name = "airports" spec.version = Airports::VERSION spec.authors = ["Tim Rogers"] spec.email = ["me@timrogers.co.uk"] spec.summary = %q{Access data on airports from around the world} spec.description = %q{Access data on airports from around the world} spec.homepage = "https://github.com/timrogers/airports" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } gem_dir = File.expand_path(File.dirname(__FILE__)) + "/" `git submodule --quiet foreach pwd`.split($\).each do |submodule_path| Dir.chdir(submodule_path) do submodule_relative_path = submodule_path.sub gem_dir, "" # issue git ls-files in submodule's directory and # prepend the submodule path to create absolute file paths `git ls-files`.split($\).each do |filename| spec.files << "#{submodule_relative_path}/#{filename}" end end end spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.required_ruby_version = '>= 2.1' spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "rake", "~> 10.0", ">= 10.0" spec.add_development_dependency "rspec", "~> 3.3.0", ">= 3.3.0" spec.add_development_dependency "rspec-its", "~> 1.2.0", ">= 1.2.0" spec.add_development_dependency "pry", "~> 0.10.3", ">= 0.10.3" end