dlss_cops 0.0.4 → 0.1.1

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
- SHA1:
3
- metadata.gz: 4c2080fcbf9e2e21a4403c0e3ac80d045d7ad3ec
4
- data.tar.gz: 1cae802a0c56361d9e79991049354743c79aa15b
2
+ SHA256:
3
+ metadata.gz: 92c0202a5247c924251f5e5fb595ffe89c660bae01782266b000308d1442c73a
4
+ data.tar.gz: 2e80ef65b5c3e73c98791190e4c0be929e52378af8faaaf69a431e69471ebeaa
5
5
  SHA512:
6
- metadata.gz: 9843267b71b7a7e00b99a4ee40ef7266fd66d0110dc6c25cdeecb9e7b370cdcd3731ee10991994a1314dd276176b1fc1dbe42b1ce2e56dfcbdade9b7781f5cf7
7
- data.tar.gz: 403402ce070d0c7e6160450e5087912646361aa5264e34cea5f6c8683cb6463e195927a0497a467963428511b33fa3b299da4db4d3067cd371185f789b3971d5
6
+ metadata.gz: f1c75e6bfbd2e374d968cf3a83946aec07934fe5c1b5bc7bd944cdee7426625420a43a6d5572ed1e4666b8c20647d4e0aa0892cfecf6ab76ba1fa4ea1c939d4e
7
+ data.tar.gz: f80641b10dc2947f02a370cba827fafca6098e6720aed671e8129b2f2aa0ab291b5970b457c7d2028b1c4dc9be7b8a6322030e51b0ad9b3019043dcbe514ca23
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ # DEPRECATED
2
+
3
+ This gem was deprecated on March 4th, 2022 after lying fallow for four years.
4
+
1
5
  # DlssCops
2
6
 
3
7
  DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide.
@@ -5,6 +5,7 @@ AllCops:
5
5
  DisplayCopNames: true
6
6
  Include:
7
7
  - '**/Rakefile'
8
+ - 'lib/tasks/*.rake'
8
9
  - '**/config.ru'
9
10
  Exclude:
10
11
  - 'Gemfile.lock'
@@ -25,6 +26,9 @@ Rails:
25
26
 
26
27
  # DLSS configuration changes for these cops enabled by default in Rubocop
27
28
 
29
+ Layout/IndentationConsistency:
30
+ EnforcedStyle: rails
31
+
28
32
  Metrics/AbcSize:
29
33
  Max: 20
30
34
 
@@ -43,15 +47,6 @@ Metrics/MethodLength:
43
47
  Metrics/ModuleLength:
44
48
  Max: 200
45
49
 
46
- Style/IfUnlessModifier:
47
- MaxLineLength: 120
48
-
49
- Style/IndentationConsistency:
50
- EnforcedStyle: rails
51
-
52
- Style/WhileUntilModifier:
53
- MaxLineLength: 120
54
-
55
50
  RSpec/ExampleWording:
56
51
  CustomTransform:
57
52
  be: is
@@ -64,63 +59,60 @@ RSpec/ExampleWording:
64
59
  # DLSS explicitly disabling these cops enabled by default in Rubocop
65
60
  # (DLSS agrees they should be disabled, or we disagree about whether they should be enabled)
66
61
 
67
- Style/AccessModifierIndentation:
62
+ Layout/AccessModifierIndentation:
68
63
  Enabled: false
69
64
 
70
- Style/AlignHash:
65
+ Layout/AlignHash:
71
66
  Enabled: false
72
67
 
73
- Style/AlignParameters:
68
+ Layout/AlignParameters:
74
69
  Enabled: false
75
70
 
76
- Style/AsciiComments:
71
+ Layout/EmptyLinesAroundClassBody:
77
72
  Enabled: false
78
73
 
79
- Style/BlockComments:
74
+ Layout/EmptyLinesAroundModuleBody:
80
75
  Enabled: false
81
76
 
82
- Style/ClassAndModuleChildren:
77
+ Layout/LeadingCommentSpace:
83
78
  Enabled: false
84
79
 
85
- Style/Documentation:
80
+ Layout/SpaceAfterNot:
86
81
  Enabled: false
87
82
 
88
- Style/EmptyLinesAroundClassBody:
83
+ Layout/SpaceAroundEqualsInParameterDefault:
89
84
  Enabled: false
90
85
 
91
- Style/EmptyLinesAroundModuleBody:
86
+ Layout/TrailingBlankLines:
92
87
  Enabled: false
93
88
 
94
- Style/LeadingCommentSpace:
89
+ Style/AsciiComments:
95
90
  Enabled: false
96
91
 
97
- Style/NegatedIf:
92
+ Style/BlockComments:
98
93
  Enabled: false
99
94
 
100
- Style/NegatedWhile:
95
+ Style/ClassAndModuleChildren:
101
96
  Enabled: false
102
97
 
103
- Style/RegexpLiteral:
98
+ Style/Documentation:
104
99
  Enabled: false
105
100
 
106
- Style/SingleLineBlockParams:
101
+ Style/NegatedIf:
107
102
  Enabled: false
108
103
 
109
- Style/SpaceAfterNot:
104
+ Style/NegatedWhile:
110
105
  Enabled: false
111
106
 
112
- Style/SpaceAroundEqualsInParameterDefault:
107
+ Style/RegexpLiteral:
113
108
  Enabled: false
114
109
 
115
- Style/SpaceInsideBrackets:
110
+ Style/SingleLineBlockParams:
116
111
  Enabled: false
117
112
 
118
113
  Style/StringLiterals:
119
114
  Enabled: false
120
115
 
121
- Style/TrailingBlankLines:
122
- Enabled: false
123
-
124
116
  Style/TrailingCommaInLiteral:
125
117
  Enabled: false
126
118
 
data/dlss_cops.gemspec CHANGED
@@ -9,17 +9,17 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Michael J. Giarlo']
10
10
  spec.email = ['mjgiarlo@stanford.edu']
11
11
 
12
- spec.summary = "DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide"
13
- spec.description = "DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide."
14
- spec.homepage = 'https://github.com/sul-dlss/dlss_cops'
12
+ spec.summary = "[DEPRECATED] DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide"
13
+ spec.description = "[DEPRECATED] DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide."
14
+ spec.homepage = 'https://github.com/sul-dlss-deprecated/dlss_cops'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
17
  spec.bindir = 'exe'
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'rubocop', '~> 0.49.1'
22
- spec.add_dependency 'rubocop-rspec', '~> 1.15.1'
23
- spec.add_development_dependency 'bundler', '~> 1.11'
21
+ spec.add_dependency 'rubocop', '~> 0.52.0'
22
+ spec.add_dependency 'rubocop-rspec', '~> 1.23.0'
23
+ spec.add_development_dependency 'bundler'
24
24
  spec.add_development_dependency 'rake', '~> 12'
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module DlssCops
2
- VERSION = '0.0.4'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlss_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael J. Giarlo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.49.1
19
+ version: 0.52.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.49.1
26
+ version: 0.52.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.15.1
33
+ version: 1.23.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.15.1
40
+ version: 1.23.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.11'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.11'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +66,8 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '12'
69
- description: DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby
70
- style guide.
69
+ description: "[DEPRECATED] DlssCops is a Rubocop configuration gem that holds DLSS's
70
+ baseline Ruby style guide."
71
71
  email:
72
72
  - mjgiarlo@stanford.edu
73
73
  executables: []
@@ -85,7 +85,7 @@ files:
85
85
  - dlss_cops.gemspec
86
86
  - lib/dlss_cops.rb
87
87
  - lib/dlss_cops/version.rb
88
- homepage: https://github.com/sul-dlss/dlss_cops
88
+ homepage: https://github.com/sul-dlss-deprecated/dlss_cops
89
89
  licenses: []
90
90
  metadata: {}
91
91
  post_install_message:
@@ -103,10 +103,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubyforge_project:
107
- rubygems_version: 2.6.13
106
+ rubygems_version: 3.2.32
108
107
  signing_key:
109
108
  specification_version: 4
110
- summary: DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style
111
- guide
109
+ summary: "[DEPRECATED] DlssCops is a Rubocop configuration gem that holds DLSS's baseline
110
+ Ruby style guide"
112
111
  test_files: []