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

sgem

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sgem

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
5
Created
Source

sgem

sgem is a simple, minimalistic way to build and publish gems using rake.

sgem is based on the excellent mg (written by Ryan Tomayko, extracted by Simon Rozet).

Usage

In your Rakefile:

require 'sgem/auto'

The following tasks are now available:

rake archive      # build archive into pkg/
rake gem          # build gem into pkg/
rake gem:install  # build and install as local gem
rake gem:publish  # push the gem to rubygems.org
rake package      # build gem and archive into pkg/

If you do not trust sgem to automatically determine your gemspec, you may provide it manually:

require 'sgem'

sgem 'project.gemspec'

You may customize the output directory and archive format (as supported by git-archive) through either Ruby:

require 'sgem/auto'

SGem.package_dir    = 'dist'
SGem.archive_format = '.zip'

...or environment variables:

$ DEST=dist ARCHIVE=.zip rake package

License

sgem is free and unencumbered software released into the public domain.

FAQs

Package last updated on 20 Feb 2017

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