lennarb 0.1.4 → 0.1.5
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/lenna/router/request.rb +10 -0
- data/lib/lennarb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59a236423ff7acaaeec6bf3b3b2a7dd42bfbc704eac97f7e2c7aa0539ebc0f45
|
4
|
+
data.tar.gz: 19b0a12ce5aa48f252c1ff342987b3c4e42073fe80a584dd983c3739321b316c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/lenna/router/request.rb
CHANGED
@@ -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
|
data/lib/lennarb/version.rb
CHANGED