Граф коммитов

73 Коммитов

Автор SHA1 Сообщение Дата
Abraham Williams 6d1e61cef2
Set required_ruby_version to 3 2024-02-12 14:09:45 -06:00
Sarah Vessels 03e916f484 Bump gem version to 0.21.0 2024-01-03 13:31:35 -06:00
Ben Sheldon 7c4a43c3f3
Release v0.20.0 2022-10-28 12:09:42 -07:00
Ben Sheldon d959dddf04
Update version constraint from `~>` to `>=` 2022-10-28 11:04:20 -07:00
Ben Sheldon 90e921a579
Pin versions, add Dependabot rules, update rubocop versions and create pending files 2022-10-28 10:17:54 -07:00
Ben Sheldon 40349f5144
Release v0.19.0 2022-10-13 08:33:13 -07:00
Daniel Colson 112624a59c
Release v0.18.0
* Changed: Layout/IndentationWidth cop enabled by default
* Changed: Use the new `Cop::Base` API instead of the deprecated `Cop::Cop`
* Removed: support for Ruby 2.6
* Removed: deprecated config files for RuboCop < 0.68
2022-06-27 13:47:36 -04:00
Daniel Colson 3bf70c21ed
Bump dev dependencies
* Remove version constraint on actionview so we can test against a more
  recent version
* Stop testing against EOL Ruby 2.6 (latest actionview doesn't support
  Ruby 2.6)
