acts_as_textcaptcha 4.4.1 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1165 -0
- data/.simplecov +4 -2
- data/.travis.yml +36 -9
- data/Appraisals +14 -6
- data/CHANGELOG.md +35 -3
- data/CODE_OF_CONDUCT.md +1 -2
- data/Gemfile +3 -1
- data/PULL_REQUEST_TEMPLATE.md +16 -0
- data/README.md +42 -14
- data/Rakefile +18 -10
- data/acts_as_textcaptcha.gemspec +35 -38
- data/gemfiles/rails_3.gemfile +2 -1
- data/gemfiles/rails_4.gemfile +3 -2
- data/gemfiles/rails_5.gemfile +3 -2
- data/gemfiles/rails_6.gemfile +8 -0
- data/gemfiles/rails_7.gemfile +8 -0
- data/lib/acts_as_textcaptcha/errors.rb +2 -0
- data/lib/acts_as_textcaptcha/framework/rails.rb +3 -1
- data/lib/acts_as_textcaptcha/railtie.rb +9 -0
- data/lib/{tasks → acts_as_textcaptcha/tasks}/textcaptcha.rake +6 -5
- data/lib/acts_as_textcaptcha/textcaptcha.rb +89 -95
- data/lib/acts_as_textcaptcha/textcaptcha_api.rb +36 -37
- data/lib/acts_as_textcaptcha/textcaptcha_cache.rb +8 -9
- data/lib/acts_as_textcaptcha/textcaptcha_config.rb +37 -36
- data/lib/acts_as_textcaptcha/textcaptcha_helper.rb +12 -13
- data/lib/acts_as_textcaptcha/version.rb +3 -1
- data/lib/acts_as_textcaptcha.rb +9 -6
- metadata +48 -29
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_textcaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Hutchinson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: pry-byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rdoc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,21 +81,21 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: appraisal
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: minitest
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,21 +109,35 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 7.0.2.2
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 7.0.2.2
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: simplecov
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.19.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.19.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sqlite3
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - ">="
|
@@ -137,7 +151,7 @@ dependencies:
|
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
154
|
+
name: webmock
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
157
|
- - ">="
|
@@ -151,10 +165,10 @@ dependencies:
|
|
151
165
|
- !ruby/object:Gem::Version
|
152
166
|
version: '0'
|
153
167
|
description: |2
|
154
|
-
ActsAsTextcaptcha provides spam protection for Rails models with
|
155
|
-
logic question
|
156
|
-
They can be solved easily by humans but are tough for robots
|
157
|
-
|
168
|
+
ActsAsTextcaptcha provides spam protection for Rails models with text-based
|
169
|
+
logic question captchas. Questions are fetched from Rob Tuley's
|
170
|
+
textcaptcha.com They can be solved easily by humans but are tough for robots
|
171
|
+
to crack.
|
158
172
|
email:
|
159
173
|
- matt@hiddenloop.com
|
160
174
|
executables: []
|
@@ -164,6 +178,7 @@ extra_rdoc_files:
|
|
164
178
|
- LICENSE
|
165
179
|
files:
|
166
180
|
- ".gitignore"
|
181
|
+
- ".rubocop.yml"
|
167
182
|
- ".simplecov"
|
168
183
|
- ".travis.yml"
|
169
184
|
- Appraisals
|
@@ -172,6 +187,7 @@ files:
|
|
172
187
|
- CONTRIBUTING.md
|
173
188
|
- Gemfile
|
174
189
|
- LICENSE
|
190
|
+
- PULL_REQUEST_TEMPLATE.md
|
175
191
|
- README.md
|
176
192
|
- Rakefile
|
177
193
|
- acts_as_textcaptcha.gemspec
|
@@ -180,16 +196,19 @@ files:
|
|
180
196
|
- gemfiles/rails_3.gemfile
|
181
197
|
- gemfiles/rails_4.gemfile
|
182
198
|
- gemfiles/rails_5.gemfile
|
199
|
+
- gemfiles/rails_6.gemfile
|
200
|
+
- gemfiles/rails_7.gemfile
|
183
201
|
- lib/acts_as_textcaptcha.rb
|
184
202
|
- lib/acts_as_textcaptcha/errors.rb
|
185
203
|
- lib/acts_as_textcaptcha/framework/rails.rb
|
204
|
+
- lib/acts_as_textcaptcha/railtie.rb
|
205
|
+
- lib/acts_as_textcaptcha/tasks/textcaptcha.rake
|
186
206
|
- lib/acts_as_textcaptcha/textcaptcha.rb
|
187
207
|
- lib/acts_as_textcaptcha/textcaptcha_api.rb
|
188
208
|
- lib/acts_as_textcaptcha/textcaptcha_cache.rb
|
189
209
|
- lib/acts_as_textcaptcha/textcaptcha_config.rb
|
190
210
|
- lib/acts_as_textcaptcha/textcaptcha_helper.rb
|
191
211
|
- lib/acts_as_textcaptcha/version.rb
|
192
|
-
- lib/tasks/textcaptcha.rake
|
193
212
|
homepage: http://github.com/matthutchinson/acts_as_textcaptcha
|
194
213
|
licenses:
|
195
214
|
- MIT
|
@@ -199,7 +218,8 @@ metadata:
|
|
199
218
|
source_code_uri: https://github.com/matthutchinson/acts_as_textcaptcha
|
200
219
|
bug_tracker_uri: https://github.com/matthutchinson/acts_as_textcaptcha/issues
|
201
220
|
allowed_push_host: https://rubygems.org
|
202
|
-
|
221
|
+
rubygems_mfa_required: 'true'
|
222
|
+
post_install_message:
|
203
223
|
rdoc_options:
|
204
224
|
- "--title"
|
205
225
|
- ActAsTextcaptcha
|
@@ -212,16 +232,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
232
|
requirements:
|
213
233
|
- - ">="
|
214
234
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
235
|
+
version: '2.5'
|
216
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
237
|
requirements:
|
218
238
|
- - ">="
|
219
239
|
- !ruby/object:Gem::Version
|
220
240
|
version: '0'
|
221
241
|
requirements: []
|
222
|
-
|
223
|
-
|
224
|
-
signing_key:
|
242
|
+
rubygems_version: 3.3.3
|
243
|
+
signing_key:
|
225
244
|
specification_version: 4
|
226
245
|
summary: A text-based logic question captcha for Rails
|
227
246
|
test_files: []
|