Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.
/ dxw-utils Public archive

Common utilities for dxw Ruby/Rails projects

License

Notifications You must be signed in to change notification settings

dxw/dxw-utils

Repository files navigation

dxw::utils

This gem is for common code accross dxw's Ruby/Rails projects.

Installation

Add this line to your application's Gemfile:

gem 'dxw-utils', git: 'https://github.com/dxw/dxw-utils'

And then execute:

    $ bundle

Components

Rubocop

To use the shared Rubocop rules in your dxw project, install the gem in your project and add the following lines to your .rubocop.yml:

inherit_gem:
  dxw-utils:
    - dxw-rubocop.yml

If you wish to have project-specific Rubocop rules (cops), you can add them to your project's .rubocop.yml after the inherit_gem declaration, as normal.

Note that you do not need to include Rubocop in your project's Gem file. Using spec.add_dependency in dxw-utils' Gemspec means Rubocop will automatically be available to the including project.

License

The gem is available as open source under the terms of the MIT License.

About

Common utilities for dxw Ruby/Rails projects

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published