rubocop-packaging 0.5.1 → 0.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45a3b0981916c4440d8092538357892c433f57955f845b45ab3890086e0e0bd2
|
4
|
+
data.tar.gz: b7caa60273e00c8d3468e5f7d7235a1c5a99088d935fc0a2803d8611c4df1f87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 676a58d6efb8be59c432cb299dc229b497753b4630802e4f0b274f0359d3e2349b08311519f7e252965d877f3046cb7d30ee1bfba6f6a19d546d38b411bae349
|
7
|
+
data.tar.gz: 3fd0d9db07d161dbf6740d8e3947909f2fe486235b933ae5af06befce00c461ca7c61149a65559d7568ed1a1cfb674f0d1c45b01d8a7e8644daadbd8d5a5d5c5
|
@@ -11,14 +11,12 @@ module RuboCop # :nodoc:
|
|
11
11
|
#
|
12
12
|
# # bad
|
13
13
|
# Gem::Specification.new do |spec|
|
14
|
-
# spec.files
|
15
|
-
# spec.test_files = `git ls-files -- spec`.split("\n")
|
14
|
+
# spec.files = `git ls-files`.split("\n")
|
16
15
|
# end
|
17
16
|
#
|
18
17
|
# # good
|
19
18
|
# Gem::Specification.new do |spec|
|
20
|
-
# spec.files
|
21
|
-
# spec.test_files = Dir["spec/**/*"]
|
19
|
+
# spec.files = Dir["lib/**/*", "LICENSE", "README.md"]
|
22
20
|
# end
|
23
21
|
#
|
24
22
|
# # bad
|
@@ -32,21 +30,19 @@ module RuboCop # :nodoc:
|
|
32
30
|
# require "rake/file_list"
|
33
31
|
#
|
34
32
|
# Gem::Specification.new do |spec|
|
35
|
-
# spec.files
|
33
|
+
# spec.files = Rake::FileList["**/*"].exclude(*File.read(".gitignore").split)
|
36
34
|
# end
|
37
35
|
#
|
38
36
|
# # bad
|
39
37
|
# Gem::Specification.new do |spec|
|
40
|
-
# spec.files
|
41
|
-
# spec.
|
42
|
-
# spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
38
|
+
# spec.files = `git ls-files -- lib/`.split("\n")
|
39
|
+
# spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
43
40
|
# end
|
44
41
|
#
|
45
42
|
# # good
|
46
43
|
# Gem::Specification.new do |spec|
|
47
|
-
# spec.files
|
48
|
-
# spec.
|
49
|
-
# spec.executables = Dir.glob("bin/*").map{ |f| File.basename(f) }
|
44
|
+
# spec.files = Dir.glob("lib/**/*")
|
45
|
+
# spec.executables = Dir.glob("bin/*").map{ |f| File.basename(f) }
|
50
46
|
# end
|
51
47
|
#
|
52
48
|
class GemspecGit < Base
|
@@ -7,7 +7,7 @@ module RuboCop # :nodoc:
|
|
7
7
|
module LibHelperModule
|
8
8
|
# For determining the root directory of the project.
|
9
9
|
def root_dir
|
10
|
-
RuboCop::
|
10
|
+
RuboCop::ConfigFinder.project_root
|
11
11
|
end
|
12
12
|
|
13
13
|
# This method determines if the calls are made to the "lib" directory.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-packaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Utkarsh Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '1.33'
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '2.0'
|
@@ -96,12 +96,12 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
99
|
+
version: '1.33'
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '2.0'
|
103
103
|
description: |
|
104
|
-
A collection of RuboCop cops to check for downstream
|
104
|
+
A collection of RuboCop cops to check for downstream compatibility issues in the
|
105
105
|
Ruby code.
|
106
106
|
email:
|
107
107
|
- utkarsh@debian.org
|
@@ -128,6 +128,7 @@ licenses:
|
|
128
128
|
metadata:
|
129
129
|
homepage_uri: https://github.com/utkarsh2102/rubocop-packaging
|
130
130
|
source_code_uri: https://github.com/utkarsh2102/rubocop-packaging
|
131
|
+
rubygems_mfa_required: 'true'
|
131
132
|
post_install_message:
|
132
133
|
rdoc_options: []
|
133
134
|
require_paths:
|
@@ -136,15 +137,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
137
|
requirements:
|
137
138
|
- - ">="
|
138
139
|
- !ruby/object:Gem::Version
|
139
|
-
version: 2.
|
140
|
+
version: 2.6.0
|
140
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
142
|
requirements:
|
142
143
|
- - ">="
|
143
144
|
- !ruby/object:Gem::Version
|
144
145
|
version: '0'
|
145
146
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
+
rubygems_version: 3.3.5
|
147
148
|
signing_key:
|
148
149
|
specification_version: 4
|
149
|
-
summary: Automatic downstream
|
150
|
+
summary: Automatic downstream compatibility checking tool for Ruby code
|
150
151
|
test_files: []
|