erb_asterisk 0.0.6 → 0.0.7

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: 49aa96fce97ae70a2a1b9b9c753d26de3742f204
4
- data.tar.gz: 334f8b7138abff5373fb23fac0a505dbbe9bdd14
3
+ metadata.gz: 10921588da08da44d6bea41147209c7116366db2
4
+ data.tar.gz: b48c7ea95a4ce48c57324fb720021fcf96a55767
5
5
  SHA512:
6
- metadata.gz: 349e46939692e862bbaa4a73d0a6a8791d71eceba20b035fb2f24f0a97eee3514def575d233f40c91fb223b6f79b4445e9abafb73e6ab65e57ef554133e27d5b
7
- data.tar.gz: da0a68f914b49c0e13139099fd0da49c9475b9ddabc3f641d3b09d9c1fb44825fe4e63d8f8423c6ceaae0b6430c5c8bd4d85758e8c8351878f8e04bcb0ca3877
6
+ metadata.gz: 0eb250cd67eb98cff1653e9b54a30b9e797724b4d87d7b7364cb73392acda5272a6136bc202c606867cb95726d5f5cda1d44552f0788714f85dcd7e247b50c85
7
+ data.tar.gz: 7868a18253dfec254c82188027f9820aac8b990d863e9e440bdb8bee34984334d08d63b8a79f1ca8b5330c383e280a28a8ab96ed1c0ea09984540ee9eed41837
data/README.md CHANGED
@@ -105,13 +105,13 @@ This will render to:
105
105
  office/extensions.conf.erb:
106
106
  ```
107
107
  [office-inbound]
108
- <%= apply_line_to :global_inbound_context, 'include => office-inbound' %>
108
+ <% apply_line_to :global_inbound_context, 'include => office-inbound' %>
109
109
  ```
110
110
 
111
111
  extensions.conf.erb:
112
112
  ```
113
113
  [inbound]
114
- <% yield_here :global_inbound_context %>
114
+ <%= yield_here :global_inbound_context %>
115
115
  ```
116
116
  This will render to:
117
117
 
@@ -1,3 +1,3 @@
1
1
  module ErbAsterisk
2
- VERSION = '0.0.6'.freeze
2
+ VERSION = '0.0.7'.freeze
3
3
  end
data/lib/erb_asterisk.rb CHANGED
@@ -44,7 +44,7 @@ module ErbAsterisk
44
44
  @yields[tag] << "\n#{line}"
45
45
  end
46
46
 
47
- nil
47
+ "; Applied \"#{line}\" to :#{tag}"
48
48
  end
49
49
 
50
50
  # Define place where put apply_line_to
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Baikuzin