Skip to content

Commit

Permalink
Whitespace correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Lindahl committed Jun 14, 2013
1 parent 04f4480 commit 6952999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ provider :cas,
service_validate_url: '/cas/serviceValidate'
```

If you encounter problems wih SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended).
If you encounter problems wih SSL certificates you may want to set the `ca_path` parameter or activate `disable_ssl_verification` (not recommended).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/cas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def append_params(base, params)
# Deletes Hash pairs with `nil` values.
# From https://github.com/mkdynamic/omniauth-facebook/blob/972ed5e3456bcaed7df1f55efd7c05c216c8f48e/lib/omniauth/strategies/facebook.rb#L122-127
def prune!(hash)
hash.delete_if do |_, value|
hash.delete_if do |_, value|
prune!(value) if value.is_a?(Hash)
value.nil? || (value.respond_to?(:empty?) && value.empty?)
end
Expand Down

0 comments on commit 6952999

Please sign in to comment.