sinatra-contrib 3.0.5 → 3.0.6
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/README.md +3 -3
- data/Rakefile +1 -1
- data/lib/sinatra/contrib/version.rb +1 -1
- data/lib/sinatra/test_helpers.rb +2 -2
- data/sinatra-contrib.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1dd46868aed6165f3940802775216257f876a7b2d943133a84e88ec18f320be
|
|
4
|
+
data.tar.gz: be4fc1981c54bc23315f7785b918750abaee125fd7b2c9c36e8803c109520226
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 643788f4f6cdcdf0fb575b67c2e59d273c30988ca07adf6a42e94043266b2ad5f574bb2586280e7f6e071f9dda9a60cbfb47efedd353c544c56e3175dc728649
|
|
7
|
+
data.tar.gz: 25efe6011774ca9aa1cdeb3e011e28430aed7041995008e438b95a8419228fb8019658a401a1a6b7d827ff225cc0240b4c80cd92de601578f5b2b548ec505121
|
data/README.md
CHANGED
|
@@ -157,7 +157,7 @@ end
|
|
|
157
157
|
### Documentation
|
|
158
158
|
|
|
159
159
|
For more info check the [official docs](http://www.sinatrarb.com/contrib/) and
|
|
160
|
-
[api docs](
|
|
160
|
+
[api docs](https://www.rubydoc.info/gems/sinatra-contrib).
|
|
161
161
|
|
|
162
162
|
[sinatra-reloader]: http://www.sinatrarb.com/contrib/reloader
|
|
163
163
|
[sinatra-namespace]: http://www.sinatrarb.com/contrib/namespace
|
|
@@ -167,7 +167,7 @@ For more info check the [official docs](http://www.sinatrarb.com/contrib/) and
|
|
|
167
167
|
[sinatra-webdav]: http://www.sinatrarb.com/contrib/webdav
|
|
168
168
|
[sinatra-runner]: http://www.sinatrarb.com/contrib/runner
|
|
169
169
|
[sinatra-extension]: http://www.sinatrarb.com/contrib/extension
|
|
170
|
-
[sinatra-test-helpers]: https://github.com/sinatra/sinatra/blob/
|
|
170
|
+
[sinatra-test-helpers]: https://github.com/sinatra/sinatra/blob/main/sinatra-contrib/lib/sinatra/test_helpers.rb
|
|
171
171
|
[sinatra-required-params]: http://www.sinatrarb.com/contrib/required_params
|
|
172
172
|
[sinatra-custom-logger]: http://www.sinatrarb.com/contrib/custom_logger
|
|
173
173
|
[sinatra-multi-route]: http://www.sinatrarb.com/contrib/multi_route
|
|
@@ -176,5 +176,5 @@ For more info check the [official docs](http://www.sinatrarb.com/contrib/) and
|
|
|
176
176
|
[sinatra-config-file]: http://www.sinatrarb.com/contrib/config_file
|
|
177
177
|
[sinatra-link-header]: http://www.sinatrarb.com/contrib/link_header
|
|
178
178
|
[sinatra-capture]: http://www.sinatrarb.com/contrib/capture
|
|
179
|
-
[sinatra-engine-tracking]: https://github.com/sinatra/sinatra/blob/
|
|
179
|
+
[sinatra-engine-tracking]: https://github.com/sinatra/sinatra/blob/main/sinatra-contrib/lib/sinatra/engine_tracking.rb
|
|
180
180
|
|
data/Rakefile
CHANGED
|
@@ -69,7 +69,7 @@ task release: :gemspec do
|
|
|
69
69
|
gem push sinatra-contrib*.gem &&
|
|
70
70
|
git commit --allow-empty -a -m '#{Sinatra::Contrib::VERSION} release' &&
|
|
71
71
|
git tag -s v#{Sinatra::Contrib::VERSION} -m '#{Sinatra::Contrib::VERSION} release' &&
|
|
72
|
-
git push && (git push origin
|
|
72
|
+
git push && (git push origin main || true) &&
|
|
73
73
|
git push --tags && (git push origin --tags || true)
|
|
74
74
|
SH
|
|
75
75
|
end
|
data/lib/sinatra/test_helpers.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Sinatra
|
|
|
25
25
|
#
|
|
26
26
|
# Body of last_response
|
|
27
27
|
#
|
|
28
|
-
# @see
|
|
28
|
+
# @see https://www.rubydoc.info/github/rack/rack/main/Rack/Response#body-instance_method
|
|
29
29
|
# @return [String] body of the last response
|
|
30
30
|
|
|
31
31
|
# @!method headers
|
|
@@ -104,7 +104,7 @@ module Sinatra
|
|
|
104
104
|
# @!group Instance Methods delegated to rack_mock_session
|
|
105
105
|
# @!method cookie_jar
|
|
106
106
|
#
|
|
107
|
-
# Returns a {
|
|
107
|
+
# Returns a {https://www.rubydoc.info/github/rack/rack-test/Rack/Test/CookieJar Rack::Test::CookieJar}.
|
|
108
108
|
#
|
|
109
109
|
# @return [Rack::Test::CookieJar]
|
|
110
110
|
def_delegators :rack_mock_session, :cookie_jar
|
data/sinatra-contrib.gemspec
CHANGED
|
@@ -29,7 +29,7 @@ RubyGems 2.0 or newer is required to protect against public gem pushes. You can
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
s.metadata = {
|
|
32
|
-
'source_code_uri' => 'https://github.com/sinatra/sinatra/tree/
|
|
32
|
+
'source_code_uri' => 'https://github.com/sinatra/sinatra/tree/main/sinatra-contrib',
|
|
33
33
|
'homepage_uri' => 'http://sinatrarb.com/contrib/',
|
|
34
34
|
'documentation_uri' => 'https://www.rubydoc.info/gems/sinatra-contrib',
|
|
35
35
|
'rubygems_mfa_required' => 'true'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sinatra-contrib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- https://github.com/sinatra/sinatra/graphs/contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multi_json
|
|
@@ -44,28 +44,28 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 3.0.
|
|
47
|
+
version: 3.0.6
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 3.0.
|
|
54
|
+
version: 3.0.6
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: sinatra
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 3.0.
|
|
61
|
+
version: 3.0.6
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 3.0.
|
|
68
|
+
version: 3.0.6
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: tilt
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -286,7 +286,7 @@ homepage: http://sinatrarb.com/contrib/
|
|
|
286
286
|
licenses:
|
|
287
287
|
- MIT
|
|
288
288
|
metadata:
|
|
289
|
-
source_code_uri: https://github.com/sinatra/sinatra/tree/
|
|
289
|
+
source_code_uri: https://github.com/sinatra/sinatra/tree/main/sinatra-contrib
|
|
290
290
|
homepage_uri: http://sinatrarb.com/contrib/
|
|
291
291
|
documentation_uri: https://www.rubydoc.info/gems/sinatra-contrib
|
|
292
292
|
rubygems_mfa_required: 'true'
|
|
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
305
305
|
- !ruby/object:Gem::Version
|
|
306
306
|
version: '0'
|
|
307
307
|
requirements: []
|
|
308
|
-
rubygems_version: 3.
|
|
308
|
+
rubygems_version: 3.4.10
|
|
309
309
|
signing_key:
|
|
310
310
|
specification_version: 4
|
|
311
311
|
summary: Collection of useful Sinatra extensions
|