butchmarshall / jive_os_apps

Rails engine for dealing with opensocial app compatibility in Jive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gem Version Build Status

JiveOsApps

JiveOsApps is a mountable engine for Rails that enables Jive OpenSocial App functionality.

This engine doesn't actually do much. OpenSocial apps from Jive are just XML definitions. This just provides a template.

Release Notes

0.0.3

  • XML configuration via YAML files wasn't very well thought out. Now drop in template files directly.

0.0.2

  • Now serves valid XML to Jive

Installation

Add this line to your application's Gemfile:

gem 'jive_os_apps'

And then execute:

$ bundle

Usage

In your routes.rb file, mount the rails engine to enable add-on support.

Rails.application.routes.draw do
	mount JiveAddOns::Engine => "/special_path_for_os_app_xml"
end

Configuration file for your first add-ons XML by adding a YAML file in /views/jive_os_apps/os_apps/show_[Name Here].xml.erb for each name and /views/jive_os_apps/os_apps/locale_[Name Here].xml.erb for each locale.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/butchmarshall/jive_os_apps.

License

The gem is available as open source under the terms of the MIT License.

About

Rails engine for dealing with opensocial app compatibility in Jive

License:MIT License


Languages

Language:Ruby 78.4%Language:HTML 14.7%Language:CSS 3.7%Language:JavaScript 3.2%