gitlab-exporter 14.1.0 → 14.3.0

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: dd25ebf8533fde9c59b0db768540fcbdf338c961715617459c2a4aa2eb2cc912
4
- data.tar.gz: 12e190d1ea1f1cf0a16aa68ab54995c4953555807c7e3c80ecf8a40072d811dd
3
+ metadata.gz: 29f3158dee598bed73c4e431a9452e69b4979ba6bf909a6dd6a41627e1fe0ccf
4
+ data.tar.gz: 84cba853f91ab6cb79baadfb3b51bad8a7a90833f2a58e5529ce34f37b6a5539
5
5
  SHA512:
6
- metadata.gz: f482931b5c30361f7d9e2899c47de30e4fe296b02028818c83bf189defcd8e0dd6fa30f411c1a96e2abab809c1d45ea4c679479b61ac093c09d678154a8b6ce5
7
- data.tar.gz: 5942a5b4b0ea8ecdccdab0de8a5bfdad2f7b1f125e200bfc94e64cf4328ca750cf866ccd394dbe14dfc91fe3dcc5915332e5519c9f9d37682f49251ac2a7b581
6
+ metadata.gz: 255d13c0d0912f5ad7ef0ceb688d30db6575606f7a222f6e0d34304dfde50ab7d87b9340fb58fed29d145ca56e8171dae8b9bdf0dd3d76e403fbf79d478a9a05
7
+ data.tar.gz: 3599068af65f49e842b4cff1a8777d4523d5d22e84224fc30a7c6c6fdd3ce04f261e5bd00725f8462ee52efebed0edc960202197477afba02b6dc4738845ba1b
data/.gitlab-ci.yml CHANGED
@@ -1,13 +1,10 @@
1
1
  include:
2
+ - component: gitlab.com/components/container-scanning/container-scanning@~latest
3
+ - component: gitlab.com/components/sast/sast@~latest
4
+ - component: gitlab.com/components/secret-detection/secret-detection@~latest
5
+ - component: gitlab.com/gitlab-org/components/gem-release/gem-release@~latest
2
6
  - template: Security/DAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
3
- - template: Security/Container-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/Container-Scanning.gitlab-ci.yml
4
7
  - template: Security/Dependency-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
5
- - template: Security/License-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/License-Scanning.gitlab-ci.yml
6
- - template: Security/SAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
7
- - template: Security/Secret-Detection.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml
8
- - project: 'gitlab-org/quality/pipeline-common'
9
- file:
10
- - '/ci/gem-release.yml'
11
8
 
12
9
  variables:
13
10
  RUBY_VERSION: "2.7"
@@ -65,9 +62,6 @@ rubocop:
65
62
  - bundle exec rubocop
66
63
  before_script: *before_scripts
67
64
 
68
- license_scanning:
69
- rules: *workflow_rules
70
-
71
65
  gemnasium-dependency_scanning:
72
66
  rules: *workflow_rules
73
67
 
data/.rubocop.yml CHANGED
@@ -33,4 +33,4 @@ Metrics/AbcSize:
33
33
  Enabled: false
34
34
 
35
35
  Metrics/ClassLength:
36
- Max: 150
36
+ Max: 155
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (14.1.0)
4
+ gitlab-exporter (14.3.0)
5
5
  connection_pool (= 2.2.5)
6
6
  deep_merge (~> 1.2.2)
7
- faraday (~> 1.8.0)
7
+ faraday (>= 1.8.0, <= 2.8.1)
8
8
  pg (= 1.5.3)
9
- puma (= 5.6.5)
9
+ puma (= 5.6.7)
10
10
  quantile (= 0.2.1)
11
11
  redis (= 4.4.0)
12
12
  redis-namespace (= 1.9.0)
@@ -18,29 +18,15 @@ GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
20
  ast (2.4.1)
21
+ base64 (0.2.0)
21
22
  connection_pool (2.2.5)
22
23
  deep_merge (1.2.2)
23
24
  diff-lcs (1.5.0)
24
- faraday (1.8.0)
25
- faraday-em_http (~> 1.0)
26
- faraday-em_synchrony (~> 1.0)
27
- faraday-excon (~> 1.1)
28
- faraday-httpclient (~> 1.0.1)
29
- faraday-net_http (~> 1.0)
30
- faraday-net_http_persistent (~> 1.1)
31
- faraday-patron (~> 1.0)
32
- faraday-rack (~> 1.0)
33
- multipart-post (>= 1.2, < 3)
25
+ faraday (2.8.1)
26
+ base64
27
+ faraday-net_http (>= 2.0, < 3.1)
34
28
  ruby2_keywords (>= 0.0.4)
