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 +4 -4
- data/lib/great_pretender/config.rb +6 -2
- data/lib/great_pretender/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fb2ebe22fb805deee644be5d92a309e3f2a85a8
|
4
|
+
data.tar.gz: 7b25126499c488103b1ae8d455d8449052ee53ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
+
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-
|
11
|
+
date: 2014-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|