rubypitaya 2.27.0 → 2.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e382eff25c29ad543511d22efa945c52d1b770c7e9237ab46338db08d087842f
4
- data.tar.gz: '08e25deffa96ab5acc7b3e239f8b9515355f7e9308228b4d7cfb8e25528403d6'
3
+ metadata.gz: bbb5e4a356d604c190808a78bfb78284ab3a4624b07721029be7546d76a80503
4
+ data.tar.gz: 0371f811a23ffa2ba401490e347ccb05b4f3d1e05aa11322bc1e745fc6c6cb6c
5
5
  SHA512:
6
- metadata.gz: c57f7eb3b0637bd463efc43185dd1c8a543b275f7db1ed2739e84b4d547f5c21d9519c1d910d9418ce7f19e273d24746b907e8ff32c334727ba0897b06eec66d
7
- data.tar.gz: 29ea1d9037c932b84e0016316169c5e2821b166728075512cdaf132c110cf679d9544168881b65fb8bd9e701654d786eb05bba366ca2d272dfb0e26e66af348c
6
+ metadata.gz: b33663f560eeb0f5c1847c7a121d5cf78ce8eaca02a797b0cac7006686a3f8293487f0318ebac566d3e88f01022f9599f8678c457b042aa332d3d13a9034e24f
7
+ data.tar.gz: b9ef69f4365798e21af76f538480073a38189ab40d4d637b385f1353fd7464fd93f73db873f44baeef6fa86e38d7478b7d091cfcf5d26af2c6f3b5a2d128de51
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.27.0'
3
+ gem 'rubypitaya', '2.27.1'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.14.0'
@@ -111,7 +111,7 @@ GEM
111
111
  rspec-support (~> 3.10.0)
112
112
  rspec-support (3.10.2)
113
113
  ruby2_keywords (0.0.5)
114
- rubypitaya (2.27.0)
114
+ rubypitaya (2.27.1)
115
115
  activerecord (= 6.1.4.1)
116
116
  etcdv3 (= 0.11.3)
117
117
  mongo (= 2.15.0)
@@ -152,7 +152,7 @@ DEPENDENCIES
152
152
  listen (= 3.4.1)
153
153
  pry (= 0.14.0)
154
154
  rspec (= 3.10.0)
155
- rubypitaya (= 2.27.0)
155
+ rubypitaya (= 2.27.1)
156
156
 
157
157
  BUNDLED WITH
158
158
  2.1.4
@@ -1,6 +1,6 @@
1
1
  require 'active_record'
2
2
 
3
- class CreatePlayerMigration < ActiveRecord::Migration[5.1]
3
+ class CreatePlayerMigration < ActiveRecord::Migration[6.1]
4
4
 
5
5
  enable_extension 'pgcrypto'
6
6
 
@@ -12,6 +12,8 @@ Given(/^[Ss]erver should response the following json[:]*$/) do |expected_json|
12
12
  expected_json = JSON.generate(JSON.parse(expected_json.strip))
13
13
  response_json = JSON.generate(@handler_helper.response)
14
14
 
15
+ puts JSON.pretty_generate(@handler_helper.response) if expected_json != response_json
16
+
15
17
  expect(response_json).to eq(expected_json)
16
18
  end
17
19
 
@@ -158,7 +158,7 @@ module RubyPitaya
158
158
 
159
159
  message_route = request[:msg][:route]
160
160
  message_data = request[:msg][:data] || {}
161
- message_data = JSON.parse(message_data)
161
+ message_data = JSON.parse(message_data) if message_data.class == String
162
162
 
163
163
  params = Parameters.new(message_data)
164
164
 
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.27.0'
2
+ VERSION = '2.27.1'
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: 2.27.0
4
+ version: 2.27.1
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: 2021-09-02 00:00:00.000000000 Z
11
+ date: 2021-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg