rubypitaya 2.27.0 → 2.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubypitaya/app-template/Gemfile +1 -1
- data/lib/rubypitaya/app-template/Gemfile.lock +2 -2
- data/lib/rubypitaya/app-template/app/migrations/1606736477_create_player_migration.rb +1 -1
- data/lib/rubypitaya/app-template/features/step_definitions/rubypitaya_steps.rb +2 -0
- data/lib/rubypitaya/core/main.rb +1 -1
- data/lib/rubypitaya/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb5e4a356d604c190808a78bfb78284ab3a4624b07721029be7546d76a80503
|
4
|
+
data.tar.gz: 0371f811a23ffa2ba401490e347ccb05b4f3d1e05aa11322bc1e745fc6c6cb6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33663f560eeb0f5c1847c7a121d5cf78ce8eaca02a797b0cac7006686a3f8293487f0318ebac566d3e88f01022f9599f8678c457b042aa332d3d13a9034e24f
|
7
|
+
data.tar.gz: b9ef69f4365798e21af76f538480073a38189ab40d4d637b385f1353fd7464fd93f73db873f44baeef6fa86e38d7478b7d091cfcf5d26af2c6f3b5a2d128de51
|
@@ -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.
|
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.
|
155
|
+
rubypitaya (= 2.27.1)
|
156
156
|
|
157
157
|
BUNDLED WITH
|
158
158
|
2.1.4
|
@@ -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
|
|
data/lib/rubypitaya/core/main.rb
CHANGED
@@ -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
|
|
data/lib/rubypitaya/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|