rubypitaya 3.19.3 → 3.19.4

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: 18140f25fcbb74be4d0d6903014f5e340b8a3f948604138c0e0e4fa1f3097424
4
- data.tar.gz: b33020321f0ccba59e661547155588996628057333aff033bda1ccc21a12175a
3
+ metadata.gz: 9d25bb92d925fd6ed7bfa0a8e62954db45115d8dcce76abee983e7e95d8e7b7b
4
+ data.tar.gz: d6af7eca4436eabc7c9801791043ff95b6ba1be649a0b78cefc9ad8ab3fe0418
5
5
  SHA512:
6
- metadata.gz: 1228431dfb5bc2d5ebd579251b9a2bdc6e7a9efcc84720bc3694bd21efdb78c07bf7c18effce78966fc4591ddb43e065ebf2979bb76fab4e4a62d0ed07cf24f6
7
- data.tar.gz: 76fa80c15de8da13c3e9397dcba88da1df4064ab27546d66ed5fa8ff97a9576354d28cd894582fcbb00cedb34f5210953861e0f2e5ed4c61e2d36b8a454f2e4d
6
+ metadata.gz: 44bb648f3a7adddfd3090b8989cf74f7b8dcbb82564b6d456e36a0708e24b0ab97f11e13f19d6d21b74a92e7d4b2d23c69e249f6e1e1e604e745f89a06d95683
7
+ data.tar.gz: 7f405401fee6926438565638e4d71d6f06b5d768e441a2a5704ef071ae92d20382e98bc43cb903bd2179d59fb1b8a39cae77fe61fe088e152077bccf775b3a25
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.19.3'
3
+ gem 'rubypitaya', '3.19.4'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.14.2'
@@ -105,7 +105,7 @@ GEM
105
105
  rspec-support (~> 3.13.0)
106
106
  rspec-support (3.13.1)
107
107
  ruby2_keywords (0.0.5)
108
- rubypitaya (3.19.3)
108
+ rubypitaya (3.19.4)
109
109
  activerecord (= 7.1.3.3)
110
110
  etcdv3 (= 0.11.6)
111
111
  google-protobuf (= 3.25.2)
@@ -144,7 +144,7 @@ DEPENDENCIES
144
144
  listen (= 3.9.0)
145
145
  pry (= 0.14.2)
146
146
  rspec (= 3.13.0)
147
- rubypitaya (= 3.19.3)
147
+ rubypitaya (= 3.19.4)
148
148
  sinatra-contrib (= 3.2.0)
149
149
 
150
150
  BUNDLED WITH
@@ -164,7 +164,8 @@ module RubyPitaya
164
164
  params = Parameters.new(message_json || {})
165
165
 
166
166
  session_id = request[:session][:id]
167
- session_uid = request[:session].fetch(:uid, '')
167
+ session_uid = request[:session].fetch(:uid, nil)
168
+ session_uid = session_uid.to_i unless session_uid.nil?
168
169
  session_data = JSON.parse(request[:session][:data], symbolize_names: true)
169
170
  frontend_id = request[:frontendID]
170
171
  metadata = request[:metadata]
@@ -15,7 +15,7 @@ module RubyPitaya
15
15
 
16
16
  nats_session = NatsSession.new(
17
17
  id: session.id,
18
- uid: session.uid,
18
+ uid: session.uid.to_s,
19
19
  data: session.data.to_json,
20
20
  )
21
21
 
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.19.3'
2
+ VERSION = '3.19.4'
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: 3.19.3
4
+ version: 3.19.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti