Skip to content

bkerley/hive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hive

Versioned YAML-backed database

Hive was designed for centralized storage of user data orthogonal but related to the shove_auth centralized authentication system. It uses git (through grit) to provide versioning and change tracking.

API

>> public = Hive.new('public.hive', 'console_user')
#=> public.inspect
>> bryce = public['bryce']
#=> bryce hash
>> bryce['awesome'] = true
#=> true
>> bryce.save
#=> bryce hash
>> bryce.history
#=> array of history items
>> bryce.history.first
#=> grit.commit.inspect
>> newguy = public['newguy']
#=> empty newguy hash

About

Versioned YAML database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages