Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #15 from richm/support-fluentd1-and-fluentd012
Browse files Browse the repository at this point in the history
support fluentd 1 and fluentd 0.12
  • Loading branch information
richm authored Sep 20, 2018
2 parents 3b34f58 + 65f7f4e commit 14857fd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions fluent-plugin-viaq_data_model.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

# can override for testing
FLUENTD_VERSION = ENV['FLUENTD_VERSION'] || "1"

Gem::Specification.new do |gem|
gem.name = "fluent-plugin-viaq_data_model"
gem.version = "0.0.16"
gem.version = "0.0.17"
gem.authors = ["Rich Megginson"]
gem.email = ["[email protected]"]
gem.description = %q{Filter plugin to ensure data is in the ViaQ common data model}
Expand All @@ -23,10 +20,18 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = '>= 2.0.0'

gem.add_runtime_dependency "fluentd", "~> #{FLUENTD_VERSION}"
if ENV['FLUENTD_VERSION']
gem.add_runtime_dependency "fluentd", "~> #{ENV['FLUENTD_VERSION']}"
else
gem.add_runtime_dependency "fluentd", ">= 0.12.0"
end

gem.add_development_dependency "bundler"
gem.add_development_dependency("fluentd", "~> #{FLUENTD_VERSION}")
if ENV['FLUENTD_VERSION']
gem.add_development_dependency("fluentd", "~> #{ENV['FLUENTD_VERSION']}")
else
gem.add_development_dependency("fluentd", ">= 0.12.0")
end
gem.add_development_dependency("rake", ["~> 11.0"])
gem.add_development_dependency("rr", ["~> 1.0"])
gem.add_development_dependency("test-unit", ["~> 3.2"])
Expand Down

0 comments on commit 14857fd

Please sign in to comment.