rubypitaya 3.3.0 → 3.3.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: f57bbdb5e9f7f12097c4013871c3947a1655e3c79fe31b9e259d911c0563ef0d
4
- data.tar.gz: bd54ecb7812fd7d16573f986f274abf0949cd0a7d460ec30ece58bef51201ec2
3
+ metadata.gz: 6652bf4db6bfc26695e5a9f38e5ffbf4805e37249ab8f15fcc652caf91de4945
4
+ data.tar.gz: a34d809daac9790f73a1b1095cf03f38f8bd8b26ed0980d31a31ca2d982bcebf
5
5
  SHA512:
6
- metadata.gz: 2440c10e3c923ccfbe29e6730bbfae01385caf00a8d9c2aff001740c5f3e91670d8cfc020bfd4655fd143062a1a1921a21dcc6846424cef48403344b9841497b
7
- data.tar.gz: 2beb8d98dade8520167c774714bb71673ee6f8329494a8b0a80674ac44f63384b50dd2af32dd20e01975dcb622a0624c74457fd730ea6a77b44ea821dfb41ed6
6
+ metadata.gz: 05bebcbb4d66026349c8b17c240ed3e8d5af8125e4791f74f4e97f87f56304dc375c9521a342e3f140f1eb193146a2b1dccc2deba274c9a2b00884c6941e5da1
7
+ data.tar.gz: e826a4bb5462b01c7107a9d581dabd590299911312f1f0243849cd77e54a9b32a96533669647c9659f9128411acb4954333dd86e360a71883d9b4d6553109baf
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.3.0'
3
+ gem 'rubypitaya', '3.3.1'
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.0)
106
+ rubypitaya (3.3.1)
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.0)
146
+ rubypitaya (= 3.3.1)
147
147
  sinatra-contrib (= 2.1.0)
148
148
 
149
149
  BUNDLED WITH
@@ -190,7 +190,7 @@ module RubyPitaya
190
190
 
191
191
  response
192
192
  end
193
- rescue RubyPitaya::Error => error
193
+ rescue RouteError => error
194
194
  @log.error "ROUTE ERROR: #{error.class} | #{error.message}} \n #{error.backtrace.join("\n")}"
195
195
  response = {
196
196
  code: error.code,
@@ -1,4 +1,4 @@
1
- class RubyPitayaError < StandardError
1
+ class RouteError < StandardError
2
2
 
3
3
  def initialize(code, message)
4
4
  @code = code
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.3.0'
2
+ VERSION = '3.3.1'
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.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti
@@ -339,7 +339,6 @@ files:
339
339
  - "./lib/rubypitaya/core/config_core.rb"
340
340
  - "./lib/rubypitaya/core/database_config.rb"
341
341
  - "./lib/rubypitaya/core/database_connector.rb"
342
- - "./lib/rubypitaya/core/error.rb"
343
342
  - "./lib/rubypitaya/core/etcd_connector.rb"
344
343
  - "./lib/rubypitaya/core/handler_base.rb"
345
344
  - "./lib/rubypitaya/core/handler_router.rb"
@@ -359,6 +358,7 @@ files:
359
358
  - "./lib/rubypitaya/core/protos/nats_connector.proto"
360
359
  - "./lib/rubypitaya/core/protos/nats_connector_pb.rb"
361
360
  - "./lib/rubypitaya/core/redis_connector.rb"
361
+ - "./lib/rubypitaya/core/route_error.rb"
362
362
  - "./lib/rubypitaya/core/routes_base.rb"
363
363
  - "./lib/rubypitaya/core/session.rb"
364
364
  - "./lib/rubypitaya/core/setup.rb"