Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.
/ samsara Public archive

The hip new auditing gem that tracks both the changes as well as the requests that spawned them.

License

Notifications You must be signed in to change notification settings

nedap/samsara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Samsara

Build Status Code Climate Test Coverage

A simple auditing gem that does things a little differently. Rather than just storing the domain changes made this gem is also capable of storing the context in which the changes were made such as a http request. This context is stored in a separate database table and is shared by multiple revisions in case a single request causes changes to multiple domain models.

Installation

Add this line to your application's Gemfile:

gem 'samsara'

And then execute:

$ bundle

Or install it yourself as:

$ gem install samsara

Contributing

  1. Fork it ( https://github.com/nedap/samsara/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request