README.md in usps_flags-0.2.5 vs README.md in usps_flags-0.2.6

- old
+ new

@@ -1,10 +1,10 @@ # United States Power Squadrons® Flag Generator [![Gem Version](https://img.shields.io/gem/v/usps_flags.svg)](https://rubygems.org/gems/usps_flags) [![Build Status](https://travis-ci.org/jfiander/usps-flags.svg)](https://travis-ci.org/jfiander/usps-flags) -[![Coverage Status](https://coveralls.io/repos/github/jfiander/usps-flags/badge.svg?branch=master&service=github)](https://coveralls.io/github/jfiander/usps-flags?branch=master) +[![Test Coverage](https://api.codeclimate.com/v1/badges/760b824f0edac3316a11/test_coverage)](https://codeclimate.com/github/jfiander/usps-flags/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/760b824f0edac3316a11/maintainability)](https://codeclimate.com/github/jfiander/usps-flags/maintainability) This gem allows you to generate precise SVG and PNG flag images based on official specifications. @@ -24,20 +24,10 @@ USPSFlags::Config.new do |config| config.flags_dir "#{Rails.root}/app/assets/images/flags" end ``` -### Other - -Run the following commands: - -```ruby -gem install usps_flags -require 'usps_flags' -USPSFlags::Config.flags_dir "path/to/flags/dir" -``` - ## Available flags - US Ensign - USPS Ensign - USPS Ensign Wheel logo @@ -132,11 +122,9 @@ flag.svg #=> Generates SVG file at "/path/to/svg/output.svg" flag.png #=> Generates PNG file at "/path/to/png/output.png" ``` -- Calling any DSL method without argument, or with `nil` as argument will return - the current value. - You can explicitly set `svg_file` to `""` to suppress printing the SVG content to console/log. - Calling `.png` requires `png_file` to be set. ## Security