Update gemspec

This commit is contained in:
Jason Lee 2016-09-01 13:07:59 +08:00
parent bb74854cea
commit ed265d0d2f
1 changed files with 10 additions and 8 deletions

View File

@ -4,14 +4,16 @@ $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'rucaptcha/version' require 'rucaptcha/version'
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = 'rucaptcha' s.name = 'rucaptcha'
s.version = RuCaptcha::VERSION s.version = RuCaptcha::VERSION
s.authors = ['Jason Lee'] s.authors = 'Jason Lee'
s.email = 'huacnlee@gmail.com' s.email = 'huacnlee@gmail.com'
s.files = Dir.glob('lib/**/*') + Dir.glob('app/**/*') + Dir.glob('config/**/*') + %w(README.md CHANGELOG.md) s.files = Dir.glob('lib/**/*') + Dir.glob('app/**/*') + Dir.glob('config/**/*') + %w(README.md CHANGELOG.md)
s.homepage = 'https://github.com/huacnlee/rucaptcha' s.homepage = 'https://github.com/huacnlee/rucaptcha'
s.require_paths = ['lib'] s.require_paths = ['lib']
s.summary = 'This is a Captcha gem for Rails Application. It run ImageMagick command to draw Captcha image.' 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 = ">= 1.9.0"
s.add_dependency 'railties', '>= 3.2' s.add_dependency 'railties', '>= 3.2'
end end