Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,340 additions
and
1,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.5 # keep in sync with .circleci/config.yml and gemspec | ||
NewCops: enable | ||
|
||
Style/EmptyMethod: | ||
Enabled: false | ||
|
||
Metrics: | ||
Enabled: false | ||
|
||
# not safe ... needs require 'English' | ||
Style/SpecialGlobalVars: | ||
Enabled: false | ||
|
||
Layout/LineLength: | ||
Max: 205 # TODO: lower | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Naming/AccessorMethodName: | ||
Enabled: false | ||
|
||
Naming/MethodParameterName: | ||
Enabled: false | ||
|
||
Style/IfInsideElse: | ||
Enabled: false | ||
|
||
Style/GuardClause: | ||
Enabled: false | ||
|
||
Lint/NestedMethodDefinition: | ||
Enabled: false | ||
|
||
# TODO: fix | ||
Style/StringConcatenation: | ||
Enabled: false | ||
|
||
Style/NumericPredicate: | ||
EnforcedStyle: comparison | ||
|
||
Style/IfUnlessModifier: | ||
Enabled: false | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
# TODO: enable ... somehow breaks tests | ||
Style/HashEachMethods: | ||
Enabled: false | ||
|
||
Style/WordArray: | ||
EnforcedStyle: brackets | ||
|
||
Style/SymbolArray: | ||
EnforcedStyle: brackets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'codeclimate-test-reporter', '<1.0.0', :group => :test, :require => nil | ||
gem 'rubocop', require: false | ||
gem 'codeclimate-test-reporter', '<1.0.0', group: :test, require: nil | ||
gem 'rubocop' | ||
|
||
# Specify your gem's dependencies in fluent-plugin-add.gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = "fluent-plugin-kubernetes_metadata_filter" | ||
gem.version = "2.6.0" | ||
gem.authors = ["Jimmi Dyson"] | ||
gem.email = ["jimmidyson@gmail.com"] | ||
gem.description = %q{Filter plugin to add Kubernetes metadata} | ||
gem.summary = %q{Fluentd filter plugin to add Kubernetes metadata} | ||
gem.homepage = "https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter" | ||
gem.license = "Apache-2.0" | ||
gem.name = 'fluent-plugin-kubernetes_metadata_filter' | ||
gem.version = '2.6.0' | ||
gem.authors = ['Jimmi Dyson'] | ||
gem.email = ['jimmidyson@gmail.com'] | ||
gem.description = 'Filter plugin to add Kubernetes metadata' | ||
gem.summary = 'Fluentd filter plugin to add Kubernetes metadata' | ||
gem.homepage = 'https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter' | ||
gem.license = 'Apache-2.0' | ||
|
||
gem.files = `git ls-files`.split($/) | ||
|
||
gem.required_ruby_version = '>= 2.5.0' | ||
|
||
gem.add_runtime_dependency 'fluentd', ['>= 0.14.0', '< 1.13'] | ||
gem.add_runtime_dependency "lru_redux" | ||
gem.add_runtime_dependency "kubeclient", '< 5' | ||
gem.add_runtime_dependency 'kubeclient', '< 5' | ||
gem.add_runtime_dependency 'lru_redux' | ||
|
||
gem.add_development_dependency "bundler", "~> 2.0" | ||
gem.add_development_dependency "rake" | ||
gem.add_development_dependency "minitest", "~> 4.0" | ||
gem.add_development_dependency "test-unit", "~> 3.0.2" | ||
gem.add_development_dependency "test-unit-rr", "~> 1.0.3" | ||
gem.add_development_dependency "copyright-header" | ||
gem.add_development_dependency "webmock" | ||
gem.add_development_dependency "vcr" | ||
gem.add_development_dependency "bump" | ||
gem.add_development_dependency "yajl-ruby" | ||
gem.add_development_dependency 'bump' | ||
gem.add_development_dependency 'bundler', '~> 2.0' | ||
gem.add_development_dependency 'copyright-header' | ||
gem.add_development_dependency 'minitest', '~> 4.0' | ||
gem.add_development_dependency 'rake' | ||
gem.add_development_dependency 'test-unit', '~> 3.0.2' | ||
gem.add_development_dependency 'test-unit-rr', '~> 1.0.3' | ||
gem.add_development_dependency 'vcr' | ||
gem.add_development_dependency 'webmock' | ||
gem.add_development_dependency 'yajl-ruby' | ||
end |
Oops, something went wrong.