upennlib-rubocop 1.0.1 → 1.1.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
- SHA1:
3
- metadata.gz: c9e4e8cd547cf1648e25a760f15c6463a6b59e07
4
- data.tar.gz: f24e2d6ce2af49f642968fa16490f85fb6dcfae2
2
+ SHA256:
3
+ metadata.gz: d92f8d5475c4a64b24e783ac198b2fa9e61faac9c3eb3029d87e2043824dedf0
4
+ data.tar.gz: 74851036d3023c32527f0acb1dd202601b64c91f8fe74481e11cf5b7c4625bf8
5
5
  SHA512:
6
- metadata.gz: c0f77802ed8278d3a71e0dea370860d6c6ada800b6cf531dded97bd6219f25dd55604304374c500b5bf71d56ed0a7df75fd8ba1b4e4e07a19f71fdf94000ecfa
7
- data.tar.gz: dcd4a8dff50fe032635e2a1beb3b0ac8f35656d0d511a23dba770b81b9c347ed8b2c0f6483ba7d59603da349b18ffaddbf61025d3678249852c33797d135b27d
6
+ metadata.gz: 2d47baa68d167f7113258550cf2bba49e986fe90d69860e7e07fae0c12ef3835eadcf3f31d8aeaddae031ec04a9b9518b139179e5c8b32f8f292ee5b0772136a
7
+ data.tar.gz: a4708f8fe29b941da92f1dd12d194c34cb01ff20ec4955ac4aca5c9485c6cedf13f6c3a9658af911d8abc8a5cfe686aa3082ba4d70f66a371ca708a4a6e32029
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/README.md CHANGED
@@ -33,4 +33,14 @@ Understandably, it can be difficult to address all RuboCop issues when adding ru
33
33
  rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 10000
34
34
  ```
35
35
 
36
+ ## Publishing Gem
37
+ To publish a new version of this gem to RubyGems:
38
+ 1. Update the version number in `upennlib-rubocop.gemspec`
39
+ 2. Create a Gitlab Release
40
+ 3. Locally on your machine (with the lastest changes):
41
+ ```
42
+ gem build upennlib-rubocop.gemspec
43
+ gem push upennlib-rubocop-{VERSION}.gem
44
+ ```
45
+
36
46
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'upennlib-rubocop'
3
- s.version = '1.0.1'
3
+ s.version = '1.1.0'
4
4
  s.summary = "Rubocop style configuration to be used in UPenn Libraries Projects"
5
5
  s.description = "UPenn Libraries Rubocop Configuration"
6
6
  s.authors = ["Carla Galarza", "Mike Kanning"]
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
9
9
 
10
10
  s.add_dependency 'rubocop', '~> 1.24'
11
+ s.add_dependency 'rubocop-capybara'
11
12
  s.add_dependency 'rubocop-performance'
12
13
  s.add_dependency 'rubocop-rails'
13
14
  s.add_dependency 'rubocop-rake'
@@ -1,4 +1,5 @@
1
1
  require:
2
+ - rubocop-capybara
2
3
  - rubocop-performance
3
4
  - rubocop-rails
4
5
  - rubocop-rake
@@ -12,7 +13,7 @@ AllCops:
12
13
  NewCops: enable # Enabling all new cops. Problematic cops can be disabled on a case-by-case basis.
13
14
 
14
15
  Metrics/BlockLength:
15
- IgnoredMethods: ['configure_blacklight']
16
+ AllowedMethods: ['configure_blacklight']
16
17
  Exclude:
17
18
  - 'Rakefile'
18
19
  - '**/*.rake'
@@ -34,3 +35,10 @@ RSpec/MultipleExpectations:
34
35
  # See: https://github.com/rubocop/ruby-style-guide/issues/809
35
36
  Lint/MissingSuper:
36
37
  Enabled: false
38
+
39
+ # Don't use ruby 3.1 hash value shorthand, see: https://docs.rubocop.org/rubocop/cops_style.html#enforcedshorthandsyntax-never
40
+ Style/HashSyntax:
41
+ EnforcedShorthandSyntax: never
42
+
43
+ Style/BlockDelimiters:
44
+ EnforcedStyle: braces_for_chaining
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upennlib-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carla Galarza
8
8
  - Mike Kanning
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-05-13 00:00:00.000000000 Z
12
+ date: 2023-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.24'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rubocop-capybara
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: rubocop-performance
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -87,13 +101,14 @@ executables: []
87
101
  extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
104
+ - ".gitignore"
90
105
  - README.md
91
106
  - upennlib-rubocop.gemspec
92
107
  - upennlib_rubocop_defaults.yml
93
- homepage:
108
+ homepage:
94
109
  licenses: []
95
110
  metadata: {}
96
- post_install_message:
111
+ post_install_message:
97
112
  rdoc_options: []
98
113
  require_paths:
99
114
  - lib
@@ -108,9 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
123
  - !ruby/object:Gem::Version
109
124
  version: '0'
110
125
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.5.2
113
- signing_key:
126
+ rubygems_version: 3.4.1
127
+ signing_key:
114
128
  specification_version: 4
115
129
  summary: Rubocop style configuration to be used in UPenn Libraries Projects
116
130
  test_files: []