Permalink
Browse files

Add tent-client

  • Loading branch information...
1 parent 17b0bfc commit 355e1768f3f9c9ffd73261b69add933f6e7d6318 @titanous titanous committed Aug 27, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −1 Gemfile
  2. +1 −0 lib/tent-server.rb
  3. +1 −0 lib/tent-server/api.rb
  4. +1 −0 lib/tent-server/model/follow.rb
  5. +1 −0 tent-server.gemspec
View
@@ -4,4 +4,5 @@ source 'https://rubygems.org'
gemspec
gem 'dm-postgres-adapter'
-gem 'rack-test', :git => "https://github.com/brynary/rack-test.git"
+gem 'rack-test', :git => 'https://github.com/brynary/rack-test.git'
+gem 'tent-client', :git => 'git@git:tent-client.git'
View
@@ -1,4 +1,5 @@
require 'tent-server/version'
+require 'tent-client'
module TentServer
autoload :API, 'tent-server/api'
View
@@ -12,5 +12,6 @@ class API
mount Posts
mount Groups
mount Profile
+ mount Followers
end
end
@@ -9,6 +9,7 @@ class Follow
property :groups, Array
property :entity, URI
property :profile, Json
+ property :licenses, Array
property :type, Enum[:following, :follower]
timestamps :at
View
@@ -19,6 +19,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency 'rack-mount'
gem.add_runtime_dependency 'data_mapper'
+ gem.add_runtime_dependency 'tent-client'
gem.add_development_dependency 'rack-test'
gem.add_development_dependency 'rspec'

0 comments on commit 355e176

Please sign in to comment.