alephant-publisher 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/publisher/version.rb +1 -1
- data/lib/alephant/publisher/views/base.rb +1 -1
- data/spec/view_mapper_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffe970223b60e2e7d4ad5cd3a6248749fd5a8545
|
4
|
+
data.tar.gz: 4a7fa0268125646611f0b8e2d3a7b5f8c8148285
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e80be129bb07e65a7cb717ccbf3bdb804202c2198eb79ee5e626be0650306e4b1d5e9f8e833389bfe63d322dae1c7dc53e230c90138e76ac7a074b3b0195078
|
7
|
+
data.tar.gz: 30dc49da71dd43d62669fd9f218b425d76872534ed5dc767e55a465b5db00ab926b8d2c52a7536d8cc0a3724e65c11768f0f98ff1fbeeaeebad21a0e6bf3f3e7
|
@@ -31,7 +31,7 @@ module Alephant::Publisher::Views
|
|
31
31
|
attr_accessor :base_path
|
32
32
|
|
33
33
|
def inherited(subclass)
|
34
|
-
current_dir = File.dirname(caller.first[
|
34
|
+
current_dir = File.dirname(caller.first[/\/[^:]+/])
|
35
35
|
dir_path = Pathname.new(File.join(current_dir,'..')).realdirpath
|
36
36
|
|
37
37
|
subclass.base_path = dir_path.to_s
|
data/spec/view_mapper_spec.rb
CHANGED