Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix permalink sending #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lencioni
Copy link

@lencioni lencioni commented Jan 7, 2014

Commit 81460d2 added the sending of permalink to Akismet by adding it to the list of "default mappings" all of which get comment_ prepended. However, according to the Askismet documentation1, it appears that they expect permalink to be simply permalink and not comment_permalink.

This commit fixes this discrepancy by moving the :permalink symbol from the list of attributes that receives the prepended comment_ to the list of attributes that does not receive this prependage.

Commit 81460d2 added the sending of permalink to Akismet by adding
it to the list of "default mappings" all of which get `comment_`
prepended. However, according to the Askismet documentation[1], it
appears that they expect `permalink` to be simply `permalink` and not
`comment_permalink`.

This commit fixes this discrepancy by moving the `:permalink` symbol
from the list of attributes that receives the prepended `comment_` to
the list of attributes that does not receive this prependage.

[1]: http://akismet.com/development/api/#comment-check
When running this spec, rspec complained that `stub` is deprecated and
that we should use `stub` instead. This commit does that.
@ehoch
Copy link
Collaborator

ehoch commented Jan 8, 2014

Woh, you seem quite correct on this one. No idea why the Akismet guys didn't catch this when I had them looking over my requests! I'll try and get this one merged this week. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants