lennarb 1.0.1 → 1.1.0
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/lib/lennarb/request.rb +8 -1
- data/lib/lennarb/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d16bb4723ee094f4db857aec2049a2bede8d109d7b35f12297f75ca117ac60c
|
4
|
+
data.tar.gz: 8b908cc5d30da126c249eecbfeb419c68f64e306c018d68a3c897ac26f84722d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0455253e9ec8e0e684a7dce3d37b7d50e7480971c10f62ec1cecf822471732230e5fbccfaf7bf894585a63e47fcc7bae0020f465f22e3af90d4942d6f95c18c
|
7
|
+
data.tar.gz: 2566e0d474c8b82c7a5607d16b69de2489133760732c9fa6ac9b8f7ab8bc7a36b38d40041f80ecfb4a61702280524d129c82cd4d5a67a1a7066cee37a521c218
|
data/lib/lennarb/request.rb
CHANGED
@@ -20,13 +20,20 @@ class Lennarb
|
|
20
20
|
# Get the request body
|
21
21
|
#
|
22
22
|
# @returns [String]
|
23
|
+
#
|
23
24
|
def params
|
24
25
|
@params ||= super.merge(@route_params)
|
25
26
|
end
|
26
27
|
|
28
|
+
# Read the body of the request
|
29
|
+
#
|
30
|
+
# @returns [String]
|
31
|
+
#
|
32
|
+
def body = @body ||= super.read
|
33
|
+
|
27
34
|
private
|
28
35
|
|
29
|
-
# Get the query string
|
36
|
+
# Get the query string parameters
|
30
37
|
#
|
31
38
|
# @returns [String]
|
32
39
|
#
|
data/lib/lennarb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lennarb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aristóteles Coutinho
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -215,5 +215,6 @@ requirements: []
|
|
215
215
|
rubygems_version: 3.5.11
|
216
216
|
signing_key:
|
217
217
|
specification_version: 4
|
218
|
-
summary:
|
218
|
+
summary: Lennarb provides a lightweight yet robust solution for web routing in Ruby,
|
219
|
+
focusing on performance and simplicity.
|
219
220
|
test_files: []
|