runger_style 2.10.0 → 2.12.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: 4003beb075b4627c1c32c3570da6ef4ee226b2ff930cb4dcdd03666bbdfaa9ca
4
- data.tar.gz: 017c1b1910a06ed49d3b6be087fd3e91e548a2199682d14469f005435de78ade
3
+ metadata.gz: 39b527dd459b9c0c2c2e758fd96a0857a4a1490633701fc1ef1973cdd422b519
4
+ data.tar.gz: 0bc840573b9e36b0d53a040b164ef668f3d0048284ee050f55d02539b2b0dbb2
5
5
  SHA512:
6
- metadata.gz: 2ed6ec000ba971fb7ed38929918e9b139cd0ae7367e43ffd7a13d501b892cf2b3ae7881854577cba48d481a0f5b8085bd34cfce5c1ba1e2413f1cff21de71fcc
7
- data.tar.gz: 4502e03fdc032f5178e930bb01ab4b16ccf10d775e2e0dc65bc23f47553388495d1b51e131bf89d073e11c4d421b0e50d8924763104510470e6a67d2e92cda30
6
+ metadata.gz: 8eaab0cf391b27c870a36dfcd944caf84dc9d98888f4c4a9ea4cb505110deb8b5bcb6d7cc33ac7ca7f0f7f6001b6c5622ea51df5056a90cb3248f01f549ab460
7
+ data.tar.gz: 4001793ed84d89ee60e7959da32f758a18a41992252d4a82a34a8666628ef311d2c0dbeebcfd49fa97d8d0dd5fcac8c1385a69513170a9dd404279f80878eb8a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.3
1
+ 3.3.4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v2.12.0 (2024-07-11)
2
+ - Disable `Style/FormatString` cop
3
+
4
+ ## v2.11.0 (2024-07-05)
5
+ - Set `AllowMultilineFinalElement: true` for `Layout/FirstMethodArgumentLineBreak`
6
+
1
7
  ## v2.10.0 (2024-07-05)
2
8
  - Enable `Layout/FirstMethodArgumentLineBreak`
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runger_style (2.10.0)
4
+ runger_style (2.12.0)
5
5
  prism (>= 0.24.0)
6
6
  rubocop (>= 1.38.0, < 2)
7
7
 
@@ -27,7 +27,7 @@ GEM
27
27
  i18n (1.14.5)
28
28
  concurrent-ruby (~> 1.0)
29
29
  io-console (0.7.2)
30
- irb (1.13.1)
30
+ irb (1.14.0)
31
31
  rdoc (>= 4.0.0)
32
32
  reline (>= 0.4.2)
33
33
  json (2.7.2)
@@ -36,14 +36,14 @@ GEM
36
36
  minitest (5.24.1)
37
37
  mutex_m (0.2.0)
38
38
  parallel (1.25.1)
39
- parser (3.3.3.0)
39
+ parser (3.3.4.0)
40
40
  ast (~> 2.4.1)
41
41
  racc
42
42
  prism (0.30.0)
43
43
  psych (5.1.2)
44
44
  stringio
45
45
  racc (1.8.0)
46
- rack (3.1.6)
46
+ rack (3.1.7)
47
47
  rainbow (3.1.1)
48
48
  rake (13.2.1)
49
49
  rdoc (6.7.0)
@@ -53,13 +53,13 @@ GEM
53
53
  io-console (~> 0.5)
54
54
  rexml (3.3.1)
55
55
  strscan
56
- rubocop (1.64.1)
56
+ rubocop (1.65.0)
57
57
  json (~> 2.3)
58
58
  language_server-protocol (>= 3.17.0)
59
59
  parallel (~> 1.10)
60
60
  parser (>= 3.3.0.2)
61
61
  rainbow (>= 2.2.2, < 4.0)
62
- regexp_parser (>= 1.8, < 3.0)
62
+ regexp_parser (>= 2.4, < 3.0)
63
63
  rexml (>= 3.2.5, < 4.0)
64
64
  rubocop-ast (>= 1.31.1, < 2.0)
65
65
  ruby-progressbar (~> 1.7)
@@ -117,7 +117,7 @@ DEPENDENCIES
117
117
  runger_style!
118
118
 
119
119
  RUBY VERSION
120
- ruby 3.3.3p89
120
+ ruby 3.3.4p94
121
121
 
122
122
  BUNDLED WITH
123
123
  2.5.11
data/README.md CHANGED
@@ -67,7 +67,6 @@ in the `Gemfile` of your application or library.
67
67
 
68
68
  group :development, :test do
69
69
  # include whichever of these gems are required, based on which ruleset(s) you use
70
- gem 'rubocop', require: false
71
70
  gem 'rubocop-capybara', require: false
72
71
  gem 'rubocop-factory_bot', require: false
73
72
  gem 'rubocop-performance', require: false
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -euo pipefail # exit on any error, don't allow undefined variables, pipes don't swallow errors
4
+
5
+ lint gitleaks
6
+
7
+ background-and-notify lint rubocop
8
+ background-and-notify lint shellcheck
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerStyle
4
- VERSION = '2.10.0'
4
+ VERSION = '2.12.0'
5
5
  end
data/rulesets/default.yml CHANGED
@@ -33,6 +33,8 @@ Layout/FirstArgumentIndentation:
33
33
  Enabled: false # this rule doesn't play nicely with the way that I like to use `memoize`
34
34
  Layout/FirstArrayElementIndentation:
35
35
  EnforcedStyle: consistent
36
+ Layout/FirstMethodArgumentLineBreak:
37
+ AllowMultilineFinalElement: true
36
38
  Layout/LineEndStringConcatenationIndentation:
37
39
  Exclude:
38
40
  - bin/*
@@ -115,6 +117,8 @@ Style/DocumentationMethod:
115
117
  Enabled: false
116
118
  Style/EmptyCaseCondition:
117
119
  Enabled: false
120
+ Style/FormatString:
121
+ Enabled: false
118
122
  Style/FrozenStringLiteralComment:
119
123
  Enabled: true
120
124
  Style/GlobalStdStream:
data/runger_style.gemspec CHANGED
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
29
29
  spec.required_ruby_version = ">= #{required_ruby_version}"
30
30
 
31
- spec.add_runtime_dependency('prism', '>= 0.24.0')
32
- spec.add_runtime_dependency('rubocop', '>= 1.38.0', '< 2')
31
+ spec.add_dependency('prism', '>= 0.24.0')
32
+ spec.add_dependency('rubocop', '>= 1.38.0', '< 2')
33
33
  end
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: 2.10.0
4
+ version: 2.12.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: 2024-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prism
@@ -66,6 +66,7 @@ files:
66
66
  - RELEASING.md
67
67
  - Rakefile
68
68
  - bin/console
69
+ - bin/githooks/pre-push
69
70
  - bin/release
70
71
  - bin/rubocop
71
72
  - lib/runger_style.rb
@@ -102,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
103
  - !ruby/object:Gem::Version
103
104
  version: '0'
104
105
  requirements: []
105
- rubygems_version: 3.5.14
106
+ rubygems_version: 3.5.15
106
107
  signing_key:
107
108
  specification_version: 4
108
109
  summary: Shared rubocop rules for the preferred Ruby coding style of @davidrunger