honeypot-captcha 1.0.0 → 1.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
  SHA256:
3
- metadata.gz: 93a2779cd20a2bce72fbf2fe5b9998c9b0ba425581cd50446b909472963a4610
4
- data.tar.gz: 2f49e4c15e9e209bf81f06571ab8b342a7bb91ba4d4a0245b55e7d2bcfa314e4
3
+ metadata.gz: de70aea71253224308afd97ec53f4b3c5d0f27b4268d072ca5b53ea7eb73a148
4
+ data.tar.gz: b4da23ac08e48707139cb823f0aa64617e72addebb2f965c897d71d444e59e67
5
5
  SHA512:
6
- metadata.gz: 9e541ea8ca330d5ef0eccf0a8db89153fb7c6086829f46523eb11cdbf0b17ff25ea4b33c55adf9d8603507433fd05ee64cdffd7a7ce304d78c7d5cb917eff617
7
- data.tar.gz: 6df18e62d6a19d0ac04ec57d2e6ad54166b72b5b863e1bf4f4f6e991d496b9717d97a0bb9f3362f202686980b57b7f528decbf160e7879355bda3640682ee5e7
6
+ metadata.gz: 813eae953f01c398c378bf8c3dc7f965fb638c709337bcaff9ebf022c684f8eb956969dd3758c2fe7a731d822dfc3ab2a83868e54129479ece775cd7eb0e4afc
7
+ data.tar.gz: 603bae094ed48572cada9b9a537c2b304459296bdea2942d9b51deaf8b819caaddfe1f44ff6fbae064a18de0faad0a66226acf1c296c2e604a3315d0ad47dbec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -47,7 +47,7 @@ module ActionView
47
47
  end
48
48
 
49
49
  def style_tag(html_id)
50
- return '' if honeypot_style_class.present?
50
+ return ''.html_safe if honeypot_style_class.present?
51
51
 
52
52
  content_tag(:style, :type => 'text/css', :media => 'screen', :scoped => "scoped") do
53
53
  "[id='#{html_id}'] { display:none; }".html_safe
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeypot-captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - curtis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-11 00:00:00.000000000 Z
11
+ date: 2019-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: actionview
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: railties
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: rspec
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -24,6 +52,20 @@ dependencies:
24
52
  - - "~>"
25
53
  - !ruby/object:Gem::Version
26
54
  version: '3.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-html-matchers
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
27
69
  - !ruby/object:Gem::Dependency
28
70
  name: rdoc
29
71
  requirement: !ruby/object:Gem::Requirement
@@ -111,7 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
153
  - !ruby/object:Gem::Version
112
154
  version: '0'
113
155
  requirements: []
114
- rubygems_version: 3.0.2
156
+ rubyforge_project:
157
+ rubygems_version: 2.7.8
115
158
  signing_key:
116
159
  specification_version: 4
117
160
  summary: A simple way to add honeypot captchas to Rails forms