RuboCop // Docs
Home
Style Guides
Ruby Rails RSpec Minitest
API Docs
Projects
RuboCop RuboCop AST RuboCop Capybara RuboCop factory_bot RuboCop Minitest RuboCop Performance RuboCop Rails RuboCop Rake RuboCop RSpec RuboCop RSpec Rails RuboCop Thread Safety
Community
GitHub Org Chat (Gitter) Open Collective

RuboCop Packaging

    • Home
    • Installation
    • Usage
    • Cops
    • Cops Documentation
      • Packaging
RuboCop Packaging master
  • RuboCop
    • default
    • 1.75
    • 1.74
    • 1.73
    • 1.72
    • 1.71
    • 1.70
    • 1.69
    • 1.68
    • 1.67
    • 1.66
    • 1.65
    • 1.64
    • 1.63
    • 1.62
    • 1.61
    • 1.60
    • 1.0
  • RuboCop AST
    • master
    • 1.12
    • 1.11
    • 1.10
    • 1.9
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.2
    • 1.1
    • 1.0
  • RuboCop Capybara
    • default
    • 2.21
    • 2.20
    • 2.19
    • 2.18
    • 2.17
  • RuboCop factory_bot
    • default
    • 2.26
    • 2.25
    • 2.24
    • 2.23
    • 2.22
  • RuboCop Minitest
    • default
    • 0.38
    • 0.37
    • 0.36
    • 0.35
    • 0.34
    • 0.33
    • 0.32
    • 0.31
    • 0.30
    • 0.29
    • 0.28
    • 0.27
    • 0.26
    • 0.25
  • RuboCop Packaging
    • master
  • RuboCop Performance
    • default
    • 1.25
    • 1.24
    • 1.23
    • 1.22
    • 1.21
    • 1.20
    • 1.19
    • 1.18
    • 1.17
    • 1.16
    • 1.15
    • 1.14
    • 1.13
    • 1.12
  • RuboCop Rails
    • default
    • 2.32
    • 2.31
    • 2.30
    • 2.29
    • 2.28
    • 2.27
    • 2.26
    • 2.25
    • 2.24
    • 2.23
    • 2.22
    • 2.21
    • 2.20
    • 2.19
    • 2.18
    • 2.17
    • 2.16
    • 2.15
    • 2.14
  • RuboCop RSpec
    • default
    • 3.5
    • 3.4
    • 3.3
    • 3.2
    • 3.1
    • 3.0
    • 2.31
    • 1.44
  • RuboCop RSpec Rails
    • default
    • 2.30
    • 2.29
    • 2.28
  • RuboCop Thread Safety
  • RuboCop Packaging
  • Cops
Edit this Page

Cops

In RuboCop lingo, the various checks performed on the code are called "cops". Each cop is responsible for detecting one particular offense. RuboCop Packaging has only one department, called Packaging.

Packaging

Packaging cops helps both, upstream and downstream maintenance of your projects.

Department Packaging

  • Packaging/BundlerSetupInTests

  • Packaging/GemspecGit

  • Packaging/RequireHardcodingLib

  • Packaging/RequireRelativeHardcodingLib

Usage Packaging

Copyright (C) 2012-2025 Bozhidar Batsov and RuboCop contributors.

Except where otherwise noted, docs.rubocop.org is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).