# encoding: utf-8 lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "tracking_number/version" Gem::Specification.new do |s| s.name = %q{tracking_number} s.version = TrackingNumber::VERSION s.platform = Gem::Platform::RUBY s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Jeff Keen"] s.description = %q{This gem identifies valid tracking numbers and the service they're associated with. It can also tell you a little bit about the package purely from the number—there's quite a bit of info tucked away into those numbers, it turns out.} s.email = %q{jeff@keen.me} s.extra_rdoc_files = [ "LICENSE.txt", ] s.files = `git ls-files`.split("\n") gem_dir = File.expand_path(File.dirname(__FILE__)) + "/" `git submodule --quiet foreach pwd`.split($\).each do |submodule_path| Dir.chdir(submodule_path.chomp) 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 -- couriers/*`.split($\).each do |filename| s.files << "#{submodule_relative_path}/#{filename}" end end end 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"] s.homepage = %q{http://github.com/jkeen/tracking_number} s.licenses = ["MIT"] s.rubygems_version = %q{1.7.2} s.summary = %q{Identifies valid tracking numbers} s.add_runtime_dependency('activesupport', '>= 4.2.5') s.add_development_dependency('activemodel', '~> 4.2.5.1') s.add_development_dependency('rake', '~> 10.4.2') s.add_development_dependency('shoulda') s.add_development_dependency('minitest-reporters', '~> 1.1') s.add_development_dependency('simplecov') s.add_development_dependency('minitest','~> 5.5') s.add_development_dependency('terminal-table') end