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.
@@ -2,31 +2,31 @@ available_languages:
2
2
  - :en
3
3
  language: :en
4
4
 
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
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
@@ -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
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.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: