No commit activity in last 3 years
No release in over 3 years
Social networking components, including the feed tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.2
~> 0.18
~> 1.9
~> 3.5.0.beta3
~> 0.9.1

Runtime

~> 0.25
~> 6.0.0.beta1
 Project Readme

SocialNetworking

Server and client components for social networking functionality.

Assumptions

This engine expects there to be a Devise-like API available, and an authenticatable Participant class stored in a participants table.

Installation

Add to your Gemfile

gem 'social_networking', git: 'git://github.com/NU-CBITS/social_networking.git'

Then

bundle install

Add the migrations and run them

rake social_networking:install:migrations db:migrate

Install PhantomJS

Download: http://phantomjs.org/download.html
Add the unzipped /bin folder to your $PATH:
---
export PHANTOM_JS=$HOME_DIR/tools/phantomjs-1.9.7-linux-x86_64/bin/
PATH=$PATH:$PHANTOM_JS
---

Usage

Mount the engine in config/routes.rb

mount SocialNetworking::Engine, at: "social_networking"

Include the JavaScript in your 'engine' manifest

//= require social_networking

Run Ruby specs

Create the database

rake app:db:create app:db:migrate

Run the specs

rake spec

Run JavaScript specs

RAILS_ENV=test rake js_spec

Run Ruby linter

rake rb_lint

Run JSHint

rake jshint

Development

Note that when updating Angular, it is necessary to update spec/javascripts/helpers/angular-mocks.js.

Publishing to RubyGems

Build the social_networking gem

gem build social_networking.gemspec

Publish to rubygems.org

gem push social_networking-x.x.x.gem

View the published social_networking gem here