Current section

11 Versions

Jump to

Compare versions

4 files changed
+4 additions
-4 deletions
  @@ -15,7 +15,7 @@ dependencies in `mix.exs`.
15 15
16 16 ```elixir
17 17 defp deps
18 - [{:ex_twiml, "~> 1.1.1"}]
18 + [{:ex_twiml, "~> 1.1.2"}]
19 19 end
20 20 ```
  @@ -15,4 +15,4 @@
15 15 [{<<"app">>,<<"ex_doc">>},
16 16 {<<"optional">>,nil},
17 17 {<<"requirement">>,<<"~> 0.7">>}]}]}.
18 - {<<"version">>,<<"1.1.1">>}.
18 + {<<"version">>,<<"1.1.2">>}.
  @@ -188,7 +188,7 @@ defmodule ExTwiml do
188 188 case string_or_options do
189 189 string when is_binary(string) ->
190 190 compile_string_macro(unquote(verb), options, string)
191 - {:<<>>, _, _} ->
191 + {atom, _, _} when is_atom(atom) ->
192 192 compile_string_macro(unquote(verb), options, string_or_options)
193 193 _ ->
194 194 compile_nested_macro(unquote(verb), string_or_options)
  @@ -4,7 +4,7 @@ defmodule ExTwiml.Mixfile do
4 4 def project do
5 5 [app: :ex_twiml,
6 6 description: "Generate TwiML with Elixir",
7 - version: "1.1.1",
7 + version: "1.1.2",
8 8 elixir: "~> 1.0",
9 9 deps: deps,
10 10 dialyzer: [