padrino-core 0.12.8.1 → 0.12.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Rakefile +1 -5
- data/bin/padrino +1 -1
- data/lib/padrino-core/application/application_setup.rb +2 -0
- data/lib/padrino-core/application/params_protection.rb +1 -7
- data/lib/padrino-core/application/routing.rb +15 -5
- data/lib/padrino-core/caller.rb +2 -1
- data/lib/padrino-core/cli/adapter.rb +11 -2
- data/lib/padrino-core/cli/base.rb +12 -8
- data/lib/padrino-core/cli/launcher.rb +12 -4
- data/lib/padrino-core/cli/rake_tasks.rb +24 -14
- data/lib/padrino-core/configuration.rb +40 -0
- data/lib/padrino-core/loader.rb +1 -2
- data/lib/padrino-core/logger.rb +71 -11
- data/lib/padrino-core/mounter/application_extension.rb +55 -0
- data/lib/padrino-core/mounter.rb +21 -62
- data/lib/padrino-core/reloader/rack.rb +4 -1
- data/lib/padrino-core/reloader/storage.rb +31 -3
- data/lib/padrino-core/reloader.rb +4 -2
- data/lib/padrino-core/version.rb +1 -1
- data/lib/padrino-core.rb +2 -0
- data/padrino-core.gemspec +1 -7
- data/test/fixtures/apps/custom_dependencies/custom_dependencies.rb +11 -0
- data/test/fixtures/apps/custom_dependencies/my_dependencies/my_dependency.rb +0 -0
- data/test/fixtures/apps/external_apps/fake_lib.rb +1 -0
- data/test/fixtures/apps/external_apps/fake_root.rb +2 -0
- data/test/fixtures/apps/rack_apps.rb +4 -0
- data/test/fixtures/apps/simple.rb +0 -1
- data/test/fixtures/apps/system.rb +2 -0
- data/test/helper.rb +4 -26
- data/test/test_application.rb +8 -0
- data/test/test_configuration.rb +29 -0
- data/test/test_core.rb +12 -0
- data/test/test_csrf_protection.rb +7 -6
- data/test/test_logger.rb +93 -0
- data/test/test_mounter.rb +15 -0
- data/test/test_params_protection.rb +15 -15
- data/test/test_reloader_simple.rb +2 -2
- data/test/test_reloader_storage.rb +51 -0
- data/test/test_reloader_system.rb +20 -0
- data/test/test_routing.rb +31 -2
- metadata +49 -46
- data/test/fixtures/apps/helpers/support.rb +0 -1
@@ -1,5 +1,4 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/helper')
|
2
|
-
require 'active_support/core_ext/hash/conversions'
|
3
2
|
|
4
3
|
describe "Padrino::ParamsProtection" do
|
5
4
|
before do
|
@@ -7,6 +6,7 @@ describe "Padrino::ParamsProtection" do
|
|
7
6
|
@kim = { 'name' => 'Kim Bauer', 'position' => 'daughter', 'child' => @teri }
|
8
7
|
@jack = { 'name' => 'Jack Bauer', 'position' => 'terrorist', 'child' => @kim }
|
9
8
|
@family = { 'name' => 'Bauer', 'persons' => { 1 => @teri, 2 => @kim, 3 => @jack } }
|
9
|
+
@jack_query = Padrino::Utils.build_uri_query(@jack)
|
10
10
|
end
|
11
11
|
|
12
12
|
it 'should drop all parameters except allowed ones' do
|
@@ -17,7 +17,7 @@ describe "Padrino::ParamsProtection" do
|
|
17
17
|
''
|
18
18
|
end
|
19
19
|
end
|
20
|
-
post '/basic?' + @
|
20
|
+
post '/basic?' + @jack_query
|
21
21
|
assert_equal({ 'name' => @jack['name'] }, result)
|
22
22
|
end
|
23
23
|
|
@@ -29,7 +29,7 @@ describe "Padrino::ParamsProtection" do
|
|
29
29
|
''
|
30
30
|
end
|
31
31
|
end
|
32
|
-
post '/basic?' + @
|
32
|
+
post '/basic?' + @jack_query
|
33
33
|
assert_equal(@jack, result)
|
34
34
|
end
|
35
35
|
|
@@ -41,7 +41,7 @@ describe "Padrino::ParamsProtection" do
|
|
41
41
|
''
|
42
42
|
end
|
43
43
|
end
|
44
|
-
post '/basic?' + @
|
44
|
+
post '/basic?' + @jack_query
|
45
45
|
assert_equal(
|
46
46
|
[
|
47
47
|
{ 'name' => @jack['name'], 'child' => { 'name' => @kim['name'], 'child' => { 'name' => @teri['name'] } } },
|
@@ -59,7 +59,7 @@ describe "Padrino::ParamsProtection" do
|
|
59
59
|
''
|
60
60
|
end
|
61
61
|
end
|
62
|
-
post '/basic?' + @
|
62
|
+
post '/basic?' + @jack_query
|
63
63
|
assert_equal({ 'name' => @jack['name'], 'position' => 'anti-terrorist' }, result)
|
64
64
|
end
|
65
65
|
|
@@ -71,7 +71,7 @@ describe "Padrino::ParamsProtection" do
|
|
71
71
|
''
|
72
72
|
end
|
73
73
|
end
|
74
|
-
post '/basic/24/42?' + @
|
74
|
+
post '/basic/24/42?' + @jack_query
|
75
75
|
assert_equal({ 'name' => @jack['name'], 'id' => '24', 'tag' => '42' }, result)
|
76
76
|
end
|
77
77
|
|
@@ -83,7 +83,7 @@ describe "Padrino::ParamsProtection" do
|
|
83
83
|
''
|
84
84
|
end
|
85
85
|
end
|
86
|
-
post '/basic/24?' + @
|
86
|
+
post '/basic/24?' + @jack_query
|
87
87
|
assert_equal({ 'id' => '24' }, result)
|
88
88
|
end
|
89
89
|
|
@@ -99,9 +99,9 @@ describe "Padrino::ParamsProtection" do
|
|
99
99
|
''
|
100
100
|
end
|
101
101
|
end
|
102
|
-
get '/hide/1?' + @
|
102
|
+
get '/hide/1?' + @jack_query
|
103
103
|
assert_equal({"id"=>"1"}, result)
|
104
|
-
get '/show/1?' + @
|
104
|
+
get '/show/1?' + @jack_query
|
105
105
|
assert_equal({"id"=>"1"}.merge(@jack), result)
|
106
106
|
end
|
107
107
|
|
@@ -133,13 +133,13 @@ describe "Padrino::ParamsProtection" do
|
|
133
133
|
end
|
134
134
|
end
|
135
135
|
end
|
136
|
-
post '/persons/create?' + @
|
136
|
+
post '/persons/create?' + @jack_query
|
137
137
|
assert_equal({ 'name' => @jack['name'], 'position' => 'terrorist' }, result)
|
138
138
|
post '/persons/update/1?name=Chloe+O\'Brian&position=hacker'
|
139
139
|
assert_equal({ 'id' => '1', 'name' => 'Chloe O\'Brian' }, result)
|
140
|
-
post '/persons/delete?' + @
|
140
|
+
post '/persons/delete?' + @jack_query
|
141
141
|
assert_equal(@jack, result)
|
142
|
-
post '/persons/destroy/1?' + @
|
142
|
+
post '/persons/destroy/1?' + @jack_query
|
143
143
|
assert_equal({"id"=>"1"}, result)
|
144
144
|
get '/noparam?a=1;b=2'
|
145
145
|
assert_equal({}, result)
|
@@ -153,7 +153,7 @@ describe "Padrino::ParamsProtection" do
|
|
153
153
|
''
|
154
154
|
end
|
155
155
|
end
|
156
|
-
post '/family?' + @family
|
156
|
+
post '/family?' + Padrino::Utils.build_uri_query(@family)
|
157
157
|
assert_equal({"persons" => {"3" => {"name" => @jack["name"]}, "2" => {"name" => @kim["name"]}, "1" => {"name" => @teri["name"]}}}, result)
|
158
158
|
end
|
159
159
|
|
@@ -165,7 +165,7 @@ describe "Padrino::ParamsProtection" do
|
|
165
165
|
''
|
166
166
|
end
|
167
167
|
end
|
168
|
-
post '/family?names
|
168
|
+
post '/family?' + Padrino::Utils.build_uri_query(:names => %w{Jack Kim Teri})
|
169
169
|
assert_equal({"names" => %w[Jack Kim Teri]}, result)
|
170
170
|
end
|
171
171
|
|
@@ -177,7 +177,7 @@ describe "Padrino::ParamsProtection" do
|
|
177
177
|
''
|
178
178
|
end
|
179
179
|
end
|
180
|
-
post '/i?gotta
|
180
|
+
post '/i?' + Padrino::Utils.build_uri_query(:gotta => { :what => 'go', :who => 'self' })
|
181
181
|
assert_equal({"gotta" => {"what" => "go"}}, result)
|
182
182
|
end
|
183
183
|
|
@@ -80,7 +80,7 @@ describe "SimpleReloader" do
|
|
80
80
|
assert ok?
|
81
81
|
last_body = body
|
82
82
|
assert_equal 1, @app.filters[:before].size
|
83
|
-
assert_equal
|
83
|
+
assert_equal 0, @app.errors.reject{ |key, _| [404, Sinatra::NotFound].include? key }.size
|
84
84
|
assert_equal 2, @app.filters[:after].size # app + content-type + padrino-flash
|
85
85
|
assert_equal 0, @app.middleware.size
|
86
86
|
assert_equal 4, @app.routes.size # GET+HEAD of "/" + GET+HEAD of "/rand" = 4
|
@@ -90,7 +90,7 @@ describe "SimpleReloader" do
|
|
90
90
|
get "/rand"
|
91
91
|
refute_equal last_body, body
|
92
92
|
assert_equal 1, @app.filters[:before].size
|
93
|
-
assert_equal
|
93
|
+
assert_equal 0, @app.errors.reject{ |key, _| [404, Sinatra::NotFound].include? key }.size
|
94
94
|
assert_equal 2, @app.filters[:after].size
|
95
95
|
assert_equal 0, @app.middleware.size
|
96
96
|
assert_equal 4, @app.routes.size # GET+HEAD of "/" = 2
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/helper')
|
2
|
+
|
3
|
+
describe "Padrino::Reloader::Storage" do
|
4
|
+
describe "#classes" do
|
5
|
+
it 'should take an snapshot of the current loaded classes' do
|
6
|
+
snapshot = Padrino::Reloader::Storage.send(:object_classes)
|
7
|
+
assert_equal snapshot.include?(Padrino::Logger), true
|
8
|
+
end
|
9
|
+
|
10
|
+
it 'should return a Set object' do
|
11
|
+
snapshot = Padrino::Reloader::Storage.send(:object_classes)
|
12
|
+
assert_equal snapshot.kind_of?(Set), true
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'should be able to process a the class name given a block' do
|
16
|
+
klasses = Padrino::Reloader::Storage.send(:object_classes) do |klass|
|
17
|
+
next unless klass.respond_to?(:name) # fix JRuby < 1.7.22
|
18
|
+
if klass.name =~ /^Padrino::/
|
19
|
+
klass
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
assert_equal (klasses.size > 1), true
|
24
|
+
klasses.each do |klass|
|
25
|
+
assert_match /^Padrino::/, klass.to_s
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe "#new_classes" do
|
31
|
+
before do
|
32
|
+
@snapshot = Padrino::Reloader::Storage.send(:object_classes)
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'should return list of new classes' do
|
36
|
+
class OSTest; end
|
37
|
+
module OSTestModule; class B; end; end
|
38
|
+
|
39
|
+
new_classes = Padrino::Reloader::Storage.send(:new_classes, @snapshot)
|
40
|
+
|
41
|
+
assert_equal new_classes.size, 2
|
42
|
+
assert_equal new_classes.include?(OSTest), true
|
43
|
+
assert_equal new_classes.include?(OSTestModule::B), true
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'should return a Set object' do
|
47
|
+
new_classes = Padrino::Reloader::Storage.send(:new_classes, @snapshot)
|
48
|
+
assert_equal new_classes.kind_of?(Set), true
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -2,6 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + '/helper')
|
|
2
2
|
require File.expand_path(File.dirname(__FILE__) + '/fixtures/apps/kiq')
|
3
3
|
require File.expand_path(File.dirname(__FILE__) + '/fixtures/apps/system')
|
4
4
|
require File.expand_path(File.dirname(__FILE__) + '/fixtures/apps/static')
|
5
|
+
require File.expand_path(File.dirname(__FILE__) + '/fixtures/apps/custom_dependencies/custom_dependencies')
|
5
6
|
|
6
7
|
describe "SystemReloader" do
|
7
8
|
describe 'for wierd and difficult reload events' do
|
@@ -120,4 +121,23 @@ describe "SystemReloader" do
|
|
120
121
|
Padrino.reload!
|
121
122
|
end
|
122
123
|
end
|
124
|
+
|
125
|
+
describe 'reloading custom dependencies' do
|
126
|
+
let(:custom_dependency_path) { File.dirname(__FILE__) + '/fixtures/apps/custom_dependencies/my_dependencies' }
|
127
|
+
let(:custom_dependency) { File.join(custom_dependency_path, 'my_dependency.rb') }
|
128
|
+
|
129
|
+
before do
|
130
|
+
@app = CustomDependencies
|
131
|
+
Padrino.clear!
|
132
|
+
Padrino.mount(CustomDependencies).to("/")
|
133
|
+
Padrino.dependency_paths << custom_dependency_path + '/*.rb'
|
134
|
+
Padrino.load!
|
135
|
+
get '/'
|
136
|
+
end
|
137
|
+
|
138
|
+
it 'should discover changed dependencies' do
|
139
|
+
FileUtils.touch(custom_dependency)
|
140
|
+
assert Padrino::Reloader.changed?, 'Change to custom dependency has not been recognised'
|
141
|
+
end
|
142
|
+
end
|
123
143
|
end
|
data/test/test_routing.rb
CHANGED
@@ -737,12 +737,27 @@ describe "Routing" do
|
|
737
737
|
assert_equal 'application/json', response["Content-Type"]
|
738
738
|
get "/a.foo"
|
739
739
|
assert_equal "foo", body
|
740
|
-
assert_equal 'application/foo
|
740
|
+
assert_equal 'application/foo', response["Content-Type"]
|
741
741
|
get "/a"
|
742
742
|
assert_equal "html", body
|
743
743
|
assert_equal 'text/html;charset=utf-8', response["Content-Type"]
|
744
744
|
end
|
745
745
|
|
746
|
+
it 'should not drop json charset' do
|
747
|
+
mock_app do
|
748
|
+
get '/' do
|
749
|
+
content_type :json, :charset => 'utf-16'
|
750
|
+
end
|
751
|
+
get '/a' do
|
752
|
+
content_type :json, 'charset' => 'utf-16'
|
753
|
+
end
|
754
|
+
end
|
755
|
+
get '/'
|
756
|
+
assert_equal 'application/json;charset=utf-16', response["Content-Type"]
|
757
|
+
get '/a'
|
758
|
+
assert_equal 'application/json;charset=utf-16', response["Content-Type"]
|
759
|
+
end
|
760
|
+
|
746
761
|
it 'should use controllers' do
|
747
762
|
mock_app do
|
748
763
|
controller "/admin" do
|
@@ -2033,7 +2048,7 @@ describe "Routing" do
|
|
2033
2048
|
mock_app do
|
2034
2049
|
get(:index) { "%s %s" % [params[:account][:name], params[:account][:surname]] }
|
2035
2050
|
end
|
2036
|
-
get "/?account
|
2051
|
+
get "/?" + Padrino::Utils.build_uri_query(:account => { :name => 'foo', :surname => 'bar' })
|
2037
2052
|
assert_equal 'foo bar', body
|
2038
2053
|
get @app.url(:index, "account[name]" => "foo", "account[surname]" => "bar")
|
2039
2054
|
assert_equal 'foo bar', body
|
@@ -2174,4 +2189,18 @@ describe "Routing" do
|
|
2174
2189
|
put "/b/x/y"
|
2175
2190
|
assert_equal '{"b"=>"x", "c"=>"y"}', body
|
2176
2191
|
end
|
2192
|
+
|
2193
|
+
it 'should generate urls and absolute urls' do
|
2194
|
+
mock_app do
|
2195
|
+
get(:index) { settings.url(:index) }
|
2196
|
+
get(:absolute) { settings.absolute_url(:absolute) }
|
2197
|
+
end
|
2198
|
+
get '/'
|
2199
|
+
assert_equal '/', body
|
2200
|
+
get '/absolute'
|
2201
|
+
assert_equal 'http://localhost/absolute', body
|
2202
|
+
@app.set :base_url, 'http://example.com'
|
2203
|
+
get '/absolute'
|
2204
|
+
assert_equal 'http://example.com/absolute', body
|
2205
|
+
end
|
2177
2206
|
end
|
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.12.
|
4
|
+
version: 0.12.9
|
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:
|
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,98 +19,94 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.12.
|
22
|
+
version: 0.12.9
|
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.12.
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rack
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
requirements:
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 1.6.0
|
37
|
-
type: :runtime
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - "<"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.6.0
|
29
|
+
version: 0.12.9
|
44
30
|
- !ruby/object:Gem::Dependency
|
45
31
|
name: sinatra
|
46
32
|
requirement: !ruby/object:Gem::Requirement
|
47
33
|
requirements:
|
48
|
-
- -
|
34
|
+
- - ! '>='
|
49
35
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
36
|
+
version: !binary |-
|
37
|
+
MS40LjY=
|
51
38
|
type: :runtime
|
52
39
|
prerelease: false
|
53
40
|
version_requirements: !ruby/object:Gem::Requirement
|
54
41
|
requirements:
|
55
|
-
- -
|
42
|
+
- - ! '>='
|
56
43
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
44
|
+
version: !binary |-
|
45
|
+
MS40LjY=
|
58
46
|
- !ruby/object:Gem::Dependency
|
59
47
|
name: http_router
|
60
48
|
requirement: !ruby/object:Gem::Requirement
|
61
49
|
requirements:
|
62
|
-
- -
|
50
|
+
- - ~>
|
63
51
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
52
|
+
version: !binary |-
|
53
|
+
MC4xMS4w
|
65
54
|
type: :runtime
|
66
55
|
prerelease: false
|
67
56
|
version_requirements: !ruby/object:Gem::Requirement
|
68
57
|
requirements:
|
69
|
-
- -
|
58
|
+
- - ~>
|
70
59
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
60
|
+
version: !binary |-
|
61
|
+
MC4xMS4w
|
72
62
|
- !ruby/object:Gem::Dependency
|
73
63
|
name: thor
|
74
64
|
requirement: !ruby/object:Gem::Requirement
|
75
65
|
requirements:
|
76
|
-
- -
|
66
|
+
- - ~>
|
77
67
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
68
|
+
version: !binary |-
|
69
|
+
MC4xOA==
|
79
70
|
type: :runtime
|
80
71
|
prerelease: false
|
81
72
|
version_requirements: !ruby/object:Gem::Requirement
|
82
73
|
requirements:
|
83
|
-
- -
|
74
|
+
- - ~>
|
84
75
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
76
|
+
version: !binary |-
|
77
|
+
MC4xOA==
|
86
78
|
- !ruby/object:Gem::Dependency
|
87
79
|
name: activesupport
|
88
80
|
requirement: !ruby/object:Gem::Requirement
|
89
81
|
requirements:
|
90
|
-
- -
|
82
|
+
- - ! '>='
|
91
83
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
84
|
+
version: !binary |-
|
85
|
+
My4x
|
93
86
|
type: :runtime
|
94
87
|
prerelease: false
|
95
88
|
version_requirements: !ruby/object:Gem::Requirement
|
96
89
|
requirements:
|
97
|
-
- -
|
90
|
+
- - ! '>='
|
98
91
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
92
|
+
version: !binary |-
|
93
|
+
My4x
|
100
94
|
- !ruby/object:Gem::Dependency
|
101
95
|
name: rack-protection
|
102
96
|
requirement: !ruby/object:Gem::Requirement
|
103
97
|
requirements:
|
104
|
-
- -
|
98
|
+
- - ! '>='
|
105
99
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
100
|
+
version: !binary |-
|
101
|
+
MS41LjA=
|
107
102
|
type: :runtime
|
108
103
|
prerelease: false
|
109
104
|
version_requirements: !ruby/object:Gem::Requirement
|
110
105
|
requirements:
|
111
|
-
- -
|
106
|
+
- - ! '>='
|
112
107
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
108
|
+
version: !binary |-
|
109
|
+
MS41LjA=
|
114
110
|
description: The Padrino core gem required for use of this framework
|
115
111
|
email: padrinorb@gmail.com
|
116
112
|
executables:
|
@@ -119,9 +115,9 @@ extensions: []
|
|
119
115
|
extra_rdoc_files:
|
120
116
|
- README.rdoc
|
121
117
|
files:
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
118
|
+
- .document
|
119
|
+
- .gitignore
|
120
|
+
- .yardopts
|
125
121
|
- LICENSE.txt
|
126
122
|
- README.rdoc
|
127
123
|
- Rakefile
|
@@ -143,6 +139,7 @@ files:
|
|
143
139
|
- lib/padrino-core/cli/rake.rb
|
144
140
|
- lib/padrino-core/cli/rake_tasks.rb
|
145
141
|
- lib/padrino-core/command.rb
|
142
|
+
- lib/padrino-core/configuration.rb
|
146
143
|
- lib/padrino-core/ext/http_router.rb
|
147
144
|
- lib/padrino-core/ext/sinatra.rb
|
148
145
|
- lib/padrino-core/filter.rb
|
@@ -152,6 +149,7 @@ files:
|
|
152
149
|
- lib/padrino-core/logger.rb
|
153
150
|
- lib/padrino-core/module.rb
|
154
151
|
- lib/padrino-core/mounter.rb
|
152
|
+
- lib/padrino-core/mounter/application_extension.rb
|
155
153
|
- lib/padrino-core/reloader.rb
|
156
154
|
- lib/padrino-core/reloader/rack.rb
|
157
155
|
- lib/padrino-core/reloader/storage.rb
|
@@ -166,14 +164,17 @@ files:
|
|
166
164
|
- test/fixtures/app_gem/lib/app_gem.rb
|
167
165
|
- test/fixtures/app_gem/lib/app_gem/version.rb
|
168
166
|
- test/fixtures/apps/complex.rb
|
167
|
+
- test/fixtures/apps/custom_dependencies/custom_dependencies.rb
|
168
|
+
- test/fixtures/apps/custom_dependencies/my_dependencies/my_dependency.rb
|
169
169
|
- test/fixtures/apps/demo_app.rb
|
170
170
|
- test/fixtures/apps/demo_demo.rb
|
171
171
|
- test/fixtures/apps/demo_project/api/app.rb
|
172
172
|
- test/fixtures/apps/demo_project/api/lib/api_lib.rb
|
173
173
|
- test/fixtures/apps/demo_project/app.rb
|
174
|
+
- test/fixtures/apps/external_apps/fake_lib.rb
|
175
|
+
- test/fixtures/apps/external_apps/fake_root.rb
|
174
176
|
- test/fixtures/apps/helpers/class_methods_helpers.rb
|
175
177
|
- test/fixtures/apps/helpers/instance_methods_helpers.rb
|
176
|
-
- test/fixtures/apps/helpers/support.rb
|
177
178
|
- test/fixtures/apps/helpers/system_helpers.rb
|
178
179
|
- test/fixtures/apps/kiq.rb
|
179
180
|
- test/fixtures/apps/lib/myklass.rb
|
@@ -201,6 +202,7 @@ files:
|
|
201
202
|
- test/fixtures/reloadable_apps/main/app.rb
|
202
203
|
- test/helper.rb
|
203
204
|
- test/test_application.rb
|
205
|
+
- test/test_configuration.rb
|
204
206
|
- test/test_core.rb
|
205
207
|
- test/test_csrf_protection.rb
|
206
208
|
- test/test_dependencies.rb
|
@@ -213,6 +215,7 @@ files:
|
|
213
215
|
- test/test_reloader_complex.rb
|
214
216
|
- test/test_reloader_external.rb
|
215
217
|
- test/test_reloader_simple.rb
|
218
|
+
- test/test_reloader_storage.rb
|
216
219
|
- test/test_reloader_system.rb
|
217
220
|
- test/test_restful_routing.rb
|
218
221
|
- test/test_router.rb
|
@@ -223,22 +226,22 @@ licenses:
|
|
223
226
|
metadata: {}
|
224
227
|
post_install_message:
|
225
228
|
rdoc_options:
|
226
|
-
-
|
229
|
+
- --charset=UTF-8
|
227
230
|
require_paths:
|
228
231
|
- lib
|
229
232
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
233
|
requirements:
|
231
|
-
- -
|
234
|
+
- - ! '>='
|
232
235
|
- !ruby/object:Gem::Version
|
233
236
|
version: '0'
|
234
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
238
|
requirements:
|
236
|
-
- -
|
239
|
+
- - ! '>='
|
237
240
|
- !ruby/object:Gem::Version
|
238
241
|
version: 1.3.6
|
239
242
|
requirements: []
|
240
243
|
rubyforge_project: padrino-core
|
241
|
-
rubygems_version: 2.
|
244
|
+
rubygems_version: 2.6.14
|
242
245
|
signing_key:
|
243
246
|
specification_version: 4
|
244
247
|
summary: The required Padrino core gem
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'active_support/logger_silence'
|