Skip to content

Commit

Permalink
Prep for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Jul 15, 2019
1 parent f13aaf9 commit bef2840
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog

## Unreleased
## v2.0.0 (2019-07-15)

### Bug Fixes
### Bug fixes (possibly backwards incompatible)

- Ensure that the OAuth client is authenticated via Authorization header as
described in the spec (#131)
described in the spec (#131).

## v1.0.1 (2019-04-12)

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end

defp deps do
# Add the dependency
[{:oauth2, "~> 1.0"}]
[{:oauth2, "~> 2.0"}]
end
```

Expand Down Expand Up @@ -170,7 +170,6 @@ defmodule GitHub do

def get_token(client, params, headers) do
client
|> put_param(:client_secret, client.client_secret)
|> put_header("accept", "application/json")
|> OAuth2.Strategy.AuthCode.get_token(params, headers)
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule OAuth2.Mixfile do
use Mix.Project

@version "1.0.1"
@version "2.0.0"

def project do
[
Expand Down

0 comments on commit bef2840

Please sign in to comment.