JiveAddOns
JiveAddOns is a mountable engine for Rails that enables Jive Add-On functionality.
Release Notes
0.0.8
- Update to work with the latest Jive::AddOn gem
0.0.6
- Extracted
JiveAddOns::AddOn
ActiveRecord functionality into a the separate gem Jive::AddOn and now uses interface Jive::AddOn
0.0.4
- Whitelist/blacklist functionality for add-on names
- Removed jive_os_apps integration - people should be able to make this choice themselves
0.0.2
- Dummy app now registers/unregisters with Jive Sandbox
Installation
Add this line to your application's Gemfile:
gem 'jive_add_ons'
then add and run the ActiveRecord migrations.
bundle exec rails generate jive:add_on:active_record
bundle exec rake db:migrate
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_api"
end
See /spec/dummy/extension_src for the example add-on extension that is uploaded. You'll need to change the endpoints!
For whitelisting and blacklisting specific
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/butchmarshall/jive_add_ons.
License
The gem is available as open source under the terms of the MIT License.