rad_core 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/components/environment.yml +28 -28
- data/lib/rad/profiles/web.rb +1 -1
- metadata +1 -1
@@ -2,31 +2,31 @@ available_languages:
|
|
2
2
|
- :en
|
3
3
|
language: :en
|
4
4
|
|
5
|
-
backtrace_filters:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
5
|
+
# backtrace_filters:
|
6
|
+
# - /timeout.rb
|
7
|
+
# - rubygems/custom_require
|
8
|
+
# - /bin/spec
|
9
|
+
# - /monitor
|
10
|
+
# - /synchronize
|
11
|
+
# - internal:lib/
|
12
|
+
#
|
13
|
+
# - /gems/haml
|
14
|
+
# - /gems/tilt
|
15
|
+
# - /gems/rack
|
16
|
+
# - /gems/rspec
|
17
|
+
# - /gems/thin
|
18
|
+
# - /gems/eventmachine
|
19
|
+
# - /gems/mongoid
|
20
|
+
#
|
21
|
+
# - lib/fake_gem
|
22
|
+
# - /class_loader
|
23
|
+
# - /micon
|
24
|
+
#
|
25
|
+
# - /kit/
|
26
|
+
# - /rad/
|
27
|
+
# - /face/
|
28
|
+
#
|
29
|
+
# # - /rad/template
|
30
|
+
# # - /rad/_support
|
31
|
+
# # - /face/view_builder
|
32
|
+
# # - /face/view_helper
|
data/lib/rad/profiles/web.rb
CHANGED
@@ -57,7 +57,7 @@ rad.http.stack.push(-> builder {
|
|
57
57
|
builder.use Rack::Lint if rad.development?
|
58
58
|
|
59
59
|
# Static Files
|
60
|
-
if rad.http.static? and rad.http.public_path and rad.development?
|
60
|
+
if rad.http.static? and rad.http.public_path and defined?(Rad::Assets) and rad.development?
|
61
61
|
filters = /^\/.*?\/static\/|^\/static\/|\/favicon/
|
62
62
|
builder.use Rad::Assets::StaticFiles, filters
|
63
63
|
end
|