* Run `bundle update` to bump as much as possible
2022-06-27 13:26:08 -04:00
Daniel Colson 695169dcb2
Delete legacy config
Maintaining a separate "edge" config and "legacy" config probably served
us well [back around the time we were migrating to rubocop
0.68](d533765dcd),
but it's not working well for us anymore. Things changed often before
rubocop 1.0, and there are versions out there that don't work perfectly
with either of these configs (see
https://github.com/github/rubocop-github/pull/86, for example).

This commit sets a version constraint for rubocop ">= 1.0.0" and deletes
the `*_deprecated.yml` files that only worked with rubocop <
0.68. With the deprecated files deleted, it also consolidates the
remaining files into default.yml and rails.yml.
2022-06-24 12:34:17 -04:00
Daniel Colson 93fd172c92
Merge pull request #96 from github/bump-to-0.17.0
Release v0.17.0
2022-01-18 20:54:07 -05:00
Daniel Colson 20a93e273b
Release v0.17.0
* Remove version constraints for rubocop, rubocop-performance, and rubocop-rails
* Test against Ruby 3.1
2022-01-18 20:47:59 -05:00
Daniel Colson 58fdca224c
Bump all dev dependencies
This commit bumps all development dependencies, and removes pessimistic
version constraints where possible now that we've got a Gemfile.lock checked
in.

We had to keep the constraint for Rails for now, since Rails 7 is not
compatible with Ruby 2.6. We can bump Rails if we drop Ruby 2.6.

None of this affects the released gem, so as long as tests still pass we
are in good shape.
2022-01-14 16:26:38 -05:00
Daniel Colson 286944a59e
Remove version constraints for rubocop libraries
These constraints make it more difficult to upgrade these libraries in
projects that use rubocop-github.

I think the idea here was that we'd be able to bump the version
alongside the default config, but without locking to an exact version we
can still end up with a config that is incompatible with certain rubocop
version (see the unrecognized cop error in
https://github.com/github/rubocop-github/pull/86, for example).

If anything, I'd prefer a `>=` constraint over a `<=`. That would allow
us to bump the minimum constraint when we add new cops, but still
freely upgrade in our projects as long as there are no config
incompatibilities (which are less common anyway ever since RuboCop 1.0).
2022-01-11 14:31:47 -05:00
Joel Hawksley 8df6367cdc
release v0.16.2 2021-06-24 16:43:22 -06:00
Leo Correa e678820a86
Allow latest rubocop-performance 2021-04-24 01:12:38 -04:00
Leo Correa 06a3d020c6
Bump rubocop to allow version 1.13.0
Version 1.4 of rubocop introduced a breaking change that creates some
warnings and issues when using `parser/ruby27`, this issue was fixed in
https://github.com/rubocop/rubocop/pull/9702 and released in 1.13.0
2021-04-24 00:57:22 -04:00
HParker 9150a80120 Update ci and required ruby version 2020-12-14 14:29:04 -08:00
HParker 8468753235 Update gems to be compatible with ruby 3
update minitest from 5.10 to 5.14
update rubocop to 1.6.1
2020-12-14 14:22:32 -08:00
Adam Hess 3f43bd84ba Update to rubocop 8.9 2020-08-07 01:31:10 -07:00
Adam Hess ba5849128c Update rubocop related dependencies
Update version requirement on,
- rubocop
- rubocop-performance
- rubocop-rails
2020-07-20 12:13:13 -07:00
Joel Hawksley 82057faa12 bump to v0.16.0 2020-05-21 16:07:59 -06:00
Katrina Owen f1c531174b
Bump version to v0.15.0 2020-04-24 08:56:25 -06:00
Katrina Owen e82e9b2229
Bump rubocop to 0.82.0
This is a breaking change.

In order to pass CI, I had to rename the Layout/Tab cop
to Layout/IndentationStyle.
2020-04-23 20:11:10 -06:00
Katrina Owen efb00ac7b8
Bump rubocop dependency to 0.81.0
This is a breaking change. To get this to pass CI
I had to delete the 'Lint/EndInMethod' cop, which has
been renamed to 'Style/EndBlock'. Since we already had
Style/EndBlock, I deleted rather than renaming the old
cop.
2020-04-22 22:54:15 -06:00
Katrina Owen 7bdf804f7b
Bump rubocop dependency to 0.78.0
This is a breaking change.

To get this to pass CI, I have done the following:

* deleted performance cops
* renamed a Metrics/LineLength to Layout/LineLength
* deleted another Metrics/LineLength

The performance cops appear to have been extracted into a separate gem,
https://github.com/rubocop-hq/rubocop-performance and as of 0.78.0
referencing them without including the rubocop-performance gem as a
dependency blows up.
2020-04-22 12:33:01 -06:00
Katrina Owen 4316e35b13
Bump rubocop to 0.77.0
This is a breaking change.

I've updated cops that got renamed.
2020-04-22 12:26:41 -06:00
Katrina Owen 5150a7574f
Bump rubocop to v0.76.0
This was a breaking change, and I had to rename a couple of cops
to get the build passing.
2020-04-22 09:58:08 -06:00
Katrina Owen 0498224786
Include performance and rails gems
The gem implicitly assumes that these are included, but due to version dependency
hell, we were unable to include them earlier.
2020-04-22 07:52:30 -06:00
Katrina Owen 8f4083f3f0
Constrain rubocop version to exclude breaking changes 2020-04-21 22:43:12 -06:00
Robert Mosolgo a77205a3a1 0.14.0 2019-12-12 11:22:33 -05:00
Jacob Smith d533765dcd Branch configs for incompatible changes 2019-09-16 18:37:44 -04:00
Joel Hawksley bdb42cd162
Revert "Namespace Changes for RuboCop 0.70" 2019-06-24 13:21:37 -06:00
Thomas Maurer 7bccddc437 💎 bump to 0.13.0 2019-06-06 14:10:52 +02:00
Josh Powell 497386d324
Adds rubocop-performance dependency 2019-05-30 09:28:41 -04:00
Josh Powell a37135fcb6
Bump rubocop to 0.70
latest release https://github.com/rubocop-hq/rubocop/releases/tag/v0.70.0
2019-05-22 08:51:33 -04:00
Josh Powell 106b7b9460
Bump rubocop to 0.69
released today c2047b71a6
2019-05-13 08:57:01 -04:00
Josh Powell 1711996650
bump to rubocop 0.68 2019-05-10 11:17:13 -04:00
Josh Powell b1d4a484e5 Set ruby version to min tested in travis.yml 2019-04-11 14:24:18 -04:00
Josh Powell 89c9a35e3c Set rubocop @ 0.67 to capture changes 2019-04-11 14:22:22 -04:00
Garen J. Torikian 994ce4d39e
💎 bump to 0.12.0 2018-09-18 12:23:35 -04:00
Garen J. Torikian 8a9ca186d8
💎 bump to 0.11.0 2018-09-13 16:37:29 -04:00
Garen J. Torikian e4d49e213c
Merge branch 'master' into rename-outdated-cops 2018-09-13 16:11:56 -04:00
Garen J. Torikian 660093ac8e
Bump rubocop 2018-09-13 16:04:44 -04:00
Robert Mosolgo 90e6d5e109 Fix for RuboCop 2018-09-13 09:58:59 -04:00
Robert Mosolgo 6b9f2c3bcf Update ERB test usage 2018-09-13 09:58:23 -04:00
Garen J. Torikian 725ade82f6
💎 bump to 0.10.0 2018-03-08 08:31:06 -05:00
Garen J. Torikian 65d8163f8f
💎 bump to 0.9.1 2018-03-07 18:18:24 -05:00
Garen J. Torikian cdf9552677
💎 bump to 0.9.0 2018-03-01 14:05:26 -05:00
Garen J. Torikian 8bfd901807
💎 bump to 0.8.1 2017-12-19 11:15:38 -05:00
Garen J. Torikian c8345e1b11
💎 bump to 0.8.0 2017-12-19 10:41:35 -05:00