Skip to content

Commit bf3aa47

Browse files
authored
v2.1.1 (#8)
* v2.1.1 Read Changelog * v2.1.1 Read Changelog updated changelog * Need vendor directory exclude in rubocop because circleci bundles to vendor
1 parent 461b3d3 commit bf3aa47

8 files changed

Lines changed: 60 additions & 674 deletions

File tree

.rubocop.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,38 @@
11
AllCops:
2+
TargetRubyVersion: 2.6.5
23
Exclude:
3-
- 'berks-cookbooks/**/*'
44
- '.idea/**/*'
55
- '.git/**/*'
6-
- '.kitchen/**/*'
76
- '*.lock'
87
- 'vendor/**/*'
98

10-
Documentation:
9+
Layout/AlignParameters:
1110
Enabled: false
1211

13-
Metrics/LineLength:
14-
Max: 200
12+
Layout/CaseIndentation:
13+
IndentOneStep: false
14+
15+
Metrics/AbcSize:
16+
Max: 28
1517

1618
Metrics/BlockLength:
1719
Enabled: false
1820

21+
Metrics/CyclomaticComplexity:
22+
Enabled: false
23+
24+
Metrics/LineLength:
25+
Max: 256
26+
1927
Metrics/MethodLength:
20-
Max: 60
28+
Max: 128
2129
CountComments: false
22-
Enabled: true
30+
31+
Metrics/PerceivedComplexity:
32+
Max: 10
33+
34+
Style/Documentation:
35+
Enabled: false
2336

2437
Style/Encoding:
2538
Enabled: false
@@ -30,14 +43,5 @@ Style/SignalException:
3043
Style/EmptyLiteral:
3144
Enabled: false
3245

33-
CyclomaticComplexity:
34-
Enabled: false
35-
36-
AlignParameters:
37-
Enabled: false
38-
39-
Encoding:
40-
Enabled: false
41-
4246
Style/FrozenStringLiteralComment:
4347
Enabled: false

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# CHANGE LOG
22

3-
## x.x.x - TODO List - Levon Becker
4-
* Get jUnit test results working for rubocop rake task
5-
* Add logic to packages control to test that packages aren't installed if chef attribute package install is false
3+
## 2.1.1 - 03/19/2020 - Levon Becker
4+
* Renamed repo from inspec_bonusbits_base to bonusbits_base_inspec
5+
* Updated min inspec version to 4.18.85
6+
* Moved ToDo list to TODO.md
7+
* Cleaned up Gemfile
8+
* Updated to rubocop 0.75.1
9+
* Removed unused gems
10+
* Added Ruby version 2.6.5
11+
* Cleaned up rubocop config and eliminated warnings by adding department to each rule that was missing it
12+
* Updated Readme with renamed repo name
613

714
## 2.1.0 - 01/06/2020 - Levon Becker
815
* Removed string to boolean input syntax. Found it was giving odd false positive results.

Gemfile

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
1-
source 'https://rubygems.org'
1+
ruby '~> 2.6.5'
22

3-
gem 'aws-sdk-core', '3.68.1'
4-
gem 'berkshelf', '7.0.8'
5-
gem 'bundler', '1.17.2'
6-
gem 'chef', '15.4.45'
7-
gem 'chef-dk', '4.5.0'
8-
gem 'rake'
9-
10-
group :style do
11-
gem 'foodcritic', '16.1.1'
12-
gem 'rubocop', '0.72.0'
13-
end
14-
15-
group :unit do
16-
gem 'chefspec', '7.4.0'
17-
gem 'rspec_junit_formatter', '0.4.1'
18-
end
19-
20-
group :integration do
21-
gem 'inspec', '4.18.0'
22-
gem 'kitchen-docker', '2.9.0'
23-
gem 'test-kitchen', '2.3.3'
3+
source 'https://rubygems.org/' do
4+
gem 'bundler', '1.17.2'
5+
gem 'rake'
6+
gem 'rubocop', '0.75.1'
247
end

0 commit comments

Comments
 (0)