is_bot 2.0.0 → 2.0.1

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: 505715c9c3395a5c9cc3c957a750d1cff0924b96
4
- data.tar.gz: d30f5860c2e540df8bb59cfdfe00b4c87a8adfc1
3
+ metadata.gz: 79d73f8a11d048630e1b6b78f689b316bfb399c0
4
+ data.tar.gz: 9c84a998e1d6cd7284aeec93408106341061753c
5
5
  SHA512:
6
- metadata.gz: 546617e0b29addfea6d80b09e541bab8b5b53686ad51a2bd6062303e34f6524414a12ca16ef10228618ae35c9c8a50ba32d1a79269d706a57b7df2de8e271791
7
- data.tar.gz: 8123701953906108237bbad146487421f9308862b3ed792dbcc323162dec575e01aea53d3d809b26ec6fe7a4aefb2742904195fe39664b560fa0abed6cc2381e
6
+ metadata.gz: 9184155543de0e9309feea4bde1268fbde92f4057b7d4ef7eacd6c8d64fe22c20d7844306388c40bb56286a785bb0221e5344092459d10aeb0cee9b297e890ad
7
+ data.tar.gz: 3c19b941160ee03d0f0cebfc344f5ecbc54cb0819eddcb9664006c93ca76e58a40e92fb9f60f3fab4312c5a0ec552505ba57aded448dca2ca738e360d54556bb
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.3
1
+ 2.3.3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- is_bot (2.0.0)
4
+ is_bot (2.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -78,4 +78,4 @@ DEPENDENCIES
78
78
  sqlite3
79
79
 
80
80
  BUNDLED WITH
81
- 1.10.6
81
+ 1.13.6
data/lib/is_bot.rb CHANGED
@@ -23,7 +23,7 @@ module IsBot
23
23
  module ViewHelper
24
24
  def captcha_reverse_field(object, options={})
25
25
  style = (options.delete(:style) || '') << ";"
26
- style << "visibility: hidden;"
26
+ style << "position:absolute;left:-999em;"
27
27
  ActionView::Helpers::Tags::TextField.new(
28
28
  object, :captcha_in_reverse, self, options.merge(:style => style)
29
29
  ).render
@@ -1,3 +1,3 @@
1
1
  module IsBot
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anuj Dutta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-02 00:00:00.000000000 Z
11
+ date: 2016-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.2.2
154
+ rubygems_version: 2.5.2
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Protects web forms from spammers