padrino-core 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/padrino-core/application/routing.rb +2 -4
- data/lib/padrino-core/version.rb +1 -1
- data/padrino-core.gemspec +1 -3
- data/test/test_routing.rb +0 -1
- metadata +6 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67049ac27ef791df6b58644ea21bd12bcec00bc9
|
4
|
+
data.tar.gz: fe0d8065a52c828803af721463be97ef4576e6b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6650c3db1e456e06bf421f7483c118159b03364508586eb96f1a96428a61f8982c1bdde44857c5eb5495333fa7a6d3b07c99ee84d4529d5488d660630c32cb64
|
7
|
+
data.tar.gz: a44bd53e18a5de430b0f8605fd0546fb9425674279679cc7ee8922efab4c5d1df4bbb1fcac0da9726e38a74b81db950d0549dbcad03b03dd6c7a00ef9ff392ea
|
@@ -929,10 +929,8 @@ module Padrino
|
|
929
929
|
end
|
930
930
|
|
931
931
|
def dispatch!
|
932
|
-
|
933
|
-
|
934
|
-
force_encoding(@params)
|
935
|
-
end
|
932
|
+
@params = defined?(Sinatra::IndifferentHash) ? Sinatra::IndifferentHash[@request.params] : indifferent_params(@request.params)
|
933
|
+
force_encoding(@params)
|
936
934
|
invoke do
|
937
935
|
static! if settings.static? && (request.get? || request.head?)
|
938
936
|
route!
|
data/lib/padrino-core/version.rb
CHANGED
data/padrino-core.gemspec
CHANGED
@@ -24,8 +24,6 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.rdoc_options = ["--charset=UTF-8"]
|
25
25
|
|
26
26
|
s.add_dependency("padrino-support", Padrino.version)
|
27
|
-
s.add_dependency("sinatra", ">=
|
28
|
-
s.add_dependency("mustermann19")
|
27
|
+
s.add_dependency("sinatra", ">= 2.0.0")
|
29
28
|
s.add_dependency("thor", "~> 0.18")
|
30
|
-
s.add_dependency("rack-protection", ">= 1.5.0")
|
31
29
|
end
|
data/test/test_routing.rb
CHANGED
@@ -2255,7 +2255,6 @@ describe "Routing" do
|
|
2255
2255
|
end
|
2256
2256
|
|
2257
2257
|
it "should support named captures like %r{/hello/(?<person>[^/?#]+)} on Ruby >= 1.9" do
|
2258
|
-
next if RUBY_VERSION < '1.9'
|
2259
2258
|
mock_app do
|
2260
2259
|
get Regexp.new('/hello/(?<person>[^/?#]+)') do
|
2261
2260
|
"Hello #{params['person']}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: padrino-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Padrino Team
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-02-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: padrino-support
|
@@ -19,42 +19,28 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.14.
|
22
|
+
version: 0.14.3
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.14.
|
29
|
+
version: 0.14.3
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: sinatra
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
requirements:
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: 2.0.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: mustermann19
|
46
|
-
requirement: !ruby/object:Gem::Requirement
|
47
|
-
requirements:
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '0'
|
51
|
-
type: :runtime
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: '0'
|
43
|
+
version: 2.0.0
|
58
44
|
- !ruby/object:Gem::Dependency
|
59
45
|
name: thor
|
60
46
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,20 +55,6 @@ dependencies:
|
|
69
55
|
- - "~>"
|
70
56
|
- !ruby/object:Gem::Version
|
71
57
|
version: '0.18'
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: rack-protection
|
74
|
-
requirement: !ruby/object:Gem::Requirement
|
75
|
-
requirements:
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 1.5.0
|
79
|
-
type: :runtime
|
80
|
-
prerelease: false
|
81
|
-
version_requirements: !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- - ">="
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 1.5.0
|
86
58
|
description: The Padrino core gem required for use of this framework
|
87
59
|
email: padrinorb@gmail.com
|
88
60
|
executables:
|