pointless_feedback 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8eb3177e6b142397a7de1a9418a970cbb290f407
4
- data.tar.gz: 5c4bc98904a3f86ae751a792833ecae6838c7140
3
+ metadata.gz: 7a8c9cf2331be81817cc5fbe9df50a7ef8b42a30
4
+ data.tar.gz: a144462dc14a0bf950a56e236a4cd5d56a4dc3a2
5
5
  SHA512:
6
- metadata.gz: de09c6b4cbdafa1b36f8795c834d2c14e4069d7714fcf85ea2fd9b7d26dfec848102e49fc5289ffb9be5bdcc7c07fe5693d3b1418f24222c3aa83155d4a57a87
7
- data.tar.gz: dc0643c93f97277efcf7bd9b6386ca64062af841e1e4251d68c2fd75770863c567ff80ec1994e2f5eaaa90f8d6a2658f396d428cfb54c9a431dbddbac347c0f0
6
+ metadata.gz: 2a9ad5a593d376e7a711ee3009f5694fd34c086bc8103f6d67d213d85b785edcbd9db593c8dcd01111d1bef095eddf1cad8293714d16d2afe8c69e6e90c09beb
7
+ data.tar.gz: 5837db4afaf811628c406e64de592a60983f9f300fe163c08efe309496d579d9567f6f4ca3c36aca6a514280da4cbd5e072f2f14f17327cd0de6e523d9329aa6
@@ -19,11 +19,11 @@ module PointlessFeedback
19
19
  private
20
20
 
21
21
  def response
22
- @response ||= Net::HTTP.post_form(uri, body)
22
+ @response ||= Typhoeus.post(url, body: body)
23
23
  end
24
24
 
25
- def uri
26
- URI("https://www.google.com/recaptcha/api/siteverify")
25
+ def url
26
+ "https://www.google.com/recaptcha/api/siteverify"
27
27
  end
28
28
 
29
29
  def body
@@ -1,3 +1,3 @@
1
1
  module PointlessFeedback
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require "pointless_feedback/engine"
2
2
  require "pointless_feedback/captcha"
3
+ require "typhoeus"
3
4
 
4
5
  module PointlessFeedback
5
6
  module Controllers