rubypitaya 3.3.6 → 3.3.7

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: 534b8bf854794eab64b53a7f550a18a8bc60b0f13b41ba8f75dba4e58506d319
4
- data.tar.gz: b76c9e552bdc04d4bdcfabafa94eeeeda84fca483dec6df5c00cbd74c43e0816
3
+ metadata.gz: 9de06df9189f69c78f1c03512f6fada275ee1bdcd590ffe1810da2b62dce14f6
4
+ data.tar.gz: 5848c25207a857715972ff3cef0f705e30872a1b2bb702ccf89d41e3f49035dc
5
5
  SHA512:
6
- metadata.gz: 0420eda040f59d7d06913e3352faea670f19536d3435c9e3c2094986ec4bd8b81f2272cd1845e05791695ac610713e652a3985b2e62147b1b66d57e19bed220f
7
- data.tar.gz: f0f2da6df0dbd54511b0eab8eacbcd98bd07a03a2e285bbd1cd1fb1d8692f71866252f8000a04af5937dfeee25aeacb6e4c834eac14a99115e6a9c64799ccd12
6
+ metadata.gz: 35c5eb0d8a9d3bb497159ba40517126d8749f5d467fa4b632f75d07de5f4692ba848a72540ed375a976853713fe7d6c6900b7aee177ccafecb2e548d8782c327
7
+ data.tar.gz: 33ec57d8e7f46efe56804806d086d2708a1a9912469fc23a85a03b6927047460cb11f2f96dcdcfae195539b3f980d783f69ceda3f0ad852de07b6cdb752e0442
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.3.6'
3
+ gem 'rubypitaya', '3.3.7'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.14.1'
@@ -103,7 +103,7 @@ GEM
103
103
  rspec-support (~> 3.10.0)
104
104
  rspec-support (3.10.3)
105
105
  ruby2_keywords (0.0.5)
106
- rubypitaya (3.3.6)
106
+ rubypitaya (3.3.7)
107
107
  activerecord (= 6.1.4.1)
108
108
  etcdv3 (= 0.11.4)
109
109
  google-protobuf (= 3.18.1)
@@ -143,7 +143,7 @@ DEPENDENCIES
143
143
  listen (= 3.7.0)
144
144
  pry (= 0.14.1)
145
145
  rspec (= 3.10.0)
146
- rubypitaya (= 3.3.6)
146
+ rubypitaya (= 3.3.7)
147
147
  sinatra-contrib (= 2.1.0)
148
148
 
149
149
  BUNDLED WITH
@@ -43,6 +43,11 @@ module RubyPitaya
43
43
  @@postman, @@redis_connector.redis,
44
44
  @@mongo_connector.mongo, @@setup,
45
45
  @@config, @@log, params)
46
+ rescue RouteError => error
47
+ @@response = {
48
+ code: error.code,
49
+ message: error.message
50
+ }
46
51
  end
47
52
 
48
53
  def response
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.3.6'
2
+ VERSION = '3.3.7'
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: 3.3.6
4
+ version: 3.3.7
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-11-27 00:00:00.000000000 Z
11
+ date: 2021-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg