Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pmrpc-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pmrpc-rails

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Pmrpc packaged for Rails

Author:: Robert Haines Contact:: mailto:rhaines@manchester.ac.uk URL:: https://github.com/hainesr/pmrpc-rails Licence:: Apache 2.0 (See LICENCE or http://www.apache.org/licenses/LICENSE-2.0) Copyright:: (c) 2013 Robert Haines

== Synopsis

This gem packages the Pmrpc HTML5 JavaScript library for the Rails (3.1+) asset pipeline.

== Description

Pmrpc is an HTML5 JavaScript library for message passing, remote procedure call and publish-subscribe cross-contex communication in the browser. The library provides a simple API for exposing and calling procedures between browser windows, iframes and web workers, even between different origins. Pmrpc also provides several advanced features: callbacks similar to AJAX calls, ACL-based access control, asynchronous procedure support and fault-tolerance via retries. In case this wasn't clear, pmrpc is not a library for browser-server communication, it is a library for communication within the browser.

Pmrpc is available from https://github.com/izuzak/pmrpc

This is purely a gem to package the Pmrpc library for Ruby on Rails.

== Installation

Simply add this gem to your Gemfile:

gem "pmrpc-rails"

And add the following to your JavaScript manifest (usually application.js):

//= require pmrpc

And that is it!

== Usage

Please see the {Pmrpc documentation}[http://ivanzuzak.info/pmrpc/apidocs.html] for how to use it.

== Bugs

For bugs in Pmrpc itself please see the {Pmrpc issue tracker}[https://github.com/izuzak/pmrpc/issues]

For bugs in this packaging gem please use the {Pmrpc Rails issue tracker}[https://github.com/hainesr/pmrpc-rails/issues]

== Customizing Pmrpc itself

This repository includes the Pmrpc repository as a submodule; it is {contributor friendly}[http://www.solitr.com/blog/2012/04/contributor-friendly-gems/]!

So you can easily work on the pmrpc code:

cd pmrpc # go into the pmrpc submodule git checkout master < make your changes > cd .. # go back out to the pmrpc-rails repository root rake build # rebuild the gem with your pmrpc changes

Then if your main app is using your local checkout of the pmrpc-rails gem then you will be using your new version of pmrpc next time you refresh your browser.

FAQs

Package last updated on 15 Nov 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc