riemann-opensearch 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3276c4d43ee5988ee726cee244649c54e9899ce7872e2ad2d83bd41a5e4bad0
4
- data.tar.gz: 263c976d0ebcedb7af0bb9160a3eb77029e60412b6ad682b1ab04c2ab1d316c0
3
+ metadata.gz: 5c1f698db75539aabf7e762e3e01401e58ca60efeb7cef5e484c743446c55c98
4
+ data.tar.gz: d64f8742878a285efa1658620bab0b1187c0f3ad4fc14651d926977317091efb
5
5
  SHA512:
6
- metadata.gz: ab78cf3868b58007f9dc000e1624c3b34cf397b34cd084b2aa109dc4f5481a4d035ad977c4dda0ea423075fdc95b873466ff66c7e14e7a0304508d73276b8f38
7
- data.tar.gz: 5289238759636ed1103615aa08d66e51dfb776343f46b83d31aeaa81ad9b929f59329011dd8db4ab42acd35c341285a0937a16b9aec46c6b9944ea4ecc4cbb05
6
+ metadata.gz: 514e405981311ed0449c8142f32bdc6374155fa862b4ee0a2da662ec2b05d7351788d78a295d18d51aaceeef4a1acc3c40e8f28ce1729c62e484218dfdd6c837
7
+ data.tar.gz: 1dbaa11916c52850625fb3f801579a4699cb0e768e7f59d17309a4d7d29e7424926a684dae798c03777e1eb5078242cf0db376c8c0c526393c3d63a192b0f6da
data/.github/CODEOWNERS CHANGED
@@ -1 +1,4 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
1
4
  * @opus-codium/core @opus-codium/vittoria-conseil
@@ -0,0 +1,16 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
4
+ version: 2
5
+ updates:
6
+ # Open PR for gem updates
7
+ - package-ecosystem: "bundler"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "daily"
11
+
12
+ # Open PR for GitHub Actions updates
13
+ - package-ecosystem: "github-actions"
14
+ directory: "/"
15
+ schedule:
16
+ interval: "daily"
@@ -0,0 +1,14 @@
1
+ ---
2
+ # Managed by modulesync - DO NOT EDIT
3
+ # See: https://github.com/opus-codium/modulesync_riemann
4
+
5
+ backwards-incompatible:
6
+ - head-branch: ['^change-', '^remove-']
7
+ bug:
8
+ - head-branch: ['^fix-']
9
+ enhancement:
10
+ - head-branch: ['^add-', '^allow-', '^set-']
11
+ modulesync:
12
+ - head-branch: ['^modulesync$']
13
+ skip-changelog:
14
+ - head-branch: ['^release-', '^release$']
@@ -1,4 +1,7 @@
1
1
  ---
2
+ # Managed by modulesync - DO NOT EDIT
3
+ # See: https://github.com/opus-codium/modulesync_riemann
4
+
2
5
  name: CI
3
6
 
4
7
  on:
@@ -14,7 +17,7 @@ jobs:
14
17
  runs-on: ubuntu-latest
15
18
  steps:
16
19
  - uses: actions/checkout@v6
17
- - name: Setup ruby
20
+ - name: Setup Ruby
18
21
  uses: ruby/setup-ruby@v1
19
22
  with:
20
23
  ruby-version: 3.0
@@ -36,10 +39,10 @@ jobs:
36
39
  name: Ruby ${{ matrix.ruby }}
37
40
  steps:
38
41
  - uses: actions/checkout@v6
39
- - name: Setup ruby
42
+ - name: Setup Ruby
40
43
  uses: ruby/setup-ruby@v1
41
44
  with:
42
45
  ruby-version: ${{ matrix.ruby }}
43
46
  bundler-cache: true
44
47
  - name: Run tests
45
- run: bundle exec rspec
48
+ run: bundle exec rake
@@ -0,0 +1,22 @@
1
+ ---
2
+ # Managed by modulesync - DO NOT EDIT
3
+ # See: https://github.com/opus-codium/modulesync_riemann
4
+
5
+ name: "Pull Request Labeler"
6
+
7
+ # yamllint disable-line rule:truthy
8
+ on:
9
+ pull_request_target: {}
10
+
11
+ permissions:
12
+ contents: read
13
+ pull-requests: write
14
+
15
+ jobs:
16
+ labeler:
17
+ permissions:
18
+ contents: read
19
+ pull-requests: write
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/labeler@v6
data/.gitignore CHANGED
@@ -1 +1,8 @@
1
- Gemfile.lock
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
4
+ /.rspec_status
5
+ /Gemfile.lock
6
+ /coverage/
7
+ /pkg/
8
+ /spec/examples.txt
data/.simplecov ADDED
@@ -0,0 +1,10 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
4
+ # frozen_string_literal: true
5
+
6
+ # vim:set syntax=ruby:
7
+
8
+ SimpleCov.start do
9
+ add_filter "/spec/"
10
+ end
data/.standard.yml ADDED
@@ -0,0 +1,5 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
4
+ plugins:
5
+ - standard-rspec
data/.sync.yml ADDED
@@ -0,0 +1,3 @@
1
+ .github/CODEOWNERS:
2
+ extra_owners:
3
+ - vittoria-conseil
data/CHANGELOG.md CHANGED
@@ -1,32 +1,20 @@
1
1
  # Changelog
2
2
 
