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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55469df6bfe7c7ffb26bb239433a9f76b3096a34
4
- data.tar.gz: 9f5711bd6b352aa64fd1fd4e744f8028dfce6f98
3
+ metadata.gz: 67049ac27ef791df6b58644ea21bd12bcec00bc9
4
+ data.tar.gz: fe0d8065a52c828803af721463be97ef4576e6b3
5
5
  SHA512:
6
- metadata.gz: 84f5833bf11cd189aaa0c08c921c21594acca9e7afed57e47fae5a551f4f263cfe445b44009bca6eb69b8f4e69878a9d286d30e0913eab627f2c8a8d5ff117a3
7
- data.tar.gz: 15726f751b0d60914c96637b3493b78ace6c02b8e8e1a0d68b7dc0fe002b5a2d864dc2b0d36a541d2979c9c782111aedb854ba9235b6f75d2a39dc9317bccf83
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
- unless @params
933
- @params = defined?(Sinatra::IndifferentHash) ? Sinatra::IndifferentHash[@request.params] : indifferent_params(@request.params)
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!
@@ -6,7 +6,7 @@
6
6
  #
7
7
  module Padrino
8
8
  # The version constant for the current version of Padrino.
9
- VERSION = '0.14.2' unless defined?(Padrino::VERSION)
9
+ VERSION = '0.14.3' unless defined?(Padrino::VERSION)
10
10
 
11
11
  #
12
12
  # The current Padrino version.
@@ -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", ">= 1.4.6")
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
@@ -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.2
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-01-02 00:00:00.000000000 Z
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.2
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.2
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: 1.4.6
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: 1.4.6
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: