spamcheck 1.3.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: 7efbc978f53943a1b88f803e3083dfe697c02e651e66d942a5404b53c65e1d6d
4
- data.tar.gz: 1f73040121588a9db3f3bdc7c95c8f2d2fdcfc7c0ec5f2ff5c7785f72d9e6a48
3
+ metadata.gz: d0a9a289a31cf52e5e2d16f5463c294844edfd580815aab39405cc638ca5d675
4
+ data.tar.gz: e3a2042ca3e0c9cf0052a1bc76a081076f449cfa10946087c8c4bb451d646cfc
5
5
  SHA512:
6
- metadata.gz: bbea1f84f27a9132b61ed0a5773eaa8bbf587160479b20c01662c32e441e0cffd695faa4c9cf9254ea304d8ebab6cc366f83b5155bea26d5649744b3bf7e3d3d
7
- data.tar.gz: 2c97738f3554a7250a59ac954a03692e06f4546644b307cb0839f9dac6ad112c16e8b99446ac43113dc5b23fd1983a6af80e72cb9fe9702048ad0601123e8036
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,83 +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
- map :abuse_metadata, :string, :float, 5
47
- optional :id, :int32, 6
48
- end
49
- add_message "spamcheck.User.Email" do
50
- optional :email, :string, 1
51
- optional :verified, :bool, 2
52
- end
53
- add_message "spamcheck.Project" do
54
- optional :project_id, :int32, 1
55
- optional :project_path, :string, 2
56
- end
57
- add_message "spamcheck.File" do
58
- optional :path, :string, 1
59
- end
60
- add_message "spamcheck.SpamVerdict" do
61
- optional :verdict, :enum, 1, "spamcheck.SpamVerdict.Verdict"
62
- optional :error, :string, 2
63
- map :extra_attributes, :string, :string, 3
64
- optional :score, :float, 4
65
- optional :reason, :string, 5
66
- optional :evaluated, :bool, 6
67
- end
68
- add_enum "spamcheck.SpamVerdict.Verdict" do
69
- value :ALLOW, 0
70
- value :CONDITIONAL_ALLOW, 1
71
- value :DISALLOW, 2
72
- value :BLOCK, 3
73
- value :NOOP, 4
74
- end
75
- add_enum "spamcheck.Action" do
76
- value :CREATE, 0
77
- value :UPDATE, 1
78
- end
79
- end
80
- 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)
81
14
 
82
15
  module Spamcheck
83
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
@@ -4,5 +4,5 @@
4
4
  # Increment the minor version when adding functionality (that is backward compatible)
5
5
  # Increment the major version when making incompatible changes
6
6
  module Spamcheck
7
- VERSION = '1.3.0'
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.3.0
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Security Automation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-07 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,14 +16,14 @@ 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'
26
+ version: 1.66.0
27
27
  description: Auto-generated gRPC client for Spamcheck.
28
28
  email:
29
29
  - security-automation@gitlab.com
@@ -56,7 +56,7 @@ 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
62
  summary: Auto-generated gRPC client for Spamcheck