Skip to content

pixelcabin/pixelcabin-rubocop

Repository files navigation

GitHub tag (latest SemVer) Build Status

Pixelcabin::Rubocop

Shared rubocop gem for Pixelcabin

Installation

Add this line to your application's Gemfile:

source 'https://TOKEN@gem.fury.io/pixelcabin' do
  gem 'pixelcabin-rubocop', '~> 1.1.0'
end

The token can be found within your gemfury dashboard (under the Tokens section). Using a deploy token from the pixelcabin dashboard is preferable instead of using personal deploy tokens.

And then execute:

$ bundle

Or install it yourself as:

$ gem install pxl-disco-app

Usage

console

rubocop

codeclimate

Add the following lines to .codeclimate.yml for the project

prepare:
  fetch:
    - url: 'https://raw.githubusercontent.com/pixelcabin/pixelcabin-rubocop/master/default.yml'
      path: '.rubocop.yml'

Remember to specify the rubocop version used as dependency for this gem in the codeclimate config

channel: rubocop-0-79-0

Installation

Add this line to your application's Gemfile:

source 'https://gem.fury.io/pixelcabin/' do
  gem 'pixelcabin-rubocop'
end

And then execute:

$ bundle

Or install it yourself as:

$ gem install pixelcabin-rubocop

Deployment

  • Switch to master
git checkout master
  • Use the appropriate rake task to deploy a new gem version to Gemfury
   rake release:patch #bumps release version from 0.0.1 to 0.0.2
   rake release:minor #bumps release version from 0.0.1 to 0.1.0
   rake release:major #bumps release version from 0.0.1 to 1.0.0

About

Shared Rubocop config for RoR projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages