public
Description: A client library for Gitlocker, including a Rails ActiveRecord plugin
Homepage:
Clone URL: git://github.com/alexyoung/gitlocker-client.git
alexyoung (author)
Sat Oct 31 12:41:09 -0700 2009
commit  4e8df680ba8f5a4dd79769d6e3637b66b816b555
tree    ac7577b29f8f54bdad2446230036afadba18f057
parent  df49564fd9a15ce5c4a380d277d041d45d0c6270
name age message
file .gitignore Loading commit data...
file README.textile
file Rakefile
file gitlocker-client.gemspec
directory lib/
directory test/
README.textile

This is a client for Gitlocker and it includes a Rails plugin.

The Rails plugin isn’t fully tested yet, it’s still being actively developed. Fortunately it’s fairly simple!

Installation

  1. gem install gitlocker
  2. gem install gitlocker-client
  3. Run gitlocker: gitlocker
  4. Add the plugin to your project’s environment.rb file: config.gem 'gitlocker-client', :lib => 'rails'
  5. Add gitlocker to one of your models

gitlocker 'http://localhost:4567', :fields => :source, :repo_id => Proc.new { |d| "my_app_#{d.user_id}" }

Gitlocker should be installed somewhere as a proper rack app for production.