rubypitaya 3.3.2 → 3.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b218ecc854aaf6e7cb2cf7bbf1ad80d910967c73b3ccf0ba06f81b039b5838b5
4
- data.tar.gz: 30acb028ff6a65f8b7697be1ca1d533efb5383b3e68d180cdc92bdcf37d762f1
3
+ metadata.gz: 94da55ebb23095e84bb7673c03c090c5e6d750258ab8a04861776e0f3bccd488
4
+ data.tar.gz: b15065b35ab812d985d30bdd0b5ef073b739282632966c09a59e600bfc63b54c
5
5
  SHA512:
6
- metadata.gz: 610d327bbf85407e5880b4593bd804c55ffff8022783582340e48f962da345f91d569b24f8b7e477027c8edbd61f8d8e9bb7827acb14e8070c63687e64799049
7
- data.tar.gz: 1c5c9d3256b9d81d539f6b47c0181d15656e4a75185c3634d951984bc532762c5b6f3a390a94e8ae7c4486da20c0cde79885e69391875590f27c843963fdae33
6
+ metadata.gz: c7355c105856b63dbd68f15c6181adfba4a5450b6f94c98444e431c1692ab3fddee02d8609dc28b3e3e9afd83792d1fd6197f22e3a7f41b88643551d23b9baa1
7
+ data.tar.gz: cf3132334be52609395c0fde4bd1bacc27fe2335dcd75dc5cca27b73351d681145f9e9a5ddc422490809d848053524b59c30ff0149edfe2e0986cdc82700a9c1
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '3.3.2'
3
+ gem 'rubypitaya', '3.3.3'
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.2)
106
+ rubypitaya (3.3.3)
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.2)
146
+ rubypitaya (= 3.3.3)
147
147
  sinatra-contrib (= 2.1.0)
148
148
 
149
149
  BUNDLED WITH
@@ -10,6 +10,7 @@ require 'rubypitaya/core/session'
10
10
  require 'rubypitaya/core/postman'
11
11
  require 'rubypitaya/core/parameters'
12
12
  require 'rubypitaya/core/http_routes'
13
+ require 'rubypitaya/core/route_error'
13
14
  require 'rubypitaya/core/routes_base'
14
15
  require 'rubypitaya/core/status_codes'
15
16
  require 'rubypitaya/core/handler_router'
@@ -1,6 +1,8 @@
1
1
  module RubyPitaya
2
2
  class RouteError < StandardError
3
3
 
4
+ attr_reader :code, :message
5
+
4
6
  def initialize(code, message)
5
7
  @code = code
6
8
  @message = message
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '3.3.2'
2
+ VERSION = '3.3.3'
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.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti