Commits
master
Name already in use
Commits on Sep 20, 2022
-
Merge pull request #47 from r7kamura/feature/url
Fix incorrect documentation URLs when using `rubocop --show-docs-url`
Commits on Aug 24, 2022
Commits on Aug 9, 2022
-
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Commits on Aug 5, 2022
-
Merge pull request #46 from koic/drop_ruby_25_runtime_support
Drop Ruby 2.5 runtime support
-
Follow rubocop/rubocop#10577. This PR drops Ruby 2.5 runtime support and fixes the following build error. https://github.com/utkarsh2102/rubocop-packaging/runs/7688082957
-
Merge pull request #43 from marcotc/compatibility-with-rubocop-1.33
Fix compatibility with Rubocop 1.33.0
-
This commit suppresses the following RuboCop offenses. ```console % bundle exec rubocop (snip) spec/rubocop/cop/packaging/bundler_setup_in_tests_spec.rb:18:25: C: [Correctable] Style/EmptyHeredoc: Use an empty string literal instead of heredoc. expect_correction(<<~RUBY) ^^^^^^^ spec/rubocop/cop/packaging/bundler_setup_in_tests_spec.rb:33:25: C: [Correctable] Style/EmptyHeredoc: Use an empty string literal instead of heredoc. expect_correction(<<~RUBY) ^^^^^^^ spec/rubocop/cop/packaging/gemspec_git_spec.rb:82:24: C: [Correctable] Style/EmptyHeredoc: Use an empty string literal instead of heredoc. expect_no_offenses(<<~RUBY) ^^^^^^^ 21 files inspected, 3 offenses detected, 3 offenses autocorrectable ```
Commits on Aug 4, 2022
Commits on Mar 17, 2022
-
Merge pull request #42 from petergoldstein/feature/migrate_ci_to_gith…
…ub_actions Migrate CI to GitHub Actions
Commits on Mar 13, 2022
Commits on Sep 21, 2021
-
Merge pull request #41 from koic/remove_test_files
Remove `spec.test_files` from `Packaging/GemspecGit`'s doc
-
Remove
spec.test_filesfromPackaging/GemspecGit's docFollow up to rubocop/rubocop#10065 (comment). This PR removes `spec.test_files` from `Packaging/GemspecGit`'s doc.
-
Merge pull request #40 from koic/drop_ruby_24_support
Drop Ruby 2.4 support
Commits on Sep 18, 2021
Commits on Dec 31, 2020
-
I am so excited, letz see how it goes! ^.^ Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Commits on Dec 8, 2020
-
Set SuggestExtensions to false in .rubocop.yml
Yeah, the extra "tip" is somewhat annoying at the moment. Maybe take a raincheck on this!? Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Rename ExcludedMethods to IgnoredMethods
Fixes the warning: obsolete parameter ExcludedMethods (for Metrics/BlockLength) found in .rubocop.yml `ExcludedMethods` has been renamed to `IgnoredMethods`. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Commits on Oct 29, 2020
-
Merge pull request #34 from aryan1101/patch-1
Fix compatibility spelling
Commits on Oct 22, 2020
-
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Remove redundant lines from .rubocop.yml
Since all the cops are enabled by default, it doesn't make sense to explicitly set the "Enabled" field to "true". It's obvious that it is. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Run tests against ruby-head on CI
Also allow it to fail since it's a wild playground of new features. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Bump ruby2.7 pipeline to 2.7.2
Now that ruby2.7.2 is out, let's use that rather than ruby2.7.1. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Merge pull request #33 from jasl/loosen-rubocop-requirement
Loosen requirement of RuboCop
Commits on Oct 21, 2020
Commits on Oct 20, 2020
-
Merge pull request #32 from koic/fix_html_id_attribute_in_cop_packagi…
…ng_adoc Fix HTML id attribute in cops_packaging.adoc
Commits on Oct 19, 2020
-
Fix HTML id attribute in cops_packaging.adoc
This PR fixes the following HTML id attribute in cops_packaging.adoc. ```console % git grep require-relative-hardcoding-lib-rationale docs/modules/ROOT/pages/cops_packaging.adoc:=== Rationale [[require-relative-hardcoding-lib-rationale]] docs/modules/ROOT/pages/cops_packaging.adoc:=== Examples [[require-relative-hardcoding-lib-rationale]] ``` It will suppress the following warning that generates docs.rubocop.org. ```console $ cd docs.rubocop.org $ antora --pull antora-playbook.yml (snip) asciidoctor: WARNING: cops_packaging.adoc: line 205: id assigned to section already in use: require-relative-hardcoding-lib-rationale ```
Commits on Sep 26, 2020
-
Fix RequireRelativeHardcodingLib examples
This is based on the comment and the discussion of #rubocop/rubocop/issues/8748#issuecomment-699478216 Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Commits on Sep 23, 2020
-
Remove obsolete line in config/default.yml
Unfortunately, I missed this line while fixing the description of the cops. Sigh. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Commits on Sep 19, 2020
-
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Disable Lint/InterpolationCheck for mocked tests
Since the tests are mocked, disable Lint/InterpolationCheck because their autocorrect breaks the tests (since they're mocked :)). Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Add tests to check interpolated require calls
Add tests to check if the interpolated require calls are correctly being caught by the RequireHardcodingLib cop and that the autocorrect for it is working fine as well. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Add AST pattern to catch interpolated require calls
Style/StringConcatenation's autocorrect hinders with the existing AST pattern of RequireHardcodingLib to catch offensive require calls. So add the interpolated AST to catch those lines as well. Fixes: #30 Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
-
Make it a bit more clearer as to what's problematic and what to do intead of those lines of code. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>