Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lato_spaces

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lato_spaces

  • 3.1.19
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Lato Spaces

Integrate different workspaces on Lato projects.

Installation

Add required dependencies to your application's Gemfile:

# Use lato as application panel
gem "lato"
gem "lato_spaces"

Install gem and run required tasks:

$ bundle
$ rails lato_spaces:install:application
$ rails lato_spaces:install:migrations
$ rails db:migrate

Mount lato spaces routes on the config/routes.rb file:

Rails.application.routes.draw do
  mount LatoSpaces::Engine => "/lato-spaces"

  # ....
end

Todo

Manage models relations with spaces groups

  • Create a new model to manage the relations between spaces and groups
  • Create a new concern for models that must be related to spaces groups
  • Add hooks on concern to manage the relation on model creation/destroy
  • Add method on concern to update the group of a model
  • Add scopes on concern to get data filtered by group

Other features

  • Show stats about entities on spaces show page
  • Show stats about entities attachments on spaces show page
  • Add roles management on spaces memberships

Tests

  • Add tests for model concerns

Development

Clone repository, install dependencies, run migrations and start:

$ git clone https://github.com/Lato-GAM/lato_spaces
$ cd lato_spaces
$ bundle
$ rails db:migrate
$ rails db:seed
$ foreman start -f Procfile.dev

Publish

$ ruby ./bin/publish.rb

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 30 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc