recaptcha 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/lib/recaptcha/rails.rb +5 -7
- data/lib/recaptcha/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b99d7b45252d2e17515aafdfba506545331c7095
|
4
|
+
data.tar.gz: 08800635fabf62f3cc28f71abe15ec691702ee7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 221010e1640f03080062fba349a89bc0727379d1b9354952a630083434437e23c443ab317f21260c3279159209296bae20767e78d23657e5924315bb4d4f17f5
|
7
|
+
data.tar.gz: b2c99f635d5afcbcc59087b2045ef73f56e4a6305e9be04a3e2bed2ad451a014f6051653501c0a11e2675d82758ae8667090953f9bf5778b97c2e9c04e0f25ce
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
##
|
1
|
+
## 1.0.0 - 2015-11-30
|
2
2
|
* remove api v1 support
|
3
3
|
* remove ssl_api_server_url, nonssl_api_server_url, change api_server_url to always need ssl option
|
4
4
|
* removed activesupport dependency for .to_query
|
5
5
|
* made flash and models both have descriptive errors
|
6
6
|
|
7
|
-
## 0.6.0
|
7
|
+
## 0.6.0 - 2015-11-19
|
8
8
|
* extract token module
|
9
9
|
* need to use `gem "recaptcha", require: "recaptcha/rails"` to get rails helpers installed
|
10
10
|
|
11
|
-
## 0.5.0
|
11
|
+
## 0.5.0 - 2015-11-18
|
12
12
|
* size option
|
13
13
|
* support disabling stoken
|
14
14
|
* support Rails.env
|
data/lib/recaptcha/rails.rb
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
require 'net/http'
|
2
2
|
require 'recaptcha'
|
3
3
|
|
4
|
-
module
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
ActionController::Base.send(:include, ::Recaptcha::Verify)
|
10
|
-
end
|
4
|
+
module Recaptcha
|
5
|
+
class Railtie < Rails::Railtie
|
6
|
+
initializer :recaptcha do
|
7
|
+
ActionView::Base.send(:include, ::Recaptcha::ClientHelper)
|
8
|
+
ActionController::Base.send(:include, ::Recaptcha::Verify)
|
11
9
|
end
|
12
10
|
end
|
13
11
|
end
|
data/lib/recaptcha/version.rb
CHANGED