Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
= 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
Unknown package
We found that pmrpc-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.