Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Bump to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Price committed Mar 19, 2016
1 parent 0bdd601 commit 2e568d9
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

## 0.2.0 (2016-03-19)

* Enhancements
* Use GraphQL 0.2.0
* Require Elixir 1.2 and above
* GraphiQL 0.6.1
* Ability to pass in predefined queries
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This [Plug](https://github.com/elixir-lang/plug) allows you to easily mount a Gr
end
def deps do
[{:plug_graphql, "~> 0.1.5"}]
[{:plug_graphql, "~> 0.2"}]
end
```
Expand Down
7 changes: 4 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule GraphQL.Plug.Mixfile do
use Mix.Project

@version "0.1.5"
@version "0.2.0"

@description "A Plug integration for GraphQL Elixir"
@repo_url "https://github.com/graphql-elixir/plug_graphql"
Expand Down Expand Up @@ -29,10 +29,11 @@ defmodule GraphQL.Plug.Mixfile do
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev},
{:mix_test_watch, "~> 0.2", only: :dev},

{:cowboy, "~> 1.0"},
{:plug, "~> 0.14 or ~> 1.0"},
{:poison, "~> 1.5 or ~> 2.0", override: true},
{:graphql, "~> 0.1.2"}]
{:poison, "~> 1.5 or ~> 2.0"},
{:graphql, "~> 0.2"}]
end

defp package do
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"earmark": {:hex, :earmark, "0.1.19"},
"ex_doc": {:hex, :ex_doc, "0.11.0"},
"fs": {:hex, :fs, "0.9.2"},
"graphql": {:hex, :graphql, "0.1.2"},
"graphql": {:hex, :graphql, "0.2.0"},
"mix_test_watch": {:hex, :mix_test_watch, "0.2.6"},
"plug": {:hex, :plug, "1.0.2"},
"poison": {:hex, :poison, "1.5.2"},
Expand Down
2 changes: 1 addition & 1 deletion test/graphql/plug/common_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ defmodule GraphQL.Plug.CommonTest do
end

test "GET with variables ignores invalid variables string", context do
success = ~S({"data":{"greeting":"Hello, !"}})
success = ~S({"data":{"greeting":"Hello, world!"}})
query = "query hi($name: String) { greeting(name: $name) }"

Enum.map(context.plugs, fn(test_plug) ->
Expand Down

0 comments on commit 2e568d9

Please sign in to comment.