spamcheck 1.2.0 → 1.3.2

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: fd52ea77d27d2d29261e24bdabc1d3b983fa2cf72d08b8579c9388841cc6d274
4
- data.tar.gz: b89464bf3dc685874c94510dcd6dc3adb6cf46ba913257155d9c46fd8730cd16
3
+ metadata.gz: d0a9a289a31cf52e5e2d16f5463c294844edfd580815aab39405cc638ca5d675
4
+ data.tar.gz: e3a2042ca3e0c9cf0052a1bc76a081076f449cfa10946087c8c4bb451d646cfc
5
5
  SHA512:
6
- metadata.gz: 8f7f8a6a4f1f2cb850a2b37d1afa0d5101718a267ec1680a6f6c3853bc3c045ebc5ed5e11c672028c5041b4e56a3f191b5d05efe453443ffb24febd775709985
7
- data.tar.gz: 3f40efe2c3bba59534d4a4b638295b1f55c0668de4d35361fe2a33a3c64c3151f493ffbdbc64bc13e575c2ef1c6c5dfb5dd2495c9f752c0e6b821b517df42f88
6
+ metadata.gz: ed7b1487cbbf4198b27c9eca99b1c480a5f8d8d027a3f2289221440afe9d4e37e57cf2a3018ba777f7920f51b3e2a94f9ce1d8ca88295e4db60d049069a8435c
7
+ data.tar.gz: c2be13a74c6bb07b2bacc5f734013b0c9ba853cf090f45693cd0a3d79d18f31b85d75674e24610bcc0acaf7963376cca618147a68a403a4ab14d084313811972
@@ -1,23 +1,14 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: health.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("health.proto", :syntax => :proto3) do
8
- add_message "grpc.health.v1.HealthCheckResponse" do
9
- optional :status, :enum, 1, "grpc.health.v1.HealthCheckResponse.ServingStatus"
10
- end
11
- add_enum "grpc.health.v1.HealthCheckResponse.ServingStatus" do
12
- value :UNKNOWN, 0
13
- value :SERVING, 1
14
- value :NOT_SERVING, 2
15
- end
16
- add_message "grpc.health.v1.HealthCheckRequest" do
17
- optional :service, :string, 1
18
- end
19
- end
20
- end
7
+
8
+ descriptor_data = "\n\x0chealth.proto\x12\x0egrpc.health.v1\"\x94\x01\n\x13HealthCheckResponse\x12\x41\n\x06status\x18\x01 \x01(\x0e\x32\x31.grpc.health.v1.HealthCheckResponse.ServingStatus\":\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t2\xae\x01\n\x06Health\x12P\n\x05\x43heck\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse\x12R\n\x05Watch\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse0\x01\x62\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
21
12
 
22
13
  module Grpc
23
14
  module Health
@@ -10,7 +10,7 @@ module Grpc
10
10
  module Health
11
11
  class Service
12
12
 
13
- include GRPC::GenericService
13
+ include ::GRPC::GenericService
14
14
 
15
15
  self.marshal_class_method = :encode
16
16
  self.unmarshal_class_method = :decode
