Convert an object into a read-only object
Define a memoized read-only object property.
Strongly typed read-only object methods
Define a configurable memoized read-only object property.
Strongly typed read-only object methods
Strongly typed read-only object methods
Library to create read-only object. Useful for global configurations and static settings;
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
minimal implementation of a PassThrough stream
Now stdin and stdout are files.
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
wrap a readable/writable stream to be read-only
Read a package.json file
Define a non-enumerable read-only property.
A lightweight Node.js module to recursively read files in a directory using ES6 Promises
A smaller version of caniuse-db, with only the essentials!
Get stdin as a string or Uint8Array
Properties file reader for Node.js
Read the closest package.json file
easily make yummy noms for other streams
A window.fetch polyfill.
Global identifiers from different JavaScript environments
Force V8 to use fast properties for an object
Stringify an object sorting scalars before objects, and defaulting to 2-space indent
A faster, lower-memory, fuller-featured querying API for ActiveRecord that returns results as unadorned, read-only objects.
Filesystem storage adapter for the General Object Mapper. Currently just read-only storage.
Write Through and Read Through caching library inspired by CacheMoney and cache_fu, support ActiveRecord 4.
Nagira -- Nagios RESTful API Web services API for Nagios: host status (R/W), service status (R/W); read-only access to configuration objects: hosts, services, contacts, escalations; read-only Nagios server configuration and Nagios runtime environment
Use builder pattern to create ad-hoc SQL queries that aren't tied to models but return read-only plain Ruby objects.
Mongoid::ACL allows you to easily add access control lists to your Mongoid::Document objects. This implementation assumes you need to check acl's when loading an object, it's not efficient if you want to retrieve all the objects an actor has rights on (though it could be if they are all in the same collection). This handles storing and reading permissions only, any actual checking of permissions needs to be done in your application using the methods provided (see usage in README)
A very dynamic object-oriented approach to CSV reading and writing. Unlike the stdlib csv library, this does not handle files. Use the various I/O libraries for that. This gem only handles reading and writing CSV strings. It adds a new struct, CSVEntry, that dynamically has its instance attribute accessor methods created and initialized.
A very simple hash-like class that borrows a little from OpenStruct, etc. * Treats string and symbol keys as equal * Access member objects with ot.>>.keyname * Guard conditions allow you to control what returns if key is not present * Pretty much read-only, for better or worse Meant to facilitate message-passing between classes.
A simple read-only interface to Solr, built on Sunspot. Lunr makes it easy to query and create objects from a Sunspot-managed Solr index without requiring all the knowledge, code, and data used to build the index in the first place. If you have complex indexes with a stored fields and need to search / access those fields without access to the original data store, Lunr might be what you're looking for.
A simple read-only interface to Solr, built on Sunspot. Lunr makes it easy to query and create objects from a Sunspot-managed Solr index without requiring all the knowledge, code, and data used to build the index in the first place. If you have complex indexes with a stored fields and need to search / access those fields without access to the original data store, Lunr might be what you're looking for.
Create APIs in a fast and dynamic way, without the need to develop everything from scratch. You just need to create your models and let APIcasso do the rest for you. It is the perfect candidate to make your project development go faster or for legacy Rails projects that do not have an API. If you think it through, JSON API development can get boring and time consuming. Every time you use almost the same route structure, pointing to the same controller actions, with the same ordering, filtering and pagination features. APIcasso is intended to be used to speed-up development, acting as a full-fledged CRUD JSON API into all your models. It is a route-based abstraction that lets you create, read, list, update or delete any ActiveRecord object in your application. This makes it possible to make CRUD-only applications just by creating functional Rails' models. Access to your application's resources is managed by a .scope JSON object per API key. It uses that permission scope to restrict and extend access.
Authorizer is a gem for Ruby (in conjunction with Rails 2.3) that does authorization for you on a per-object basis. What makes this gem different from e.g. declarative_authorization and cancan is they define one role for the entire application. With Authorizer, you define roles for different users on every Rails object. Let's use a Dropbox analogy. With Dropbox, you can choose which folder you want to share. For instance: Al has a home folder with these subfolders in it: - Music (shared with Bob) - Pictures (shared with Casper and Bob) - News (shared with no-one) This causes Al to have all 3 folders in his Dropbox. Bob has 2 and Casper has only 1 folder called Pictures. In other words, a user has access to a subset of the entire collection of folders. Bob has access to 2 of Al's folders, namely Music and Pictures. But he doesn't even see the News folder, nor can he download files from it. Bob's access to the two folders is both read and write, so let's call that role "admin". Al is the owner of all 3 folders and has a role called "owner". This leads to the following Roles table: folder_name user_name role Music Al owner Bob admin Pictures Al owner Bob admin Casper admin News Al owner Now if we would allow Bob to also access the News folder but only read from it, we could add the role called "reader" to the table: folder_name user_name role News Bob reader This is exactly what Authorizer does for your Rails application.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.