recaptcha 3.1.0 → 3.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca2ec26c375c95c1459db34eda553e75cbfaa1b1
4
- data.tar.gz: 85136cf39a2bcc76269935fde5265a60162d3a80
3
+ metadata.gz: e854a333c67a361f838b389fdaedf07a0d684781
4
+ data.tar.gz: c7f14f5c6c893b289afc0cb37d381d8e11cb7e14
5
5
  SHA512:
6
- metadata.gz: 7280548570fb6c61c15e18f6ad6f533b06b1df491e7b31f26ad5fcf99b40ff9a5e737dfbf70106b5e96ffd8cd457809459092d693a0450730fbf3a6dae4b5f17
7
- data.tar.gz: b002273c513e292f91d5febca4bc37264ddd0495f3b38b7e90781cc647d1a7eda5471a8123b4d479da7845b5d5df6600864560493fd1d72832d23490d1f70c18
6
+ metadata.gz: dab9cf632f6a0b78463e12fd3935ea04bfbbd5d72f17e92ff70fe39aeca15414a3a7d80dae2972aa81e8d6fabb3c20c42c29bd117c500390e2e75fd3401b9525
7
+ data.tar.gz: 2abaec5128d0893a489633ae1d0b7570688d15ace546b29ed2c12455207284b62c6b2b5126ed13b2dafb8fc8ba97b88033154f8cd35ca94ccb7421ea33bd4599
@@ -1,3 +1,7 @@
1
+ ## 3.1.0 - 2016-06-10
2
+ * better error messages
3
+ * frozen constants
4
+
1
5
  ## 3.0.0 - 2016-05-27
2
6
  * remove all non-ssl options
3
7
 
@@ -12,7 +12,6 @@ module Recaptcha
12
12
 
13
13
  USE_SSL_BY_DEFAULT = false
14
14
  HANDLE_TIMEOUTS_GRACEFULLY = true
15
- SKIP_VERIFY_ENV = ['test', 'cucumber'].freeze
16
15
  DEFAULT_TIMEOUT = 3
17
16
 
18
17
  # Gives access to the current Configuration.
@@ -31,7 +31,7 @@ module Recaptcha
31
31
  attr_accessor :skip_verify_env, :private_key, :public_key, :proxy, :handle_timeouts_gracefully, :hostname
32
32
 
33
33
  def initialize #:nodoc:
34
- @skip_verify_env = SKIP_VERIFY_ENV
34
+ @skip_verify_env = %w[test cucumber]
35
35
  @handle_timeouts_gracefully = HANDLE_TIMEOUTS_GRACEFULLY
36
36
 
37
37
  @private_key = ENV['RECAPTCHA_PRIVATE_KEY']
@@ -1,3 +1,3 @@
1
1
  module Recaptcha
2
- VERSION = "3.1.0".freeze
2
+ VERSION = "3.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recaptcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason L Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2016-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json