Ruby Support: Difference between revisions

From RavenWiki
Jump to navigationJump to search
No edit summary
 
(Add OmniAuth strategy details)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
raven.rb is a Ruby library implimented by Thomas Counsell (tamc2@cam.ac.uk) that allows a Ruby CGI program to protect itself using Raven. It is currently a beta release.
{{unsupported}}
 
== CGI ==
 
raven.rb is a Ruby library implimented by Thomas Counsell ([[person:tamc2 | tamc2]]@cam.ac.uk) that allows a Ruby CGI program to protect itself using Raven. It is currently a beta release.


* [[raven.rb documentation | Documentation]]
* [[raven.rb documentation | Documentation]]
* [http://raven.cam.ac.uk/project/ruby/files/ Distribution]
* [http://raven.cam.ac.uk/project/ruby/files/ Distribution]
I also have ruby scripts to authenticate via raven using a webrick server and for ruby on rails applications.  Contact [[person:tamc2 | tamc2]] if you need them (I will clean them up and post them at some point).
Furthermore, I have various ruby on rails sites working with Raven. Contact [[person:tamc2 | tamc2]] if you would like to see the code.
== Ruby on Rails ==
There is an OmniAuth strategy written by Charlie Jonas (charlie@charliejonas.co.uk) for authenticating against Raven available on RubyGems under the name <code>omniauth-ucam-raven</code>. The code and documentation are available on [https://github.com/CHTJonas/omniauth-ucam-raven Github].
This is primarily intended for use with the Ruby on Rails framework, however it should also work well for Sinatra applications and anything which utilises Rack middleware.

Latest revision as of 00:23, 19 November 2018

The Raven-related software described on this page is NOT supported or maintained by University Information Services. It is provided here in the hope that it may be useful, but it may contain bugs and security vulnerabilities. It may be supported and maintained by others. You should evaluate whether it meets you particular needs before using it.

CGI

raven.rb is a Ruby library implimented by Thomas Counsell ( tamc2@cam.ac.uk) that allows a Ruby CGI program to protect itself using Raven. It is currently a beta release.

I also have ruby scripts to authenticate via raven using a webrick server and for ruby on rails applications. Contact tamc2 if you need them (I will clean them up and post them at some point).

Furthermore, I have various ruby on rails sites working with Raven. Contact tamc2 if you would like to see the code.

Ruby on Rails

There is an OmniAuth strategy written by Charlie Jonas (charlie@charliejonas.co.uk) for authenticating against Raven available on RubyGems under the name omniauth-ucam-raven. The code and documentation are available on Github.

This is primarily intended for use with the Ruby on Rails framework, however it should also work well for Sinatra applications and anything which utilises Rack middleware.