runger_style 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f29135379b36a1602bc2b0bd071e7879f22e7325e0ef8f411fd396c9aff51f7
4
- data.tar.gz: '071068a5cbe6d06f8fa65b4e182da4454d140ecbd1e3be3bafd8057c2685c5fa'
3
+ metadata.gz: 238dff41559fbd0dc432a6b7984bb4b12a16cf36262de8276fe5d6a955623d24
4
+ data.tar.gz: 1916010e202ecd0862fd86740ff8a8048f06ea1f96453b638ce52d62e0fece48
5
5
  SHA512:
6
- metadata.gz: 81b6722ca9d792527feea1fafa6b1ce10dbaa6c0040f6c99440c212584c9d581cb71245e95b793ad436eb150dd2acb7a6ed8476194a86071aa03b8dc6bb3e9b8
7
- data.tar.gz: a93689887e48e9b5a03194c70b277ba15e3147872be69755128d95fa884781251e6b6a8f15411f6de186d3a68ba4698e7187c16263a72e091447fec034b6383c
6
+ metadata.gz: cedb2eb94fa895bd35b0f98c4d86ca765566a455cac970aac00bb98acfe7fae40aad24213e2a5de961816f8dff3e3797bc801785b617f105af823d616696b9e3
7
+ data.tar.gz: 75c7d54c299bd049005771981ae96553768b1711aa329a6a32ed6cb7de9869c3abc21b61c962e60654041814a45640fea1f9723389fd53d628ed3bab659b3800
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  inherit_from:
2
2
  - rulesets/capybara.yml
3
3
  - rulesets/default.yml
4
+ - rulesets/factory_bot.yml
4
5
  - rulesets/performance.yml
5
6
  - rulesets/rails.yml
6
7
  - rulesets/rake.yml
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## v0.5.0 (2023-09-13)
2
+ ### Added
3
+ - Add factory_bot ruleset
4
+
5
+ ## v0.4.0 (2023-06-26)
6
+ ### Changed
7
+ - Disable `FactoryBot/AssociationStyle` cop
8
+
1
9
  ## v0.3.0 (2023-05-25)
2
10
  ### Changed
3
11
  - Disable `Metrics/ModuleLength` cop
data/Gemfile.lock CHANGED
@@ -1,67 +1,72 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (0.3.0)
4
+ runger_style (0.5.0)
5
5
  rubocop (>= 1.38.0, < 2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.4.3)
10
+ activesupport (7.0.8)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 1.6, < 2)
13
13
  minitest (>= 5.1)
14
14
  tzinfo (~> 2.0)
15
15
  ast (2.4.2)
16
- colorize (0.8.1)
16
+ base64 (0.1.1)
17
17
  concurrent-ruby (1.2.2)
18
- i18n (1.13.0)
18
+ i18n (1.14.1)
19
19
  concurrent-ruby (~> 1.0)
20
20
  json (2.6.3)
21
- memoist (0.16.2)
22
- minitest (5.18.0)
21
+ language_server-protocol (3.17.0.3)
22
+ memo_wise (1.7.0)
23
+ minitest (5.20.0)
23
24
  parallel (1.23.0)
24
- parser (3.2.2.1)
25
+ parser (3.2.2.3)
25
26
  ast (~> 2.4.1)
26
- rack (2.2.7)
27
+ racc
28
+ racc (1.7.1)
29
+ rack (3.0.8)
27
30
  rainbow (3.1.1)
28
31
  rake (13.0.6)
29
- regexp_parser (2.8.0)
30
- rexml (3.2.5)
31
- rubocop (1.51.0)
32
+ regexp_parser (2.8.1)
33
+ rexml (3.2.6)
34
+ rubocop (1.56.3)
35
+ base64 (~> 0.1.1)
32
36
  json (~> 2.3)
37
+ language_server-protocol (>= 3.17.0)
33
38
  parallel (~> 1.10)
34
- parser (>= 3.2.0.0)
39
+ parser (>= 3.2.2.3)
35
40
  rainbow (>= 2.2.2, < 4.0)
36
41
  regexp_parser (>= 1.8, < 3.0)
37
42
  rexml (>= 3.2.5, < 4.0)
