# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'has_breadcrumb/version'

Gem::Specification.new do |gem|
  gem.name          = "has_breadcrumb"
  gem.version       = HasBreadcrumb::VERSION
  gem.authors       = ["Tim Harvey", "Matt Outten"]
  gem.email         = ["developers@squaremouth.com"]
  gem.description   = %q{Provide breadcrumb links.}
  gem.summary       = %q{Provide links for the current page in a breadcrumb format.}
  gem.homepage      = ""

  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

  gem.add_dependency 'activerecord', ['>= 3.0', '< 5.0']
  gem.add_dependency 'activesupport', ['>= 3.0', '< 5.0']

  gem.add_development_dependency 'rspec-rails'
  gem.add_development_dependency 'sqlite3'
end

# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'has_breadcrumb/version'

Gem::Specification.new do |gem|
  gem.name          = "has_breadcrumb"
  gem.version       = HasBreadcrumb::VERSION
  gem.authors       = ["Tim Harvey", "Matt Outten"]
  gem.email         = ["developers@squaremouth.com"]
  gem.description   = %q{Provides a simple and flexible way to create breadcrumbs with Rails active record models.}
  gem.summary       = %q{Setting has_breadcrumb on a model will enable a view method, breadcrumb(), which will show the links to the page and its parents in a breadcrumb format.}
  gem.homepage      = "https://github.com/sqm/has_breadcrumb"

  gem.files         = `git ls-files`.split($/)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.require_paths = ["lib"]

  gem.add_dependency 'activerecord', ['>= 3.0', '< 5.0']
  gem.add_dependency 'activesupport', ['>= 3.0', '< 5.0']

  gem.add_development_dependency 'rspec-rails', '~> 2.13'
  gem.add_development_dependency 'sqlite3', '~> 1.3'
end

Add gem dependencies and meta info to gemspec
Add gem dependencies and meta info to gemspec

This commit adds semantic versions to the rails-spec
and sqlite3 gems.  Also added was a home page pointed to the
gem source code hosted at Github.com.  Lastly, the description and
summary was improved to be more descriptive of the gem and what it does.

This commit was in response to warnings encountered during the gem build
process.
