Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add tent-client

  • Loading branch information...
commit 355e1768f3f9c9ffd73261b69add933f6e7d6318 1 parent 17b0bfc
@titanous titanous authored
View
3  Gemfile
@@ -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  lib/tent-server.rb
@@ -1,4 +1,5 @@
require 'tent-server/version'
+require 'tent-client'
module TentServer
autoload :API, 'tent-server/api'
View
1  lib/tent-server/api.rb
@@ -12,5 +12,6 @@ class API
mount Posts
mount Groups
mount Profile
+ mount Followers
end
end
View
1  lib/tent-server/model/follow.rb
@@ -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
1  tent-server.gemspec
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.