alain 0.7.0 → 0.7.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: ded83488c4bf5771cf60b3b9bd5a9123b532b0577d28a1f4a0728d52e1608f13
4
- data.tar.gz: caeedafa0b1c639cff4a2c31c8a6ecbb124495f74773e777759b5a66c97b883e
3
+ metadata.gz: c267e3d5de58262224561ea0d8ba30001b34fab33555dc51504964ba3452bdf3
4
+ data.tar.gz: 9ce081427153f8bcca6ad045ad5e670fb459c9b3eee6308b67fa4e7a625b4b7f
5
5
  SHA512:
6
- metadata.gz: 3cc991d45321665d51523edac56822cd9114989573fbc33afd80869b7383794c718e698da63b112e58412cc6b31275ee220c14fceee0b316429c578159ef9fa2
7
- data.tar.gz: 2b00bd94f99a8ba77b369f922e6f868939813c3a2b917e2bd97f646d707745e7401ae94c80b6978efa4d21de31f3c030aa7b7f140c1aca7f02565ea351762875
6
+ metadata.gz: ca631fe453cc076045716207acd64bc2fc4cec1cec873747c17ecfca155cfe9f31625d678a893f21ad1fa7cb49460c9f1ec889998ce7e99ed6f99ea058da8248
7
+ data.tar.gz: aefd56ebb7d94be2254cc98c013afadaafe09ffb79cd08b8bc85db4ce02a415884d738c9a2ad06adbe74b7b593af1258fd902f41be644f32a135a1b9bd6e7cfa
data/lib/alain/cargo.rb CHANGED
@@ -50,13 +50,13 @@ module Alain #:nodoc:
50
50
 
51
51
  def dependencies(server_conf)
52
52
  {
53
- 'prost' => %(prost = "0.9"),
54
- 'prost-types' => %(prost-types = "0.9"),
53
+ 'prost' => %(prost = "0.10"),
54
+ 'prost-types' => %(prost-types = "0.10"),
55
55
  'signal-hook' => %(signal-hook = "0.3.9"),
56
56
  'signal-hook-tokio' => %(signal-hook-tokio = { version = "0.3.0", features = ["futures-v0_3"] }),
57
57
  'tokio' => %(tokio = { version = "1.0", features = ["full"] }),
58
58
  'tokio-stream' => %(tokio-stream = "0.1.2"),
59
- 'tonic' => %(tonic = "0.6"),
59
+ 'tonic' => %(tonic = "0.7"),
60
60
  'triggered' => %(triggered = "0.1.2")
61
61
  }.tap do |dep|
62
62
  if server_conf
@@ -14,7 +14,7 @@ use self::<%= proto.service_name :snake %>_service::<%= proto.service_name %>Ser
14
14
 
15
15
  pub async fn start_server(addr: SocketAddr, signal: Listener) -> Result<(), Box<dyn std::error::Error>> {
16
16
  let server = <%= proto.service_name %>Service{};
17
- println!("{} {} ready", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
17
+ println!("{} {} ready, Listen {}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"), addr);
18
18
  Server::builder()
19
19
  .add_service(<%= proto.service_name %>Server::new(server))
20
20
  .serve_with_shutdown(addr, signal).await.unwrap();
data/lib/alain/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alain
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chuma Takahiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-29 00:00:00.000000000 Z
11
+ date: 2022-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomlrb
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
- rubygems_version: 3.1.2
71
+ rubygems_version: 3.3.5
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: Code generator for rust prost