rack-cache-1.2.gemspec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # -*- encoding: utf-8 -*-
  2. Gem::Specification.new do |s|
  3. s.name = "rack-cache"
  4. s.version = "1.2"
  5. s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  6. s.authors = ["Ryan Tomayko"]
  7. s.date = "2012-03-05"
  8. s.description = "Rack::Cache is suitable as a quick drop-in component to enable HTTP caching for Rack-based applications that produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information."
  9. s.email = "r@tomayko.com"
  10. s.extra_rdoc_files = ["README", "COPYING", "TODO", "CHANGES"]
  11. s.files = ["README", "COPYING", "TODO", "CHANGES"]
  12. s.homepage = "http://tomayko.com/src/rack-cache/"
  13. s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rack::Cache", "--main", "Rack::Cache"]
  14. s.require_paths = ["lib"]
  15. s.rubygems_version = "1.8.24"
  16. s.summary = "HTTP Caching for Rack"
  17. if s.respond_to? :specification_version then
  18. s.specification_version = 2
  19. if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
  20. s.add_runtime_dependency(%q<rack>, [">= 0.4"])
  21. s.add_development_dependency(%q<bacon>, [">= 0"])
  22. s.add_development_dependency(%q<memcached>, [">= 0"])
  23. s.add_development_dependency(%q<dalli>, [">= 0"])
  24. else
  25. s.add_dependency(%q<rack>, [">= 0.4"])
  26. s.add_dependency(%q<bacon>, [">= 0"])
  27. s.add_dependency(%q<memcached>, [">= 0"])
  28. s.add_dependency(%q<dalli>, [">= 0"])
  29. end
  30. else
  31. s.add_dependency(%q<rack>, [">= 0.4"])
  32. s.add_dependency(%q<bacon>, [">= 0"])
  33. s.add_dependency(%q<memcached>, [">= 0"])
  34. s.add_dependency(%q<dalli>, [">= 0"])
  35. end
  36. end