ruby-akismet 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -3
- data/lib/akismet.rb +2 -3
- metadata +4 -3
data/README.rdoc
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
Akismet compatible library for checking spams.
|
2
|
-
|
1
|
+
Akismet compatible library for checking spams.
|
2
|
+
|
3
|
+
Initial form is derived from Akismetor by Ryan Bates and Levy Carneiro Jr.
|
4
|
+
as findable at http://github.com/levycarneiro/akismetor
|
3
5
|
|
4
6
|
= Usage
|
5
7
|
|
6
8
|
First you need an Akismet (or Typepad Antispam) API key. Then you need
|
7
|
-
to setup a few configuration variable
|
9
|
+
to setup a few configuration variable:
|
8
10
|
|
9
11
|
Akismet.key = '123456789'
|
10
12
|
Akismet.blog = 'http://example.com'
|
data/lib/akismet.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'net/http'
|
2
2
|
|
3
|
-
# Akismet compatible library for checking spams.
|
4
|
-
# by default, but should be useable with any Akismet compatible server.
|
3
|
+
# Akismet compatible library for checking spams.
|
5
4
|
#
|
6
5
|
# = Usage
|
7
6
|
#
|
@@ -75,7 +74,7 @@ require 'net/http'
|
|
75
74
|
# end
|
76
75
|
#
|
77
76
|
class Akismet
|
78
|
-
VERSION = '0.9'.freeze
|
77
|
+
VERSION = '0.9.1'.freeze
|
79
78
|
API_VERSION = '1.1'.freeze
|
80
79
|
|
81
80
|
@@host = 'rest.akismet.com'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-akismet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.9.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Julien Portalier
|
@@ -18,7 +19,7 @@ date: 2010-10-22 00:00:00 +02:00
|
|
18
19
|
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
21
|
-
description:
|
22
|
+
description: Ruby library for Akismet and Typepad Antispam with easy integration into a Rails 3 application.
|
22
23
|
email: ysbaddaden@gmail.com
|
23
24
|
executables: []
|
24
25
|
|