pointless_feedback 3.0.0 → 3.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: de6af6259ff04c8952d8823c9740fea29e1c4aec
4
- data.tar.gz: 5e6025da8c7c5bfac20192c9eb11e67f75209faf
3
+ metadata.gz: 7b281d8e2d40297b3e4daa825101fa0edeae8151
4
+ data.tar.gz: 24456fba85b4355b2659eeba548a58220f4d726c
5
5
  SHA512:
6
- metadata.gz: a47bd775fd3a05f20b8d0ca578d68d8c061fdbcd37de51f7993b602406c2fbc0b07da91a8549e82c6841b236175701ee8c2c540b42c845924b08e2ca82b7b5ac
7
- data.tar.gz: ddadcc28783794b0bbe50adef6757fbe90abe2cb882cbc11019939429a40dc480f9bf56231375bbd29955d684b57c7e207e2bea4af2fb9362bd4334eeff1c2e1
6
+ metadata.gz: bec2b60e090e5a76f6eb51f147b30902e237c4d6079fb22e6affc884ef155edf77ab57314a7b2ae4f51b24039ef2099f48304a29f8eedab409ecd7b86854af08
7
+ data.tar.gz: 63fb01b66ffdb4dfb06d4e36ef7553dd1c473d48a28d3185f83d0d0f6e1f564dbebff4f6f330985ac63baebd2101991f0864928ee682371c3bb3cdd56358263d
@@ -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 = "3.0.0"
2
+ VERSION = "3.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