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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ba06d282ec3a742d08505f409951ee6b39e01445b0439bef525f58fdcca1109
4
- data.tar.gz: cf652311aeb13c3e2934bb5a32373c31f116caee1ad66eab39d194abf60d8ea8
3
+ metadata.gz: 0d0f219a4759f63e15bef3de7324daa7a4e66d57264362e32dafc6ef606d8adf
4
+ data.tar.gz: 753de1ebe7bab4265fce91c22db903eefb4bd0f818de0cff09b2ff047500acd2
5
5
  SHA512:
6
- metadata.gz: 25e9ea805b25183307e447f32978fe45bff30814e3accbfffc20022cf4a94febefd790703e4877dd0770329685ffce8b5cda1a0a8ae18987d23f114c3f825fc6
7
- data.tar.gz: b86feb4417f3a3f4b1327bb7d21200937f51c4313555d6f5e68bde394a38b2f50aaee52572ea49bde0ac3027809610c69beb7846425b7c7a393020b6f552915e
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.6'
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.UserRequest" do
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
- UserRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("package.UserRequest").msgclass
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
@@ -14,7 +14,7 @@ module Package
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'package.Package'
16
16
 
17
- rpc :GetUserPackage, UserRequest, AccountPackagesReply
17
+ rpc :GetAccountPackage, AccountRequest, AccountPackagesReply
18
18
  rpc :GetPackage, PackageRequest, PackageReply
19
19
  rpc :AddPackage, PackageRequest, PackageReply
20
20
  rpc :AddPackageToAccount, AccountPackageRequest, AccountPackageReply
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: courier_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruiyang Zhang