recaptcha 1.0.2 → 1.1.0

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: 9da675a22f78891b19e5056fd42b24faf4850dab
4
- data.tar.gz: 4cc8e44cbb1936e45b4f23e33971b8cb2b39bef9
3
+ metadata.gz: c96e9d3a3bb1ea1205727171f30d5e22d58a4944
4
+ data.tar.gz: 4865967869abd7cee6820e595df0b98381312bac
5
5
  SHA512:
6
- metadata.gz: 1e9751d5416f751cf0c7f332e2c2b746c7226f0675c9991fd9947979bc5e55c905728976ca2fd127f8aa7c06bbf914f3d034d673d9a9563ed0b19e2830aa7d2d
7
- data.tar.gz: 6ed67f430bf93340bcae9179da124532159ac3841cfed882aaddaa2537422c43512673cb744737120b1746c1f00a0ae70cbc9894687763c964854bdd7c027c3e
6
+ metadata.gz: ffd25df78395739900ce98fe0def266f2743ae770670701d8de1e0b263f8c4a770bdf37ca6eab640c5f8b77dcbb46ec340c03642591d4544bcb15231f5c73cb1
7
+ data.tar.gz: 87a7fb30aeae1e025422b547b50cfe0097ebace5274d05235f284bd91785fb25178e48485168825ad71506dd589ae21e565c6a5a0c4e55e8920481752956b703
@@ -74,7 +74,7 @@ module Recaptcha
74
74
  end
75
75
 
76
76
  def self.skip?(env)
77
- env ||= ENV['RAILS_ENV'] || (Rails.env if defined? Rails.env)
77
+ env ||= ENV['RACK_ENV'] || ENV['RAILS_ENV'] || (Rails.env if defined? Rails.env)
78
78
  Recaptcha.configuration.skip_verify_env.include? env
79
79
  end
80
80
  end
@@ -1,3 +1,3 @@
1
1
  module Recaptcha
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
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: 1.0.2
4
+ version: 1.1.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: 2015-12-01 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json