mikebski/logstash-filter-datepart

View on GitHub
logstash-filter-dateparts.gemspec

Summary

Maintainability
Test Coverage
# encoding: utf-8

# Copyright (c) 2014–2016 Mike Baranski <http://www.mikeski.net>

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at

#    http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Gem::Specification.new do |s|
  s.name          = 'logstash-filter-dateparts'
  s.version       = '2.2'
  s.licenses      = ['Apache License (2.0)']
  s.summary       = 'This dateparts fileter adds date information to your event based on your timestamp'
  s.description   = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program'
  s.authors       = ['Mike Baranski']
  s.email         = 'ike.baranski@gmail.com'
  s.homepage      = 'http://mikeski.net'
  s.require_paths = ['lib']
  s.platform      = "java"

  # Files
  s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','Gemfile','LICENSE']
   # Tests
  s.test_files = s.files.grep(%r{^(test|spec|features)/})

  # Special flag to let us know this is actually a logstash plugin
  s.metadata = { 'logstash_plugin' => 'true', 'logstash_group' => 'filter' }

  # Gem dependencies
  s.add_runtime_dependency 'logstash-core-plugin-api', '>= 1.60', '<= 2.99'
  
  s.add_development_dependency 'jar-dependencies', '0.3.5'

  s.add_development_dependency 'ruby-maven', '~> 3.3'

  s.add_development_dependency 'logstash-devutils'
end