great_pretender 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb62253be2761441bf8ea8afce272f260d2a2bb6
4
- data.tar.gz: 150374a364f75f88ef4d501e4c8aae17d4314c1c
3
+ metadata.gz: 5fb2ebe22fb805deee644be5d92a309e3f2a85a8
4
+ data.tar.gz: 7b25126499c488103b1ae8d455d8449052ee53ba
5
5
  SHA512:
6
- metadata.gz: 2e93f794863f798c0acd61d114bb702f1324d9986e3e29b71cf7a4f9a49071b9b0b5b3db168d346b4d223042d77ac2bb27cc0ab9a3ba3c40b489b284e41199db
7
- data.tar.gz: a71df485d09157758175644eea9485ca2ff02e6dd50179dc5771b3bbbf85ddfa9a59fd9d7399193f5338e1f4bd589b55b2af03ffce024c3eb6d17034ab2c88d7
6
+ metadata.gz: e37e86a9df9d7b8e2ac2ff50ae311fd13480160bcebfbccff82ad54dccf357a606b044c560dcc4d4b49b7115c6222dc9f3da816162e0e554aa04eb6d91ac2292
7
+ data.tar.gz: d85f43a8f8a04cefbc91cbb62eaefa6e457329c38e2db9250580d3c995efbfe74a456a097f9fbb3ec64bfbdee5767090a6464d4d5caadd4391081a977f47412c
@@ -3,10 +3,14 @@ module GreatPretender
3
3
  class Config
4
4
 
5
5
  attr_accessor :default_layout, :path_separator, :view_path
6
- attr_writer :base_controller
7
6
 
8
7
  def base_controller
9
- @base_controller ||= ::ApplicationController
8
+ @base_controller ||= "::ApplicationController"
9
+ @base_controller.constantize
10
+ end
11
+
12
+ def base_controller=(new_base_controller)
13
+ @base_controller = new_base_controller.to_s
10
14
  end
11
15
 
12
16
  end
@@ -1,3 +1,3 @@
1
1
  module GreatPretender
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: great_pretender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flip Sasser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-20 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler