fluent-plugin-influxdb-v2 1.10.0.pre.1369 → 1.10.0.pre.1583

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f766d9319bb6184d944ff5b735de8125ec22d64ec19ec1bf7d877d1cec99f5ed
4
- data.tar.gz: c639f6643246083b3320ce6e924878ccea5eea8da029ee543ef34a273a50fef6
3
+ metadata.gz: '0871fe9a15c97166cb68385e8fc33df2fa3fa00321e3cd4571261e5d4c150462'
4
+ data.tar.gz: 548c560d7d080b66e5bfef88ed27b4c91cbb2bfd832e16fa1bcbe434f2663d2e
5
5
  SHA512:
6
- metadata.gz: 824179941ebb0f329cbebc4f40f52749366ddc49228929f7fb512a6b09684b8486a34f09fbc47c5eb98e19358f808a6f09e65eb5e61f35b6143fba9e2b8aeab9
7
- data.tar.gz: b99d18161c767f3e881a74a0d61a62256c9fac0cd9dd8e36a0c895fd10214c26ca96f8c69dbe8415b257f0cf9f34a2785f7f08c990071f40a88062f146e2187b
6
+ metadata.gz: 3ec7304938ce82ac43f62c39ec5914af166d8168c194ee94ac589eb542077b6826710d7fd28768f353bee3a35eb534a267b4e8cc0ccccae54c806277b6587b57
7
+ data.tar.gz: 1a2ab39c4e00843cfd24823e84ffbeb8bcdf1a44630467e129c8bf8b24a915831878c04352483402ade6263c153c3249959e1fe9ac77392cd55e9fc984be7a04
data/.circleci/config.yml CHANGED
@@ -59,6 +59,17 @@ commands:
59
59
  command: |
60
60
  export MINITEST_REPORTER=JUnitReporter
61
61
  bundle exec rake test
62
+ - run:
63
+ name: Collecting coverage reports
64
+ command: |
65
+ curl -Os https://uploader.codecov.io/latest/linux/codecov
66
+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
67
+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
68
+ curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
69
+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
70
+ shasum -a 256 -c codecov.SHA256SUM
71
+ chmod +x ./codecov
72
+ ./codecov
62
73
  - save_cache:
63
74
  name: Saving Gem Cache
64
75
  key: *cache-key
@@ -12,5 +12,5 @@ _Briefly describe your proposed changes:_
12
12
  - [ ] Rebased/mergeable
13
13
  - [ ] A test has been added if appropriate
14
14
  - [ ] `rake test` completes successfully
15
- - [ ] Commit messages are in [semantic format](https://seesparkbox.com/foundry/semantic_commit_messages)
15
+ - [ ] Commit messages are [conventional](https://www.conventionalcommits.org/en/v1.0.0/)
16
16
  - [ ] Sign [CLA](https://www.influxdata.com/legal/cla/) (if not already signed)
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: "Semantic PR and Commit Messages"
3
+
4
+ on:
5
+ pull_request:
6
+ types: [opened, reopened, synchronize, edited]
7
+ branches:
8
+ - master
9
+
10
+ jobs:
11
+ semantic:
12
+ uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main
13
+ with:
14
+ CHECK_PR_TITLE_OR_ONE_COMMIT: true
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 1.10.0 [unreleased]
2
2
 
3
+ ### CI
4
+ 1. [#32](https://github.com/influxdata/influxdb-plugin-fluent/pull/32): Use new Codecov uploader for reporting code coverage
5
+
3
6
  ## 1.9.0 [2021-11-26]
4
7
 
5
8
  ### Features
@@ -50,12 +50,11 @@ Gem::Specification.new do |spec|
50
50
  spec.add_runtime_dependency 'influxdb-client', '2.1.0'
51
51
 
52
52
  spec.add_development_dependency 'bundler', '~> 2.0'
53
- spec.add_development_dependency 'codecov', '~> 0.1.16'
54
53
  spec.add_development_dependency 'minitest', '~> 5.0'
55
54
  spec.add_development_dependency 'minitest-reporters', '~> 1.4'
56
55
  spec.add_development_dependency 'rake', '>= 12.3.3'
57
56
  spec.add_development_dependency 'rubocop', '~> 0.66.0'
58
- spec.add_development_dependency 'simplecov', '~> 0.17.1'
57
+ spec.add_development_dependency 'simplecov-cobertura', '~> 1.4.2'
59
58
  spec.add_development_dependency 'test-unit', '~> 3.3'
60
59
  spec.add_development_dependency 'webmock', '~> 3.7'
61
60
  end
data/test/test_helper.rb CHANGED
@@ -22,8 +22,8 @@ require 'simplecov'
22
22
  SimpleCov.start
23
23
 
24
24
  if ENV['CI'] == 'true'
25
- require 'codecov'
26
- SimpleCov.formatter = SimpleCov::Formatter::Codecov
25
+ require 'simplecov-cobertura'
26
+ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
27
27
  end
28
28
 
29
29
  $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-influxdb-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0.pre.1369
4
+ version: 1.10.0.pre.1583
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Bednar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-26 00:00:00.000000000 Z
11
+ date: 2022-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.0'
55
- - !ruby/object:Gem::Dependency
56
- name: codecov
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.1.16
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.1.16
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: minitest
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -123,19 +109,19 @@ dependencies:
123
109
  - !ruby/object:Gem::Version
124
110
  version: 0.66.0
125
111
  - !ruby/object:Gem::Dependency
126
- name: simplecov
112
+ name: simplecov-cobertura
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - "~>"
130
116
  - !ruby/object:Gem::Version
131
- version: 0.17.1
117
+ version: 1.4.2
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
137
123
  - !ruby/object:Gem::Version
138
- version: 0.17.1
124
+ version: 1.4.2
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: test-unit
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +162,7 @@ files:
176
162
  - ".github/ISSUE_TEMPLATE/bug_report.md"
177
163
  - ".github/ISSUE_TEMPLATE/feature_request.md"
178
164
  - ".github/PULL_REQUEST_TEMPLATE"
179
- - ".github/semantic.yml"
165
+ - ".github/workflows/semantic.yml"
180
166
  - ".gitignore"
181
167
  - ".rubocop.yml"
182
168
  - CHANGELOG.md
@@ -227,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
213
  - !ruby/object:Gem::Version
228
214
  version: 1.3.1
229
215
  requirements: []
230
- rubygems_version: 3.2.32
216
+ rubygems_version: 3.3.11
231
217
  signing_key:
232
218
  specification_version: 4
233
219
  summary: InfluxDB 2 output plugin for Fluentd
data/.github/semantic.yml DELETED
@@ -1,3 +0,0 @@
1
- # docs: https://github.com/probot/semantic-pull-requests#configuration
2
- # Always validate the PR title AND all the commits
3
- titleAndCommits: true