Bot anti-bot measures
We assume a user is a bot if it has 'ebooks' in the name or if it replies more than once in a 30-second window
This commit is contained in:
parent
8326fc19dd
commit
29beb23502
3 changed files with 209 additions and 67 deletions
|
|
@ -19,6 +19,7 @@ Gem::Specification.new do |gem|
|
|||
gem.add_development_dependency 'rspec-mocks'
|
||||
gem.add_development_dependency 'memory_profiler'
|
||||
gem.add_development_dependency 'pry-byebug'
|
||||
gem.add_development_dependency 'timecop'
|
||||
|
||||
gem.add_runtime_dependency 'twitter', '~> 5.0'
|
||||
gem.add_runtime_dependency 'simple_oauth'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue