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 +4 -4
- data/.gitignore +1 -0
- data/README.md +10 -0
- data/upennlib-rubocop.gemspec +2 -1
- data/upennlib_rubocop_defaults.yml +5 -1
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d92f8d5475c4a64b24e783ac198b2fa9e61faac9c3eb3029d87e2043824dedf0
|
4
|
+
data.tar.gz: 74851036d3023c32527f0acb1dd202601b64c91f8fe74481e11cf5b7c4625bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/upennlib-rubocop.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'upennlib-rubocop'
|
3
|
-
s.version = '1.0
|
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
|
-
|
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
|
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-
|
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.
|
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
|