erb_asterisk 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/erb_asterisk.rb +2 -2
- data/lib/erb_asterisk/version.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: 4badf305ddd919fdc97a7095ba51a9f1a6cd56a6
|
4
|
+
data.tar.gz: 9fac0c41b706082c3efaeca8c32415b7aeaaaf0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74851ac850317b43245def437d99808ea048f76807e75f94e320f641f7e5cc1c76c2741fb8fef488399631df4d5a87f1c36a5c22195d7e2a68a3bb65f29a9560
|
7
|
+
data.tar.gz: 7470996949f2b9895ae3756e90c146908e910691b84805876f30bd0082916ff78305c1b422f9295b164483f1d9393c4680972348513a39f7fe12f64ddc591d03
|
data/lib/erb_asterisk.rb
CHANGED
@@ -50,9 +50,9 @@ module ErbAsterisk
|
|
50
50
|
|
51
51
|
def asterisk_root(opts)
|
52
52
|
if opts.arguments.any?
|
53
|
-
custom_root = File.expand_path(
|
53
|
+
custom_root = File.expand_path(opts.arguments.first)
|
54
54
|
Dir.chdir(custom_root)
|
55
|
-
return custom_root
|
55
|
+
return "#{custom_root}/"
|
56
56
|
end
|
57
57
|
return './' if File.exist?(ERB_ASTERISK_CONF)
|
58
58
|
return ERB_ASTERISK_DIR if Dir.exist?(ERB_ASTERISK_DIR)
|
data/lib/erb_asterisk/version.rb
CHANGED