Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Tent protocol client
branch: master

This branch is 80 commits ahead, 90 commits behind tent:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
tent-client.gemspec

README.md

Tent Ruby Client Build Status

TentClient implements a Tent Protocol client library in Ruby. It is incomplete, currently only the endpoints required by tentd and tentd-admin have been implemented.

Usage

# Tent profile discovery
TentClient.new.discover("http://tent-user.example.org")

# Server communication
client = TentClient.new('http://tent-user.example.org',
                        :mac_key_id => 'be94a6bf',
                        :mac_key => '974af035',
                        :mac_algorithm => 'hmac-sha-256')
client.following.create('http://another-tent.example.com')

Contributions

If you find missing endpoints/actions, please submit a pull request.

Something went wrong with that request. Please try again.