$:.push File.expand_path("../lib", __FILE__)
require "gyoku/version"

Gem::Specification.new do |s|
  s.name        = "gyoku"
  s.version     = Gyoku::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = "Daniel Harrington"
  s.email       = "me@rubiii.com"
  s.homepage    = "https://github.com/savonrb/#{s.name}"
  s.summary     = "Translates Ruby Hashes to XML"
  s.description = "Gyoku translates Ruby Hashes to XML"

  s.rubyforge_project = "gyoku"
  s.license = "MIT"

  s.add_dependency "builder", ">= 2.1.2"

  s.add_development_dependency "rake"
  s.add_development_dependency "rspec"

  s.files         = `git ls-files`.split("\n")
  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"]
end

$:.push File.expand_path("../lib", __FILE__)
require "gyoku/version"

Gem::Specification.new do |s|
  s.name        = "gyoku"
  s.version     = Gyoku::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = "Daniel Harrington"
  s.email       = "me@rubiii.com"
  s.homepage    = "https://github.com/savonrb/#{s.name}"
  s.summary     = "Translates Ruby Hashes to XML"
  s.description = "Gyoku translates Ruby Hashes to XML"

  s.rubyforge_project = "gyoku"
  s.license = "MIT"

  s.add_dependency "builder", ">= 2.1.2"

  if RUBY_VERSION < "1.9"
    s.add_dependency "mime-types", "< 2.0.0"
  end

  s.add_development_dependency "rake"
  s.add_development_dependency "rspec"

  s.files         = `git ls-files`.split("\n")
  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"]
end

Work around ruby 1.8 mimetype conflict
Work around ruby 1.8 mimetype conflict

Thinking we should just drop support entirely since there is a ton of
community outrage around this.
