protosum2 0.6.0 → 0.9.17

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: 6bd6691184f5ad01296d615a3fea6686882013639c47b5836f8ee865adfea8ab
4
- data.tar.gz: 45ab0af6fba815bb06dff0d15b813fedd3e4b6aa7f3ec53f06578def5d56f32b
3
+ metadata.gz: 7b826ce75f5e4f36c5378737bf83ef6f8d53b24cac0cef53c24bc2fff9d242d1
4
+ data.tar.gz: cfe2226818ec8b10a0ddaed8c4ad5edbeb088ad0ac3bf7f127884be5f455f3b9
5
5
  SHA512:
6
- metadata.gz: 324df212e47ead1a31ac78f4c0132daef75a647bca1068c1ffc679d1a5f90d5e0c7656b82ff8e16287737969ad40223526338f4d5c901f14a948611f869662fb
7
- data.tar.gz: 71405e008a8f4907d28f026d505a61853a9b2fa7b03bf49be73a47bb536562ce7b8fbe521afd67d8e8af67b2bf5bf2c88927b9251f50763f23d2d56cee11f4db
6
+ metadata.gz: dd7bdefd6c48bde84b286901039b02d7c6e6f40b2b1725fd85e27999107eb957eff1d3e5c5bcdd463d352f2ea3ca498b99731013b7f463b8c0447cebff874949
7
+ data.tar.gz: cad519243d9b321072ba7fe788098bbbd89f031cacce057f6898b45369c569e2591c9ea3057e27ce91bf79a1e5c5bfddf5944b878dc31dd5656f96bb32473307
@@ -0,0 +1,26 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: feature/feature_api.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("feature/feature_api.proto", :syntax => :proto3) do
10
+ add_message "feature.feature_api_pb.Point" do
11
+ optional :latitude, :int32, 1
12
+ end
13
+ add_message "feature.feature_api_pb.Feature" do
14
+ optional :code, :int32, 1
15
+ end
16
+ end
17
+ end
18
+
19
+ module Protosum
20
+ module Feature
21
+ module FeatureApiPb
22
+ Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Point").msgclass
23
+ Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Feature").msgclass
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: feature/feature_api.proto for package 'Protosum.Feature.FeatureApiPb'
3
+
4
+ require 'grpc'
5
+ require 'feature/feature_api_pb'
6
+
7
+ module Protosum
8
+ module Feature
9
+ module FeatureApiPb
10
+ module FeatureService
11
+ class Service
12
+
13
+ include ::GRPC::GenericService
14
+
15
+ self.marshal_class_method = :encode
16
+ self.unmarshal_class_method = :decode
17
+ self.service_name = 'feature.feature_api_pb.FeatureService'
18
+
19
+ rpc :GetFeature, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
20
+ rpc :GetFeatures, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
21
+ end
22
+
23
+ Stub = Service.rpc_stub_class
24
+ end
25
+ end
26
+ end
27
+ end
@@ -10,7 +10,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  optional :type, :int64, 2
11
11
  optional :user_name, :int64, 3
12
12
  optional :title, :string, 4
13
- optional :description, :string, 5
14
13
  end
15
14
  end
16
15
  end
@@ -3,6 +3,8 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/annotations_pb'
7
+
6
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
9
  add_file("proto/feature/feature_api.proto", :syntax => :proto3) do
8
10
  add_message "feature.feature_api_pb.Point" do
@@ -17,6 +17,7 @@ module Protosum
17
17
  self.service_name = 'feature.feature_api_pb.FeatureService'
18
18
 
19
19
  rpc :GetFeature, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
20
+ rpc :GetFeatures, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
20
21
  end
21
22
 
22
23
  Stub = Service.rpc_stub_class
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Protosum2
4
- VERSION = "0.6.0"
4
+ VERSION = "0.9.17"
5
5
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protosum2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.9.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - igsr5
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-03 00:00:00.000000000 Z
11
+ date: 2022-04-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Write a longer description or delete this line.
14
14
  email:
@@ -17,7 +17,6 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - ".rubocop.yml"
21
20
  - CHANGELOG.md
22
21
  - Gemfile
23
22
  - Gemfile.lock
@@ -25,16 +24,16 @@ files:
25
24
  - Rakefile
26
25
  - bin/console
27
26
  - bin/setup
28
- - lib/gen/gen.rb
29
- - lib/gen/post_pb.rb
30
- - lib/gen/proto/feature/feature_api_pb.rb
31
- - lib/gen/proto/feature/feature_api_services_pb.rb
32
- - lib/gen/proto/post_pb.rb
33
- - lib/gen/proto/user_pb.rb
34
- - lib/gen/user_pb.rb
27
+ - lib/feature/feature_api_pb.rb
28
+ - lib/feature/feature_api_services_pb.rb
29
+ - lib/post_pb.rb
30
+ - lib/proto/feature/feature_api_pb.rb
31
+ - lib/proto/feature/feature_api_services_pb.rb
32
+ - lib/proto/post_pb.rb
33
+ - lib/proto/user_pb.rb
35
34
  - lib/protosum2.rb
36
35
  - lib/protosum2/version.rb
37
- - protosum2.gemspec
36
+ - lib/user_pb.rb
38
37
  - sig/protosum2.rbs
39
38
  homepage: https://github.com/igsr5/protosum
40
39
  licenses: []
@@ -43,7 +42,7 @@ metadata:
43
42
  homepage_uri: https://github.com/igsr5/protosum
44
43
  source_code_uri: https://github.com/igsr5/protosum
45
44
  changelog_uri: https://github.com/igsr5/protosum
46
- post_install_message:
45
+ post_install_message:
47
46
  rdoc_options: []
48
47
  require_paths:
49
48
  - lib
@@ -58,8 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
57
  - !ruby/object:Gem::Version
59
58
  version: '0'
60
59
  requirements: []
61
- rubygems_version: 3.3.3
62
- signing_key:
60
+ rubygems_version: 3.3.7
61
+ signing_key:
63
62
  specification_version: 4
64
63
  summary: Write a short summary, because RubyGems requires one.
65
64
  test_files: []
data/.rubocop.yml DELETED
@@ -1,13 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.6
3
-
4
- Style/StringLiterals:
5
- Enabled: true
6
- EnforcedStyle: double_quotes
7
-
8
- Style/StringLiteralsInInterpolation:
9
- Enabled: true
10
- EnforcedStyle: double_quotes
11
-
12
- Layout/LineLength:
13
- Max: 120
data/lib/gen/gen.rb DELETED
File without changes
data/protosum2.gemspec DELETED
@@ -1,38 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/protosum2/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "protosum2"
7
- spec.version = Protosum2::VERSION
8
- spec.authors = ["igsr5"]
9
- spec.email = ["i@gsr5.dev"]
10
-
11
- spec.summary = "Write a short summary, because RubyGems requires one."
12
- spec.description = "Write a longer description or delete this line."
13
- spec.homepage = "https://github.com/igsr5/protosum"
14
- spec.required_ruby_version = ">= 2.6.0"
15
-
16
- spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
-
18
- spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = "https://github.com/igsr5/protosum"
20
- spec.metadata["changelog_uri"] = "https://github.com/igsr5/protosum"
21
-
22
- # Specify which files should be added to the gem when it is released.
23
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
- `git ls-files -z`.split("\x0").reject do |f|
26
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
27
- end
28
- end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
32
-
33
- # Uncomment to register a new dependency of your gem
34
- # spec.add_dependency "example-gem", "~> 1.0"
35
-
36
- # For more information and examples about making a new gem, check out our
37
- # guide at: https://bundler.io/guides/creating_gem.html
38
- end