Skip to content

Commit

Permalink
Fix typos (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng authored Dec 16, 2021
1 parent d72f6f7 commit 11c4d51
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Add formatter [`#453`](https://github.com/code-corps/stripity_stripe/pull/453)
- Typo for retrieving invoice items + Adds handler for Usage endpoint [`#433`](https://github.com/code-corps/stripity_stripe/pull/433)
- Update Configuration instructions in README.md [`#457`](https://github.com/code-corps/stripity_stripe/pull/457)
- Move aroud README [`#455`](https://github.com/code-corps/stripity_stripe/pull/455)
- Move around README [`#455`](https://github.com/code-corps/stripity_stripe/pull/455)
- Upgrade to 2018-11-08 Stripe API [`#439`](https://github.com/code-corps/stripity_stripe/pull/439)
- Add invoice settings to customer/invoice objects [`#451`](https://github.com/code-corps/stripity_stripe/pull/451)
- add shared options to documentation [`#452`](https://github.com/code-corps/stripity_stripe/pull/452)
Expand Down Expand Up @@ -409,7 +409,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
> 31 May 2017
- Added Stripe.Charge.capture [`#224`](https://github.com/code-corps/stripity_stripe/pull/224)
- Added Invoice.upcoming for retreiving upcoming invoices. [`#233`](https://github.com/code-corps/stripity_stripe/pull/233)
- Added Invoice.upcoming for retrieving upcoming invoices. [`#233`](https://github.com/code-corps/stripity_stripe/pull/233)
- Added Stripe.Refund module [`#226`](https://github.com/code-corps/stripity_stripe/pull/226)
- adds Stripe.Refund module [`608c5b3`](https://github.com/code-corps/stripity_stripe/commit/608c5b3f701150ee9ba2b112b612f95a5b923650)
- Add upcoming invoice path [`3483c55`](https://github.com/code-corps/stripity_stripe/commit/3483c55e0f4dbfa3f73716da590b13a9407f489e)
Expand Down Expand Up @@ -579,7 +579,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Allow changing subscription options [`#35`](https://github.com/code-corps/stripity_stripe/issues/35)
- Removed app start up mess, removed supervisor. Closes #50 [`#50`](https://github.com/code-corps/stripity_stripe/issues/50)
- Record new responses for all tests [`7d4530a`](https://github.com/code-corps/stripity_stripe/commit/7d4530ab64be5740f7c66b552d1f409f7802cb33)
- Remove current recorded responces [`11d9cdd`](https://github.com/code-corps/stripity_stripe/commit/11d9cdddfc2904bcbd702ce587ef97ef2db49fa6)
- Remove current recorded responses [`11d9cdd`](https://github.com/code-corps/stripity_stripe/commit/11d9cdddfc2904bcbd702ce587ef97ef2db49fa6)
- Change real token to fake token [`d25542b`](https://github.com/code-corps/stripity_stripe/commit/d25542b4379f8d1601cd8acd01a6a97c9e33c7ff)

#### [v1.3](https://github.com/code-corps/stripity_stripe/compare/v1.1.0...v1.3)
Expand Down Expand Up @@ -610,6 +610,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Tokens API, improved testing and small extra utils [`#5`](https://github.com/code-corps/stripity_stripe/pull/5)
- Refreshed elixir version and updated doc [`#3`](https://github.com/code-corps/stripity_stripe/pull/3)
- Bumped to v1.1.0. Fixes #22 [`#22`](https://github.com/code-corps/stripity_stripe/issues/22)
- Updated README and bumpted version [`8da4b18`](https://github.com/code-corps/stripity_stripe/commit/8da4b18b8f1db304240b06bbe436b04074460ac3)
- Updated README and bumped version [`8da4b18`](https://github.com/code-corps/stripity_stripe/commit/8da4b18b8f1db304240b06bbe436b04074460ac3)
- Connect-ified rest of API. Finished Connect standalone support. Revamped a bit of doc to add links. Merged in latest from rob's repo. Completed move of subscriptions/invoices to their own module. [`9857705`](https://github.com/code-corps/stripity_stripe/commit/9857705bfbbf048c28d35012690dc995f01a5f93)
- Initial [`1d5a868`](https://github.com/code-corps/stripity_stripe/commit/1d5a868d0cf064df0562f4448674680780fcd4b5)
2 changes: 1 addition & 1 deletion lib/stripe/api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule Stripe.API do
@default_max_backoff 2_000

@doc """
In config.exs your implicit or expicit configuration is:
In config.exs your implicit or explicit configuration is:
config :stripity_stripe,
json_library: Poison # defaults to Jason but can be configured to Poison
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/stripe/checkout/session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ defmodule Stripe.Session do

@type adjustable_quantity :: %{
:enabled => boolean(),
optional(:maxiumum) => integer(),
optional(:maximum) => integer(),
optional(:minimum) => integer()
}

Expand Down
4 changes: 2 additions & 2 deletions lib/stripe/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ defmodule Stripe.Config do

@doc """
Resolves the given key from the application's configuration returning the
wrapped expanded value. If the value was a function it get's evaluated, if
the value is a touple of three elements it gets applied.
wrapped expanded value. If the value was a function it gets evaluated, if
the value is a tuple of three elements it gets applied.
"""
@spec resolve(atom, any) :: any
def resolve(key, default \\ nil)
Expand Down
2 changes: 1 addition & 1 deletion lib/stripe/connect/oauth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ defmodule Stripe.Connect.OAuth do
@doc ~S"""
Generate the URL to start a Stripe workflow.
## Paremeter Map Keys
## Parameter Map Keys
The parameter map keys are derived from the [valid request parameter](https://stripe.com/docs/connect/reference)
for the Stripe Connect authorize endpoint. A parameter only needs to be provided if
Expand Down
2 changes: 1 addition & 1 deletion test/stripe/subscriptions/subscription_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ defmodule Stripe.SubscriptionTest do
assert_stripe_requested(:post, "/v1/subscriptions/sub_123")
end

test "deletes a subscription with provided cancelation params" do
test "deletes a subscription with provided cancellation params" do
params = %{invoice_now: true, prorate: true}

assert {:ok, %Stripe.Subscription{} = subscription} =
Expand Down

0 comments on commit 11c4d51

Please sign in to comment.