bcrypt-ruby-3.0.1.gemspec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- encoding: utf-8 -*-
  2. Gem::Specification.new do |s|
  3. s.name = "bcrypt-ruby"
  4. s.version = "3.0.1"
  5. s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  6. s.authors = ["Coda Hale"]
  7. s.date = "2011-09-12"
  8. s.description = " bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project\n for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling\n passwords.\n"
  9. s.email = "coda.hale@gmail.com"
  10. s.extensions = ["ext/mri/extconf.rb"]
  11. s.extra_rdoc_files = ["README.md", "COPYING", "CHANGELOG", "lib/bcrypt.rb", "lib/bcrypt_engine.rb"]
  12. s.files = ["README.md", "COPYING", "CHANGELOG", "lib/bcrypt.rb", "lib/bcrypt_engine.rb", "ext/mri/extconf.rb"]
  13. s.homepage = "http://bcrypt-ruby.rubyforge.org"
  14. s.rdoc_options = ["--title", "bcrypt-ruby", "--line-numbers", "--inline-source", "--main", "README.md"]
  15. s.require_paths = ["lib"]
  16. s.rubyforge_project = "bcrypt-ruby"
  17. s.rubygems_version = "1.8.24"
  18. s.summary = "OpenBSD's bcrypt() password hashing algorithm."
  19. if s.respond_to? :specification_version then
  20. s.specification_version = 3
  21. if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
  22. s.add_development_dependency(%q<rake-compiler>, [">= 0"])
  23. s.add_development_dependency(%q<rspec>, [">= 0"])
  24. else
  25. s.add_dependency(%q<rake-compiler>, [">= 0"])
  26. s.add_dependency(%q<rspec>, [">= 0"])
  27. end
  28. else
  29. s.add_dependency(%q<rake-compiler>, [">= 0"])
  30. s.add_dependency(%q<rspec>, [">= 0"])
  31. end
  32. end