edge-captcha 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/app/views/edge_captcha/_recaptcha.html.erb +3 -2
- data/lib/edge-captcha/version.rb +1 -1
- metadata +10 -10
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
<!-- this is for recaptcha -->
|
|
3
3
|
<script>
|
|
4
4
|
var RecaptchaOptions = {
|
|
5
|
-
theme : 'white'
|
|
5
|
+
theme : 'white',
|
|
6
|
+
lang : 'en'
|
|
6
7
|
};
|
|
7
8
|
</script>
|
|
8
|
-
<%= javascript_include_tag "http://www.google.com/recaptcha/api/challenge?k=#{EdgeCaptcha::Engine.config.recaptcha[:public_key]}" %>
|
|
9
|
+
<%= javascript_include_tag "http://www.google.com/recaptcha/api/challenge?k=#{EdgeCaptcha::Engine.config.recaptcha[:public_key]}&hl=en" %>
|
|
9
10
|
<noscript>
|
|
10
11
|
<iframe src="http://www.google.com/recaptcha/api/noscript?k=6Len6sISAAAAAFjJaGLIU7IxEEheifrB8HY2AQj7#{EdgeCaptcha::Engine.config.recaptcha[:public_key]}" height="300" width="500" frameborder="0"></iframe>
|
|
11
12
|
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
|
data/lib/edge-captcha/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: edge-captcha
|
|
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,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-05-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &15025380 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: 3.2.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *15025380
|
|
25
25
|
description: Rails mountable engine, that provides captcha support
|
|
26
26
|
email:
|
|
27
27
|
- dan.persa@gmail.com
|
|
@@ -29,16 +29,16 @@ executables: []
|
|
|
29
29
|
extensions: []
|
|
30
30
|
extra_rdoc_files: []
|
|
31
31
|
files:
|
|
32
|
-
- app/helpers/edge_captcha/application_helper.rb
|
|
33
|
-
- app/controllers/edge_captcha/application_controller.rb
|
|
34
|
-
- app/views/edge_captcha/_recaptcha.html.erb
|
|
35
32
|
- app/assets/stylesheets/edge_captcha/application.css
|
|
36
33
|
- app/assets/javascripts/edge_captcha/application.js
|
|
34
|
+
- app/views/edge_captcha/_recaptcha.html.erb
|
|
35
|
+
- app/helpers/edge_captcha/application_helper.rb
|
|
36
|
+
- app/controllers/edge_captcha/application_controller.rb
|
|
37
37
|
- config/routes.rb
|
|
38
|
-
- lib/edge-
|
|
38
|
+
- lib/tasks/edge-captcha_tasks.rake
|
|
39
39
|
- lib/edge-captcha/engine.rb
|
|
40
40
|
- lib/edge-captcha/version.rb
|
|
41
|
-
- lib/
|
|
41
|
+
- lib/edge-captcha.rb
|
|
42
42
|
- MIT-LICENSE
|
|
43
43
|
- Rakefile
|
|
44
44
|
- README.rdoc
|
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
64
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 1.8.
|
|
65
|
+
rubygems_version: 1.8.10
|
|
66
66
|
signing_key:
|
|
67
67
|
specification_version: 3
|
|
68
68
|
summary: Rails mountable engine, that provides captcha support
|