sinatra 2.0.0 → 2.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 +4 -4
- data/AUTHORS.md +1 -0
- data/CHANGELOG.md +22 -2
- data/CONTRIBUTING.md +6 -0
- data/Gemfile +2 -1
- data/README.es.md +728 -347
- data/README.md +62 -49
- data/README.ru.md +546 -292
- data/README.zh.md +77 -15
- data/VERSION +1 -0
- data/lib/sinatra/base.rb +8 -6
- data/lib/sinatra/show_exceptions.rb +43 -11
- data/lib/sinatra/version.rb +1 -1
- data/sinatra.gemspec +2 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a481c0ba22e73031a7669f68358463db3b92ea47
|
|
4
|
+
data.tar.gz: 9ad051aed2a9b41ffc3c92bcec42aa0e8d99a7b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15a8af507cdc873476fbbfd81d502b39c2f4467c08c7cc6c2b7dde29f7b5ff9dbe3ac7bc9259577c15153a00952e5477fede62546d8db2791b1615edc2a12598
|
|
7
|
+
data.tar.gz: ea93478022eb8bedde7b3dfc66dc7077c6264022a3da196cc6b9ca927b91c5700c4f1f24f1b03f3e5fe74723897d59e93e25f6fa0f54ecd28d6a6299c0a977a0
|
data/AUTHORS.md
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## 2.0.1 / 2018-02-17
|
|
2
|
+
|
|
3
|
+
* Repair nested namespaces, by avoiding prefix duplication #1322. Fixes #1310 by Kunpei Sakai
|
|
4
|
+
|
|
5
|
+
* Add pattern matches to values for Mustermann::Concat #1333. Fixes #1332 by Dawa Ometto
|
|
6
|
+
|
|
7
|
+
* Ship the VERSION file with the gem, to allow local unpacking #1338 by Olle Jonsson
|
|
8
|
+
|
|
9
|
+
* Fix issue with custom error handler on bad request #1351. Fixes #1350 by Jordan Owens
|
|
10
|
+
|
|
11
|
+
* Override Rack::ShowExceptions#pretty to set custom template #1377. Fixes #1376 by Jordan Owens
|
|
12
|
+
|
|
13
|
+
* Enhanced path validation in Windows #1379 by Orange Tsai
|
|
14
|
+
|
|
15
|
+
* Improve development support and documentation by Faheel Ahmad, Shota Iguchi, Olle Jonsson, Manabu Niseki, John Hope, Horacio, Ice-Storm, GraniteRock, Raman Skaskevich, Carlos Azuaje, 284km, Dan Rice and Zachary Scott
|
|
16
|
+
|
|
1
17
|
## 2.0.0 / 2017-04-10
|
|
2
18
|
|
|
3
19
|
* Use Mustermann for patterns #1086 by Konstantin Haase
|
|
@@ -52,7 +68,7 @@
|
|
|
52
68
|
|
|
53
69
|
* Avoid executing filters even if prefix matches with other namespace #1253 by namusyaka
|
|
54
70
|
|
|
55
|
-
* Make `#has_key?` also indifferent in access, can accept String or Symbol #1262 by
|
|
71
|
+
* Make `#has_key?` also indifferent in access, can accept String or Symbol #1262 by Stephen Paul Weber
|
|
56
72
|
|
|
57
73
|
* Add `allow_if` option to bypass json csrf protection #1265 by Jordan Owens
|
|
58
74
|
|
|
@@ -62,6 +78,10 @@
|
|
|
62
78
|
|
|
63
79
|
* Add full IndifferentHash implementation to params #1279 by Mike Pastore
|
|
64
80
|
|
|
81
|
+
## 1.4.8 / 2017-01-30
|
|
82
|
+
|
|
83
|
+
* Fix the deprecation warning from Ruby about Fixnum. #1235 by Akira Matsuda
|
|
84
|
+
|
|
65
85
|
## 1.4.7 / 2016-01-24
|
|
66
86
|
|
|
67
87
|
* Add Ashley Williams, Trevor Bramble, and Kashyap Kondamudi to team Sinatra.
|
|
@@ -610,7 +630,7 @@ Backported from 1.3.0:
|
|
|
610
630
|
|
|
611
631
|
* The request object was shared between multiple Sinatra instances in the
|
|
612
632
|
same middleware chain. This caused issues if any non-sinatra routing
|
|
613
|
-
|
|
633
|
+
happened in-between two of those instances, or running a request twice
|
|
614
634
|
against an application (described in the README). The caching was reverted.
|
|
615
635
|
See GH#239 and GH#256 for more infos. (Konstantin Haase)
|
|
616
636
|
|
data/CONTRIBUTING.md
CHANGED
|
@@ -98,3 +98,9 @@ fine).
|
|
|
98
98
|
|
|
99
99
|
[ghi]: http://github.com/sinatra/sinatra/issues
|
|
100
100
|
[ml]: http://groups.google.com/group/sinatrarb/topics "Sinatra Mailing List"
|
|
101
|
+
|
|
102
|
+
* ["Help Wanted"](https://github.com/sinatra/sinatra/labels/help%20wanted): Anyone willing to pitch in is open to contribute to this ticket as they see fit (will try to add context / summarize or ask for requirements)
|
|
103
|
+
|
|
104
|
+
* ["Good First Issue"](https://github.com/sinatra/sinatra/labels/good%20first%20issue): Potential first time contributors should start here
|
|
105
|
+
|
|
106
|
+
* ["Wishlist"](https://github.com/sinatra/sinatra/labels/Wishlist): All the things I wish we had but have no time for
|
data/Gemfile
CHANGED
|
@@ -19,7 +19,7 @@ gem 'yard'
|
|
|
19
19
|
gem "rack-protection", path: "rack-protection"
|
|
20
20
|
gem "sinatra-contrib", path: "sinatra-contrib"
|
|
21
21
|
|
|
22
|
-
gem "twitter-text", "1.14.
|
|
22
|
+
gem "twitter-text", "1.14.7"
|
|
23
23
|
|
|
24
24
|
if RUBY_ENGINE == 'jruby'
|
|
25
25
|
gem 'nokogiri', '!= 1.5.0'
|
|
@@ -64,6 +64,7 @@ if RUBY_ENGINE == "rbx"
|
|
|
64
64
|
gem 'json'
|
|
65
65
|
gem 'rubysl'
|
|
66
66
|
gem 'rubysl-test-unit'
|
|
67
|
+
gem 'erubi'
|
|
67
68
|
end
|
|
68
69
|
|
|
69
70
|
platforms :jruby do
|