rails_qaptcha 0.0.2 → 0.0.3
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.markdown
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
jQuery captcha system with jQuery & jQuery UI for Rails 3
|
|
1
|
+
jQuery slide captcha system with jQuery & jQuery UI for Rails 3
|
|
2
2
|
=========================================================
|
|
3
3
|
|
|
4
4
|
__modify from: [QapTcha](http://www.myjqueryplugins.com/QapTcha "QapTcha")__
|
|
@@ -27,6 +27,7 @@ Usage:
|
|
|
27
27
|
> // or
|
|
28
28
|
>
|
|
29
29
|
> $('.QapTcha').QapTcha({autoRevert:true});
|
|
30
|
+
>
|
|
30
31
|
>});
|
|
31
32
|
|
|
32
33
|
——If you want to control it in server side, you need to judge session[:iQapTcha]——
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@Date : 26/01/2011
|
|
6
6
|
@Author: Surrel Mickael (www.myjqueryplugins.com - www.msconcept.fr)
|
|
7
7
|
@License : Open Source - MIT License : http://www.opensource.org/licenses/mit-license.php
|
|
8
|
-
|
|
8
|
+
@modify: Alex Zhang(blackanger.z@gmail.com)
|
|
9
9
|
**************************************************************************
|
|
10
10
|
*************************************************************************/
|
|
11
11
|
jQuery.QapTcha = {
|
|
@@ -57,7 +57,7 @@ jQuery.QapTcha = {
|
|
|
57
57
|
stop: function(event,ui){
|
|
58
58
|
if(ui.position.left > 150)
|
|
59
59
|
{
|
|
60
|
-
// set the SESSION iQaptcha
|
|
60
|
+
// set the SESSION iQaptcha
|
|
61
61
|
$.post('qaptchas/check',
|
|
62
62
|
function(data) {
|
|
63
63
|
if(data['check'])
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_qaptcha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- AlexZhang
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-06-
|
|
18
|
+
date: 2011-06-28 00:00:00 +08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -62,7 +62,7 @@ dependencies:
|
|
|
62
62
|
version: "0"
|
|
63
63
|
type: :development
|
|
64
64
|
version_requirements: *id003
|
|
65
|
-
description: jQuery captcha system with jQuery & jQuery UI for Rails 3
|
|
65
|
+
description: jQuery slide captcha system with jQuery & jQuery UI for Rails 3
|
|
66
66
|
email:
|
|
67
67
|
- blackanger.z@gmail.com
|
|
68
68
|
executables: []
|
|
@@ -123,6 +123,6 @@ rubyforge_project: rails_qaptcha
|
|
|
123
123
|
rubygems_version: 1.6.2
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 3
|
|
126
|
-
summary: A captcha system with jQuery & jQuery UI for Rails 3
|
|
126
|
+
summary: A jQery slide captcha system with jQuery & jQuery UI for Rails 3
|
|
127
127
|
test_files:
|
|
128
128
|
- spec/spec_helper.rb
|