3
- ## [v1.1.0](https://github.com/opus-codium/riemann-opensearch/tree/v1.1.0) (2026-05-29)
4
-
5
- [Full Changelog](https://github.com/opus-codium/riemann-opensearch/compare/v1.0.0...v1.1.0)
6
-
7
- **Implemented enhancements:**
3
+ ## [v1.1.1](https://github.com/opus-codium/riemann-opensearch/tree/v1.1.1) (2026-06-03)
8
4
 
9
- - Allow riemann-tools 2.0.0 [\#6](https://github.com/opus-codium/riemann-opensearch/pull/6) ([smortex](https://github.com/smortex))
5
+ [Full Changelog](https://github.com/opus-codium/riemann-opensearch/compare/v1.1.0...v1.1.1)
10
6
 
11
- ## [v1.0.0](https://github.com/opus-codium/riemann-opensearch/tree/v1.0.0) (2025-05-06)
7
+ **Fixed bugs:**
12
8
 
13
- [Full Changelog](https://github.com/opus-codium/riemann-opensearch/compare/v0.0.1...v1.0.0)
9
+ - Fix loading X.509 certificate / key [\#11](https://github.com/opus-codium/riemann-opensearch/pull/11) ([smortex](https://github.com/smortex))
14
10
 
15
- **Breaking changes:**
11
+ ## [v1.1.0](https://github.com/opus-codium/riemann-opensearch/tree/v1.1.0) (2026-05-29)
16
12
 
17
- - Remove disk usage metric [\#4](https://github.com/opus-codium/riemann-opensearch/pull/4) ([smortex](https://github.com/smortex))
13
+ [Full Changelog](https://github.com/opus-codium/riemann-opensearch/compare/v1.0.0...v1.1.0)
18
14
 
19
15
  **Implemented enhancements:**
20
16
 
21
- - Add a metric for the indices size on disk [\#3](https://github.com/opus-codium/riemann-opensearch/pull/3) ([smortex](https://github.com/smortex))
22
-
23
- **Fixed bugs:**
24
-
25
- - Fix loading with riemann-wrapper [\#2](https://github.com/opus-codium/riemann-opensearch/pull/2) ([smortex](https://github.com/smortex))
26
-
27
- ## [v0.0.1](https://github.com/opus-codium/riemann-opensearch/tree/v0.0.1) (2025-04-08)
28
-
29
- [Full Changelog](https://github.com/opus-codium/riemann-opensearch/compare/5e90741b9e5dd17b64e08ee7907a06a4f8c2f0aa...v0.0.1)
17
+ - Allow riemann-tools 2.0.0 [\#6](https://github.com/opus-codium/riemann-opensearch/pull/6) ([smortex](https://github.com/smortex))
30
18
 
31
19
 
32
20
 
data/Gemfile CHANGED
@@ -1,11 +1,15 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
1
4
  # frozen_string_literal: true
2
5
 
3
6
  source "https://rubygems.org"
4
7
 
5
- # Specify your gem's dependencies in riemann-opensearch.gemspec
6
8
  gemspec
7
9
 
8
10
  gem "github_changelog_generator"
9
- gem "rake", "~> 13.0"
11
+ gem "rake"
10
12
  gem "rspec", "~> 3.0"
11
- gem "standard", "~> 1.3"
13
+ gem "simplecov"
14
+ gem "standard", "~> 1.36"
15
+ gem "standard-rspec"
data/Rakefile CHANGED
@@ -1,19 +1,23 @@
1
+ # Managed by modulesync - DO NOT EDIT
2
+ # See: https://github.com/opus-codium/modulesync_riemann
3
+
1
4
  # frozen_string_literal: true
2
5
 
6
+ require "riemann/tools/opensearch/version"
7
+
3
8
  require "bundler/gem_tasks"
4
9
  require "rspec/core/rake_task"
5
10
 
6
11
  RSpec::Core::RakeTask.new(:spec)
7
12
 
8
- require "standard/rake"
9
-
10
- task default: %i[standard spec]
13
+ task default: :spec
11
14
 
12
15
  require "github_changelog_generator/task"
13
16
 
14
17
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
15
18
  config.user = "opus-codium"
16
19
  config.project = "riemann-opensearch"
17
- config.exclude_labels = ["skip-changelog"]
20
+ config.exclude_labels = ["github_actions", "modulesync", "skip-changelog"]
18
21
  config.future_release = "v#{Riemann::Tools::Opensearch::VERSION}"
22
+ config.since_tag = "v1.0.0"
19
23
  end
@@ -1,7 +1,7 @@
1
1
  module Riemann
2
2
  module Tools
3
3
  class Opensearch
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -84,8 +84,8 @@ module Riemann
84
84
  transport_options: {
85
85
  ssl: {
86
86
  ca_file: opts[:os_ca_cert],
87
- client_cert: opts[:os_cert],
88
- client_key: opts[:os_key],
87
+ client_cert: opts[:os_cert] && OpenSSL::X509::Certificate.new(File.read(opts[:os_cert])),
88
+ client_key: opts[:os_key] && OpenSSL::PKey.read(File.read(opts[:os_key])),
89
89
  verify: !opts[:os_insecure]
90
90
  }
91
91
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-opensearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain Tartière
@@ -65,9 +65,15 @@ extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
67
  - ".github/CODEOWNERS"
68
+ - ".github/dependabot.yml"
69
+ - ".github/labeler.yml"
68
70
  - ".github/workflows/ci.yml"
71
+ - ".github/workflows/labeler.yml"
69
72
  - ".gitignore"
70
73
  - ".rspec"
74
+ - ".simplecov"
75
+ - ".standard.yml"
76
+ - ".sync.yml"
71
77
  - CHANGELOG.md
72
78
  - CODE_OF_CONDUCT.md
73
79
  - Gemfile