courier_spec 0.2.0 → 0.2.1

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: a4ca9859fafb184147382d468f8cf9657be8cd9becdc41fdddfc69f0d0f3c338
4
- data.tar.gz: 88018603437615c0257e891b92416e5eaf5dff7e38cc4d901cf87993f41d06f5
3
+ metadata.gz: ab1738fc13b607f964ae57c9ee139e6bfeec567e851f06b0c50f33617fb663a9
4
+ data.tar.gz: 2afc6f0ba19f52d9a2f733fe4a8c76159b2ca81e723d96d007d8110e192f3c0a
5
5
  SHA512:
6
- metadata.gz: 39d681ae2949c6b57e34eec25fe8390ab53590c083f73c103cf2d40654e7cb0128e67f956a76af2a50826ce30b70eb87927ab19811113c3e3c9f1a6e6796fd23
7
- data.tar.gz: b10165e3be445caecb7318cc018e6900a2434c5b5556e37dd135777e11e28bb89d3b49685f438eacc49b3e328700792808f62b87f7e417e5a9abe338d241d1ea
6
+ metadata.gz: c70274e5fa6ca01d3a1f0d9108b889e8ef1f265cb2d800e934fe1ace203be6ebef882c24cad9b15bd938460727098e9bd6cdc745030d6e413d9ebc9315eb684f
7
+ data.tar.gz: 2ee0c35d6d472e81da0ceecbf1af67bc82de73c3e34cb79b3628ce9cce8249c7f803dad4abe214e91e6f7e107c42bb6fea5cfcb6f3175bc4ed39669eb2026f87
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.2.0'
7
+ spec.version = '0.2.1'
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/balance_pb.rb CHANGED
@@ -35,12 +35,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
35
35
  optional :status_code, :string, 1
36
36
  end
37
37
  add_message "balance.BalanceRequest" do
38
- optional :msisdn, :int64, 1
39
- optional :amount, :int64, 2
40
- optional :currency, :string, 3
41
- optional :transaction_id, :string, 4
42
- end
43
- add_message "balance.BalanceReply" do
44
38
  optional :user_id, :string, 1
45
39
  optional :carrier_id, :string, 2
46
40
  end
@@ -71,7 +65,6 @@ module Balance
71
65
  DeductBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.DeductBalanceRequest").msgclass
72
66
  DeductBalanceReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.DeductBalanceReply").msgclass
73
67
  BalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceRequest").msgclass
74
- BalanceReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceReply").msgclass
75
68
  BalancesReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalancesReply").msgclass
76
69
  BalanceItemReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceItemReply").msgclass
77
70
  BalanceItemReply::BalanceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceItemReply.BalanceType").enummodule
@@ -14,9 +14,9 @@ module Balance
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'balance.Balance'
16
16
 
17
- rpc :GetBalance, BalanceRequest, BalanceReply
17
+ rpc :GetBalance, BalanceRequest, BalanceItemReply
18
18
  rpc :GetBalances, BalanceRequest, BalancesReply
19
- rpc :SetBalance, BalanceRequest, BalanceReply
19
+ rpc :SetBalance, BalanceRequest, BalanceItemReply
20
20
  rpc :AddBalance, AddBalanceRequest, AddBalanceReply
21
21
  rpc :DeductBalance, DeductBalanceRequest, DeductBalanceReply
22
22
  end
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruiyang Zhang