@@ -1,81 +1,16 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: spamcheck.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("spamcheck.proto", :syntax => :proto3) do
9
- add_message "spamcheck.Generic" do
10
- optional :user, :message, 1, "spamcheck.User"
11
- optional :text, :string, 2
12
- optional :type, :string, 3
13
- optional :created_at, :message, 4, "google.protobuf.Timestamp"
14
- optional :updated_at, :message, 5, "google.protobuf.Timestamp"
15
- optional :action, :enum, 6, "spamcheck.Action"
16
- optional :user_in_project, :bool, 7
17
- optional :project, :message, 8, "spamcheck.Project"
18
- end
19
- add_message "spamcheck.Issue" do
20
- optional :user, :message, 1, "spamcheck.User"
21
- optional :title, :string, 2
22
- optional :description, :string, 3
23
- optional :created_at, :message, 4, "google.protobuf.Timestamp"
24
- optional :updated_at, :message, 5, "google.protobuf.Timestamp"
25
- optional :action, :enum, 6, "spamcheck.Action"
26
- optional :user_in_project, :bool, 7
27
- optional :project, :message, 8, "spamcheck.Project"
28
- end
29
- add_message "spamcheck.Snippet" do
30
- optional :user, :message, 1, "spamcheck.User"
31
- optional :title, :string, 2
32
- optional :description, :string, 3
33
- optional :visibility, :string, 4
34
- optional :created_at, :message, 5, "google.protobuf.Timestamp"
35
- optional :updated_at, :message, 6, "google.protobuf.Timestamp"
36
- optional :action, :enum, 7, "spamcheck.Action"
37
- optional :user_in_project, :bool, 9
38
- optional :project, :message, 10, "spamcheck.Project"
39
- repeated :files, :message, 11, "spamcheck.File"
40
- end
41
- add_message "spamcheck.User" do
42
- repeated :emails, :message, 1, "spamcheck.User.Email"
43
- optional :org, :string, 2
44
- optional :username, :string, 3
45
- optional :created_at, :message, 4, "google.protobuf.Timestamp"
46
- end
47
- add_message "spamcheck.User.Email" do
48
- optional :email, :string, 1
49
- optional :verified, :bool, 2
50
- end
51
- add_message "spamcheck.Project" do
52
- optional :project_id, :int32, 1
53
- optional :project_path, :string, 2
54
- end
55
- add_message "spamcheck.File" do
56
- optional :path, :string, 1
57
- end
58
- add_message "spamcheck.SpamVerdict" do
59
- optional :verdict, :enum, 1, "spamcheck.SpamVerdict.Verdict"
60
- optional :error, :string, 2
61
- map :extra_attributes, :string, :string, 3
62
- optional :score, :float, 4
63
- optional :reason, :string, 5
64
- optional :evaluated, :bool, 6
65
- end
66
- add_enum "spamcheck.SpamVerdict.Verdict" do
67
- value :ALLOW, 0
68
- value :CONDITIONAL_ALLOW, 1
69
- value :DISALLOW, 2
70
- value :BLOCK, 3
71
- value :NOOP, 4
72
- end
73
- add_enum "spamcheck.Action" do
74
- value :CREATE, 0
75
- value :UPDATE, 1
76
- end
77
- end
78
- end
8
+
9
+
10
+ descriptor_data = "\n\x0fspamcheck.proto\x12\tspamcheck\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x02\n\x07Generic\x12\x1d\n\x04user\x18\x01 \x01(\x0b\x32\x0f.spamcheck.User\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x11.spamcheck.Action\x12\x17\n\x0fuser_in_project\x18\x07 \x01(\x08\x12#\n\x07project\x18\x08 \x01(\x0b\x32\x12.spamcheck.Project\"\x8b\x02\n\x05Issue\x12\x1d\n\x04user\x18\x01 \x01(\x0b\x32\x0f.spamcheck.User\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x11.spamcheck.Action\x12\x17\n\x0fuser_in_project\x18\x07 \x01(\x08\x12#\n\x07project\x18\x08 \x01(\x0b\x32\x12.spamcheck.Project\"\xc1\x02\n\x07Snippet\x12\x1d\n\x04user\x18\x01 \x01(\x0b\x32\x0f.spamcheck.User\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\nvisibility\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x06\x61\x63tion\x18\x07 \x01(\x0e\x32\x11.spamcheck.Action\x12\x17\n\x0fuser_in_project\x18\t \x01(\x08\x12#\n\x07project\x18\n \x01(\x0b\x32\x12.spamcheck.Project\x12\x1e\n\x05\x66iles\x18\x0b \x03(\x0b\x32\x0f.spamcheck.File\"\xa4\x02\n\x04User\x12%\n\x06\x65mails\x18\x01 \x03(\x0b\x32\x15.spamcheck.User.Email\x12\x0b\n\x03org\x18\x02 \x01(\t\x12\x10\n\x08username\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x0e\x61\x62use_metadata\x18\x05 \x03(\x0b\x32\".spamcheck.User.AbuseMetadataEntry\x12\n\n\x02id\x18\x06 \x01(\x05\x1a\x34\n\x12\x41\x62useMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\x1a(\n\x05\x45mail\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x10\n\x08verified\x18\x02 \x01(\x08\"3\n\x07Project\x12\x12\n\nproject_id\x18\x01 \x01(\x05\x12\x14\n\x0cproject_path\x18\x02 \x01(\t\"\x14\n\x04\x46ile\x12\x0c\n\x04path\x18\x01 \x01(\t\"\xd6\x02\n\x0bSpamVerdict\x12/\n\x07verdict\x18\x01 \x01(\x0e\x32\x1e.spamcheck.SpamVerdict.Verdict\x12\x11\n\x05\x65rror\x18\x02 \x01(\tB\x02\x18\x01\x12I\n\x10\x65xtra_attributes\x18\x03 \x03(\x0b\x32+.spamcheck.SpamVerdict.ExtraAttributesEntryB\x02\x18\x01\x12\r\n\x05score\x18\x04 \x01(\x02\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x11\n\tevaluated\x18\x06 \x01(\x08\x1a\x36\n\x14\x45xtraAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x07Verdict\x12\t\n\x05\x41LLOW\x10\x00\x12\x15\n\x11\x43ONDITIONAL_ALLOW\x10\x01\x12\x0c\n\x08\x44ISALLOW\x10\x02\x12\t\n\x05\x42LOCK\x10\x03\x12\x08\n\x04NOOP\x10\x04* \n\x06\x41\x63tion\x12\n\n\x06\x43REATE\x10\x00\x12\n\n\x06UPDATE\x10\x01\x32\xdd\x01\n\x10SpamcheckService\x12\x43\n\x13\x43heckForSpamGeneric\x12\x12.spamcheck.Generic\x1a\x16.spamcheck.SpamVerdict\"\x00\x12?\n\x11\x43heckForSpamIssue\x12\x10.spamcheck.Issue\x1a\x16.spamcheck.SpamVerdict\"\x00\x12\x43\n\x13\x43heckForSpamSnippet\x12\x12.spamcheck.Snippet\x1a\x16.spamcheck.SpamVerdict\"\x00\x62\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
79
14
 
