upennlib-rubocop 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 396c027793121f4c66d9ee47040601ec05ff62924fcfadc4f79103cd5065c470
4
- data.tar.gz: 00345a35d34b8c8ff1e1b5c7d11d5c4789b43937c988b57794e2196eb7da49c9
3
+ metadata.gz: ff7ef37cb03127aa5fa3e6df3f6799e2019d674125f2b53b3143cc0fda05114c
4
+ data.tar.gz: 6c2bec92ec4cdc1aa1797791b161284c038bb970a196c48c951a86472b792209
5
5
  SHA512:
6
- metadata.gz: f422f6fc9a38b9386514fb0f1dd517a9026793a8ddba86f6f54780ab008c5c8a99d03ac57822f95af4f41ca481c6dce8a4c9a39182c87aaf504f9e56c70da27d
7
- data.tar.gz: 1540054b25228fd6a31905ce10d99260db37bcf29d322226ef184ef1a7f8cdbae2c471d718a14b18ada254bcc79bb6c136e57848c939da0d4dad852257c59ce6
6
+ metadata.gz: 19c6547dedb79572b0624455373ba13a2bb787c99e9c306a6564cf333523c5cd4c715359cb83dbb100283eaa8d3032fa0f95f37f1cebba61104687d143fda0ca
7
+ data.tar.gz: ca8b3001ecb08c23c3666ae05d2ab761088fa7f947639321c5a1bd5d2f9659f2d505f0f29e533d6dc8938ec86513f748a81be9347e136bd3fa20884e546b1b66
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'upennlib-rubocop'
3
- s.version = '1.2.1'
4
- s.summary = "Rubocop style configuration to be used in UPenn Libraries Projects"
5
- s.description = "UPenn Libraries Rubocop Configuration"
6
- s.authors = ["Carla Galarza", "Mike Kanning", "Patrick Perkins", "Amrey Mathurin"]
3
+ s.version = '1.3.0'
4
+ s.summary = 'Rubocop style configuration to be used in UPenn Libraries Projects'
5
+ s.description = 'UPenn Libraries Rubocop Configuration'
6
+ s.authors = ['Carla Galarza', 'Mike Kanning', 'Patrick Perkins', 'Amrey Mathurin']
7
7
  s.email = 'cgalarza@upenn.edu'
8
8
  s.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
9
9
 
10
- s.add_dependency 'rubocop', '~> 1.24'
10
+ s.add_dependency 'rubocop', '~> 1.72'
11
11
  s.add_dependency 'rubocop-capybara'
12
12
  s.add_dependency 'rubocop-performance'
13
13
  s.add_dependency 'rubocop-rails'
@@ -1,4 +1,4 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-capybara
3
3
  - rubocop-performance
4
4
  - rubocop-rails
@@ -26,13 +26,6 @@ Layout/HashAlignment:
26
26
  Lint/MissingSuper:
27
27
  Enabled: false
28
28
 
29
- # Share default values for CountAsOne
30
- shared_count_as_one: &shared_count_as_one
31
- - array
32
- - hash
33
- - heredoc
34
- - method_call
35
-
36
29
  # When counting lines in blocks, ignore some files and methods, and treat multiline literals as one
37
30
  Metrics/BlockLength:
38
31
  AllowedMethods: ['configure_blacklight']
@@ -41,7 +34,11 @@ Metrics/BlockLength:
41
34
  - '**/*.rake'
42
35
  - 'spec/**/*.rb'
43
36
  - 'config/environments/**.rb'
44
- CountAsOne: *shared_count_as_one
37
+ CountAsOne: &shared_count_as_one
38
+ - array
39
+ - hash
40
+ - heredoc
41
+ - method_call
45
42
 
46
43
  # Count multiline literals as one line in classes
47
44
  Metrics/ClassLength:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upennlib-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carla Galarza
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2025-04-09 00:00:00.000000000 Z
14
+ date: 2025-04-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rubocop
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: '1.24'
22
+ version: '1.72'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.24'
29
+ version: '1.72'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rubocop-capybara
32
32
  requirement: !ruby/object:Gem::Requirement