courier_spec 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/courier_spec.gemspec +1 -1
- data/lib/package_pb.rb +3 -3
- data/lib/package_services_pb.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d0f219a4759f63e15bef3de7324daa7a4e66d57264362e32dafc6ef606d8adf
|
4
|
+
data.tar.gz: 753de1ebe7bab4265fce91c22db903eefb4bd0f818de0cff09b2ff047500acd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76bb5d44374b061cc4723af597044488a5d0894b701e8e8d87c8dd23c69139ebe1c01a3d17682a4311904478f40725ea7314df3ecc40186c0d8e2b9e779f1e0d
|
7
|
+
data.tar.gz: 4333e7d1929ace18d4a23c245458eb0b57c22afd56397fd9f6d3da35fdbc2d4ec2b0b401266835bf0bad5a38ed952f6d679f4241005cea8644f4f0cbdc85057c
|
data/courier_spec.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'courier_spec'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.7'
|
8
8
|
spec.date = '2019-09-12'
|
9
9
|
spec.summary = "Courier Spec for proto files!"
|
10
10
|
spec.description = "The gem is the generated files for proto file"
|
data/lib/package_pb.rb
CHANGED
@@ -5,7 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
7
|
add_file("proto/package.proto", :syntax => :proto3) do
|
8
|
-
add_message "package.
|
8
|
+
add_message "package.AccountRequest" do
|
9
9
|
optional :msisdn, :int64, 1
|
10
10
|
end
|
11
11
|
add_message "package.AccountPackageReply" do
|
@@ -36,14 +36,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
36
|
optional :expiration, :int64, 6
|
37
37
|
end
|
38
38
|
add_message "package.AccountPackageRequest" do
|
39
|
+
optional :account, :message, 1, "package.AccountRequest"
|
39
40
|
optional :package, :message, 2, "package.PackageRequest"
|
40
|
-
optional :user, :message, 1, "package.UserRequest"
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
45
|
module Package
|
46
|
-
|
46
|
+
AccountRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("package.AccountRequest").msgclass
|
47
47
|
AccountPackageReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("package.AccountPackageReply").msgclass
|
48
48
|
AccountPackagesReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("package.AccountPackagesReply").msgclass
|
49
49
|
PackageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("package.PackageRequest").msgclass
|
data/lib/package_services_pb.rb
CHANGED
@@ -14,7 +14,7 @@ module Package
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'package.Package'
|
16
16
|
|
17
|
-
rpc :
|
17
|
+
rpc :GetAccountPackage, AccountRequest, AccountPackagesReply
|
18
18
|
rpc :GetPackage, PackageRequest, PackageReply
|
19
19
|
rpc :AddPackage, PackageRequest, PackageReply
|
20
20
|
rpc :AddPackageToAccount, AccountPackageRequest, AccountPackageReply
|