Skip to content

Commit 58a7900

Browse files
committed
include spec and fix tiny regression
1 parent f76cabc commit 58a7900

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ex_aws/s3/impl.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ defmodule ExAws.S3.Impl do
185185
response_opts = opts
186186
|> Map.take(param_keys)
187187
headers = opts
188-
|> Map.drop(param_key)
188+
|> Map.drop(param_keys)
189189
|> Enum.to_list
190190
client.request(:get, bucket, object, headers: headers, params: response_opts)
191191
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule ExAws.Mixfile do
33

44
def project do
55
[app: :ex_aws,
6-
version: "0.1.1",
6+
version: "0.1.2",
77
elixir: "~> 1.0",
88
description: "AWS client. Currently supports Dynamo, Kinesis, Lambda, S3",
99
name: "ExAws",

test/lib/ex_aws/s3_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule ExAws.S3Test do
1616
alias Test.Dummy.S3
1717

1818
test "#get_object" do
19-
expected = %{headers: %{response: %{content_type: "application/json"}}, params: %{},
19+
expected = %{headers: [response: %{content_type: "application/json"}], params: %{},
2020
path: "object.json", bucket: "bucket"}
2121
assert expected == S3.get_object("bucket", "object.json", %{response: %{content_type: "application/json"}})
2222
end

0 commit comments

Comments
 (0)