rubocop-sketchup 0.17.0 → 0.17.1
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: 6bd27f360422724e5ad35227388ddee8d1f731ea1f42c1f6b898a59c720b800f
|
4
|
+
data.tar.gz: 31dbfc388b6dedef075bdde3d923a67d0ede2d4dfa0e7a983bbec0d8c59e43f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93bf11a5c0f44a553b7bbb48538c202694cb2385b1cfe94dc2b241ab8465a089b3d85fa2d9ec14bde7067ffe8cd031d4ff072087a8335c00d2f6a488f4c054e
|
7
|
+
data.tar.gz: 64dc81a2c59e85bb6b42629326e5663beeed6fc62ed0df1be56a507ed0ef32e0fe8b662f1dd0d30bbcf6faa727f3053668a6dac6b649198d8d42dd512666e058
|
data/config/default.yml
CHANGED
@@ -18,7 +18,7 @@ AllCops:
|
|
18
18
|
ExtensionBinaries: []
|
19
19
|
# You can set up exclude pattens for all SketchUp departments.
|
20
20
|
Exclude: []
|
21
|
-
#
|
21
|
+
# Alternatively you can set up department wide exclusion.
|
22
22
|
SketchupBugs:
|
23
23
|
Exclude: []
|
24
24
|
SketchupDeprecations:
|
@@ -156,7 +156,7 @@ SketchupRequirements/ExtensionNamespace:
|
|
156
156
|
Description: Confine extensions to a single root namespace.
|
157
157
|
Details: >-
|
158
158
|
To avoid clashing with other extensions a single root namespace
|
159
|
-
should all the extension's code.
|
159
|
+
should contain all the extension's code.
|
160
160
|
Reference: https://github.com/SketchUp/rubocop-sketchup/tree/master/manual/cops_requirements.md#extensionnamespace
|
161
161
|
Exceptions: []
|
162
162
|
Enabled: true
|
data/lib/rubocop-sketchup.rb
CHANGED
@@ -39,7 +39,7 @@ end
|
|
39
39
|
|
40
40
|
# Make it easier to explore available methods on a method.
|
41
41
|
class Object
|
42
|
-
def methods!(queries = true)
|
42
|
+
def methods!(queries = true) # rubocop:disable Style/OptionalBooleanParameter
|
43
43
|
sorted = methods.sort - Object.class.instance_methods
|
44
44
|
sorted.reject! { |m| m.to_s.end_with?('?') } unless queries
|
45
45
|
sorted
|
data/lib/rubocop/sketchup/cop.rb
CHANGED
@@ -12,7 +12,7 @@ module RuboCop
|
|
12
12
|
# class will invoke the inherited hook instead
|
13
13
|
class << self
|
14
14
|
undef inherited
|
15
|
-
def inherited(*) end
|
15
|
+
def inherited(*) end # rubocop:disable Lint/MissingSuper
|
16
16
|
end
|
17
17
|
|
18
18
|
# Special case `Module#<` so that the rspec support rubocop exports
|
@@ -51,7 +51,7 @@ module RuboCop
|
|
51
51
|
}.freeze
|
52
52
|
|
53
53
|
# Invoke the original inherited hook so our cops are recognized
|
54
|
-
def self.inherited(subclass)
|
54
|
+
def self.inherited(subclass) # rubocop:disable Lint/MissingSuper
|
55
55
|
RuboCop::Cop::Cop.inherited(subclass)
|
56
56
|
end
|
57
57
|
|
data/rubocop-sketchup.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-sketchup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trimble Inc, SketchUp Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.82'
|
20
20
|
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '0.
|
22
|
+
version: '0.93'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.82'
|
30
30
|
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0.
|
32
|
+
version: '0.93'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|