rubypitaya 2.13.1 → 2.14.0

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: 23cbb5624cec3786159c06572086f1f543a4c60a1bfb540dfbe6a9ecd28be26f
4
- data.tar.gz: bd430972699c7a6f8032a1eafc3ffb5d88a56990bff07620b2fddf056547f77b
3
+ metadata.gz: ef2357fb173bf33d95bf3d254c4eb6ff8943c420372dd4abccf1a0c40a5d43d8
4
+ data.tar.gz: c0c66d8b81f67c8081d0ac0fa3dff7f9036e8e54cc3ff4e3ea370427cf067adb
5
5
  SHA512:
6
- metadata.gz: d5bf9fc6df781955870cf20b5deab4b49a9f2af2dec32bbdcb6edd75eb6f56a8ea540d6ffdf4b08f487ccefe07818ee9d629deefe58fdb24d361cf44f75ba62b
7
- data.tar.gz: ece5993c58ade235c4804dfa542e64b8a98c0774aa23187b07eca2102434780e3f80c5a1fc3fe4a093c8020949a09aebde1558d85d430d32a72ac066eed30e7d
6
+ metadata.gz: 3568a02b718ec1b9f60063c01e1ef69256fdd45c3d4907a017ae668326e9486aff1f638e11abb068bd5e446efb93cdd4eaa737843a366609da3e7bf807950ef3
7
+ data.tar.gz: 9de2d78d09e2a4aaf15df8e6d5f269a16aedd798ee72083e83bd537bf941d2d954cc0f1910e7234b12367827e544ac97f2c62926bc4d5e6aac27ab4628d60321
@@ -94,7 +94,7 @@ def show_help_create_migration
94
94
  end
95
95
 
96
96
  def show_help_add_plugin
97
- puts 'Usage: $ rubypitaya create-migration [migration_name]'
97
+ puts 'Usage: $ rubypitaya add-plugin [plugin_git_link]'
98
98
  puts ''
99
99
  end
100
100
 
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.13.1'
3
+ gem 'rubypitaya', '2.14.0'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.12.2'
@@ -84,7 +84,7 @@ GEM
84
84
  rspec-support (~> 3.8.0)
85
85
  rspec-support (3.8.3)
86
86
  ruby2_keywords (0.0.2)
87
- rubypitaya (2.13.1)
87
+ rubypitaya (2.14.0)
88
88
  activerecord (= 6.0.2)
89
89
  etcdv3 (= 0.10.2)
90
90
  eventmachine (= 1.2.7)
@@ -123,7 +123,7 @@ DEPENDENCIES
123
123
  listen (= 3.2.1)
124
124
  pry (= 0.12.2)
125
125
  rspec (= 3.8.0)
126
- rubypitaya (= 2.13.1)
126
+ rubypitaya (= 2.14.0)
127
127
 
128
128
  BUNDLED WITH
129
129
  1.17.2
@@ -19,11 +19,11 @@ Feature: Player
19
19
  Then server should response the following json:
20
20
  """
21
21
  {
22
- 'code': 'RP-200',
23
- 'data': {
24
- 'name': 'Someone',
25
- 'gold': 15,
26
- 'userId': '00000000-0000-0000-0000-000000000001'
22
+ "code": "RP-200",
23
+ "data": {
24
+ "name": "Someone",
25
+ "gold": 15,
26
+ "userId": "00000000-0000-0000-0000-000000000001"
27
27
  }
28
28
  }
29
29
  """
@@ -9,8 +9,8 @@ Given(/^[Ss]erver should response ["'](.+)["'] as ["'](.+)["']$/) do |response_k
9
9
  end
10
10
 
11
11
  Given(/^[Ss]erver should response the following json[:]*$/) do |expected_json|
12
- expected_json = expected_json.delete("\n").delete(' ')
13
- response_json = @handler_helper.response.to_json.gsub("\"", "'")
12
+ expected_json = JSON.generate(JSON.parse(expected_json.strip))
13
+ response_json = JSON.generate(@handler_helper.response)
14
14
 
15
15
  expect(response_json).to eq(expected_json)
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.13.1'
2
+ VERSION = '2.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: 2.13.1
4
+ version: 2.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: 2021-01-09 00:00:00.000000000 Z
11
+ date: 2021-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg