Skip to content

Commit 71fc3c0

Browse files
committed
🔖 Release v2.0.5
## [2.0.5] 2023-06-13 ### Changed - Moved development dependencies out of gemspec - rubocop to 1.52.1 - rubocop-shopify to 2.14 - standard-custom to 1.0.1 - standard-rubocop-lts to 1.0.7 - version_gem to 1.1.3 ### Fixed - rubocop/rails.yml config - betterlint integration - standard-rails integration - bin/pry now pre-loads this library
1 parent 188a869 commit 71fc3c0

File tree

8 files changed

+91
-61
lines changed

8 files changed

+91
-61
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111
### Removed
1212

13+
## [2.0.5] 2023-06-13
14+
### Changed
15+
- Moved development dependencies out of gemspec
16+
- rubocop to 1.52.1
17+
- rubocop-shopify to 2.14
18+
- standard-custom to 1.0.1
19+
- standard-rubocop-lts to 1.0.7
20+
- version_gem to 1.1.3
21+
### Fixed
22+
- rubocop/rails.yml config
23+
- betterlint integration
24+
- standard-rails integration
25+
- bin/pry now pre-loads this library
26+
1327
## [2.0.4] 2023-06-05
1428
### Added
1529
- Dependencies
@@ -83,7 +97,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8397
### Added
8498
- Initial release
8599

