rubypitaya 2.16.0 → 2.17.0

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: e4512ea6e0a637413e97896041d88fced36d78df993f3cce20dec3f666948588
4
- data.tar.gz: f670294a5072062f87f575ae499c53e196437a6b8fae5025b2b6adfbceba59b1
3
+ metadata.gz: 90b11b45f712986bf00e347425a7f4f237fd540ba4ab74c6cdb87b5a0fe795d2
4
+ data.tar.gz: 58ab166182fe804946ac6f42a25f16ca1902ce969112b12ee716083226d4b7cb
5
5
  SHA512:
6
- metadata.gz: 2caa669656cc57910c9cd09d992c802863a86c14ecfc3490a7b0944dd45bfb75b006eadf67bc407eef08fde8166c655d9252ff1743aca4587120efe0eb247ff6
7
- data.tar.gz: 148854a900d3aeeed771b31de1e8edbf294a70880836ad6fa18e8d7282a04ac1074f0c9e1962ff97958195aaf2895679ebbbff2dfd32f46c35496e0fe25e6d5d
6
+ metadata.gz: c06fc55a0ec2749b56658aa3ab579329393e341d789a764966361877c04d46bcd1b48ca2677c8f692115f3f67913b74787264950c80ea3604c60354831d29186
7
+ data.tar.gz: e5cbfa9e030ecfa0a41bbdd2604f559fd7d8370eae633d13f05857b9f5bcc556b0b9168a232b1a4f329ebad2596dfd46c6d336250832ff75514b688d11f4033c
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.16.0'
3
+ gem 'rubypitaya', '2.17.0'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.14.0'
@@ -3,7 +3,7 @@ GIT
3
3
  revision: 9c28f2a16f3140d24f019164a254155f524f2593
4
4
  branch: ruby2.7.2
5
5
  specs:
6
- rubypitaya (2.16.0)
6
+ rubypitaya (2.17.0)
7
7
  activerecord (= 6.1.3)
8
8
  etcdv3 (= 0.10.2)
9
9
  eventmachine (= 1.2.7)
@@ -141,7 +141,7 @@ module RubyPitaya
141
141
 
142
142
  def run_nats_connection
143
143
  @nats_connector.connect do |request|
144
- start_time_seconds = Time.now.to_i
144
+ start_time_seconds = Time.now.to_f
145
145
 
146
146
  message_route = request[:msg][:route]
147
147
  message_data = request[:msg][:data]
@@ -171,9 +171,9 @@ module RubyPitaya
171
171
  @postman, @redis_connector.redis,
172
172
  @setup, @config, @bll, @log, params)
173
173
 
174
- delta_time_seconds = Time.now.to_i - start_time_seconds
174
+ delta_time_seconds = ((Time.now.to_f - start_time_seconds) * 1000).round(2)
175
175
 
176
- @log.info "response [#{delta_time_seconds}s] -> #{response.to_json}"
176
+ @log.info "response [#{delta_time_seconds}ms] -> #{response.to_json}"
177
177
 
178
178
  response
179
179
  end
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.16.0'
2
+ VERSION = '2.17.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti