Socket
Book a DemoInstallSign in
Socket

mandrill-rb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mandrill-rb

1.0.53
bundlerRubygems
Version published
Maintainers
1
Created
Source

Mandrill-rb

Stealing this from https://bitbucket.org/mailchimp/mandrill-api-ruby/ as of version 1.0.52, for multiple reasons.

  • its on bitbucket
  • it was broken in my application due mainly to some oddities caused by wonky file/class declaration (or lack thereof in the gem), i.e. specifically:
module API
  class WhateverController

  end
end

Was making ::Mandrill::API or Mandrill::API or whatever, point to the API module, then break. Short version, didnt have ton of time to dig into it, but when I cloned source of mandrill gem off bitbucket I wasn't suprised it was breaking.

So I broke everything into separate files, added some scope resolution operators for safety and speed, and thats the extent of it so far.

I may end up refactoring to make it more resourceful, which is why I elected to release it under a separate gem name, that and the majority of devs will appreciate it being on github, and being able to dig through the source on GH, and it works for now.

require 'mandrill'

or using bundler:

gem 'mandrill-rb'

FAQs

Package last updated on 08 Jul 2014

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.