Current section
10 Versions
Jump to
Current section
10 Versions
Compare versions
5
files changed
+7
additions
-7
deletions
| @@ -1,6 +1,6 @@ | |
| 1 1 | # Transponder |
| 2 2 | |
| 3 | - DRY up your Phoenix controllers. |
| 3 | + DSL for declarative Phoenix controllers. |
| 4 4 | |
| 5 5 | ## Features |
| @@ -4,9 +4,9 @@ | |
| 4 4 | {<<"elixir">>,<<"~> 1.9">>}. |
| 5 5 | {<<"files">>, |
| 6 6 | [<<"lib">>,<<"lib/transponder">>,<<"lib/transponder/html.ex">>, |
| 7 | - <<"lib/transponder/formatter.ex">>,<<"lib/transponder/json.ex">>, |
| 8 | - <<"lib/transponder.ex">>,<<".formatter.exs">>,<<"mix.exs">>, |
| 9 | - <<"README.md">>]}. |
| 7 | + <<"lib/transponder/formatter.ex">>,<<"lib/transponder/.json.ex.swp">>, |
| 8 | + <<"lib/transponder/json.ex">>,<<"lib/transponder.ex">>,<<".formatter.exs">>, |
| 9 | + <<"mix.exs">>,<<"README.md">>]}. |
| 10 10 | {<<"licenses">>,[<<"MIT">>]}. |
| 11 11 | {<<"links">>,[{<<"github">>,<<"https://github.com/joshnuss/transponder">>}]}. |
| 12 12 | {<<"name">>,<<"transponder">>}. |
| @@ -31,4 +31,4 @@ | |
| 31 31 | {<<"optional">>,false}, |
| 32 32 | {<<"repository">>,<<"hexpm">>}, |
| 33 33 | {<<"requirement">>,<<"~> 1.2">>}]]}. |
| 34 | - {<<"version">>,<<"0.1.1">>}. |
| 34 | + {<<"version">>,<<"0.1.2">>}. |
| @@ -21,7 +21,7 @@ defmodule Transponder.JSON do | |
| 21 21 | end |
| 22 22 | |
| 23 23 | def format(:index, conn, {:ok, records}) do |
| 24 | - render(conn, "index.json", record: records) |
| 24 | + render(conn, "index.json", records: records) |
| 25 25 | end |
| 26 26 | |
| 27 27 | def format(:create, conn, {:ok, record}) do |
| @@ -4,7 +4,7 @@ defmodule Transponder.MixProject do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :transponder, |
| 7 | - version: "0.1.1", |
| 7 | + version: "0.1.2", |
| 8 8 | elixir: "~> 1.9", |
| 9 9 | start_permanent: Mix.env() == :prod, |
| 10 10 | description: "DSL for declarative Phoenix controllers", |