Sha256: d5bf055c4b46b995eaeaee731d5148d13e94b9c6efe75d09684e55002f090ce5

Contents?: true

Size: 1.87 KB

Versions: 11

Compression:

Stored size: 1.87 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rewritten/version"

Gem::Specification.new do |s|
  s.name        = "rewritten"
  s.version     = Rewritten::VERSION
  s.authors     = ["Kai Rubarth"]
  s.email       = ["kai@doxter.de"]
  s.homepage    = ""
  s.summary     = %q{A redis-based URL rewriting engine}

  s.rubyforge_project = "rewritten"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_dependency "redis-namespace"
  s.add_dependency "vegas",           "~> 0.1.2"
  s.add_dependency "sinatra",         ">= 0.9.2"
  s.add_dependency "multi_json",      "~> 1.0"

  s.add_development_dependency "rake"
  s.add_development_dependency "minitest"
  s.add_development_dependency "pry"
  s.add_development_dependency "coveralls"

  s.description = <<description
    Rewritten is a lookup-based rewriting engine that rewrites requested
    URLs on the fly. The URL manipulations depend on translations found in
    a redis database.

    If a matching translation is found, the result of a request is either a
    redirection or a modification of path and request parameters. For URLs
    without translation entries the request is left unmodified.

    Rewritten takes larges parts from the Resque codebase (which rocks). The
    gem is compromised of four parts:

    1. A Ruby library for creating, modifying and querying translations
    2. A Sinatra app for displaying and managing translations
    3. A Rack app for rewriting and redirecting request (Rack::Rewritten::Url)
    4. A Rack app for substituting URLs in HTML pages with their current translation (Rack::Rewritten::Html)
    5. A Rack app for recording successful request (Rack::Rewritten::Record)
description

end


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rewritten-0.15.0 rewritten.gemspec
rewritten-0.14.2 rewritten.gemspec
rewritten-0.14.1 rewritten.gemspec
rewritten-0.14.0 rewritten.gemspec
rewritten-0.13.1 rewritten.gemspec
rewritten-0.13.0 rewritten.gemspec
rewritten-0.12.1 rewritten.gemspec
rewritten-0.12.0 rewritten.gemspec
rewritten-0.11.1 rewritten.gemspec
rewritten-0.11.0 rewritten.gemspec
rewritten-0.10.0 rewritten.gemspec