Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-sinatra-contrib
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: ruby-sinatra  ]

软件包: ruby-sinatra-contrib (2.0.8.1-1)

collection of useful extensions to the Sinatra web framework

sinatra-contrib is a collection of common extensions to the Sinatra web framework, semi-officially supported:

 - capture: Lets you capture the content of blocks in templates.
 - config_file: Allows loading configuration from yaml files.
 - content_for: Adds Rails-style content_for helpers to Haml, Erb,
   Erubis and Slim.
 - cookies: A cookies helper for reading and writing cookies.
 - engine_tracking: Adds methods like haml? that allow helper methods
   to check whether they are called from within a template.
 - json: Adds a #json helper method to return JSON documents.
 - link_header: Helpers for generating link HTML tags and
   corresponding Link HTTP headers. Adds link, stylesheet and prefetch helper
   methods.
 - multi_route: Adds ability to define one route block for multiple
   routes and multiple or custom HTTP verbs.
 - namespace: Adds namespace support to Sinatra.
 - respond_with: Choose action and/or template automatically depending
   on the incoming request. Adds helpers respond_to and respond_with.
 - custom_logger: Allows one to define their own logger instance.
 - decompile: Recreates path patterns from Sinatra's internal data
   structures (used by other extensions).
 - reloader: Automatically reloads Ruby files on code changes.
 - extension: Mixin for writing your own Sinatra extensions.
 - test_helpers: Helper methods to ease testing your Sinatra
   application. Partly extracted from Sinatra. Testing framework agnostic.

其他与 ruby-sinatra-contrib 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
  • dep: ruby-backports (>= 2.8.2)
    backports of new features for older versions of Ruby
  • dep: ruby-multi-json
    Ruby library to provide easy switching between different JSON backends
  • dep: ruby-mustermann (>= 1.0~)
    use patterns like regular expressions
  • dep: ruby-rack-protection (>= 2.0.5~)
    Protects against typical web attacks for Rack apps
  • dep: ruby-sinatra (>= 2.0.5~)
    Ruby web-development dressed in a DSL
  • dep: ruby-tilt (>= 2.0~)
    Generic interface to multiple Ruby template engines

下载 ruby-sinatra-contrib

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 25.8 kB127 kB [文件列表]