Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Commit 5850a21

Browse files
authored
Merge pull request #95 from panorama-ed/SELFS-1359-rename-rubocop-yaml
SELFS-1359: Rename Rubocop YAML
2 parents c709ebc + d0efd14 commit 5850a21

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
${{ runner.os }}-gems-
2020
- run: bundle config path vendor/bundle
2121
- run: bundle install --jobs 4 --retry 3
22-
- run: bundle exec rubocop --config rubocop.yml
22+
- run: bundle exec rubocop --config panolint-rubocop.yml
2323
- run: bundle exec rspec

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can use `panolint`'s rubocop configuration in your project with the followin
3737

3838
```
3939
inherit_gem:
40-
panolint: rubocop.yml
40+
panolint: panolint-rubocop.yml
4141
```
4242

4343
Note that it for this gem in particular in needs to not be a `.rubocop.yml` file because of rubocop's [path relativity](https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md#path-relativity).

lib/panolint/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Panolint
4-
VERSION = "0.1.3"
4+
VERSION = "0.1.4"
55
end

rubocop.yml renamed to panolint-rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# You can use this in your project's .rubocop.yml with the following at the top:
44
#
55
# inherit_gem:
6-
# panolint: rubocop.yml
6+
# panolint: panolint-rubocop.yml
77
#
88
# This allows you to selectively override settings in projects, for example, if
99
# you're working on a Sinatra project, disabling the Rails cops is probably

panolint.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
1313
spec.summary = "Rules for linting code at Panorama Education"
1414
spec.homepage = "https://github.com/panorama-ed/panolint"
1515
spec.license = "MIT"
16+
spec.metadata = { "rubygems_mfa_required" => "true" }
1617

1718
spec.files = Dir.chdir(File.expand_path(__dir__)) do
1819
`git ls-files -z`.split("\x0").reject do |f|

0 commit comments

Comments
 (0)