RubyGems Navigation menu

sinja 1.2.4

Sinja is a Sinatra extension for quickly building RESTful, {json:api}-compliant web services, leveraging the excellent JSONAPI::Serializers gem for payload serialization. It enhances Sinatra's DSL to enable resource-, relationship-, and role-centric API development, and it configures Sinatra with the proper settings, MIME-types, filters, conditions, and error-handling. There are many parsing (deserializing), rendering (serializing), and other "JSON API" libraries available for Ruby, but relatively few that attempt to correctly implement the entire {json:api} server specification, including routing, request header and query parameter checking, and relationship side-loading. Sinja lets you focus on the business logic of your applications without worrying about the specification, and without pulling in a heavy framework like Rails. It's lightweight, ORM-agnostic, and Ember.js-friendly!

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.3.0 - October 27, 2017 (39.5 KB)
  2. 1.2.5 - March 08, 2017 (38.5 KB)
  3. 1.2.4 - February 13, 2017 (38.0 KB)
  4. 1.2.3 - January 11, 2017 (37.0 KB)
  5. 1.2.2 - December 18, 2016 (36.5 KB)
显示所有版本 (共 19 个)

Runtime 依赖 (6):

activesupport < 6, >= 4.2.7.1
json < 3, >= 1.8.3
mustermann < 2, >= 1.0.0.beta2
sinatra < 3, >= 1.4.7
sinatra-contrib < 3, >= 1.4.7

Development 依赖 (6):

bundler ~> 1.11
minitest ~> 5.9
rake ~> 12.0
sequel ~> 4.41
sqlite3 ~> 1.3

业主:

作者:

  • Mike Pastore

SHA 256 校验和:

955960830969bbce0769180201e98e6785ed67084535d7133b82b73abfb435f3

下载总量 37,218

这个版本 1,738

许可:

MIT

需要的 Ruby 版本: >= 2.3.0

链接: