sinatra-contrib 4.0.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/ideas.md +1 -1
- data/lib/sinatra/capture.rb +1 -1
- data/lib/sinatra/contrib/version.rb +1 -1
- data/lib/sinatra/haml_helpers.rb +1 -1
- data/lib/sinatra/link_header.rb +2 -0
- data/lib/sinatra/reloader.rb +2 -2
- data/lib/sinatra/runner.rb +1 -1
- data/lib/sinatra/webdav.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09eae33b47f73e028d6bf13c215116e27a6c478aa47fbf54ca73140e620a355a'
|
4
|
+
data.tar.gz: 21349d346a8552c904f9aa51931a8441da69e2092f65b6b6920158c208af7a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 365a5f6784aeb4c3264e471945145a396c8785b29215bd940599040716d4f3c7eff959aa0d8c1e2a1e2219df98419e1a50ab7818f05b0434159569e073ead762
|
7
|
+
data.tar.gz: 3c630fcc4f8b2e4e65ee8cad206bafe89c164c9fb05d116d9e70adaac3ae9ab0c8137f951edc3b1358aabce65b64c49fbd63ba18da0c730ccd4eed8aad750158
|
data/README.md
CHANGED
@@ -69,7 +69,7 @@ consider using an alternative like [rerun](https://github.com/alexch/rerun) or
|
|
69
69
|
* [`sinatra/test_helpers`][sinatra-test-helpers]: Helper methods to ease testing your Sinatra
|
70
70
|
application. Partly extracted from Sinatra. Testing framework agnostic
|
71
71
|
|
72
|
-
* `sinatra/quiet_logger`: Extension to exclude specific
|
72
|
+
* `sinatra/quiet_logger`: Extension to exclude specific paths from access log.
|
73
73
|
It works by patching Rack::CommonLogger
|
74
74
|
|
75
75
|
## Installation
|
data/ideas.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
end
|
11
11
|
|
12
12
|
* `sinatra-smart-cache`: update cache header only if arguments are more
|
13
|
-
restrictive than
|
13
|
+
restrictive than current value, set caching headers that way for most helper
|
14
14
|
methods (i.e. `send_file`)
|
15
15
|
|
16
16
|
* Some verbose logging extension: Log what filters, routes, error handlers,
|
data/lib/sinatra/capture.rb
CHANGED
data/lib/sinatra/haml_helpers.rb
CHANGED
data/lib/sinatra/link_header.rb
CHANGED
data/lib/sinatra/reloader.rb
CHANGED
@@ -395,12 +395,12 @@ module Sinatra
|
|
395
395
|
# attr_reader :register_path warn on -w (private attribute)
|
396
396
|
def register_path; @register_path ||= nil; end
|
397
397
|
|
398
|
-
# Indicates an
|
398
|
+
# Indicates an extension is being registered.
|
399
399
|
def start_registering_extension
|
400
400
|
@register_path = caller_files[2]
|
401
401
|
end
|
402
402
|
|
403
|
-
# Indicates the
|
403
|
+
# Indicates the extension has already been registered.
|
404
404
|
def stop_registering_extension
|
405
405
|
@register_path = nil
|
406
406
|
end
|
data/lib/sinatra/runner.rb
CHANGED
data/lib/sinatra/webdav.rb
CHANGED
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: 4.
|
4
|
+
version: 4.1.1
|
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: 2024-
|
11
|
+
date: 2024-11-20 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: 4.
|
47
|
+
version: 4.1.1
|
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: 4.
|
54
|
+
version: 4.1.1
|
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: 4.
|
61
|
+
version: 4.1.1
|
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: 4.
|
68
|
+
version: 4.1.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: tilt
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
rubygems_version: 3.5.
|
141
|
+
rubygems_version: 3.5.22
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Collection of useful Sinatra extensions.
|