Skip to content

Commit 1753df4

Browse files
authored
Merge pull request aws-beam#58 from jkakar/aws-0.5.0
Apply fix for API gateway URL signing and bump versionto 0.5.0.
2 parents 5e6af91 + fef69d5 commit 1753df4

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased][unreleased]
66

7+
## [v0.5.0] - 2017-03-07
8+
### Fixed
9+
- `AWS.APIGateway` module uses a service URL without a trailing slash
10+
(apparently AWS behaviour with regard to URL signing is
11+
inconsistent). Thanks Richard Foster (@zuren).
12+
713
## [v0.4.0] - 2017-03-06
814
### Added
915
- `AWS.AppStream` module for AWS AppStream service.
@@ -360,7 +366,8 @@ All notable changes to this project will be documented in this file.
360366
- `AWS.StorageGateway` module for Storage Gateway Service
361367
- `AWS.Support` module for Support Service.
362368

363-
[unreleased]: https://github.com/jkakar/aws-elixir/compare/v0.4.0...HEAD
369+
[unreleased]: https://github.com/jkakar/aws-elixir/compare/v0.5.0...HEAD
370+
[v0.5.0]: https://github.com/jkakar/aws-elixir/compare/v0.4.0...v0.5.0
364371
[v0.4.0]: https://github.com/jkakar/aws-elixir/compare/v0.3.0...v0.4.0
365372
[v0.3.0]: https://github.com/jkakar/aws-elixir/compare/v0.2.0...v0.3.0
366373
[v0.2.0]: https://github.com/jkakar/aws-elixir/compare/v0.1.0...v0.2.0

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ iex> IO.inspect result
3030

3131
```elixir
3232
def deps do
33-
[{:aws, "~> 0.4.0"}]
33+
[{:aws, "~> 0.5.0"}]
3434
end
3535
```
3636

@@ -70,7 +70,6 @@ mix test
7070
* Run `git tag v$VERSION` to tag the version that was just published.
7171
* Run `git push --tags origin master` to push tags to Github.
7272
* Run `mix hex.publish` to publish the new version.
73-
* Run `mix hex.docs` to publish the documentation.
7473

7574
## License
7675

lib/aws/api_gateway.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ defmodule AWS.APIGateway do
10451045
end
10461046

10471047
defp get_url(host, url, %{:proto => proto, :port => port}) do
1048-
"#{proto}://#{host}:#{port}#{url}/"
1048+
"#{proto}://#{host}:#{port}#{url}"
10491049
end
10501050

10511051
defp encode_payload(input) do

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule AWS.Mixfile do
22
use Mix.Project
33

4-
@version "0.4.0"
4+
@version "0.5.0"
55

66
def project do
77
[app: :aws,

0 commit comments

Comments
 (0)