rubypitaya 3.19.4 → 3.19.5

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: 9d25bb92d925fd6ed7bfa0a8e62954db45115d8dcce76abee983e7e95d8e7b7b
4
- data.tar.gz: d6af7eca4436eabc7c9801791043ff95b6ba1be649a0b78cefc9ad8ab3fe0418
3
+ metadata.gz: 4e04525368ea05cf248e75d4e9deaec4400e0703f9e538074f6ededcae1438a2
4
+ data.tar.gz: 823b7f85d61847844a8359899689cc4576d97d235f7df170f65b67efa0432643
5
5
  SHA512:
6
- metadata.gz: 44bb648f3a7adddfd3090b8989cf74f7b8dcbb82564b6d456e36a0708e24b0ab97f11e13f19d6d21b74a92e7d4b2d23c69e249f6e1e1e604e745f89a06d95683
7
- data.tar.gz: 7f405401fee6926438565638e4d71d6f06b5d768e441a2a5704ef071ae92d20382e98bc43cb903bd2179d59fb1b8a39cae77fe61fe088e152077bccf775b3a25
6
+ metadata.gz: 4e2f40adc3387843149e848e27af3b3a128ba3c0a5a301f8de3b332c5428c566ff0747c0dc52871ee36c5dda27cefd93385840e25bb8981ec4b4bde1a98e4f83
7
+ data.tar.gz: 6265a4585d80727db4303644e1ccb217c27699d948ee5ffaccaf61d661ae808eab0e40c808720f1be414f91dab9cbed12ccc369ef2c28cbbdd1d1ed38feb2832
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.19.4'
3
+ gem 'rubypitaya', '3.19.5'
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.4)
108
+ rubypitaya (3.19.5)
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.4)
147
+ rubypitaya (= 3.19.5)
148
148
  sinatra-contrib (= 3.2.0)
149
149
 
150
150
  BUNDLED WITH
@@ -164,8 +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, nil)
168
- session_uid = session_uid.to_i unless session_uid.nil?
167
+ session_uid = request[:session][:uid]
168
+ session_uid = !session_uid.blank? ? session_uid.to_i : nil
169
169
  session_data = JSON.parse(request[:session][:data], symbolize_names: true)
170
170
  frontend_id = request[:frontendID]
171
171
  metadata = request[:metadata]
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.19.4'
2
+ VERSION = '3.19.5'
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.4
4
+ version: 3.19.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti