upennlib-rubocop 1.0.2 → 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
2
  SHA256:
3
- metadata.gz: ae5367a36fadd7cb7dc9a697b034de57ddce624258a38e8a3ee9e9e07bb6847e
4
- data.tar.gz: 1af6f427bfa3abe6fc240249f57a95c1471b961e07ecc110f933b351df72a4ab
3
+ metadata.gz: d92f8d5475c4a64b24e783ac198b2fa9e61faac9c3eb3029d87e2043824dedf0
4
+ data.tar.gz: 74851036d3023c32527f0acb1dd202601b64c91f8fe74481e11cf5b7c4625bf8
5
5
  SHA512:
6
- metadata.gz: 5ebae48d98ffa0607574f2e32bcf42f5ecb2a799f244c888c163225aac2f956d6f54c673259be6e06fba951d76b518294651142fe8803852a0afd6fb921b2114
7
- data.tar.gz: dc686fb4b6287aac6c47b1b7bea3416e0b8dd1622c0aa1f8f951fab7c2c5d4e44a7fec7edf51a900ee02a5f750950b26809a56432f37a97d875762b366599c76
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.2'
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'
@@ -38,3 +39,6 @@ Lint/MissingSuper:
38
39
  # Don't use ruby 3.1 hash value shorthand, see: https://docs.rubocop.org/rubocop/cops_style.html#enforcedshorthandsyntax-never
39
40
  Style/HashSyntax:
40
41
  EnforcedShorthandSyntax: never
42
+
43
+ Style/BlockDelimiters:
44
+ EnforcedStyle: braces_for_chaining
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.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carla Galarza
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-03-23 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,6 +101,7 @@ 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
@@ -108,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
123
  - !ruby/object:Gem::Version
109
124
  version: '0'
110
125
  requirements: []
111
- rubygems_version: 3.3.3
126
+ rubygems_version: 3.4.1
112
127
  signing_key:
113
128
  specification_version: 4
114
129
  summary: Rubocop style configuration to be used in UPenn Libraries Projects