matrioshka 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,9 @@ module <%= application %>
15
15
 
16
16
  <% if defined?(ActiveAdmin) %>
17
17
  # ActiveAdmin
18
- ActiveAdmin.setup do |config|
19
- config.load_paths << <%= application %>::Engine.root.join('app/admin').to_s
20
- end
18
+ aa_load_path = << <%= application %>::Engine.root.join('app/admin').to_s
19
+ ActiveAdmin.application.load_paths << aa_load_path
20
+ config.eager_load_paths.reject!{|x| x == aa_load_path}
21
21
  <% end %>
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Matrioshka
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matrioshka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-14 00:00:00.000000000 Z
12
+ date: 2013-02-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Turn your Rails 3 application into a gem
15
15
  email: