acts_as_textcaptcha 3.0.11 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,167 +1,186 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: acts_as_textcaptcha
3
- version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease:
6
- segments:
7
- - 3
8
- - 0
9
- - 11
10
- version: 3.0.11
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.0.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Matthew Hutchinson
14
8
  autorequire:
15
9
  bindir: bin
16
- cert_chain:
10
+ cert_chain:
17
11
  - gem-public_cert.pem
18
- date: 2014-01-02 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: bcrypt-ruby
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - ~>
26
- - !ruby/object:Gem::Version
27
- hash: 5
28
- segments:
29
- - 3
30
- - 0
31
- - 1
32
- version: 3.0.1
12
+ date: 2014-01-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: mime-types
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.25.1
21
+ type: :development
33
22
  prerelease: false
34
- type: :runtime
35
- requirement: *id001
36
- - !ruby/object:Gem::Dependency
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.25.1
28
+ - !ruby/object:Gem::Dependency
37
29
  name: rails
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
47
- prerelease: false
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
48
35
  type: :development
49
- requirement: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: bundler
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
61
36
  prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
62
49
  type: :development
63
- requirement: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: minitest
66
- version_requirements: &id004 !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
50
  prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: minitest
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
76
63
  type: :development
77
- requirement: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: simplecov
80
- version_requirements: &id005 !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
89
64
  prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: simplecov
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
90
77
  type: :development
91
- requirement: *id005
92
- - !ruby/object:Gem::Dependency
93
- name: rdoc
94
- version_requirements: &id006 !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
103
78
  prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rdoc
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
104
91
  type: :development
105
- requirement: *id006
106
- - !ruby/object:Gem::Dependency
107
- name: sqlite3
108
- version_requirements: &id007 !ruby/object:Gem::Requirement
109
- none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
- version: "0"
117
92
  prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: sqlite3
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
118
105
  type: :development
119
- requirement: *id007
120
- - !ruby/object:Gem::Dependency
121
- name: fakeweb
122
- version_requirements: &id008 !ruby/object:Gem::Requirement
123
- none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
- version: "0"
131
106
  prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: fakeweb
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
132
119
  type: :development
133
- requirement: *id008
134
- - !ruby/object:Gem::Dependency
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
135
127
  name: strong_parameters
136
- version_requirements: &id009 !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 3
142
- segments:
143
- - 0
144
- version: "0"
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
145
134
  prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: coveralls
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
146
147
  type: :development
147
- requirement: *id009
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: pry
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
148
168
  description: |-
149
169
  Simple question/answer based spam protection for your Rails models.
150
170
  You can define your own logic questions and/or fetch questions from the textcaptcha.com API.
151
171
  The questions involve human logic and are tough for spam bots to crack.
152
172
  For more reasons on why logic questions are a good idea visit; http://textcaptcha.com/why
153
- email:
173
+ email:
154
174
  - matt@hiddenloop.com
155
175
  executables: []
156
-
157
176
  extensions: []
158
-
159
- extra_rdoc_files:
177
+ extra_rdoc_files:
160
178
  - README.rdoc
161
179
  - LICENSE
162
- files:
163
- - .gitignore
164
- - .travis.yml
180
+ files:
181
+ - ".coveralls.yml"
182
+ - ".gitignore"
183
+ - ".travis.yml"
165
184
  - Gemfile
166
185
  - LICENSE
167
186
  - README.rdoc
@@ -174,46 +193,40 @@ files:
174
193
  - lib/acts_as_textcaptcha/framework/rails.rb
175
194
  - lib/acts_as_textcaptcha/framework/rails2.rb
176
195
  - lib/acts_as_textcaptcha/textcaptcha.rb
196
+ - lib/acts_as_textcaptcha/textcaptcha_api.rb
197
+ - lib/acts_as_textcaptcha/textcaptcha_cache.rb
177
198
  - lib/acts_as_textcaptcha/textcaptcha_helper.rb
178
199
  - lib/acts_as_textcaptcha/version.rb
179
200
  - lib/tasks/textcaptcha.rake
180
201
  - test/schema.rb
181
202
  - test/test_helper.rb
182
203
  - test/test_models.rb
204
+ - test/textcaptcha_api_test.rb
205
+ - test/textcaptcha_cache_test.rb
183
206
  - test/textcaptcha_helper_test.rb
184
207
  - test/textcaptcha_test.rb
185
208
  homepage: http://github.com/matthutchinson/acts_as_textcaptcha
186
209
  licenses: []
187
-
210
+ metadata: {}
188
211
  post_install_message:
189
212
  rdoc_options: []
190
-
191
- require_paths:
213
+ require_paths:
192
214
  - lib
193
- required_ruby_version: !ruby/object:Gem::Requirement
194
- none: false
195
- requirements:
215
+ required_ruby_version: !ruby/object:Gem::Requirement
216
+ requirements:
196
217
  - - ">="
197
- - !ruby/object:Gem::Version
198
- hash: 3
199
- segments:
200
- - 0
201
- version: "0"
202
- required_rubygems_version: !ruby/object:Gem::Requirement
203
- none: false
204
- requirements:
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
+ requirements:
205
222
  - - ">="
206
- - !ruby/object:Gem::Version
207
- hash: 3
208
- segments:
209
- - 0
210
- version: "0"
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
211
225
  requirements: []
212
-
213
226
  rubyforge_project:
214
- rubygems_version: 1.8.25
227
+ rubygems_version: 2.2.0
215
228
  signing_key:
216
- specification_version: 3
217
- summary: Spam protection for your models via logic questions and the textcaptcha.com API
229
+ specification_version: 4
230
+ summary: Spam protection for your models via logic questions and the textcaptcha.com
231
+ API
218
232
  test_files: []
219
-