rackstep 0.2.1 → 0.3.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/response.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3731feb5f200fdab397ae63ea2065ffa3e26aa41566a96cb7d89092681c85f95
|
|
4
|
+
data.tar.gz: a8d9751e3ac2b553b815391c1da6314e79ea5ad408a6c9105bed257bb4899f6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb3c2ffbc4293cc94217b1a0d464f26209359210067ace0ee7ab12b8f6d115e46fb86189b72a2382e83384a0547029ff5c9dfd20f57c7a684285d4410543d46e
|
|
7
|
+
data.tar.gz: df5fc8f88d8e73171e83d92a8231937044f6c6c72be990391afbb3fe5165085c195f1210488b48fa919e837be9b5a72bcee6dc33b388c55238452bda77fd85ae
|
data/lib/response.rb
CHANGED
|
@@ -18,14 +18,14 @@ module RackStep
|
|
|
18
18
|
|
|
19
19
|
# Helpers
|
|
20
20
|
def content_type
|
|
21
|
-
|
|
21
|
+
headers['Content-Type']
|
|
22
22
|
end
|
|
23
23
|
def content_type=(value)
|
|
24
|
-
|
|
24
|
+
headers['Content-Type'] = value
|
|
25
25
|
end
|
|
26
26
|
def redirect_to(address)
|
|
27
27
|
@status = 302
|
|
28
|
-
|
|
28
|
+
headers['Location'] = address
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rackstep
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcio Frayze David
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: RackStep is (yet another) micro ruby framework for web development.
|
|
14
|
-
email:
|
|
14
|
+
email: marcio@segunda.tech
|
|
15
15
|
executables: []
|
|
16
16
|
extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
|
@@ -33,14 +33,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
33
33
|
requirements:
|
|
34
34
|
- - ">="
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
|
-
version:
|
|
36
|
+
version: 3.3.1
|
|
37
37
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - ">="
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
41
|
version: '0'
|
|
42
42
|
requirements: []
|
|
43
|
-
rubygems_version: 3.
|
|
43
|
+
rubygems_version: 3.5.9
|
|
44
44
|
signing_key:
|
|
45
45
|
specification_version: 4
|
|
46
46
|
summary: RackStep micro web framework
|