38
- rubocop-ast (>= 1.28.0, < 2.0)
43
+ rubocop-ast (>= 1.28.1, < 2.0)
39
44
  ruby-progressbar (~> 1.7)
40
45
  unicode-display_width (>= 2.4.0, < 3.0)
41
- rubocop-ast (1.28.1)
46
+ rubocop-ast (1.29.0)
42
47
  parser (>= 3.2.1.0)
43
48
  rubocop-capybara (2.18.0)
44
49
  rubocop (~> 1.41)
45
- rubocop-factory_bot (2.22.0)
50
+ rubocop-factory_bot (2.23.1)
46
51
  rubocop (~> 1.33)
47
- rubocop-performance (1.18.0)
52
+ rubocop-performance (1.19.0)
48
53
  rubocop (>= 1.7.0, < 2.0)
49
54
  rubocop-ast (>= 0.4.0)
50
- rubocop-rails (2.19.1)
55
+ rubocop-rails (2.21.0)
51
56
  activesupport (>= 4.2.0)
52
57
  rack (>= 1.1)
53
58
  rubocop (>= 1.33.0, < 2.0)
54
59
  rubocop-rake (0.6.0)
55
60
  rubocop (~> 1.0)
56
- rubocop-rspec (2.22.0)
61
+ rubocop-rspec (2.24.0)
57
62
  rubocop (~> 1.33)
58
63
  rubocop-capybara (~> 2.17)
59
64
  rubocop-factory_bot (~> 2.22)
60
65
  ruby-progressbar (1.13.0)
61
- runger_release_assistant (0.4.0)
66
+ runger_release_assistant (0.5.0)
62
67
  activesupport (>= 6, < 8)
63
- colorize (~> 0.8)
64
- memoist (~> 0.16)
68
+ memo_wise (>= 1.7, < 2)
69
+ rainbow (>= 3.0, < 4)
65
70
  slop (~> 4.8)
66
71
  slop (4.10.1)
67
72
  tzinfo (2.0.6)
data/README.md CHANGED
@@ -45,6 +45,7 @@ inherit_gem:
45
45
  runger_style:
46
46
  - rulesets/capybara.yml # gem 'rubocop-capybara'
47
47
  - rulesets/default.yml # gem 'rubocop'
48
+ - rulesets/factory_bot.yml # gem 'rubocop-factory_bot'
48
49
  - rulesets/performance.yml # gem 'rubocop-performance'
49
50
  - rulesets/rails.yml # gem 'rubocop-rails'
50
51
  - rulesets/rake.yml # gem 'rubocop-rake'
@@ -67,6 +68,7 @@ group :development, :test do
67
68
  # include whichever of these gems are required, based on which ruleset(s) you use
68
69
  gem 'rubocop', require: false
69
70
  gem 'rubocop-capybara', require: false
71
+ gem 'rubocop-factory_bot', require: false
70
72
  gem 'rubocop-performance', require: false
71
73
  gem 'rubocop-rails', require: false
72
74
  gem 'rubocop-rake', require: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '0.3.0'
4
+ VERSION = '0.5.0'
5
5
  end
@@ -0,0 +1,2 @@
1
+ require:
2
+ - rubocop-factory_bot
data/rulesets/rspec.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  require:
2
2
  - rubocop-rspec
3
3
 
4
+ FactoryBot/AssociationStyle:
5
+ Enabled: false
4
6
  FactoryBot/AttributeDefinedStatically:
5
7
  Exclude:
6
8
  - spec/support/fixture_builder.rb # false positives get raised in this file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runger_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-25 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -56,6 +56,7 @@ files:
56
56
  - lib/runger_style/version.rb
57
57
  - rulesets/capybara.yml
58
58
  - rulesets/default.yml
59
+ - rulesets/factory_bot.yml
59
60
  - rulesets/performance.yml
60
61
  - rulesets/rails.yml
61
62
  - rulesets/rake.yml
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  - !ruby/object:Gem::Version
85
86
  version: '0'
86
87
  requirements: []
87
- rubygems_version: 3.4.13
88
+ rubygems_version: 3.4.19
88
89
  signing_key:
89
90
  specification_version: 4
90
91
  summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger