rack-app 10.0.0 → 11.0.1

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: 7b3058bb6d9204572e2c65f667ea438a8122a47463fb4403ce033f05bf026234
4
- data.tar.gz: 8948e893f2801919abce11a18b437530263dadb3111daa8a4fa3ec3a58fee66f
3
+ metadata.gz: 4af595c05c8d97e6dc35bf35c9bce9778a32a40fd7b1d239b3d1b31d2dbb2a5a
4
+ data.tar.gz: 2abb8e9e44b504bb4136a159fac7e2028606897a4b67e49293f4238a1fbcb029
5
5
  SHA512:
6
- metadata.gz: f0407ce827d7f76bbaa08b240977f985ce7f4eb77adc38ebb44e0e08cda29d2d873db29f351220d867cfa6bfd6d57dd244a1a07103466d01c052076a468c27a0
7
- data.tar.gz: 674026a697470157da4809c7270223e1177c662553f5d09a1c6260a979ed3cdec9e9233c8504ac0bdfdcff12b7b6cd7e4afb392e3596f5c45f42fe86bf343341
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 website](http://www.rack-app.com/) tells you where we are,
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](http://www.rack-app.com/)
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](http://www.rack-app.com/)
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
- 10.0.0
1
+ 11.0.1
@@ -1,10 +1,9 @@
1
1
  module Rack::App::InstanceMethods::HTTPStatus
2
2
 
3
- def http_status!(code, desc=nil)
3
+ def http_status!(code, body=nil)
4
4
  raise unless code.is_a?(Integer)
5
5
  response.status = code
6
- response.write(desc || Rack::App::Constants::HTTP_STATUS_CODES[code] || raise)
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 = 'http://www.rack-app.com/'
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: 10.0.0
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 00:00:00.000000000 Z
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: http://www.rack-app.com/
214
+ homepage: https://github.com/rack-app/rack-app/wiki
215
215
  licenses:
216
216
  - Apache License 2.0
217
217
  metadata: {}