35
- faraday-em_http (1.0.0)
36
- faraday-em_synchrony (1.0.0)
37
- faraday-excon (1.1.0)
38
- faraday-httpclient (1.0.1)
39
- faraday-net_http (1.0.1)
40
- faraday-net_http_persistent (1.2.0)
41
- faraday-patron (1.0.0)
42
- faraday-rack (1.0.0)
43
- multipart-post (2.2.3)
29
+ faraday-net_http (3.0.2)
44
30
  mustermann (2.0.2)
45
31
  ruby2_keywords (~> 0.0.1)
46
32
  nio4r (2.5.8)
@@ -48,7 +34,7 @@ GEM
48
34
  parser (3.0.0.0)
49
35
  ast (~> 2.4.1)
50
36
  pg (1.5.3)
51
- puma (5.6.5)
37
+ puma (5.6.7)
52
38
  nio4r (~> 2.0)
53
39
  quantile (0.2.1)
54
40
  rack (2.2.5)
@@ -94,6 +94,9 @@ probes:
94
94
  - probe_retries
95
95
  opts:
96
96
  redis_url: "redis://localhost:6379"
97
+ # Uncomment if username or password is not part of the redis_url specified above
98
+ # redis_username: 'redis-username'
99
+ # redis_password: 'redis-password'
97
100
  redis_enable_client: true
98
101
 
99
102
  ruby: &ruby
@@ -22,9 +22,11 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.add_runtime_dependency "connection_pool", "2.2.5"
24
24
  s.add_runtime_dependency "deep_merge", "~> 1.2.2"
25
- s.add_runtime_dependency "faraday", "~> 1.8.0"
25
+ # Lock to 2.8.1 until RubyGems 3.5.5 is shipped with the fix for
26
+ # https://github.com/rubygems/rubygems/issues/7374
27
+ s.add_runtime_dependency "faraday", [">= 1.8.0", "<= 2.8.1"]
26
28
  s.add_runtime_dependency "pg", "1.5.3"
27
- s.add_runtime_dependency "puma", "5.6.5"
29
+ s.add_runtime_dependency "puma", "5.6.7"
28
30
  s.add_runtime_dependency "quantile", "0.2.1"
29
31
  s.add_runtime_dependency "redis", "4.4.0"
30
32
  s.add_runtime_dependency "redis-namespace", "1.9.0"
@@ -199,6 +199,10 @@ module GitLab
199
199
  reconnect_attempts: 0
200
200
  }
201
201
 
202
+ %i[username password].each do |credential|
203
+ options[credential] = @opts[:"redis_#{credential}"] if @opts.key?(:"redis_#{credential}")
204
+ end
205
+
202
206
  options[:id] = nil unless redis_enable_client?
203
207
  options
204
208
  end
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "14.1.0".freeze
3
+ VERSION = "14.3.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.0
4
+ version: 14.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-07-27 00:00:00.000000000 Z
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.8.0
48
+ - - "<="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.8.1
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - "~>"
55
+ - - ">="
53
56
  - !ruby/object:Gem::Version
54
57
  version: 1.8.0
58
+ - - "<="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.8.1
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: pg
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +78,14 @@ dependencies:
72
78
  requirements:
73
79
  - - '='
74
80
  - !ruby/object:Gem::Version
75
- version: 5.6.5
81
+ version: 5.6.7
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - '='
81
87
  - !ruby/object:Gem::Version
82
- version: 5.6.5
88
+ version: 5.6.7
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: quantile
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -257,7 +263,7 @@ homepage: https://gitlab.com/gitlab-org/ruby/gems/gitlab-exporter
257
263
  licenses:
258
264
  - MIT
259
265
  metadata: {}
260
- post_install_message:
266
+ post_install_message:
261
267
  rdoc_options: []
262
268
  require_paths:
263
269
  - lib
@@ -272,8 +278,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
278
  - !ruby/object:Gem::Version
273
279
  version: '0'
274
280
  requirements: []
275
- rubygems_version: 3.1.6
276
- signing_key:
281
+ rubygems_version: 3.3.26
282
+ signing_key:
277
283
  specification_version: 4
278
284
  summary: GitLab metrics exporter
279
285
  test_files: