stupid_spam_protection 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/changelog.md +8 -0
- data/lib/stupid_spam_protection/version.rb +1 -1
- data/stupid_spam_protection.gemspec +2 -2
- metadata +5 -5
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Idea behind this very simple spam protection is validate attribute that it is empty.
|
|
4
4
|
Spam boots fill in all form they can find on page. We will add one virtual attribute :robot.
|
|
5
|
-
Usually it is a good idea to hide input with come css styling.
|
|
5
|
+
Usually it is a good idea to hide input with come css styling. So the human cannot see it.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
data/changelog.md
ADDED
|
@@ -7,8 +7,8 @@ Gem::Specification.new do |gem|
|
|
|
7
7
|
gem.name = "stupid_spam_protection"
|
|
8
8
|
gem.version = StupidSpamProtection::VERSION
|
|
9
9
|
gem.authors = ["Miroslav Hettes"]
|
|
10
|
-
gem.email = ["
|
|
11
|
-
gem.description = %q{Add
|
|
10
|
+
gem.email = ["hettes@webynamieru.sk"]
|
|
11
|
+
gem.description = %q{Add validation for not existing field. Useful as spam protection in forms.}
|
|
12
12
|
gem.summary = %q{Spam protection by validation}
|
|
13
13
|
gem.homepage = "https://github.com/mirrec/stupid_spam_protection"
|
|
14
14
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stupid_spam_protection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
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: 2012-
|
|
12
|
+
date: 2012-11-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -59,10 +59,9 @@ dependencies:
|
|
|
59
59
|
- - ! '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
|
-
description: Add
|
|
63
|
-
forms.
|
|
62
|
+
description: Add validation for not existing field. Useful as spam protection in forms.
|
|
64
63
|
email:
|
|
65
|
-
-
|
|
64
|
+
- hettes@webynamieru.sk
|
|
66
65
|
executables: []
|
|
67
66
|
extensions: []
|
|
68
67
|
extra_rdoc_files: []
|
|
@@ -73,6 +72,7 @@ files:
|
|
|
73
72
|
- LICENSE.txt
|
|
74
73
|
- README.md
|
|
75
74
|
- Rakefile
|
|
75
|
+
- changelog.md
|
|
76
76
|
- lib/stupid_spam_protection.rb
|
|
77
77
|
- lib/stupid_spam_protection/version.rb
|
|
78
78
|
- spec/spec_helper.rb
|