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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81bcbad0f9e9a0ca9819eb6322729b9a22d5643c
4
- data.tar.gz: 6ebe952f5326a7f274d5e1f1d93c7d65c3fbbbb0
3
+ metadata.gz: 4badf305ddd919fdc97a7095ba51a9f1a6cd56a6
4
+ data.tar.gz: 9fac0c41b706082c3efaeca8c32415b7aeaaaf0a
5
5
  SHA512:
6
- metadata.gz: f513f06005122307deff63ef3fccb158b1b3405d4321e2c06f14ecb17a39cc83d07e7e2fe4ea2db40fb74f4c3cb378f4f7c6c50d8a037082598328f491a8852c
7
- data.tar.gz: 29a7ae54ff55e40404246628c6df453d49478e901d5652ad631f82eba1eb0b55768f20afbe1a74b42cbb0873ebe51ed899c6d13b50ed2dbd3aa8a44e3d42a6cf
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("#{opts.arguments.first}/")
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)
@@ -1,3 +1,3 @@
1
1
  module ErbAsterisk
2
- VERSION = '0.0.18'.freeze
2
+ VERSION = '0.0.19'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb_asterisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Baikuzin