invisible_captcha 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -4
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/invisible_captcha.gemspec +3 -3
- metadata +4 -5
data/README.md
CHANGED
@@ -1,20 +1,26 @@
|
|
1
1
|
# Invisible Captcha
|
2
|
-
|
2
|
+
Simple protection for ActiveModel forms using honeypot strategy.
|
3
3
|
|
4
4
|
## Installation
|
5
5
|
Add this line to you Gemfile:
|
6
|
+
|
6
7
|
```
|
7
|
-
gem 'invisible_captcha', :require => 'invisible_captcha'
|
8
|
+
gem 'invisible_captcha', :require => 'invisible_captcha'
|
8
9
|
```
|
10
|
+
|
9
11
|
## Usage
|
10
12
|
In your form:
|
13
|
+
|
11
14
|
```ruby
|
12
15
|
<%= form_for(@topic) do |f| %>
|
16
|
+
...
|
13
17
|
<%= invisible_captcha 'topic', 'subtitle' %>
|
18
|
+
...
|
14
19
|
<% end %>
|
15
|
-
|
16
20
|
```
|
21
|
+
|
17
22
|
In your ActiveModel:
|
23
|
+
|
18
24
|
```ruby
|
19
25
|
attr_accessor :subtitle
|
20
26
|
|
@@ -22,4 +28,4 @@ validates :subtitle, :invisible_captcha => true
|
|
22
28
|
```
|
23
29
|
|
24
30
|
## License
|
25
|
-
Invisible Captcha is released under the [MIT](http://opensource.org/licenses/MIT) License.
|
31
|
+
Copyright (c) 2012 Marc Anguera. Invisible Captcha is released under the [MIT](http://opensource.org/licenses/MIT) License.
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/markets/invisible_captcha"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{Simple honeypot protection}
|
21
|
-
gem.description = %Q{
|
21
|
+
gem.description = %Q{Simple protection for ActiveModel forms using honeypot strategy.}
|
22
22
|
gem.email = "srmarc.ai@gmail.com"
|
23
23
|
gem.authors = ["Marc Anguera Insa"]
|
24
24
|
# dependencies defined in Gemfile
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/invisible_captcha.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "invisible_captcha"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marc Anguera Insa"]
|
12
|
-
s.date = "
|
13
|
-
s.description = "
|
12
|
+
s.date = "2013-04-08"
|
13
|
+
s.description = "Simple protection for ActiveModel forms using honeypot strategy."
|
14
14
|
s.email = "srmarc.ai@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.md"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: invisible_captcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|
@@ -75,8 +75,7 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
|
-
description:
|
79
|
-
strategy.
|
78
|
+
description: Simple protection for ActiveModel forms using honeypot strategy.
|
80
79
|
email: srmarc.ai@gmail.com
|
81
80
|
executables: []
|
82
81
|
extensions: []
|
@@ -108,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
107
|
version: '0'
|
109
108
|
segments:
|
110
109
|
- 0
|
111
|
-
hash:
|
110
|
+
hash: -439112639
|
112
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
112
|
none: false
|
114
113
|
requirements:
|