rubypitaya 3.13.0 → 3.14.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: ca410e84259e7e471daaba964b839b16b485b49ecd9c731bd85327509333e935
4
- data.tar.gz: 1b093150751824e11e70351511805b5210dcf2006eb813b5762fb225d1c71662
3
+ metadata.gz: bffdcf22b6825ba0654f97375e06f4910294b5f9690c00b7109fdaba3bf687fe
4
+ data.tar.gz: 5a67d67b4094a7af3d879d0fddb7e23208d2d7bca233178112cfcff75405368a
5
5
  SHA512:
6
- metadata.gz: 5d35d1aba56088818e89230f8818ff6793df72a13dc3bc9a4347b6eedfe7a376705234a3d16a2ca1c8353bf0205d4b2538e285f8d48c5e171c5164d2e6417497
7
- data.tar.gz: 325448b2369351408224add4751e8d9b9e572ca67840bf9645151b8ba2866bda602aba15811be16832ab66b87ccf90f77437057e6523fb6553b00baeb9c08e0b
6
+ metadata.gz: dddf9158f329df422d45dde7066dd3111b5da677d536f3ba25c9238571fddaced05df832728fa21495f40236f896e503307277a3f891032f03b99a6a78645d1f
7
+ data.tar.gz: 88a4266ec4db9532093fac4cddbffccb84475ee37d3c245adfa44db599e10dffbe0bad5222ef76994ae26bc0228773166d5cfe8e289a7993d7cc60ed0d898156
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.13.0'
3
+ gem 'rubypitaya', '3.14.0'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.14.2'
@@ -94,7 +94,7 @@ GEM
94
94
  rspec-support (~> 3.12.0)
95
95
  rspec-support (3.12.0)
96
96
  ruby2_keywords (0.0.5)
97
- rubypitaya (3.13.0)
97
+ rubypitaya (3.14.0)
98
98
  activerecord (= 7.0.4)
99
99
  etcdv3 (= 0.11.5)
100
100
  google-protobuf (= 3.21.12)
@@ -132,7 +132,7 @@ DEPENDENCIES
132
132
  listen (= 3.8.0)
133
133
  pry (= 0.14.2)
134
134
  rspec (= 3.12.0)
135
- rubypitaya (= 3.13.0)
135
+ rubypitaya (= 3.14.0)
136
136
  sinatra-contrib (= 3.0.5)
137
137
 
138
138
  BUNDLED WITH
@@ -195,7 +195,7 @@ module RubyPitaya
195
195
  }
196
196
  end
197
197
 
198
- response_json = JSON.generate(response.to_json)
198
+ response_json = JSON.generate(response)
199
199
  delta_time_seconds = ((Time.now.to_f - start_time_seconds) * 1000).round(2)
200
200
 
201
201
  @log.info "response [#{delta_time_seconds}ms] -> #{response_json}"
@@ -39,7 +39,7 @@ module RubyPitaya
39
39
 
40
40
  response = yield request
41
41
 
42
- nats_response = NatsResponse.new(data: response)
42
+ nats_response = NatsResponse.new(data: response.force_encoding('ascii-8bit'))
43
43
  nats_response_encoded = NatsResponse.encode(nats_response)
44
44
 
45
45
  @nats.publish(message.reply, nats_response_encoded)
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.13.0'
2
+ VERSION = '3.14.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-06 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg