gitlab-secret_detection 0.17.0 → 0.18.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: 64bbcf28d178adec114d85d83787fbb02fbfeed8602a195a7fb97a3218e6c12f
4
- data.tar.gz: 80847ca20ecbff5abb15943c8a9e73fc4bed0bc497f9b5dc755e7eeef76a1e25
3
+ metadata.gz: 42440db9db11a739e80d2ca1d50fa29d5cb3570d7fe803b8d4598eca8c3eac86
4
+ data.tar.gz: 7a329f9a814fe10a694876d835510e118cca91a7abc6d3787ef7b975c2105bda
5
5
  SHA512:
6
- metadata.gz: 4ea206ef6f8604bb10c41dd104727ca661a4dd7aa19a2f14e6e09a293b34c490027c869dab2a5bb1a670cda3f2a7b5c6b403c3b2bc2504f6b21cb8618deabf3d
7
- data.tar.gz: 949ce0b5cb3ee28df2f5d887fbff04c2e5e7150b5899bc10c29a4ae2784aaa9410202a875b8f7e151e20835d0ee29984daf2551625554362110bf08a60f8f30a
6
+ metadata.gz: 873cb85a55a82e2561dfce6f8a8ba5fa4e36977542096a693c6585f713d5d56038872af97f461c7e8bd52196ebaf98159db92ab7ed09a6590677c75ab45fe31a
7
+ data.tar.gz: 266e4ff452bcee7968bf9da72f6260146b6278c419c28c7aee30306c97682603c1dfa544fc34d276aaa6ea25b52e6fb986746931adcbc081858e3794253fdc7f
data/README.md CHANGED
@@ -7,7 +7,7 @@ Reference Issue: https://gitlab.com/groups/gitlab-org/-/epics/13792
7
7
 
8
8
  #### Tools and Framework
9
9
 
10
- - Ruby `3.2.5`
10
+ - Ruby `3.2.X`
11
11
  - gRPC framework for serving RPC requests
12
12
 
13
13
  ## Feature Distribution
@@ -3,23 +3,12 @@
3
3
  module Gitlab
4
4
  module SecretDetection
5
5
  class Gem
6
- DEFAULT_VERSION = "0.0.1"
7
-
8
- SEMVER_REGEX = /^\d+\.\d+\.\d+(?:-[a-zA-Z0-9\-\.]+)?(?:\+[a-zA-Z0-9\-\.]+)?$/
9
-
10
- def self.get_release_version
11
- release_version = ENV.fetch("SD_GEM_RELEASE_VERSION", "")
12
-
13
- if release_version.empty?
14
- raise LoadError("Missing SD_GEM_RELEASE_VERSION environment variable.") unless local_env?
15
-
16
- "#{DEFAULT_VERSION}-debug"
17
- elsif release_version.match?(SEMVER_REGEX)
18
- release_version
19
- else
20
- "#{DEFAULT_VERSION}-#{release_version}"
21
- end
22
- end
6
+ # TODO: This is a temporary fix to avoid runtime issues
7
+ # More details are available here:
8
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/514015
9
+ #
10
+ # Ensure to maintain the same version in CHANGELOG file.
11
+ VERSION = "0.18.0"
23
12
 
24
13
  # SD_ENV env var is used to determine which environment the
25
14
  # server is running. This var is defined in `.runway/env-<env>.yml` files.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-secret_detection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - group::secret detection
@@ -10,78 +10,92 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-01-17 00:00:00.000000000 Z
13
+ date: 2025-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grpc
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '='
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 1.63.0
21
+ version: '1.63'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '='
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 1.63.0
28
+ version: '1.63'
29
+ - !ruby/object:Gem::Dependency
30
+ name: grpc_reflection
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '0.1'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.1'
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: grpc-tools
31
45
  requirement: !ruby/object:Gem::Requirement
32
46
  requirements:
33
- - - '='
47
+ - - "~>"
34
48
  - !ruby/object:Gem::Version
35
- version: 1.63.0
49
+ version: '1.63'
36
50
  type: :runtime
37
51
  prerelease: false
38
52
  version_requirements: !ruby/object:Gem::Requirement
39
53
  requirements:
40
- - - '='
54
+ - - "~>"
41
55
  - !ruby/object:Gem::Version
42
- version: 1.63.0
56
+ version: '1.63'
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: parallel
45
59
  requirement: !ruby/object:Gem::Requirement
46
60
  requirements:
47
61
  - - "~>"
48
62
  - !ruby/object:Gem::Version
49
- version: '1.19'
63
+ version: '1'
50
64
  type: :runtime
51
65
  prerelease: false
52
66
  version_requirements: !ruby/object:Gem::Requirement
53
67
  requirements:
54
68
  - - "~>"
55
69
  - !ruby/object:Gem::Version
56
- version: '1.19'
70
+ version: '1'
57
71
  - !ruby/object:Gem::Dependency
58
72
  name: re2
59
73
  requirement: !ruby/object:Gem::Requirement
60
74
  requirements:
61
- - - '='
75
+ - - "~>"
62
76
  - !ruby/object:Gem::Version
63
- version: 2.7.0
77
+ version: '2.7'
64
78
  type: :runtime
65
79
  prerelease: false
66
80
  version_requirements: !ruby/object:Gem::Requirement
67
81
  requirements:
68
- - - '='
82
+ - - "~>"
69
83
  - !ruby/object:Gem::Version
70
- version: 2.7.0
84
+ version: '2.7'
71
85
  - !ruby/object:Gem::Dependency
72
86
  name: toml-rb
73
87
  requirement: !ruby/object:Gem::Requirement
74
88
  requirements:
75
89
  - - "~>"
76
90
  - !ruby/object:Gem::Version
77
- version: 2.2.0
91
+ version: '2.2'
78
92
  type: :runtime
79
93
  prerelease: false
80
94
  version_requirements: !ruby/object:Gem::Requirement
81
95
  requirements:
82
96
  - - "~>"
83
97
  - !ruby/object:Gem::Version
84
- version: 2.2.0
98
+ version: '2.2'
85
99
  description: |-
86
100
  GitLab Secret Detection gem accepts text-based payloads, matches them against predefined secret
87
101
  detection rules (based on the ruleset used by GitLab Secrets analyzer), and returns the scan results. The gem also