-
Notifications
You must be signed in to change notification settings - Fork 12
/
acts_as_textcaptcha.gemspec
55 lines (45 loc) · 1.97 KB
/
acts_as_textcaptcha.gemspec
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "acts_as_textcaptcha/version"
Gem::Specification.new do |spec|
spec.name = "acts_as_textcaptcha"
spec.version = ActsAsTextcaptcha::VERSION
spec.authors = ["Matthew Hutchinson"]
spec.email = ["[email protected]"]
spec.homepage = "http://github.com/matthutchinson/acts_as_textcaptcha"
spec.license = "MIT"
spec.summary = "A text-based logic question captcha for Rails"
spec.description = <<-DESCRIPTION
ActsAsTextcaptcha provides spam protection for Rails models with text-based
logic question captchas. Questions are fetched from Rob Tuley's
textcaptcha.com They can be solved easily by humans but are tough for robots
to crack.
DESCRIPTION
spec.metadata = {
"homepage_uri" => "https://github.com/matthutchinson/acts_as_textcaptcha",
"changelog_uri" => "https://github.com/matthutchinson/acts_as_textcaptcha/blob/master/CHANGELOG.md",
"source_code_uri" => "https://github.com/matthutchinson/acts_as_textcaptcha",
"bug_tracker_uri" => "https://github.com/matthutchinson/acts_as_textcaptcha/issues",
"allowed_push_host" => "https://rubygems.org",
"rubygems_mfa_required" => "true"
}
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(gemfiles|test|spec|features)/}) }
spec.bindir = "bin"
spec.require_paths = ["lib"]
# documentation
spec.extra_rdoc_files = ["README.md", "LICENSE"]
spec.rdoc_options << "--title" << "ActAsTextcaptcha" << "--main" << "README.md" << "-ri"
# non-gem dependecies
spec.required_ruby_version = ">= 3.1"
# dev gems
spec.add_development_dependency("bundler")
spec.add_development_dependency "rake"
# docs
spec.add_development_dependency("rdoc")
# testing
spec.add_development_dependency("rails", "~> 7.2")
spec.add_development_dependency("minitest")
spec.add_development_dependency("sqlite3")
spec.add_development_dependency("webmock")
end