rucaptcha/rucaptcha.gemspec

26 lines
1.0 KiB
Ruby
Raw Normal View History

2015-10-26 06:09:39 +00:00
lib = File.expand_path('../lib/', __FILE__)
2016-05-25 03:07:26 +00:00
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
2015-10-26 06:09:39 +00:00
2016-05-25 03:07:26 +00:00
require 'rucaptcha/version'
2015-10-26 06:09:39 +00:00
Gem::Specification.new do |s|
2016-09-01 05:07:59 +00:00
s.name = 'rucaptcha'
s.version = RuCaptcha::VERSION
s.authors = 'Jason Lee'
s.email = 'huacnlee@gmail.com'
s.files = Dir.glob('lib/**/*.{rb}') +
Dir.glob("ext/**/*.{h,c,rb}") +
Dir.glob('app/**/*') +
Dir.glob('config/**/*') +
%w[README.md CHANGELOG.md]
2016-09-01 05:07:59 +00:00
s.homepage = 'https://github.com/huacnlee/rucaptcha'
s.require_paths = ['lib']
s.extensions = %w[ext/rucaptcha/extconf.rb]
2016-09-01 05:07:59 +00:00
s.summary = 'This is a Captcha gem for Rails Application. It run ImageMagick command to draw Captcha image.'
s.license = "MIT"
s.required_ruby_version = ">= 2.0.0"
s.add_dependency 'railties', '>= 3.2'
s.add_development_dependency 'rake-compiler', '~> 1'
2015-10-26 06:09:39 +00:00
end