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

solidus_drip

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solidus_drip

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SolidusDrip

Solidus integration for Drip

Installation

Add solidus_drip to your Gemfile:

gem 'solidus_drip'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_drip:install

Add your Drip credentials as environment variables. Get your Drip API key here.

ENV['DRIP_API_KEY'] = 'YOUR_API_KEY'
ENV['DRIP_ACCOUNT_ID'] = 'YOUR_ACCOUNT_ID'

Import Data

You can import all order data from your Solidus store to Drip via a rake task. This should ideally only be run once.

rails drip:import_orders

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'solidus_drip/factories'

Releasing

Your new extension version can be released using gem-release like this:

bundle exec gem bump -v VERSION --tag --push --remote upstream && gem release

References

Copyright (c) 2019 Eric Saupe, released under the New BSD License

FAQs

Package last updated on 22 Nov 2019

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