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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9732dfc70b838e4871ffee4a196c8641639e29787f716310ba0d447e90470dd0
4
- data.tar.gz: '085874f1f8e722aa6e5a8a422422970a66d8bb9e26c24653614571ee1e053c81'
3
+ metadata.gz: 8d16bb4723ee094f4db857aec2049a2bede8d109d7b35f12297f75ca117ac60c
4
+ data.tar.gz: 8b908cc5d30da126c249eecbfeb419c68f64e306c018d68a3c897ac26f84722d
5
5
  SHA512:
6
- metadata.gz: c484091928ee8a7d3a75bb7b3279a6915151e2dd9ea01c1d968bec78f4bcdaef166d452e7ba554b0c552ce89b4541cb46a8babbcfe5a1b3c21f88410f5ecf8bd
7
- data.tar.gz: bb3103c9a7ab43ab5e643c2ec2285acf5127d5fc7d0ec4e8060424468cea94f7d0995eabbed43bbf06deac0aa70f4613a4cbf140e0b002f56381363544a3420e
6
+ metadata.gz: b0455253e9ec8e0e684a7dce3d37b7d50e7480971c10f62ec1cecf822471732230e5fbccfaf7bf894585a63e47fcc7bae0020f465f22e3af90d4942d6f95c18c
7
+ data.tar.gz: 2566e0d474c8b82c7a5607d16b69de2489133760732c9fa6ac9b8f7ab8bc7a36b38d40041f80ecfb4a61702280524d129c82cd4d5a67a1a7066cee37a521c218
@@ -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
  #
@@ -4,7 +4,7 @@
4
4
  # Copyright, 2023-2024, by Aristóteles Coutinho.
5
5
 
6
6
  class Lennarb
7
- VERSION = '1.0.1'
7
+ VERSION = '1.1.0'
8
8
 
9
9
  public_constant :VERSION
10
10
  end
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.1
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-09-29 00:00:00.000000000 Z
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: A lightweight and experimental web framework for Ruby.
218
+ summary: Lennarb provides a lightweight yet robust solution for web routing in Ruby,
219
+ focusing on performance and simplicity.
219
220
  test_files: []