80
15
  module Spamcheck
81
16
  Generic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("spamcheck.Generic").msgclass
@@ -8,7 +8,7 @@ module Spamcheck
8
8
  module SpamcheckService
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
@@ -3,6 +3,6 @@
3
3
  # Increment the patch version when making backard compatible bug fixes
4
4
  # Increment the minor version when adding functionality (that is backward compatible)
5
5
  # Increment the major version when making incompatible changes
6
- module SpamCheck
7
- VERSION = '1.2.0'
6
+ module Spamcheck
7
+ VERSION = '1.3.2'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spamcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
- - Ethan Urie
7
+ - GitLab Security Automation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -16,17 +16,17 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: 1.66.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
27
- description: Auto-generated gRPC client for SpamCheck.
26
+ version: 1.66.0
27
+ description: Auto-generated gRPC client for Spamcheck.
28
28
  email:
29
- - eurie@gitlab.com
29
+ - security-automation@gitlab.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
@@ -37,7 +37,7 @@ files:
37
37
  - "./ruby/spamcheck/spamcheck_pb.rb"
38
38
  - "./ruby/spamcheck/spamcheck_services_pb.rb"
39
39
  - "./ruby/spamcheck/version.rb"
40
- homepage: https://gitlab.com/gitlab-com/gl-security/engineering-and-research/automation-team/spam/spamcheck
40
+ homepage: https://gitlab.com/gitlab-org/gl-security/security-engineering/security-automation/spam/spamcheck
41
41
  licenses:
42
42
  - MIT
43
43
  metadata: {}
@@ -56,8 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubygems_version: 3.1.6
59
+ rubygems_version: 3.5.18
60
60
  signing_key:
61
61
  specification_version: 4
62
- summary: Auto-generated gRPC client for SpamCheck
62
+ summary: Auto-generated gRPC client for Spamcheck
63
63
  test_files: []