86-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.3...HEAD
100+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.5...HEAD
101+
[2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.4...v2.0.5
102+
[2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.3...v2.0.4
87103
[2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.2...v2.0.3
88104
[2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.1...v2.0.2
89105
[2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_4/compare/v2.0.0...v2.0.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby2_4][🚎src-main]
44
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5-
the [code of conduct][conduct].
5+
the [code of conduct][🤝conduct].
66

77
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
88
and post a message to the [gitter chat][🏘chat].

Gemfile.lock

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ GIT
99
PATH
1010
remote: .
1111
specs:
12-
rubocop-ruby2_4 (2.0.4)
13-
rubocop-gradual (~> 0.3)
12+
rubocop-ruby2_4 (2.0.5)
13+
rubocop-gradual (~> 0.3, >= 0.3.1)
1414
rubocop-md (~> 1.2)
1515
rubocop-rake (~> 0.6)
16-
rubocop-shopify (~> 2.13)
17-
rubocop-thread_safety (~> 0.5)
18-
standard-rubocop-lts (>= 1.0.6, < 2)
19-
version_gem (>= 1.1.2, < 3)
16+
rubocop-shopify (~> 2.14)
17+
rubocop-thread_safety (~> 0.5, >= 0.5.1)
18+
standard-rubocop-lts (~> 1.0, >= 1.0.7)
19+
version_gem (>= 1.1.3, < 3)
2020

2121
GEM
2222
remote: https://rubygems.org/
@@ -46,7 +46,7 @@ GEM
4646
mime-types (~> 1.15)
4747
posix-spawn (~> 0.3.6)
4848
highline (2.1.0)
49-
i18n (1.14.0)
49+
i18n (1.14.1)
5050
concurrent-ruby (~> 1.0)
5151
interception (0.5)
5252
json (2.6.3)
@@ -62,8 +62,9 @@ GEM
6262
nokogiri (1.15.2-x86_64-linux)
6363
racc (~> 1.4)
6464
parallel (1.23.0)
65-
parser (3.2.2.1)
65+
parser (3.2.2.3)
6666
ast (~> 2.4.1)
67+
racc
6768
posix-spawn (0.3.15)
6869
pry (0.14.2)
6970
coderay (~> 1.1)
@@ -105,12 +106,12 @@ GEM
105106
pry-macro
106107
pry-pretty-numeric
107108
pry-rescue
108-
racc (1.6.2)
109+
racc (1.7.0)
109110
rack (3.0.7)
110111
rainbow (3.1.1)
111112
rake (13.0.6)
112113
redcarpet (3.6.0)
113-
regexp_parser (2.8.0)
114+
regexp_parser (2.8.1)
114115
rexml (3.2.5)
115116
rspec (3.12.0)
116117
rspec-core (~> 3.12.0)
@@ -126,10 +127,10 @@ GEM
126127
diff-lcs (>= 1.2.0, < 2.0)
127128
rspec-support (~> 3.12.0)
128129
rspec-support (3.12.0)
129-
rubocop (1.52.0)
130+
rubocop (1.52.1)
130131
json (~> 2.3)
131132
parallel (~> 1.10)
132-
parser (>= 3.2.0.0)
133+
parser (>= 3.2.2.3)
133134
rainbow (>= 2.2.2, < 4.0)
134135
regexp_parser (>= 1.8, < 3.0)
135136
rexml (>= 3.2.5, < 4.0)
@@ -165,8 +166,8 @@ GEM
165166
rubocop (~> 1.33)
166167
rubocop-capybara (~> 2.17)
167168
rubocop-factory_bot (~> 2.22)
168-
rubocop-shopify (2.13.0)
169-
rubocop (~> 1.50)
169+
rubocop-shopify (2.14.0)
170+
rubocop (~> 1.51)
170171
rubocop-thread_safety (0.5.1)
171172
rubocop (>= 0.90.0)
172173
ruby-progressbar (1.13.0)
@@ -189,23 +190,23 @@ GEM
189190
rubocop (~> 1.52.0)
190191
standard-custom (~> 1.0.0)
191192
standard-performance (~> 1.1.0)
192-
standard-custom (1.0.0)
193+
standard-custom (1.0.1)
193194
lint_roller (~> 1.0)
194195
standard-performance (1.1.0)
195196
lint_roller (~> 1.0)
196197
rubocop-performance (~> 1.18.0)
197198
standard-rails (0.1.0)
198199
lint_roller (~> 1.0)
199200
rubocop-rails (~> 2.19.0)
200-
standard-rubocop-lts (1.0.6)
201+
standard-rubocop-lts (1.0.7)
201202
standard (>= 1.29, < 2)
202-
standard-custom (~> 1.0, < 2)
203+
standard-custom (>= 1.0.1, < 2)
203204
standard-performance (~> 1.1, < 2)
204-
version_gem (>= 1.1.2, < 3)
205+
version_gem (>= 1.1.3, < 4)
205206
tzinfo (2.0.6)
206207
concurrent-ruby (~> 1.0)
207208
unicode-display_width (2.4.2)
208-
version_gem (1.1.2)
209+
version_gem (1.1.3)
209210
yard (0.9.34)
210211
yard-junk (0.0.9)
211212
backports (>= 3.18)
@@ -218,15 +219,15 @@ PLATFORMS
218219
x86_64-linux
219220

220221
DEPENDENCIES
221-
betterlint (~> 1.4)
222+
betterlint (~> 1.4, >= 1.4.7)
222223
pry (~> 0.14)
223224
pry-debugger-jruby (~> 2.1)
224225
pry-suite (~> 1.2)
225226
rake (~> 13.0)
226227
redcarpet (~> 3.6)
227228
rspec (~> 3.12)
228229
rspec-block_is_expected (~> 1.0)
229-
rubocop-packaging (~> 0.5)
230+
rubocop-packaging (~> 0.5, >= 0.5.2)
230231
rubocop-rspec (~> 2.22)
231232
rubocop-ruby2_4!
232233
simplecov (~> 0.22)

bin/pry

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ end
2323

2424
require "rubygems"
2525
require "bundler/setup"
26+
require "rubocop/ruby2_4"
2627

2728
require "pry-suite"
2829

gemfiles/contexts/style.gemfile

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
11
# frozen_string_literal: true
22

3-
# Managed by gemspec
4-
# gem "rubocop-gradual", "~> 0.3", require: false
5-
# gem "rubocop-md", "~> 1.2", require: false
6-
# gem "rubocop-rake", "~> 0.6", require: false
7-
# gem "rubocop-rspec", "~> 2.22", require: false
8-
# gem "rubocop-shopify", "~> 2.13", require: false
9-
# gem "rubocop-thread_safety", "~> 0.5", require: false
10-
# gem "standard-rubocop-lts", "~> 1.0.6", require: false
3+
# Runtime dependencies are managed by gemspec
4+
# gem "rubocop-gradual"
5+
# gem "rubocop-md"
6+
# gem "rubocop-rake"
7+
# gem "rubocop-rspec"
8+
# gem "rubocop-shopify"
9+
# gem "rubocop-thread_safety"
10+
# gem "standard-rubocop-lts"
11+
12+
# Development only
13+
# RubyGems adding this gem will need to explicitly add rubocop-packaging to their dependencies.
14+
# Since it only applies to rubygems we do not add it as a runtime dependency of this gem.
15+
gem "rubocop-packaging", "~> 0.5", ">= 0.5.2", require: false # Ruby >= 2.6.0
16+
17+
# Code tested with RSpec will need to explicitly add rubocop-rspec to their dependencies.
18+
# Since it only applies to RSpec, which some people or projects don't use,
19+
# we do not add it as a runtime dependency of this gem.
20+
gem "rubocop-rspec", "~> 2.22", require: false # Ruby >= 2.7.0
21+
22+
# standard-rails pulls in rubocop-rails
23+
# Rails apps will need to explicitly add standard-rails to their dependencies.
24+
# Since it only applies to Rails, which some people or projects don't use,
25+
# we do not add it as a runtime dependency of this gem.
26+
gem "standard-rails", "~> 0.1", require: false # Ruby >= 2.7.0
27+
28+
# betterlint pulls in rubocop & rubocop-rspec
29+
# Rails apps will need to explicitly add betterlint to their dependencies.
30+
# Since it only applies to Rails, which some people or projects don't use,
31+
# we do not add it as a runtime dependency of this gem.
32+
gem "betterlint", "~> 1.4", ">= 1.4.7", require: false # Ruby >= 2.7.0

lib/rubocop/ruby2_4/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Rubocop
44
module Ruby24
55
module Version
6-
VERSION = "2.0.4"
6+
VERSION = "2.0.5"
77
end
88
end
99
end

rubocop-lts/rails.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ inherit_from:
55

66
require:
77
- rubocop-rails
8-
- standard-rails
9-
- betterlint
8+
9+
inherit_gem:
10+
betterlint:
11+
- config/default.yml
12+
standard-rails:
13+
- config/base.yml
1014

1115
# Rails specific customizations

rubocop-ruby2_4.gemspec

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,32 +52,18 @@ Gem::Specification.new do |spec|
5252
spec.require_paths = ["lib"]
5353

5454
# linting
55-
spec.add_dependency("rubocop-gradual", "~> 0.3") # >= 2.6.0
56-
spec.add_dependency("rubocop-md", "~> 1.2") # >= 2.6.0
57-
spec.add_dependency("rubocop-rake", "~> 0.6") # >= 2.5.0
58-
spec.add_dependency("rubocop-shopify", "~> 2.13") # >= 2.7.0
59-
spec.add_dependency("rubocop-thread_safety", "~> 0.5") # >= 2.5.0
60-
spec.add_dependency("standard-rubocop-lts", [">= 1.0.6", "< 2"]) # >= 2.6.0
61-
spec.add_dependency("version_gem", [">= 1.1.2", "< 3"]) # >= 2.2.0
55+
spec.add_dependency("rubocop-gradual", "~> 0.3", ">= 0.3.1") # Ruby >= 2.6.0
56+
spec.add_dependency("rubocop-md", "~> 1.2") # Ruby >= 2.6.0
57+
spec.add_dependency("rubocop-rake", "~> 0.6") # Ruby >= 2.5.0
58+
spec.add_dependency("rubocop-shopify", "~> 2.14") # Ruby >= 2.7.0
59+
spec.add_dependency("rubocop-thread_safety", "~> 0.5", ">= 0.5.1") # Ruby >= 2.5.0
60+
spec.add_dependency("standard-rubocop-lts", "~> 1.0", ">= 1.0.7") # Ruby >= 2.6.0
61+
spec.add_dependency("version_gem", ">= 1.1.3", "< 3") # Ruby >= 2.2.0
6262

63-
# RubyGems adding this gem will need to explicitly add rubocop-packaging to their dependencies.
64-
# Since it only applies to rubygems we do not add it as a runtime dependency of this gem.
65-
spec.add_development_dependency("rubocop-packaging", "~> 0.5") # >= 2.6.0
66-
67-
# Code tested with RSpec will need to explicitly add rubocop-rspec to their dependencies.
68-
# Since it only applies to RSpec, which some people or projects don't use,
69-
# we do not add it as a runtime dependency of this gem.
70-
spec.add_development_dependency("rubocop-rspec", "~> 2.22") # >= 2.7.0
71-
72-
# standard-rails pulls in rubocop-rails
73-
# Rails apps will need to explicitly add standard-rails to their dependencies.
74-
# Since it only applies to Rails, which some people or projects don't use,
75-
# we do not add it as a runtime dependency of this gem.
76-
spec.add_development_dependency("standard-rails", "~> 0.1") # >= 2.7.0
77-
78-
# betterlint pulls in rubocop & rubocop-rspec
79-
# Rails apps will need to explicitly add betterlint to their dependencies.
80-
# Since it only applies to Rails, which some people or projects don't use,
81-
# we do not add it as a runtime dependency of this gem.
82-
spec.add_development_dependency("betterlint", "~> 1.4") # >= 2.7.0
63+
# Development dependencies
64+
# Specify in Gemfile *only*.
65+
# See:
66+
# - https://github.com/rubygems/rubygems/discussions/5065
67+
# - https://github.com/rubygems/rubygems/discussions/6726
68+
# - https://msp-greg.github.io/rubocop/RuboCop/Cop/Gemspec/DevelopmentDependencies.html
8369
end

0 commit comments

Comments
 (0)