lennarb 0.1.4 → 0.1.5

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: ef231d5c56c92f02c7b978419c3d51a54ec8fff36e3362a8f207ccd9c4a6d7f6
4
- data.tar.gz: ab5d46ad9197d9016dae19f7c224e56f41157925e3fc6927de3aba8d0699304b
3
+ metadata.gz: 59a236423ff7acaaeec6bf3b3b2a7dd42bfbc704eac97f7e2c7aa0539ebc0f45
4
+ data.tar.gz: 19b0a12ce5aa48f252c1ff342987b3c4e42073fe80a584dd983c3739321b316c
5
5
  SHA512:
6
- metadata.gz: d8e84bf114e914d51cdec74713def249cca76b76e839ed77d76d94a1bd40dd18bce4f13fec36d324d69cf468047044ec159d5442977b2178010414d2a8eb0510
7
- data.tar.gz: acc76543c293b34bc8618894d69fff79b996bd2af6603e1c7c5c45dd4ca686d05cd60591483cdae91d2e3f5fb08de3174004a4c58f8fc73c0546c5598eaa0488
6
+ metadata.gz: 4df198f477ac2fcb3c09efb95ad9ea2699d6a12051cc9bcacd56c65adfe6d7778eed6cc1e920d6df35141d4dbbbb5aab4dfcc4aaea00483666e836b114b9e5e3
7
+ data.tar.gz: 03a57883380017a70be1974bd98cdd6df3bd851c1944f787db4d97aec1ddc0f8947f3fc8a3179d817585d5a8ce877454f52a539ab8b77403bafe4cdd0321d7c1
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.5] - 2023-25-11
8
+
9
+ ### Added
10
+
11
+ - Add `assign_params` method to Request class
12
+
7
13
  ## [0.1.4] - 2023-25-11
8
14
 
9
15
  ### Fixed
@@ -8,6 +8,16 @@ module Lenna
8
8
  # @attr body [Hash] the request body
9
9
  # @attr params [Hash] the request params
10
10
  class Request < ::Rack::Request
11
+
12
+ # This method is used to set the request params.
13
+ #
14
+ # @param params [Hash] the request params
15
+ #
16
+ # @return [Hash] the request params
17
+ #
18
+ # @api public
19
+ def assign_params(params) = @params = params
20
+
11
21
  # This method is used to parse the body params.
12
22
  #
13
23
  # @return [Hash] the request params
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lennarb
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
 
6
6
  public_constant :VERSION
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lennarb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aristóteles Coutinho