A plugin for Danger to compress your PNG/JPEG images by using TinyPNG API.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rubocop.yml
.travis.yml
Gemfile
Gemfile.lock
Guardfile
LICENSE.txt
README.md
Rakefile
danger-tinypng.gemspec

README.md

danger-tinypng

Build Status

danger-tinypng is a plugin for Danger to compress your PNG/JPEG images by using TinyPNG API.

Installation

$ gem install danger-tinypng

Usage

Methods and attributes from this plugin are available in
your `Dangerfile` under the `tinypng` namespace.

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.

Do you want to check your text during CI? Please check my another Danger plugin called danger-text_checker.