Skip to content

Commit

Permalink
include spec and fix tiny regression
Browse files Browse the repository at this point in the history
  • Loading branch information
benwilson512 committed May 13, 2015
1 parent f76cabc commit 58a7900
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ex_aws/s3/impl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ defmodule ExAws.S3.Impl do
response_opts = opts
|> Map.take(param_keys)
headers = opts
|> Map.drop(param_key)
|> Map.drop(param_keys)
|> Enum.to_list
client.request(:get, bucket, object, headers: headers, params: response_opts)
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule ExAws.Mixfile do

def project do
[app: :ex_aws,
version: "0.1.1",
version: "0.1.2",
elixir: "~> 1.0",
description: "AWS client. Currently supports Dynamo, Kinesis, Lambda, S3",
name: "ExAws",
Expand Down
2 changes: 1 addition & 1 deletion test/lib/ex_aws/s3_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule ExAws.S3Test do
alias Test.Dummy.S3

test "#get_object" do
expected = %{headers: %{response: %{content_type: "application/json"}}, params: %{},
expected = %{headers: [response: %{content_type: "application/json"}], params: %{},
path: "object.json", bucket: "bucket"}
assert expected == S3.get_object("bucket", "object.json", %{response: %{content_type: "application/json"}})
end
Expand Down

0 comments on commit 58a7900

Please sign in to comment.