sinatra 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sinatra might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/sinatra/base.rb +3 -2
- data/lib/sinatra/version.rb +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: b558760739957a96ebc9812bdf5a36469b20330eb41a32d5f7a1cff7f43727f0
|
4
|
+
data.tar.gz: 6ff96c0afd9440ec374e7580a7bf1e9e19e27e162a83142c5ca81f729bf89286
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db3406d64e51dd56e2d151d777706c73a69cb7955b8f8c294f93e9ca79f463aff10750dfb9459c99568ec82f42b92ed7c2fd93af9620bcd125c5704b423a36bc
|
7
|
+
data.tar.gz: 2b674e8bd98ba3fbc83eaacf6cfe76a807608a1c7c3d6d5e0b9f43c4edf885e2617ff6aa140b1e01ee0dc981162f0785e580a5bfdf930ae0993afa31ba286852
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## 2.2.
|
1
|
+
## 2.2.1 / Unreleased
|
2
|
+
|
3
|
+
* Fix JRuby regression by using ruby2_keywords for delegation. [#1750](https://github.com/sinatra/sinatra/pull/1750) by Patrik Ragnarsson
|
4
|
+
|
5
|
+
* Add JRuby to CI. [#1755](https://github.com/sinatra/sinatra/pull/1755) by Karol Bucek
|
6
|
+
|
7
|
+
## 2.2.0 / 2022-02-15
|
2
8
|
|
3
9
|
* Handle EOFError raised by Rack and return Bad Request 400 status. [#1743](https://github.com/sinatra/sinatra/pull/1743) by tamazon
|
4
10
|
|
data/Rakefile
CHANGED
@@ -212,7 +212,7 @@ if defined?(Gem)
|
|
212
212
|
end
|
213
213
|
|
214
214
|
sh <<-SH
|
215
|
-
git commit --allow-empty -a -m '#{source_version} release' &&
|
215
|
+
#git commit --allow-empty -a -m '#{source_version} release' &&
|
216
216
|
git tag -s v#{source_version} -m '#{source_version} release' &&
|
217
217
|
git push && (git push origin || true) &&
|
218
218
|
git push --tags && (git push origin --tags || true)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.1
|
data/lib/sinatra/base.rb
CHANGED
@@ -1533,10 +1533,11 @@ module Sinatra
|
|
1533
1533
|
# Create a new instance of the class fronted by its middleware
|
1534
1534
|
# pipeline. The object is guaranteed to respond to #call but may not be
|
1535
1535
|
# an instance of the class new was called on.
|
1536
|
-
def new(*args,
|
1537
|
-
instance = new!(*args,
|
1536
|
+
def new(*args, &bk)
|
1537
|
+
instance = new!(*args, &bk)
|
1538
1538
|
Wrapper.new(build(instance).to_app, instance)
|
1539
1539
|
end
|
1540
|
+
ruby2_keywords :new if respond_to?(:ruby2_keywords, true)
|
1540
1541
|
|
1541
1542
|
# Creates a Rack::Builder instance with all the middleware set up and
|
1542
1543
|
# the given +app+ as end point.
|
data/lib/sinatra/version.rb
CHANGED
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
8
8
|
- Ryan Tomayko
|
9
9
|
- Simon Rozet
|
10
10
|
- Konstantin Haase
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-07-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rack
|
@@ -47,14 +47,14 @@ dependencies:
|
|
47
47
|
requirements:
|
48
48
|
- - '='
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 2.2.
|
50
|
+
version: 2.2.1
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - '='
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 2.2.
|
57
|
+
version: 2.2.1
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: mustermann
|
60
60
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,7 +124,7 @@ metadata:
|
|
124
124
|
bug_tracker_uri: https://github.com/sinatra/sinatra/issues
|
125
125
|
mailing_list_uri: http://groups.google.com/group/sinatrarb
|
126
126
|
documentation_uri: https://www.rubydoc.info/gems/sinatra
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options:
|
129
129
|
- "--line-numbers"
|
130
130
|
- "--title"
|
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.1
|
149
|
-
signing_key:
|
148
|
+
rubygems_version: 3.0.3.1
|
149
|
+
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Classy web-development dressed in a DSL
|
152
152
|
test_files: []
|