# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
  s.name          = "fluent-plugin-elasticsearch"
  s.version       = '0.2.0'
  s.authors       = ["diogo", 'pitr']
  s.email         = ["team@uken.com"]
  s.description   = %q{ElasticSearch output plugin for Fluent event collector}
  s.summary       = s.description
  s.homepage      = "https://github.com/uken/fluent-plugin-elasticsearch"
  s.license       = 'MIT'

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

  s.add_runtime_dependency "fluentd"
  s.add_runtime_dependency "typhoeus"
  s.add_runtime_dependency "elasticsearch"

  s.add_development_dependency "rake"
  s.add_development_dependency "webmock"
end

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
  s.name          = "fluent-plugin-elasticsearch"
  s.version       = '0.2.0'
  s.authors       = ["diogo", 'pitr']
  s.email         = ["team@uken.com"]
  s.description   = %q{ElasticSearch output plugin for Fluent event collector}
  s.summary       = s.description
  s.homepage      = "https://github.com/uken/fluent-plugin-elasticsearch"
  s.license       = 'MIT'

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

  s.add_runtime_dependency "fluentd"
  s.add_runtime_dependency "patron"
  s.add_runtime_dependency "elasticsearch"

  s.add_development_dependency "rake"
  s.add_development_dependency "webmock"
end

Fix bug in adding runtime dependency
Fix bug in adding runtime dependency

* it uses patron, not typhoeus
