rack-app 10.0.0 → 11.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +1 -1
- data/README.md +2 -2
- data/VERSION +1 -1
- data/lib/rack/app/instance_methods/http_status.rb +2 -3
- data/rack-app.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4af595c05c8d97e6dc35bf35c9bce9778a32a40fd7b1d239b3d1b31d2dbb2a5a
|
4
|
+
data.tar.gz: 2abb8e9e44b504bb4136a159fac7e2028606897a4b67e49293f4238a1fbcb029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53d24d8dbc28782ef78270d25b1148541d2a2f229d9099c69e8c0d724ac87f46c0bbd0fd51e6c8643dab4c60443189c000dd7f621b4acc0869f0142538697636
|
7
|
+
data.tar.gz: e5399f89565734896e07cdda7d994d1c929dadeeb1bb40143fc83f296a76a76d9490438497b87807275f79a7d9d481176fb077bb7f5128d3a6412c70cb20ad19
|
data/CONTRIBUTING.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# How to contribute
|
2
2
|
|
3
3
|
I'm really glad you're reading this, because we need volunteer developers to help this project come to fruition.
|
4
|
-
[Rack::App official
|
4
|
+
[Rack::App official Wiki](https://github.com/rack-app/rack-app/wiki) tells you where we are,
|
5
5
|
|
6
6
|
## Testing
|
7
7
|
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [Rack::App](
|
1
|
+
# [Rack::App](https://github.com/rack-app/rack-app)
|
2
2
|
|
3
3
|
![rack-app-logo](/assets/rack-app-logo.png)
|
4
4
|
|
@@ -294,7 +294,7 @@ end
|
|
294
294
|
|
295
295
|
## Example Apps To start with
|
296
296
|
|
297
|
-
* [Official website How To examples](
|
297
|
+
* [Official website How To examples](https://github.com/rack-app/rack-app/wiki)
|
298
298
|
|
299
299
|
* [Rack::App Team Github repositories](https://github.com/rack-app)
|
300
300
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
11.0.1
|
@@ -1,10 +1,9 @@
|
|
1
1
|
module Rack::App::InstanceMethods::HTTPStatus
|
2
2
|
|
3
|
-
def http_status!(code,
|
3
|
+
def http_status!(code, body=nil)
|
4
4
|
raise unless code.is_a?(Integer)
|
5
5
|
response.status = code
|
6
|
-
|
7
|
-
finish!
|
6
|
+
respond_with(body || Rack::App::Constants::HTTP_STATUS_CODES[code] || raise)
|
8
7
|
end
|
9
8
|
|
10
9
|
end
|
data/rack-app.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
summary = 'Minimalist rack application interface building framework.'
|
10
10
|
spec.summary = summary
|
11
11
|
spec.description = summary
|
12
|
-
spec.homepage = '
|
12
|
+
spec.homepage = 'https://github.com/rack-app/rack-app/wiki'
|
13
13
|
spec.license = 'Apache License 2.0'
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 11.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -211,7 +211,7 @@ files:
|
|
211
211
|
- spike/validator_with_minitest.rb
|
212
212
|
- spike/xml.rb
|
213
213
|
- src/Net__HTTP Cheat Sheet.pdf
|
214
|
-
homepage:
|
214
|
+
homepage: https://github.com/rack-app/rack-app/wiki
|
215
215
|
licenses:
|
216
216
|
- Apache License 2.0
|
217
217
|
metadata: {}
|