rubocop-packaging 0.5.0 → 0.5.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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 666f4f441549972df8c21db0c0a8c0029849da018dc71c9ca17d3c54ba532d4b
|
4
|
+
data.tar.gz: 0f2d7234dfd13bffdecdbd965998eabef9e38344c441dae94389289748258d98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575ca964189b75c0d20fb0967139f56fa11720236f7c5708949f8264048450ea564ac5e501d71058da813ed569379cfdc23317d727aed7a5ab8ba488276e2556
|
7
|
+
data.tar.gz: 0afd0fe1a56716a5cb5d56f6bc3aeb02faff140e8229f759cea96e1133d65b31361a364f64d9262497d7253d06459ee438b0f58206d901eac038281ff41e33c8
|
data/config/default.yml
CHANGED
@@ -10,7 +10,6 @@ Packaging/BundlerSetupInTests:
|
|
10
10
|
|
11
11
|
Packaging/GemspecGit:
|
12
12
|
Description: >-
|
13
|
-
Using `bundler/setup` in tests is redundant. Consider
|
14
13
|
Avoid using git to produce lists of files. Downstreams
|
15
14
|
often need to build your package in an environment
|
16
15
|
that does not have git (on purpose). Use some pure
|
@@ -12,10 +12,10 @@ module RuboCop # :nodoc:
|
|
12
12
|
# @example
|
13
13
|
#
|
14
14
|
# # bad
|
15
|
-
# require_relative "lib/foo
|
15
|
+
# require_relative "lib/foo"
|
16
16
|
#
|
17
17
|
# # good
|
18
|
-
# require "foo
|
18
|
+
# require "foo"
|
19
19
|
#
|
20
20
|
# # bad
|
21
21
|
# require_relative "../../lib/foo/bar"
|
@@ -24,8 +24,8 @@ module RuboCop # :nodoc:
|
|
24
24
|
# require "foo/bar"
|
25
25
|
#
|
26
26
|
# # good
|
27
|
-
# require_relative "
|
28
|
-
# require_relative "
|
27
|
+
# require_relative "foo/bar/bax"
|
28
|
+
# require_relative "baz/qux"
|
29
29
|
#
|
30
30
|
class RequireRelativeHardcodingLib < Base
|
31
31
|
include RuboCop::Packaging::LibHelperModule
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Utkarsh Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -84,16 +84,22 @@ dependencies:
|
|
84
84
|
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.89'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '2.0'
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
93
96
|
requirements:
|
94
|
-
- - "
|
97
|
+
- - ">="
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: '0.89'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2.0'
|
97
103
|
description: |
|
98
104
|
A collection of RuboCop cops to check for downstream compatability issues in the
|
99
105
|
Ruby code.
|
@@ -137,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
143
|
- !ruby/object:Gem::Version
|
138
144
|
version: '0'
|
139
145
|
requirements: []
|
140
|
-
rubygems_version: 3.1.
|
146
|
+
rubygems_version: 3.1.4
|
141
147
|
signing_key:
|
142
148
|
specification_version: 4
|
143
149
|
summary: Automatic downstream compatability checking tool for Ruby code
|