validates_captcha 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +27 -12
- data/lib/validates_captcha/version.rb +1 -1
- metadata +21 -21
data/README.rdoc
CHANGED
@@ -194,6 +194,27 @@ ValidatesCaptcha::ImageGenerator::Simple on how to create your own.
|
|
194
194
|
|
195
195
|
|
196
196
|
|
197
|
+
== Installation
|
198
|
+
|
199
|
+
You can install Validates Captcha as a Gem with
|
200
|
+
|
201
|
+
% [sudo] gem install validates_captcha
|
202
|
+
|
203
|
+
and then configure it in your +environment.rb+ file as shown below.
|
204
|
+
|
205
|
+
Rails::Initializer.run do |config|
|
206
|
+
# ...
|
207
|
+
config.gem 'validates_captcha'
|
208
|
+
# ...
|
209
|
+
end
|
210
|
+
|
211
|
+
Or you can install it as a Rails plugin (discouraged) with the
|
212
|
+
following command.
|
213
|
+
|
214
|
+
% ./script/plugin install git://github.com/m4n/validates_captcha.git
|
215
|
+
|
216
|
+
|
217
|
+
|
197
218
|
== Download
|
198
219
|
|
199
220
|
The latest version of Validates Captcha can be found at
|
@@ -211,23 +232,17 @@ following command.
|
|
211
232
|
|
212
233
|
|
213
234
|
|
214
|
-
==
|
235
|
+
== Hacking
|
215
236
|
|
216
|
-
|
237
|
+
Validates Captcha is {hosted on Github}[http://github.com/m4n/validates_captcha].
|
238
|
+
Pull requests are welcome.
|
217
239
|
|
218
|
-
% ./script/plugin install git://github.com/m4n/validates_captcha.git
|
219
|
-
|
220
|
-
Or you can install it as a Gem with
|
221
240
|
|
222
|
-
% [sudo] gem install m4n-validates_captcha --source http://gems.github.com
|
223
241
|
|
224
|
-
|
242
|
+
== Bugs
|
225
243
|
|
226
|
-
|
227
|
-
|
228
|
-
config.gem 'm4n-validates_captcha', :lib => 'validates_captcha'
|
229
|
-
# ...
|
230
|
-
end
|
244
|
+
Please report bugs on the {Github issue tracker}[http://github.com/m4n/validates_captcha/issues]
|
245
|
+
for this project.
|
231
246
|
|
232
247
|
|
233
248
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_captcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Andert
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-28 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -43,30 +43,30 @@ extra_rdoc_files:
|
|
43
43
|
- MIT-LICENSE
|
44
44
|
- README.rdoc
|
45
45
|
files:
|
46
|
-
- README.rdoc
|
47
46
|
- CHANGELOG.rdoc
|
48
|
-
- Rakefile
|
49
47
|
- MIT-LICENSE
|
50
|
-
-
|
51
|
-
-
|
48
|
+
- README.rdoc
|
49
|
+
- Rakefile
|
50
|
+
- lib/validates_captcha.rb
|
52
51
|
- lib/validates_captcha/controller_validation.rb
|
53
|
-
- lib/validates_captcha/
|
54
|
-
- lib/validates_captcha/model_validation.rb
|
55
|
-
- lib/validates_captcha/string_generator/simple.rb
|
52
|
+
- lib/validates_captcha/form_builder.rb
|
56
53
|
- lib/validates_captcha/form_helper.rb
|
57
54
|
- lib/validates_captcha/image_generator/simple.rb
|
58
55
|
- lib/validates_captcha/middleware/simple.rb
|
59
|
-
- lib/validates_captcha/
|
60
|
-
- lib/validates_captcha.rb
|
61
|
-
-
|
62
|
-
-
|
56
|
+
- lib/validates_captcha/model_validation.rb
|
57
|
+
- lib/validates_captcha/reversible_encrypter/simple.rb
|
58
|
+
- lib/validates_captcha/string_generator/simple.rb
|
59
|
+
- lib/validates_captcha/test_case.rb
|
60
|
+
- lib/validates_captcha/version.rb
|
61
|
+
- rails/init.rb
|
63
62
|
- test/cases/controller_validation_test.rb
|
64
|
-
- test/cases/middleware_test.rb
|
65
|
-
- test/cases/validates_captcha_test.rb
|
66
63
|
- test/cases/image_generator_test.rb
|
64
|
+
- test/cases/middleware_test.rb
|
67
65
|
- test/cases/model_validation_test.rb
|
66
|
+
- test/cases/reversible_encrypter_test.rb
|
67
|
+
- test/cases/string_generator_test.rb
|
68
|
+
- test/cases/validates_captcha_test.rb
|
68
69
|
- test/test_helper.rb
|
69
|
-
- rails/init.rb
|
70
70
|
has_rdoc: true
|
71
71
|
homepage: http://m4n.github.com/validates_captcha
|
72
72
|
licenses: []
|
@@ -74,7 +74,7 @@ licenses: []
|
|
74
74
|
post_install_message:
|
75
75
|
rdoc_options:
|
76
76
|
- --title
|
77
|
-
- Validates Captcha 0.9.
|
77
|
+
- Validates Captcha 0.9.2
|
78
78
|
- --main
|
79
79
|
- README.rdoc
|
80
80
|
- --line-numbers
|
@@ -103,11 +103,11 @@ signing_key:
|
|
103
103
|
specification_version: 3
|
104
104
|
summary: Image captcha verification for Rails using ActiveRecord's validation mechanism
|
105
105
|
test_files:
|
106
|
-
- test/cases/string_generator_test.rb
|
107
|
-
- test/cases/reversible_encrypter_test.rb
|
108
106
|
- test/cases/controller_validation_test.rb
|
109
|
-
- test/cases/middleware_test.rb
|
110
|
-
- test/cases/validates_captcha_test.rb
|
111
107
|
- test/cases/image_generator_test.rb
|
108
|
+
- test/cases/middleware_test.rb
|
112
109
|
- test/cases/model_validation_test.rb
|
110
|
+
- test/cases/reversible_encrypter_test.rb
|
111
|
+
- test/cases/string_generator_test.rb
|
112
|
+
- test/cases/validates_captcha_test.rb
|
113
113
|
- test/test_helper.rb
|