Embeddable button with issue tracker
Switch branches/tags
Nothing to show
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
.coveralls.yml
.gitignore
.rspec
.travis.yml
.yardopts
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
bothersme_list.gemspec

README.md

Bothersme List

Build Status Code Climate Coverage Status Dependency Status Online docs Gem Version

Inserts "Track an Issue" button on a side like a button on http://bothers.me

Installation

Add this line to your application's Gemfile:

gem 'bothersme_list'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bothersme_list

Usage

Add this line to your application's Gemfile:

gem 'bothersme_list'

At the end of your layout (usually application.hmtl.erb file) before </body> add

  <%= issues_list('website', 'MyWebsite.com', 'MyProduct') %>

the script will asynchronously add "Track an Issue" button.

Parameters

  1. type [String] indicates the type of the product. Supported types are: 'website', 'camera', 'wearable'
  2. company [String] is your company name camel case like 'MyCompany'
  3. product [String] name of your product came case like "My Product", you can pass nil to render issues for all products
  4. side [String] which side to render on, supported 'left', 'right', default: 'right'
  5. textColor [String] CSS color to render as foreground color. default 'white'
  6. bgColor [String] CSS color to render as background color, default '#55B055'

Contributing

  1. Fork it ( https://github.com/BothersMe/bothersme_list/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

CHANGELOG

See here.

Ruby Doc

Is here