1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
begin
require './lib/invisible_captcha/version'
rescue LoadError
require 'invisible_captcha/version'
end
Gem::Specification.new do |spec|
spec.name = "invisible_captcha"
spec.version = InvisibleCaptcha::VERSION
spec.authors = ["Marc Anguera Insa"]
spec.email = ["srmarc.ai@gmail.com"]
spec.description = "Unobtrusive, flexible and complete spam protection for Rails applications using honeypot strategy for better user experience."
spec.summary = "Honeypot spam protection for Rails"
spec.homepage = "https://github.com/markets/invisible_captcha"
spec.license = "MIT"
spec.files = Dir.glob("**/*").select {|v| v !~ /^debian/}
spec.executables = spec.files.select {|v| v =~ /^bin\//}.map { |f| File.basename(f) }
testfiles = spec.files.select {|v| v =~ /^(test|spec|features)/}
spec.require_paths = ["lib"]
spec.add_dependency 'rails', '>= 5.2'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'webrick'
spec.add_development_dependency 'simplecov'
end
|