rubycas-server.gemspec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. $gemspec = Gem::Specification.new do |s|
  2. s.name = 'rubycas-server'
  3. s.version = '1.1.3.pre'
  4. s.authors = ["Matt Zukowski"]
  5. s.email = ["matt@zukowski.ca"]
  6. s.homepage = 'https://github.com/rubycas/rubycas-server'
  7. s.platform = Gem::Platform::RUBY
  8. s.summary = %q{Provides single sign-on authentication for web applications using the CAS protocol.}
  9. s.description = %q{Provides single sign-on authentication for web applications using the CAS protocol.}
  10. s.files = [
  11. "CHANGELOG", "LICENSE", "README.md", "Rakefile",
  12. "bin/*", "db/**/*", "lib/**/*.rb", "public/**/*", "locales/**/*", "resources/*.*",
  13. "config.ru", "config/**/*", "tasks/**/*.rake", "lib/**/*.erb", "lib/**/*.builder",
  14. "Gemfile", "rubycas-server.gemspec"
  15. ].map{|p| Dir[p]}.flatten
  16. s.test_files = `git ls-files -- spec`.split("\n")
  17. s.executables = ["rubycas-server"]
  18. s.bindir = "bin"
  19. s.require_path = "lib"
  20. s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md"]
  21. s.has_rdoc = true
  22. s.post_install_message = "For more information on RubyCAS-Server, see http://rubycas.github.com"
  23. s.add_dependency("activerecord", ">= 2.3.12", "< 4.0")
  24. s.add_dependency("activesupport", ">= 2.3.12", "< 4.0")
  25. s.add_dependency("sinatra", "~> 1.0")
  26. s.add_dependency("sinatra-r18n", '~> 1.1.0')
  27. s.add_dependency("crypt-isaac", "~> 0.9.1")
  28. s.add_development_dependency("rack-test")
  29. s.add_development_dependency("capybara", '1.1.2')
  30. s.add_development_dependency("rspec")
  31. s.add_development_dependency("rspec-core")
  32. s.add_development_dependency("rake", "0.8.7")
  33. s.add_development_dependency("sqlite3", "~> 1.3.1")
  34. s.add_development_dependency("appraisal", "~> 0.4.1")
  35. s.add_development_dependency("guard", "~> 1.4.0")
  36. s.add_development_dependency("guard-rspec", "2.0.0")
  37. s.add_development_dependency("webmock", "~> 1.8")
  38. s.add_development_dependency("nokogiri", "~> 1.3")
  39. # pull in os specific FS monitoring lib for guard
  40. case RUBY_PLATFORM
  41. when /darwin/i
  42. s.add_development_dependency("rb-fsevent", "~> 0.9.2")
  43. when /linux/i
  44. s.add_development_dependency("rb-inotify", "~> 0.8.8")
  45. when /mswin|bccwin|wince/i
  46. s.add_development_dependency('wdm', '~> 0.0.3') if RUBY_VERSION >= '1.9.2'
  47. s.add_development_dependency('win32console', "~> 1.3.2")
  48. end
  49. s.rdoc_options = [
  50. '--quiet', '--title', 'RubyCAS-Server Documentation', '--opname',
  51. 'index.html', '--line-numbers', '--main', 'README.md', '--inline-source'
  52. ]
  53. end