require File.expand_path('../lib/hashie/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = 'hashie'
  gem.version       = Hashie::VERSION
  gem.authors       = ['Michael Bleigh', 'Jerry Cheung']
  gem.email         = ['michael@intridea.com', 'jollyjerry@gmail.com']
  gem.description   = 'Hashie is a collection of classes and mixins that make hashes more powerful.'
  gem.summary       = 'Your friendly neighborhood hash library.'
  gem.homepage      = 'https://github.com/hashie/hashie'
  gem.license       = 'MIT'

  gem.require_paths = ['lib']
  gem.files = %w[.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE README.md UPGRADING.md]
  gem.files += %w[Rakefile hashie.gemspec]
  gem.files += Dir['lib/**/*.rb']
  gem.files += Dir['spec/**/*.rb']
  gem.test_files = Dir['spec/**/*.rb']

  gem.add_development_dependency 'rake', '< 11'
  gem.add_development_dependency 'rspec', '~> 3.0'
  gem.add_development_dependency 'rspec-pending_for', '~> 0.1'
end

require File.expand_path('../lib/hashie/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = 'hashie'
  gem.version       = Hashie::VERSION
  gem.authors       = ['Michael Bleigh', 'Jerry Cheung']
  gem.email         = ['michael@intridea.com', 'jollyjerry@gmail.com']
  gem.description   = 'Hashie is a collection of classes and mixins that make hashes more powerful.'
  gem.summary       = 'Your friendly neighborhood hash library.'
  gem.homepage      = 'https://github.com/hashie/hashie'
  gem.license       = 'MIT'

  gem.require_paths = ['lib']
  gem.files = %w[.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE README.md UPGRADING.md]
  gem.files += %w[Rakefile hashie.gemspec]
  gem.files += Dir['lib/**/*.rb']
  gem.files += Dir['spec/**/*.rb']
  gem.test_files = Dir['spec/**/*.rb']

  if gem.respond_to?(:metadata)
    gem.metadata = {
      'bug_tracker_uri'   => 'https://github.com/hashie/hashie/issues',
      'changelog_uri'     => 'https://github.com/hashie/hashie/blob/master/CHANGELOG.md',
      'documentation_uri' => 'https://www.rubydoc.info/gems/hashie',
      'source_code_uri'   => 'https://github.com/hashie/hashie'
    }
  end

  gem.add_development_dependency 'rake', '< 11'
  gem.add_development_dependency 'rspec', '~> 3.0'
  gem.add_development_dependency 'rspec-pending_for', '~> 0.1'
end

Adjust URL in gemspec and add metadata URLs
Adjust URL in gemspec and add metadata URLs

RubyGems.org has recently added the capability to have extra metadata
URLs shown on the gem page. These are handy for people who are new to a
gem or need to report an issue.
