File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
module OmniAuth
2
2
module OAuth2
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.0" . freeze
4
4
end
5
5
end
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ def query_string
56
56
57
57
credentials do
58
58
hash = { "token" => access_token . token }
59
- hash . merge! ( "refresh_token" => access_token . refresh_token ) if access_token . expires? && access_token . refresh_token
60
- hash . merge! ( "expires_at" => access_token . expires_at ) if access_token . expires?
61
- hash . merge! ( "expires" => access_token . expires? )
59
+ hash [ "refresh_token" ] = access_token . refresh_token if access_token . expires? && access_token . refresh_token
60
+ hash [ "expires_at" ] = access_token . expires_at if access_token . expires?
61
+ hash [ "expires" ] = access_token . expires?
62
62
hash
63
63
end
64
64
You can’t perform that action at this time.
0 commit comments