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 +4 -4
- data/lib/recaptcha/verify.rb +1 -1
- data/lib/recaptcha/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c96e9d3a3bb1ea1205727171f30d5e22d58a4944
|
4
|
+
data.tar.gz: 4865967869abd7cee6820e595df0b98381312bac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffd25df78395739900ce98fe0def266f2743ae770670701d8de1e0b263f8c4a770bdf37ca6eab640c5f8b77dcbb46ec340c03642591d4544bcb15231f5c73cb1
|
7
|
+
data.tar.gz: 87a7fb30aeae1e025422b547b50cfe0097ebace5274d05235f284bd91785fb25178e48485168825ad71506dd589ae21e565c6a5a0c4e55e8920481752956b703
|
data/lib/recaptcha/verify.rb
CHANGED
@@ -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
|
data/lib/recaptcha/version.rb
CHANGED
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
|
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:
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|