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

style_pusher

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

style_pusher

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Installation

To build, test, and install the gem:

bundle install
rake spec install

Purpose:

This gem was created to enable designers push a complete stylesheet to project's repo, as often as they need to.

The complete stylesheet is a mix of scss variebles and mixins. This stylesheet needs to be broken down to variables.scss and mixin.scss and will be pushed to the project repo. Engineers will be notified by designers that there's a new branch / or they see the new branch and can create pull request to approve and merge to master.

How to use this gem:

After installing the gem rake install use the following command: $: "location of the stylesheet" "git repo ssh url" "Name for the branch" "Write a short description" "Location of the stylesheets in the project - where should be uploaded to"

For example:

$: ~/Desktop/devmynd_master_style.scss git@github.com:devmynd/scssketch.git update_colors \"update background color from white to silver\" app/assets/stylesheets

Behind the seen:

The gem will

  • pull down the project or cloning it using the git url user has provided.
  • then takes the complete stylesheet and breaks it down to variables.scss and mixins.scss.
  • uploads the new stylesheets to the location that the user has specified
  • creates a branch using the name user has provided
  • adds and commits the changes with the message that the user has provided
  • pushes the changes to origin
  • deletes the local branch

This will install an executable called style_pusher that you can use to run the program.

This gem was developed using Ruby 2.5.1 under rbenv. YMMV.

FAQs

Package last updated on 14 Sep 2018

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