fluent-plugin-dedot_filter 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.devcontainer/devcontainer.json +10 -0
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/release.yml +47 -0
- data/.github/workflows/test.yml +27 -0
- data/.gitignore +54 -5
- data/.rspec +1 -1
- data/.rubocop.yml +1156 -0
- data/CHANGELOG.md +54 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +109 -22
- data/Rakefile +4 -0
- data/VERSION +1 -0
- data/fluent-plugin-dedot_filter.gemspec +19 -21
- data/lib/fluent/plugin/filter_dedot.rb +34 -13
- data/spec/filter_dedot_spec.rb +260 -0
- data/spec/helper.rb +32 -0
- data/spec/spec_helper.rb +24 -0
- metadata +43 -31
- data/lib/fluent/plugin/filter_dedot/version.rb +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a7e963fb965375f0d76e68975d7360bfa684633bfddbaae66dc5f0d633d3a1b0
|
|
4
|
+
data.tar.gz: 03d04fde31f801c1c5e11a945a30bf57a8b2707f117f263fbb1d40ce1d1991bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73fd62f7b4ac38afcd8c9fe2c6029d77bb484ac64de65c41bc78963b804158cd8311fdf26d3f5a7d5835c3aff2d5e9ace776f93cf395c15a8816669569b004f4
|
|
7
|
+
data.tar.gz: 7232a94fd96f05252f24fe36c83b906715b14f90c59cb9afbff5dcc672b0cff5c186f4dcafe7f0826f6a086f24fb40fd699b602140204c33eeabf7da46e91790
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# Publishes the gem to RubyGems.org via Trusted Publishing (OIDC) when a
|
|
4
|
+
# version tag such as v1.2.3 is pushed. No RubyGems API key is stored here.
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
tags:
|
|
8
|
+
- "v*"
|
|
9
|
+
|
|
10
|
+
permissions: {}
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
release:
|
|
14
|
+
name: Push gem to RubyGems.org
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
# Must match the environment configured for the trusted publisher on
|
|
17
|
+
# RubyGems.org.
|
|
18
|
+
environment: release
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
id-token: write # required to request the OIDC token for RubyGems.org
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
25
|
+
with:
|
|
26
|
+
persist-credentials: false
|
|
27
|
+
|
|
28
|
+
- name: Check that the tag matches VERSION
|
|
29
|
+
env:
|
|
30
|
+
TAG: ${{ github.ref_name }}
|
|
31
|
+
run: |
|
|
32
|
+
expected="v$(cat VERSION)"
|
|
33
|
+
if [ "$TAG" != "$expected" ]; then
|
|
34
|
+
echo "::error::Tag $TAG does not match VERSION ($expected)"
|
|
35
|
+
exit 1
|
|
36
|
+
fi
|
|
37
|
+
|
|
38
|
+
- uses: ruby/setup-ruby@7eaac3fe3108dfb746bef3a3c1a21344d57923c7 # v1.348.0
|
|
39
|
+
with:
|
|
40
|
+
ruby-version: ruby
|
|
41
|
+
bundler-cache: true
|
|
42
|
+
|
|
43
|
+
- name: Run specs
|
|
44
|
+
run: bundle exec rake spec
|
|
45
|
+
|
|
46
|
+
# The tag already exists, so `rake release` only builds and pushes the gem.
|
|
47
|
+
- uses: rubygems/release-gem@2654a0fe0dc39725c07fe84d7fe863a084f2424e # v1.5.0
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
ruby: ["2.7", "3.1", "3.2", "3.3", "3.4", "4.0"]
|
|
18
|
+
name: Ruby ${{ matrix.ruby }}
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v7
|
|
21
|
+
- uses: ruby/setup-ruby@v1
|
|
22
|
+
with:
|
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
|
24
|
+
bundler-cache: true
|
|
25
|
+
- run: bundle exec rake spec
|
|
26
|
+
env:
|
|
27
|
+
COVERAGE: "1"
|
data/.gitignore
CHANGED
|
@@ -1,9 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
# Created by https://www.gitignore.io/api/git,ruby
|
|
3
|
+
|
|
4
|
+
### Git ###
|
|
5
|
+
*.orig
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Ruby ###
|
|
9
|
+
*.gem
|
|
10
|
+
*.rbc
|
|
11
|
+
/.config
|
|
5
12
|
/coverage/
|
|
6
|
-
/
|
|
13
|
+
/InstalledFiles
|
|
7
14
|
/pkg/
|
|
8
15
|
/spec/reports/
|
|
16
|
+
/spec/examples.txt
|
|
17
|
+
/test/tmp/
|
|
18
|
+
/test/version_tmp/
|
|
9
19
|
/tmp/
|
|
20
|
+
|
|
21
|
+
# Used by dotenv library to load environment variables.
|
|
22
|
+
.env
|
|
23
|
+
|
|
24
|
+
## Specific to RubyMotion:
|
|
25
|
+
.dat*
|
|
26
|
+
.repl_history
|
|
27
|
+
build/
|
|
28
|
+
*.bridgesupport
|
|
29
|
+
build-iPhoneOS/
|
|
30
|
+
build-iPhoneSimulator/
|
|
31
|
+
|
|
32
|
+
## Specific to RubyMotion (use of CocoaPods):
|
|
33
|
+
#
|
|
34
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
|
35
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
|
36
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
|
37
|
+
#
|
|
38
|
+
vendor/Pods/
|
|
39
|
+
|
|
40
|
+
## Documentation cache and generated files:
|
|
41
|
+
/.yardoc/
|
|
42
|
+
/_yardoc/
|
|
43
|
+
/doc/
|
|
44
|
+
/rdoc/
|
|
45
|
+
|
|
46
|
+
## Environment normalization:
|
|
47
|
+
/.bundle/
|
|
48
|
+
/vendor/bundle
|
|
49
|
+
/lib/bundler/man/
|
|
50
|
+
|
|
51
|
+
# for a library or gem, you might want to ignore these files since the code is
|
|
52
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
53
|
+
Gemfile.lock
|
|
54
|
+
.ruby-version
|
|
55
|
+
.ruby-gemset
|
|
56
|
+
|
|
57
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
58
|
+
.rvmrc
|
data/.rspec
CHANGED