Current section
11 Versions
Jump to
Current section
11 Versions
Compare versions
4
files changed
+24
additions
-12
deletions
| @@ -2,7 +2,18 @@ | |
| 2 2 | |
| 3 3 | ## [Unreleased](https://github.com/danielberkompas/ex_twiml/tree/HEAD) |
| 4 4 | |
| 5 | - [Full Changelog](https://github.com/danielberkompas/ex_twiml/compare/v2.0.1...HEAD) |
| 5 | + [Full Changelog](https://github.com/danielberkompas/ex_twiml/compare/v2.1.0...HEAD) |
| 6 | + |
| 7 | + **Closed issues:** |
| 8 | + |
| 9 | + - consider validating requests are from twilio [\#15](https://github.com/danielberkompas/ex_twiml/issues/15) |
| 10 | + |
| 11 | + **Merged pull requests:** |
| 12 | + |
| 13 | + - task verb and tests [\#16](https://github.com/danielberkompas/ex_twiml/pull/16) ([matteosister](https://github.com/matteosister)) |
| 14 | + |
| 15 | + ## [v2.1.0](https://github.com/danielberkompas/ex_twiml/tree/v2.1.0) (2016-01-23) |
| 16 | + [Full Changelog](https://github.com/danielberkompas/ex_twiml/compare/v2.0.1...v2.1.0) |
| 6 17 | |
| 7 18 | **Merged pull requests:** |
| @@ -1,21 +1,22 @@ | |
| 1 | - ExTwiml |
| 1 | + ExTwiml |
| 2 2 | =================== |
| 3 3 | [](https://travis-ci.org/danielberkompas/ex_twiml) |
| 4 4 | [](https://hex.pm/packages/ex_twiml) |
| 5 5 | [](http://inch-ci.org/github/danielberkompas/extwiml) |
| 6 | + [](https://beta.hexfaktor.org/github/danielberkompas/ex_twiml) |
| 6 7 | |
| 7 8 | Generate TwiML for your [Twilio](http://twilio.com) integration, right inside |
| 8 | - Elixir! Built to be used with [Telephonist](https://github.com/danielberkompas/telephonist), |
| 9 | + Elixir! Built to be used with [Telephonist](https://github.com/danielberkompas/telephonist), |
| 9 10 | but it can be used entirely on its own. |
| 10 11 | |
| 11 12 | ## Installation |
| 12 13 | |
| 13 | - ExTwiml can be installed through mix as a hex package. First, update your |
| 14 | + ExTwiml can be installed through mix as a hex package. First, update your |
| 14 15 | dependencies in `mix.exs`. |
| 15 16 | |
| 16 17 | ```elixir |
| 17 18 | defp deps |
| 18 | - [{:ex_twiml, "~> 2.1.0"}] |
| 19 | + [{:ex_twiml, "~> 2.1.1"}] |
| 19 20 | end |
| 20 21 | ``` |
| 21 22 | |
| @@ -40,7 +41,7 @@ Then run `mix deps.get`, and ExTwiml will be installed. | |
| 40 41 | |
| 41 42 | ## Usage |
| 42 43 | |
| 43 | - Import the `ExTwiml` module into your module, and then use the `twiml` macro to |
| 44 | + Import the `ExTwiml` module into your module, and then use the `twiml` macro to |
| 44 45 | generate your TwiML, like so: |
| 45 46 | |
| 46 47 | ```elixir |
| @@ -52,7 +53,7 @@ defmodule YourModule do | |
| 52 53 | play "/assets/welcome.mp3" |
| 53 54 | gather digits: 4, finish_on_key: "#" do |
| 54 55 | say """ |
| 55 | - Please enter the last four digits of your credit card number, followed |
| 56 | + Please enter the last four digits of your credit card number, followed |
| 56 57 | by the pound sign. |
| 57 58 | """, voice: "woman" |
| 58 59 | end |
| @@ -61,7 +62,7 @@ defmodule YourModule do | |
| 61 62 | end |
| 62 63 | ``` |
| 63 64 | |
| 64 | - You can then render the TwiML by calling `YourModule.render/0`. The output will |
| 65 | + You can then render the TwiML by calling `YourModule.render/0`. The output will |
| 65 66 | be a binary in this format: |
| 66 67 | |
| 67 68 | ```xml |
| @@ -12,4 +12,4 @@ | |
| 12 12 | {<<"maintainers">>,[<<"Daniel Berkompas">>]}. |
| 13 13 | {<<"name">>,<<"ex_twiml">>}. |
| 14 14 | {<<"requirements">>,[]}. |
| 15 | - {<<"version">>,<<"2.1.0">>}. |
| 15 | + {<<"version">>,<<"2.1.1">>}. |
| @@ -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: "2.1.0", |
| 7 | + version: "2.1.1", |
| 8 8 | elixir: "~> 1.0", |
| 9 9 | deps: deps, |
| 10 10 | dialyzer: [ |
| @@ -32,8 +32,8 @@ defmodule ExTwiml.Mixfile do | |
| 32 32 | # Type `mix help deps` for more examples and options |
| 33 33 | defp deps do |
| 34 34 | [ |
| 35 | - {:ex_doc, only: :docs}, |
| 36 | - {:inch_ex, only: :docs} |
| 35 | + {:ex_doc, ">= 0.0.0", only: [:dev, :docs]}, |
| 36 | + {:inch_ex, ">= 0.0.0", only: :docs} |
| 37 37 | ] |
| 38 38 | end |