rad_core 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/bin/rad +20 -25
- data/lib/components/config.rb +1 -1
- data/lib/components/configurators.rb +2 -2
- data/lib/components/controller.rb +2 -2
- data/lib/components/conveyors.rb +2 -2
- data/lib/components/environment.rb +1 -1
- data/lib/components/environment.yml +28 -28
- data/lib/components/flash.rb +1 -1
- data/lib/components/html.rb +1 -1
- data/lib/components/http.rb +1 -1
- data/lib/components/http.yml +1 -1
- data/lib/components/logger.rb +2 -2
- data/lib/components/mailer.rb +2 -2
- data/lib/components/remote.rb +1 -1
- data/lib/components/router.rb +3 -3
- data/lib/components/template.rb +2 -2
- data/lib/components/web.rb +3 -3
- data/lib/rad.rb +1 -1
- data/lib/rad/_support/active_support.rb +7 -7
- data/lib/rad/_support/active_support/locales/ru/actionview.yml +8 -8
- data/lib/rad/_support/active_support/locales/ru/activesupport.yml +4 -4
- data/lib/rad/_support/active_support/locales/ru/datetime.yml +5 -5
- data/lib/rad/_support/active_support/time.rb +2 -2
- data/lib/rad/_support/addressable.rb +6 -6
- data/lib/rad/_support/class_loader.rb +1 -1
- data/lib/rad/_support/extensions.rb +5 -5
- data/lib/rad/_support/filters.rb +13 -13
- data/lib/rad/_support/hacks_and_fixes.rb +5 -5
- data/lib/rad/_support/mime.rb +4 -4
- data/lib/rad/_support/module.rb +11 -11
- data/lib/rad/_support/require.rb +5 -5
- data/lib/rad/_support/rson.rb +4 -4
- data/lib/rad/_support/string.rb +9 -9
- data/lib/rad/cli/helper.rb +5 -5
- data/lib/rad/configurators/_require.rb +2 -2
- data/lib/rad/configurators/abstract.rb +5 -5
- data/lib/rad/configurators/web.rb +8 -8
- data/lib/rad/controller/_abstract.rb +15 -14
- data/lib/rad/controller/_abstract/miscellaneous.rb +5 -5
- data/lib/rad/controller/_abstract/render.rb +40 -40
- data/lib/rad/controller/_abstract/responder.rb +1 -1
- data/lib/rad/controller/_context.rb +1 -1
- data/lib/rad/controller/_http.rb +11 -11
- data/lib/rad/controller/_require.rb +6 -6
- data/lib/rad/controller/processors/controller_caller.rb +3 -3
- data/lib/rad/controller/processors/controller_error_handling.rb +14 -14
- data/lib/rad/controller/processors/controller_logger.rb +1 -1
- data/lib/rad/conveyors/_conveyor.rb +9 -9
- data/lib/rad/conveyors/_conveyors.rb +4 -4
- data/lib/rad/conveyors/_params.rb +5 -5
- data/lib/rad/conveyors/_processor.rb +2 -2
- data/lib/rad/conveyors/_workspace.rb +5 -5
- data/lib/rad/conveyors/processors/conveyor_logger.rb +3 -3
- data/lib/rad/environment/_config.rb +4 -4
- data/lib/rad/environment/_environment.rb +10 -10
- data/lib/rad/environment/_files_helper.rb +5 -5
- data/lib/rad/environment/_logger.rb +9 -9
- data/lib/rad/environment/_require.rb +4 -4
- data/lib/rad/gems.rb +14 -14
- data/lib/rad/html/_flash.rb +5 -5
- data/lib/rad/html/_helpers/basic_html_helper.rb +12 -12
- data/lib/rad/html/_helpers/form_helper.rb +19 -19
- data/lib/rad/html/_helpers/javascript_helper.rb +6 -6
- data/lib/rad/html/_helpers/model_helper.rb +17 -17
- data/lib/rad/html/_require.rb +1 -1
- data/lib/rad/html/processors/prepare_flash.rb +3 -3
- data/lib/rad/html/processors/scoped_params.rb +4 -4
- data/lib/rad/http/_http.rb +4 -4
- data/lib/rad/http/_http_adapter.rb +5 -5
- data/lib/rad/http/_request.rb +11 -11
- data/lib/rad/http/_require.rb +8 -8
- data/lib/rad/http/_response.rb +5 -5
- data/lib/rad/http/_support/rack/fixes.rb +3 -3
- data/lib/rad/http/_support/rack/rack_adapter.rb +5 -5
- data/lib/rad/http/processors/evaluate_format.rb +4 -4
- data/lib/rad/http/processors/http_logger.rb +3 -3
- data/lib/rad/http/processors/http_writer.rb +7 -7
- data/lib/rad/http/processors/prepare_params.rb +5 -5
- data/lib/rad/mailer/_letter.rb +1 -1
- data/lib/rad/mailer/_mailer.rb +1 -1
- data/lib/rad/mailer/_mailer_controller.rb +6 -6
- data/lib/rad/mailer/_require.rb +1 -1
- data/lib/rad/mailer/processors/letter_builder.rb +6 -6
- data/lib/rad/profiles/mailer.rb +2 -2
- data/lib/rad/profiles/web.rb +13 -13
- data/lib/rad/remote/processors/remote_caller.rb +10 -10
- data/lib/rad/remote/processors/remote_logger.rb +1 -1
- data/lib/rad/router/_abstract_router.rb +9 -9
- data/lib/rad/router/_alias_router.rb +34 -34
- data/lib/rad/router/_basic_router.rb +12 -12
- data/lib/rad/router/_configurator.rb +6 -6
- data/lib/rad/router/_core_routing_helper.rb +4 -4
- data/lib/rad/router/_object_router.rb +45 -45
- data/lib/rad/router/_require.rb +8 -8
- data/lib/rad/router/_restful_router.rb +25 -25
- data/lib/rad/router/_router.rb +78 -78
- data/lib/rad/router/_simple_router.rb +5 -5
- data/lib/rad/router/processors/router.rb +6 -6
- data/lib/rad/spec/controller.rb +9 -9
- data/lib/rad/spec/environment.rb +7 -7
- data/lib/rad/spec/http.rb +2 -2
- data/lib/rad/spec/http_controller.rb +22 -22
- data/lib/rad/spec/mailer.rb +4 -4
- data/lib/rad/spec/remote.rb +1 -1
- data/lib/rad/spec/router.rb +4 -4
- data/lib/rad/spec/template.rb +2 -2
- data/lib/rad/tasks.rb +2 -2
- data/lib/rad/template/_context.rb +15 -15
- data/lib/rad/template/_relative_path_resolver.rb +1 -1
- data/lib/rad/template/_support/tilt.rb +17 -17
- data/lib/rad/template/_support/tilt_fixes.rb +3 -3
- data/lib/rad/template/_template.rb +47 -47
- data/lib/rad/web/_ajax_helper.rb +4 -4
- data/lib/rad/web/_controller_miscellaneous_helper.rb +5 -5
- data/lib/rad/web/_ensure_no_www.rb +5 -5
- data/lib/rad/web/_protect_from_forgery.rb +18 -18
- data/lib/rad/web/_require.rb +7 -7
- data/lib/rad/web/_router/abstract_routing_helper.rb +4 -4
- data/lib/rad/web/_router/controller_routing_helper.rb +15 -15
- data/lib/rad/web/_router/view_routing_helper.rb +12 -12
- data/readme.md +5 -5
- data/spec/controller/abstract_spec.rb +29 -29
- data/spec/controller/context_spec.rb +32 -32
- data/spec/controller/error_handling_spec.rb +31 -31
- data/spec/controller/helper_spec.rb +13 -13
- data/spec/controller/http_spec.rb +32 -32
- data/spec/controller/render_spec.rb +59 -59
- data/spec/conveyors/conveyors_spec.rb +32 -32
- data/spec/environment/config_spec.rb +6 -6
- data/spec/environment/environment_spec.rb +7 -7
- data/spec/environment/minimal_app_spec.rb +4 -4
- data/spec/environment/standard_app_spec.rb +10 -10
- data/spec/html/basic_html_helper_spec.rb +6 -6
- data/spec/html/form_helper_spec.rb +5 -5
- data/spec/html/javascript_helper_spec.rb +4 -4
- data/spec/html/model_helper_spec.rb +12 -12
- data/spec/html/scoped_params_spec.rb +2 -2
- data/spec/html/spec_helper.rb +3 -3
- data/spec/http/http_spec.rb +9 -9
- data/spec/http/miscellaneous_spec.rb +2 -2
- data/spec/mailer/mail_controller_spec.rb +23 -23
- data/spec/remote/remote_spec.rb +26 -26
- data/spec/router/alias_router_spec.rb +22 -22
- data/spec/router/basic_router_spec.rb +8 -8
- data/spec/router/configurator_spec.rb +4 -4
- data/spec/router/integration_spec.rb +17 -17
- data/spec/router/object_router_spec.rb +47 -47
- data/spec/router/persistent_params_spec.rb +18 -18
- data/spec/router/restful_router_spec.rb +39 -39
- data/spec/router/router_spec.rb +37 -37
- data/spec/router/routing_helper_spec.rb +18 -18
- data/spec/support/filters_spec.rb +11 -13
- data/spec/template/template_spec.rb +43 -45
- data/spec/template/template_spec/views/layout/content_for/content.erb +3 -1
- data/spec/template/template_spec/views/layout/content_for/layout.erb +1 -1
- data/spec/template/tilt_spec.rb +24 -24
- data/spec/web/basic_spec.rb +25 -25
- data/spec/web/controller_routing_helper_spec.rb +26 -26
- data/spec/web/flash_spec.rb +31 -31
- data/spec/web/protect_from_forgery_spec.rb +44 -44
- data/spec/web/spec_helper_spec.rb +16 -16
- data/spec/web/view_routing_helper_spec.rb +31 -31
- metadata +46 -49
- data/lib/rad/_support/callbacks.rb +0 -166
- data/lib/rad/_support/ruby_ext_with_active_support.rb +0 -4
- data/spec/support/callbacks_spec.rb +0 -157
@@ -2,65 +2,65 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe "spec helper" do
|
4
4
|
isolate :conveyors, :router, before: :all
|
5
|
-
|
5
|
+
|
6
6
|
before do
|
7
7
|
rad.web
|
8
8
|
load 'rad/profiles/web.rb'
|
9
|
-
|
9
|
+
|
10
10
|
class ::Planes
|
11
11
|
inherit Rad::Controller::Http
|
12
|
-
|
12
|
+
|
13
13
|
def fly
|
14
14
|
render inline: 'all right'
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
after :all do
|
20
20
|
remove_constants :Planes
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
describe 'wcall' do
|
24
24
|
before do
|
25
25
|
rad.router.routers = [
|
26
26
|
[:simple_router, Rad::Router::SimpleRouter.new]
|
27
27
|
]
|
28
28
|
end
|
29
|
-
|
30
|
-
it "basic usage" do
|
31
|
-
wcall(Planes, :fly).should =~ /all right/
|
29
|
+
|
30
|
+
it "basic usage" do
|
31
|
+
wcall(Planes, :fly).should =~ /all right/
|
32
32
|
wcall('/planes/fly').should =~ /all right/
|
33
|
-
end
|
34
|
-
|
33
|
+
end
|
34
|
+
|
35
35
|
it "with :cycle scope" do
|
36
36
|
wcall(Planes, :fly){|c|
|
37
37
|
c.call
|
38
38
|
}.should =~ /all right/
|
39
39
|
end
|
40
|
-
|
40
|
+
|
41
41
|
describe "set_wcall" do
|
42
42
|
before :all do
|
43
43
|
set_wcall controller: Planes
|
44
44
|
end
|
45
|
-
|
45
|
+
|
46
46
|
it "usage with handy shortcut" do
|
47
47
|
wcall(:fly).should =~ /all right/
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
51
|
-
|
51
|
+
|
52
52
|
describe "routes" do
|
53
53
|
before do
|
54
54
|
router = rad[:router]
|
55
55
|
router.routers[:restful_router] = Rad::Router::RestfulRouter.new
|
56
56
|
router.routers[:restful_router].add :planes, class_name: 'Planes'
|
57
57
|
end
|
58
|
-
|
58
|
+
|
59
59
|
it "url_for, url_for_path" do
|
60
60
|
url_for(Planes, :fly).should == "/planes/fly"
|
61
|
-
url_for_path("/path", key: 'value').should == "/path?key=value"
|
61
|
+
url_for_path("/path", key: 'value').should == "/path?key=value"
|
62
62
|
end
|
63
|
-
|
63
|
+
|
64
64
|
it "named routes" do
|
65
65
|
fly_planes_path.should == "/planes/fly"
|
66
66
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'html/spec_helper'
|
3
3
|
|
4
|
-
describe "UrlHelper" do
|
4
|
+
describe "UrlHelper" do
|
5
5
|
isolate :conveyors, :router, before: :all
|
6
|
-
|
6
|
+
|
7
7
|
before :all do
|
8
8
|
rad.web
|
9
9
|
rad.reset :conveyors
|
10
|
-
|
10
|
+
|
11
11
|
class MockRouter < Rad::Router
|
12
12
|
def url_for_path path, params
|
13
13
|
path = if params.blank?
|
@@ -15,7 +15,7 @@ describe "UrlHelper" do
|
|
15
15
|
else
|
16
16
|
path + '?' + params.to_a.collect{|a, b| "#{a}=#{b}"}.join("&")
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
"url_for: #{path}"
|
20
20
|
end
|
21
21
|
|
@@ -24,77 +24,77 @@ describe "UrlHelper" do
|
|
24
24
|
url_for_path path, params
|
25
25
|
end
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
MOCK_ROUTER = MockRouter.new :class
|
29
|
-
|
29
|
+
|
30
30
|
class MockUrlHelperContext < Rad::MockTemplateContext
|
31
31
|
inherit Rad::ViewRoutingHelper
|
32
|
-
|
32
|
+
|
33
33
|
def url_for *args
|
34
|
-
|
34
|
+
|
35
35
|
opt = args.extract_options!
|
36
36
|
format = opt[:format]
|
37
37
|
args << opt
|
38
|
-
|
38
|
+
|
39
39
|
# url = args.inspect.gsub('"', "'")
|
40
40
|
url = MOCK_ROUTER.url_for *args
|
41
|
-
|
41
|
+
|
42
42
|
# url = "url_for: #{args.to_s}"
|
43
43
|
url.marks.format = format
|
44
44
|
url
|
45
|
-
end
|
45
|
+
end
|
46
46
|
end
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
after :all do
|
50
50
|
remove_constants :MOCK_ROUTER, :MockRouter, :MockUrlHelperContext
|
51
51
|
end
|
52
|
-
|
53
|
-
before do
|
52
|
+
|
53
|
+
before do
|
54
54
|
@t = MockUrlHelperContext.new
|
55
55
|
end
|
56
|
-
|
56
|
+
|
57
57
|
if String.method_defined? :to_xhtml
|
58
|
-
describe "link_to" do
|
58
|
+
describe "link_to" do
|
59
59
|
it "should works with url_for attributes" do
|
60
60
|
@t.link_to('Book', Object, :method, {format: 'html'}, class: 'highlight').to_xhtml('a').
|
61
61
|
to_fuzzy_hash.should == {class: "highlight", href: "url_for: Object.method?format=html", content: 'Book'}
|
62
|
-
|
62
|
+
|
63
63
|
@t.link_to(Object, :method, {format: 'html'}, class: 'highlight'){'Book'}.to_xhtml('a').
|
64
64
|
to_fuzzy_hash.should == {class: "highlight", href: "url_for: Object.method?format=html", content: 'Book'}
|
65
|
-
|
65
|
+
|
66
66
|
@t.link_to('Book', :method).to_xhtml('a').
|
67
67
|
to_fuzzy_hash.should == {href: "url_for: .method", content: 'Book'}
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
it "should works with url_for_path attributes" do
|
71
71
|
@t.link_to('Book', '/some_book', class: 'highlight').to_xhtml('a').
|
72
72
|
to_fuzzy_hash.should == {class: "highlight", href: "/some_book", content: 'Book'}
|
73
|
-
|
73
|
+
|
74
74
|
@t.link_to('/some_book', class: 'highlight'){'Book'}.to_xhtml('a').
|
75
75
|
to_fuzzy_hash.should == {class: "highlight", href: "/some_book", content: 'Book'}
|
76
|
-
|
76
|
+
|
77
77
|
@t.link_to('/some_book'){'Book'}.to_xhtml('a').
|
78
78
|
to_fuzzy_hash.should == {href: "/some_book", content: 'Book'}
|
79
79
|
end
|
80
|
-
|
80
|
+
|
81
81
|
it "links for 'js', 'json' formats should be automatically became remote" do
|
82
82
|
@t.link_to('Book', @t.url_for('/some_book', format: 'json')).to_xhtml('a').to_fuzzy_hash.should == {
|
83
83
|
href: '#', content: 'Book',
|
84
84
|
'data-action' => 'url_for: /some_book?format=json', 'data-method' => 'post', 'data-remote' => 'true'
|
85
85
|
}
|
86
|
-
|
86
|
+
|
87
87
|
@t.link_to('Book', :method, format: 'js').to_xhtml('a').to_fuzzy_hash.should == {
|
88
88
|
href: '#', content: 'Book',
|
89
89
|
'data-action' => 'url_for: .method?format=js', 'data-method' => 'post', 'data-remote' => 'true'
|
90
90
|
}
|
91
|
-
|
91
|
+
|
92
92
|
@t.link_to('Book', :method, {format: 'js'}, class: 'highlight').to_xhtml('a').to_fuzzy_hash.should == {
|
93
93
|
href: '#', content: 'Book', class: 'highlight',
|
94
94
|
'data-action' => 'url_for: .method?format=js', 'data-method' => 'post', 'data-remote' => 'true'
|
95
95
|
}
|
96
96
|
end
|
97
|
-
|
97
|
+
|
98
98
|
it "confirm" do
|
99
99
|
attrs = @t.link_to('Book', '/some_book', confirm: 'Are you shure?').to_xhtml('a')
|
100
100
|
attrs.should_not include('data-remote')
|
@@ -105,7 +105,7 @@ describe "UrlHelper" do
|
|
105
105
|
'data-confirm' => "Are you shure?"
|
106
106
|
}
|
107
107
|
end
|
108
|
-
|
108
|
+
|
109
109
|
it "POST method" do
|
110
110
|
attrs = @t.link_to('Book', '/some_book', method: :post).to_xhtml('a')
|
111
111
|
attrs.should_not include('data-remote')
|
@@ -114,14 +114,14 @@ describe "UrlHelper" do
|
|
114
114
|
'data-action' => '/some_book', 'data-method' => 'post'
|
115
115
|
}
|
116
116
|
end
|
117
|
-
|
117
|
+
|
118
118
|
it "remote" do
|
119
119
|
@t.link_to('Book', '/some_book', remote: true).to_xhtml('a').to_fuzzy_hash.should == {
|
120
120
|
href: "#", content: 'Book',
|
121
121
|
'data-action' => '/some_book', 'data-method' => 'post', 'data-remote' => 'true'
|
122
122
|
}
|
123
123
|
end
|
124
|
-
|
124
|
+
|
125
125
|
it ":back" do
|
126
126
|
env = Object.new
|
127
127
|
env.stub(:[]).and_return('/go_back')
|
@@ -130,15 +130,15 @@ describe "UrlHelper" do
|
|
130
130
|
workspace = Object.new
|
131
131
|
workspace.stub(:request).and_return(request)
|
132
132
|
@t.stub(:workspace).and_return(workspace)
|
133
|
-
|
133
|
+
|
134
134
|
@t.link_to('Book', :back).to_xhtml('a').to_fuzzy_hash.should == {href: "/go_back", content: 'Book'}
|
135
135
|
@t.link_to('Book', :back, class: '_some_js_mark').to_xhtml('a').
|
136
136
|
to_fuzzy_hash.should == {href: "/go_back", class: '_some_js_mark', content: 'Book'}
|
137
137
|
end
|
138
|
-
|
138
|
+
|
139
139
|
it "#" do
|
140
140
|
@t.link_to('Book', '#').to_xhtml('a').to_fuzzy_hash.should == {href: "#", content: 'Book'}
|
141
|
-
end
|
141
|
+
end
|
142
142
|
end
|
143
143
|
else
|
144
144
|
warn "WARN: skipping spec"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rad_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,110 +9,110 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-22 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
|
-
requirement: &
|
16
|
+
requirement: &2868640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.0
|
21
|
+
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2868640
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: haml
|
27
|
-
requirement: &
|
27
|
+
requirement: &2868400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: '3.1'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2868400
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: tilt
|
38
|
-
requirement: &
|
38
|
+
requirement: &2868160 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.2
|
43
|
+
version: '1.2'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2868160
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: json
|
49
|
-
requirement: &
|
49
|
+
requirement: &2867920 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.4
|
54
|
+
version: '1.4'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2867920
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: addressable
|
60
|
-
requirement: &
|
60
|
+
requirement: &2867680 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 2.2
|
65
|
+
version: '2.2'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2867680
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rack
|
71
|
-
requirement: &
|
71
|
+
requirement: &2867440 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 1.3
|
76
|
+
version: '1.3'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2867440
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: thin
|
82
|
-
requirement: &
|
82
|
+
requirement: &2867200 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ~>
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.2
|
87
|
+
version: '1.2'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2867200
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: mail
|
93
|
-
requirement: &
|
93
|
+
requirement: &603560 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - ~>
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 2.2
|
98
|
+
version: '2.2'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *603560
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: builder
|
104
|
-
requirement: &
|
104
|
+
requirement: &694430 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: '3.0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *694430
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: ruby_ext
|
115
|
-
requirement: &
|
115
|
+
requirement: &786970 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *786970
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: vfs
|
126
|
-
requirement: &
|
126
|
+
requirement: &976070 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *976070
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: micon
|
137
|
-
requirement: &
|
137
|
+
requirement: &982740 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *982740
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: class_loader
|
148
|
-
requirement: &
|
148
|
+
requirement: &2666290 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2666290
|
157
157
|
description:
|
158
158
|
email:
|
159
159
|
executables:
|
@@ -194,7 +194,6 @@ files:
|
|
194
194
|
- lib/rad/_support/active_support/time.rb
|
195
195
|
- lib/rad/_support/active_support.rb
|
196
196
|
- lib/rad/_support/addressable.rb
|
197
|
-
- lib/rad/_support/callbacks.rb
|
198
197
|
- lib/rad/_support/class_loader.rb
|
199
198
|
- lib/rad/_support/encoding.rb
|
200
199
|
- lib/rad/_support/exception.rb
|
@@ -206,7 +205,6 @@ files:
|
|
206
205
|
- lib/rad/_support/module.rb
|
207
206
|
- lib/rad/_support/require.rb
|
208
207
|
- lib/rad/_support/rson.rb
|
209
|
-
- lib/rad/_support/ruby_ext_with_active_support.rb
|
210
208
|
- lib/rad/_support/string.rb
|
211
209
|
- lib/rad/cli/helper.rb
|
212
210
|
- lib/rad/configurators/_require.rb
|
@@ -410,7 +408,6 @@ files:
|
|
410
408
|
- spec/router/router_spec.rb
|
411
409
|
- spec/router/routing_helper_spec.rb
|
412
410
|
- spec/spec_helper.rb
|
413
|
-
- spec/support/callbacks_spec.rb
|
414
411
|
- spec/support/filters_spec.rb
|
415
412
|
- spec/support/spec_helper.rb
|
416
413
|
- spec/template/template_spec/file.erb
|