Skip to content

Commit 127b594

Browse files
committed
Rubocop: Enable Bundle/* cops
1 parent 65331d2 commit 127b594

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
AllCops:
22
TargetRubyVersion: 2.5
33

4+
Layout/LineLength:
5+
Max: 120
6+
47
Style/StringLiterals:
58
EnforcedStyle: double_quotes

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## v6.0.0.rc2 (unreleased)
2+
3+
#### Fixed
4+
5+
- [#826](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/826) Rubocop: Enable Style/StringLiterals cop
6+
- [#827](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/827) Rubocop: Enable Layout/EmptyLinesAroundClassBody cop
7+
- [#828](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/828) Rubocop: Enable Layout/EmptyLines cop
8+
- [#829](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/829) Rubocop: Enable Layout/Layout/EmptyLinesAround* cops
9+
- [#830](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/830) Rubocop: Enable Layout/IndentationWidth and Layout/TrailingWhitespace cops
10+
- [#831](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/831) Rubocop: Enable Spacing cops
11+
- [#832](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/832) Rubocop: Enable Bundler cops
12+
113
## v6.0.0.rc1
214

315
#### Fixed

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ else
4040
gem "rails", github: "rails/rails", tag: "v#{version}"
4141
end
4242

43+
# rubocop:disable Bundler/DuplicatedGem
4344
group :tinytds do
4445
if ENV["TINYTDS_SOURCE"]
4546
gem "tiny_tds", path: ENV["TINYTDS_SOURCE"]
@@ -49,11 +50,12 @@ group :tinytds do
4950
gem "tiny_tds"
5051
end
5152
end
53+
# rubocop:enable Bundler/DuplicatedGem
5254

5355
group :development do
54-
gem "pry-byebug", platform: [:mri, :mingw, :x64_mingw]
55-
gem "mocha"
5656
gem "minitest-spec-rails"
57+
gem "mocha"
58+
gem "pry-byebug", platform: [:mri, :mingw, :x64_mingw]
5759
end
5860

5961
group :guard do

0 commit comments

Comments
 (0)